/*
Theme Name: RC Zdorovaya Jizn
Author: Karina Gubaidullina
Description: Modern, responsive theme for rehabilitation center. it's built to be beautiful on all screen sizes.
Version: 1.0
Tags: one-column, flexible-header
*/

body {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #222;
}
.col-lg-2 {
 
    flex: 33.333333% !important;
    max-width: 33.333333% !important;

}
header {
    width: 100%;
    background: #f5fcfd;
    box-shadow: 0 0 10px rgba( 0, 0, 0, .1);
}

h1, h2, h3 {
  text-transform: uppercase;
}

h1 {
  font-size: 36px;
  color: white;
}

h2 {
color: #186794;
  font-size: 22px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #cfcfcf;
  margin-bottom: 30px;
}

h3 {
  font-size: 18px;
  font-weight: 300;
}

h4 {
  font-size: 16px;
  font-weight: bold;
}

img {
  max-width: 100%;
}

footer {
  background: #055481;
  padding-top: 50px;
  padding-bottom: 30px;
}

/* ---- Navigation ---- */

.top-nav {
  display: none;
}

.navbar {
  padding-left: 0;
  padding-right: 0;
}

.navbar-brand {
  font-size: 13px;
  font-weight: 300;
  text-transform: uppercase;
}

.navbar-brand .company-name {
  color: #186794;
  font-weight: bold;
}

.navbar-brand .company-city {
  background-color: #22a1c4;
  color: white;
  padding: 0 2px;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus, .navbar-toggler:hover {
  outline: none;
}

.navbar-expand-lg .navbar-collapse {
  justify-content: flex-end;
}

.navbar-nav {
    margin-top: 15px;
}

.navbar-nav li {

}

.navbar-nav a {
  display: block;
  position: relative;
  font-weight: 300;
  line-height: 24px;
  padding: 12px 0 14px 0;
  border-bottom: 1px #ededed dashed;
  color: #186794;
  text-decoration: none;
}

.navbar-nav li:last-child a {
  border-bottom: none;
}

.navbar-nav .active>a,
.navbar-nav a.active,
.navbar-nav a:hover {
  color: #22a1c4;
  font-weight: 500;
  text-decoration: none;
}

/* ---- Sticky navbar ---- */

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

/* ---- Layout Containers ---- */

#banner {
  height: 400px;
  background: url('img/bg-banner.jpg') no-repeat;
  background-position: center top;
  background-size: cover;
  text-align: center;
}

.sect-space {
  padding-top: 50px;
  padding-bottom: 50px;
}

#info-button {
    border-top: 10px solid #3f7da5;
  background: rgba( 34, 161, 196, .1);
}

#addict-types,
#certificates {
  margin-top: 25px;
 background: url(/wp-content/themes/rc-zdorovaya-jizn/img/footer-form-bg.png);
}

#steps {

   background: url(/wp-content/themes/rc-zdorovaya-jizn/img/bg-steps.jpg);
}

#price {
  background: url(/wp-content/themes/rc-zdorovaya-jizn/img/happy-family.jpg) no-repeat center top/cover;
     color: #fff;
     
}

.overlay-price,
.overlay-banner {
 /* background: rgba( 5,84, 129, .8);*/
}

.overlay-banner {
  padding-top: 50px;
  height: 100%;
}

.modal-body {
  text-align: left;
}

/* ---- Page Elements ---- */

.pum-open body>[aria-hidden] {
  padding-right: 0 !important;
}

form {
     color: #222;
  padding-top: 30px;
  max-width: 400px;
  margin: 0 auto;
}

#contacts form {
  padding-top: 0;
}

.address-fixed {
  display: flex;
  align-items: center;
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 1000;
}

.consult-free img {
  width: 210px;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
  display: block;
  outline: none;
  border: 1px solid rgba( 0, 0, 0, .4);
  border-radius: 0;
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  margin-top: 10px;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus {
  outline: none;
  border: 2px solid #22a1c4;
}

label {
  display: block;
}

.formisSafe {
  font-size: 12px;
}

.ver-centered {
  display: flex;
}

.ver-centered .material-icons {
  font-size: 15px;
  margin-right: 5px;
}

#info-button .ver-centered,
footer .ver-centered,
#modalAddress .ver-centered,
#contacts .ver-centered {
  margin-bottom: 10px;
}

.contacts-blue .material-icons,
footer .material-icons,
#contacts .material-icons {
  margin-top: 3px;
}

.lead {
  margin-bottom: 50px;
}

.banner-arrow img {
  width: 40px;
  height: 40px;
  margin-top: 70px;
}

.banner-arrow:hover img {
  text-decoration: none;
  opacity: .6;
}

.arrow-downward {
  display: block;
  margin-bottom: 20px;
}

.blue-info-btn {
  color: #2196F3;
  font-size: 60px;
  margin-bottom: 10px;
  background: white;
  border-radius: 50%;
}

.contacts-blue {
  padding: 30px 15px;
  border: 1px dashed #318bcb;
}

.card {
  border: none;
}

.card-header {
  padding-left: 0;
  padding-right: 0;
  border: none;
  background: none;
}

