/**
 * @file
 * Subtheme specific CSS.
 */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.css");

#page {
  --color-primary: rgb(57, 72, 137);
  --color-secondary: rgb(211, 203, 131);
  --color-white-main: #ffffff;
  --bg-main: rgb(28, 35, 64);
  --bg-gray: rgb(245, 247, 250);
  --link-hover-color-rgb: 10, 88, 202;
  --font-primary: "Inter", sans-serif;
  --font-heading: "Montserrat", sans-serif;
  --body-font-size: 1rem;
  --body-font-weight: 400;
  --body-line-height: 1.5;
}


* {
  font-family: var(--font-primary), serif;
  font-size: var(--body-font-size);
  font-weight: var(--body-font-weight);
  line-height: var(--body-line-height);
}

/* Для всей страницы */
::selection {
  background: var(--color-secondary); /* Цвет фона выделения */
  color: #ffffff; /* Цвет самого текста при выделении */
}

.btn-primary {
  color: #fff;
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

button:hover, .btn-primary:hover {
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, .25);
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
}

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

a:hover {
  color: var(--color-secondary);
}

a, a:hover {
  text-decoration: none;
}

h1.title {
  padding-top: 20px;
  padding-bottom: 20px;
}

h1.title span {
  font-size: 2.5rem;
}

.bg-gray {
  background-color: var(--bg-gray);
}

.fixed-top {
  z-index: 90;
}

.form-actions .form-submit::before {
  content: '';
  width: 0;
  height: 0;
  background: none;
}

.form-item-phone .iti.iti--allow-dropdown {
  width: 100%;
}

/** Footer **/

footer {
  background: var(--bg-main);
  color: #ffffff;
}

footer .content a, footer .content a.is-active {
  color: #d9dee1;
  text-decoration: none;
}

footer .block {
  border: none;
}

.footer-block-title {
  color: var(--color-secondary);
  letter-spacing: 0.1em;
}

/***************/

/** Home Slider **/

#carouselHomeSlider {
  width: 100%;
}

#carouselHomeSlider .carousel-item img {
  width: 100%;
  height: auto;
  margin: 0;
}

.slider-outer {
  max-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

#carouselHomeSlider .carousel-caption {
  position: absolute;
  left: 10%;
  top: 40%;
  right: auto;
  /*bottom: 20%;*/
  /*padding-top: 1.25rem;*/
  padding-bottom: 1.25rem;
  color: var(--color-white-main);
  text-align: left;
  opacity: 0.75;
}

#carouselHomeSlider .carousel-caption h5 {
  background: var(--color-primary);
  border-radius: 0.25rem;
  padding: 0.5rem 1.5rem;
  font-size: 2.5rem;
}

#carouselHomeSlider .carousel-caption p {
  background: var(--color-primary);
  border-radius: 0.25rem;
  padding: 0.5rem 1rem;
  font-size: 1.5rem;
  display: inline-block;
}

/*******************/

/** Home Tools **/

#homePartners .item-partner img {
  width: 100%;
  height: auto;
}

#homeTools .item-tool img {
  width: 100%;
  height: auto;
}

/****************/

h2.display-4 {
  color: var(--color-primary);
}

.region-secondary-menu {
  width: 100%;
}

#block-contactstop .field--name-body {
  display: flex;
}

#navbar-top {
  /*height: 60px;*/
  padding: 0;
}

.navbar-brand img {
  max-width: 160px;
  height: auto;
}


/* Main menu */

.menu--main .nav-link {
  color: rgb(94, 100, 115);
  font-size: 13px;
  font-weight: 500;
  padding-bottom: 3px;
  padding-top: 3px;
}

.menu--main .nav-link:hover,
.menu--main .nav-link.active {
  color: var(--color-primary);
  display: inline-block;
  border-bottom: 2px solid var(--color-secondary);
  font-weight: 600;
}

/* end Main Menu */

#navbar-top .field--name-body a,
#main a,
#about-triwin a,
.featured-bottom a {
  color: var(--color-primary);
  text-decoration: none;
}

#about-triwin a.nav-link {
  color: var(--color-primary);
}

#navbar-top .field--name-body a:hover,
#main a:hover,
#about-triwin a:hover,
.featured-bottom a:hover {
  color: #939598;
}

.dir-nortl {
  direction: ltr;
  text-align: right;
}

#block-contactstop .dir-nortl {
  display: flex;
}

html[dir='rtl'] .modal-header .btn-close {
  padding: 0.5rem 0.5rem;
  margin: -0.5rem auto -0.5rem -0.5rem;
}

html[dir='rtl'] #block-contactstop {
  /*margin: 0 auto!important;*/
  margin-left: 24px !important;
}

html[dir='rtl'] .region-secondary-menu {
  display: flex;
  justify-content: flex-end;
}

html[dir='rtl'] #carouselHomeSlider .carousel-caption {
  text-align: right;
}

.captcha {
  position: unset;
}

.webform-submission-contact-form .form-check {
  display: inline-block;
}


#navbar-top {
  background-color: #eceef0;
}

#auth-app .nav-link {
  color: var(--color-primary);
  font-weight: normal !important;
}

