/************************/

.detail-section-1 .detailBlock {
    margin: 38px 73px;
}

.detailBlock img {
    max-width: 322px;
    height: auto;
    display: inline;
    float: left;
    margin-left: 40px;
    margin-right: 68px;
}

.detailBlock p {
    color: black;
    display: inline;
}

.section-feedback {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: start;
    padding-bottom: 17px;
}

.block-feedback {
    max-width: 49%;
    padding: 17px 0;
}

.block-feedback p:not(:has(span)) {
    text-align: justify;
}

.star {
    margin-top: 15px;
    margin-bottom: 15px;
}

.wrapperTitle {
    display: flex;
    align-items: center;
    max-width: 100%;
}

.wrapperTitle:hover {
    text-decoration: underline;
    cursor: pointer;
}

.detailArrow {
    width: 15px;
    height: 15px;
    margin-left: 30px;
    rotate: 50grad;
}

.detailArrowDown {
    border-right: 3px #545454 solid;
    border-bottom: 3px #545454 solid;
    margin-top: -4px;
}

.detailArrowUp {
    border-left: 3px #545454 solid;
    border-top: 3px #545454 solid;
    margin-top: 15px;
}


#feedback_more {
    text-align: center;
    cursor: pointer;
    text-decoration: underline;
}

/************************/

.section-contact {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.contactSection-img {
    width: 40%;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("../images/vid-7.png");
    margin-right: 100px;
}

.contactBlock-right {
    max-width: 50%;
    margin-bottom: 52px;
}

.contactBlock-right p i {
    text-decoration: underline;
}

.contactBlock-right p:nth-child(5) {
    line-height: 28px;
}

.block-region-all {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.block-region {
    width: 360px;
    max-width: 100%;
    margin-left: 33px;
}

.block-region:first-child {
    margin-bottom: 18px;
    border-radius: 6px;
}

.block-district {
    margin-left: 23px;
}

.block-region select {
    width: 100%;
    max-width: 40vw;
    border: 1px #d2d0d0 solid;
    border-radius: 6px;
    background-color: white;
    font-size: 16px;
    color: #262626;
    padding: 5px 15px;
    margin: 14px 0 0 10px;
}

#block-subject-district.district_on {
    border-radius: 6px 6px 0 0;
}

.block-menadger-main {
    width: 360px;
    max-width: 100%;
    height: 150px;
    border: 1px #d2d0d0 solid;
    border-top: none;
    border-radius: 0 0 6px 6px;
    padding: 0 15px;
    margin-left: 10px;
    margin-bottom: 27px;
}

.block-menadger-main:has(div.displaynone) {
    border: none;
}

.block-menadger {
    display: flex;
    align-items: start;
}

.textOfficer {
    padding-top: 10px;
}

.block-menadger a {
    display: block;
    text-decoration: none;
    color: black;
    margin-bottom: 6px;
}

.block-menadger a:hover {
    text-decoration: underline;
}

.block-menadger-text {
    display: flex;
    align-items: center;
}

.block-menadger-text a {
    margin-left: 6px;
}

.block-menadger-main .block-menadger-text:last-child {
    margin-left: 4px;
}

.block-menadger svg path {
    fill: #ACACAC;
}

.officer-img, .officer-img10 {
    flex-shrink: 0;
    border-radius: 50%;
    background-color: #00FFF0;
    background-size: cover;
    background-position: center;
    margin-right: 63px;
}

.officer-img10 {
    width: 94px;
    height: 94px;
    margin-top: 10px;
    margin-right: 15px;
}

.officer-img {
    width: 134px;
    height: 134px;
}

/**********************/

.section-officers .block-menadger {
    margin: 0 41px;
}

.section-officers span {
    margin-right: 77px;
}

.officer-img1 {
    width: 134px;
    height: 134px;
    background-image: url("../images/officer/officer-1.jpg");
}

/************************/

.contact-section-3-text {
    margin-top: 35px;
}

.contact-section-3-text p {
    margin-left: 12px;
}

.contact-section-3-text h3 {
    text-align: center;
    margin: 15px 0;
}


.officer-img2 {
    background-image: url("../images/officer/officer-2.jpg");
}

.officer-img3 {
    background-image: url("../images/officer/officer-3.jpg");
}

/*****************************/

.officer-img4 {
    background-image: url("../images/officer/officer-4.jpg");
}

.section-officers {
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
    padding-top: 32px;
    padding-bottom: 29px;
}

.contact-section-3 .block-menadger {
    margin-bottom: 21px;
}

.contact-section-4 .section-officers {
    margin-bottom: 0;
}

/*****************************/

.contact-section-5 h1 {
    margin-top: 70px;
    margin-bottom: 32px;
}

.block-karta {
    max-width: 60%;
    overflow: clip;
}

.block-adress {
    max-width: 390px;
    margin: 0 65px;
}

.block-adress p:nth-child(2n+3) {
    margin-top: 65px;
}

/*********************************/

.order-section-1 h1 {
    margin-bottom: 21px;
}

.order-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.order__form {
    margin-right: 22px;
}

.order-section-1 input {
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    font-size: 16px;
    vertical-align: middle;
    color: black;
    background-color: white;
    border: 1px #d2d0d0 solid;
    border-radius: 6px;
    width: 360px;
    max-width: 40vw;
    padding: 5px 15px;
    margin: 14px 0 18px 10px;
}

.order-section-1 input::placeholder {
    color: #696868;
}

.block-school {
    margin-top: -159px;
}

/****************************/

.order-section-2 .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 53px;
}

