* {
  font-family: 'Roboto Condensed', sans-serif;
}
html,
body {
  margin: 0;
  padding: 0;
  font-size: 16px;
}
.fontSize-4 {
  font-size: 19.2px;
}
.fontSize-3 {
  font-size: 17.6px;
}
.fontSize-2 {
  font-size: 16px;
}
.fontSize-1 {
  font-size: 14.4px;
}
a.font-size-active {
  color: #92D952 !important;
}
ul.fontSizeChanger > div > li > a:hover {
  text-decoration: none;
}
.box-row {
  width: 100%;
  height: 40vh;
}
.additional {
  background-color: rgba(206, 206, 206, 0.06);
  padding-top: 60px;
  padding-bottom: 100px;
}
.additional-box {
  background-color: #ffffff;
}
.box-entry > div {
  text-align: center;
}
.box-entry span {
  color: #333;
  font-size: 1.5em !important;
  margin-bottom: 1%;
}
.box-entry > img {
  width: 100%;
  height: 100%;
}
a.simpleButton {
  color: white;
  display: block;
  font-size: 1em;
  padding: 5px 5px 5px 10px !important;
  border-radius: 0;
  background-color: #92D952;
  -webkit-transition: background-color 0.25s linear;
  -moz-transition: background-color 0.25s linear;
  -o-transition: background-color 0.25s linear;
  transition: background-color 0.25s linear;
}
a.simpleButton:hover {
  color: #fff;
  background-color: #447c24;
  text-decoration: none;
}
div.slider > div {
  height: 100%;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.header-text {
  margin-bottom: 50px;
}
h3.text-header {
  font-size: 28px;
  font-weight: bolder;
  color: #333;
}
.course {
  overflow: hidden;
  -webkit-transition: all 0.8s;
  -moz-transition: all 0.8s;
  -ms-transition: all 0.8s;
  -o-transition: all 0.8s;
  transition: all 0.8s;
  background-size: cover;
  position: relative;
}
.course::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: inherit;
  transition: inherit;
}
.course:hover::before {
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -o-transform: scale(1.2);
  transform: scale(1.2);
  zoom: 1.2;
}
.square-1 {
  position: relative;
  overflow: hidden;
  padding-bottom: 8.33333333%;
}
.square-2 {
  position: relative;
  overflow: hidden;
  padding-bottom: 16.66666667%;
}
.square-3 {
  position: relative;
  overflow: hidden;
  padding-bottom: 25%;
}
.square-4 {
  position: relative;
  overflow: hidden;
  padding-bottom: 33.33333333%;
}
.square-5 {
  position: relative;
  overflow: hidden;
  padding-bottom: 41.66666667%;
}
.square-6 {
  position: relative;
  overflow: hidden;
  padding-bottom: 50%;
}
.square-7 {
  position: relative;
  overflow: hidden;
  padding-bottom: 58.33333333%;
}
.square-8 {
  position: relative;
  overflow: hidden;
  padding-bottom: 66.66666667%;
}
.square-9 {
  position: relative;
  overflow: hidden;
  padding-bottom: 75%;
}
.square-10 {
  position: relative;
  overflow: hidden;
  padding-bottom: 83.33333333%;
}
.square-11 {
  position: relative;
  overflow: hidden;
  padding-bottom: 91.66666667%;
}
.square-12 {
  position: relative;
  overflow: hidden;
  padding-bottom: 100%;
}
.course-section-all {
  padding-top: 10vh;
  padding-bottom: 10vh;
}
.course-section-all a {
  color: #333;
}
.course-section-all a:hover {
  color: #333;
  text-decoration: none;
}
.course-box {
  display: block;
  width: 23%;
  float: left;
  margin-right: 2%;
}
.course-box div:nth-child(2) {
  padding-top: 5%;
  font-size: 1.125em;
  margin-bottom: 5vh;
}
.square {
  width: 100%;
  padding-bottom: 100%;
  position: relative;
  margin-right: 2%;
  background-color: #1E1E1E;
  overflow: hidden;
}
.clear-both {
  clear: both;
}
.content {
  position: absolute;
  height: 90%;
  /* = 100% - 2*5% padding */
  width: 90%;
  /* = 100% - 2*5% padding */
  padding: 5%;
}
.table {
  display: table;
  width: 100%;
  height: 100%;
}
.table-cell {
  display: table-cell;
  vertical-align: middle;
}
/*  For responsive images */
.content .rs {
  width: auto;
  height: auto;
  max-height: 90%;
  max-width: 100%;
}
/*  For responsive images as background */
.bg {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  /* you change this to "contain" if you don't want the images to be cropped */
  color: #fff;
}
.button-image-centrum {
  overflow: hidden;
  margin-top: 2vh;
  transition: all .8s;
  background: url('/izbarzemieslnicza/wp-content/themes/IzbaRzemieslnicza/images/buttons/centrum.jpg') center center;
  background-size: cover;
  height: 20vh;
  position: relative;
}
.button-image-centrum::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: inherit;
  transition: inherit;
}
.button-image-centrum:hover::before {
  transform: scale(1.2);
}
.button-image-rzemieslnik {
  overflow: hidden;
  margin-top: 2vh;
  transition: all .8s;
  background: url('/izbarzemieslnicza/wp-content/themes/IzbaRzemieslnicza/images/buttons/rzemieslnik.jpg') center center;
  background-size: cover;
  height: 20vh;
  position: relative;
}
.button-image-rzemieslnik::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: inherit;
  transition: inherit;
}
.button-image-rzemieslnik:hover::before {
  transform: scale(1.2);
}
.button-image-szkola {
  overflow: hidden;
  margin-top: 2vh;
  transition: all .8s;
  background: url('/izbarzemieslnicza/wp-content/themes/IzbaRzemieslnicza/images/buttons/szkola.jpg') center center;
  background-size: cover;
  height: 20vh;
  position: relative;
}
.button-image-szkola::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: inherit;
  transition: inherit;
}
.button-image-szkola:hover::before {
  transform: scale(1.2);
}
.button-parent {
  height: 20vh;
}
.button-parent .button-image div,
.button-parent .button-image span {
  position: relative;
  z-index: 9999;
}
.button-parent a:hover {
  text-decoration: none;
}
section.subsections {
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
  box-shadow: 0 -5px 10px -3px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}
