/*

#99ccff
#ff99cc
#99cc00
#999900
#cccc66
#cccc33
#003366
#ffffcc

*/

* {
    outline: none !important;
}

body {
    font-family: 'Montserrat', sans-serif;
    max-width: 1920px;
    margin: 0 auto;
    background-color: #fbfad9;
}

.mb-15 {
    margin-bottom: 15px;
}
.mb-30 {
    margin-bottom: 30px;
}
.mt-15 {
    margin-top: 15px;
}
.mt-30 {
    margin-top: 30px;
}

.btn.flat {
    border-radius: 0 !important;
}
.btn-red {
    color: #fff;
    background-color: #ed5153;
}
.btn-red:hover {
    color: #fff;
    background-color: #dc4042;
}
.btn-green {
    color: #fff;
    background-color: #afcb07;
}
.btn-green:hover {
    color: #fff;
    background-color: #9eba06;
}
.btn-blue {
    color: #fff;
    background-color: #a1d9f7;
}
.btn-blue:hover {
    color: #fff;
    background-color: #90c8e6;
}
.btn-red:hover,
.btn-green:hover,
.btn-blue:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.btn-red.btn-lg,
.btn-green.btn-lg,
.btn-blue.btn-lg {
    padding: 12px 40px;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 4px;
}


.header {
    padding: 18px 0 10px;
    background-color: #fbfadb;
}
.header .logo {
    display: block;
}
.header .logo > img {
    display: block;
    width: 100%;
    max-width: 100%;
}
.header .socials {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.header .socials > a {
    display: block;
    width: 35px;
    height: 35px;
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 50%;
    text-decoration: none;
}
.header .socials > a.facebook {
    background-image: url(../assets/ikonky_socmerezhi/fb.svg);
}
.header .socials > a.instagram {
    background-image: url(../assets/ikonky_socmerezhi/ig.svg);
}
.header .socials > a.youtube {
    background-image: url(../assets/ikonky_socmerezhi/yt.svg);
}
.header .socials > a.map {
    background-image: url(../assets/ikonky_socmerezhi/geo.svg);
}
.header .socials > a:hover {
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    -webkit-transform: scale(1.03);
    -moz-transform: scale(1.03);
    -ms-transform: scale(1.03);
    -o-transform: scale(1.03);
    transform: scale(1.03);
}

.header .buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    margin-bottom: 15px;
}
.header .buttons > a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 190px;
    height: 55px;
    padding: 0 15px;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: normal;
    border-radius: 7px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: normal;
}
.header .buttons > a.btn-red {
    background-color: #ed5153;
}
.header .buttons > a.btn-blue {
    margin-left: 50px;
    background-color: #51aded;
}
.header .buttons > a:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.header .buttons > a.btn-red:hover {
    background-color: #dc4042;
}
.header .buttons > a.btn-blue:hover {
    background-color: #409cdc;
}

.header .nav {
    float: right;
}
.header .nav > li > a {
    color: #737373 !important;
    font-size: 20px;
    font-weight: 500;
    background-color: transparent !important;
    text-transform: uppercase;
}
.header .nav > li:last-child > a {
    padding-right: 0;
}
.header .nav .dropdown-menu {
    margin: 0;
    background-color: #8ad0f3;
    border-radius: 0;
}
.header .nav .dropdown-menu > li > a {
    padding: 5px 15px;
    color: #737373 !important;
    font-size: 18px;
    font-weight: 500;
    background-color: transparent !important;
    text-transform: uppercase;
}
.header .nav > li > a:hover,
.header .nav .dropdown-menu > li > a:hover {
    color: #51aded !important;
}
@media (max-width: 1199px) and (min-width: 991px) {
    .header .buttons {
        margin-bottom: 25px;
    }
    .header .socials {
        margin-top: 10px;
    }
}
@media (max-width: 991px) and (min-width: 768px) {
    .header .logo {
        margin-bottom: 15px;
    }
    .header .logo > img {
        width: 75%;
        margin: 0 auto;
    }
    .header .socials {
        margin-top: 10px;
    }
    .header .nav {
        width: 100%;
        float: none;
    }
    .header .nav > li {
        display: table-cell;
        width: 1%;
        float: none;
    }
}
@media (max-width: 767px) {
    .header .logo {
        margin-bottom: 15px;
    }
    .header .buttons {
        flex-direction: column-reverse;
        margin-bottom: 30px;
    }
    .header .buttons > a {
        width: auto;
    }
    .header .buttons > a.btn-blue {
        margin-left: 0;
        margin-bottom: 15px;
    }
    .header .socials {
        justify-content: center;
        margin-bottom: 15px;
    }
    .header .socials > a {
        margin: 0 10px;
    }
    .header .nav {
        float: none;
    }
    .header .nav > li {
        float: none;
    }
    .header .nav > li > a {
        text-align: center;
    }
    .header .nav .dropdown-menu {
        right: 0;
        margin: 0 15px;
    }
    .header .nav .dropdown-menu > li > a {
        text-align: center;
    }
}