#auth-app a {
  color: var(--color-primary);
  font-weight: normal;
  text-decoration: none;
}

#auth-app a:hover {
  color: #495057;
}

#auth-app .nav-link.active {
  color: #495057;
  font-weight: bold !important;
}

.card-header {
  background: #d9dee1;
}

.card-header .field--name-field-title {
  font-size: 1.3rem;
}

.country {
  font-size: 1rem;
  padding-bottom: 0.5rem;
}

.display-4 {
  font-size: 2.5rem !important;
}

#about-us {
  padding-top: 60px !important;
}


/** Sticky header **/


.navbar.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1;
}

.navbar.sticky ~ .highlighted {
  padding-top: 102px;
}

.navbar.sticky .navbar-brand img {
  /*max-width: 160px;*/
  height: auto;
}

.highlighted {
  padding-top: 102px;
}

/*****************/


#homePartners .item-partner .country-fav img {
  width: 18px;
}


#section-partners, #section-jobs {
  background: #c6cdd1;
}


#accordionJobs .accordion-button::after {
  margin-left: unset;
}

#accordionJobs .accordion-button:not(.collapsed) {
  color: #bf1e2e;
  background-color: #eceef0;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

#accordionJobs .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.job-title {
  font-size: 1.3rem;
}

#section-testimonials {
  background: #fff;
}

#header #navbar-main {
  background-color: var(--color-white-main);
  box-shadow: rgba(11, 37, 69, 0.08) 0px 4px 12px;
}


/* Navbar offcanvas */

#navbar-main .navbar-toggler {
  background-color: var(--color-white-main);
  border-color: var(--color-white-main);
}

#carouselHomeSlider {
  z-index: 0;
}


.navbar .offcanvas.offcanvas-end {
  background: white;
  /*background-color: rgb(255 255 255 / 80%);*/
}

.navbar .offcanvas.offcanvas-end .offcanvas-header {
  /*background: rgb(10, 29, 60);*/
  height: 70px;
}

.offcanvas-header .btn-close {
  background-color: var(--color-white-main);
  opacity: 1;
}

.navbar-expand-xl .offcanvas .offcanvas-body {
  justify-content: space-between;
}


/* Footer */

.footer-top h2 {
  font-family: var(--font-heading), serif;
  color: rgb(255, 255, 255);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem !important;
}

.footer-top li {
  color: rgba(255, 255, 255, 0.8);
}

.footer-top a {
  text-decoration: none !important;
  font-size: .875em;
  color: rgba(255, 255, 255, 0.8);
  padding: 0;
}

.footer-top a:hover {
  color: rgba(255, 255, 255, 0.5);
}

/* Contact form */

#webform-contact #edit-form-description,
#webform-contact h2 {
  text-align: center;
}

#webform-contact form .form-actions {
  align-self: center;
  width: 100%;
}

#webform-contact form #edit-actions-submit {
  width: 100%;
  font-weight: 600;
  min-height: 52px;
}

#webform-contact .js-form-item {
  margin-bottom: 0 !important;
}

#webform-contact .webform-flexbox {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

#webform-contact label {
  font-weight: 600;
  font-size: .875em;
}

#webform-contact #mc input:invalid, #webform-contact textarea:invalid {
  box-shadow: none;
  -webkit-box-shadow: none;
}

.featured-bottom {
  background-color: rgb(242, 244, 249);
}

.node__content {
  margin-top: 0px;
}

/* Partners */

.tgi-card {
  transition: box-shadow 0.2s, transform 0.2s;
}

.tgi-card:hover {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
  transform: translateY(-4px);
}

.tgi-partner-card {
  transition: box-shadow 0.2s;
}

.tgi-partner-card:hover {
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, .12) !important;
}

.tgi-btn-hover:hover {
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, .25) !important;
}

.tgi-card {
  transition: box-shadow 0.2s, transform 0.2s;
}

.py-8 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

#block-triwin-branding img {
  max-width: 260px;
}

#block-triwin-sitebranding img {
  max-width: 240px;
}

/* Cookie */

.cc-revoke {
  display: none;
}


.cc-grower {
  z-index: 1000;
  position: fixed;
  top: 0;
  width: 100%;
  background: #000;
  color: #fff;
}

.cc-btn.cc-dismiss {
  background-color: rgb(211, 203, 131);
  color: rgb(57, 72, 137);
  text-decoration: none;
}

.cc-btn.cc-dismiss:hover {
  background-color: rgb(57, 72, 137);
  color: rgb(211, 203, 131);
  text-decoration: none;
}

#block-triwin-freeconsultation a#b-home-login {
  border-width: 1px;
  border-style: solid;
  border-color: rgb(198, 197, 135);
  color: rgb(38, 55, 114);
  background-color: transparent;
  width: 100%;
  text-align: center;
}

#block-triwin-freeconsultation a#b-home-contact {
  background-color: rgb(57, 72, 137);
  color: rgb(255, 255, 255);
  width: 100%;
  text-align: center;
}

#block-triwin-freeconsultation a {
  text-decoration: none;
}

#block-triwin-freeconsultation a:hover {
  text-decoration: none;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
  transform: translateY(-1px);
}
