/* Стили для визуального редактора */

.title2_blue {
    color: #1d71b8 !important;
    font-size: 32px !important;
    line-height: 32px !important;
    font-weight: bold !important;
}

.title3_blue {
    color: #1d71b8 !important;
    font-size: 26px !important;
    line-height: 26px !important;
    font-weight: bold !important;
}

[contenteditable="true"] .quote {
    position: relative;
    padding: 12px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    border-left: 7px solid #97C9F4;
}

[contenteditable="true"] .quote__news {
    margin: 40px 0 32px 155px !important;
}

[contenteditable="true"] .quote:before {
    content: '';
    display: block;
    width: 56px;
    height: 56px;
    position: absolute;
    left: -63px;
    top: -16px;
    background-image: url(/local/html/static/img/svg-sprite/sprite.svg);
    background-position: -4px -61px;
    background-repeat: no-repeat;
}

[contenteditable="true"] .quote__image {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 164px;
    margin-left: 30px;
}
[contenteditable="true"] .quote__image img {
    width: 100%;
}

[contenteditable="true"] .quote__content {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    padding-left: 30px;
    color: #333333;
}

[contenteditable="true"] .quote__content p {
    margin-bottom: 0;
}

[contenteditable="true"] .quote__author {
    margin-top: 16px;
}

[contenteditable="true"] .quote__author h6 {
    font-weight: bold;
    margin-bottom: 1px;
}

[contenteditable="true"] .quote__author p {
    margin-bottom: 0;
}

