body{
    font-family: 'Roboto', sans-serif;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.custom-nav .logo-img {
    height: 65px;
}
.custom-nav .nav-link{
    color: #002366;
    text-transform: uppercase;
}
.custom-nav .nav-link.active {
    color: #d23816;
    border-bottom: 1px solid #d23816;
}
.custom-nav .nav-item:hover {
    border-bottom: 1px solid #d23816;
}
.custom-nav .nav-item.nav-summer-school {
    background: #EDC415;
    border-radius: 10px;
}
.section-block {
    margin-top: 20px;
}
.color-light-blue {
    color: #289dd8;
}
.color-dark-blue {
    color: #002366;
}
.text-bold {
    font-weight: bold;
}
.bg-blue {
    background: #81c9e49c;
}
.bg-yellow {
    background: #EDC415;
}
.bg-light-gray {
    background: #afafaf;
}
.color-red{
    color: #C10016;
}
.color-blue {
    color: #002F6C ;
}
.color-green {

}
.mt-15 {
    margin-top: 15px;
}
.mt-50 {
    margin-top: 50px;
}
.p-15 {
    padding: 15px;
}
.p-25 {
    padding: 25px;
}
.text-title {
    font-family: 'Merriweather', serif;
    font-weight: bold;
    font-size: 30px;
    color: #002366;
    text-align: center;
}
.bg-light-gray {
    background: #ECECEC;
}
.bg-light-blue {
    background: #81c9e49c;
}
/*modal*/
.custom-modal .main-text {
    font-family: 'Merriweather', serif;
    padding: 5px 10px;
}

/**/
#privacy-policy .modal-title{
    color: #002366;
}
#privacy-policy .modal-body {
    color: #212529;
}

/*//// about block*/
.home {
    height: 100vh;
    position: relative;
}
video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(3px);
}
.home-content {
    color: #fff;
    text-align: center;
    background-color: rgb(1,0,0);
    background-color: rgba(0,0,0, 0.4);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 80%;
    padding: 50px;
}
.emblem-img {
    height: 400px;
}
.about-owner-photo {
    height: 600px;
}
.about-owner-photo_caption {
    font-family: 'Merriweather', serif;
    font-style: italic;
    display: block;
    margin-top: 10px;
}
.about-owner-photo_link {
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    text-decoration: none;
    color: #289dd8;
}
.about-intro-text {
    font-family: 'Roboto', sans-serif;
}

/*///why dominion*/
.dominion-about {
    margin: 50px 0 50px;
}
.dominion-about_title {
    font-size: 25px;
    font-weight: bold;
    color: #002F6C;
}
.dominion-about_text {
    color: #002F6C;
    padding-left: 45px;
}
.expl-block {
    background: #fffbec;
    font-weight: bold;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin-top: 8%;
    margin-left: 15%;
}
.about-items {
    background: #EDC415;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0 auto;
}

/*school-advantages*/

.school-advantages_title {
    font-size: 25px;
    font-weight: bold;
    color: #002F6C;
}
.advantages-item {
    position: relative;
    margin-top: 10px;
}
.advantages-item_body {
    background: #ffffff;
    border-radius: 20px;
    color: #002F6C;
    padding: 5px 10px 5px 30px;
}
.advantages-item {
    border-radius: 30px;
    padding: 10px;
}
.advantages-item .advantages-item_num{
    position: absolute;
    font-style: italic;
    font-weight: bold;
    font-size: 25px;
}
.advantages-item.item-1 {
    border: 4px solid #1278cc;
}
.advantages-item.item-1 .advantages-item_num {
    left: -5%;
    top: 25%;
    color: #1278cc;
}
.advantages-item.item-1 .advantages-item_title{
    color: #1278cc;
}
.advantages-item.item-2 .advantages-item_title {
    color: #f47000;
}
.advantages-item.item-2 {
    border: 4px solid #f47000;
}
.advantages-item.item-2 .advantages-item_num {
    left: -5%;
    top: 30%;
    color: #f47000;
}
.advantages-item.item-3 .advantages-item_title {
    color: #c71b66;
}
.advantages-item.item-3 {
    border: 4px solid #c71b66;
}
.advantages-item.item-3 .advantages-item_num {
    left: -5%;
    top: 30%;
    color: #c71b66;
}
.advantages-item.item-4 .advantages-item_title {
    color: #11b7b3;
}
.advantages-item.item-4 {
    border: 4px solid #11b7b3;
}
.advantages-item.item-4 .advantages-item_num {
    left: -5%;
    top: 40%;
    color: #11b7b3;
}
.advantages-item.item-5 .advantages-item_title {
    color: #841787;
}
.advantages-item.item-5 {
    border: 4px solid #841787;
}
.advantages-item.item-5 .advantages-item_num {
    left: -5%;
    top: 25%;
    color: #841787;
}
.advantages-item.item-6 .advantages-item_title {
    color: #267726;
}
.advantages-item.item-6 {
    border: 4px solid #267726;
    margin-bottom: 50px;
}
.advantages-item.item-6 .advantages-item_num {
    left: -5%;
    top: 25%;
    color: #267726;
}



