@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:700,900&subset=cyrillic,cyrillic-ext');
@import url('https://fonts.googleapis.com/css?family=Roboto:300&subset=cyrillic,cyrillic-ext');

body{
    font-size: 14pt;
    font-family: 'Roboto', sans-serif;
    margin: 0 auto;
    padding: 0;
    max-width: 1920px;
}

h1{font-size:32pt; text-align: center;margin-bottom:5px;padding: 0px 20px;font-family: 'Source Sans Pro', sans-serif;}
h2{font-size:18pt; font-weight: normal; font-family: 'Source Sans Pro', sans-serif; margin-top: 0;}
h3{font-size:16pt; font-weight: normal; font-family: 'Source Sans Pro', sans-serif;}
h4{font-size:14pt; font-weight: normal;}
h5{font-size:12pt; font-weight: normal; margin:0;}
h6{font-size:12pt; font-weight: normal; font-family: 'Source Sans Pro', sans-serif; margin: 0;}

p{text-align: justify;margin:0 auto; font-size: 1.2rem;}
figure{margin:0;text-align: center;}
figcaption{text-align: center; font-size: 1.0rem;}

.clearfix{clear: both;}

.separator-section{margin:20px auto; margin-top:35px;}
.separator-section hr{
    display: inline-block;
    width: 20%;
    margin-right: 1%;
    border: 0;
    height: 1px;
    background-color: #355c7d;
}
.separator-section hr:last-child{
    width: 50%;
    margin-left: 1%;
    margin-right: 0px;
    position: relative;
    right: 0;
}
.separator-section h2{
    display: inline-block;
    width: 26%;
    text-align: center;
    color: #355c7d;    
}

header{
    height:100vh;
    background: url('img/headerimg.png') top center no-repeat;
    background-size: cover;
    margin: 0;
}
    
nav{
    float: right;
}
nav ul{
    margin:10px 0;
}
nav li{
    display: inline-block;
    margin:15px;
    text-transform: uppercase;
    list-style-type: none;
    font-family: 'Tahoma','Roboto', sans-serif;
    font-size: 14pt;
}
nav a{
    text-decoration: none;
    color: #355c7d;
}
nav a:hover{
    font-weight: 900;
}

.head-section{
    float: left;
    position: relative;
    top:20%;
    left: 10%;
    background-color: rgba(53, 92, 125,0.3);
    color: #ffffff;
    width: 100%;
    max-width: 500px;
}




.head-section button{
    padding: 10px 30px;
    font: 14pt 'Roboto Condensed', sans-serif;
    border: 0;
    background-color:#79ac77;
    color:#ffffff;
    display: block;
    margin: 30px auto 0 auto;
    border-radius: 5px;
}


.head-section bt {
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;
	padding: 10px 30px;
    font: 14pt 'Roboto Condensed', sans-serif;
    border: 0;
    background-color:#79ac77;
    color:#ffffff;
    display: block;
    margin: 30px auto 0 auto;
    border-radius: 5px;
}



@media (width:1920px) {
    .head-section{
        max-width: 700px;
    }
	
}


    
.head-section p{
    font-size: 16pt;
    text-align: center;
    margin:30px auto;
}
.head-section-en p{
	 margin-left: 30px;
	 margin-right: 30px;
}
.contacts{
    font-style: normal;
    background-color: rgba(53, 92, 125,0.5);
    padding: 20px 20px;
}
.contacts span{
    display: block;
    padding: 5px 0;
}

.lang-tumbler{
    position: absolute;
    top: 0;
    left: 0;
}
.lang-tumbler a{
    display: inline-block;
    padding: 5px;
    background-color:#7b99b1;
    text-decoration: none;
    color: #ffffff;
}
.lang-tumbler a:hover{
    background-color: #354c7d;
}

.about-section{
    -js-display: flex;
    display: flex;
}

.about-info{
    float: left;
    width: 50%;
    background: url('img/bg1.png') repeat;
    color: #ffffff;
    box-sizing: content-box;
}
.about-info article{
    background-color: rgba(53, 92, 125,0.5);
	margin: 0;
    padding: 10% 5%;
    height: 100%;
    box-sizing: border-box;
}

