/* your custom styles here */

.trap {
  text-align:center;
  height:60px; 
  line-height: 12px;
  padding: 2px 2px;
  width:20.0%; 
  border:none; 
  background-image:url(/Assets/img/SubjectButton.png);
  background-size: 100%;
  background-repeat: no-repeat;
  font-size:15px;
}

a.trap:hover {
    background-color: white;
    color: white;
    background-image: url(/Assets/img/SubjectButtonHover.png);
}
@media screen and (max-width: 1400px) {
    .trap {
        font-size:13px;
    }
}

.container {
    max-width: 74%;
}

@media screen and (max-width: 992px) {
    .container {
        max-width: 90%;
    }
}

.advantagesImg {
    margin-left: -30px;
}

@media screen and (max-width: 768px) {
    .advantagesImg {
        margin:auto;
        margin-bottom:10px;
    }
}

@media screen and (max-width: 481px) {
    .userSubjectImg {
        margin-left: 150px;
    }
}

.mainDiv {
    padding-bottom: 430px;
}

@media screen and (max-width: 768px) {
    .mainDiv {
        padding-bottom: 550px;
    }
}

.trapText {
    margin-top: 6%;
}

@media screen and (max-width: 1200px) {
    .trapText {
        margin-top: 4%;
    }
}

.trapDoubleText {
    margin-top: 3%;
}

@media screen and (max-width: 1200px) {
    .trapDoubleText {
        margin-top: 1.2%;
    }
}

.subjectBanner {
    height: 122px;
}
@media screen and (max-width: 1254px) { /*1254*/
    .subjectBanner {
        height: 144px;
    }
}
@media screen and (max-width: 1114px) {
    .subjectBanner {
        height: 182px;
    }
}
@media screen and (max-width: 1057px) {
    .subjectBanner {
        height: 192px;
    }
}

.subjectBannerButton {
    margin-top: 32px;
}
@media screen and (max-width: 1254px) {
    .subjectBannerButton {
        margin-top: 41px;
    }
}
@media screen and (max-width: 1114px) {
    .subjectBannerButton {
        margin-top: 59px;
    }
}
@media screen and (max-width: 1057px) {
    .subjectBannerButton {
        margin-top: 64px;
    }
}

.subjectBannerFGOS {
    margin-top: 19px;
}
@media screen and (max-width: 1057px) {
    .subjectBannerFGOS {
        margin-top: 24px;
    }
}
/*@media screen and (max-width: 1254px) {
    .subjectBannerFGOS {
        margin-top: 28px;
    }
}

@media screen and (max-width: 1114px) {
    .subjectBannerFGOS {
        margin-top: 38px;
    }
}*/

.subjectBannerText {
    margin-top: 5px;
}

@media screen and (max-width: 1254px) {
    .subjectBannerText {
        margin-top: 14px;
    }
}
@media screen and (max-width: 1200px) {
    .subjectBannerText {
        margin-top: -3px;
    }
}
@media screen and (max-width: 1114px) {
    .subjectBannerText {
        margin-top: 8px;
    }
}

.logoBtn {
    margin-top: -25px;
}
@media screen and (max-width: 1425px) {
    .logoBtn {
        margin-top: -10px;
    }
    .smiText {
        display: inline !important;
    }
}
@media screen and (max-width: 992px) {
    .logoBtn {
        margin-top: 0px;
    }
    
}

.imgOldYear {
    margin-left: 0.83%;
}
@media screen and (max-width: 992px) {
    .imgOldYear {
        margin-left: 0%;
    }
}

.studentAdvantage {
    left: 40px;
}
@media screen and (max-width: 992px) {
    .studentAdvantage {
        left: 0px;
    }
}

.teamElement {
    margin-left: 11%;
    width: 88%;
}
@media screen and (max-width: 992px) {
    .teamElement {
        width: 30%;
        margin-left: 35%;
    }
}

.socSetiButton {
    width: 50px;
    height: 50px;
    display: block;
    background-size: 100%;
    color: #000;
    text-indent: -9991px;
    background-color: #fff;
    background-position: center center;
    background-repeat: no-repeat;
    margin-right: 20px;
    margin-top: 20px;
    position: relative;
    padding: 10px 15px;
    text-decoration: none;
    box-sizing: border-box;
    border-radius: 0;
}

.mainPageSubject {
    min-height: 380px;
}

.mainPageSubjectHover :hover {
    background: #F5F5F5;
}

