/* stylelint-disable at-rule-empty-line-before, max-line-length, scss/double-slash-comment-empty-line-before */

/* MONTSERRAT 400 START */
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400;
  src: url("../../fonts/Montserrat-400-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400;
  src: url("../../fonts/Montserrat-400-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400;
  src: url("../../fonts/Montserrat-400-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400;
  src: url("../../fonts/Montserrat-400-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400;
  src: url("../../fonts/Montserrat-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* MONTSERRAT 400 END */

/* MONTSERRAT 600 START */
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 600;
  src: url("../../fonts/Montserrat-600-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 600;
  src: url("../../fonts/Montserrat-600-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 600;
  src: url("../../fonts/Montserrat-600-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 600;
  src: url("../../fonts/Montserrat-600-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 600;
  src: url("../../fonts/Montserrat-600-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* MONTSERRAT 600 END */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --header-height: 48px;
  --logo-height: 32px;
  --grid-gutter: 1rem;
  --screen-max: 1920px;
  --c-white: #FFF;
  --c-bg-neutral-50: #F6F7F8;
  --c-text: #002543;
  --c-link: #004985;
  --c-link-bg: #F0F8FF;
  --c-active: #037BC7;
  --c-border: #D9DDE1;
  --c-warm: #C23318;
  --c-warm-dark: #8D220E;
  --base-font-size: 1rem;
  --base-line-height: 150%;
  --font-family: Montserrat, Arial, sans-serif;
  --font-family-brand: Montserrat, Arial, sans-serif;
  --shadow: 0px 16px 64px rgba(0, 37, 67, 0.2);
  --spacer-050: 0.25rem;
}

html {
  background: var(--c-bg-neutral-50);
  font-size: 87.5%;
}

@media (min-width: 640px) {
  :root {
    --grid-gutter: 2.5rem;
  }
}

@media (min-width: 1152px) {
  html { font-size: 100%; }
}

@media (min-width: 1920px) {
  body, header {
    margin: 0 auto;
    max-width: var(--screen-max);
  }
}

body {
  font-family: var(--font-family);
  background: var(--c-white);
  font-size: var(--base-font-size);
  line-height: var(--base-line-height);
  min-height: 100vh;
  color: var(--c-text);
}

body.is-cms-menu {
  margin-top: 0 !important;
}

body.is-cms-menu > .is-content {
  padding-top: 0 !important;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6,
body .information--title,
.is-content h1,
.is-content h2,
.is-content h3,
.is-header h1,
.is-header h2,
.is-header h3 {
  font-family: var(--font-family-brand);
  line-height: 115%;
}

h1, .h1 {
  font-size: 3.5rem;
}

@media screen and (max-width: 767px) {
  h1, .h1 {
    font-size: 1.5rem;
  }
}

h2, .h2 {
  font-size: 2.25rem;
}

@media screen and (max-width: 767px) {
  h2, .h2 {
    font-size: 2.125rem;
  }
}

h3, .h3 {
  font-size: 1.5rem;
}

body .is-content .page--title {
  font-size: 2rem;
}

p {
  margin-bottom: 1rem;
}

h1:first-child, .h1:first-child,
h2:first-child, .h2:first-child,
h3:first-child, .h3:first-child,
h4:first-child, .h4:first-child {
  margin-top: 0;
}

.sys-container-fluid,
.container {
  padding-left: var(--grid-gutter);
  padding-right: var(--grid-gutter);
  width: 100%;
}

.container {
  max-width: inherit !important;
}

.sys-header-wrap {
  padding-bottom: 16px;
  padding-top: var(--header-height);
}

.sys-header {
  background-color: rgb(255 255 255 / 65%) !important;
  backdrop-filter: saturate(180%) blur(20px);
  height: var(--header-height);
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 30;
  width: 100%;
}

.sys-footer {
  background: var(--c-bg-neutral-50);
  padding-top: 4rem;
  padding-bottom: 4rem;
  margin-top: 11rem;
}

.sys-logo {
  display: flex;
  position: relative;
  z-index: 20;
}

.sys-logo img {
  height: var(--logo-height);
  width: auto;
}

.sys-logo-brandmark {
  display: none;
}

body h1, body h2, body h3, body h4, body h5, body h6, body .h1, body .h2, body .h3, body .h4, body .h5, body .h6 {
  color: var(--c-text);
}

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

body .text-secondary {
  color: var(--c-link) !important;
}

body .information--title {
  font-size: 1.2em;
  font-weight: normal !important;
  color: var(--c-text) !important;
  min-height: 3em;
}

body .information--title .btn {
  font-size: 1rem;
  padding-top: 0.325rem;
  padding-bottom: 0.325rem;
}

body .is-content input, body .is-content select, body .is-content textarea, body .is-content button, body .is-content .form-control, body .is-content .btn {
  color: var(--c-text);
  border-radius: 2px !important;
  font-size: 1em;
}

body .btn {
  font-size: 1em;
  line-height: 1em;
}

body .is-content .custom-control-label::before {
  /* custom checkbox */
  border-radius: 2px;
}

body .is-content .custom-control {
  line-height: 1.2;
}

body .btn.btn-primary {
  color: white !important;
  background-color: var(--c-link) !important;
}

body .btn.btn-outline-secondary,
body .btn.btn-outline-primary,
body .btn.btn-secondary {
  color: var(--c-link) !important;
  background-color: var(--c-link-bg) !important;
  border-color: var(--c-link-bg) !important;
}

/* Footer */
body footer.is-footer {
  margin-top: 6em;
  padding-bottom: 3em;
  color: var(--c-text);
  background: var(--c-bg-neutral-50);
}

body nav.footer-navigation {
  display: none;
}

body .footer-contact {
  display: block !important;
}

ul#footerLinks {
  padding: 0;
  margin: 2rem 0 0;
}

#footerLinks li {
  list-style: none;
  display: inline-block;
  margin-right: 1em;
  color: var(--c-link);
}

/* Tables */
body .is-content .responsive-table {
  /* font-size: .875em; */
}

body .is-content .responsive-table .responsive-table--row {
  border-bottom: 1px solid var(--c-border);
  background: none !important;
}

/* Tabs */
.breadcrumb-tab .breadcrumb-item {
  background-color: white !important;
  color: var(--c-link) !important;
  font-family: var(--font-family) !important;
}

.breadcrumb-tab .breadcrumb-item a {
  color: var(--c-link) !important;
}

.breadcrumb-tab .breadcrumb-item.active {
  background-color: var(--c-active) !important;
}

.breadcrumb-tab .breadcrumb-item.active a {
  color: white !important;
}

.breadcrumb-item a:hover {
  color: var(--c-link) !important;
}

/* Pagination */
body .pagination .page-link {
  color: var(--c-link);
  background: var(--c-link-bg);
  border: none;
}

body .pagination .page-item.active .page-link {
  color: white;
  background: var(--c-active);
  border: none;
}

/* Checkout Progress */
.breadcrumb-stepper .breadcrumb-item {
  background-color: white !important;
  color: var(--c-link) !important;
  font-size: 0.75rem;
}

.breadcrumb-stepper .breadcrumb-item a {
  color: var(--c-link) !important;
}

.breadcrumb-stepper .breadcrumb-item.active {
  background-color: var(--c-active) !important;
}

.breadcrumb-stepper .breadcrumb-item.active a {
  color: white !important;
  font-weight: bold;
}

.breadcrumb-stepper .breadcrumb-item.active::before {
  border-color: transparent transparent transparent white !important;
}

.breadcrumb-stepper .breadcrumb-item.active::after {
  border-color: transparent transparent transparent var(--c-active) !important;
}

/* Checkout General */
body .is-content .basket-summary .summary-block {
  color: var(--c-text);
}

body .basket-summary .btn.btn-outline-secondary {
  background: none !important;
  border: none !important;
}

.address-entry.active {
  color: var(--c-active);
  border-color: var(--c-active) !important;
  border-radius: 2px;
}

.column-price.responsive-table--item .value,
.column-sum.responsive-table--item .value {
  text-align: right;
}

/* Project Planner */
body .project-list-wrapper {
  padding: 0.25em 0;
  border-bottom: 1px solid var(--c-border);
}

body .project-list-wrapper:nth-child(odd) {
  background: none;
}

body .quick-add-title,
body .group-item-title {
  color: var(--c-text) !important;
}

.sys-flex {
  display: flex;
  align-items: center;
}

.sys-header-title {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  line-height: 120%;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.sys-header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  column-gap: 32px;
  position: relative;
  z-index: 20;
}

.sys-header-right a {
  text-decoration: none;
}

.sys-header-right a:hover {
  color: var(--c-active);
}

.sys-home-link i {
  margin-left: var(--spacer-050);
}

.sys-header-actions {
  font-size: 24px;
  line-height: 100%;
  display: flex;
  height: 100%;
  flex: 1 1 0%;
  align-items: center;
  justify-content: flex-end;
  -webkit-column-gap: 32px;
  column-gap: 32px;
  padding-top: 2px;
}

.sys-dropdown-wrap {
  position: relative;
}

.sys-dropdown {
  display: none;
  background: var(--c-white);
  position: absolute;
  right: 0;
  top: 100%;
  white-space: nowrap;
  box-shadow: var(--shadow);
  border-radius: 2px;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  margin-top: 0.25rem;
  margin-left: calc(var(--grid-gutter) / -2);
  margin-right: calc(var(--grid-gutter) / -2);
}

.sys-dropdown-wrap.active > a {
  color: var(--c-active);
}

.sys-dropdown-wrap.active .sys-dropdown {
  display: block;
}

.sys-dropdown .sys-actions-menu-divider-after + * {
  margin-top: 0.5rem;
  border-top: solid 1px var(--c-border);
  padding-top: 0.5rem;
}

.sys-dropdown a {
  display: block;
  white-space: nowrap;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
}

a.sys-user-account-logout {
  color: var(--c-warm);
}

a.sys-user-account-logout:hover {
  color: var(--c-warm-dark) !important;
}

@media screen and (max-width: 767px) {
  .sys-logo-brandmark {
    display: block;
  }

  .sys-logo-large {
    display: none;
  }

  .sys-home-link {
    display: none;
  }
}

.sys-dropdown .sys-dropdown-spinner {
  padding: 0 1.5rem;
}

.sys-dropdown > div { display: none; }
.sys-dropdown.sys-loading > .sys-dropdown-spinner { display: block; }
.sys-dropdown.logged-in > .sys-dropdown-logged-in { display: block; }
.sys-dropdown.logged-out > .sys-dropdown-logged-out { display: block; }

.sys-spinner {
  display: inline-block;
  z-index: 1;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid var(--c-text);
  border-radius: 50%;
  border-top: 2px solid transparent;
  animation: sys-spin 1s linear infinite;
}

@keyframes sys-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
