/* Общее */
:root {
  --color-primary: #00a1db;
  --color-orange: #ff2b00;
  --color-orange-secondary: hsl(from var(--color-orange) h s calc(l + 13));
  --livewire-progress-bar-color: #2299dd;
  --top-menu-height: 50px;
  --container-padding: clamp(1rem, 4vmax, 5rem);
  --text-size-primary: clamp(1rem, 3vmin, 1.75rem);
  --container-padding: clamp(1rem, 4vmax, 5rem);
  --inner-padding: calc(var(--container-padding) * .66);
          --margin: max(7.5vmin, 1rem);
          --margin-small: calc(var(--margin) / 2);
}
/* #Reset & Basics (Inspired by E. Meyers)
================================================== */
	html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
		margin: 0;
		padding: 0;
		border: 0;
		font-size: 100%;
		vertical-align: baseline; }
	article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
		display: block; }
	body {
		line-height: 1; }
	ol, ul {
		list-style: none; }
	blockquote, q {
		quotes: none; }
	blockquote:before, blockquote:after,
	q:before, q:after {
		content: '';
		content: none; }
	table {
		border-collapse: collapse;
		border-spacing: 0; }

sup {
  font-size: 50%;
  vertical-align: super;
}
.clear {
  clear: both;
}

body {
  font-family: Manrope, sans-serif;
  font-weight: 200;
  font-size: 16px;
  font-weight: normal;
  color: #565655;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  line-height:normal;
      font-weight: 400;
}
html, body {
height: 100%;
}
.footer {
flex-shrink: 0;
}
main {
flex: 1 0 auto;
margin-top: var(--top-menu-height, min(3lh, 10vh));
}
.content {
  position: relative;;
  box-sizing: border-box;
  max-width: 1600px;
    padding: var(--container-padding);
    z-index: 1;
    margin: 0 auto;
}
.content_wide {
  position: relative;
  width: 100%;
  padding: 0 40px;
  margin: 0;
}
.text {
  counter-reset: item;
}
p {
      margin-block: .75em;
  vertical-align: inherit;
}
a, a:visited, a:active {
  color: #161616;
  font-size: 16px;
  text-decoration: underline;
  -webkit-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  transition: all 300ms ease;
}
a:hover {
  text-decoration: none;
}
.dib {
    display: inline-block;
}
ul {
  padding: 10px 0;
}
li {
  padding: 2px 0 2px 6px;
  margin-left: 20px;
}
ul li {
  list-style-type: disc;
}
h1 {
  font-size: 29px;
  font-weight: 600;
  line-height: 1.2;
  padding: 0;
  margin: 0;
  color: var(--color-primary);
}
.text p {
  line-height: 1.55;
}
h1 {
  font-size: clamp(1.125rem, 5.5vw, 2.5rem);
    font-weight: inherit;
}
.text h2 {
font-size: clamp(1.125rem, 5.5vw, 2.5rem);
    font-weight: inherit;
}
.text h3 {
  margin: 25px 0 10px 0;
  color: var(--color-primary);
  font-weight: normal;
  font-size: 25px;
}
h4 {
    font-size: 1.3em;
    margin: 0.5em 0;
}
.text ol {
  list-style-type: none;
}
.text ul li {
  list-style-type: none;
  list-style: none;
}
.text li {
  position: relative;
  padding: 8px 0 8px 30px;
  margin-left: 0;
}
.text ol li:before {
  content: counter(item);
  counter-increment: item;
  height: 20px;
  width: 20px;
  border: 1px solid var(--color-primary);
  border-radius: 50%;
  color: #ffffff;
  text-align: center;
  position: absolute;
  left: 0;
  top: 6px;
  background-color: var(--color-primary);
}
.text ul li:before {
  content: "";
  height: 8px;
  width: 8px;
  border: 1px solid var(--color-primary);
  border-radius: 50%;
  color: #ffffff;
  text-align: center;
  position: absolute;
  left: 7px;
  top: 14px;
  background-color: var(--color-primary);
}
.btn.big {
  padding: 9px 26px 12px 26px;
  font-size: 24px;
}
.btn.mini {
  padding: 7px 16px 8px 16px;
  font-size: 18px;
}
.btn {
  background: var(--color-orange-secondary);
  text-align: center;
  text-decoration: none;
  border: none;
  padding: 0.5em 1.3em;
  border-radius: 2em;
  font-weight: normal;
  outline: none;
  cursor: pointer;
  color: #fff;
  -webkit-transition: all 0.35s ease-in-out 0s;
  -moz-transition: all 0.35s ease-in-out 0s;
  -o-transition: all 0.35s ease-in-out 0s;
  -ms-transition: all 0.35s ease-in-out 0s;
  transition: all 0.35s ease-in-out 0s;
}
.btn:hover {
  color: #fff;
  background: var(--color-orange);
}
.btn-block {
  position: relative;
  margin-top: 2em;
}
.btn-register {
  position: relative;
  display: inline-block;
}
.btn.white {
  color: #fff;
}
.btn.white:hover {
  color: #fff;
  background-color: var(--color-primary);
}
.btn.black {
  color: #161616;
  border: 2px solid #161616;
  font-weight: 500;
}
.btn.black:hover {
  color: #fff;
  background-color: var(--color-primary);
}
.wrapp_bg {
  height: 5px;
  width: 100%;
  position: relative;
  display: block;
  margin: 70px 0;
  padding: 0;
  background: rgb(255,141,8);
  background: linear-gradient(90deg, rgba(255,141,8,1) 0%, rgba(255,141,8,1) 33%, rgba(22,162,211,1) 33%, rgba(22,162,211,1) 66%, rgba(20,92,194,1) 66%);
}
article.page {
  margin: 0 0 90px 0;
}
.header_content {
  padding-bottom: 0;
}
/* Общее конец */
/* Шапка */
header.shapka {
  position: fixed;
  width: 100%;
  background: var(--color-primary);
  height: var(--top-menu-height, min(3lh, 10vh));
  z-index: 999;
  -webkit-transition: all 0.35s ease-in-out 0s;
  -moz-transition: all 0.35s ease-in-out 0s;
  -o-transition: all 0.35s ease-in-out 0s;
  -ms-transition: all 0.35s ease-in-out 0s;
  transition: all 0.35s ease-in-out 0s;
  top: 0;
}
header.shapka.fixed .hblok.blokh1 img {
  width: 77px;
}
header.shapka * {
  -webkit-transition: all 0.35s ease-in-out 0s;
  -moz-transition: all 0.35s ease-in-out 0s;
  -o-transition: all 0.35s ease-in-out 0s;
  -ms-transition: all 0.35s ease-in-out 0s;
  transition: all 0.35s ease-in-out 0s;
}
header.shapka .content_wide {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  color: #ffffff;
}
a.header__logo-link {
    display: none;
}
.hblok {
    height: 100%;
}

