body {
    background-color: white;
}

#content {
  overflow-x: hidden;
}

body .jumbotron {
    background: url("/static/images/dental_instruments.png") no-repeat center top;
    box-shadow: none;
    padding: 0px;
    padding-top: 250px;
    margin-bottom: 0px;
}

body.bvi-active .jumbotron {
    padding-top: 80px;
    background: none !important;
    overflow: hidden;
}

body.bvi-active #header .jumbotron .row-stripe .logo-light {
    margin-top: 10px;
    font-size: 18px !important;
    line-height: 1 !important;
}


body.bvi-active #header .jumbotron .row-stripe .logo-bold {
    line-height: 1 !important;
}

body.bvi-active .navbar-btn {
    margin: 0 1px;
    font-weight: bold;
}

body.bvi-active .ripple-wrapper {
    display: none;
}

body.bvi-active .navbar {
    padding-bottom: 2px;
    border-bottom: 1px solid black;
}

body.bvi-active .contact-link-icon {
    background-color: black !important;
    padding: 2px;
    border-radius: 2px;
}

body.bvi-active #appointment-form .form-control-wrapper {
    min-height: 60px;
    display: flex;
    flex-direction: column-reverse;
}

body.bvi-active .floating-label {
    z-index: 10;
    position: relative !important;
    top: 0 !important;
}

body.bvi-active #appointment-form .form-control-wrapper .hint {
    display: none;
}

body.bvi-active .modal-content {
    box-shadow: none;
    border: 1px solid black;
}

body.bvi-active #appointment-form .datetimepicker .bootstrap-datetimepicker-widget {
    border: 1px solid black !important;
    overflow: hidden;
}

.row-stripe {
    background-color: #03a9f4;
    height: 120px;
    color: white;
    overflow: visible;
}

body.bvi-active .bvi-body .bvi-link-fixed-top {
    top: 2rem !important;
    right: 2rem !important;
    z-index: 1035 !important;
}

body.bvi-active .bvi-body {
    padding: 0;
}

body.bvi-active .image-bottomcutter {
    margin-bottom: 0;
    margin-top: 0;
}

body.bvi-active .bvi-body[data-bvi-images="false"] .image-bottomcutter {
    display: none;
}

body.bvi-active .bvi-body[data-bvi-images="false"] .bvi-hide-no-img {
    display: none;
}

.bvi-show-no-img {
    display: none;
}

body.bvi-active .bvi-body[data-bvi-images="false"] .bvi-show-no-img {
    display: block;
}

body.bvi-active .bvi-body[data-bvi-images="false"] .thumbnail.doctors:not(.doctors-description) {
    display: block !important;
    background: none !important;
    border: 1px solid black;
    padding-top: 0;
}

body.bvi-active .bvi-body[data-bvi-builtelements="false"] .bvi-hide-no-builtelements {
    display: none !important;
}

body.bvi-active .bvi-body[data-bvi-builtelements="false"] .bvi-100-no-builtelements {
    width: 100% !important;
}

body.bvi-active .price-table tr {
    border-bottom: 1px solid black;
}

body.bvi-active .bvi-body[data-bvi-lineheight="average"] .price-table tr th,
body.bvi-active .bvi-body[data-bvi-lineheight="average"] .price-table tr td {
    padding-top: 20px;
    padding-bottom: 20px;
}

body.bvi-active .bvi-body[data-bvi-lineheight="big"] .price-table tr th,
body.bvi-active .bvi-body[data-bvi-lineheight="big"] .price-table tr td {
    padding-top: 25px;
    padding-bottom: 25px;
}


.bvi-enable-button {
    position: fixed !important;
    top: 1.5rem !important;
    right: 1.5rem !important;
    z-index: 999999 !important;

    background-color: white;
    color: black !important;
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid black;

    display: flex;
    flex-direction: row;
    align-items: center;
    font-weight: bold;
    width: 180px;
    margin-bottom: 5px;
}

.bvi-enable-button img {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.logo-wraper {
    justify-content: center;
    display: flex;
    height: 85px;
}

.apple {
    position: relative;
    bottom: 80px;
    float:left;
}

body #header .logo .logo-bold {
    float: left;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 68px !important;
}

.logo-light {
    font-family: 'Roboto', sans-serif;
    font-weight: lighter;
    font-size: 24px;
    text-align: center;
}

#navbar {
  z-index: 1000;
}

#navbar.affix {
    width: 100%;
    position: fixed;
    top: 0;
}

.navbar.navbar {
    background-color: white;
}

.navbar {
    box-shadow: 0 3px 10px rgba(0,0,0,.23), 0 3px 10px rgba(0,0,0,.16);
    display: flex;
    justify-content: center;
}

.navbar .btn {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: lighter;
    margin: 0px;
    height: 50px;
}

.navbar .dropdown .dropdown-menu.patients>li>a{
    padding: 10px 25px;
    color: #333;
}

.navbar .dropdown .dropdown-menu.patients>li>a:hover,
.navbar .dropdown .dropdown-menu.patients>li>a:focus {
    color: #03A9F4;
}