/*/////*/
.card-info-block {
    background: #81c9e49c;
    padding: 50px;
}
.card-info_item {
    padding: 0 20px;
    margin-top: 10px;
}
.card-info-title {
    font-family: 'Merriweather', serif;
    font-weight: bold;
    font-size: 30px;
    text-align: center;
    color: #fff;
    position: relative;
}
.card-info_img {
    height: 250px;

}

.card-info_img-text {
    position: absolute;
    top: 145px;
    right: 143px;
}
.card-info_img-text.values {
    right: 105px;
}



/*////*/

.foundations-block {
    padding: 50px 0;
}
.foundations-title {
    background: #002366;
    font-size: 30px;
    color: white;
    font-family: 'Merriweather', serif;
    font-weight: bold;
    padding: 5px;
    text-align: center;
    margin-bottom: 25px;
}
.foundations-block .card {
    /*border-color: #81c9e49c;*/
    margin-top: 2px;
}
.foundations-block .card-title {
    font-family: 'Merriweather', serif;
    color: #002366;
    font-weight: bold;
}


/*/////*/

.questions-title {
     background: #002366;
    font-size: 30px;
    color: white;
    font-family: 'Merriweather', serif;
    font-weight: bold;
    padding: 5px;
    text-align: center;
    margin-bottom: 25px;
}
#questions-block .accordion-body {
    text-align: left;
}
#questions-block .accordion-button:not(.collapsed) {
    color: #002366;
    background: #81c9e49c;
}
/* conditions */
.conditions-img {
    height: 300px;
}
.conditions-list li {
    margin: 10px 0;
}


/*//// Структура школи   */
/*.school-structure {*/
/*    margin-top: 25px;*/
/*}*/
.school-structure_main-info {
    padding: 50px;
    font-family: 'Merriweather', serif;
    font-style: italic;
}

.school-structure_img {
    height: 300px;
}
.school-structure_title {
    font-family: 'Merriweather', serif;
    font-style: italic;
    font-weight: bold;
}

/*formats page*/
.formats-info {
    padding: 50px;
    font-family: 'Merriweather', serif;
}
.formats-info .formats-info_item {
    border: 1px solid #002366;
    padding: 50px 30px;
    border-radius: 10px;
}
.plans-tab.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #289dd8;
    border-bottom: 2px solid #289dd8;
    border-right: none;
    border-top: none;
    border-left: none;
}
.plans-tab.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link {
   color: #002366;
}
#general-education-school .card.card-plan{
    min-height: 468px;
}
#professional-school .card.card-plan{
    min-height: 636px;
}

/*.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {*/
/*    border: none;*/
/*}*/
.card-plan_text-item {
    padding: 5px 10px;
}
.online-reason-item {
    background: #EDC415;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16205E;
    margin-top: 10px;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    font-size: 18px;
}




/*Team page*/

