:root {
  /* main */
  --themeCenter: 940px;
  --themeTransition: .5s ease;
  --themeHoverOpacity: 0.7;
  --themeHeaderMinHeight: 80px;
  --themeBoxShadow: 0px 0px 4px rgba(0, 0, 0, 0.1), 0px 4px 4px rgba(0, 0, 0, 0.2);
  --themeBtnBoxShadow: var(--themeBoxShadow);
  --themePopupBoxShadow: var(--themeBoxShadow);
  --themeCustomBoxShadow: var(--themeBoxShadow);
  --themeRadius: 6px;
  --themeBtnRadius: var(--themeRadius);
  --themeCustomRadius: var(--themeRadius);
  /* fonts */
  --themeFontGeneral: 400 18px/1.4 'Roboto', 'Arial', sans-serif;
  --themeFontSizeGeneral: 18px;
  --themeFontSizeSmall: 14px;
  --themeTitleBig: 400 28px/1.2 'Roboto', 'Arial', sans-serif;
  --themeTitleMedium: 500 24px/1.2 'Roboto', 'Arial', sans-serif;
  --themeTitleSmall: 700 18px/1.4 'Roboto', 'Arial', sans-serif;
  --themeButtonFont: 500 14px/1.1 'Roboto', 'Arial', sans-serif;
  /* colors */
  --themeBodyBg: #FFFFFF;
  --themeLogoColor: #363636;
  --themeTextColor: rgba(0, 0, 0, 0.5);
  --themeTextColorSecond: #FFFFFF;
  --themeAccentColor: #1a5a93;
  --themeBtnColor: var(--themeAccentColor);
  --themeHoverColor: #267cc8;
  --themeHoverBtnColor: var(--themeHoverColor);
  --themeWarningColor: #F5451F;
  --themeSuccessColor: #1f9e01;
  --themePlaceholder: rgba(0, 0, 0, 0.3);
  /* phones */
  --themeDropdownPhonesBackground: #FFFFFF;
  --themeDropdownPhonesRadius: var(--themeRadius);
  --phoneIconHeight: 24px;
  --phoneIconWidth: 24px;
  /* languages */
  --languageIconHeight: 24px;
  --languageIconWidth: 24px;
  --themeLanguagesRadius: var(--themeRadius);
  --themeLanguagesBackground: #FFFFFF;
  --themeLanguagesShadow: var(--themePopupBoxShadow);
  --themeLanguagesColorText: var(--themeTextColor);
  --themeLanguagesSeparatorInList: #CCCCCC;
  --themeLanguagesListMobHeight: 170px;
  /*contact us*/
  --themeCalendarColor: var(--themeAccentColor);
  --themeSelectActiveColor: var(--themeAccentColor);
  /* scrollbar */
  --themeScrollbarThumb: var(--themeAccentColor);
  --themeScrollbarThumbHover: var(--themeHoverColor);
  /* bill */
  --themeBillPadding: 40px;
  --themeBillWatermarkColor: #FFFFFF;
  --themeBillWatermarkStroke: 1px rgba(238, 110, 81, 0.2);
}

/* scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  border: 1px solid #fff;
  background: #eee;
}

::-webkit-scrollbar-thumb {
  border-right: 1px solid #fff;
  border-left: 1px solid #fff;
  background: var(--themeScrollbarThumb);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--themeScrollbarThumbHover);
}

/* placeholder */
::-webkit-input-placeholder {
  color: var(--themePlaceholder);
}

::-moz-placeholder {
  color: var(--themePlaceholder);
}

:-ms-input-placeholder {
  color: var(--themePlaceholder);
}

::-ms-input-placeholder {
  color: var(--themePlaceholder);
}

::placeholder {
  color: var(--themePlaceholder);
}

/* fonts */
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto-Regular.woff2') format('woff2'),
  url('../fonts/Roboto-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto-Medium.woff2') format('woff2'),
  url('../fonts/Roboto-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

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

/* main */
body {
  position: relative;
  font: var(--themeFontGeneral);
  background-color: var(--themeBodyBg);
  color: var(--themeTextColor);
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 100vh;
}

textarea,
input {
  font: var(--themeFontGeneral);
}

.center {
  width: 100%;
  max-width: var(--themeCenter);
  padding: 0 20px;
  margin: 0 auto;
}

.main-content {
  position: relative;
  overflow: hidden;
}

.btn {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-line-pack: center;
  align-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: auto;
  min-width: 180px;
  min-height: 50px;
  padding: 5px 10px;
  font: var(--themeButtonFont);
  text-transform: uppercase;
  color: #FFFFFF;
  text-align: center;
  box-shadow: var(--themeBtnBoxShadow);
  border: none;
  border-radius: var(--themeBtnRadius);
  background-color: var(--themeBtnColor);
  text-decoration: none;
  transition: all var(--themeTransition);
  cursor: pointer;
  -webkit-appearance: none;
}

.btn:hover {
  background-color: var(--themeHoverBtnColor);
}

.header_link .link-home,
.header_link .link {
  text-decoration: none;
  color: var(--themeAccentColor);
  font-size: 20px;
  line-height: 0.8;
}

.title {
  margin-bottom: 20px;
  color: var(--themeAccentColor);
}

.title__big {
  font: var(--themeTitleBig);
}

.title__medium {
  font: var(--themeTitleMedium);
}

.title__small {
  font: var(--themeTitleSmall);
}

.field_input,
.field_select,
.field_textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.16);
  padding: 5px 0;
  background-color: transparent;
  height: 30px;
  -webkit-appearance: none;
}