.hblok.blokh4 a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    height: 100%;
    -webkit-transition: all 0.35s ease-in-out 0s;
    -moz-transition: all 0.35s ease-in-out 0s;
    -o-transition: all 0.35s ease-in-out 0s;
    -ms-transition: all 0.35s ease-in-out 0s;
    transition: all 0.35s ease-in-out 0s;
    background: #26baef;
    padding-inline: clamp(1rem, 1.75vw, 1.5rem);
}
.hblok.blokh4 a:hover {
    background: hsl(from var(--color-primary) h s calc(l - 5));
}
nav#navMain {
    height: 100%;
}
ul#top-nav {
    height: 100%;
    padding: 0;
}
.hblok.blokh1 {
  margin: 0 0 0 40px;
  width: 200px;
}
.hblok.blokh1 img {
  width: 140px;
}

.top-menu.main {
  display: flex;
}

.top_main_nav {
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  -webkit-user-select: none;
}
ul#top-nav li {
    list-style: none;
    display: inline-block;
    height: 100%;
    padding: 0;
    margin: 0;
}
ul#top-nav li a {
  text-transform: uppercase;
  align-items: center;
  padding-inline: clamp(1rem, 1.75vw, 1.5rem);
  font-size: clamp(1rem, 2vmin, 1.125rem);
  text-decoration: none;
  color: #fff;
  transition: all .2s;
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;

}
ul#top-nav li a:hover {
  background: hsl(from var(--color-primary) h s calc(l - 5));
  color: #fff;
}
ul#top-nav .current-menu-item a {
  border-bottom: 2px solid;
  border-color: inherit;
}
.content_wide.black a.btn.white {
  color: #161616;
  border: 2px solid #161616;
}
.content_wide.black a.btn.white:hover {
  color: #ffffff;
  background-color: #161616;
}
.blokh5 svg {
  width: 27px;
  stroke: var(--color-primary);
}
.content_wide.black .blokh5 svg {
  fill: #000;
}
.hblok.blokh5 {
  margin: 0 40px 0 0;
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: center;
  align-self: center;
}
ul#top-nav li.wpml-ls-item a:hover {
  text-decoration: none;
  border-bottom: none;
}
ul#top-nav li.wpml-ls-item{
  margin: 0px 10px;
}
ul#top-nav .wpml-ls-menu-item .wpml-ls-flag {
  vertical-align: middle;
}
.blokh5 .btn.mini {
  margin: 0 25px 0 0;
}
.head_btn_bl svg {
  display: none;
}
/* Всплывающие подсказки */
span.tippy.phone, span.tippy.mail {
  margin: 0 20px 0 0;
}
span.tippy {
  cursor: pointer;
}
.tippy-content {
  padding: 7px 17px !important;
}
.tippy-content a {
  color: #fff;
  text-decoration: none;
}
/* Шапка конец */
/* Первый блок */
.home .top_bl h1, .top_bl h1.small {
  font-size: clamp(1.375rem, 4.5vw, 2rem);
}

