
html,body{
    margin:0;
    padding:0;
}

body{
    font-family: Helvetica,Arial,sans-serif;
    font-size:16px;
    min-width:316px;
}

*, ::after, ::before {
    box-sizing: border-box;
}

a{
    color: #333;
    text-decoration: none;
    background-color: transparent;
}

@font-face {
    font-family: 'icomoon';
    src:  url('fonts/icomoon.eot?ijff4w');
    src:  url('fonts/icomoon.eot?ijff4w#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?ijff4w') format('truetype'),
    url('fonts/icomoon.woff?ijff4w') format('woff'),
    url('fonts/icomoon.svg?ijff4w#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}
[class^="icon-"], [class*=" icon-"] {
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-phone:before {font-family: 'icomoon';content: "\e942";}
.icon-envelop:before {font-family: 'icomoon';content: "\e945";}
.icon-location:before {font-family: 'icomoon';content: "\e947";}
.icon-clock:before {font-family: 'icomoon';content: "\e94e";}
.icon-circle-up:before {font-family: 'icomoon';content: "\ea41";}


/* header */
#top{
    border-bottom:solid 2px #be95e4;
}

#top .head{
    height:50px;
    background-color:#8CAFBD;
    color:#fff;
    text-align:left;
    display:inline-block;
    width:100%;
    vertical-align:middle;
    border-bottom:solid 2px #be95e4;
    position: fixed;
    z-index: 999;
}

#top .head.sticky{
    z-index: 1000;

}

#top .head .logo{
    margin: 6px 10px;
    height:140px;
    width:auto;
    background-color: #fff;
    border-radius:140px 140px 0 0;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#top .head .name{
    height:100%;
    display:inline-block;
    font-size:23px;
    line-height: 48px;
    margin:0;
    vertical-align:top;
    font-weight: bold;
}

#top .head .name .name-logo {
    height: 0;
    vertical-align:top;
    -webkit-transition: all 0.1s ease;
    transition: all 0.1s ease;
    position: absolute;
    top:10px;
}


#top .head.sticky .logo{
    position: absolute;

    height:0;
    border-radius:140px;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;

}

#top .head .hide-head,
#top .head.sticky .name a b{
    display: none;
}

#top .head.sticky .hide-head{
    display: inline-block;
}

#top .head.sticky .name .name-logo{
    left: 10px;
    top:6px;
    height: 36px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;

}




#top h1 a{
    color: #fff;
}


#top .head span{
    float: right;
    vertical-align: middle;
    margin-right: 20px;
}

#top .head span a{
    display: inline-block;
    color: #fff;
    padding: 16px 14px 12px 14px;
    margin-left: -6px;
    border-bottom:solid 2px #be95e4;
}


#top .head span a:hover, #top .head span a.active{
    background-color: #a1c9d7;
    border-bottom:solid 6px #be95e4;
}

#top .address{
    text-align:center;
    padding-top: 50px;
    position: relative;
    width: 100%;
    margin: auto;


}

#top .address img{
    height: 115px;
    top: 43px;
    left: 110px;
    position: absolute;
z-index: 999;
    transform: rotate(-4deg);
}




#top .address div{
    text-align:left;
    height:100px;
    display: inline-flex;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    font-size:18px;
    padding-left:90px;
    width:320px;
    position:relative;
    align-items: center;
    line-height: 28px;
    vertical-align: middle;
    align-content: center;

}

#top .address div  {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

#top .address div:before{
    color:#be95e4;
    font-size:40px;
    position:absolute;
    top: 35px;
    left: 26px;
    z-index: 10;
}

#card{
    height:auto;
    width:100%;
    position:relative;

}

#card img{
    width:100%;
    height:auto;
    border-bottom:solid 2px #be95e4;
}

#card .about{
    position:absolute;
    top: 32%;
    left: 18%;
}

#card .about span{
    width:100%;
    display:inline-block;
}

#card .about .name{
    font-size:50px;
    font-weight:bold;
    color:#7c5014;
}

