/*
Theme Name: przedszkole
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: przedszkole
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: 'Raleway', sans-serif;
  margin: 0 auto;
  max-width: 1920px;
  font-size: 1.9rem;
  color: #000000;
  background-color: #F8F8F9;
}

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

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

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

.custom-container2 {
  max-width: 1400px;
  margin: 0 auto;
}

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

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

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

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

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

.green {
  color: #79AB57;
}

/*Header*/
/*
#mega-menu-menu1 li:first-child a {
  padding-left: 0 !important;
}
*/

header {
  padding: 1rem;
  background: url('img/ntop.jpg') top center no-repeat;
  background-size: cover;
  min-height: 880px;
}

.subpagebody header {
  min-height: 480px;
  background-size: auto;
}

.header-button {
  margin-top: 4rem;
}

.header-contact {
  background: #ffffff;
  border-radius: 40px;
  padding: 2rem 6.5rem 2rem 2.3rem;
  color: #F45064;
  transition-duration: 0.3s;
}

.header-contact:hover {
  color: #79AB57;
}

.header-zapisy {
  background: #79AB57;
  border-radius: 40px;
  padding: 2rem 2.3rem;
  color: #ffffff;
  margin-left: -5rem;
  transition-duration: 0.3s;
}

.header-zapisy:hover {
  background: #F45064;
  color: #ffffff;
}

.fb {
  margin-left: 1rem;
  display: none;
}

.top-text {
  margin-top: 15rem;
  margin-left: 2rem;
}

.top-text p {
  color: #ffffff;
  padding-bottom: 1rem;
}

.top-text h2 {
  font-size: 4.8rem;
  font-weight: 300;
  color: #ffffff;
}

.top-text h2 strong {
  font-weight: 700;
}

.green-button {
  color: #ffffff;
  font-size: 1.7rem;
  font-weight: 500;
  background: #79AB57;
  padding: 1.5rem 3rem;
  border-radius: 30px;
  display: inline-block;
  margin-top: 5rem;
}

.green-button:hover {
  background: #F45064;
  color: #ffffff;
}

/*Strona główna*/
.sections {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.section-title {
  font-size: 5rem;
  font-weight: 400;
  color: #F45064;
  padding-bottom: 2rem;
}

.section-subtitle {
  font-size: 2.2rem;
  font-weight: 500;
  color: #000000;
}

.last-news-div {
  background: #ffffff;
  padding: 5rem;
  -webkit-box-shadow: 0 0 15px 0 rgba(000,000,000,0.1);
box-shadow: 0 0 15px 0 rgba(000,000,000,0.1);
  margin-top: 2rem;
	height: calc(100% - 25px);
}

.post-title {
  font-size: 2.5rem;
  color: #000;
  margin-top: 3rem;
  font-weight: 500;
}

.date {
  font-size: 1.7rem;
  color: #F45064;
  margin-top: 1.5rem;
}

.excerpt p {
  font-size: 1.6rem;
  font-weight: 300;
  margin-top: 1.5rem;
}

.lastnewshref {
  display: inline-block;
  color: #F45064;
  font-size: 1.6rem;
  font-weight: 500;
  margin-top: 1.5rem;
}

#home-news {
  background-image: url('img/home-news.jpg');
  background-position: top right;
  background-repeat: no-repeat;
  background-color: #F8F8F9;
}

.red-button {
  color: #ffffff;
  font-size: 1.7rem;
  font-weight: 500;
  background: #F45064;
  padding: 1.5rem 3rem;
  border-radius: 30px;
  display: inline-block;
  margin-top: 3rem;
}

.red-button:hover {
  color: #ffffff;
  background: #79AB57;
}

#home-baner h2 {
  font-size: 5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2.5rem;
}

#home-baner p {
  font-size: 2.2rem;
  font-weight: 400;
  color: #ffffff;
}

.parallax {
  background-image: url("img/nparallax.jpg");
  height: 445px; 
  background-attachment: fixed;
  background-position: top;
  background-repeat: no-repeat;
  width: 100%;
  display: flex;
  align-items: center;
  padding-left: 7vw;
}

.red-box {
  background: #F34F63;
  border: 1px solid #ffffff;
}

.green-box {
  background: #79AB57;
  border: 1px solid #ffffff;
}

.box-div {
  padding: 6rem 3rem 5rem 3rem;
}