.top_bl {
    background-color: #e8f4fa;
}
.top_bl .content {
    gap: var(--container-padding);
    flex-flow: wrap;
    display: flex;
    padding: var(--container-padding);
    font-size: var(--text-size-primary);
    font-weight: inherit;
        align-items: center;
}
.top_bl_left {
    margin: 0;
    flex: 350px;
}
.top_bl_right {
    margin: 0;
    flex: 150px;
        display: flex;
    justify-content: flex-end;
}
.top_bl h1 {
  color: var(--color-primary);
  font-weight: inherit;
}
.top_bl h1, .h1 {
    margin-block: .5em;
    font-size: clamp(1.375rem, 4.5vw, 4rem);
    line-height: 1.2;
}
.bot_top {
    flex: 100%;
    display: flex;
}
.bot_top .loc {
    flex: 50%;
}
.bot_top .date {
    flex: 50%;
    text-align: right;
    white-space: nowrap;
}
.date span {
    background: var(--color-orange-secondary);
    color: #fff;
    border-radius: .75em;
    padding: .25em 1em;
}
/* Первый блок конец */
/* Таблица */
.time_t {
    background: #e1f5fe;
    border-radius: .5em;
    padding: .5em;
    line-height: 1;
    display: inline-block;
    grid-area: time;
    text-align: center;
}
.name_t {

    line-height: 1.33;
    font-weight: 600;
    grid-area: title;
    padding-top: .5rem;
    font-size: min(1.2rem, 1.7rem + 1.4vmin);
}
.txt_t {
    grid-area: info;
    padding-bottom: .5rem;
}
.header_t {
    margin-top: var(--inner-padding);
    top: calc(var(--top-menu-height) + .5em);
    color: #fff;
    margin-bottom: var(--inner-padding);
    background-color: #0287cf;
    border-radius: .75em;
    padding: .5em 1em;
    line-height: 1.55;
    position: sticky;
}
.row_t {
    border-bottom: 1px solid #c7dbd9;
    display: grid;
    grid-template-areas:
        "time title"
        "time info";
    grid-template-columns: minmax(13ch, max-content) 1fr;
    grid-template-rows: 1fr min-content;
        column-gap: var(--margin-small);
            padding: clamp(.75em, 3vw, 1.5em) 0;
        border-bottom: 1px dotted #ddd;
}
.content.table_r.two_col {
      display: grid;
        grid-template-columns: repeat(auto-fit, minmax(calc(50% - var(--margin) / 2), 1fr));
    gap: var(--margin);
}
/* Таблица конец */
/* Loop */
.categ {
    display: grid;
    gap: var(--margin);
    grid-template-columns: repeat(auto-fill, minmax(29%, 1fr));
    margin-top: var(--margin);
    padding-bottom: var(--margin);
}
.categ article {
    max-width: 500px;
    position: relative;
    overflow: hidden;
}
.categ article img {
    overflow: hidden;
    margin: calc(var(--margin-small) / 2) 0;
    border-radius: .5em;
        max-width: 100%;
            height: auto;
}
   .categ article h2 a {
        color: var(--color-primary);
            text-decoration: none;
   }
   .categ article .meta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    justify-content: flex-start;
        color: #6e6e6e;
}
.meta .date, .meta .loc {
    margin-right: 0.2em;
}
/* Loop конец */

