:root{
    --navbar-custom: #ec3326;
    --navbar-active: #c7360a;
    --exam: #E9ECEF;
    --navbar-text: #ffffffcc;
    --background: #fcfcfc;
    --carousel_text: #ed2725;
}
/*.grecaptcha-badge {opacity:0}*/
body{
    background-color: var(--background) !important;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #000;
    min-width: 320px;
}

.content
{
    padding-top: 20px !important;
}
.centered-title {
	text-align: center;
    font-size: 43px;
    font-weight: 600;
	margin: 20px 0;
}



h3{
    font-size: 24px;
    font-weight: 700;
}
a:hover{
    text-decoration: none;
}
#header{
    padding: 20px 50px;
}
.header{
    position: relative;
}
.logo-right{
    float: right;
}


/*===================carousel==============*/

.carousel-inner{
    padding-top: 0px;
}

.carousel-caption
{
    color: var(--carousel_text) !important;
	text-shadow: 0 0 3px white;
}

.content-carouesel {
    padding: 0px 90px;
}


.carousel-img{
    -moz-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    -webkit-transition: all 1s ease-out;
}

.carousel-img:hover{
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
}

.carousel-text:hover ~ .carousel-img{
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
}

/*===================Nav-bar==============*/


.nav-item{
    font-family: Ubuntu, sans-serif;
    font-size: 22px;
}
.head-text{
    padding: 25px 90px;
}
.my-header{
    padding-bottom: 10px;
}
.navbar-custom{
    background-color: var(--navbar-custom);
    margin: 0px 90px;
}
/*
ul li li{
    display:block;
}

ul li li a{
    display:block;
    height:100%;
}
*/
.navbar-custom a{
    font-family: Montserrat, sans-serif;
}

/* всплывающий dropdown при наведении*/
.dropdown:hover > .dropdown-menu { 
    display: block; 
} 

.dropdown-toggle::after{
    display: none !important;
}

/* цвет dropdown */

.dropdown-menu{
    background-color: var(--navbar-custom) !important;
    margin: 0 !important;
}

.dropdown-item{
    color: var(--navbar-text) !important;
    white-space: normal !important;
    font-size: 1.2vw;
    color: #fcfcfc;
}

.dropdown-item:hover {
    background-color: var(--navbar-active) !important;

}
    
.dropdown-item.active, .dropdown-item:active {
    background-color: var(--navbar-active) !important;
}

.navbar{
    border-bottom: none;
    padding: 30px 0;
    transition: 0.6s;
}

/* меняем цвет бренда и текста */
.navbar-custom .navbar-brand,
.navbar-custom .navbar-text {
    color: var(--navbar-text);
    padding: 0.8rem 1rem;
}
/* меняем цвет ссылки и добавляем отступ по высоте */
.navbar-custom .navbar-nav .nav-link {
    color: var(--navbar-text);
    padding: 1rem 1rem;
}
.navbar-custom .navbar-nav .nav-link-scroll{
    padding: 0.72rem 0.72rem;
}
/* замена цвета для активной и наведенной ссылки */
.navbar-custom .nav-item.active .nav-link,
.navbar-custom .nav-item:hover .nav-link {
    color: #ffffff;

    background-color: var(--navbar-active); /* добавлен background-color для активной ссылки  */
}
/* замена цвета для активной и наведенной ссылки */
.navbar-custom .nav-item.active .nav-link,
.navbar-custom .nav-item:focus .nav-link,
.navbar-custom .nav-item:hover .nav-link {
    color: #ffffff;
}
/*отступы для ссылки*/
.navbar-nav{
    float: left;
    margin: 0;
    display:table;
    width:100%;
}
.nav-link{
    font-family: Ubuntu, sans-serif;
    font-size: 22px;
    font-weight: 600;
}
.nav-scroll-link{
    font-family: Ubuntu, sans-serif;
    padding: 0.5rem 0.5rem;
}
.topnav {
    overflow: hidden;
}

.navbar-toggler{
    height: 64px;
}

/* анимация навбара */
.icon-bar {
    width: 22px;
    height: 2px;
    background-color: #fcfff6;
    display: block;
    transition: all 0.2s;
    margin-top: 4px
}

.navbar-toggler {
    border: none;
    background: transparent !important;
}
.navbar-toggler .top-bar {
    transform: rotate(45deg);
    transform-origin: 10% 10%;
}

.navbar-toggler .middle-bar {
    opacity: 0;
}

.navbar-toggler .bottom-bar {
    transform: rotate(-45deg);
    transform-origin: 10% 90%;
}

.navbar-toggler.collapsed .top-bar {
    transform: rotate(0);
}

.navbar-toggler.collapsed .middle-bar {
    opacity: 1;
}

.navbar-toggler.collapsed .bottom-bar {
    transform: rotate(0);
}

/*==============================Exam Content====================================*/

.main-content{
    margin: 2px;
    padding: 0px 90px;
}
.row-item-col{
    margin: 5px 75px;
}
.container-fluid{
    overflow: hidden;
}
.exam-row{
    margin-bottom: 20px;
}
.exam{
    background: var(--exam);
    border: none;
    text-align: center;
    padding: 25px 5px;
    position: relative;
    overflow: hidden;
    transition: all .5s;
}
.exam img {
    max-width: 90%;
    -moz-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    -webkit-transition: all 1s ease-out;
}

