html,
body {
    min-height: 100svh;
    overflow-wrap: break-word;
    font-family: var(--solo-font);
    font-size: var(--solo-px16);
    line-height: var(--solo-px32);
    font-weight: normal;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    display: flex;
    flex-direction: column;
}

.dialog-off-canvas-main-canvas {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.page-wrapper {
    flex: 1 1 auto;
    display: flex !important;
    flex-direction: column !important;
}

.page-wrapper>.main-container {
    flex: 1 1 auto;
}

html {
    overflow-x: hidden;
}

/* HTML tags */
h1 {
    font-size: var(--solo-px36);
    /* 36px */
}

h2 {
    font-size: var(--solo-px32);
    /* 32px */
}

h3 {
    font-size: var(--solo-px24);
    /* 24px */
}

h4 {
    font-size: var(--solo-px20);
    /* 20px */
}

h5 {
    font-size: var(--solo-px18);
    /* 18px */
}

h6 {
    font-size: var(--solo-px16);
    /* 16px */
}

h1,
h2,
h3,
.site-name,
.site-slogan {
    font-weight: 700;
    font-family: var(--solo-h1);
    margin: var(--solo-px12) 0;
}

h4,
h5,
h6 {
    font-weight: normal;
    margin: var(--solo-px8) 0;
}

hr {
    border: 0;
    border-top: var(--solo-px2) solid var(--r-br, var(--r-br-b));
    margin: var(--solo-px20) 0;
}

.solo-image {
    max-width: 100%;
    height: auto;
}

img {
    vertical-align: middle;
}

img {
    max-width: 100%;
    height: auto;
}

.img-placeholder {
    width: 100%;
    height: auto;
    display: block;
    text-align: center;
    font-size: 14px;
}

/* End Var tags */
.solo-container::after,
.solo-container::before,
.solo-panel::after,
.solo-panel::before,
.solo-row::after,
.solo-row::before,
.solo-clear::after,
.solo-clear::before {
    content: "";
    display: table;
    clear: both;
}

::placeholder {
    color: var(--r-tx);
    opacity: 0.7;
    font-size: 90%;
}

::-ms-input-placeholder {
    color: var(--r-tx);
    opacity: 0.7;
}

/*Unordered list */
.solo-ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    line-height: inherit;
}

.solo-ul li {
    padding: var(--solo-px8) var(--solo-px16);
}