.home-line {
    padding: 25px 0;
    background-color: #a1daf7;
}
.home-line .address {
    margin-top: 5px;
    color: #134660;
    font-size: 18px;
    line-height: normal;
}
.home-line .phones {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.home-line .phones > a {
    display: block;
    color: #134660;
    font-size: 24px;
    font-weight: bold;
    line-height: normal;
    text-decoration: none;
}
.home-line .phones > a:hover {
    color: #003366;
}
@media (max-width: 1199px) {
    .home-line .address {
        margin-bottom: 15px;
        text-align: center;
    }
    .home-line .phones {
        justify-content: space-around;
    }
}
@media (max-width: 767px) {
    .home-line .phones {
        flex-direction: column;
        text-align: center;
    }
}


.footer {
    padding: 40px 0;
    background-color: #113c55;
}
.footer .logo {
    display: block;
    width: 193px;
    max-width: 100%;
}
.footer .address {
    color: #86bbd5;
    font-size: 18px;
    line-height: 200%;
}
.footer .phones {
    margin-bottom: 15px;
}
.footer .phones > a {
    display: block;
    color: #86bbd5;
    font-size: 26px;
    text-align: right;
    text-decoration: none;
}
.footer .phones > a:hover {
    color: #fff;
}
.footer .socials {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}
.footer .socials > a {
    display: block;
    width: 35px;
    height: 35px;
    margin-left: 14px;
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 50%;
    text-decoration: none;
}
.footer .socials > a.facebook {
    background-image: url(../assets/ikonky_socmerezhi/fb.svg);
}
.footer .socials > a.instagram {
    background-image: url(../assets/ikonky_socmerezhi/ig.svg);
}
.footer .socials > a.youtube {
    background-image: url(../assets/ikonky_socmerezhi/yt.svg);
}
.footer .socials > a.map {
    background-image: url(../assets/ikonky_socmerezhi/geo.svg);
}
.footer .socials > a:hover {
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    -webkit-transform: scale(1.03);
    -moz-transform: scale(1.03);
    -ms-transform: scale(1.03);
    -o-transform: scale(1.03);
    transform: scale(1.03);
}
.footer .license {
    color: #fff;
    font-size: 12px;
    margin-top: 70px;
    margin-bottom: 10px;
}
.footer .disclaimer {
    color: #a1daf7;
    font-size: 30px;
    font-weight: lighter;
    text-transform: uppercase;
}
@media (max-width: 767px) {
    .footer .logo {
        margin: 0 auto 30px;
    }
    .footer .address {
        margin-bottom: 30px;
        text-align: center;
    }
    .footer .phones > a,
    .footer .license,
    .footer .disclaimer {
        text-align: center;
    }
    .footer .socials {
        justify-content: center;
    }
    .footer .socials > a {
        margin: 0 7px;
    }
}


#home-video,
#about-video {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: none;
}

.home-top-block {
    padding: 30px 0;
}
.home-top-block .home-square-links {
    width: 100%;
    height: 100%;
}
.home-top-block .home-square-links > a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    height: calc((1170px - 30px) / 4 * 9 / 16);
    padding-left: 30px;
    float: left;
    position: relative;
    color: #040404;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
}
.home-top-block .home-square-links > a:first-child {
    background-color: #afcb08;
}
.home-top-block .home-square-links > a:nth-child(2) {
    background-color: #d0e16d;
}
.home-top-block .home-square-links > a:nth-child(3) {
    background-color: #829708;
}
.home-top-block .home-square-links > a:last-child {
    background-color: #bccf48;
}
.home-top-block .home-square-links > a:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.2) inset;
}
.home-top-block .home-square-links > a:hover:after {
    display: block;
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(153,204,255,0.1);
}
@media (max-width: 1199px) {
    .home-top-block .home-square-links > a {
        height: calc((970px - 30px) / 4 * 9 / 16);
    }
}
@media (max-width: 991px) {
    .home-top-block .home-square-links > a {
        height: calc((750px - 30px) / 4 * 9 / 16);
        padding-left: 15px;
    }
}
@media (max-width: 767px) {
    .home-top-block .home-square-links > a {
        width: 100%;
        height: 100px;
        padding: 0;
        text-align: center;
    }
}


