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: #f1effc;
  box-shadow: none !important;
  background-color: #241571 !important;
}

#visually-impaired-module-special .form-submit:hover {
  margin: 0;
  padding: var(--solo-px8) var(--solo-px16) !important;
  color: #ffffff;
  animation: none !important;
  box-shadow: none !important;
  background-color: #4f35d9 !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;
  color: #f1effc !important;
  box-shadow: none !important;
  background-color: #241571 !important;
}

#header-inner #block-solo-pereklyuchatelyazyka .links li:hover {
  margin: 0;
  padding: var(--solo-px8) var(--solo-px16) !important;
  color: #ffffff !important;
  animation: none !important;
  box-shadow: none !important;
  background-color: #4f35d9 !important;
}

#header-inner #block-solo-pereklyuchatelyazyka .links li a {
  color: #f1effc !important;
}

#header-inner #block-solo-pereklyuchatelyazyka .links li:hover a {
  color: #ffffff !important;
}

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

#header-inner #search-button-open button {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

#block-solo-pereklyuchatelyazyka li:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

#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;
}

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

.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);
}

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

.block-views-blockcurrent-sections-block-1 .solo-block-title {
  text-align: center;
}

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

#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: 10px;
}

#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;
}

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

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

.administration-row {
  display: grid;
  grid-template-areas:
    "management management"
    "img name"
    "img pos"
    "img phone"
    "img address";
  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 #241571;
  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-management-position {
  grid-area: management;
  padding-bottom: 10px;
  font-size: 1.25rem;
}

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

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

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

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

.administration-row .views-field-field-phone {
  grid-area: phone;
  padding-top: 10px;
}

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

.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="%23241571"/></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="%23241571"/></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;
}

#sidebar-box-second .administration-row {
  display: flex;
  gap: 10px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#sidebar-box-second .administration-row::before {
  display: none !important;
}

#sidebar-box-second .administration-row > * {
  width: 100%;
}

#sidebar-box-second .views-field-field-avatar img {
  object-fit: cover;
  width: 100%;
  aspect-ratio: 2 / 2;
  border-radius: 16px;
}

#sidebar-box-second .administration-row .views-field-field-management-position,
#sidebar-box-second .administration-row .views-field-field-phone {
  padding: 0;
}

#sidebar-box-second .region-inner {
  background-color: transparent;
  padding: 0;
}

.photoswipe-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.element-container-wrapper .container {
  margin: 0 auto;
}

.actual-block .view-content {
  margin: 30px 0;
  display: flex;
  gap: 20px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.actual-block .actual-row {
  width: calc((100% - 60px) / 4);
}

.actual-block .actual-row a {
  width: 100%;
  display: inline-block;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #241571;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.actual-block .actual-row a:hover {
  box-shadow: 0px 0px 8px 0px rgba(35, 21, 113, 0.5);
}

.sidebar-box-current_sections {
  background-color: #fff;
}

#footer-container:has(.swiper-container) .footer-box-inner,
#footer-container:has(.swiper-container) {
  background: #fff;
}

#swiper-logotip-block-1 {
  margin-right: 30px;
}

#swiper-logotip-block-1 * {
  background: transparent !important;
}

#swiper-logotip-block-1 .swiper-wrapper {
  width: 100px !important;
}
#swiper-partners-block-2 .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;
  padding: 10px;
}
#swiper-partners-block-2 .swiper-slide a:hover {
  box-shadow: 0px 0px 8px 0px rgba(35, 21, 113, 0.5);
}
#bottom-container #bottom-box-second a:has(img) {
  border-radius: 16px;
  overflow: hidden;
}
#block-visually-impaired-theme-karta {
  position: relative;
}
#sidebar-box-main:has(.swiper-slide) .region-inner {
  padding: 0 !important;
}
@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% - 80px);
  }
  #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: 4 / 3;
  }
  #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(50% - 10px);
  }
  .main-news-row:last-child {
    display: none;
  }
  .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;
}
}