.greeting .text {
    column-gap: var(--container-padding);
    row-gap: var(--inner-padding);
    flex-flow: wrap;
    display: flex;
}
.greeting .left {
    flex: 350px;
    container-type: inline-size;
}
.greeting .left img {
    border-radius: 1rem;
    display: block;
    max-width: 100%;
    height: auto;
}
.greeting .right {
    flex: 700px;
    text-align: justify;
}
.intro__person__description {
    text-align: center;
}
.greeting .name {
    font-size: var(--text-size-primary);
    color: var(--color-orange);
    margin-block: .5em;
    padding-inline: .75rem;
    font-weight: 700;
    line-height: 1.2;
    display: block;
    text-align: center;
}
.greeting .regalia {
    font-size: clamp(.875rem, 2vw, 1rem);
    line-height: 1.2;
    display: inline-block;
    text-align: center;
}
/* Второй блок */

.flex2 {
  width: 100%;
  height: auto;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  align-self: center;
  margin: 0 0 20px 0;
}
.flex2:nth-child(odd) {
  flex-direction: row-reverse;
}
.chess1, .chess2 {
  width: calc(50% - 10px);
  position: relative;
}
.chess2 {
  display: flex;
  align-items: center;
  align-self: center;
  flex-direction: column;
}
.chess1 {
  height: auto;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 350px;
}
span.chess_img_txt {
  bottom: 25px;
  display: block;
  position: absolute;
  right: 30px;
  font-size: 29px;
  font-weight: normal;
  color: #fff;
  text-align: right;
}
span.chess_img_txt.black {
  color: #161616;
}
.chess_btn {
  text-align: center;
  width: 100%;
  margin: 15px 0 25px 0;
}
/* Второй блок конец */