.home-services-block {
    padding: 30px 0 0;
}
.home-services-block a.service-link {
    display: block;
    max-width: 220px;
    margin: 0 auto 50px;
}
.home-services-block a.service-link > img {
    max-width: 100%;
    border-radius: 50%;
}
.home-services-block a.service-link:hover > img {
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    transform: scale(1.01);
}
@media (max-width: 991px) {
    .home-services-block a.service-link {
        margin-bottom: 30px;
    }
}


.home-service-info-block {
    padding: 30px 0;
}
.home-service-info-block.bg-green {
    background-color: #afcb07;
}
.home-service-info-block.bg-blue {
    background-color: #a1d9f7;
}
.home-service-info-block.bg-red {
    background-color: #f5b1b5;
}
.home-service-info-block .service-image {
    display: block;
    max-width: 100%;
}
.home-service-info-block .service-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 285px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
}
.home-service-info-block .service-info > .doctors {
    display: block;
    margin-bottom: 15px;
}
.home-service-info-block .service-info > .doctors > span {
    display: block;
    min-width: 33%;
    float: left;
    margin-bottom: 5px;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
}
@media (max-width: 991px) {
    .home-service-info-block .service-info {
        height: auto;
        min-height: 282px;
    }
    .home-service-info-block .service-info > .doctors > span {
        min-width: 40%;
        margin-right: 5px;
    }
}
@media (max-width: 767px) {
    .home-service-info-block .service-info {
        text-align: center;
        min-height: auto;
    }
    .home-service-info-block .service-image {
        margin: 0 auto 15px;
    }
    .home-service-info-block .service-image.pull-right {
        float: none !important;
    }
    .home-service-info-block .service-info > .doctors > span {
        float: none;
    }
}


.page-header {
    margin: 0;
    padding: 50px 0;
    border: none;
    background: #a1daf7 url(../img/bg/h1-doctors.jpg) no-repeat center right;
    background-size: cover;
}
.page-header.about,
.page-header.vaccination,
.page-header.laboratory {
    background-image: url(../img/bg/h1-lab.jpg);
}
.page-header.contacts,
.page-header.pediatrics {
    background-image: url(../img/bg/h1-baby.jpg);
}
.page-header.price,
.page-header.services,
.page-header.uzd,
.page-header.blog,
.page-header.article {
    background-image: url(../img/bg/h1-office.jpg?v=2);
}
.page-header h1 {
    max-width: 100%;
    margin: 0;
    padding: 0;
    color: #ed5153;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: normal;
    overflow: hidden;
    text-transform: uppercase;
}
@media (max-width: 991px) {
    .page-header h1 {
        text-align: center;
    }
}
@media (max-width: 480px) {
    .page-header h1 {
        font-size: 24px;
    }
}


.content {
    padding: 30px 0;
}
.content-title , .content-title  a{
    margin: 0 0 15px;
    color: #ed5153;
}
.content-title  a:hover{
    text-decoration: none;
    color: #C7383AFF;
}
.content {
    font-size: 18px;
    font-weight: 500;
}


.services-block {
    padding-top: 30px;
}
.services-block.even {
    background-color: #fefeed;
}
.services-block a.service {
    display: inline-block;
    height: 50px;
    margin-bottom: 30px;
    color: #222;
    text-decoration: none;
}
.services-block a.service > img {
    display: block;
    width: 50px;
    height: 50px;
    float: left;
    margin-right: 15px;
    border-radius: 50%;
}
.services-block a.service > span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 50px;
    font-weight: bold;
    line-height: normal;
}
.services-block a.service:hover {
    color: #51aded;
}
.services-block a.service:hover > img {
    transform: scale(1.03);
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}


.doctors-menu {
    padding: 15px;
    margin-bottom: 30px;
    background-color: #f1f1c9;
}
.doctors-menu > .doctors-menu-item {
    margin-bottom: 15px;
}
.doctors-menu > .doctors-menu-item > a[data-toggle="collapse"] {
    display: block;
    /*padding: 10px 0;*/
    color: #222;
    font-weight: bold;
    text-decoration: none;
}
.doctors-menu > .doctors-menu-item > .collapse {
    /*padding-left: 10px;*/
}
.doctors-menu > .doctors-menu-item > .collapse > ul {
    /*padding-left: 10px;*/
    /*margin-left: 10px;*/
}
.doctors-menu > .doctors-menu-item > .collapse > ul > li > a {
    display: block;
    margin-bottom: 5px;
    color: #222;
    text-decoration: none;
}
.doctors-menu > .doctors-menu-item > .collapse > ul > li > a:hover {
    color: #51aded;
}