#footer {
    background-color: #03a9f4;
    color: white;
    margin-top: 20px;
    box-shadow: 0 -3px 10px rgba(0,0,0,.23), 0 3px 10px rgba(0,0,0,.16);
    border-radius: 2px;
    border: 0;
    padding-top: 15px;
    padding-bottom: 15px;
}

.recomendations .contact-link,
.doctor-contact-link,
#footer .contact-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 2px;
}

#footer .contact-link .contact-link-text {
    color: white;
}

.recomendations .contact-link-icon,
.doctor-contact-link .contact-link-icon,
#footer .contact-link .contact-link-icon {
    width: 18px;
    height: 18px;
    margin-right: 5px;
    background-size: contain;
    background-repeat: no-repeat;
}

.contact-link-icon.instagram-icon {
    background-image: url(/static/images/icons/instagram_white.png);
}

.contact-link-icon.instagram-color-icon {
    background-image: url(/static/images/icons/instagram_color.png);
}

.contact-link-icon.email-icon {
    background-image: url(/static/images/icons/email.png);
}

.contact-link-icon.phone-icon {
    background-image: url(/static/images/icons/phone.png);
}

.contact-link-icon.wa-icon {
    background-image: url(/static/images/icons/whatsapp.png);
}

.prodoctorov-icon {
    background-image: url(/static/images/icons/prodoctorov.png);
}

.yandexmap-icon {
    background-image: url(/static/images/icons/yandexmap.png);
}

.dgis-icon {
    background-image: url(/static/images/icons/2gis.png);
}

.appoint-btn-icon {
    width: 24px;
    height: 24px;
    margin-right:10px;
    background-size: contain;
    background-repeat: no-repeat;
}

.appoint-doctor-phones {
    margin-top: 10px;
}

.appoint-doctor-phones ul {
    padding-left: 15px;
}

.max-icon {
    background-image: url(/static/images/icons/max_logo.png);
}

.tg-icon {
    background-image: url(/static/images/icons/tg.png);
}

body.bvi-active .prodoctorov-icon {
    background-image: url(/static/images/icons/prodoctorov-grey.png);
    background-color: transparent !important;
}

body.bvi-active .yandexmap-icon {
    background-image: url(/static/images/icons/yandexmap-grey.png);
    background-color: transparent !important;
}

body.bvi-active .dgis-icon {
    background-image: url(/static/images/icons/2gis-grey.png);
    background-color: transparent !important;
}

.ux-left-img {
    float: left;
    padding: 0px 20px 20px 0px;
}

.ux-right-img {
    float: right;
    padding: 0px 0px 20px 20px;
}

#showRegForm {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 6px 12px;
}

.vertical-alignment-helper {
    display:table;
    height: 100%;
    width: 100%;
    pointer-events:none; /* This makes sure that we can still click outside of the modal to close it */
}
.vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
    pointer-events:none;
}
.modal-content {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width:inherit;
    height:inherit;
    /* To center horizontally */
    margin: 0 auto;
    pointer-events: all;
}

.ekko-lightbox .modal-dialog {
    margin: auto !important;
}

.table>tbody>tr>td,.table>thead>tr>th {
    padding: 15px;
    border-top: none;
}

.price-table tr th:nth-child(3) {
   text-align: right;
}

.price-table tr td:nth-child(3) {
   text-align: right;
}

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
  background-color: rgba(3, 169, 244, 0.2);
}

.table-hover tbody tr td, .table-hover tbody tr th {
    transition: background-color 0.5s ease;
}

.table.price-table>tbody>tr>td {
    font-size: inherit;
    font-weight: bold;
}

.table.price-table.code-orthodontic>tbody>tr>td {
    font-weight: normal;
}

.table.price-table>tbody>tr.price-item-child>td {
    font-size: smaller;
    font-weight: lighter;
}

.spacer {
    height: 10px;
    width: 100%;
    font-size: 0;
    margin: 0;
    padding: 0;
    border: 0;
    display: block;
}

.working-day {
      float: left;
      background-color: #03a9f4;
      margin: 0px 1px;
      padding: 0px 2px;
      color: white;
}

.working-day.weekend {
    background-color: #FF0700;
}

.image-description {
    color: #FFF;
    padding: 5px 10px;
    opacity: 0.5;
    background-color: #000;
    position: relative;
    top: 240px;
    height: 60px;
}

.image-description.simple-description {
  height: 35px;
    top: -35px;
}

.image-description.opaque {
  opacity: 1;
  background-color: rgb(3, 169, 244);
  color: rgba(255, 255, 255, 0.75);
}

.image-description.top-description {
  height: 35px;
}

.image-bottomcutter {
    margin-bottom: -35px;
    margin-top: 5px;
}

.image-description-item {
    display: flex;
    justify-content: flex-end;
}

.image-description-item.desc-main {
    font-size: larger;
    font-weight: bolder;
}

.image-description-item.desc-sub {
    font-size: small;
    font-weight: lighter;
    font-style: italic;
}