.exam img:hover{
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
}
.exam:hover{
    box-shadow: 0 0 16px rgba(0, 0, 0, .5);
}


/*==============================Advantages Content====================================*/



.advantages-img
{
    position: relative;
}

.advantages-img-inner
{
    position: absolute; 
    top: 0; 
    bottom: 0; 
    margin: auto 0;
    width: 100%;
}
.advantage-text-rigth
{
    text-align: right;
}
.advantage{
    font-size: 1.1em;
}



.exam-img{
    float: left;
    height: 200px;
}
.title{
    text-align: center;
}

/*Смещение формы для ссылки на неё*/
#signup:before {	
    display: block;
	content: "";
	height: 70px;
	margin: -70px 0 0;
}

/*====================TEACHERS================*/
.center{
    display: block;
    margin: 0 auto;
}
#our-teachers{
    margin-top: 40px;
}
.title-teacher{
    padding-bottom: 40px;
    font-size:8vw;
}

.circular--square {
    border-radius: 50%;
}
/*
.circular--landscape {
    display: inline-block;
    position: relative;
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 50%;
}

.circular--landscape img {
    width: auto;
    height: 100%;
    margin-left: -50px;
}


.circular--portrait {
    position: relative;
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 50%;
}

.circular--portrait img {
    width: 100%;
    height: auto;
}
*/
.name-teacher{
    padding-top: 30px;
    text-align: center;
}




/*========================footer==============*/



.my-footer {background: url(/img/footer/1.png) no-repeat; background-size: cover; color: #fff; padding-top: 20%; height: 10%;}
.social{text-align: center}
.on-map{text-align: center}
.on-map a, .on-map a:hover{text-decoration: none}
.social a,
.social a:hover{
    text-decoration: none;
    margin: 5px;
}
/*========================programs==============*/

/*заголовочный картинки*/
.img-title{
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

#ege:before, #oge::before, #vpr::before,#vve::before,#comp::before, #inj::before {	
    display: block;
	content: "";
	height: 40px;
	margin: -40px 0 0;
}

/**/
.programs-brd
{
    border: 2px solid #007bff; 
    border-radius: 10px; 
    padding: 10px; 
    margin-bottom: 20px;
}

/*=======================Специальное предложение========================*/

.offer {
    font-size: 36px;
    font-family: Helvetica, sans-serif;
    color: #39464e;
}

.old-price {
    position: relative;
    color: #7f94a1;
}

.old-price:before {
    border-bottom: 4px solid red;
    position: absolute;
    content: "";
    width: 90%;
    height: 70%;
    transform: rotate(-12deg);
}



/*=======================RASP========================*/

.rasp-title{
    padding: 35px 0;
    text-align: center;
}
.searchRaspBtn{
    margin-left: 20px;
    font-size: 1.2vw;
}
.search-r{
    text-align: center;
}
.sub-but{
    text-align: center;
}

/* news */

.box {
    position: relative;
    overflow:hidden;
    width:350px;
    height:300px;
    margin-bottom: 5px;
}

.box img {
    position: absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:350px;
    height:300px;
    object-fit:cover;
}


/* Large Devices, Wide Screens */
@media (max-width : 1200px) {
    
}

/* Medium Devices, Desktops */
@media  (max-width : 992px) {
    .main-content{
        margin: 0 10px;
        padding: 0;
    }
    #header{
        padding-bottom: 0px;
    }
    .logo-right{
        display: none;
    }
    .navbar-custom{
        margin: 0px 0px;
    }
    .content-carouesel{
        padding: 0px 00px;
    }
    .head-text{
        padding: 0px 0px;
    }
    .exam{width: 100%}
    #p1, #p2, #p3{
        font-size: 18px;
    }
    .content{
        padding: 10px 0;
    }
    .my-footer
    {
        padding-top: 30%;
    }
    .advantage-text-rigth
    {
        text-align: left;
    }

}
/* Small Devices, Tablets */
@media (max-width : 740px) {
    .carousel{
        /*display: none; пока не убираем на телефонах*/
    }

    .carousel h1{
        font-size: 1.2rem;
    }

    .carousel h3{
        font-size: 1rem;
    }


    .row-item-col img{
        float: left;
    }

    .animated {
        /*CSS transitions*/
        -o-transition-property: none !important;
        -moz-transition-property: none !important;
        -ms-transition-property: none !important;
        -webkit-transition-property: none !important;
        transition-property: none !important;
        /*CSS transforms*/
        -o-transform: none !important;
        -moz-transform: none !important;
        -ms-transform: none !important;
        -webkit-transform: none !important;
        transform: none !important;
        /*CSS animations*/
        -webkit-animation: none !important;
        -moz-animation: none !important;
        -o-animation: none !important;
        -ms-animation: none !important;
        animation: none !important;
    }

    .img-prog
    {
        display:none;
    }

}
/* Extra New Phones */
@media  (max-width : 667px) {
    .row-item-col img{
        margin-bottom: 20px;
    }
}
/* Extra small devices */
@media  (max-width : 570px) {
    .about{
        float: left;
    }
    .my-footer
    {
        padding-top: 38%;
    }

}
@media  (max-width : 478px) {
    .name-teacher{
        padding: 10px;
    }
    .row-item-col p{
        text-align: left;
    }
    .my-footer
    {
        padding-top: 68%;
    }


}