.cookie ul {
  margin-left: 2em;
}

.cookie .cookie_spoil {
  margin-top: 1.5em;
  margin-bottom: 1em;
  border-radius: 0.5em;
  background-color: rgba(0, 0, 0, 0.05);
  padding: 0.5em;
}

.cookie .cookie_spoil dt {
  font-weight: 600;
  margin-bottom: 0.5em;
}

.cookie .cookie_spoil dd {
  margin-bottom: 1em;
  font-style: normal;
}

.cookie .cookie_spoil_header {
  padding: 0.5em 0.5em 0.5em 3em;
  text-align: left;
  cursor: pointer;
  position: relative;
  text-overflow: ellipsis;
}

.cookie .cookie_spoil_header:hover {
  box-shadow: inset 0 0 3px #00f0ff;
  border-radius: 0.5em;
}

.cookie .cookie_spoil_header:before,
.cookie .cookie_spoil_header:after {
  content: "";
  width: 1.1em;
  height: 4px;
  background-color: #393185;
  position: absolute;
  top: 50%;
  transition: all 0.3s ease 0s;
}

.cookie .cookie_spoil_header:before {
  transform: rotate(45deg);
  right: 3em;
}

.cookie .cookie_spoil_header:after {
  transform: rotate(-45deg);
  right: 2.4em;
}

.cookie .cookie_spoil_header.active:before,
.cookie .cookie_spoil_header.active:after {
  background-color: #555;
}

.cookie .cookie_spoil_header.active:before {
  transform: rotate(-45deg);
}

.cookie .cookie_spoil_header.active:after {
  transform: rotate(45deg);
}

.cookie .cookie_spoil_text {
  margin-top: 1em;
  margin-left: 1em;
  font-style: italic;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.cookie .cookie_spoil_text.open {
  max-height: 100%;
  transition: max-height 0.3s ease;
}

.cookie hr {
  border: 1px solid #eee;
}

.cookie h5 {
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 1em;
  margin-bottom: 0.5em;
}

.policy h5,
.cookie h5 {
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 1em;
  margin-bottom: 0.5em;
}

.offcanvas-menu{
  background-color: #2c2869;
  color: #fafafa;
}
.offcanvas-menu .offcanvas-inner ul.menu>li a, .offcanvas-menu .offcanvas-inner ul.menu>li span{
  color: #fafafa;
}
.offcanvas-menu .offcanvas-inner .menu a:hover{
  color: #f81290;
}
.offcanvas-menu .offcanvas-inner .menu .active a {
  color: #0ea7ab;
}
/*contacts*/
.contacts {
  padding: 1.5em 0 1.25em 0;
}
.subtitle{
  margin: 0.625em 0 1em 0;
  font-size: 1.25rem;
  word-wrap: break-word;
}

.contacts_header {
  width: 100%;
  padding: 0 20px;
}

.contacts_row {
  width: 100%;
  margin-top: 1em;
}
@media (min-width: 48em) {
  .contacts_row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1em;
  }
}

.contacts_column {
  width: 100%;
  padding: 0 0.8em;
  margin-bottom: 1em;
}
@media (min-width: 48em) {
  .contacts_column {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom:0
  }
}

.contacts_item {
  width: 100%;
  margin: 0.625em 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.contacts_text {
  font-size: 1.1rem;
  text-align: left;
  margin: 0.5em;
  line-height: 1.3;
}
@media (min-width: 41em) {
  .contacts_text {
    margin: 1em;
    line-height: 1.5;
  }
}

.contacts_image {
  margin: 0.5em;
}
.contacts_image img {
  max-width: 100%;
}

#map {
  text-align: center;
}
#map iframe {
  width: 90%;
  height: 21.875em;
}
@media (min-width: 41em) {
  #map iframe {
    width: 100%;
    height: 25em;
  }
}

.contact h1 .contact-name{
    font-size: 1.4rem;
  }
.contact h2 {
  font-size: 1.2rem;
}
@media (min-width: 25em){
  .contact h1 .contact-name{
    font-size: 1.8rem;
  }
  .contact h2{
    font-size: 1.5rem;
  }
}

@media (min-width: 48em){
  .contact h1 .contact-name{
    font-size: 2.2rem;
  }
  .contact h2{
    font-size: 1.8rem;
  }
}

@media (min-width: 75em){
  .contact h1 .contact-name{
    font-size: 3rem;
  }
  .contact h2{
    font-size: 2rem;
  }
}

@media (min-width: 62em){
  #sp-menu .sp-megamenu-parent > li > a, 
  #sp-menu .sp-megamenu-parent > li > span, 
  #sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
    font-size: 1.1rem;
  }
}

@media (min-width: 75em){
  #sp-menu .sp-megamenu-parent > li > a, 
  #sp-menu .sp-megamenu-parent > li > span, 
  #sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
    font-size: 1.2rem;
  }
}

/* #sp-header .logo{ */
  /* padding-bottom: 1em; */
/* } */

@media (max-width: 48em){
  .speasyimagegallery-image-description{
    display: none;
  }
}

.sp-page-title{
  background: var(--bs-gray-100);
}

.sp-page-title .sp-page-title-heading{
  color: #111111;
  font-weight: 500;
}
/*
#section-id-863d1c2a-bfce-42a4-be10-13f83e6963f2{
  width: 100%;
  background-image: url(/files/2026/01/21/record-header-bg.webp);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-clip: border-box;
  background-color: #DEE0E3;
}
*/
#main,
#nle,
#replay,
#videoreferee{
    position: relative;
    height: 100%;
    width: 100%;
}

#main::before,
#nle::before,
#replay::before,
#videoreferee::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.9;
    background-color: #DEE0E3;
    z-index: -1;
}
#main::before{
  background-image: url(/files/2026/01/21/main-header-bg.webp);
}
#nle::before{
  background-image: url(/files/2026/01/21/record-header-bg.webp);
}
#replay::before{
  background-image: url(/files/2026/01/21/replays-header-bg.webp);
}
#videoreferee::before{
  background-image: url(/files/2026/01/21/videoreferee-header-bg.webp);
}

@media screen and (max-width: 1024px) {
  #nle::before,
  #replay::before,{
      opacity: 0.6;
    }

@media screen and (max-width: 768px) {
  #main::before,
  #nle::before,
  #replay::before,
  #videoreferee::before{
      background-image: url(/files/2026/01/21/bg.webp);
      background-repeat: repeat;
      background-color: #DEE0E3;
      background-position: 50% 50%; /* Фокус на центре для мобильных */
    }