@media screen and (max-width: 1500px) {
    .mainPageSubject {
        min-height: 370px;
    }
}
@media screen and (max-width: 1400px) {
    .mainPageSubject {
        min-height: 360px;
    }
}
@media screen and (max-width: 1300px) {
    .mainPageSubject {
        min-height: 340px;
    }
}
@media screen and (max-width: 1200px) {
    .mainPageSubject {
        min-height: 345px;
    }
}
@media screen and (max-width: 1070px) {
    .mainPageSubject {
        min-height: 365px;
    }
}
@media screen and (max-width: 992px) {
    .mainPageSubject {
        min-height: 400px;
    }
}
@media screen and (max-width: 767px) {
    .mainPageSubject {
        min-height: 100px;
    }
}

.mainPageTeam {
    min-height: 600px;
}

@media screen and (max-width: 1500px) {
    .mainPageTeam {
        min-height: 600px;
    }
}

@media screen and (max-width: 1200px) {
    .mainPageTeam {
        min-height: 650px;
    }
}

@media screen and (max-width: 1100px) {
    .mainPageTeam {
        min-height: 700px;
    }
}

@media screen and (max-width: 992px) {
    .mainPageTeam {
        min-height: 100px;
    }
}

.mainPageTeamFio {
    min-height: 52px;
}

@media screen and (max-width: 1547px) {
    .mainPageTeamFio {
        min-height: 78px;
    }
}

@media screen and (max-width: 1294px) {
    .mainPageTeamFio {
        min-height: 104px;
    }
}

@media screen and (max-width: 991px) {
    .mainPageTeamFio {
        min-height: 0px;
    }
}


.mainPageVideo {
    min-height: 295px;
}

@media screen and (max-width: 1500px) {
    .mainPageVideo {
        min-height: 310px;
    }
}

@media screen and (max-width: 1400px) {
    .mainPageVideo {
        min-height: 325px;
    }
}

@media screen and (max-width: 1300px) {
    .mainPageVideo {
        min-height: 340px;
    }
}

@media screen and (max-width: 1200px) {
    .mainPageVideo {
        min-height: 355px;
    }
}

@media screen and (max-width: 1100px) {
    .mainPageVideo {
        min-height: 395px;
    }
}

@media screen and (max-width: 992px) {
    .mainPageVideo {
        min-height: 375px;
    }
}
@media screen and (max-width: 767px) {
    .mainPageVideo {
        min-height: 100px;
    }
}

.subjectClassMenu {
    color: #0a7ed0 !important;
}
.subjectClassMenu:hover {
    color: white !important;
    background: #0a7ed0 !important;
}


.subjectClassMenuActive {
    color: white !important;
    background: #0a7ed0 !important;
}


.mainMenuSubject {
    min-height: 260px;
}
@media screen and (max-width: 1114px) {
    .mainMenuSubject {
        min-height: 290px;
    }
}
@media screen and (max-width: 992px) {
    .mainMenuSubject {
        min-height: 0px;
    }
}

.subjectImgDiplom {
    width: 130px;
    margin-left: 10px;
    margin-bottom:10px;
}
@media screen and (max-width: 1250px) {
    .subjectImgDiplom {
        width: 120px;
    }
}
@media screen and (max-width: 1200px) {
    .subjectImgDiplom {
        width: 110px;
    }
}
@media screen and (max-width: 1100px) {
    .subjectImgDiplom {
        width: 100px;
    }
}
@media screen and (max-width: 1050px) {
    .subjectImgDiplom {
        width: 90px;
    }
}
@media screen and (max-width: 992px) {
    .subjectImgDiplom {
        width: 130px;
    }
}

.subjectBackgroundImg {
    height: 422px;
}
@media screen and (max-width: 1920px) {
    .subjectBackgroundImg {
        height: 330px;
    }
}
@media screen and (max-width: 1500px) {
    .subjectBackgroundImg {
        height: 300px;
    }
}
@media screen and (max-width: 1114px) {
    .subjectBackgroundImg {
        height: 245px;
    }
}
@media screen and (max-width: 992px) {
    .subjectBackgroundImg {
        height: 235px;
    }
}
@media screen and (max-width: 768px) {
    .subjectBackgroundImg {
        height: 169px;
    }
}

@media screen and (max-width: 1920px) {
    .teamLeftMargin {
        margin-left: 12.5%;
    }
}
@media screen and (max-width: 992px) {
    .teamLeftMargin {
        margin-left: 0;
    }
}

@media screen and (max-width: 1350px) {
    .mainMenuLeftMargin {
        margin-left: -15% !important;
    }
}

@media screen and (max-width: 1180px) {
    .mainMenuLeftMargin {
        margin-left: -20% !important;
        margin-right: -20% !important;
    }
}

