/*
Theme Name: Into-Sana
Theme URI: http://digitaltouch.pro/
Author: DigitalTouch
Author URI: http://digitaltouch.pro/
Description: The theme for Into Sana
Version: 1.0.0
Text Domain: intosana
*/

.wpcf7-not-valid-tip
{
    font-size: 12px !important;
}
div.wpcf7-response-output
{
    margin-left:0px !important;
    margin-right:0px !important;
    margin-top:10px !important;
}

.header__widgets-item.header__city,
.header__info-phone > span,
.bot-popup,
.header__info-item--address, .header__info-item--city {
    display: none;
}

.index-services__item-link
{
    height: 190px;
}

.contacts__content.contacts__content--gastro
{
    width: 100%;
    padding: 0;
}

.contacts__content--gastro .contacts__blocks-item--services,
.contacts__content--gastro .contacts__blocks-item--timetable,
.contacts__content--gastro .contacts__blocks-item--call-center
{
    width:21.666666666%;
    clear: none;
}

.contacts__content--gastro .footer__contacts-list-item
{
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5em;
    color:#495057;
    padding-top: 0;
}

@media (max-width: 1280px)
{
    .contacts__content--gastro .contacts__blocks-item--contacts,
    .contacts__content--gastro .contacts__blocks-item--services,
    .contacts__content--gastro .contacts__blocks-item--timetable,
    .contacts__content--gastro .contacts__blocks-item--call-center
    {
        width: 50%;
    }
}

@media (max-width: 600px)
{
    .contacts__content--gastro .contacts__blocks-item--contacts,
    .contacts__content--gastro .contacts__blocks-item--services,
    .contacts__content--gastro .contacts__blocks-item--timetable,
    .contacts__content--gastro .contacts__blocks-item--call-center
    {
        width: 100%;
    }
}

.doctors__item--gastro
{
    width: 50%;
}
@media (max-width: 1000px)
{
    .doctors__item--gastro
    {
        width: 100%;
    }
}
.doctors__item--gastro .doctor__image
{
    max-width: 190px;
}
.doctors__item--gastro .doctor__header
{
    float:left;
    margin-right: 20px;
    padding-top: 5px;
    transform: translateY(5px);
}
.doctors__item--gastro .doctor__title
{
    padding-top: 0;
}

.doctors__item.doctors__item--gastro:nth-child(3n+1)
{
    clear: none;
}

.doctors__item.doctors__item--gastro:nth-child(2n+1)
{
    clear: both;
}
.show-more-doctors
{
    display: none;
}
@media (max-width: 768px)
{
    .show-more-doctors
    {
        display: block;
        margin: 20px auto 0;
        width: 150px;
    }
    .doctors__item--gastro
    {
        display: none;
    }

    .doctors__item--gastro:nth-child(1),
    .doctors__item--gastro:nth-child(2),
    .doctors__item--gastro:nth-child(3),
    .doctors__item--gastro:nth-child(4)
    {
        display: block;
    }

    .show-all .doctors__item--gastro
    {
        display: block;
    }
}

@media (max-width: 480px)
{
    .doctors__item--gastro .doctor__header
    {
        margin: 0 0 20px 0;
        width: 100%;
    }
    .doctors__item--gastro .doctor__image
    {
        max-width: 100%;
    }
}
.doctor-patient:after
{
    clear: both;
    content: '';
    display: table;

}

.patient-block,
.doctor-block
{
    position: relative;
    width: 50%;
    height: 0;
    float: left;
    min-height: 430px;
    background-size: cover;
    cursor: pointer;
}
@media (max-width: 1200px)
{

    .patient-block,
    .doctor-block
    {
        min-height: 530px;
    }
}
@media (max-width: 1000px)
{

    .patient-block,
    .doctor-block
    {
        min-height: 630px;
    }
}


.patient-block-info,
.doctor-block-info
{
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background: #2680b7;
    padding: 60px 50px;
    top:0;
    z-index: 1;
    color:#fff;
    line-height: 2em;
    left: 0;
}

.accordion-patient-doctor
{
    display: none;
}


@media (max-width: 900px)
{

    .doctor-patient
    {
        display: none;
    }

    .accordion-patient-doctor
    {
        display: block;
    }
}

.patient-block:hover .patient-block-info,
.doctor-block:hover .doctor-block-info
{
    display: block;
}

.patient-block-label,
.doctor-block-label
{
    position: absolute;
    left:0;
    top:0;
    right:0;
    bottom:0;
    margin: auto;
    border:4px solid #fff;
    border-radius: 5px;
    line-height: 90px;
    padding: 0 30px;
    color:#fff;
    height: 90px;
    width: 300px;
    font-size: 40px;
    text-align: center;
}