.about-info p{
    text-indent: 25pt;
}
.about-info ul{
    margin: 0 auto 0 18px;
}

.about-info-img{
    float: left;
    width: 50%;
    background-color: rgba(53, 92, 125,0.5);
    box-sizing: content-box;
    height: auto;
}
.about-info-img #yt-video{
    margin: 9% auto;
    display: grid;
    border:0px;
    width: 95%;
    height: 75%;
    max-height: 350px;
}

.advantages-section{}
.advantages-list, .advantages-info{
    float:left;
    width: 50%;
}

.advantages-list figure{
    vertical-align: top;
    margin-bottom:20px;
    display: inline-block;
    width: 30%;
    font-family: 'Source Sans Pro', sans-serif;
    color:#355c7d;
    text-transform: uppercase;
}
.advantages-list figure>img{
    width: 100%;
    max-width: 100px;
}

.additional-info{
    display: block;
    color:#79ac77;
    padding: 5px 20px;
    text-align: justify;
    font-size: 1.0rem;
}
.additional-info a{
    color:#79ac77;
    font-family: 'Source Sans Pro', sans-serif;
}
.additional-info a:hover{
    text-decoration: none;
}

.advantages-info{
    padding: 0 20px;
    box-sizing: border-box;
    color:#355c7d;
    font-weight: 700;
}
.advantages-info p{text-indent: 25pt;}
.advantages-info ul{margin: 0 auto 0 18px;}

.branch-section{background-color: #7b99b1;}
#branches {background-color: #ffffff;}
.cen{    
    margin:0 auto;
    max-width: 610px;
}
.branch-list{
    margin:0 auto;
    text-align: left;
    padding-top: 5px; 
    width: 50%;
}
.branch-list img:hover{
    box-sizing: border-box;
    filter:saturate(170%);
    cursor: pointer;
    width: 100%;
    max-width: 200px;
}
.branch-info{
    float: left;
    width: 50%;
    box-sizing: border-box;
    padding: 5px 20px;
    padding-right: 100px;
	margin-bottom: 20px;
    color: #ffffff;   
}
.branch-info p{
    font-size: 0.9rem;
    text-indent: 20pt;
}




  margin-left: auto;
  margin-right: auto;}
@keyframes reveal {
    from { opacity: 0; }
      to { opacity: 1; }
}
@keyframes movemargin {
    from { margin-left: 25%; }
      to { margin-left: 0%;  }
}
@keyframes reversereveal {
    from { opacity: 1; }
      to { opacity: 0; }
}
@keyframes reversemargin {
    from { margin-left: 0%;  }
      to { margin-left: 25%; }
}

.branch-info img{
    margin: 0 auto;
    display: block;
    width: 100%;
    max-width: 750px;
}
.branch-info h3{
    text-align: center;
}
.exit-btn{
    position: relative;
    right: -90px;
    float: right;
    width: 30px;
    height: 30px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    font-size: 21px;
    text-align: center;
    color:#ffffff;
    background-color: transparent;
}
.exit-btn:focus{
    outline:inherit;
}
.exit-btn:hover{
    background-color: #ffffff;
    color:#7b99b1;
}

.programs-section{
    display: flex;
}
.clinic-info{
    float: left;
    width: 50%;
    background: url('img/bg2.png') repeat;
    color: #ffffff;
    box-sizing: border-box;
}
.clinic-info #localeCl{
    text-decoration: none;
    color: inherit;   
}
.clinic-info #localeCl:hover{
    text-decoration: underline;
}
.clinic-info hr{
    background-color:#79ac77;
    width: 30%;
    max-width: 200px;
    border:0;
    height:3px;
    margin: 0 auto;
}
.clinic-info form{
    background-color: rgba(53, 92, 125,0.9);
    margin: 0;
    padding: 5%;
    height: 470px;
    display: block;    
}
.clinic-info h3{
    text-align: center;
    font-size: 1.5rem;
} 
.clinic-info form>p,
.clinic-info address,
.clinic-info form>ul{
    margin: 10px auto;
    text-align: justify;
    font-style: normal;
    margin-bottom: 25px;
    font-size: 1.1rem;
}
.clinic-info form>ul{
    padding: 0;
}
.clinic-info address>p{
    font-size: 1.1rem;
}
.clinic-info li{
    list-style-type: none;
}
.clinic-info button{
    padding: 10px 30px;
    font: 14pt 'Roboto Condensed', sans-serif;
    border: 0;
    background-color:#79ac77;
    color:#ffffff;
    display: block;
    margin: 30px auto 0 auto;
    border-radius: 5px;
}
.clinic-info button:focus{outline: 0;}
    