section.subsections .button {
  height: 20vh;
  background: rgba(17, 38, 7, 0.55);
  text-align: center;
  display: table;
  width: 100%;
}
section.subsections .button:hover {
  background: rgba(17, 38, 7, 0.65);
}
section.subsections .button .button-text {
  color: white;
  height: 100%;
  font-weight: bold;
  font-size: 1.5em;
  width: 100%;
  display: table-cell;
  vertical-align: middle;
}
section.subsections .button .button-text > span {
  display: block;
}
section.subsections .button .button-text > span.minor {
  font-size: 13px;
  font-weight: normal;
  line-height: 10px;
  color: #cdd2d3;
}
.partners {
  padding-top: 60px;
  padding-bottom: 50px;
}
.partners-slider .partners-slides {
  list-style: none;
}
.partners-slider .partners-slides .partner-slide {
  height: 100px;
  width: 100%;
  margin-right: 5vw;
}
.partners-slider .partners-slides .partner-slide:last-of-type {
  margin-right: 0;
}
.partners-slider .partners-slides .partner-slide .partner-img {
  height: 100px;
}
span.heading {
  color: #92D952;
}
header#siteHeader div.header {
  border-top: 1px solid #cdd2d3;
  position: static;
  width: 100%;
  text-align: center;
  height: 60px;
  background: white;
  color: #333;
  transition: all 0.4s ease;
  z-index: 1100;
  vertical-align: middle;
  padding-left: 0;
  padding-right: 0;
  margin-right: 0;
  margin-left: 0;
}
header#siteHeader div.header .top-menu {
  height: 60px;
  margin-bottom: -1px;
}
header#siteHeader div.header.shadow {
  position: relative;
  box-shadow: 0 5px 10px -3px rgba(0, 0, 0, 0.2);
  z-index: 1100;
}
header#siteHeader div.header .sticky {
  position: fixed;
  top: 0;
  width: 100%;
}
header#siteHeader div.header ul {
  list-style: none;
  text-align: left;
}
header#siteHeader div.header ul li {
  padding-left: 10px;
  height: 100%;
  margin-right: 40px;
}
header#siteHeader div.header .menu li {
  line-height: 60px;
  font-size: 1.125em;
}
header#siteHeader div.header a {
  color: #333;
  transition: all 0.5s ease;
  height: 100%;
}
header#siteHeader div.header a:hover {
  color: #92D952;
  text-decoration: none;
}
.color-333 {
  color: #333;
}
.color-333.hover,
.color-333:hover {
  color: #92D952;
}
.logo {
  font-size: 1.125em;
  color: #444444;
}
.logo a {
  color: #444444;
  transition: color 0.25s ease-in;
}
.logo a:hover {
  color: #92D952;
  text-decoration: none;
}
div.header .navbar-collapse.collapsing,
div.header .navbar-collapse.collapse.show {
  background-color: white;
}
header div.topHeader a {
  color: #444444;
  transition: color 0.25s ease-in;
}
header div.topHeader a:hover {
  color: #92D952;
  text-decoration: none;
}
header div.topHeader ul {
  list-style: none;
}
header div.topHeader ul li {
  display: inline;
  color: #444444;
  font-size: 1.125em;
  padding-right: 5px;
}
header div.topHeader ul li:not(:first-child):not(.no-left) {
  border-left: 1px solid white;
}
header div.topHeader ul li:not(:first-of-type) {
  padding-left: 5px;
}
.box {
  height: 33vh;
}
section.header-section div:not(.logo-bar) {
  height: calc(80vh - 110px) !important;
}
.logo-bar .img-logo {
  background: url(https://m20.targeo.pl/i/cache/vcard/11/05/17/RZEMIOSLO_rgb.jpg) no-repeat center 70%;
  background-size: 10vw auto;
  margin-top: 35%;
}
.logo-bar {
  font-size: 2.25em;
}
.post section.header-section div {
  height: calc(20vh) !important;
}
.post-body {
  padding-top: 10vh;
  padding-bottom: 10vh;
  line-height: 1.8;
  text-align: justify;
  min-height: calc(100vh - 20vh - 29vh - 110px);
}
.post-header-text {
  position: relative;
  color: white;
  font-size: 2em;
}
.post-header-text > span {
  position: absolute;
  bottom: 2vh;
}
footer {
  background: #292929;
  color: white;
  padding-top: 2%;
}
footer .mainFooter {
  height: 100%;
}
footer .mainFooter .firstRow {
  font-size: 13px;
  margin-bottom: 10px;
}
footer .mainFooter :not(.firstRow) {
  font-size: 13px;
  margin-bottom: 10px;
  padding-right: 0;
}
footer ul.footer-links li {
  display: inline;
  list-style: none;
}
footer ul.footer-links li:not(:first-of-type) {
  padding-left: 5px;
}
footer a {
  color: white;
  transition: all 0.5s ease;
}
footer a:hover {
  color: #92D952;
  text-decoration: none;
}
iframe.map {
  border: none;
  width: 100%;
  height: 100%;
}
.submenu {
  position: relative;
  top: 0;
  left: 0;
  padding: 0;
  height: 50px;
  background-color: #f7f7f7;
  text-align: center;
}
.submenu.shadow {
  position: relative;
  box-shadow: 0 5px 10px -3px rgba(0, 0, 0, 0.2);
  z-index: 1100;
}
.submenu ul {
  line-height: 50px;
}
.submenu ul li {
  font-size: 1em;
}
.news-date {
  color: #bbb;
  font-size: 0.8em;
  margin-bottom: -6px;
}
.news-title {
  color: #92D952;
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 15px;
}
.news-content {
  font-size: 1em;
  line-height: 1.8;
  margin-bottom: 40px;
}
.news-content p {
  display: block;
  /* makes it have a width */
  content: "";
  /* clears default height */
  margin-top: -10px;
  /* change this to whatever height you want it */
}
.course {
  min-height: calc(100% - 10vh);
  height: calc(100% - 10vh);
  display: flex;
}
.course .course-image {
  flex: 1;
  width: 100%;
  background-size: cover;
}
.course .course-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.course > div.row {
  height: 100vh;
  flex: 1;
}
.course .course-post {
  padding-top: 10vh;
  padding-bottom: 10vh;
}
.course .course-post .course-post-title {
  font-size: 2em;
}
.course .course-post .course-post-content {
  margin-top: 5vh;
}
.course .course-post .course-post-content p {
  text-align: justify;
  text-justify: auto;
}
/*
 * Animation related stuff
 */
.come-in {
  opacity: 0;
  animation: come-in 2s ease forwards;
}
.already-visible {
  opacity: 1;
  animation: none;
}
@keyframes come-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.bar-with-gradient {
  background-color: rgba(255, 255, 255, 0.65);
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.65)), to(#fff));
  background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.65), #fff);
  background: -moz-linear-gradient(top, rgba(255, 255, 255, 0.65), #fff);
  background: -ms-linear-gradient(top, rgba(255, 255, 255, 0.65), #fff);
  background: -o-linear-gradient(top, rgba(255, 255, 255, 0.65), #fff);
}
.horizontal-green-gradient {
  background-color: #5ca03b;
  background: -webkit-gradient(linear, left top, right top, from(#5ca03b), to(transparent));
  background: -webkit-linear-gradient(left, #5ca03b, transparent);
  background: -moz-linear-gradient(left, #5ca03b, transparent);
  background: -ms-linear-gradient(left, #5ca03b, transparent);
  background: -o-linear-gradient(left, #5ca03b, transparent);
}
@media (max-width: 575px) {
  .home .slider-image > div {
    display: none;
  }
  header#siteHeader div.header.open.mobile {
    height: calc(100vh - 70px);
    display: block;
    background-color: #eeeeee;
  }
  header#siteHeader div.header.open.mobile ul li {
    height: auto;
  }
  .course {
    height: 100%;
  }
  .course > div.row {
    height: 100%;
  }
}
@media (max-width: 767px) {
  header div .logo {
    font-size: 0.8em;
    float: left;
    margin-top: 8px;
    padding: 0;
    margin-left: 10px;
  }
  header div.topHeader {
    display: none;
  }
  .course-box {
    width: 48%;
  }
  #colophon ul {
    float: left !important;
    padding-left: 0;
  }
  #colophon .subfooter {
    height: auto !important;
  }
  .map {
    padding-right: 15px !important;
  }
  .additional {
    padding-bottom: 30px;
  }
  .partners {
    padding-top: 30px;
  }
  .partners-slider .partners-slides .partner-slide {
    margin-bottom: 30px;
    display: block !important;
  }
  .course .course-image {
    flex: none;
    height: 50vh !important;
  }
  .course-post {
    padding: 0 15px 15px 15px !important;
  }
  .post-header-text {
    font-size: 20px !important;
  }
  .button-text {
    font-size: 1em !important;
  }
}
@media (min-width: 576px) and (max-width: 767px) {
  .voice-post-button {
    margin-bottom: 12vh !important;
  }
  .course-box {
    width: 23%;
  }
  .box-entry {
    width: 50% !important;
  }
  .slider-text {
    font-size: 10px;
    line-height: 8px;
  }
  .logo-bar {
    line-height: 8px;
  }
  .box-row:first-of-type .box-entry:first-of-type {
    order: 1;
  }
  .box-row:first-of-type .box-entry:nth-of-type(2) {
    order: 2;
  }
  .simpleButton {
    width: 50% !important;
  }
  .partners-slider .partners-slides .partner-slide {
    margin-bottom: 30px;
    display: inline-block !important;
  }
  .course {
    height: 100%;
  }
  .course > div.row {
    height: 100%;
  }
}
@media (min-width: 767px) {
  #colophon .subfooter {
    height: auto !important;
  }
  .box-row {
    height: 250px;
  }
}
@media (min-width: 767px) and (max-width: 1023px) {
  .course .course-image {
    flex: none;
    height: 50vh !important;
  }
  .course .course-post {
    padding: 0 15px 15px 15px !important;
  }
  .post section.header-section div:not(.logo-bar) {
    height: calc(20vh - 70px) !important;
  }
}
@media (min-width: 767px) and (max-width: 1024px) {
  section.header-section div:not(.logo-bar) {
    height: calc(40vh - 70px) !important;
  }
}
@media (min-width: 767px) and (max-width: 1199px) {
  .logo-bar {
    font-size: 15px !important;
  }
  .logo-bar .img-logo {
    margin-top: 15% !important;
  }
}
@media (min-width: 1200px) {
  .logo-bar {
    font-size: 1.5em;
    line-height: 1.25em;
  }
}