/* Седьмой блок */
.left_one, .right_one {
  width: calc(50% - 10px);
  position: relative;
  display: block;
}
.flex2_one {
  width: 100%;
  height: auto;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  align-self: center;
}
.left_one img {
  max-width: 100%;
}
.right_one {
  text-align: center;
  font-size: 36px;
  font-weight: 100;
  font-style: italic;
  color: #161616;
}
/* Седьмой блок конец */
/* Команда */
.team {
  position: relative;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-evenly;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: stretch;
  margin: 0 0 70px 0;
}
.team .team_item {
  position: relative;
  width: 21%;
  display: block;
  padding: 0 9px;
  box-sizing: border-box;
  margin: 0 0 45px 0;
  text-align: center;
}
.team .team_item img {
    border-radius: 200px;
    background-color: var(--color-primary);
    width: 100%;
    height: auto;
}
span.team_head {
  color: #FF8D08;
  margin: 12px 0 8px 0;
  display: inline-block;
  font-size: 24px;
  font-size: 1.5em;
}
span.team_txt {
  display: inline-block;
  font-size: 14px;
  font-size: 0.9em;
}
/* Команда конец */
/* Спонсоры */
.spon_flex {
    align-items: center;
    column-gap: var(--container-padding);
    row-gap: var(--inner-padding);
    margin: 0;
    margin-top: calc(var(--inner-padding) / 2);
    flex-flow: wrap;
    padding: 0;
    list-style-type: none;
    display: flex;
}
.spon_item {
    flex: 0 min(250px, 30vw);
}
.spon_item object, .spon_item img {
    width: min(250px, 30vw);
    height: auto;
    max-height: min(200px, 15vh);
}
/* Спонсоры конец */
/* Футер */
footer.footer {
  background-color: #e8f4fa;
  padding: 0;
  border-top: 1px solid #d4dce7
}
.footbl {
  width: 33%;
}
.foot_greed {
  width: 100%;
  height: auto;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  align-self: center;
  color: #fff;
}
.foot1.footbl {
  text-align: left;
}
.foot1 .logo img {
  width: 150px;
    height: auto;
    display: block;
}
.oy_wd {
  padding: 15px 0 20px 0;
}
.foot2.footbl {
  text-align: center;
}
.socset {
  padding: 30px 0 0 0;
}
.socset svg {
  width: 30px;
  margin: 0 4px;
}
.foot3.footbl {
  text-align: right;
}
.foot3.footbl a {
  color: #161616;
  text-decoration: none;
}
.mailb {
  margin: 15px 0 15px 0;
}
.foot3.footbl a:hover {
  text-decoration: underline;
}
span.ico-c svg {
  width: 21px;
  margin: 0 0 0 13px;
  stroke: var(--color-primary);
}
span.ico-c {
  vertical-align: middle;
  display: inline-block;
}
.coird {
    padding: 0.5em 0;
    text-align: center;
    margin: 0;
    background-color: #d0e9f5;
}
.con_us {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
}
.coird span {
  color: #161616;
  font-weight: 100;
}
a.soc svg {
  fill: #fff;
}
span.txt-loc2 {
  display: inline-block;
  vertical-align: middle;
}
/* Футерк конец */
/* Форма */
.fancybox-container .form_registration.fancybox-content {
  border-radius: 9px;
  padding: var(--margin-small);
  background: var(--color-primary);
}

.fancybox-container .fancybox-content label {
    color: #ffffff;
    display: block;
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #ffffff !important;
    color: #ffffff !important;
    border-radius: 0.5em;
}
.wpcf7 form.invalid .wpcf7-response-output {
    background: #ff4242;
}
.wpcf7 .btn {
  background-color: #FFFFFF;
  color: #565655;
  border: 2px solid var(--color-primary);
  outline: none;
  cursor: pointer;
}
.wpcf7 * {
  font-family: "Inter", sans-serif;
}
.wpcf7 {
  text-align: center;
  max-width: 360px;
}
.wpcf7-spinner {
  position: relative;
  display: block;
  margin: 0.5em auto 0;
}
.wpcf7 h2 {
  font-size: 29px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--color-primary);
  text-align: center;
  margin: 0 0 30px 0;
  text-transform: uppercase;
}
span.wpcf7-list-item a {
    color: #ffffff;
}
.wpcf7 input.wpcf7-text {
  padding: 8px 15px;
  box-sizing: border-box;
  border-top: none;
  border-right: none;
  border-left: none;
  width: 100%;
  border: 1px solid #a9a9a9;
  outline: none;
      margin: 0.3em 0 0 0;
  font-size: 14px;
    border-radius: 0.5em;
}
input.wpcf7-form-control.wpcf7-submit {
    background: var(--color-orange-secondary);
    border: none;
    padding: 0.5em 1.3em;
    border-radius: 1em;
    color: #fff;
    font-size: 1em;
    outline: none;
    cursor: pointer;
    -webkit-transition: all 0.35s ease-in-out 0s;
    -moz-transition: all 0.35s ease-in-out 0s;
    -o-transition: all 0.35s ease-in-out 0s;
    -ms-transition: all 0.35s ease-in-out 0s;
    transition: all 0.35s ease-in-out 0s;
}
input.wpcf7-form-control.wpcf7-submit:hover {
    background: var(--color-orange);
}
input.wpcf7-form-control.wpcf7-submit:disabled {
      opacity: 0.5;
}
.wpcf7-form-control-wrap[data-name="privacy_consent"] {
      font-size: 0.9em;
}
.wpcf7-form-control-wrap[data-name="privacy_consent"] a {
      font-size: inherit;
}
.wpcf7-list-item {
    display: inline-block;
    margin: 0 !important;
}  
.wpcf7 input.wpcf7-text:focus, .wpcf7 textarea.wpcf7-textarea:focus {
  border: 1px solid var(--color-primary);
}
.wpcf7 textarea.wpcf7-textarea {
  padding: 8px 15px;
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #a9a9a9;
  outline: none;
      margin: 0.3em 0 0 0;
  font-size: 14px;
  max-width: 100%;
    border-radius: 0.5em;
}
span.wpcf7-not-valid-tip {
  color: #d85353;
  font-size: 14px;
  margin: 2px 0 -20px 0;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
border-color: #ffffff;
    border: 1px solid #ffffff;
    font-size: 14px;
    padding: 10px 5px;
    width: 100%;
    line-height: normal;
    margin: 0 0 10px 0;
    color: #fff;
    border-radius: 0.5em;
}
div.wpcf7 .ajax-loader {
  display: none;
}
.fancybox-container {
  position: relative;
}
/* Форма конец */
.map_block {
  width: 100%;
  height: 600px;
}
.acf-map img {
  max-width: inherit !important;
 }