.team-img {
    height: 250px;
    border-radius: 50%;
}
.team_link {
    text-decoration: none;
    color: #81c9e49c;
    font-style: italic;
}
.team-title {
    font-family: 'Merriweather', serif;
    font-size: 20px;
    font-weight: bold;
    color: #002366;
}
/*Team page - individual*/
.team-separate-page {
    padding: 30px;
}
.team-questionnaire {
    margin-top: 25px;
}
.team-questionnaire-item {
    border: 1px solid #002366;
    padding: 10px;
    border-radius: 20px;
    background: #fffbec;
}
.team-questionnaire-item.item-col4 {
    min-height: 410px;
}
.team-questionnaire-item.item-col4-min {
    min-height: 340px;
}
.team-questionnaire-item.item-col3-min {
    min-height: 306px;
}
.team-questionnaire-item.item-col3 {
    min-height: 378px;
}
.team-questionnaire-item.item-col2 {
    min-height: 255px;
    margin-top: 15px;
}
.questionnaire-item-question {
    color: #212529;
    font-weight: bold;
    font-size: 20px;
}
.team-questionnaire-item.item-col4 .questionnaire-item-question {
    min-height: 90px;
}
.team-questionnaire-item.item-col4 .questionnaire-item-question.item-col-auto {
    min-height: auto;
}
.team-questionnaire-item.item-col4-min .questionnaire-item-question {
    min-height: 90px;
}
.team-questionnaire-item.item-col3-min .questionnaire-item-question {
    min-height: 60px;
}
.team-questionnaire-item.item-col3 .questionnaire-item-question {
    min-height: 60px;
}
.questionnaire-item-answer {
    font-style: italic;
    color: #002366;
}

/*online-school*/
.online-school .card {
    border-color: #81c9e49c;
    border-width: 2px;
}

/*offline-school*/
.join-us-block {
    padding: 35px 0;
}
.join-us-block_text {
    font-size: 20px;
}
.school-gallery-block a {
    cursor: zoom-in;
}
.condition-items {
    display: flex;
}
.condition-item{
    text-align: center;
    color: #ffffff;
    border-radius: 10px;
    display: flex;
    height: 90px;
    align-items: center;
    justify-content: center;
    padding: 10px;
    line-height: 19px;
}
 .condition-item.items-1 {
    background: #1278cc;
}
 .condition-item.items-2 {
    background: #f47000;
}
 .condition-item.items-3 {
    background: #c71b66;
}
.condition-item.items-4 {
    background: #11b7b3;
}
 .condition-item.items-5 {
    background: #841787;
}
.condition-item.items-6 {
    background: #267726;
}
.map-block {
    padding: 30px 0;
}
.map-img {
    height: 500px;
}
.price-block {
    padding: 50px 0;
}
.price-value {
    border: 4px solid #002366;
    border-radius: 20px;
    padding: 25px 30px;
    color: #002F6C;
    font-size: 19px;
    min-height: 250px;
}
.price-value span.d-block {
    margin: 10px 0;
}
.price-item {
    text-align: center;
    border-radius: 10px;
    display: flex;
    height: 90px;
    align-items: center;
    justify-content: center;
    padding: 10px;
    line-height: 19px;
    margin-top: 10px;
}
.price-item.item-1 {
    border: 4px solid #1278cc;
    color: #1278cc;
}
.price-item.item-2 {
    border: 4px solid #f47000;
    color: #f47000;
}
.price-item.item-3 {
    border: 4px solid #c71b66;
    color: #c71b66;
}
.price-item.item-4 {
    border: 4px solid #11b7b3;
    color: #11b7b3;
}
.price-item.item-5 {
    border: 4px solid #841787;
    color: #841787;
}
.price-item.item-6 {
    border: 4px solid #267726;
    color: #267726;
}
.iframe-container{
    position: relative;
    width: 100%;
    padding-bottom: 17.25%;
}
.iframe-container > *{
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}
.schedule-block {
    padding: 50px 0;
}
.schedule-list {
    color: #002F6C;
    background: #ffffff;
}
.schedule-list_item {
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    padding: 1rem 1rem;
}

/*////*/
.price-page_title {
    font-family: 'Merriweather', serif;
    font-weight: bold;
    font-size: 25px;
    color: #002366;
    text-align: center;
}
.price-page_item {
    border: 1px solid #002366;
    color: #002366;
    border-radius: 20px;
    padding: 35px;
    font-size: 18px;
    font-weight: 500;
    min-height: 360px;
}
.price-page_link {
    text-decoration: none;
    color: #40b6e6;
}

    /*Footer*/