.card-body {
  padding-left: 10px;
}

.accord-navitem {
  display: flex;
  align-items: center;
}

.accord-navitem i {
  font-size: 18px;
  color: #22a1c4;
  background: #f6f7f9;
  padding: 6px;
  border-radius: 5px;
  margin-right: 10px;
}

.accord-navitem span {
  color: #22a1c4;
}

.accord-navitem:hover {
  text-decoration: none;
}

.accord-navitem[aria-expanded="true"] i {
  color: white;
  background: #22a1c4;
}

.accord-navitem[aria-expanded="true"] {
  color: #22a1c4;
}

#advantages-accord ol {
  padding-left: 15px;
}

.circle-icon-block {
  margin-bottom: 30px;
  width: 160px;
}

#steps .circle-icon-block {
  width: 180px;
}

.circle-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  width: 100px;
  background: #22a1c4;
  border-radius: 50%;
  padding: 10px;
  margin-bottom: 20px;
}

.circle-icon span {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid white;
  opacity: 0;
}

.circle-icon img {
  height: 80px;
  width: 80px;
}

.circle-icon-block:hover .circle-icon span {
  width: 90px;
  height: 90px;
  opacity: 1;
  transition: all 300ms ease;
  -webkit-transition: all 300ms ease;
}

.circle-icon-text {
  color: #222;
  font-size: 18px;
}

.t-white {
  color: white;
  text-align: center;
}

.circle-icon-block:hover .circle-icon-text,
.circle-icon-block:hover .t-white,
.circle-icon-text:hover,
.t-white:hover {
  color: #22a1c4;
  text-decoration: none;
}

.red {
  color: tomato;
}

#staff .col-12 {
  margin-bottom: 50px;
}

.staff-post {
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 16px;
}

.staff-name {
  margin-bottom: 15px;
  color: #22a1c4;
}

.dd-line {
  height: 3px;
  width: 170px;
  background: url('../img/double-dotted.png') repeat-x center;
  margin-top: auto;
}

.staff-skills {
  margin-top: 20px;
  margin-left: 0;
  padding-left: 0;
  font-weight: 300;
}

.staff-skills li {
  list-style-type: none;
  margin-bottom: 10px;
}

.staff-skills .fa-check {
  color: #22a1c4;
  margin-right: 10px;
}

.staff-skills b {
  font-weight: bold;
}

.gallery-item,
.video {
  position: relative;
  display: inline-block;
  margin-right: 20px;
  margin-bottom: 20px;
}

#mediagallery .gallery-item {
  width: 100%;
}

.gallery-item img {
  max-width: 100%;
}

img[src*="certif"] {
  width: 270px;
}

img[src*="media"] {
  width: 100%;
}

.overlay-photo {
  position: absolute;
  top: 0;
  left: 0;
  background: #051825;
  opacity: 0;
  width: 100%;
  height: 100%;
  transition: opacity ease-out .3s;
}

.overlay-icon {
  padding: 10px;
  background: #22a1c4;
  border-radius: 5px;

}

.gallery-item:hover .overlay-photo {
  opacity: .8;
}

.media-info {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  color: white;
}

.gallery-item:hover .media-info {
  opacity: 1;
}

.media-name {
  font-size: 16px;
  margin-bottom: 5px;
}

.videoblock {
  margin-bottom: 20px;
}

.videoblock iframe {
  width: 100%;
}

#price .price-block {
     background: #2267aa94;
    margin-top: 20px;
    padding: 50px;
    border: 1px solid;
}

#price p,
#price span {
  font-size: 18px;
}

#price p {
  text-transform: uppercase;
}

#price .day-price {
  font-weight: bold;
      font-size: 38px;
}

#price .callout {
    margin-bottom: 20px;
  display: inline-block;
  margin-top: 20px;
}

.blueblock {
  padding: 20px;
  color: rgba( 0, 0, 0, .7);
  background: rgba( 34, 161, 196, .1);
}

#programm h3 {
  margin-top: 40px;
}

.filter-nav {
  margin-top: 20px;
  margin-bottom: 40px;
}

#programm .filter-nav {
  margin-bottom: 0;
}

.aspect {
  padding-top: 40px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #ededed;
}

.aspect:last-child {
  border: none;
}

.aspect img {
  width: 570px;
  max-width: 100%;
}

.article {
  margin-bottom: 40px;
}

.art-title {
  margin-top: 20px;
}

.art-info {
  font-size: 11px;
  font-weight: 300;
  opacity: .7;
  margin-top: 10px;
  margin-bottom: 15px;
}

.full-artimg {
  margin-bottom: 20px;
}

.contacts-map {
  margin-bottom: 40px;
}

#contacts h3 {
  margin-bottom: 15px;
}

.map-h3 {
  margin-top: 30px;
}

.w-form {
  width: 350px;
  max-width: 100%;
  padding: 20px;
  border: 1px solid #eee;
}

.w-form input {
  background: transparent;
}

footer h4 {
  text-transform: uppercase;
  margin-bottom: 20px;
}