/* Button */
.button,
.solo-button {
    display: inline-block;
    padding: var(--solo-px8);
    line-height: inherit;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: inherit;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    text-overflow: ellipsis;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.form-submit,
[type="submit"],
.solo-button.button--primary,
.block-user-login-block form+.item-list ul li a {
    border-width: var(--solo-px1);
    border-style: solid;
    padding: var(--solo-px10) var(--solo-px24);
    margin: var(--solo-px6) auto;
    float: none;
    text-align: center;
}

.solo-button:disabled {
    cursor: not-allowed;
    opacity: 0.3;
}

.solo-button.button--small {
    padding: var(--solo-px8);
    margin: var(--solo-px2) auto;
}

/* Forms Elements */
.form-type-date>input {
    max-height: 3.125rem;
}

.solo-check,
.solo-radio,
[type="radio"],
[type="checkbox"] {
    width: var(--solo-px24);
    height: var(--solo-px24);
    position: relative;
    border: var(--solo-px1) solid var(--r-br, var(--r-br-b));
    line-height: inherit;
}

textarea,
.solo-input,
.solo-textarea,
input[type="text"],
input[type="email"],
input[type="password"] {
    max-width: 100%;
    padding: var(--solo-px10) var(--solo-px8);
    display: block;
    width: 100%;
    border: var(--solo-px1) solid var(--r-br, var(--r-br-b));
    line-height: inherit;
}

select,
.solo-select {
    max-width: 100%;
    display: block;
    line-height: inherit;
    border: var(--solo-px1) solid var(--r-br, var(--r-br-b));
    padding: var(--solo-px10) var(--solo-px40) var(--solo-px10) var(--solo-px8);
    width: 100%;
    background-image: var(--solo-select-arrow-icon);
    background-repeat: no-repeat;
    background-position: right var(--solo-px10) center;
    font-family: inherit;
    font-size: inherit;
    -webkit-appearance: none;
    appearance: none;
}

.dropbutton-wrapper>div {
    border: var(--solo-px1) solid var(--r-br, var(--r-br-b));
    padding-top: var(--solo-px6);
    padding-bottom: var(--solo-px6);
}

.dropbutton-multiple.open .dropbutton-arrow {
    top: var(--solo-px20);
}

select[disabled] {
    color: var(--solo-white);
    background-color: var(--solo-dark-gray);
}

select.error {
    border: solid var(--solo-px2) var(--solo-red);
}

select.error:focus {
    outline-color: var(--solo-green);
}

select[multiple] {
    height: auto;
    background-image: none;
    padding: var(--solo-px4) var(--solo-px8);
}

select[multiple] option {
    padding: var(--solo-px4) var(--solo-px8);
}

ol {
    display: block;
}

.form-type-number>label {
    width: 100%;
}

.field-prefix,
.field-suffix {
    padding: var(--solo-px16) var(--solo-px8);
    vertical-align: middle;
}

.solo-padding {
    padding: var(--solo-px8) var(--solo-px16);
}

.solo-container,
.solo-panel {
    padding: var(--solo-px3) var(--solo-px16);
}

.solo-panel {
    margin-top: var(--solo-px16);
    margin-bottom: var(--solo-px16);
}

.solo-small {
    font-size: var(--solo-px13);
    line-height: var(--solo-px16);
}

.solo-medium {
    font-size: var(--solo-px16);
    line-height: var(--solo-px18);
}

.solo-bar {
    width: 100%;
    overflow: hidden;
}

.solo-bar .solo-bar-item {
    padding: var(--solo-px8) var(--solo-px16);
    float: left;
    width: auto;
    border: none;
    display: block;
    outline: 0;
}

.solo-section {
    margin-top: var(--solo-px16);
    margin-bottom: var(--solo-px16);
}

.solo-block {
    display: block;
    width: 100%;
}

.solo-responsive {
    display: block;
    overflow-x: auto;
}

.links.inline {
    display: flex;
    justify-content: right;
    font-size: var(--solo-px14);
}

form fieldset:not(td fieldset) {
    border: 1px solid var(--r-br, var(--r-br-b)) !important;
    margin-top: var(--solo-px12);
}

/* Global Classes */
.solo-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}

.solo-relative {
    position: relative;
    width: 100%;
}

.visuallyhidden {
    opacity: 0;
}

.dis-box-shadow {
    box-shadow: none !important;
}

.dis-border {
    border: 0 !important;
}

.dis-border-radius {
    border-radius: 0 !important;
}

.dis-margin {
    margin: 0 !important;
}

.dis-padding {
    padding: 0 !important;
}

.dis-opacity {
    animation: none !important;
}

.dis-text-transform {
    text-transform: none !important;
}

.solo-card {
    -webkit-box-shadow: 0 var(--solo-px1) var(--solo-px3) 0 rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 var(--solo-px1) var(--solo-px3) 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 var(--solo-px1) var(--solo-px3) 0 rgba(0, 0, 0, 0.12);
}

#visually-impaired-module-special .form-submit {
    margin: 0;
    padding: var(--solo-px8) var(--solo-px16) !important;
    color: #ebe9d9;
    box-shadow: none !important;
}

#visually-impaired-module-special .form-submit:hover {
    margin: 0;
    padding: var(--solo-px8) var(--solo-px16) !important;
    color: #f3f4f1;
    animation: none !important;
    box-shadow: none !important;
    background-color: color-mix(in srgb, #da805f 90%, #fff 10%) !important;
}

.ck-content{
width: 1200px !important;
}

#header-inner #block-solo-pereklyuchatelyazyka .links {
    display: flex;
    align-items: center;
}

#header-inner #block-solo-pereklyuchatelyazyka .links li {
    font-size: inherit !important;
    line-height: inherit !important;
    position: relative;
}

#header-inner #block-solo-pereklyuchatelyazyka .links li:hover {
    margin: 0;
    padding: var(--solo-px8) var(--solo-px16) !important;
    color: #f3f4f1;
    box-shadow: none !important;
    background-color: color-mix(in srgb, #da805f 90%, #fff 10%) !important;
}

.site-name-link {
    font-size: 20px;
    width: 25em !important;
    line-height: 1.25em !important;
    font-weight: 400;
}

#breadcrumb .breadcrumb-menu li:first-child a {
    padding-left: 0;
}

#sidebar-box-first .region-inner {
    padding-left: 0;
    padding-top: 0;
}

