/*
Theme Name: babki
Theme URI: https://bootstrap.com
Author: Danny Machal
Author URI: https://devdm.com/
Description: A no frills theme for Developers using Twitter Bootstrap 4.
Version: 1.81
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, sticky-post, translation-ready
Text Domain: babki
GitHub Theme URI: https://github.com/dannymachal/devdmbootstrap4

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

The default Bootstrap 4 CSS and JS files are enqueued inside the functions.php file with the handles devdmbootstrap4-css and devdmbootstrap4-js
*/

html {
  font-size: 62.5%;
}
/*
1rem=10px
*/

body {
  font-family: 'Montserrat', sans-serif;
  margin: 0 auto;
  max-width: 1920px;
  font-size: 1.5rem;
  color: #3B3B3B;
  background-color: #F7F5ED;
}

.roboto {
  font-family: 'Roboto Slab', serif;
}

.black-h4 {
  color: #3C3C3B !important;
}

.img-responsive {
  max-width: 100%;
  height: auto;
}

.custom-container {
  max-width: 1550px;
  margin: 0 auto;
}

a {
  color: #EABC65;
  transition-duration: 0.2s;
}

a:hover {
  text-decoration: none;
  color: #000000;
}

p {
  color: #3C3C3B;
  font-size: 1.5rem;
  padding-bottom: 2.5rem;
  line-height: 1.6;
}

h3 {
  font-size: 3.6rem;
  font-family: 'Roboto Slab', serif;
  padding-bottom: 3rem;
}

h5 {
  font-size: 2rem;
}

.subpage h6 {
  font-size: 1.8rem;
  font-weight: 600;
}

.gold {
  color: #EABC65;
}

.bold {
  font-weight: 700;
}

.size18 {
  font-size: 1.8rem;
}

.size24 {
  font-size: 2.4rem;
}

.black {
  color: #3C3C3B;
}

.align-vertical {
  display: flex;
  align-items: center;
}

.flex-center {
  display: flex;
  justify-content: center;
}

.small-margin-top {
  margin-top: 3rem;
}

.medium-margin-top {
  margin-top: 6rem;
}

/*mobile-menu*/

.mobile-menu {
  display: none;
}

.navbar-toggler {
  background: #EABC65;
  padding: 1rem;
}

.navbar-toggler-icon {
  background: #ffffff;
  display: block;
  margin-top: 3px;
  height: 2px;
  width: 20px;
}


.mobile-menu .navbar-collapse {
  background: #EABC65;
  padding: 2rem;
  width: 50%;
  position: fixed;
  top: 100px;
}

.mobile-menu .navbar-collapse li {
  padding: 1rem 0;
}

.mobile-menu .navbar-collapse li a {
  color: #ffffff;
  font-size: 1.9rem;
  font-weight: 600;
}



/*Header*/

header {
  padding: 1.5rem 0;
  max-width: 1140px;
  margin: 0 auto;
}

.fixed-top {
  background: #ffffff;
  max-width: 100%;
  padding: 1rem 0 0 0;
  transition: all 300ms ease-in-out;
}

.fixed-top #menu-header .logo {
  width: 80px;
  height: 80px;
  background-size: cover;
}

.fixed-top #menu-header li {
  padding: 3rem 3rem 1rem 3rem;
}







#top-menu {
  display: flex;
  justify-content: center;
}

#menu-header .logo {
  background: url('img/logo.png') center center no-repeat;
  height: 157px;
  width: 157px;
  margin: 0 4.5rem 1rem 4.5rem;
}

#menu-header .logo a {
    display: block;
    font-size: 0;
    text-indent: -9999rem;
    height: 100%;
}

#menu-header li {
  padding: 4rem 3rem 1rem 3rem;
  text-align: center;
}

#menu-header li a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3C3C3B;
  text-transform: uppercase;
}


/*Strona główna*/

#home-top {
  background: url('img/top.jpg') top center no-repeat;
  min-height: 700px;
  background-size: cover;
  margin-top: -207px;
  display: flex;
  align-items: flex-end;
  padding-left: 3rem;
  padding-bottom: 3rem;
}

.phone {
  font-size: 3rem;
  color: #ffffff;
}

.phone:hover {
  color: #EABC65;
}

.button-more {
  background: #3B3B3B;
  color: #EABC65;
  border-radius: 30px;
  padding: 1.8rem 3rem;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem; 
  display: block;
  max-width: 230px;
  text-align: center;
}

.button-more:hover {
  background: #EABC65;
  color: #3B3B3B;
}

#home-top .button-more {
  margin-bottom: 4rem;
}

.sections {
  padding-top: 8rem;
  padding-bottom: 7rem;
}

.home-img-1 {
  background: url('img/home1.jpg') center center no-repeat;
  background-size: cover;
  min-height: 365px;
}

.section-title {
  font-size: 4.8rem;
  font-weight: 300;
  padding-bottom: 2.5rem;
  font-family: 'Roboto Slab', serif;
}