.patient-block-info__title,
.doctor-block-info__title
{
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.wpcf7-radio span.wpcf7-list-item
{
    display: block;
    margin: 0 0 10px 0;
}

.wpcf7-radio span.wpcf7-list-item input
{
    vertical-align: middle;
    margin-right: 10px;
}

.about-video
{
    width: 50%;
    float: left;
    padding-right: 10px;
}
.about-team
{
    width: 50%;
    padding-left: 10px;
    float: left;
}

.about-video-player
{
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
}

.about-video-player iframe
{
    position: absolute;
    left:0;
    top:0;
    width: 100%;
    height: 100%;
}

.container-about:after
{
    content: '';
    display: table;
    clear: both;
}

.about-services
{
    text-align: center;
    padding: 70px 0 10px;
    margin: auto;
    max-width: 900px;
}

@media (max-width: 1000px)
{
    .about-video
    {
        padding: 0 0 20px 0;
        width: 100%;
    }
    .about-team
    {
        padding: 0;
        width: 100%;
    }
    .about-services
    {
        text-align: left;
        padding-top: 20px;
    }
}


.index-quote
{
    padding-top: 30px;
    padding-bottom: 30px;
    background: #f0f7fd;
}
.index-quote__quote
{
    float: left;
    width: 70%;
    position: relative;
    padding: 3.3% 60px 0 0;
    text-align: center;
}
.index-quote__quote-footer
{
    text-align: center;
    padding-top: 15px;
    font-style: normal;
}
.triangle-isosceles {
    position: relative;
    padding: 50px 30px;
    border: 5px solid #006eb0;
    text-align: left;
    color: #0a74b3;
    font-style: italic;
    border-radius: 30px;
}


/* creates triangle */
.triangle-isosceles:before {
    content: "";
    position: absolute;
    z-index: 2;
    bottom: 0px;
    top:0;
    margin: auto;
    right: 0%;
    width: 50px;
    height: 50px;
    border-left: 5px solid #006eb0;
    border-top: 5px solid #006eb0;
    transform: rotate(135deg) translate(-45px ,0 );
    display: block;
    transform-origin: center;
    background: #f0f7fd;
}

.index-quote__doctor
{
    float:left;
    width: 30%;
}

.index-quote__doctor-photo
{
    background:no-repeat;
    background-position: bottom center;
    background-size: contain;
    height: 0px;
    padding-bottom: 110%;
    position: relative;
}
.index-quote__doctor-photo:before
{
    content: '';
    display: block;
    position: absolute;
    z-index: -1;
    background: #f0f7fd;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    bottom:0;
    left: 0;
}
@media(max-width: 768px)
{
    .index-quote__quote
    {
        padding: 0;
        width: 100%;
    }
    .triangle-isosceles:after,
    .triangle-isosceles:before
    {
        display: none;
    }
    .index-quote__doctor
    {
        width: 60%;
        margin: 30px 20%;
    }
}


@media(max-width: 480px)
{
    .index-quote__doctor
    {
        width: 100%;
        margin: 30px 0%;
    }
}

.quote-button
{
    margin-top:15px;
}

.programs__text
{
    padding-right: 150px;
}

.programs__button
{
    left: 100%;
    position: absolute;
    top: 0;
    margin-left: 15px;
}

@media(max-width: 480px)
{
    .programs__text
    {
        padding-right: 0px;
    }

    .programs__button
    {
        display: none;
    }
}

.doctors__item--gyn:first-child
{
    width: 100%;
}


.doctors__item.doctors__item--gastro.doctors__item--gyn:nth-child(2n+1) {
    clear: none;
}
.doctors__item.doctors__item--gastro.doctors__item--gyn:nth-child(2n) {
    clear: both;
}

@media (min-width: 481px)
{

    .doctors__item--gyn .doctor
    {
        position: relative;
        padding-left: 210px;
    }
    .doctors__item--gyn .doctor__header
    {
        position: absolute;
        left: 0;
    }
}



.page-id-91 .triangle-isosceles,
.page-id-92 .triangle-isosceles,
.page-id-167 .triangle-isosceles,
.page-id-168 .triangle-isosceles
{
    border: none;
    padding: 0;
}
.page-id-91 .triangle-isosceles:before,
.page-id-92 .triangle-isosceles:before,
.page-id-167 .triangle-isosceles:before,
.page-id-168 .triangle-isosceles:before
{
    display: none;
}

.page-id-91 .index-quote__doctor, .page-id-91 .index-quote__quote,
.page-id-92 .index-quote__doctor, .page-id-92 .index-quote__quote,
.page-id-167 .index-quote__doctor, .page-id-167 .index-quote__quote,
.page-id-168 .index-quote__doctor, .page-id-168 .index-quote__quote
{
    width: 50%;
}

.page-id-91 .index-quote__doctor-photo,
.page-id-92 .index-quote__doctor-photo,
.page-id-167 .index-quote__doctor-photo,
.page-id-168 .index-quote__doctor-photo
{
    padding-bottom: 56.26598465%;
}
.page-id-91 .index-quote__doctor-photo:before,
.page-id-92 .index-quote__doctor-photo:before,
.page-id-167 .index-quote__doctor-photo:before,
.page-id-168 .index-quote__doctor-photo:before
{
    display: none;
}

@media (max-width: 768px)
{
    .index-quote > .container
    {
        position: relative;
    }

    .page-id-91 .index-quote__doctor,
    .page-id-92 .index-quote__doctor,
    .page-id-167 .index-quote__doctor,
    .page-id-168 .index-quote__doctor
    {
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        padding: 0 12px;
        margin: 0;
    }

    .page-id-91 .index-quote__quote,
    .page-id-92 .index-quote__quote,
    .page-id-167 .index-quote__quote,
    .page-id-168 .index-quote__quote
    {
        width: 100%;
        padding-top: 60%;
    }
}
@media (max-width: 640px)
{

    .page-template-gyn-main .index-banner
    {
        display: block;
    }

    .page-template-gyn-main .index-banner .banner__table
    {
        height: auto;
    }
}

.page-template-gyn-main  .banner__slide
{
    height: 0;
    padding-bottom: 29.48717949%;
}

.header__toggle-bars.header__toggle-bars--gyn
{
    width: auto;
    padding: 10px 10px;
    height: auto;
}
.header__toggle-bars--gyn .header__toggle-bar
{
    display: none;
}



.page-template-vc-page .request__form .input
{
    width: 100%;
}

.wpb_text_column i
{
    font-style: italic;
}

@media(min-width: 768px)
{
    .vc_images_carousel .vc_left.vc_carousel-control
    {
        transform: translateX(-100%);
    }
    .vc_images_carousel .vc_right.vc_carousel-control
    {
        transform: translateX(100%);
    }
}