#sidebar-box-first .region-inner .navigation__menubar>li>* {
    padding-left: 0;
}

#block-solo-karta iframe {
    width: 100%;
}

#block-solo-karta {
    position: relative;
    background: #efe7dd;
}

#block-solo-karta::before,
#block-solo-karta::after {
    display: none;
}

#main-footer-bottom {
    background: #efe7dd;
}

#block-solo-local-tasks a:not(.nav__menu-link,
    .button,
    .site-name-link,
    .site-logo,
    h1 a,
    h2 a,
    h3 a) {
    color: #2a4965;
}

.site-logo-img {
    width: 100px;
    height: auto;
    aspect-ratio: 1;
}

.solo-karta-adress {
    position: absolute;
    left: 50px;
    top: 50px;
    background-color: #ebe9d9;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

#sidebar-box-main .region-inner:has(#swiper-slider-block-1) {
    padding: 0;
    background-color: transparent;
    position: relative;
}

#swiper-slider-block-1 {
    border-radius: 8px;
}

#sidebar-box-main #swiper-slider-block-1 .swiper-slide {
    position: relative;
    height: 100%;
}


#sidebar-box-main #swiper-slider-block-1 .swiper-slide .views-field-field-entity-link {
    position: absolute;
    left: 50px;
    bottom: 25px;
    background-color: #ebe9d9;
    padding: 16px;
    display: flex;
    flex-direction: column;
    line-height: 1em;
    gap: 10px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

#sidebar-box-main #swiper-slider-block-1 .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: none !important;
    aspect-ratio: 21 / 9;
}

.view-content:has(.main-news-row) {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.main-news-row {
    width: calc((100% - 40px) / 3);
}

.main-news-row img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

#footer-box-first {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

#swiper-partners-block-1 {
    max-width: 100%;
    overflow: hidden;
}

#swiper-partners-block-1 .swiper-slide a {
    display: inline-flex;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid #241571;
    text-align: center;
    transition: all 0.1s ease-in-out;
}

#block-solo-views-block-useful-links-block-1 {
    margin-top: 16px;
}

#block-solo-views-block-news-block-1 img {
    border-radius: 8px;
}

#breadcrumb {
    border-bottom: 1px solid var(--r-tx-lk);
}

.administration-row {
    display: grid;
    grid-template-areas:
        "img name"
        "img pos"
        "img phone"
        "img place"
        "img cabnum";
    gap: 10px 30px;
    align-items: start;
    grid-template-columns: 250px 1fr;
    padding-bottom: 16px;
    margin-bottom: 16px;
    grid-template-rows: min-content min-content min-content min-content 1fr;
    border-bottom: 2px solid #da805f;
    font-weight: 500;
    font-size: 1.125rem;
    line-height: 1.25em;
}

.administration-row:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.administration-row::before,
.administration-row::after {
    display: none;
}

.administration-row .views-field-field-avatar {
    grid-area: img;
}

.administration-row .views-field-title {
    grid-area: name;
    font-weight: 600;
}

.administration-row .views-field-field-job {
    grid-area: pos;
}

.administration-row .views-field-field-phone {
    grid-area: phone;
}

.administration-row .views-field-field-floor {
    grid-area: place;
}

.administration-row .views-field-field-room {
    grid-area: cabnum;
}

.news-row:not(:last-child) {
    padding-bottom: 18px;
    margin-bottom: 5px;
    border-bottom: 2px solid #da805f;
}

.swiper-button-next,
.swiper-button-prev {
    text-decoration: none;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #f3f4f1;
    border-radius: 50%;
    position: absolute;
    top: calc(50%);
    z-index: 10;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #ebe9d9;
    box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.3);
}

.swiper-button-next::after {
    height: 24px;
    aspect-ratio: 1;
    font-size: 0px;
    padding-left: 2px;
    content: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M9 20L7 18L13 12L7 6L9 4L17 12L9 20Z" fill="%23DA805F"/></svg>');
}

.swiper-button-prev::after {
    height: 24px;
    aspect-ratio: 1;
    font-size: 0px;
    margin-left: -2px;
    content: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15 4L17 6L11 12L17 18L15 20L7 12L15 4Z" fill="%23DA805F"/></svg>');
}

.usefull-links .swiper-slide {
    filter: grayscale(1);
    transition: all 0.3s ease-in-out;
}