.thumbnail.doctors {
    border: none;
    padding: 0px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: unset;
}

.thumbnail.doctors.img-clickable {
    cursor: pointer;
    width: 100%;
    padding-top: 55%;
}

.thumbnail.doctors .image-description {
    top: 0px;
    padding: 10px;
}

.thumbnail.doctors.doctors-description {
    height: 300px;
    width: 400px;
    margin-top: 25px;
    /*border-radius: 200px;*/
    /*height: 400px;*/
}

.appoint-btns .btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 8px;
}

.appoint-btns .btn i {
    font-size: 24px;
    margin-right: 10px;
}

.appoint-btns .btn .col {
    display: flex;
    flex-direction: column;
    align-items: start;
    flex: 1 1 auto;
}

.appoint-btns .btn .btn-title {
    text-transform: none !important;
    font-size: 18px;
}

.appoint-btns .btn .btn-sub-title {
    font-size: 10px;
}

form.appointment {

}

.form-control-wrapper {
    margin: 30px;
}

.datetimepicker {
    margin-right: 20px;
}

.datetimepicker .form-control-wrapper {
  margin: 0px 0px 0px 30px;
}

.form-control:focus,.form-control.focus {
  background-image: linear-gradient(#03a9f4, #03a9f4),linear-gradient(#d2d2d2,#d2d2d2);
}

.has-error .form-control:focus,.has-error .form-control.focus {
  background-image: linear-gradient(#f44336, #f44336),linear-gradient(#d2d2d2,#d2d2d2);
}

.has-success .form-control:focus,.has-success .form-control.focus {
  background-image: linear-gradient(#0f9d58, #0f9d58),linear-gradient(#d2d2d2,#d2d2d2);
}

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

.registered_text {
  padding: 10px;
  margin: 10px 30px 0px 30px;
  width: 100%;
  text-align: center;
  color: white;
}

.registered_text p{
    margin: 5px 0;
}

.validated-input li.fa {
    float: left;
    margin-top: 10px;
    display: none;
}

#appointment-form .has-success li.fa-check {
    display: inherit;
}

#appointment-form .has-error li.fa-exclamation-circle {
    display: inherit;
}

.has-error .form-control-wrapper .floating-label {
    color: #f44336;
}

.has-success .form-control-wrapper .floating-label {
    color: #0f9d58;
}

.has-error .checkbox {
    color: #f44336;
}

.has-success .checkbox {
    color: #0f9d58;
}

.img-material {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.24);
  transition: box-shadow .28s cubic-bezier(.4,0,.2,1);
}

.img-material.img-clickable:hover {
    box-shadow: 0 3px 4px 1px rgba(0, 0, 0, 0.12), 0 3px 4px 1px rgba(0, 0, 0, 0.24);
}

a, a:hover, a:focus {
  color: #03a9f4;
}

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

.main-map#map-canvas {
    height: 200px;
}

.main-map#yandex-map-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: 200px;
}

.contacts-map#yandex-map-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: 500px;
}

#yandex-map {
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

#main-details{
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.agreement-group {
    padding: 0px 25px;
}

.agree-label {
    display: inline-block;
}

.agreement-group label span.check {
    top: -5px;
}

.agreement-group label span.ripple {
    top: -6px;
}

@media (max-width: 992px) {
    body .jumbotron {
        padding-top: 80px;
    }
    .main-map#yandex-map-wrapper {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        width: 100%;
        height: 400px;
    }
    #content {
        padding: 0px 10px;
    }
}

@media (max-width: 768px) {
    body .jumbotron {
        padding-top: 50px;
    }
    #content {
        padding: 0px 10px;
    }
    .row-stripe {
        height: 90px;
    }
    
    .logo-wraper {
        height: 65px;
    }
    
    .apple {
        bottom: 48px;
        width: 90px;
    }
    
    body #header .logo .logo-bold {
        font-size: 48px !important;
    }
    
    .logo-light {
        font-size: 18px;
    }

    body.bvi-active #header .jumbotron .row-stripe .logo-bold {
        font-size: 42px !important;
    }

    body.bvi-active #header .jumbotron .row-stripe .logo-light {
        margin-top: 0;
    }

    .bvi-enable-button {
        top: 0.5rem !important;
        right: 1rem !important;
    }

    .navbar .container-fluid {
        width: 100%;
    }
    .navbar .navbar-nav .navbar-btn {
        width: 100%;
        text-align: left;
    }
    .navbar .navbar-header .btn.navbar-toggle {
        text-align: left;
    }
    .main-map#yandex-map-wrapper {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        width: 100%;
        height: 350px;
    }
}

@media (max-width: 559px) {
    body.bvi-active .navbar {
        border-bottom: none;
    }

    .bvi-enable-button {
        top: 0.25rem !important;
        padding: 0px 10px;
        width: 170px;
    }

    body.bvi-active .bvi-body .bvi-link-fixed-top {
        top: 0.25rem !important;
        padding-top: 4px;
        padding-bottom: 4px;
    }
}