@charset "UTF-8";

@import '_header.css';
@import '_breadcrumb.css';
@import '_table.css';
@import '_footer.css';

/* Base */ /* Reset and base styles  */
* {
  padding: 0px;
  margin: 0px;
  border: none;
}

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

/* Links */
a, a:link, a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Common */
aside, nav, footer, header, section, main {
  display: block;
}

h1, h2, h3, h4, h5, h6, p {
  font-size: inherit;
  font-weight: inherit;
}

ul, ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

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

/* Form */
input, textarea, button, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input::-ms-clear {
  display: none;
}

button, input[type=submit] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus, input:active,
button:focus, button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

* {
  -webkit-tap-highlight-color: transparent;
}

:root {
  --container-width: 1200px;
  --container-padding: 15px;
  --font-main: sans-serif;
  --font-accent: "Montserrat", sans-serif;
  --font-titles: var(--font-accent);
  --page-bg: #fff;
  --page-dark-bg: #001c31;
  --text-color: #2C2D65;
  --accent: #0294B5;
}

@font-face {
  font-family: Montserrat;
  font-display: swap;
  src: url("../fonts/Montserrat-Bold.woff2") format("woff2"), url("../fonts/Montserrat-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: Montserrat;
  font-display: swap;
  src: url("../fonts/Montserrat-Regular.woff2") format("woff2"), url("../fonts/Montserrat-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
  background-color: rgb(39, 39, 39);
}

body {
  font-family: var(--font-accent);
  font-size: 18px;
  text-wrap: balance;
  background-color: var(--page-bg);
  color: var(--text-color);
  line-height: 1.6;
}

img {
  display: block;
}

a {
  color: var(--link-color);
}

.text-accent {
  color: var(--accent)!important;
}

.border-accent {
  border: 2px solid var(--accent);
}

.text-uppercase {
  text-transform: uppercase;
}
.btn-outline-accent-blue {
  background-color: #ffffff;
  border-color: #0aa9c8;
  color: #0aa9c8;
  transition: .3s;
}
.btn-outline-accent-blue:hover, .btn-outline-accent-blue:focus, .btn-outline-accent-blue:active {
  background-color: #0aa9c8;
  border-color: #0aa9c8;
  color: #fff;
}
.btn-accent-blue {
  background-color: #0aa9c8;
  border-color: #0aa9c8;
}

.btn-accent-blue:hover,
.btn-accent-blue:active, 
.btn-accent-blue:focus {
  background-color: #17caed!important;
  border-color: #18c6e9!important;
}

.main .sections {
  flex-direction: column;
  margin-bottom: 6rem;
}

.desription {
  font-size: 1.778rem;
  font-weight: 400;
  font-family: var(--font-titles);
}

.helps {
  max-width: 484px;
}

.helps a {
  opacity: .7;
  transition: .25s;
}

.helps a:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .greeting {
    flex-wrap: wrap;
  }
}
.greeting__left {
  flex: 1 0 50%;
}
.greeting__left-positon {
  position: sticky;
  top: 0;
  margin-right: 4rem;
}
@media (max-width: 768px) {
  .greeting__left-positon {
    position: static;
  }
}
@media (max-width: 768px) {
  .greeting__left {
    flex: 1 0 100%;
  }
}
.greeting__right {
  flex: 1 0 50%;
}
.greeting__right ul {
  padding-bottom: 4rem;
}
@media (max-width: 768px) {
  .greeting__right ul {
    margin-top: 3rem;
    padding: 0;
  }
}
.greeting__right ul li {
  padding: 2rem 0;
  transition: 0.3s linear;
}
@media (max-width: 768px) {
  .greeting__right ul li {
    border-bottom: 4px solid var(--accent);
    border-right: 4px solid var(--accent);
    box-shadow: -5px 5px 5px -5px rgba(2, 148, 181, 0.6) inset;
  }
  .greeting__right ul li:not(:last-child) {
    margin-bottom: 2rem;
  }
}
.greeting__right ul li:hover {
  border-bottom: 4px solid var(--accent);
  box-shadow: 0px -5px 5px -5px rgba(2, 148, 181, 0.6) inset;
}
.greeting__right ul li:hover h3 {
  color: var(--accent);
}
.greeting__right ul li:hover strong {
  color: var(--accent);
}
.greeting__right ul li p {
  padding-bottom: 1rem;
}
@media (max-width: 768px) {
  .greeting__right {
    flex: 1 0 100%;
  }
}

.section__action {
  text-align: center;
}
.section__action .h2 {
  margin: 1rem auto 3rem;
  max-width: 700px;
}
.section__action button {
  padding: 20px 40px;
  background-color: var(--accent);
  border-radius: 10px;
  color: white;
  transition: 0.3s linear;
}
.section__action button:hover {
  background-color: rgba(5, 110, 134, 0.87);
}

.none {
  display: none !important;
}

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

.no-scroll {
  overflow-y: hidden;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

.d-flex {
  display: flex;
}

.flex-center {
  justify-content: center;
}

.flex-between {
  justify-content: space-between;
}

.align-center {
  align-items: center;
}

/* Контейнеры */
.container {
  margin: 0 auto;
  padding: 0 var(--container-padding);
  max-width: var(--container-width);
  width: 100%;
}

.container-full {
  padding: 0 var(--container-padding);
  max-width: 100%;
}

html, body {
  /* display: flex;
  flex-direction: column; */
  min-height: 100vh;
  height: 100%;
  overflow: hidden;
}

@media (max-width: 425px) {
  html, body {
    min-height: 100%;
  }
}

/* Blocks */
.box {
  position: relative;
}
@media (max-width: 768px) {
  .box {
    margin-bottom: 4rem;
  }
}

.box:first-of-type {
  margin-top: 3rem;
}

.box:last-child {
  margin-bottom: 0;
}

.box-title {
  padding-bottom: 3rem;
  font-size: 1.6rem;
  text-align: center;
}

.box__label-title {
  position: relative;
  padding: 1.2rem 0;
  transition: 0.3s;
  cursor: pointer;
}
.box__label-title .icon--plus {
  stroke: var(--accent);
}
.box__label-title strong {
  font-size: 1.444rem;
}
@media (max-width: 426px) {
  .box__label-title strong {
    max-width: 200px;
  }
}
.box__label-title.active .icon--plus {
  stroke: var(--text-color);
}
.box__label-title.active ~ .box__descr {
  margin: 0.3rem 0 2rem;
}
@media (max-width: 768px) {
  .box__label-title {
    padding: 0;
  }
}

.box__descr {
  position: relative;
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
}
.box__descr a {
  font-weight: 700;
  font-style: italic;
  text-decoration: underline;
  cursor: pointer;
  transition: 0.3s;
}
.box__descr a:hover {
  color: var(--accent);
}

.box__descr p {
  font-size: 18px;
}
.box__descr p strong {
  font-size: 18px;
}
.box__descr p button {
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
  transition: 0.25s linear;
}
.box__descr p button:hover {
  border-bottom: 0;
}

.box__descr ul li::before {
  content: "";
  display: inline-block;
  margin-left: 1rem;
  margin-right: 1rem;
  width: 5px;
  height: 5px;
  vertical-align: middle;
  background-color: var(--text-color);
  border-radius: 50%;
}

.icons-wrapper {
  padding: 30px 0;
  display: flex;
  column-gap: 30px;
}

.icon {
  fill: transparent;
  stroke: transparent;
  width: 24px;
  height: 24px;
}

.h1 {
  padding: 1em 0 0.5em;
  font-size: clamp(2.2rem, 2.051rem + 0.75vw, 2.611rem);
  font-weight: 700;
  font-family: var(--font-titles);
  color: var(--accent);
}

.h2 {
  margin: 1em 0 0.5em;
  font-size: clamp(2rem, 1.879rem + 0.61vw, 2.333rem);
  font-weight: 700;
  font-family: var(--font-titles);
}

.h3 {
  margin: 1em 0 0.5em;
  font-size: 26px;
  font-weight: 700;
  font-family: var(--font-titles);
}

.h4 {
  margin: 1em 0 0.5em;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-titles);
}


.sortable {
  cursor: pointer; /* Изменяет курсор на указатель при наведении */
}

.sort-arrow {
  margin-left: 5px; /* Добавляет небольшой отступ между текстом и стрелочкой */
}

#w0-kvdate .form-control, #w2-kvdate .form-control {
  margin-bottom: 10px; /* Increased margin for better spacing */
}