.box-div h4 {
  font-size: 2.6rem;
  color: #ffffff;
  font-weight: 500;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.box-div p {
  font-size: 1.6rem;
  font-weight: 300;
  color: #ffffff;
}

#home-oferta h5 {
  font-size: 2.4rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 4rem;
  margin-top: 2rem;
}

#home-oferta img {
  margin-top: 5rem;
}

/*Podstrony*/

.page-id-221 h2 {
  color: #F13C52;
  margin-bottom: 3rem;
  font-size: 4rem;
  font-weight: 700;
}

.page-id-221 h3 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.page-title {
  font-size: 5rem;
  color: #F13C52;
  text-align: center;
  margin-bottom: 10rem;
  margin-top: 4rem;
}

.subpage {
  background-color: #F8F8F9;
  background-image: url('img/home-news.jpg');
  background-position: top right;
  background-repeat: no-repeat;
}

.subpage p {
  font-size: 2rem;
  margin-bottom: 4rem;
  line-height: 2;
}

.subpage li {
  font-size: 2rem;
}

.subpage-baner {
  background-image: url("img/nparallax.jpg");
  height: 445px; 
  background-position: top;
  background-repeat: no-repeat;
  width: 100%;
  display: flex;
  align-items: center;
  padding-left: 7vw;
}

.download a {
  font-size: 2.2rem;
  font-weight: 500;
  margin-top: 2.5rem;
  margin-bottom: 3rem;
  color: #000000;
  display: inline-block;
}

.oferta-box .green-box, .oferta-box .red-box {
  border: 15px solid #ffffff;
} 

.adaptacja p {
  font-size: 1.9rem;
  margin-bottom: 3rem;
}

.adaptacja p:last-child {
  margin-bottom: 0;
}

.red-text {
  background: #F34F5E;
  padding: 3rem 2rem 2rem 2rem;
}

.green-text {
  background: #75A557;
  padding: 3rem 2rem 2rem 2rem;
  margin-top: 7px;
  margin-bottom: 3rem;
}

.red-text h4, .green-text h4 {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.przewodnik .page-title {
  margin-bottom: 2rem;
}

.przewodnik-subtitle {
  font-size: 3.6rem;
  color: #F45064;
  font-weight: 600;
  margin-bottom: 7rem;
}

/*Aktualności*/

.red-box-news {
  background: #F13C52;
  padding: 4rem 3rem;
  margin-top: 2rem;
}

.red-box-news h3, .green-box-news h3{
  color: #ffffff;
  font-size: 2.3rem;
  font-weight: 600;
}

.green-box-news {
  background: #75A557;
  padding: 4rem 3rem;
  margin-top: 2rem;
}


/*Footer*/

footer {
  background: #363636;
  padding: 15rem 0 5rem 0;
  margin-top: -8rem;
}

footer h5 {
  color: #F13C52;
  font-size: 2.3rem;
  font-weight: 600;
  margin-bottom: 3.5rem;
}

footer a {
  display: block;
  font-size: 1.8rem;
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

footer p {
  color: #ffffff;
  font-weight: 300;
}

footer .phone {
  color: #F13C52;
  font-size: 2.2rem;
  font-weight: 700;
}

.grayback {
  background: #F8F8F9;
}

.copyright p {
  font-size: 1.5rem;
  font-weight: 300;
  padding-top: 1.5rem;
}

.footer-box {
  padding-top: 9rem;
}

.footer-box h3 {
  font-size: 4rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 3rem;
}

.footer-box h3 span {
  font-size: 3.1rem;
  font-weight: 400;
}

.footer-box img {
  margin-top: 5rem;
}

.footer-box-1 {
  background: url('img/box1.png') top center no-repeat;
  background-size: cover;
  padding: 8rem 2rem 4rem 4rem;
}

.footer-box-2 {
  background: url('img/box2.png') top center no-repeat;
  background-size: cover;
  padding: 8rem 2rem 4rem 4rem;
}

.footer-box-3 {
  background: url('img/box3.png') top center no-repeat;
  background-size: cover;
  padding: 8rem 2rem 4rem 4rem;
}

.footer-box-4 {
  background: url('img/box4.png') top center no-repeat;
  background-size: cover;
  padding: 8rem 2rem 4rem 4rem;
}



/*Formularz kontaktowy*/

input {
  border: none;
  background: #F5F5F5;
  padding: 2rem 1.5rem 2rem 2.5rem;
  width: 100%;
  margin: 1rem 0 1rem 0;
  color: #000000;
  outline: none;
  transition-duration: 0.2s;
}

input[type=submit] {
  background: #004D31;
  color: #ffffff;
  padding: 2rem 2.3rem 2rem 2.3rem;
  text-align: center;
  max-width: 220px;
  margin: 5rem auto 2rem auto;
  transition-duration: 0.3s;
  display: block;
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  border: none;
  font-style: italic;
  font-family: 'Playfair Display', serif;
}

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: #F5F5F5;
  padding: 2.5rem 1.5rem 1.5rem 2.5rem;
  width: 100%;
  margin: 1rem 0 0.5rem 0;
  color: #000000;
  outline: none;
  max-height: 240px;
}

.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:#323232;
  font-size: 1.7rem;
}
::-moz-placeholder { /* Firefox 19+ */
  color:#323232;
  font-size: 1.7rem;
}
:-ms-input-placeholder { /* IE 10+ */
  color:#323232;
  font-size: 1.7rem;
}
:-moz-placeholder { /* Firefox 18- */
  color:#323232;
  font-size: 1.7rem;
}

