/*
  Theme Name: Neml Theme
  Author: Martina
  Version: 1.0
 */

 * {
   box-sizing: border-box;
   margin: 0;
   padding: 0; }

 body {
   font-family: 'Montserrat', sans-serif;
   display: flex;
   flex-direction: column;
   min-height: 100vh;
 }
/* footer */
  #main-footer {
    margin-top: auto;
    width: 100vw;
  }

   .background-footer{
     margin: 0 auto;
     padding: 50px 0;
     background-image: linear-gradient(20deg, #1260AE, #32BCEB);
     color: #fff;
   }


 h2 {
   font-weight: 300; }

/* colors */
  .text-primary {
    color: #088AD4 !important;
  }
  .text-dark {
    color: #4D4D4D !important;
  }
  /* .text-info {
    color: #088AD4 !important;
  } */

  .bg-primary {
    background: #088AD4 !important;
  }

 /* navigation */
 .navbar {
   border-bottom: 3px #088AD4 solid;
  }

 .logo {
   transition: all .2s ease-in-out; }

 .logo:hover {
   transform: scale(1.05); }

 .navbar-brand img {
   width: 180px; }

 .navbar li {
   text-transform: uppercase; }

 .btn-objednani:hover {
   color: #fff; }

/* navbar */
.dropdown:hover .dropdown-menu {
    display: block;
}
.dropdown-menu {
    margin-top: 0px;
}


 /* hero-section */
 #jumbotron {
   position: relative;
   background-repeat: no-repeat;
   background-size: cover;
   min-height: 700px;
 }

 #jumbotron a, #jumbotron a:hover {
  text-decoration: none;
 }



   #jumbotron .jumbotron-top {
     min-height: 450px; }
     #jumbotron .jumbotron-top h1 {
       margin-top: 200px; }
   #jumbotron .dark-overlay {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;

background: rgba(255, 255, 255, 0.6);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);

     z-index: 2; }
   #jumbotron #novinky-header {
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     background: rgba(255, 255, 255, 0.2);
     backdrop-filter: blur(6px);
     -webkit-backdrop-filter: blur(8px);
    }
   #jumbotron #btn-archiv {
     position: absolute;
     right: 1rem;
     bottom: 0.2rem; }
   #jumbotron .novinka {
     transition: all .2s ease-in-out;
     position: relative; }


   #jumbotron .novinka:hover {
     transform: scale(1.1);
     border-left: 1px solid #32BCEB;
   }

     #jumbotron .novinka h4 {
       line-height: 1.5;
        font-size: 1.1em;
     }

     .novinka img {
       width: 25px;
     }


  .bottom-novinka {
    position: absolute;
    bottom: 0;
    left: 15px;
    }
  .bottom-novinka a:hover, .novinka h4 a:hover {
    color: #32BCEB;
    }

  .bottom-novinka p {
      display: inline;
    }





 .usek {
   transition: all .2s ease-in-out; }

 .usek:hover {
   transform: scale(1.1); }

 #informace {
   position: relative; }
   #informace a {
     position: absolute;
     bottom: 1rem;
     left: 50%;
     transform: translate(-50%, -50%); }

 #adresa {
   background: #fff; }

 #novinky:first-child {
   padding-top: 200px;
 }

  .page-banner {
    /* background-color: #000; */
    padding: 50px 0;
    position: relative;
    color: #fff;
  }

  .background-header{
    margin: 0 auto;
    padding: 50px 0;
    background-image: linear-gradient(20deg, #1260AE, #32BCEB);
    width: 100vw;
  }

.current-menu-item a {
   color: #088AD4 !important;
 }

 .post-item {
   border-bottom: 1px dotted #DEDEDE !important;
   padding: 2.7rem 0 1.5rem;

 }

 .post-item:last-of-type {
   border-bottom: none;

 }

 .margin {
   height: 50px;
 }

  .page-numbers {
    padding: 15px 5px;
  }


/* metabox */
.metabox {
  background-color: #6c757d;
  border-radius: 3px;
  padding: 10px 15px;
  display: inline-block;
  margin-bottom: 30px;
  box-shadow: 2px 2px 1px rgba(0, 0, 0, .07);

}

.metabox--position-up {
  top: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.metabox--with-home-link {
  padding: 0;
}

.metabox__main {
  padding: 10px 15px 10px 11px;
}

.metabox p {
  margin: 0;
  font-size: .9rem;
  color: #fff;
}

.metabox a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.metabox a:hover {
  text-decoration: underline;
}

.metabox .metabox__blog-home-link {
  background-color: #0D3B66;
  color: #FFF;
  display: inline-block;
  padding: 10px 15px;
  border-radius: 3px 0 0 3px;
  font-weight: normal;
}

.metabox .metabox__blog-home-link:hover {
  text-decoration: none;
  background-color: rgb(11, 47, 81);
}


/* KONTAKTY */
#karta-adresa {
  margin: 0 auto;
  padding: 50px 0;
  background-image: linear-gradient(20deg, #1260AE, #32BCEB);
  color: #fff;
  width: 100vw;
}

#karta-adresa a {
  color: #fff;
}

#karta-adresa a:hover {
  color: #333;
}