.home-text-1 {
  padding-left: 4vw;
}

#domki {
  background: url('img/domki.jpg') center center no-repeat;
  background-size: cover;
}

#atuty {
  background: url('img/atuty.jpg') center center no-repeat;
  background-size: cover;
}

.left-kontakt {
  background: url('img/kontakt.jpg') center center no-repeat;
  background-size: cover;
  display: flex;
  justify-content: flex-end;
}

.left-kontakt-box {
  max-width: 560px;
  width: 100%;
  padding-top: 7rem;
  padding-right: 1rem;
}

.left-kontakt-box p {
  color: #ffffff;
  padding-bottom: 0;
}

.info-name {
  background: url('img/geo.png') left center no-repeat;
  margin-top: 4rem;
  padding-left: 60px;
  margin-bottom: 4rem;
}

.info-phone {
  background: url('img/phone.png') left center no-repeat;
  margin-top: 5rem;
  padding-left: 60px;
  margin-bottom: 4rem;
}

.info-mail {
  background: url('img/mail.png') left center no-repeat;
  margin-top: 5rem;
  padding-left: 60px;
  margin-bottom: 4rem;
}

.info-bank {
  padding-left: 60px;
  margin-top: 6rem;
}

.right-kontakt {
  background-color: #F2E7C7;
}

.right-kontakt-box {
  padding-top: 7rem;
  padding-left: 3rem;
}

.contact-form {
  padding-left: 8rem;
  max-width: 470px;
  padding-bottom: 6rem;
}


/*Podstrony*/

.subpage-top {
  min-height: 500px;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  margin-top: -207px;
  display: flex;
  align-items: center;
}

.subpage-top h4 {
  font-size: 7rem;
  color: #ffffff;
  margin-top: 7rem;
}

.slb_details {
  display: none !important;
}

.kontakt-subpage .right-kontakt-box {
  max-width: 670px;
  text-align: center;
  padding-left: 8rem;
}

.kontakt-subpage .contact-form {
  max-width: 670px;
}

.kontakt-subpage .left-kontakt {
  background: #F7F5ED;
}

.kontakt-subpage .left-kontakt-box {
  padding-top: 5rem;
}

.kontakt-subpage .left-kontakt-box p {
  color: #3C3C3B;
}

.kontakt-subpage .phone {
  font-size: 2.4rem;
  color: #3C3C3B;
}

.kontakt-subpage a {
  color: #3C3C3B;
}

.kontakt-phone {
  font-size: 5.5rem;
  color: #3B3B3B;
  text-align: center;
  padding-bottom: 1rem;
  display: inline-block;
}

.kontakt-mail {
  font-size: 3.5rem;
  color: #EABC65;
}

.rezerwacja p {
  padding-bottom: 0;
}

/*Cennik*/

.orange-box {
  background: #FDC969;
  min-height: 100px;
  height: calc(100% - 20px);
  border-radius: 8px;
  padding: 2rem 2rem 2rem 2rem;
  margin-bottom: 2rem;
}