footer {
    background: #002366;
    color: #ffffff;
    padding: 50px 0;
}
footer .logo-img {
    height: 100px;
}
footer .privacy_link {
   color: #ffffff;
}
footer  .footer-icon {
    height: 35px;
    margin-right: 10px;
}
footer .media-img {
    height: 30px;
}
footer .media-block {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

/*////// media query*/
@media only screen and (min-width: 576px) {
    .modal-dialog {
        max-width: 750px;
    }
    .foundations-block .foundations-card-1{
        min-height: 323px;
    }
}
@media only screen and (min-width: 820px)  and  (max-width: 1180px) {
    .card-info_img-text {
        right: 285px;
    }
    .card-info_img-text.values {
        right: 245px;
    }
    .footer-item {
        margin-top: 25px;
    }
    footer {
        padding: 25px 0;
    }
    .about-items {
        width: 150px;
        height: 150px;
        font-size: 13px;
    }
    footer .logo-img {
        height: 85px;
    }
    footer .media-block {
        margin-left: 45px;
    }
    .footer-info-block {
        padding-left: 0;
    }
}
@media only screen and (min-width: 830px)  and  (max-width: 1180px) {
    .custom-nav .nav-link {
        font-size: 12px;
    }
    .foundations-block .card{
        margin-top: 14px;
    }
    .about-owner-photo {
        height: 500px;
    }
    .principles-img {
        height: 300px;
    }
    .card-info_img-text {
        right: 83px;
    }
    .card-info_img-text.values {
        right: 50px;
    }
    .price-item {
        height: 110px;
    }
    .price-value {
        padding: 30px 42px;
    }

}

@media screen and (min-width: 764px ) and (max-width: 1180px) {
    .courses-item_img, .courses-item_img.additional-img {
        height: 150px;
    }
    .footer-item {
        margin-top: 25px;
    }
    footer {
        padding: 25px 0;
    }
    .foundations-block .card{
        margin-top: 14px;
    }
}
@media only screen and (min-width: 764px)  and  (max-width: 819px) {
    .custom-nav .nav-link {
        font-size: 12px;
    }

    .card-info_img-text {
        right: 258px;
    }
    .card-info_img-text.values {
        right: 215px;
    }

}
@media only screen and (min-width: 830px)  and  (max-width: 990px) {
    .card-info_img-text {
        right: 279px;
    }
    .card-info_img-text.values {
        right: 243px;
    }
}

@media screen and (max-width: 820px) {
    .school-structure_img {
        height: 230px;
    }
   .expl-block{
       margin-left: 0;
   }
    .dominion-about_text {
       padding-left: 20px;
   }
    .condition-item {
        margin-top: 10px;
    }
    .map-img {
        height: 350px;
    }
    .team-questionnaire-item{
        margin-top: 15px;
    }
    .questionnaire-item-question {
        font-size: 16px;
    }
    .team-questionnaire-item.item-col3-min .questionnaire-item-question {
        min-height: auto;
    }
    .team-questionnaire-item.item-col3 .questionnaire-item-question {
        min-height: auto;
    }
    .team-questionnaire-item.item-col4 .questionnaire-item-question {
        min-height: 50px;
    }
    .team-questionnaire-item.item-col4-min .questionnaire-item-question {
        min-height: 50px;
    }
    .team-questionnaire-item.item-col4 {
        min-height: 290px;
    }
    .team-questionnaire-item.item-col4-min {
        min-height: 290px;
    }
    .team-questionnaire-item.item-col2 {
        min-height: 320px;
    }
    .team-questionnaire-item.item-col3-min {
        min-height: 270px;
    }
    .team-questionnaire-item.item-col3 {
        min-height: auto;
    }
    .team-questionnaire-item.item-col3-min.item-col-auto {
        min-height: auto;
    }
}


@media screen and (max-width: 480px) {
    .emblem-img {
        height: 220px;
    }
    .home-content {
        width: 90%;
        top: 45%;
    }
    .school-structure_main-info {
        padding: 50px 25px;
        font-size: 14px;
    }
    .about-owner-photo {
        height: 400px;
    }
    .card-info_img {
        height: 200px;
    }
    .card-info_img-text {
        top: 115px;
        right: 73px;
    }
    .card-info_img-text.values {
        right: 30px;
    }
    .principles-img {
        height: 200px;
    }
    .formats-info {
        padding: 30px 10px;
    }
    .bb-mobile {
        border-bottom: 1px solid rgba(0,0,0,.125);
    }
    .footer-item {
        margin-top: 25px;
    }
    .footer-info-block {
        padding-left: 15%;
        margin-top: 25px;
        margin-bottom: 25px;
    }
    .summer-school-info-data-block {
        padding: 15px;
        margin-top: 15px;
    }
    .summer-school-info-text-block {
        padding: 18px;
    }
    .courses-custom-card {
        min-height: 250px;
    }
    .advantages-item.item-1 .advantages-item_num {
        left: -12%;
        top: 35%;
        color: #1278cc;
    }
    .advantages-item.item-2 .advantages-item_num {
        left: -12%;
        top: 40%;
        color: #f47000;
    }
    .advantages-item.item-3 .advantages-item_num {
        left: -12%;
        top: 40%;
        color: #c71b66;
    }
    .advantages-item.item-4 .advantages-item_num {
        left: -12%;
        top: 40%;
        color: #11b7b3;
    }
    .advantages-item.item-5 .advantages-item_num {
        left: -12%;
        top: 35%;
        color: #841787;
    }
    .advantages-item.item-6 .advantages-item_num {
        left: -12%;
        top: 35%;
        color: #267726;
    }
    .expl-block {
        margin-left: 0;
    }
    .dominion-about_text {
        padding-left: 15px;
    }
    .about-items {
        width: 150px;
        height: 150px;
        font-size: 13px;
    }
    .map-img {
        height: 200px;
    }
    .price-value {
        margin-bottom: 20px;
        padding: 30px 12px;
    }
    .iframe-container{
        padding-bottom: 56.25%; /* Ratio 16:9 ( 100%/16*9 = 56.25% ) */
    }
    .price-page_item {
        padding: 20px;
    }
    .price-page_gap {
        gap: 50px;
    }
    .team-separate-page {
        padding: 15px 0 0;
    }
    .team-questionnaire-item.item-col4 .questionnaire-item-question {
        min-height: auto;
    }
    .team-questionnaire-item.item-col4-min .questionnaire-item-question {
        min-height: auto;
    }
    .team-questionnaire-item.item-col3-min .questionnaire-item-question {
        min-height: auto;
    }
    .team-questionnaire-item.item-col3 .questionnaire-item-question {
        min-height: auto;
    }
    .team-questionnaire-item.item-col4 {
        min-height: auto;
    }
    .team-questionnaire-item.item-col4-min {
        min-height: auto;
    }
    .team-questionnaire-item.item-col3-min {
        min-height: auto;
    }
    .team-questionnaire-item.item-col3 {
        min-height: auto;
    }
    .team-questionnaire-item.item-col2 {
        min-height: auto;
    }
    .join-us-block {
        padding: 20px;
    }
    .join-us-block_text {
        font-size: 19px;
    }

}
@media only screen and (min-width: 430px)  and  (max-width: 480px) {
    .card-info_img-text {
        top: 115px;
        right: 90px;
    }
    .card-info_img-text.values {
        right: 52px;
    }
}
/*@media screen and (max-width: 414px) {*/

/*    .card-info_img-text {*/
/*        top: 115px;*/
/*        right: 80px;*/
/*    }*/
/*    .card-info_img-text.values {*/
/*        right: 40px;*/
/*    }*/

/*}*/
@media only screen and (min-width: 392px)  and  (max-width: 414px) {
    .price-item {
        height: 110px;
    }
}
@media screen and (max-width: 391px) {

    .card-info_img-text {
        top: 115px;
        right: 69px;
    }
    .card-info_img-text.values {
        right: 30px;
    }
    .price-item {
        height: 110px;
    }
    .price-value {
        padding: 30px 20px;
    }

}

@media screen and (max-width: 375px) {

    .card-info_img-text {
        top: 115px;
        right: 60px;
    }
    .card-info_img-text.values {
        right: 20px;
    }

}
@media screen and (max-width: 360px) {

    .price-item {
        font-size: 14px;
    }

}
@media screen and (max-width: 320px) {

    .map-img {
        height: 175px;
    }

}