.acf-map {
  width: 100%;
  height: 100%;
}
.page-template-location .head_page {
  margin: 0;
  z-index: 9;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  -moz-box-shadow: 0 0 8px rgba(0,0,0,0.2);
  -webkit-box-shadow: 0 0 8px rgba(0,0,0,0.2);
}
.page-template-location article.page {
  margin: 0;
}
.gm-style .gm-style-iw-c {
  padding: 25px !important;
}
button.gm-ui-hover-effect {
  top: -1px !important;
  right: -3px !important;
  width: 35px !important;
  height: 35px !important;
}
button.gm-ui-hover-effect img {
  width: 20px !important;
  height: 20px !important;
  margin: 5px !important;
}
.gm-style-iw-d {
  overflow: hidden !important;
}
.gm-style-iw-d p {
  padding: 3px 0 0 0 !important;
}
#block_10 .map_block {
  height: 400px;
}

.page-template-location .content .text {
    padding: 30px 0;
    font-size: 18px;
}
.nav_vill svg {
  width: 20px;
}
.nav_vill .next a, .nav_vill .prev a {
  font-size: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
span.next, span.prev {
  position: relative;
  display: inline-block;
}
.nav_vill {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  align-self: center;
  flex-wrap: nowrap;
  margin: 0 0 85px 0;
}
.content.sponsors {
    padding-top: 0;
        padding-bottom: 0;
}
.content.table_r {
    padding-top: 0;
}
/* modal */

.first-visit-popup-content {
    max-width: 420px;
    text-align: center;
    padding: 0;
}
.first-visit-popup-content .text h3 {
    margin: 0;
}
.first-visit-popup-content .text hr {
    margin: 1.5em 0 1em 0;
    border-color: #ffffff;
}
.popup-btn {
    margin-top: 20px;
    padding: 1em 2em;
    cursor: pointer;
    font-size: 1em;
    border-radius: 1em;
    border: none;
    color: white;
    background: var(--color-primary);
}
.first-visit-modal .fancybox-bg {
    background: rgba(0,0,0,0.85);
}
.first-visit-popup-content button:active, .first-visit-popup-content button:target, .first-visit-popup-content button:focus, .first-visit-popup-content button:focus-visible {
    border: none;
    outline: none;
}
div#firstVisitPopup {
    border-radius: 1em;
}
.spon_modal.fancybox-content {
    max-width: 700px;
}
.page-menu.js-page-menu {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    background-color: #d4effc;
        z-index: 10;
}
.page-menu.js-page-menu a {
    text-decoration: none;
    margin: 0.3em 0.5em;
    padding: 0.3em 1.2em;
    border-radius: 2em;
    -webkit-transition: all 0.35s ease-in-out 0s;
    -moz-transition: all 0.35s ease-in-out 0s;
    -o-transition: all 0.35s ease-in-out 0s;
    -ms-transition: all 0.35s ease-in-out 0s;
    transition: all 0.35s ease-in-out 0s;
}
.page-menu.js-page-menu a:hover {
    background: #4b5e76;
    color: #ffffff;
}
.page-menu.js-page-menu a.active{
  background: #4b5e76;
    color: #ffffff;
}