.doctor-item {
    padding: 30px 0;
    border-top: 1px solid #51aded;
}
.doctor-item .doctor-photo {
    display: block;
    max-width: 100%;
}
.doctor-item .doctor-info {
    display: flex;
    height: 270px;
    flex-direction: column;
    justify-content: space-between;
}
.doctor-item .doctor-info .text-bold {
    font-weight: bold;
}
.doctor-item .doctor-info a.btn {
    padding: 10px 40px;
    color: #fff;
    font-size: 16px;
    background-color: #ed5153;
    border-radius: 0;
    text-transform: uppercase;
}
.doctor-item .doctor-info a.btn:hover {
    background-color: #dc4042;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
@media (max-width: 1199px) {
    .doctor-item .doctor-info {
        height: 200px;
    }
}
@media (max-width: 991px) {
    .doctor-item .doctor-info {
        height: 237px;
    }
}
@media (max-width: 767px) {
    .doctor-item .doctor-photo {
        margin: 0 auto 15px;
    }
    .doctor-item .doctor-info {
        height: auto;
        text-align: center;
    }
    .doctor-item .doctor-info > span:not(:last-child) {
        margin-bottom: 15px;
    }
}


.vaccination-calendar-block {
    padding: 30px 0;
    margin: 30px 0;
    background-color: #fdfcb0;
}
.vaccination-calendar-block .vaccination-calendar {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}


.share-item {
    padding: 15px;
}
.share-item.even {
    background-color: #f2f2ca;
}
.share-item > .date {
    display: block;
    margin-bottom: 5px;
    color: #ed5153;
    font-size: 18px;
    font-weight: 500;
    line-height: normal;
}
.share-item > .title {
    margin: 0 0 5px;
    color: #ed5153;
    font-size: 24px;
    font-weight: 500;
    text-transform: uppercase;
}


.article-item {
    padding: 15px 0 30px;
    border-top: 1px solid #51aded;
}
.article-item .article-header {
    margin-bottom: 15px;
    line-height: normal;
}
.article-item .article-header > .date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 44px;
    height: 44px;
    float: left;
    margin-right: 15px;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    background-color: #51aded;
    border-radius: 50%;
    text-align: center;
    text-transform: uppercase;
}
.article-item .article-header > .article-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 44px;
    margin: 0;
    font-weight: bold;
    line-height: normal;
    text-transform: uppercase;
}
.article-item .article-image {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-bottom: 15px;
}


.online-entry-form {
    padding: 30px 15px;
}
.online-entry-form.bg-red {
    background-color: #ed5153;
}
.online-entry-form.bg-green {
    background-color: #afcb07;
}
.online-entry-form.bg-blue {
    background-color: #a1d9f7;
}
.online-entry-form .title {
    display: block;
    margin-bottom: 15px;
    color: #fbfbda;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}
.online-entry-form .form-control {
    background-color: #fbfbda;
    border-radius: 0;
}
.online-entry-form .form-control:focus {
    border-color: #fbfbda;
}
.online-entry-form textarea {
    resize: vertical;
}
.online-entry-form .checkbox label {
    color: #fbfbda;
    font-size: 13px;
    font-weight: 500;
}
.online-entry-form .checkbox input[type="checkbox"] {
    position: relative;
}
.online-entry-form button[type="submit"] {
    display: block;
    margin: 0 auto;
    padding: 8px 30px;
    color: #fbfbda;
    font-size: 18px;
    font-weight: 500;
    background-color: #fbfbda;
    border-radius: 0;
    text-align: center;
    text-transform: uppercase;
}
.online-entry-form button[type="submit"][disabled] {
    position: relative;
}
.online-entry-form button[type="submit"][disabled]:after {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    content: "Відправка даних, зачекайте";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    line-height: normal;
    white-space: normal;
    background-color: rgba(0,0,0,0.7);
    text-align: center;
    text-transform: none;
}
.online-entry-form.bg-red button[type="submit"] {
    color: #ed5153;
}
.online-entry-form.bg-green button[type="submit"] {
    color: #afcb08;
}
.online-entry-form.bg-blue button[type="submit"] {
    color: #a1daf7;
}
.online-entry-form button[type="submit"]:hover {
    background-color: #fbfbda;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}


.map-blank {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 450px;
    margin: 0;
    padding: 0;
    border: none;
}

#map-modal > .modal-dialog {
    width: 90vw;
    margin: 15px auto 0;
}
#map-modal .map-blank {
    height: 90vh;
}