@media screen and (max-width: 992px) {
    .mainMenuLeftMargin {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/*заказать звонок*/
#callbutton {
    height: 50px;
    position: fixed;
    top: 80%;
    right: 0;
    width: 243px;
    z-index: 110;
}

#viewbutton {
    border: 0;
    padding: 0;
    background: url(/Assets/img/mainpage/callback.png) 0 0;
    background-size: cover;
    height: 50px;
    width: 243px;
    cursor: pointer;
}
#viewbuttonEng {
    border: 0;
    padding: 0;
    background: url(/Assets/img/mainpage/callbackEng.png) 0 0;
    background-size: cover;
    height: 50px;
    width: 243px;
    cursor: pointer;
}
/*заказать звонок FINISH*/

/* Стили для оформления кнопок поделиться */


#share {
    width: 650px;
    border: 1px solid #eaeaea;
    margin: 0 auto;
    background: #fff;
    text-align: center;
}

.like {
    font-size: 16px;
    font-weight: 700;
    line-height: 50px;
}

.push {
    display: inline-block;
    width: 17%;
    min-width: 100px;
    line-height: 40px;
    margin: 5px 2px 20px 2px;
    font-size: 15px;
    text-align: center;
    color: #fff;
    cursor: pointer;
}

.facebook1 {
    background-color: #3b5998;
}

    .facebook1:hover {
        background-color: #2d4373;
        color: #fff;
    }

.google1 {
    background-color: #dd4b39;
}

    .google1:hover {
        background-color: #c23321;
        color: #fff;
    }

.twitter1 {
    background-color: #55acee;
}

    .twitter1:hover {
        background-color: #2795e9;
        color: #fff;
    }

.vkontakte1 {
    background-color: #587ea3;
}

    .vkontakte1:hover {
        background-color: #466482;
        color: #fff;
    }

.ok1 {
    background-color: #ee8208;
}

    .ok1:hover {
        background-color: #ee7808;
        color: #fff;
    }
/* Стили для оформления кнопок поделиться FINISH */

/*модалка*/
#popup {
    display: table;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    height: 100%;
    width: 100%;
    background: rgba(240,240,240,.9);
    visibility: hidden;
    animation: animaciya 1s 0s forwards; /* 0s - это количество секунд по истечении которых появляется сообщение */
    cursor: pointer;
}

@keyframes animaciya {
    from {
        visibility: hidden;
    }

    to {
        visibility: visible;
    }
}

#popup figure {
    display: table-cell;
    vertical-align: middle;
}

    #popup div, #popup figcaption, #popup figure:before {
        max-width: 500px; /* максимальная ширина */
        margin: 0 auto;
        border-style: solid;
        border-color: rgb(88,125,164);
        background: #fff;
    }

    #popup figure:before { /* стиль кнопки "закрыть" */
        content: "X";
        display: block;
        padding: 0 1%;
        border-width: 4px 4px 0 4px;
        border-radius: 5px 5px 0 0;
        text-align: right;
        color: rgb(88,125,164);
    }

#popup div, #popup figcaption {
    padding: 1%;
    cursor: default;
}

#popup figcaption {
    position: relative;
    border-width: 0 4px 0 4px;
    font-size: 150%;
    text-transform: uppercase;
    color: rgb(100,100,100);
}

#popup div {
    border-width: 0 4px 4px 4px;
    border-radius: 0 0 5px 5px;
}

/*Стили для мод окна по cookies*/
.cookie_notice {
    display: none;
    position: fixed;
    z-index: 9999999;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 15px;
    font-family: Verdana, sans-serif;
    color: #FFF;
    background: #337AB7;
    padding: 10px 20px;
    border-top: 4px solid #BFE2FF;
}
/* Оформление кнопок */
.cookie_btn {
    display: inline-block;
    margin: 10px 6px 4px 6px;
    text-decoration: none;
    position: relative;
    font-size: 13px;
    padding: 4px 12px;
    color: #FFF;
    font-weight: bold;
    text-transform: uppercase;
    background: #337AB7;
    border: 2px solid #BFE2FF;
}

    .cookie_btn:hover {
        color: #FFF;
    }

    .cookie_btn:after,
    .cookie_btn:before {
        position: absolute;
        height: 2px;
        left: 50%;
        background: #FFF;
        bottom: -6px;
        content: "";
        transition: all 280ms ease-in-out;
        width: 0;
    }

    .cookie_btn:before {
        top: -6px;
    }

    .cookie_btn:hover:after,
    .cookie_btn:hover:before {
        width: 100%;
        left: 0;
    }
/*Конец стилей для мод окна по cookies*/