#card .about .last{
    font-size:65px;
}

#card .about .degree{
    font-size:22px;
    margin-top:17px;
}
/* header end */


h2{
    margin-left: 2.5%;
    color:#8CAFBD;
}


/* carousel */
.carousel {
    position: relative;
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 20px auto 20px auto;
}

.carousel-item {
    position: relative;
    display: none;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    transition: -webkit-transform 0.6s ease;
    transition: transform 0.6s ease, -webkit-transform 0.6s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
    display: block;
}

.carousel-item img {
    width: 100%;
}

.carousel-item-next,
.carousel-item-prev {
    position: absolute;
    top: 0;
}

.carousel-item-next.carousel-item-left,
.carousel-item-prev.carousel-item-right {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

@supports ((-webkit-transform-style: preserve-3d) or (transform-style: preserve-3d)) {
    .carousel-item-next.carousel-item-left,
    .carousel-item-prev.carousel-item-right {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.carousel-item-next,
.active.carousel-item-right {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
}

@supports ((-webkit-transform-style: preserve-3d) or (transform-style: preserve-3d)) {
    .carousel-item-next,
    .active.carousel-item-right {
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }
}

.carousel-item-prev,
.active.carousel-item-left {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
}

@supports ((-webkit-transform-style: preserve-3d) or (transform-style: preserve-3d)) {
    .carousel-item-prev,
    .active.carousel-item-left {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 0;
    bottom: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 15%;
    color: red;
    text-align: center;
    opacity: 0.5;
}

.carousel-control-prev:hover, .carousel-control-prev:focus,
.carousel-control-next:hover,
.carousel-control-next:focus {
    color: red;
    text-decoration: none;
    outline: 0;
    opacity: .9;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: transparent no-repeat center center;
    background-size: 100% 100%;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}

.carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    z-index: 15;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 0;
    margin-right: 15%;
    margin-left: 15%;
    list-style: none;
}

.carousel-indicators li {
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: 30px;
    height: 3px;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    background-color: rgba(255, 255, 255, 0.5);
}

.carousel-indicators li::before {
    position: absolute;
    top: -10px;
    left: 0;
    display: inline-block;
    width: 100%;
    height: 10px;
    content: "";
}

.carousel-indicators li::after {
    position: absolute;
    bottom: -10px;
    left: 0;
    display: inline-block;
    width: 100%;
    height: 10px;
    content: "";
}

.carousel-indicators .active {
    background-color: #be95e4;
}

.carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 20px;
    left: 15%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    text-align: center;
}
/* carousel End */




.col-2{
    column-count: 2;
    column-rule: 1px solid #be95e4;
    column-gap: 40px;
}

.col-2 .col{
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid-column;
}

.schedule, .appointment{
    margin: 0 auto 25px auto;
    width: 90%;
    color: #333;
}

.schedule .col{
    padding-left: 60px;
    position: relative;
}

.schedule .col:before{
    position: absolute;
    font-size: 40px;
    left: 0;
    color: #be95e4;
}

p a{
    color: #4067a8;
}

footer{
    border-top:solid 2px #be95e4;
    background-color:#8CAFBD;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: space-between;
    -ms-flex-pack: space-between;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

footer div{
    display: inline-block;
    vertical-align: middle;
}


footer .title{
    font-weight: bold;
    padding: 15px;
    font-size: 14px;
    color: #fff;

}
footer .title span{
    display: inline-block;
    font-size: 20px;
    width: 100%;
    padding-bottom: 5px;
}

footer .address span, footer .address span a {
    color: #fff;
}

footer .address span{
    display: inline-block;
}

footer .address span:before {
    font-size: 24px;
    margin: auto 5px auto 15px;
    vertical-align: text-bottom;

}

footer .sert{
    padding: 10px 20px;
    text-align: right;
}

.modal div {
    visibility: hidden;
    position: fixed;
    top: 5%;
    right: 5%;
    bottom: 5%;
    left: 5%;
    z-index: 75;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.modal div:before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 74;
    background-color: rgba(0, 0, 0, 0);
    transition: all 0.3s ease-out;
}

.modal div img {
    position: relative;
    z-index: 77;
    max-width: 100%;
    max-height: 100%;
    margin-top: -9999px;
    opacity: 0;
    transition-property: all, opacity;
    transition-duration: 0.3s, 0.2s;
    transition-timing-function: ease-in-out, ease-out;
}

.modal div:target {
    visibility: visible;
}

.modal div:target:before {
    background-color: rgba(0, 0, 0, 0.7);
}

.modal div:target img {
    margin-top: 0;
    opacity: 1;
}


/* B:price */
.price, .wrapper{
    width: 90%;
    margin: 20px auto;
}

.price h3{
    margin-top: 28px;
}

.price h3 span{
    float: right;
    color: #7c5014;
}

.price div p{
    padding-left: 2%;
    color: #777;
}

.price .fn{
    color: #EC9999;
    border-top:solid 1px #be95e4;
    padding-top: 5px;

}
/* E:price */


/**
* Компоненты аккордеона.
*/
.accordion {
    width: 90%;
    margin: 0 auto 1.5rem auto;
    padding: 0;
    list-style: none;
}
.accordion_item {
    border: 1px solid #be95e4;
    margin-top: -1px;
}

/**
* Элемент label который запускает открыть/закрыть.
*/
.accordion_trigger {
    color: #333;
    font-weight: normal;
    cursor: pointer;
    padding: 15px;
    background: linear-gradient(#fafafa, white, #efefef);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}


.accordion_trigger img {
    object-fit: cover;
    width: 50px;
    height: 50px;
    margin-right: 20px;
    border: 1px solid #be95e4;
}


.accordion_trigger strong{
    margin-right: 20px;
}

.accordion_trigger img,
.accordion_trigger strong{
    -webkit-align-self: flex-start;
    align-self: flex-start;
}


/**
 * эти элементы radio/checkbox всегда должны быть скрыты.
 */
.accordion_toggle {
    position: absolute;
    display: none;
}
/**
* скрытое содержание аккордеона.
*/
.accordion_target {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    color: #444;
}


.accordion_target h3{
    text-align: center;
    color: #7c5014;
    margin: 30px 20px;
}

.accordion_target img {
    max-width: 500px;
    width: 100%;
    margin: 0 20px 20px 20px;
    float: left;
}

.accordion_target p{
    margin: 20px;
    text-align: left;
}
/**
* когда переключатель checked на radio/checkbox, показать содержимое аккордеона.
*/
.accordion_toggle:checked ~ .accordion_target {
    position: static;
    clip: auto;
    margin: auto;
    width: auto;
    height: auto;
    /* задержка появления  функция анимации */
    -webkit-animation:fadeIn ease-in 0.5s;
    -moz-animation:fadeIn ease-in 0.5s;
    animation:fadeIn ease-in 0.5s;
}
/* анимация при появлении блоков с содержанием */
@-moz-keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1 }
}
@-webkit-keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1 }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1 }
}