.orange-box h5 {
  font-size: 3rem;
  font-family: 'Roboto Slab', serif;
  color: #3C3C3B;
  margin-bottom: 2rem;
  min-height: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.orange-box p {
  padding-bottom: 0;
  color: #ffffff;
  font-weight: 600;
}

.orange-box .price {
  font-size: 3.5rem;
  color: #3C3C3B;
  font-weight: 600;
  line-height: 0.9;
}

.orange-box a {
  font-size: 2.7rem;
  color: #3C3C3B;
  font-weight: 600;
}

.orange-box span {
  font-size: 1.4rem;
  color: #3C3C3B;
  font-weight: 400;
}

.orange-box p strong {
  font-weight: 700;
  font-size: 2rem;
}

.middle-orange {
  min-height: 130px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wp-block-columns ul li {
  list-style: none;
  display: flex;
  align-items: center;
  padding: 0.9rem;
  font-size: 1.6rem;
  font-weight: 600;
}

.wp-block-columns ul li::before {
  content: '';
  display: inline-block;
  background: url('img/li.png') center center no-repeat;
  width: 26px;
  height: 24px;
  margin-right: 1.9rem;
}

.box-img {
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.wyposazenie  {
  background: url('img/wyposazenie.jpg') center center no-repeat;
  background-size: cover;
  padding-top: 9rem;
  padding-bottom: 4rem;
}

.about-img {
  margin-top: 4rem;
  margin-bottom: 4rem;
}



/*Footer*/

.acf-map {
  min-height: 480px;
}

.inside-marker {
  padding: 2rem;
}

.inside-marker p {
  padding-bottom: 0;
  font-size: 1.6rem;
  text-align: center;
}

.inside-marker a {
  color: #EABC65;
}

.copyright {
  margin-top: 2rem;
}

.copyright p {
  font-size: 1.4rem;
}

/*Formularz kontaktowy*/

input {
  border: none;
  background: transparent;
  padding: 2rem 1.5rem 2rem 2.5rem;
  width: 100%;
  margin: 1rem 0 1rem 0;
  color: #000000;
  outline: none;
  border-bottom: 3px solid #3C3C3B;
}

input[type=submit] {
  background: #3B3B3B;
  color: #EABC65;
  border-radius: 30px;
  padding: 1.8rem 3rem;
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
  max-width: 230px;
  text-align: center;
  margin: 2rem auto;
  transition-duration: 0.2s;
  border-bottom: 0;
  cursor: pointer;
}

input[type=submit]:hover {
  background: #EABC65;
  color: #3B3B3B;
}

input[type=checkbox] {
  width: 15px;
  display: inline-block;
  margin: 0;
  padding: 0;
  top: 25px;
  position: absolute;
  left: 0;
}

.wpcf7-acceptance .wpcf7-list-item-label {
  display: inline-block;
  width: 100%;
  color: #646464;
  font-size: 1.5rem;
  line-height: 1.5;
  padding-left: 3.5rem;
  margin-top: 2rem;
}

span.wpcf7-list-item {
  margin: 0;
  position: relative;
}

textarea {
  border: none;
  background: transparent;
  padding: 2.5rem 1.5rem 1.5rem 2.5rem;
  width: 100%;
  margin: 1rem 0 0.5rem 0;
  color: #000000;
  outline: none;
  max-height: 180px;
  border-bottom: 3px solid #3C3C3B;
}

.wpcf7-not-valid {
  background: #FF8598;
  color: #ffffff;
}

div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
  color: #646464;
  font-size: 1.6rem;
}

span.wpcf7-not-valid-tip {
  display: none;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
  border-color: #004D31;
  padding: 1rem;
  text-align: center;
  font-size: 1.6rem;
}




/*Placeholder*/
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #858585;
  font-size: 1.5rem;
  text-align: center;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #858585;
  font-size: 1.5rem;
  text-align: center;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #858585;
  font-size: 1.5rem;
  text-align: center;
}
:-moz-placeholder { /* Firefox 18- */
  color: #858585;
  font-size: 1.5rem;
  text-align: center;
}

/*Media*/

@media (max-width: 768px) { 
  html {
    font-size: 45%;
  }

  header {
    padding: 1rem 0 0 0;
  }

  #home-top {
    margin-top: 0;
    min-height: 400px;
    align-items: center;
    text-align: center;
  }

  #home-top .button-more {
    margin: 3rem auto;
  }

  #top-menu {
    display: none;
  }

  .navbar {
    justify-content: flex-end;
  }

  .navbar-collapse {
    justify-content: flex-end;
    display: flex;
    text-align: right;
  }

  .mobile-menu .navbar-collapse {
    top: 90px;
    z-index: 100;
  }

  .mobile-menu {
    display: flex;
  }

  .subpage-top {
    margin-top: 0;
    min-height: 400px;
  }

  .subpage-top h4 {
    margin-top: 0;
  }

  .kontakt-subpage .right-kontakt-box, .kontakt-subpage .contact-form {
    padding-left: 0;
  }

  .kontakt-subpage .left-kontakt-box {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .info-name, .info-phone, .info-mail {
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }

  .sections {
    padding-top: 6rem;
    padding-bottom: 5rem;
  }

  .home-text-1 .section-title {
    margin-top: 3rem;
  }

  .right-kontakt-box {
    padding-left: 0;
    text-align: center;
  }

  .contact-form {
    padding-left: 0;
  }


 }



@media (min-width: 768px) and (max-width: 991.98px) {
  html {
    font-size: 53%; 
  }

  header {
    padding: 1rem 0 0 0;
  }

  #home-top {
    margin-top: 0;
  }

  #top-menu {
    display: none;
  }

  .navbar {
    justify-content: flex-end;
  }

  .navbar-collapse {
    justify-content: flex-end;
    display: flex;
    text-align: right;
    z-index: 100;
  }

  .mobile-menu {
    display: flex;
  }

  .subpage-top {
    margin-top: 0;
    min-height: 400px;
  }

  .subpage-top h4 {
    margin-top: 0;
  }

  .right-kontakt-box {
    padding-left: 0;
  }

  .kontakt-subpage .right-kontakt-box, .kontakt-subpage .contact-form {
    padding-left: 0;
  }

  .kontakt-subpage .left-kontakt-box {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .right-kontakt-box {
    padding-left: 0;
    text-align: center;
  }

  .contact-form {
    padding-left: 0;
  }


}

@media (min-width: 992px) and (max-width: 1100px) {
  html {
    font-size: 57%; 
  }

  #menu-header li {
    padding: 4rem 2rem 1rem 2rem;
  }

	

}


@media (min-width: 1100px) and (max-width: 1300px) { 
  #menu-header li {
    padding: 4rem 2.5rem 1rem 2.5rem;
  }

}