@charset "UTF-8";

:root {
  --sv-red: #d31118;
  --sv-red-bright: #ff0008;
  --sv-red-dark: #a91015;
  --sv-blue: #063d66;
  --sv-bg: #0e121e;
  --sv-bg-deep: #030f18;
  --sv-black: #050608;
  --sv-text: #dbe3f5;
  --sv-text-muted: #a5aec1;
  --sv-border: #343a48;
  --sv-light: #f6f6f4;
  --sv-content: 1600px;
  --sv-header: 1200px;
  --sv-radius: 3px;
  --sv-shadow: 0 12px 30px rgb(0 0 0 / 28%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--sv-text-muted);
  background-color: var(--sv-bg);
  background-image: url("../images/labradorit-desktop.jpg");
  background-image: image-set(
    url("../images/labradorit-desktop.webp") type("image/webp"),
    url("../images/labradorit-desktop.jpg") type("image/jpeg")
  );
  background-position: center top;
  background-repeat: no-repeat;
  background-size: max(100vw, 1440px) auto;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-is-open {
  overflow: hidden;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--sv-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: #fff;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.65em;
  color: #fff;
  font-weight: 700;
  line-height: 1.16;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  text-align: center;
}

h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
}

h3 {
  font-size: clamp(1.4rem, 2.25vw, 1.85rem);
}

p,
ul,
ol,
dl,
table {
  margin-top: 0;
  margin-bottom: 1.15rem;
}

li + li {
  margin-top: 0.35em;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--sv-red);
  border-radius: var(--sv-radius);
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: relative;
  z-index: 100;
  color: #fff;
  background: rgb(3 7 11 / 78%);
  box-shadow: 0 1px 0 rgb(255 255 255 / 8%);
}

.header-top {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(320px, auto) minmax(220px, 1fr);
  align-items: start;
  width: min(calc(100% - 40px), var(--sv-header));
  min-height: 135px;
  margin-inline: auto;
  padding-top: 20px;
}

.header-top > :nth-child(1) {
  justify-self: start;
  padding-top: 8px;
}

.header-top > :nth-child(2) {
  justify-self: center;
}

.header-top > :nth-child(3) {
  justify-self: end;
  padding-top: 5px;
}

.header-top .moduletable,
.header-top .mod-custom,
.header-top .mod-languages {
  margin: 0;
}

.head_phone a {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.main_logo,
.main_logo .mod-custom {
  text-align: center;
  line-height: 1.05;
}

.main_logo a {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  text-decoration: none;
}

.main_logo a > br:first-of-type {
  display: none;
}

.Logo_in {
  display: inline-block;
  color: var(--sv-red);
}

.Logo_in.name_logo {
  margin-bottom: 3px;
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1;
  text-shadow: 1px 1px 0 var(--sv-red-bright);
}

.Logo_in.small {
  margin-top: 5px;
  font-size: 0.78rem;
  line-height: 1;
}

.logo_small {
  max-width: 380px;
  margin-inline: auto;
}

.logo_small a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
}

.logo_text {
  padding-left: 14px;
  color: var(--sv-red-dark);
  font-size: 1.85rem;
  line-height: 1;
  text-align: left;
  text-shadow: 1px 1px 0 var(--sv-red-bright);
}

.logo_text span {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.1;
  text-shadow: none;
}

.logo_text.left_logotext {
  padding: 7px 14px 7px 0;
  color: #fff;
  border-right: 2px solid #565656;
  font-size: 1rem;
  text-align: right;
  text-shadow: none;
}

.logo_text.left_logotext span {
  font-size: 0.8rem;
}