input:focus:valid {
  border-color: var(--themeSuccessColor);
}

input:-webkit-autofill {
  -webkit-box-shadow: inset 0 0 0 40px #fff !important;
  -webkit-text-fill-color: rgba(0, 0, 0, 0.85);
}

/* errors */
input:focus:invalid,
.is-error input {
  border-color: var(--themeWarningColor);
}

.field_error {
  color: var(--themeWarningColor);
  font-size: var(--themeFontSizeSmall);
  line-height: 1.2;
  padding: 2px 0;
  margin-top: 5px;
  opacity: 0;
  visibility: hidden;
  display: none;
  transition: visibility, opacity var(--themeTransition);
}

.is-error .field_error {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* logo */
.logo,
.logo:active,
.logo:hover,
.logo:visited {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  text-decoration: none;
}

.logo_svg,
.logo_svg svg {
  height: 40px;
  width: 40px;
}

.logo_svg svg .st0 {
  fill: var(--themeLogoColor);
}

.logo_name {
  font: var(--themeTitleMedium);
  line-height: 1;
  padding-left: 10px;
  color: var(--themeLogoColor);
}

.header_logo .logo {
  transition: all var(--themeTransition);
}

.header_logo .logo:hover {
  opacity: var(--themeHoverOpacity);
}

/* header */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
}

.header_wrap {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: justify;
  justify-content: space-between;
  min-height: var(--themeHeaderMinHeight);
  padding: 20px 0;
}

.header_languages {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin-left: 20px;
}

/* footer */
.footer {
  margin: auto 0 0 0;
}

.footer_wrap {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: 20px 0;
}

.footer_phone-block {
  display: none;
}

.footer .phone-block_text {
  display: none;
}

.footer_info {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.footer-menu {
  max-width: 50%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.footer-menu_item {
  text-decoration: none;
  transition: all var(--themeTransition);
  color: var(--themeTextColor);
  margin-bottom: 20px;
  position: relative;
}

.footer-menu_item::after {
  position: absolute;
  width: 1px;
  height: 100%;
  top: 50%;
  right: -10px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background-color: var(--themeTextColor);
}

.footer-menu_item:not(:last-of-type) {
  margin-right: 20px;
}

.footer-menu_item:not(:last-of-type)::after {
  content: "";
}

.footer-menu_item:hover {
  color: var(--themeAccentColor);
}

.copyright p {
  color: var(--themeTextColor);
}

/* block information */
.information_wrap {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-align: center;
  align-items: center;
}

.information_item {
  width: 100%;
}

/* plugins: calendar and select2 */
.ui-widget-header {
  background: var(--themeCalendarColor) !important;
  border: none !important;
}

.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus,
.ui-button:hover,
.ui-button:focus,
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
  background: none !important;
  border: none !important;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
  background: var(--themeCalendarColor) !important;
}

.ui-datepicker td span,
.ui-datepicker td a {
  text-align: center !important;
}

.ui-widget-header .ui-icon {
  background-image: none !important;
}

.ui-datepicker .ui-datepicker-prev span::before,
.ui-datepicker .ui-datepicker-next span::before {
  content: '';
  position: absolute;
  top: 1px;
  right: 0;
  width: 0;
  height: 0;
  border: 8px solid transparent;
}

.ui-datepicker .ui-datepicker-prev span::before {
  border-right-color: rgba(0, 0, 0, .8);
}

.ui-datepicker .ui-datepicker-next span::before {
  border-left-color: rgba(0, 0, 0, .8);
}

.select2-results__option--highlighted {
  background-color: var(--themeSelectActiveColor) !important;
}

.select2-container--open .select2-dropdown--below,
.select2-container--open .select2-dropdown--above {
  border: 1px solid #aaa !important;
}

@media screen and (max-width: 768px) {
  .btn:hover {
    background-color: var(--themeBtnColor);
  }
}

@media screen and (max-width: 680px) {
  :root {
    --themeFontGeneral: 400 16px/1.4 'Roboto', 'Arial', sans-serif;
    --themeFontSizeGeneral: 16px;
    --themeFontSizeSmall: 12px;
    --themeTitleBig: 400 24px/1.2 'Roboto', 'Arial', sans-serif;
    --themeTitleMedium: 500 20px/1.2 'Roboto', 'Arial', sans-serif;
    --themeTitleSmall: 700 16px/1.4 'Roboto', 'Arial', sans-serif;
  }

  .title {
    margin-bottom: 10px;
  }

  .main-content .btn {
    width: 100%;
    min-width: 100%;
  }

  .footer_wrap {
    text-align: center;
  }

  .footer_phone-block {
    width: 100%;
  }

  .footer_info {
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
  }

  .footer .footer-menu {
    max-width: 100%;
    -ms-flex-pack: distribute;
    justify-content: space-around;
  }

  .footer-menu_item,
  .footer-menu_item:not(:last-of-type) {
    margin: 0 10px 20px;
  }

  .footer-menu_item::after {
    display: none;
  }
}