.usefull-links .swiper-slide:hover {
    filter: grayscale(0);
}

.view-specialties .views-row:has(.views-row) {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.view-specialties .views-field-field-photo .field-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.view-specialties .views-field-field-photo a {
    width: calc((100% - 60px) / 4);
}

.view-specialties .views-field-field-photo a img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.views-field-field-logo {
    margin: 1em 0;
}

.views-field-field-klassifikator {
    font-weight: 600;
    font-size: 20px;
}

.ckeditor-accordion-container>dl dt>a,
.ckeditor-accordion-container>dl dt>a:not(.button) {
    background-color: #da805f;
}

.ckeditor-accordion-container>dl dt>a:hover,
.ckeditor-accordion-container>dl dt>a:not(.button):hover {
    background-color: color-mix(in srgb, #da805f 90%, #fff 10%) !important;
}
.ckeditor-accordion-container > dl {
    border-color: #ebe9d9;
}
.ckeditor-accordion-container > dl dt > a, .ckeditor-accordion-container > dl dt > a:not(.button) {
    border-color: #ebe9d9;
}
.ckeditor-accordion-container > dl dd {
    margin-bottom: 15px;
}

table {
			max-width: 1536px;
            width: 100%;
            border-collapse: collapse;
            overflow-x: auto; /* Горизонтальная прокрутка при переполнении */
            display: block; /* Чтобы работал overflow-x */
}
@media (max-width: 1600px) {
    
table {
			max-width: calc(100vw - 64px);
}
}
@media (max-width: 1450px) {
    .header-inner {
        flex-direction: row !important;
        justify-content: flex-start !important;
    }

    #block-solo-views-block-logotip-block-1 {
        order: 1;
        margin-bottom: 20px;
    }

    #block-solo-branding {
        width: calc(100% - 130px);
        order: 2;
        margin-bottom: 20px;
    }

    #search-button-open {
        order: 6;
    }

    #block-solo-account-menu {
        order: 5;
    }

    #block-solo-visuallyimpairedblock {
        order: 4;
    }

    #block-solo-pereklyuchatelyazyka {
        order: 3;
    }
}

@media (max-width: 800px) {
    .header-inner {
        font-size: 14px;
    }

    #sidebar-box-second .views-field-field-avatar img {
        width: 400px;
    }

    #sidebar-box-second .views-field-field-avatar .field-content {
        display: flex;
        justify-content: center;
    }

    .actual-block .actual-row {
        width: calc(50% - 10px);
    }
}

@media (max-width: 600px) {
    .header-inner {
        font-size: 12px;
    }

    .site-name-link {
        width: auto !important;
        font-size: 14px;
    }

    #swiper-logotip-block-1 .swiper-wrapper {
        width: 50px !important;
    }

    #block-solo-branding {
        width: calc(100%);
    }

    #block-solo-account-menu {
        display: none;
    }

    .header-inner .solo-ul li,
    #visually-impaired-module-special .form-submit,
    #search-button-open button span {
        padding: 6px 10px;
        height: 44px;
        line-height: 1em;
    }

    #sidebar-box-main #block-solo-views-block-slider-block-1 .swiper-slide img {
        aspect-ratio: 16 / 9;
    }

    #sidebar-box-main #swiper-slider-block-1 .swiper-slide .views-field-field-entity-link {
        left: 10px;
        bottom: 10px;
        width: calc(100% - 20px);
        padding: 10px;
        border-radius: 8px;
        font-size: 14px;
    }

    #sidebar-box-second .views-field-field-avatar img {
        width: 300px;
    }

    .actual-block .actual-row {
        width: calc(100%);
        padding: 0 16px;
    }

    .main-news-row {
        width: calc(100%);
    }

    .solo-karta-adress {
        left: 10px;
        top: 10px;
        width: calc(100% - 20px);
        padding: 10px;
        font-size: 14px;
    }

    .page-wrapper table {
        overflow: auto;
    }

    #block-solo-main-menu {
        max-width: 100vw;
    }

    #main-menubar--2 {
        padding-top: 0px;
        padding-bottom: 0px;
        margin-top: 0px;
        margin-bottom: 0px;
        box-sizing: border-box;
        transition-property: height, margin, padding;
        transition-duration: 400ms;
        transition-timing-function: ease-in-out;
        display: none;
    }

    #search-button-open svg {
        width: 1.5rem !important;
        height: 1.5rem !important;
    }
}