.mod-languages ul {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mod-languages li {
  display: block !important;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0 !important;
  background: transparent !important;
  border: 1px solid var(--sv-red-dark);
  border-radius: 50%;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.mod-languages li:hover,
.mod-languages li.lang-active {
  background: var(--sv-red-dark) !important;
  border-color: var(--sv-red) !important;
}

.mod-languages a {
  display: grid !important;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  place-items: center;
  color: #fff !important;
  font-size: 0.77rem;
  line-height: 1;
  text-decoration: none;
}

.nav-row {
  position: relative;
  width: min(calc(100% - 40px), var(--sv-header));
  min-height: 55px;
  margin-inline: auto;
}

.header-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: rgb(169 16 21 / 82%);
  clip-path: polygon(100% 75%, 100% 100%, 0 100%, 0 75%, 42% 75%, 50% 100%, 58% 75%);
  pointer-events: none;
}

/* Main menu: desktop */
.site-nav .mod-menu,
.site-nav .mod-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav > .mod-menu,
.site-nav > div > .mod-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
}

.site-nav li {
  position: relative;
  margin: 0;
}

.site-nav a,
.site-nav .separator,
.site-nav .nav-header {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 25px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.25;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav li.active > a,
.site-nav li.current > a {
  color: #fff;
  background: rgb(211 17 24 / 18%);
}

.site-nav li.has-submenu > a::after,
.site-nav li.has-submenu > .separator::after,
.site-nav li.has-submenu > .nav-header::after {
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
}

.site-nav ul ul {
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 0;
  min-width: 245px;
  padding: 7px 0;
  visibility: hidden;
  background: rgb(5 6 8 / 98%);
  border-top: 3px solid var(--sv-red-dark);
  box-shadow: var(--sv-shadow);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.site-nav ul ul li + li {
  border-top: 1px dotted #4a4d55;
}

.site-nav ul ul a,
.site-nav ul ul .separator,
.site-nav ul ul .nav-header {
  justify-content: space-between;
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.78rem;
  text-transform: none;
}

.site-nav ul ul ul {
  top: -5px;
  left: calc(100% - 5px);
}

.site-nav li:hover > ul,
.site-nav li:focus-within > ul {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.site-nav ul ul li.has-submenu > a::after,
.site-nav ul ul li.has-submenu > .separator::after,
.site-nav ul ul li.has-submenu > .nav-header::after {
  margin-left: 15px;
  transform: rotate(-45deg);
}

.menu-toggle,
.submenu-toggle,
.nav-backdrop {
  border: 0;
}

.menu-toggle,
.submenu-toggle {
  color: #fff;
  background: transparent;
}

.menu-toggle,
.submenu-toggle,
.nav-backdrop {
  display: none;
}

/* Page structure */
.home-top {
  min-height: 1px;
  padding-top: 105px;
}

.is-inner .home-top {
  padding-top: 40px;
}

.main-area {
  color: var(--sv-text-muted);
  background: var(--sv-bg);
}

.is-inner .main-area {
  padding-top: 12px;
}

.breadcrumbs,
.content-top,
.component-area,
.content-bottom {
  width: min(100%, var(--sv-content));
  margin-inline: auto;
}

.breadcrumbs {
  padding: 18px 28px 0;
  font-size: 0.88rem;
}

.breadcrumbs ol,
.breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
  line-height: 1.35;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin: 0;
  float: none !important;
}

.breadcrumbs .mod-breadcrumbs__here {
  white-space: nowrap;
}

.breadcrumbs .mod-breadcrumbs__item + .mod-breadcrumbs__item::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin: 0 3px 0 1px;
  border-top: 1px solid #7d8290;
  border-right: 1px solid #7d8290;
  transform: rotate(45deg);
}

.is-home .breadcrumbs {
  display: none;
}

.component-area {
  padding: 70px 28px 55px;
}

/* Legacy exhibition-section articles used an 80px negative margin to meet
   the Gridbox header. Keep a small lift, but do not overlap breadcrumbs. */
.com-content-article__body > div[style*="margin:-80px"] {
  margin: -40px 0 0 !important;
}

.content-top,
.content-bottom {
  padding-inline: 0;
}

.content-bottom:empty {
  display: none;
}

.item-page > h1:first-child,
.item-page > h2:first-child,
.com-content-article__body > h1:first-child {
  margin-bottom: 1.25em;
}

.center {
  text-align: center;
}

.bold {
  font-weight: 700;
}

.italic {
  font-style: italic;
}

.red {
  color: var(--sv-red);
}

.white {
  color: #fff;
}

.grey {
  color: #8f939f;
}

.clearer20,
.clearer40 {
  grid-column: 1 / -1;
  width: 100%;
  clear: both;
}

.clearer20 {
  height: 20px;
}

.clearer40 {
  height: 40px;
}

.container-fluid {
  width: min(100%, var(--sv-content));
  margin-inline: auto;
  padding-inline: 15px;
}

/* Bootstrap 2 compatibility, implemented with CSS Grid */
.row-fluid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  width: 100%;
  margin: 0;
}

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