@media screen and (max-width: 450px) {

    body{
        font-size: 13px;
    }

    #top .head .name a b{
        display: none;

    }


    #top .head .name .name-logo{
        display: block !important;
        left: 10px;
        top: 6px;
        height: 36px;
    }


    #top .head .logo {
        height: 58px;
        border-radius: 58px 58px 0 0;
        margin-left: 0;
        float: left;
        display: none;
    }

/*
    #top .head .name {
        font-size: 14px;
        line-height: 34px;
        height: auto;
    }
*/

    #top .head span a {
        line-height: 36px;
        padding: 7px 6px 5px 6px;
    }

    #top .head span {
        margin-right: 5px;

    }

    #top .address {
        padding-top: 60px;
    }

    #top .address div{
        font-size: 16px;
    }


    h2{
        font-size: 20px;
    }

    .accordion_target img {
        margin: 0 0 20px 0;
        float: left;
    }



    .icon-phone{
        border-bottom: solid 1px #be95e4;
    }


    #card .about {
        top: 17%;
        left: 8%;
        width: 200px;
    }

    #card .about .name {
        font-size: 18px;
    }

    #card .about .last {
        font-size: 22px;
    }

    #card .about .degree {
        font-size: 12px;
    }



    footer {
        display: block;
       /* -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;*/
        position: relative;
        padding-bottom: 10px;
    }



    footer .address span{
        padding-bottom: 5px;
        width: 100%;
    }

    footer .sert{
        position: absolute;
        right: 5px;
        top: 5px;
    }


}

