/*
Theme Name: diatermie
Theme URI: https://diatermie.pl
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: diatermie
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.6rem;
  background: #ffffff;
  color: #252938;
}

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

a {
  color: #1F9CBC;
  transition-duration: 0.3s;
}

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

p {
  line-height: 1.7;
  color: #282828;
  font-size: 1.5rem;
  padding-bottom: 1.5rem;
}

ul li {
  font-size: 1.5rem;  
}

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

.wppsac-post-carousel.design-1 .slick-dots {
  display: none !important;
}

header {
  background: #CFCFCF;
  padding: 1rem;
}

#menu-header {
  display: flex;
  align-items: center;
}

#menu-header li a {
  color: #000000;
  font-size: 1.7rem;
  padding: 0.5rem 1rem;
  font-weight: 500;
}

#menu-header li a:hover {
  background: #1F9CBC;
  color: #ffffff;
}

#menu-header li:first-child a {
  background: #1F9CBC;
  color: #ffffff;
  font-weight: 600;
}

.products {
  background: #EEEEEE;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 10px solid #ffffff;
}

.product {
  background: #ffffff;
  padding-top: 4rem;
  padding-bottom: 3rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.product h3 {
  color: #9FCDC0;
  font-size: 2.3rem;
  padding-left: 4rem;
  font-weight: 600;
  margin-top: 2rem
}

.product p {
  font-size: 1.7rem;
  padding-left: 4rem;
  margin-top: 1rem;
  padding-bottom: 0;
}

.content {
  padding-top: 5vw;
  padding-bottom: 5vw;
}

.content h2 {
  color: #1F9CBC;
  font-size: 5rem;
  font-weight: 600;
}

.content .price {
  font-size: 2.5rem;
  font-weight: 500;
}

.wp-block-image img {
  height: auto;
}

footer {
  border-top: 1px solid #000000;
  max-width: 1500px;
  margin: 5rem auto 5rem auto;
  padding-top: 5rem;
}

footer p {
  font-size: 1.4rem;
  padding-bottom: 1rem;
}


.top-back {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: #000000;
  min-height: 22vw;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-back h4 {
  color: #91CDC0;
  font-size: 3.3rem;
  font-weight: 700;
}


.top-back p {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
}



/*Formularz kontaktowy*/


input {
  border: none;
  background: #ffffff;
  padding: 1.8rem 1.8rem 1.3rem 0;
  width: 100%;
  margin: 1rem 0 2.5rem 0;
  color: #242938;
  outline: none;
  border-bottom: 2px solid #9F814D;
}

input[type=submit] {
  background: none;
  color: #010101;
  padding: 1.6rem 1rem 1.6rem 1rem;
  text-align: center;
  max-width: 200px;
  margin: 3rem auto 1rem auto;
  transition-duration: 0.3s;
  display: block;
  font-size: 1.3rem;
  font-weight: 400;
  text-align: center;
  border: 2px solid #9F814D;
}

textarea {
  border: none;
  background: #ffffff;
  padding: 1.8rem 1.8rem 1.8rem 0;
  width: 100%;
  margin: 2rem 0 0.5rem 0;
  color: #252938;
  outline: none;
  max-height: 200px;
  border-bottom: 2px solid #9F814D;
}

.wpcf7-not-valid {
  background: #FF4C4C;
  color: #143D4E;
}

div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
  color: #143D4E;
}

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

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

.wpcf7-not-valid::-webkit-input-placeholder, .wpcf7-not-valid::-moz-placeholder, .wpcf7-not-valid:-ms-input-placeholder, .wpcf7-not-valid:-moz-placeholder {
  color: #ffffff !important;
}



/*Media*/

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

  header {
    padding: 1rem 1rem 3rem 1rem;
  }


 }



@media (min-width: 768px) and (max-width: 991.98px) {

  html {
    font-size: 53%; 
  }



}

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

  .navbar {
    display: none;
  }


}


@media (min-width: 1200px) and (max-width: 1300px) { 
.navbar {
  display: none;
}
}

@media (min-width: 1300px) and (max-width: 1400px) { 
  #menu-header li a {
    font-size: 1.5rem;
  }
}