.row-fluid > :not([class*="span"]) {
  grid-column: 1 / -1;
}

.row-fluid > .container-fluid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.row-fluid > [class*="span"],
.row-fluid > .container-fluid > [class*="span"] {
  min-width: 0;
  margin: 0;
  padding-inline: 15px;
}

.row-fluid > .span1 { grid-column: span 1; }
.row-fluid > .span2 { grid-column: span 2; }
.row-fluid > .span3 { grid-column: span 3; }
.row-fluid > .span4 { grid-column: span 4; }
.row-fluid > .span5 { grid-column: span 5; }
.row-fluid > .span6 { grid-column: span 6; }
.row-fluid > .span7 { grid-column: span 7; }
.row-fluid > .span8 { grid-column: span 8; }
.row-fluid > .span9 { grid-column: span 9; }
.row-fluid > .span10 { grid-column: span 10; }
.row-fluid > .span11 { grid-column: span 11; }
.row-fluid > .span12 { grid-column: 1 / -1; }

.row-fluid > .container-fluid > .span1 { grid-column: span 1; }
.row-fluid > .container-fluid > .span2 { grid-column: span 2; }
.row-fluid > .container-fluid > .span3 { grid-column: span 3; }
.row-fluid > .container-fluid > .span4 { grid-column: span 4; }
.row-fluid > .container-fluid > .span5 { grid-column: span 5; }
.row-fluid > .container-fluid > .span6 { grid-column: span 6; }
.row-fluid > .container-fluid > .span7 { grid-column: span 7; }
.row-fluid > .container-fluid > .span8 { grid-column: span 8; }
.row-fluid > .container-fluid > .span9 { grid-column: span 9; }
.row-fluid > .container-fluid > .span10 { grid-column: span 10; }
.row-fluid > .container-fluid > .span11 { grid-column: span 11; }
.row-fluid > .container-fluid > .span12 { grid-column: 1 / -1; }

/* Existing home modules */
.white_box {
  position: relative;
  padding: 30px;
  margin-bottom: 42px;
  background-color: #fff;
  background-image: url("../images/white-scratone.png");
  box-shadow: 0 8px 24px rgb(0 0 0 / 28%);
}

.white_box a {
  display: block;
  color: var(--sv-red);
  text-decoration: none;
}

.white_box_image {
  overflow: hidden;
  background: #ddd;
}

.white_box_image img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.white_box:hover .white_box_image img {
  transform: scale(1.025);
}