.clinic-list{
    display: block;
    width: 50%;
    float: left;
    background: url('img/bg1.png') repeat;
    color: #ffffff;
    box-sizing: border-box;
}
.clinic-list:after{
    display: block;
    content: '';
    background-color: rgba(53, 92, 125,0.7);
    margin: 0;
    height: 100%;
}
.minsk-clinics{
    float: left;
    background-color: rgba(255,255,255,0.3);
    padding: 5% 10%;
    margin:5%;
    width: 90%;
    height: 450px;
    box-sizing: border-box;
    overflow-y: scroll;
    border-top-right-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -ms-border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -ms-border-bottom-right-radius: 10px;
    -ms-scrollbar-base-color:  #355c7d;
    -ms-scrollbar-track-color:rgba(255,255,255,0.7);
}
.minsk-clinics::-webkit-scrollbar{
    -webkit-appearance: none;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    background-color: rgba(255,255,255,0.7);
    height: 100%;
    }
.minsk-clinics::-webkit-scrollbar-thumb{
    background-color: #355c7d;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    height:100px;
}
.minsk-clinics scroll{
    background: #355c7d;
}
.minsk-clinics h3{
    margin: 0;
    padding:0;
}
.minsk-clinics li{
    padding: 10px;
    cursor: pointer;
}
.minsk-clinics li:hover{
    font-weight: 700;
}
/*/////////////////*/
.send-question-section{
    text-align: center;
    color: #355c7d;
    padding-top:50px;
    width: 100%;
    display: flex;
    flex-direction: column;
}







.block47{
	margin-left: auto;
    margin-right: auto;
	text-align: center;
	width: 60%;
	margin-bottom: 20px;
}

.callback {
    padding: 0;
    margin: auto;

}

.callback button{
	margin-top: 20px;

}

#sqs-form{
    padding: 0px 10% 20px;
    display: block;
}

#sqs-form input,
#sqs-form textarea{
    display: block;
    margin: 20px auto;
    width: 350px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #efefef;
    font-family: 'Roboto', sans-serif;
}
#sqs-form textarea{
    height: 135px;
    font-size: 12pt;
    resize: none;
}
#sqs-form fieldset{
    float: left;
    box-sizing: border-box;
    border:0;
    margin: 0 auto;
}
#sqs-form #send-btn{
    background: #7b99b1;
    color: #ffffff;
    border: 0;
    width: 150px;
    font-size: 1.1rem;
    cursor: pointer;
}

#send-btn {
    width: 180px;
    height: 40px;
    border-radius: 7px;
    outline: none;
}

.donemsg, .wrongmsg {
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 3px;
    width: 350px;
    height: 60px;
    color: #fff;
    margin: auto;
	margin-bottom: 20px;
}
.donemsg {
  background-color: #355c7d;
}
.wrongmsg {
  background-color: red;
}
/*////////////////////////////////////////*/
footer{
    background-color: #355c7d;
    /* border-top:35px solid #7b99b1; */
}

.partners {
	
	padding-top:20px;
	padding-bottom:5px;

      margin-left:28%; 

 }

.navigation{
    margin: 0 auto;
    max-width: 850px;
    color: #7b99b1;
	padding-top: 15px;
    /* padding: 0; */
}
.navigation li{
    display: inline-block;
}
.navigation li a{
    text-decoration: none;
    color: #ffffff;
    margin: 0 10px;
}


footer .contsctus{
    font-style: normal;
    color:#7b99b1;
    max-width: 350px;
    margin: 0 auto;
    font-weight: 900;
}
.contsctus span:first-child{
    padding-right:35px;

}
 
footer .owner{
    max-width: 130px;
    color: #ffffff;
    margin: 25px auto 0 auto;
    padding:0;
}
footer .owner a{
    text-decoration: none;
    color: #ffffff;
}
#topbtn{
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
}