input[type=search]:focus::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color:#ffffff;
  font-size: 1.7rem;
}
input[type=search]:focus::-moz-placeholder { /* Firefox 19+ */
  color:#ffffff;
  font-size: 1.7rem;
}
input[type=search]:focus:-ms-input-placeholder { /* IE 10+ */
  color:#ffffff;
  font-size: 1.7rem;
}
input[type=search]:focus:-moz-placeholder { /* Firefox 18- */
  color:#ffffff;
  font-size: 1.7rem;
}

/*Media*/

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

  .header-button {
    display: none;
  }

  header, .subpagebody header {
    min-height: 370px;
    background-size: cover;
  }

  .top-text {
    margin-top: 10rem;
    text-align: center;
  }

  .top-text h2 {
    font-size: 3.8rem;
  }

  footer {
    text-align: center;
  }

  footer h5 {
    margin-top: 3rem;
    margin-bottom: 2rem;
  }

  #menu-header .collapse {
    display: block;
  }

  #mega-menu-wrap-menu1 #mega-menu-menu1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
    font-size: 14px;
  }

  .parallax {
    background-attachment: unset;
    background-position: top center;
  }


 }



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

  .header-button {
    display: none;
  }

  header, .subpagebody header {
    min-height: 500px;
    background-size: cover;
  }

  #menu-header .collapse {
    display: block;
  }

  #mega-menu-wrap-menu1 #mega-menu-menu1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
    font-size: 14px;
  }


}

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

  .header-button a {
    font-size: 1.6rem;
  }

  .header-contact, .header-zapisy {
    display: none;
  }

  .header-zapisy {
    padding: 2rem 1.5rem;
  }

  header .custom-container {
    max-width: 100%;
  }

  #mega-menu-wrap-menu1 #mega-menu-menu1 > li.mega-menu-item > a.mega-menu-link {
    font-size: 1.9rem;
    padding: 0 23px 0 23px;
  }

  .top-text {
    margin-top: 20rem;
  }

  .fb img {
    max-width: 40px;
  }

  .mobile-social {
    display: flex;
    justify-content: flex-end;
  }

	

}

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

  .header-button a {
    font-size: 1.6rem;
  }

  .header-button {
    margin-top: 3.6rem;
  }

  .header-zapisy {
    padding: 2rem 1.5rem;
  }

  header .custom-container {
    max-width: 100%;
  }

  #mega-menu-wrap-menu1 #mega-menu-menu1 > li.mega-menu-item > a.mega-menu-link {
    font-size: 1.9rem;
    padding: 0 15px 0 15px;
  }

  .top-text {
    margin-top: 20rem;
  }

  .fb img {
    max-width: 40px;
  }

	

}


@media (min-width: 1400px) and (max-width: 1580px) { 
  .header-button a {
    font-size: 1.6rem;
  }

  .header-button {
    margin-top: 3.6rem;
  }

  .header-zapisy {
    padding: 2rem 1.5rem;
  }

  header .custom-container {
    max-width: 100%;
  }

  #mega-menu-wrap-menu1 #mega-menu-menu1 > li.mega-menu-item > a.mega-menu-link {
    font-size: 1.7rem;
    padding: 0 20px 0 20px;
  }

}