.order-section-2 .order-section-left {
    width: calc(100% - 420px);
    min-width: 70%;
}

.order-books-item {
    display: grid;
    grid-template-columns: 130px 160px 1fr 140px 130px;
    place-items: center;
    width: 100%;
    border-bottom: 1px #bebebe solid;
    padding: 15px 0;
}

.order-books-title {
    padding: 0 0 8px 0;
    border-bottom: 1px #b2b2b2 solid;
}

.order-books-title p {
    color: #878787;
}

.order-books-item:not(.order-books-title) p:nth-child(3) {
    justify-self: start;
}

.order-books-item input {
    margin: 0 10px;
}

.order-books-item:not(.order-books-title) p:nth-child(4) {
    font-size: 14px;
}

.order-books-item:not(.order-books-title) p:nth-child(5) {
    font-size: 13px;
    line-height: 25px;
    font-style: oblique;
    padding: 0;
}

.order-books-item:not(.order-books-title) p:nth-child(5) span {
    font-family: Montserrat, sans-serif;
    font-size: 13px;
}

.order-books-item:not(.order-books-title) p:nth-child(5) div {
    font-style: normal;
}

/* для ordering */
.book-item-choise {
    display: flex;
    flex-direction: column;
    text-align: center;
    font-weight: 500;
    padding: 10px;
    position: relative;
}

.book-item-numeric {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: black;
    text-align: center;
}

.bookItemNumeric {
    width: 60px;
    border: 1px solid #ccc;
    border-radius: 3px;
    outline: none;
}

.bookItemNumeric:focus {
    outline: 2px solid #00ffcb;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.4);
    background-color: #eee;
}

.book-item-numeric:nth-child(odd) {
    width: 15px;
    cursor: pointer;
}

.order-section-2 .order-section-right {
    font-family: Montserrat-Bold, sans-serif;
    position: relative;
    width: 360px;
    flex-shrink: 0;
}

.order-section-2 .order-section-right h2 {
    color: #029034;
}

.order-section-2 .order-section-right p {
    text-align: center;
}

.order-section-2 .order-section-right label p {
    font-size: 12px;
    color: #FF0004;
    text-align: left;
    margin-left: 7px;
}

.order-section-2 .order-section-right label {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-top: 27px;
}

#item-summaryButtonGray {
    max-width: 221px;
    margin: 0 auto;
}

/*********************************/

.block-checkbox {
    display: flex;
    justify-content: left;
    margin-top: 27px;
}

.checkbox {
    width: 20px;
    height: 20px;
    padding-top: 2px;
    font-size: 12px;
    text-align: center;
    color: #DBDBDB;
    background-color: #DBDBDB;
    border-radius: 2px;
    margin-right: 7px;
    flex-shrink: 0;
    cursor: pointer;
}

#checkbox.red {
    background-color: #029034;
}

#checkbox-text {
    color: #737272;
    font-size: 12px;
    text-align: justify;
}

#checkbox-text.red {
    color: red;
}


/********************************/

.order-summary {
    border: 1px #b2b2b2 solid;
    border-radius: 6px;
    padding: 0 20px 30px 20px;
    margin-top: 8px;
}

#summaryTotal {
    text-align: center;
    margin-top: 37px;
    margin-bottom: 29px;
}

.blockNumber {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    line-height: 22px;
    color: #029034;
}

.blockNumberLast {
    margin-top: 9px;
    margin-bottom: 26px;
}


/*******************************/

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачный фон */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* заставка поверх всего остального */
}

.loader, .loaderText {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid #ffffff;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.spinnerText {
    margin-top: 10px;
    color: #ffffff;
    font-size: 16px;
}

.loaderText {
    max-width: 95%;
    width: 670px;
    padding: 40px 50px;
    color: black;
    background-color: white;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
}

.loaderText h2 {
    text-align: center;
}

/* для privacypolicy */

.privacypolicy h1 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 15px;
}

.privacypolicy .container {
    max-width: 1400px;
}

.privacypolicy p {
    line-height: 30px;
    position: relative;
}

.privacypolicy p:has(b) {
    margin-left: 25px;
}

.privacypolicy b::before {
    content: "•";
    font-weight: 900;
    position: absolute;
    left: -15px;
}