@media screen and (min-width: 451px) and (max-width: 600px) {


    body{
        font-size: 14px;
    }

    #top .head .name a b{
        display: none;
    }

    #top .head .name .name-logo{
        display: block !important;
        left: 95px;
        top: 6px;
        height: 36px;
    }




    #top .head .logo {
        height: 100px;
        border-radius: 100px 100px 0 0;
        float: left;
    }

    #top .head .name {
        font-size: 18px;
        line-height: 34px;
        height: auto;
    }


    #top .head span a {
        line-height: 36px;
        padding: 7px 8px 5px 8px;
    }

    #top .head span {
        margin-right: 8px;
        font-size: 14px;
        text-align: right;
    }

    #top .address {
        padding-top: 60px;
    }

    #top .address div{
        font-size: 16px;
    }


    .accordion_target img {
        max-width: 100%;
        margin: 0 0 20px 0;
        float: left;
    }

    .icon-phone{
        border-bottom: solid 1px #be95e4;
    }

    #card .about {
        top: 22%;
        left: 8%;
        width: 280px;
    }

    #card .about .name {
        font-size: 28px;
    }

    #card .about .last {
        font-size: 35px;
    }

    #card .about .degree {
        font-size: 12px;
    }


    footer {
        display: block;
        /* -webkit-flex-wrap: wrap;
         -ms-flex-wrap: wrap;
         flex-wrap: wrap;*/
        position: relative;
        padding-bottom: 10px;
    }


    footer .address span{
        padding-bottom: 5px;
    }

    footer .sert{
        position: absolute;
        right: 5px;
        top: 5px;
    }



}

@media screen and (min-width: 601px) and (max-width: 850px) {

    #top .head .name a b{
        display: none;
    }

    #top .head .name .name-logo{
        display: block !important;
        left: 125px;
        top: 6px;
        height: 36px;
    }



    #top .head .logo {
        float: left;
    }




    #top .head span a {
        line-height: 19px;
    }


    #top .head span {
        margin-right: 5px;
        font-size: 14px;
        text-align: right;
    }

    /*#top .head.sticky {
        height: 50px;
    }

    #top .head.sticky .name {
        font-size: 18px;
        line-height: 48px;
    }

    #top .head.sticky span {
        width: auto;
    }

    #top .head.sticky span a {
        padding: 14px 10px;
    }*/


    #top .address {
        width: 60%;
    }


    #card .about {
        top: 22%;
        left: 8%;
        width: 400px;
    }

    #card .about .name {
        font-size: 39px;
    }

    #card .about .last {
        font-size: 50px;
    }

    #card .about .degree {
        font-size: 17px;
    }

    .accordion_target {
        text-align: center;
    }

    .accordion_target img {
        float: none;
        text-align: center;
    }

    footer .sert {
        width: 140px;
    }

}

@media screen and (min-width: 851px) and (max-width: 1200px) {
    #card .about {
        top: 24%;
        left: 7%;
    }

    footer .sert {
        width: 140px;
    }

}


@media screen and (max-width: 800px) {
    .col-2 {
        column-count: 1;
        -moz-column-count: 1;
        -webkit-column-count: 1;
    }

    .col:first-child{
        border-bottom: solid 1px #be95e4;
        padding-bottom: 10px;
        margin-bottom: 30px;

    }
}