#karta-adresa .adresa {
  margin-right: 50px;
}

#kontakty h4 {
  font-size: 1em;
}

#kontakty .bold {
  padding: 10px 0 5px 0;
}

#kontakty a {
  color: #333;
}

#kontakty a:hover {
  color: #088AD4;
  text-decoration: none;
}

#kontakty .card {
  height: 220px;
}




.container-smaller {
  max-width: 60%;
  margin: 0 auto;
}


#page-oddeleni .btn {
  width: 450px;
}

#page-oddeleni .btn:hover {
  color: #fff;
  text-decoration: none;
}


/* single.php */
#img-container img {
  max-width: 100%;
  height: auto;
}


/* responsibility */
@media (max-width: 352px) {
  .metabox {
    display: inline-block;
    color: #333;
    background: rgba(0,0,0,0);
    box-shadow: none;
  }
  .metabox__main {
    display: block;
  }

  .card-body ul {
    padding: 0 0.2rem 0 0.8rem !important;
  }
}
@media (max-width: 575px) {
  .navbar-brand img {
    width: 160px !important;
  }

  #jumbotron {
    min-height: 500px;
  }

  #jumbotron .dark-overlay .container, #adresa .container {
    max-width: 90%;
  }

  #jumbotron .jumbotron-top h1 {
    font-size: 2.3rem;
    margin-top: 150px;
  }

  #jumbotron a {
    font-size: 1rem;
  }

  #novinky-header {
    display: none;
  }

  #oddeleni h2, #adresa h2 {
    font-size: 1.3rem;
  }
  #oddeleni h3 {
    font-size: 1.3rem;
  }

  .usek:hover {
    transform: none; }



  .blog .container, .page-id-10980 .container, .page-id-22 .container, .single-lekar .container{
    max-width: 80%;
  }

    .single-lekar img {
      max-width: 200px;
      height: auto;
      padding-bottom: 1rem !important;
    }

    iframe {
      width: 100%;
    }

    #page-oddeleni .btn {
      width: 350px;
    }

    .single-oddeleni h2 {
      font-size: 1.5rem;
      padding-top: 3rem 0 !important;
    }



}

@media (min-width: 767px) and (max-width: 960px) {
  #oddeleni .row>div {
    padding: 1.5rem !important;
  }
}
@media (min-width: 960px) and (max-width: 1111px) {
  #novinky-header {
    padding-bottom: 1rem !important;
  }
}

@media (max-width: 836px) {
  .single-oddeleni .wp-block-columns {
    flex-direction: column;
    align-items: center !important;
    }

  .single-oddeleni .wp-block-column {
    padding-bottom: 2rem;
    align-self: center;
    margin-left: 0;
    }
}

@media (max-width: 960px) {
  #karta-adresa .row>div:nth-child(2) {
    margin-top: 0 !important;
  }

  #karta-adresa .row>div:first-child {
    padding-left: 0 !important;
  }
}


@media (max-width: 1200px) {
  #jumbotron .container {
    max-width: 85%;
  }

  .blog .container, .page-id-10980 .container {
    max-width: 90%;
  }


}

@media (max-width: 1200px) {
  .container-smaller {
    max-width: 80% !important;

  }