footer ul {
  margin-left: 0;
  padding-left: 0;
}

footer ul li,
.filter-nav li {
  list-style-type: none;
}

footer ul li {
  margin-bottom: 10px;
}

footer .container-fluid {
  position: relative;
}

footer .totop {
  position: absolute;
  top: -80px;
  right: 10px;
  color: white;
  background: #055481;
  padding: 8px 15px;
  border-radius: 5px;
}

.copyright {
  border-top: 1px solid rgba( 255, 255, 255, .2);
  padding-top: 30px;
  margin-top: 40px;
}

.regions li {
  margin-right: 10px;
}

#certificates .col-sm-6,
footer .col-12 {
  margin-bottom: 30px;
}

footer .col-12:last-child {
  margin-bottom: 0;
}

/* ---- Buttons and links ---- */

.callout,
input[type="submit"] {
  text-decoration: none;
  color: white;
  font-size: 18px;
  text-transform: uppercase;
  padding: 15px 20px;
  border-radius: 5px;
  border: none;
  background: linear-gradient(90deg, firebrick, orange);
  transition-duration: .5s;
}

.callout:hover,
input[type="submit"] {
  text-decoration: none;
  color: white;
  background: linear-gradient(270deg, firebrick, orange);
  border: none;
}

input[type="submit"] {
  width: 100%;
}

.default-link {
  color: #2d2e2e;
}

.default-link:hover {
  color: #22a1c4;
}

.bluelink {
  color: #186794;
}

.bluelink:hover  {
  color: #186794;
  opacity: .6;
  text-decoration: none;
}

.footer-nav a,
.whitelink {
  color: rgba( 255, 255, 255, .6);
}

.footer-nav a:hover,
.whitelink:hover,
.infolink,
.infolink:hover  {
  text-decoration: none;
  color: #22a1c4;
}

.infolink:hover {
  opacity: .7;
}

.infolink .fa-chevron-right {
  font-size: 10px;
  margin-left: 4px;
}

.btn-info {
  background: #22a1c4;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  margin-top: 15px;
  margin-bottom: 15px;
}

.article .btn-info {
  margin-top: 0;
}

.social-links a {
  margin-right: 20px;
}

.btn-filter {
  padding: 10px;
  color: #186794;
  background: none;
  border: none;
  outline: none;
}

.btn-filter:focus {
  outline: none;
}

.btn-active {
  border: 1px solid #186794;
  outline: none;
}

.link-back a {
  font-size: 12px;
  color: #22a1c4;
}

/* =================================
  Media Queries
==================================== */

@media (max-width: 575px) {

  .gallery-item {
    margin-right: 0;
  }
}

@media (min-width: 576px) {

  .navbar-brand {
    font-size: 14px;
  }
  #banner {
    height: 500px;
  }
  .overlay-banner {
    height: 500px;
    padding-top: 150px;
  }
  .contacts-blue {
    padding: 30px;
  }
  .card-body {
    padding-left: 40px;
  }
  
  
  .card {
    position: relative;
    margin-bottom: 5px;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #f6f7f9;
    background-clip: border-box;

    border-radius: .25rem;
}
  #mediagallery .gallery-item {
    width: 45%;
  }
  #mediagallery .videos {
    width: 100%;
  }
}

@media (min-width: 768px) {

  #banner {
    height: 600px;
  }
  .overlay-banner {
    height: 500px;
    padding-top: 150px;
  }
  h1 {
    font-size: 50px;
  }
  h2 {
      text-align: center;
    font-size: 28px;
    padding-bottom: 15px;
    margin-bottom: 40px;
  }
  .sect-space {
     
    padding-top: 25px;
    padding-bottom: 0px;
  }
  .regions li {
    margin-right: 0;
  }
  .w-form {
    margin: 0 20px 20px;
  }
  .contacts-map {
    margin-bottom: 0;
  }
  .full-artimg {
    /* float: left; */
    width: 45%;
    margin-right: 20px;
    margin-bottom: 0;
  }
}

@media (max-width: 991px) {

}

@media (min-width: 992px) {

  .top-nav {
    display: flex;
    justify-content: space-between;
    height: 34px;
    font-size: 13px;
    border-bottom: 1px solid #e2e2e2;
  }
  .sticky {
    top: -34px;
  }
  .top-nav .ver-centered {
    align-items: center;
  }
  .top-nav .ver-centered:first-child {
    margin-right: auto;
  }
  .top-nav .ver-centered:nth-child(2) {
    margin-right: 20px;
  }
  .navbar-nav {
      margin-top: 0;
  }
  .navbar-nav a {
    text-transform: uppercase;
    font-weight: 400;
    border-bottom: 0;
    padding-right: .5rem;
    padding-left: .5rem;
  }
  h1 {
    font-size: 60px;
  }
  #certificates .col-sm-6,
  footer .col-12 {
    margin-bottom: 0;
  }
  .videoblock iframe {
    height: 400px;
  }
  .review iframe {
    height: 300px;
  }
}

@media (min-width: 1024px) {

  .container-fluid {
    max-width: 1190px;
    margin: 0 auto;
  }
}