#outerdiv { 
    width:510px; 
    height:100%; 
    overflow:hidden; 
    position:relative;
    margin: 0 auto;
}
#fr{
    border:0;
    overflow:hidden;
    position:absolute;
    top: -10px;
    left: 0px;
    width:510px; 
    height:380px;
}
#fr::-webkit-scrollbar {  
    display: none;
}  

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
    img{border: 0;}
    .about-info-img #yt-video{display: block;}
    .exit-btn{width: 35px;height: 35px;}
}

@media (orientation: portrait) {
    .separator-section hr:last-child{
        width: 30%;
    }
    .separator-section h2{
        width: 45%;
    }
    header{
        background-position: right;
    }
    nav li{
        display: block;
    }
    .head-section{
        top:38%;
        max-width: 850px;
    }
    .head-section,
    .head-section p{
        font-size: 1.5rem;
    }
    .head-section h1{
        font-size: 3.0rem;
    }
    h2{
        font-size: 2.0rem;
    }
    .lang-tumbler a{
        font-size: 2.9rem;
    }
    .about-info p,
    .about-info ul {font-size: 1.6rem;}

    .about-info-img #yt-video{
        margin: 0 auto;
        width: 100%;
        height: 550px;
        max-height: none;
    }
    .about-info article{
        padding: 5%;
    }
    .advantages-list figure>img{
        width: 100%;
        max-width: 200px;
    }
    .about-section{
        display: grid;
    }
    .about-info,
    .about-info-img,
    .advantages-list, 
    .advantages-info {
        float: none;
        width: 100%;
    }
    .additional-info{
        font-size: 0.8rem;
    }
    .advantages-list figcaption{
        font-size: 2.2rem;
    }
    .advantages-info{
        padding-top: 20px;
    }
    .advantages-info p,
    .advantages-info ul{
        font-size: 0.8rem;
    }
    .branch-list{
        width: 100%;
    }
    .cen{
        max-width: inherit;
    }
    .cen img {width: 49%;}
    .branch-list img:hover{max-width: 49%;}
    .branch-info{
        width: 100%;
    }
    .branch-info h3{
        font-size: 2.8rem;
        margin: 15px auto;
    }
    .branch-info p{
        font-size: 1.4rem;
    }
    .exit-btn{
        width: 70px;
        height: 70px;
        font-size: 58px;
        top: 8px;
    }
    @keyframes movemargin {
        from { margin-bottom: 0%; }
          to { margin-bottom: 100%;}
    }
    @keyframes reversemargin {
        from { margin-bottom: 100%;  }
          to { margin-bottom: 0%; }
    }
    .programs-section{
        flex-wrap: wrap;
    }
    .clinic-info,
    .clinic-list{
        width: 100%;
    }
    .clinic-info form{
        height: auto;
    }
    .minsk-clinics{
        height: 670px;
    }
    .clinic-info form h3{
        font-size: 2.8rem;
    }
    .clinic-info form p{
        font-size: 2.9rem;
    }
    .clinic-info address>p{
        font-size: 2.9rem;
    }
    .clinic-info button{
        font-size: 3.0rem;
    }
    .clinic-list{
        font-size: 2.7rem;
    }
    .minsk-clinics{
        padding: 1% 5%;
    }
    .send-question-section h4{
        margin: 15px;        
    }

    #outerdiv,#fr{width: 100%;}
    #send-question-form{
        width: 100vw;
        padding: 0;
    }
    #send-question-form input,
    #send-question-form textarea{
        width: 95%;
        max-width: 550px;
        font-size: 1.6rem;
    }
    #send-question-form textarea{
        height: 174px;
    }
    #send-question-form fieldset{
        width: 50vw;
    }
    #send-question-form #send-btn{
        font-size: 2.4rem;
        width: 380px;
    }
    .navigation{
        max-width: 900px;
        font-size: 1.7rem;
    }
    footer .contsctus{
        top: 40px;
        max-width: 750px;
        font-size: 0.9rem;
    }
    footer .owner{
        max-width: 290px;
    }
    #contactto{
        width: 100vw;
    }
}