.white_box_title {
  padding: 24px 0 16px;
  color: var(--sv-red);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

.white_box_button {
  position: absolute;
  bottom: -34px;
  left: 50%;
  width: 68px;
  height: 68px;
  background: linear-gradient(145deg, #4e4e4e, #151515);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #222, 0 6px 16px rgb(0 0 0 / 45%);
  transform: translateX(-50%);
}

.white_box_button::before {
  position: absolute;
  top: 18px;
  left: 20px;
  width: 25px;
  height: 25px;
  border-top: 8px solid var(--sv-red-bright);
  border-right: 8px solid var(--sv-red-bright);
  content: "";
  transform: rotate(45deg);
}

.foreword {
  margin: 0;
  padding: 8px 20px;
  color: #c10b11;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 700;
  text-align: center;
}

.bg-dark {
  color: var(--sv-text-muted);
  background: var(--sv-bg-deep);
}

.pre_header {
  color: #7f9bb1;
  font-size: 1.35rem;
  text-align: center;
}

.header_center {
  position: relative;
  color: #fff;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.header_center span {
  color: var(--sv-red);
}

.header_center::before {
  position: absolute;
  top: 0;
  left: 30%;
  width: 40%;
  height: 1px;
  background: #fff;
  content: "";
}

.after_header {
  margin-bottom: 45px;
  color: #b2a88f;
  font-size: 1.15rem;
  text-align: center;
}

.white_gradient {
  color: #fff;
  background: radial-gradient(circle, #111 0%, var(--sv-bg-deep) 62%);
  text-align: center;
}

.white_gradient img {
  width: 200px;
  max-width: 72%;
}

.icon_header {
  margin: 18px 0;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.15;
}

.icon_header span {
  display: block;
  color: var(--sv-red);
}

a.qf3modal,
.dark a.qf3modal,
.button {
  display: block;
  width: min(100%, 310px);
  margin: 45px auto;
  padding: 15px 28px;
  color: #fff;
  background: var(--sv-blue);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: var(--sv-radius);
  font-size: 1.15rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

a.qf3modal:hover,
a.qf3modal:focus-visible,
.dark a.qf3modal:hover,
.button:hover,
.button:focus-visible {
  color: #fff;
  background: var(--sv-red);
  transform: translateY(-1px);
}

.header_wite {
  margin-bottom: 26px;
  color: var(--sv-red);
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.razdely .su-column-content,
.razdely .js-column-content {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 1px #fff, 0 8px 20px rgb(0 0 0 / 25%);
}

/* Keep absolutely positioned card captions inside old and current shortcode columns. */
.su-column-content,
.js-column-content {
  position: relative;
}

img.razd_img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.razd_text {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  padding: 16px;
  color: var(--sv-text);
  background: rgb(0 0 0 / 62%);
  font-size: 1rem;
  line-height: 1.38;
  text-shadow: 0 1px 5px #000;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.su-column-content:hover .razd_text,
.js-column-content:hover .razd_text {
  color: #111;
  background: rgb(255 255 255 / 82%);
  text-shadow: none;
}

.kiev {
  padding: 20px clamp(20px, 6vw, 80px);
  font-size: 1.35rem;
  text-align: center;
}

.light {
  padding: 40px;
  color: #333;
  background: #e5e5e5;
}

/* Exhibition-section cards share a grid row. Stretch the light panel itself,
   not only its Bootstrap-compatible column, so translated text cannot leave
   the neighbouring card visibly shorter. */
.com-content-article__body .row-fluid > .span6 > .light {
  height: 100%;
}

.calendar_box,
.regim {
  min-height: 100%;
  padding: 18px;
  color: #333;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 5px 16px rgb(0 0 0 / 14%);
}

.regim_title {
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px dotted var(--sv-red);
  font-size: 1rem;
  font-weight: 700;
}

.regim_time {
  color: var(--sv-red);
  font-size: 1.12rem;
  font-weight: 700;
}

/* QF3 forms */
.qf3form.default {
  color: #4f5562;
  background: transparent;
}

.qf3form input[type="text"],
.qf3form input[type="email"],
.qf3form input[type="tel"],
.qf3form input[type="number"],
.qf3form input[type="url"],
.qf3form select,
.qf3form textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  color: #24272d;
  background: #fff;
  border: 1px solid #aeb3bb;
  border-radius: 2px;
}

.qf3form textarea {
  min-height: 110px;
  resize: vertical;
}

.qf3form input:focus,
.qf3form select:focus,
.qf3form textarea:focus {
  border-color: var(--sv-red);
  outline: 2px solid rgb(211 17 24 / 24%);
  outline-offset: 0;
  box-shadow: none;
}

.qf3.qfcaptcha,
.qf3.qf3btn.qfsubmit {
  width: 100%;
  clear: both;
}

.qf3form .qfsubmit input[type="button"],
.qf3form .qfsubmit input[type="submit"] {
  min-width: 220px;
  min-height: 46px;
  padding: 11px 24px;
  color: #fff;
  background: var(--sv-blue);
  border: 0;
  border-radius: var(--sv-radius);
  cursor: pointer;
  text-transform: uppercase;
}

.qf3form .qfsubmit input:hover,
.qf3form .qfsubmit input:focus-visible {
  background: var(--sv-red);
}

/* Footer */
.site-footer {
  color: #b8bdc8;
  background: #030303;
  border-top: 1px solid #1e2026;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 50px;
  align-items: center;
  width: min(calc(100% - 56px), 1200px);
  min-height: 185px;
  margin-inline: auto;
  padding-block: 35px;
}

.footer-main.has-facebook {
  grid-template-columns: minmax(260px, 300px) minmax(280px, 430px);
  justify-content: space-between;
  align-items: start;
}

.footer-social:empty {
  display: none;
}

.footer-facebook {
  width: 100%;
  max-width: 300px;
  justify-self: start;
  overflow: hidden;
}

.footer-facebook iframe {
  display: block;
  width: 100%;
  max-width: 300px;
  height: 150px;
  border: 0;
}

.footer-main.has-facebook .footer-facebook {
  grid-column: 1;
  grid-row: 1;
}

.footer-main.has-facebook .footer-contacts {
  grid-column: 2;
  grid-row: 1;
}

.footer-main.has-facebook .footer-social {
  grid-column: 1;
  grid-row: 2;
}

.footer-contacts {
  justify-self: end;
  width: 100%;
}

.contact_item {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 9px 0;
  color: #d5d9e2;
  font-size: 0.92rem;
}

.contact_item .fa {
  display: inline-grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--sv-red);
  border: 1px solid #5d6068;
  border-radius: 50%;
  font-style: normal;
  line-height: 1;
}

.contact_item .fa-map-marker::before { content: "\2022"; font-size: 1.5rem; }
.contact_item .fa-envelope::before { content: "\2709"; font-size: 0.95rem; }
.contact_item .fa-phone::before { content: "\260E"; font-size: 0.9rem; transform: rotate(-15deg); }

.contact_item a {
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  width: min(calc(100% - 56px), 1200px);
  margin-inline: auto;
  padding: 15px 0 24px;
  border-top: 1px solid #24262b;
}

.footer-bottom .mod-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom .mod-menu li {
  margin: 0;
}

.footer-bottom .mod-menu a {
  color: #aeb4c1;
  font-size: 0.85rem;
}

/* Joomla messages and utility pages */
.joomla-alert,
.alert {
  width: min(calc(100% - 40px), 1100px);
  margin: 20px auto;
  padding: 14px 18px;
  color: #222;
  background: #fff;
  border-left: 5px solid var(--sv-red);
  box-shadow: var(--sv-shadow);
}

.component-only {
  padding: 30px;
  background: #fff;
}

.component-only .component-area {
  padding: 0;
  color: #333;
}

.utility-page {
  display: grid;
  min-height: 100vh;
  padding: 25px;
  place-items: center;
}

.utility-card {
  width: min(100%, 650px);
  padding: clamp(28px, 6vw, 65px);
  color: var(--sv-text-muted);
  background: rgb(3 15 24 / 94%);
  border-top: 5px solid var(--sv-red);
  box-shadow: var(--sv-shadow);
  text-align: center;
}

.utility-code,
.offline-logo {
  margin-bottom: 5px;
  color: var(--sv-red);
  font-size: clamp(2.8rem, 10vw, 6rem);
  font-weight: 700;
  line-height: 1;
}

.offline-logo {
  font-size: clamp(2rem, 8vw, 4rem);
}

@media (max-width: 1199.98px) {
  .header-top,
  .nav-row {
    width: min(calc(100% - 30px), var(--sv-header));
  }

  .site-nav a,
  .site-nav .separator,
  .site-nav .nav-header {
    padding-inline: 18px;
  }

  .white_box {
    padding: 20px;
  }

  .razd_text {
    width: 62%;
    padding: 12px;
    font-size: 0.92rem;
  }
}

@media (max-width: 991.98px) {
  body {
    background-image: url("../images/labradorit-mobile.jpg");
    background-image: image-set(
      url("../images/labradorit-mobile.webp") type("image/webp"),
      url("../images/labradorit-mobile.jpg") type("image/jpeg")
    );
    background-size: 1000px auto;
  }

  .header-top {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo logo"
      "phone language";
    gap: 12px 20px;
    min-height: 0;
    padding: 14px 0 10px;
  }

  .header-top > :nth-child(1) {
    grid-area: phone;
    align-self: center;
    padding: 0;
  }

  .header-top > :nth-child(2) {
    grid-area: logo;
  }

  .header-top > :nth-child(3) {
    grid-area: language;
    align-self: center;
    padding: 0;
  }

  .nav-row {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: flex-end;
  }

  .menu-toggle {
    position: relative;
    z-index: 1002;
    display: grid;
    width: 46px;
    height: 46px;
    padding: 0;
    place-items: center;
    cursor: pointer;
  }

  .menu-toggle__icon,
  .menu-toggle__icon::before,
  .menu-toggle__icon::after {
    display: block;
    width: 27px;
    height: 2px;
    background: #fff;
    content: "";
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .menu-toggle__icon {
    position: relative;
  }

  .menu-toggle__icon::before {
    position: absolute;
    top: -8px;
  }

  .menu-toggle__icon::after {
    position: absolute;
    top: 8px;
  }

  .menu-is-open .menu-toggle__icon {
    background: transparent;
  }

  .menu-is-open .menu-toggle__icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .menu-is-open .menu-toggle__icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 1001;
    top: 0;
    right: 0;
    width: min(88vw, 390px);
    height: 100vh;
    height: 100dvh;
    padding: 76px 18px 28px;
    overflow-y: auto;
    visibility: hidden;
    background: #07090d;
    box-shadow: -15px 0 40px rgb(0 0 0 / 42%);
    transform: translateX(104%);
    transition: transform 0.25s ease, visibility 0.25s;
  }

  .site-nav.is-open {
    visibility: visible;
    transform: translateX(0);
  }

  .nav-backdrop {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: block;
    visibility: hidden;
    padding: 0;
    background: rgb(0 0 0 / 62%);
    opacity: 0;
    cursor: default;
    transition: opacity 0.2s ease, visibility 0.2s;
  }

  .nav-backdrop.is-open {
    visibility: visible;
    opacity: 1;
  }

  .site-nav > .mod-menu,
  .site-nav > div > .mod-menu {
    display: block;
    min-height: 0;
  }

  .site-nav li {
    border-bottom: 1px dotted #454851;
  }

  .site-nav li li:last-child {
    border-bottom: 0;
  }

  .site-nav a,
  .site-nav .separator,
  .site-nav .nav-header {
    min-height: 46px;
    padding: 11px 48px 11px 14px;
    font-size: 0.9rem;
  }

  .site-nav li.has-submenu > a::after,
  .site-nav li.has-submenu > .separator::after,
  .site-nav li.has-submenu > .nav-header::after {
    display: none;
  }

  .site-nav ul ul,
  .site-nav ul ul ul {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 4px 22px;
    visibility: visible;
    background: #0d1016;
    border: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .site-nav li.is-open > ul {
    display: block;
  }

  .site-nav ul ul a,
  .site-nav ul ul .separator,
  .site-nav ul ul .nav-header {
    min-height: 42px;
    padding: 9px 45px 9px 14px;
    font-size: 0.86rem;
  }

  .site-nav ul ul ul {
    padding-left: 38px;
  }

  .submenu-toggle {
    position: absolute;
    z-index: 2;
    top: 5px;
    right: 3px;
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    cursor: pointer;
  }

  .submenu-toggle span {
    width: 9px;
    height: 9px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s ease;
  }

  li.is-open > .submenu-toggle span {
    transform: translateY(2px) rotate(225deg);
  }

  .home-top {
    padding-top: 70px;
  }

  .row-fluid > .span3,
  .row-fluid > .container-fluid > .span3 {
    grid-column: span 6;
  }

  .component-area {
    padding: 55px 22px 45px;
  }

  .razd_text {
    position: relative;
    width: 100%;
    min-height: 115px;
    color: #fff;
    background: #20242b;
    text-shadow: none;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-main.has-facebook {
    grid-template-columns: 1fr;
  }

  .footer-facebook {
    justify-self: start;
  }

  .footer-main.has-facebook .footer-facebook,
  .footer-main.has-facebook .footer-contacts,
  .footer-main.has-facebook .footer-social {
    grid-column: 1;
    grid-row: auto;
  }

  .footer-contacts {
    justify-self: start;
    max-width: 430px;
  }
}

@media (max-width: 767.98px) {
  h1 {
    font-size: clamp(1.8rem, 8vw, 2.15rem);
  }

  .main_logo a {
    font-size: 0.92rem;
  }

  .Logo_in.name_logo {
    font-size: 2.2rem;
  }

  .logo_text.left_logotext {
    display: none;
  }

  .logo_text {
    padding-left: 0;
    text-align: center;
  }

  .row-fluid > [class*="span"],
  .row-fluid > .container-fluid > [class*="span"] {
    grid-column: 1 / -1;
    padding-inline: 8px;
  }

  .row-fluid > .span3,
  .row-fluid > .span4,
  .row-fluid > .container-fluid > .span3,
  .row-fluid > .container-fluid > .span4 {
    grid-column: span 6;
  }

  .white_gradient {
    grid-column: 1 / -1 !important;
  }

  .header_center::before {
    left: 15%;
    width: 70%;
  }

  .component-area {
    padding-inline: 16px;
  }

  .light {
    padding: 28px 18px;
  }
}

@media (max-width: 567.98px) {
  .header-top {
    width: min(calc(100% - 24px), var(--sv-header));
  }

  .head_phone a {
    font-size: 0.84rem;
  }

  .mod-languages li {
    width: 34px;
    height: 34px;
  }

  .home-top {
    padding-top: 52px;
  }

  .row-fluid > .span3,
  .row-fluid > .span4,
  .row-fluid > .container-fluid > .span3,
  .row-fluid > .container-fluid > .span4 {
    grid-column: 1 / -1;
  }

  .white_box {
    width: min(100%, 390px);
    margin-inline: auto;
  }

  .pre_header {
    font-size: 1.1rem;
  }

  .after_header {
    margin-bottom: 28px;
  }

  .footer-main,
  .footer-bottom {
    width: min(calc(100% - 32px), 1200px);
  }

  .qf3form .qfsubmit input[type="button"],
  .qf3form .qfsubmit input[type="submit"] {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  body {
    color: #000;
    background: #fff;
  }

  .site-header,
  .home-top,
  .site-footer,
  .breadcrumbs,
  .qf3modal {
    display: none !important;
  }

  .main-area,
  .component-area {
    width: 100%;
    padding: 0;
    color: #000;
    background: #fff;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  a {
    color: #000;
  }
}