[contenteditable="true"] .news-note {
    margin: 0 auto 48px;
    width: 100%;
    max-width: 847px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

[contenteditable="true"] .news-note__icon {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    background: #E1F8FE;
    border-radius: 16px;
    margin-right: 24px;
    position: relative;
}

[contenteditable="true"] .news-note__icon img {
    display: block;
    max-width: 40px;
    max-height: 40px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

[contenteditable="true"] .news-note__content {
    font-style: italic;
    font-weight: 600;
    opacity: 0.8;
}

[contenteditable="true"] .table-custom {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin: 48px 0;
    background-color: #BCD5EA;
}

[contenteditable="true"] .table-custom__row {
    display: flex;
    gap: 1px;
}

[contenteditable="true"] .table-custom__cell {
    width: 100%;
    max-width: 390px;
    text-align: center;
    padding: 16px 24px;
    background-color: #fff;
}

[contenteditable="true"] .table-custom__cell-head {
    background-color: #1D71B8;
    color: #D3E9FC;
    text-transform: uppercase;
    padding: 20px 0;
    letter-spacing: 0.1em;
    font-weight: 600;
}

[contenteditable="true"] .table-custom__body {
    display: flex;
    flex-direction: column;
    gap: 1px;
    border: 1px solid #BCD5EA;
    border-top: none;
}

[contenteditable="true"] .special-requests {
    margin-bottom: 60px;
}

[contenteditable="true"] .special-requests h3 {
    color: #1D71B8;
    margin-bottom: 24px;
}

[contenteditable="true"] .special-requests__block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-shadow: 0px 0px 4px rgb(0 0 0 / 25%);
    box-shadow: 0px 0px 4px rgb(0 0 0 / 25%);
    border-radius: 2px;
}

[contenteditable="true"] .special-requests__block--img {
    border-radius: 2px 0 0 2px;
    width: 263px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    background: #E1F8FE;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.special-requests .special-requests__block--img img {
    width: auto;
}

[contenteditable="true"] .special-requests__block--content {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    padding: 20px 23px;
    border-radius: 0 2px 2px 0;
}

[contenteditable="true"] i.link-popup {
    text-decoration: underline;
    color: #1D71B8;
    /*cursor: pointer;*/
    font-style: normal;
}

[contenteditable="true"] .aside-contact {
    width: 100%;
    background: #ffffff;
    border: 1px solid #E7E7E7;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 4px;
    margin-bottom: 30px;
    max-width: 300px;
    margin-top: 30px;
}

[contenteditable="true"] .aside-contact.show .aside-contact__header:after {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
}

[contenteditable="true"] .aside-contact.show .aside-contact__body {
    opacity: 1;
    visibility: visible;
    height: auto;
}

[contenteditable="true"] .aside-contact__header {
    padding: 18px 40px 18px 16px;
    position: relative;
    cursor: pointer;
    letter-spacing: -0.03em;
    color: #27348B;
    font-weight: bold;
}

@media screen and (max-width: 992px) {
    [contenteditable="true"] .aside-contact__header {
        background: rgba(242, 242, 242, 0.35);
        padding: 16px 40px 16px 16px;
    }
}

[contenteditable="true"] .aside-contact__header:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 12px;
    width: 24px;
    height: 24px;
    background-image: url("/local/templates/sevgu/static/img/svg-sprite/sprite.svg");
    background-position: -4px -2084px;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    margin: auto;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

[contenteditable="true"] .aside-contact__body {
    padding: 0 15px;
    border-top: 1px solid #E7E7E7;
    opacity: 0;
    visibility: hidden;
    height: 0;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
}

[contenteditable="true"] .aside-contact__item {
    padding: 18px 0 12px;
    border-bottom: 1px solid #E7E7E7;
}

[contenteditable="true"] .aside-contact__item p {
    font-weight: normal;
    font-size: 16px;
    line-height: 22px;
    color: #333333;
    margin:0 0 2px 0;
    letter-spacing: -0.03em;
}

[contenteditable="true"] .aside-contact__item p:last-child {
    margin-bottom: 0;
}

[contenteditable="true"] .aside-contact__item b {
    font-weight: 600;
}

[contenteditable="true"] .aside-contact__item .phone,
[contenteditable="true"] .aside-contact__item .mail {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 2px;
    color: #1D71B8;
    text-decoration: none;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -0.03em;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
}

[contenteditable="true"] .aside-contact__item .phone:hover,
[contenteditable="true"] .aside-contact__item .mail:hover {
    color: #1D71B8;
    text-decoration: underline;
}

[contenteditable="true"] .aside-contact__item .phone .icon,
[contenteditable="true"] .aside-contact__item .mail .icon {
    width: 17px;
    height: 16px;
    margin-right: 3px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

[contenteditable="true"] .aside-contact__item .phone .icon-phone,
[contenteditable="true"] .aside-contact__item .mail .icon-phone {
    background-image: url("/local/templates/sevgu/static/img/svg-sprite/sprite.svg");
    background-position: -4px -3292px;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
}

[contenteditable="true"] .aside-contact__item .phone .icon-mail,
[contenteditable="true"] .aside-contact__item .mail .icon-mail {
    background-image: url("/local/templates/sevgu/static/img/svg-sprite/sprite.svg");
    background-position: -4px -2956px;
    width: 16px;
    height: 17px;
    background-repeat: no-repeat;
}

[contenteditable="true"] .aside-contact__item .line-link {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -0.03em;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

[contenteditable="true"] .aside-contact__item:last-child {
    border-bottom: none;
}

.calculator-modal {
    padding: 0;
}

[contenteditable="true"] .q-info {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: rgba(225, 248, 254, 0.4);
    border-radius: 4px;
    padding: 24px 16px;
    margin-bottom: 0 !important;
    display: flex !important;
}

[contenteditable="true"] .q-info__icon {
    width: 42px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-right: 24px;
}

[contenteditable="true"] .q-info__icon img {
    width: 100%;
}

.files-xlsx {
    background-image: url("/local/html/static/img/svg-sprite/sprite.svg?v=1.1");
    background-position: -4px -4470px;
    width: 32px!important;
    height: 32px!important;
    background-repeat: no-repeat;
}
.files-doc {
    background-image: url("/local/html/static/img/svg-sprite/sprite.svg");
    background-position: -4px -1457px;
    width: 32px!important;
    height: 32px!important;
    background-repeat: no-repeat;
}

.files-docx {
    background-image: url("/local/html/static/img/svg-sprite/sprite.svg");
    background-position: -4px -1457px;
    width: 32px!important;
    height: 32px!important;
    background-repeat: no-repeat;
}

.files-pdf {
    background-image: url("/local/html/static/img/svg-sprite/sprite.svg");
    background-position: -4px -1529px;
    width: 32px!important;
    height: 32px!important;
    background-repeat: no-repeat;
}