/* ------- express.html -----*/
.express #results, .express #table-template, .express #row-template {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.express .table > thead > tr > th {
  font-size: 16px; 
}

.express .table > thead > tr  {
  border-bottom: 1px solid #ccc;
}

.express .table > tbody > tr.danger > td {
  color: #000;
  background-color: rgba(255, 225, 199);
}

.express .table > tbody > tr.active > td {
  background-color: rgba(106, 208, 106);
}

.express .table > tbody > tr.success > td {
  background-color: rgba(106, 208, 106);
}

.express .table > tbody > tr.warning > td {
  color: #000;
  background-color: rgba(255, 215, 0);
}

.express .table > tbody > tr.secondary > td {
  background-color: rgba(242, 242, 242);
  color: #000;
}

.express .table tbody tr {
  border-bottom: 1px solid #ccc;
}

.express .result-item.table tbody tr:last-child {
  border: 0;
}

.express .result-item.-expiring-active .result-item-piece {
  background-color: #D5F9CC;
}

.express .result-item.-future-active .result-item-piece {
  background-color: #EBB142;
}

.express .result-item.-canceled .result-item-piece {
  background-color: #ff8c82;
}

.express .result-item.-expiring .result-item-piece {
  background-color: #FFFBC8;
}

.express .result-item.-expired .result-item-piece {
  background-color: #F4F4F4;
}