/* 1 */
.gallery-skeleton {
    width: 200px;
    height: 150px;
    background: #eee;
    animation: pulse 1.2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: .5; }
    100% { opacity: 1; }
}
.acf-gallery-wrapper {
    margin-top: var(--margin);
}
button.gallery-load-more {
    margin: 1em auto;
    display: block;
    background: var(--color-orange-secondary);
    color: #fff;
    border-radius: 2em;
    padding: 0.7em 2em;
    outline: none;
    border: none;
    cursor: pointer;
    font-size: 1em;
        -webkit-transition: all 0.35s 
ease-in-out 0s;
    -moz-transition: all 0.35s ease-in-out 0s;
    -o-transition: all 0.35s ease-in-out 0s;
    -ms-transition: all 0.35s ease-in-out 0s;
    transition: all 0.35s 
ease-in-out 0s;
}
button.gallery-load-more:hover {
  background: var(--color-orange);
}
html{
  scroll-behavior:smooth;
  scroll-padding-top:100px; /* если header фиксированный */
}

/* new MM */
/* ---------- BURGER ---------- */

.burger{
  width: 40px;
  height: 38px;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  z-index: 10001;
  box-sizing: border-box;
  border-radius: 0.5em;
  background: #00a1db;
  border-color: #ffffff;
  border-style: solid;
}

.burger span{
  height: 3px;
  background: #ffffff;
  transition: .3s;
  border-radius: 5px;
}

.burger.active span:nth-child(1){
  transform:translateY(9px) rotate(45deg);
}

.burger.active span:nth-child(2){
  opacity:0;
}

.burger.active span:nth-child(3){
  transform:translateY(-9px) rotate(-45deg);
}

@media(max-width:900px){
  .burger{ display:flex; }
  .top_main_nav{ display:none; }
}

/* ---------- MOBILE MENU ---------- */

.mobile-menu{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:10000;
}

.mobile-menu.open{
  pointer-events:auto;
}

.mobile-menu::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
  opacity:0;
  transition:.3s;
}

.mobile-menu.open::before{
  opacity:1;
}

.mobile-menu__inner{
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:var(--menuWidth,320px);
  max-width:70vw;
  background: #4b5e76;
  transform:translateX(-100%);
  transition:.35s;
  display:flex;
}

.mobile-menu.open .mobile-menu__inner{
  transform:translateX(0);
}
.mobile-menu ul#top-nav {
    height: auto;
    padding: 0;
    text-align: left;
    margin: 0;
}
.mobile-menu ul#top-nav li a {
    text-transform: uppercase;
    padding-inline: 0;
    height: auto;
    display: inline-block;
    margin: 0.4em 0;
}
.mobile-menu .page-menu.js-page-menu {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: auto;
    flex-wrap: wrap;
    background-color: #d4effc00;
}
.mobile-menu .page-menu.js-page-menu a {
    color: #ffffff;
    margin: 0.4em 0;
    padding: 0;
    border-radius: 0;
    text-transform: uppercase;
}
.mobile-menu__scroll{
  overflow:auto;
  flex:1;
  padding: 30px;
}

.mobile-divider{
  height:1px;
  background:#ddd;
  margin:18px 0;
}
.mobile-menu{ display:none; }
@media(max-width:900px){
  .mobile-menu{
    display: block;
  }
  nav.page-menu.js-page-menu {
    display: none;
  }
  .top-menu.main {
    display: block;
  }

  ul#top-nav li {
    display: block;
  }

  .med-menu-logout a {
    display: flex!important;
    justify-content: flex-start!important;
  }

  .med-menu-logout a::after {
    content: 'Выход';
  }
}
/* new MM end */