.express .result-item.-active .result-item-piece {
  background-color: #98DB87;
}

.express .result-item-piece {
  box-sizing: border-box;
  padding: 10px;
  width: 110px;
  text-align: center;
  border: 0;
}

.express td.result-item-piece.-status {
  width: 229px;
  color: var(--accent)!important;
 
}

.express .plate_app, .share-open, .share-socials {
  display: none;
}

.typed-out{
  overflow: hidden;
  border-right: .15em solid #0aa9c8;
  white-space: nowrap;
  animation: typing 5.8s steps(50, end) forwards infinite;
  width: 0;
  line-height: 1.2;
}

.typed-out__accent {
  color: var(--page-dark-bg);
}

@keyframes typing {
  0% { width: 0;}
  80% { width: 100%;}
  100% { width: 100%;}
}

@media (max-width: 767px) {

  .express .input-wrapper {
      width: 100%;
      margin-right: 0;
      margin-bottom: 10px;
  }

  .express .result-item.-expiring-active {
      background-color: #D5F9CC;
  }

  .express .result-item.-future-active {
      background-color: #EBB142;
  }

  .express .result-item.-canceled {
      background-color: #FFC6C6;
  }

  .express .result-item.-expiring {
      background-color: #FFFBC8;
  }

  .express .result-item.-expired {
      background-color: #F4F4F4;
  }

  .express .result-item.-active {
      background-color: #98DB87;
  }

  .express .input-item:last-child > input {
      position: relative;
      z-index: 2;
      height: auto;
  }

  .express .input-item .russia {
      background: transparent;
      z-index: 1;
      box-sizing: border-box;
      top: -14px;
  }

  .express .plate_app {
      display: none;
      position: relative;
      height: 70px;
      width: 100%;
      background-color: #414141;
      z-index: 1;
      opacity: 0.9;
      font-size: 12px;
      padding: 12px;
  }

  .express .plate_app-logo {
      position: absolute;
      left: 16px;
  }

  .express .plate_app-close {
      position: absolute;
      top: 7px;
      right: 12px;
  }

  .express .plate_app-left {
      float: left;
      margin-left: 56px;
      width: 150px;
      margin-top: -7px;
  }

  .express .plate_app-right {
      float: right;
  }

  .express .plate_app-caption {
      font-size: 14px;
      font-weight: 700;
  }

  .express .plate_app-text {
      font-size: 12px;
      margin: 0;
      width: 200px;
  }

  .express .plate_app-open {
      display: block;
      text-decoration: none;
      text-align: center;
      line-height: 30px;
      font-size: 12px;
      background-color: #3b82f6;
      border-radius: 15px;
      border: none;
      color: #fff;
      width: 86px;
      height: 30px;
      margin-top: 10px;
      text-transform: uppercase;
  }

  .express .share-open {
      display: block;
      text-align: center;
      text-decoration: underline;
      margin-top: 20px;
  }

  .express .share-socials {
      border-radius: 8px 8px 0px 0px;
      background-color: #fff;
      color: #000;
      position: fixed;
      bottom: 0;
      width: 100%;
      height: 220px;
      padding: 50px 20px 25px 20px;
      left: 0;
      text-align: center;
      z-index: 100000;
  }

  .express .share-socials-close {
      position: absolute;
      width: 12px;
      height: 12px;
      top: 11px;
      right: 13px;
  }

  .express .share-caption {
      margin-bottom: 40px;
      font-size: 20px;
  }

  .express .share-socials-icons {
      margin: 0;
      padding: 0;
  }

  .express .share-icon {
      width: 18%;
      display: inline-block;
  }

  .express .share-icon img {
      margin-bottom: 8px;
      width: 35px;
  }

  .express .share-icon span {
      display: block;
      color: #000;
      font-size: 11px;
      font-weight: bold;
  }
}

@media (max-width: 375px) {
  .express .plate_app-text {
      width: 150px;
      font-size: 9px;
  }

  .express .plate_app-caption {
      font-size: 12px;
      font-weight: 700;
  }

  .express .plate_app-left {
      margin-top: auto;
  }
}

.express .redfamily {
  color: red;
}
.express .search-box,.close-icon,.search-wrapper {
  position: relative;
  padding: 10px;
}

.express .close-icon {
  border:1px solid transparent;
  background-color: transparent;
  display: inline-block;
  vertical-align: middle;
  outline: 0;
  cursor: pointer;
}
.express .close-icon:after {
  content: "X";
  display: block;
  width: 18px;
  height: 18px;
  position: absolute;
  background-color: #D8D8D8;
  z-index:1;
  right: 35px;
  top: 0;
  bottom: 0;
  margin: auto;
  padding: 0px;
  border-radius: 50%;
  text-align: center;
  color: white;
  font-weight: normal;
  font-size: 11px;
  box-shadow: 0 0 2px #FFFFFF;
  cursor: pointer;
}
.express .search-box:not(:valid) ~ .close-icon {
  display: none;
}
