/**
 * @file
 * Subtheme specific CSS.
 */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.1/font/bootstrap-icons.css");

body {
  font-family: 'Roboto', sans-serif !important;
  color: #4d4d4d !important;
  font-weight: 300 !important;
  font-size: 1.25rem !important;
}

.btn-primary {
  color: #fff!important;
}

.card a,
form a {
  color: #2C3C5B;
}

.card a:hover,
form a:hover {
  color: #09C5A8;
}

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

/** Footer **/

footer {
  background: #2C3C5B;
  color: #b2cee5;
}

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

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

footer .block {
  border: none;
}

#homeTools .card-footer.text-end a {
  color: #fff !important;
}

#homeTools .card-footer {
  background: #fff;
  border: none;
}

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

/** Home Slider **/

#carouselHomeSlider {
  width: 100%;
}

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

.slider-outer {
  /*max-height: 800px;*/
  height: calc(66vh - 171px);
  overflow: hidden;
  display: flex;
  align-items: center;
}

#carouselHomeSlider .carousel-caption {
  position: absolute;
  left: 20%;
  top: auto;
  right: auto;
  bottom: 22%;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  color: #fff;
  text-align: left;
}

#carouselHomeSlider .carousel-caption h5 {
  background: #2C3C5B;
  border-radius: 0.25rem;
  padding: 0.5rem 1.5rem;
  font-size: 3rem;
}

#carouselHomeSlider .carousel-caption p {
  background: #2C3C5B;
  border-radius: 0.25rem;
  padding: 0.5rem 1rem;
  font-size: 1.5rem;
  display: inline-block;
}

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

/** Home Tools **/
#homePartners .item-partner .paragraph {
  text-align: center;
}

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

#homeTools .item-tool img {
  max-height: 32px;
  width: auto;
}

/****************/
.path-frontpage .featured-top {
  background: #f4f4f4;
}

.path-frontpage .featured-bottom,
.path-frontpage .featured-top {
  /*background: #f4f4f4;*/
}

.path-frontpage #main-wrapper {
  background: #fff;
}

h2.display-4 {
  color: #2C3C5B;
}

#block-languagedropdownswitcher .dd-options li a {
  height: 30px !important;
}

#block-languagedropdownswitcher .dd-option-text {
  line-height: 14px !important;
  float: left;
  font-size: 0.875rem;
}

#block-languagedropdownswitcher .ddsDefault .dd-selected label {
  line-height: 14px !important;
  float: left;

}

#block-languagedropdownswitcher .ddsDefault .dd-selected {
  height: 30px !important;
  color: #fff;
  background: #2C3C5B;
  font-weight: 300;
  font-size: 0.875rem;
  padding: 8px 10px;
}

#block-languagedropdownswitcher .ddsDefault .dd-selected:hover {
  color: #fff;
  cursor: pointer;
}

#block-languagedropdownswitcher .ddsDefault .dd-select {
  background: #2C3C5B;
  border-color: #2C3C5B;
  color: #fff;
  border-radius: 0.2rem;
}

#block-languagedropdownswitcher .ddsDefault .dd-pointer-down {
  border-color: #fff rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) !important;
}

#block-languagedropdownswitcher .ddsDefault .dd-pointer-up {
  border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #fff !important;
}

#block-languagedropdownswitcher .ddsDefault .dd-option .dd-option-text:hover,
#block-languagedropdownswitcher .dd-selected-text:hover {
  cursor: pointer;
}

#block-languagedropdownswitcher .ddsDefault .dd-option {
  padding: 8px 10px;
}

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

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

#navbar-top {
  height: 40px;
  padding: 0;
}

#block-languagedropdownswitcher fieldset {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  height: 32px;
}

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

#block-languagedropdownswitcher,
#block-contactstop {
  padding-right: 0;
  padding-left: 0;
}

.menu--main .nav-link {
  color: #2C3C5B;
  font-weight: 300;
  font-size: 1.25rem;
}

/** Sticky header **/


.navbar.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1;
  box-shadow: 0 5px 10px rgb(0 0 0 / 20%);
}

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


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

.menu--main .nav-item .nav-link {
  border-radius: 5px;
  font-weight: bolder;
}

.menu--main .nav-item .nav-link:hover {
  color: #2C3C5B;
}

.menu--main .nav-item.active .nav-link {
  color: #fff;
  background-color: #2C3C5B;
  display: inline-block;
}

#navbar-top .field--name-body a,
#main a,
#about-us a,
.featured-bottom a {
  /*color: #2C3C5B;*/
  text-decoration: none;
}

#about-us a.nav-link {
  color: #2C3C5B;
}

#navbar-top .field--name-body a:hover,
#main a:hover,
#about-us a:hover,
.featured-bottom a:hover {
  /*color: #ea4a51;*/
}

#lang_dropdown_form_lang-dropdown-form {
  border: none;
  color: #fff;
  border-radius: 3px;
}

#lang_dropdown_form_lang-dropdown-form .form-select {
  border: none;
  color: #fff;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-left: 5px;
}

#lang_dropdown_form_lang-dropdown-form img.language-icon {
  padding: 0;
  margin-top: -19px;
  margin-left: 10px;
}

.cc-revoke {
  display: none;
}

.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-languagedropdownswitcher {*/
/*  align-items: flex-start !important;*/
/*  margin-left: unset !important;*/
/*}*/

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;
}

/*	@group	Carousel	*/

.carousel-item {

}


.slider {
  position: relative;
}

.headline h1 {
  color: white;
  font-size: 1.25rem !important;
  line-height: 1.2em;
}

.headline {
  color: white;
  line-height: 24px;
  font-size: 1.5rem !important;
  font-weight: 600;
  position: absolute;
  bottom: 5vh;
  left: 5vw;
  background-color: #2C3C5B;
  border-radius: 0.25rem;
  margin-right: 5vw;
  z-index: auto;
}

.carousel .headline {
  bottom: 6rem;
}

.carousel .subline {
  font-size: 1rem !important;
  font-weight: 400;
  color: white;
  position: absolute;
  bottom: calc(6em - 1rem - 18px);
  left: 5vw;
  background-color: #2C3C5B;
  border-radius: 0.25rem;
  z-index: auto;
}

.headline {
  animation: headlineslide ease 2s;
  animation-iteration-count: 1;
  transform-origin: 0% 0%;
  animation-fill-mode: forwards; /*when the spec is finished*/
  -webkit-animation: headlineslide ease 2s;
  -webkit-animation-iteration-count: 1;
  -webkit-transform-origin: 0% 0%;
  -webkit-animation-fill-mode: forwards; /*Chrome 16+, Safari 4+*/
  -moz-animation: headlineslide ease 2s;
  -moz-animation-iteration-count: 1;
  -moz-transform-origin: 0% 0%;
  -moz-animation-fill-mode: forwards; /*FF 5+*/
  -o-animation: headlineslide ease 2s;
  -o-animation-iteration-count: 1;
  -o-transform-origin: 0% 0%;
  -o-animation-fill-mode: forwards; /*Not implemented yet*/
  -ms-animation: headlineslide ease 2s;
  -ms-animation-iteration-count: 1;
  -ms-transform-origin: 0% 0%;
  -ms-animation-fill-mode: forwards; /*IE 10+*/
}

@keyframes headlineslide {
  0% {
    opacity: 0;
    transform: translate(-999px, 0px);
  }

  100% {
    opacity: 1;
    transform: translate(0px, 0px);
  }
}

@-moz-keyframes headlineslide {
  0% {
    opacity: 0;
    -moz-transform: translate(-999px, 0px);
  }

  100% {
    opacity: 1;
    -moz-transform: translate(0px, 0px);
  }
}

@-webkit-keyframes headlineslide {
  0% {
    opacity: 0;
    -webkit-transform: translate(-999px, 0px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translate(0px, 0px);
  }
}

@-o-keyframes headlineslide {
  0% {
    opacity: 0;
    -o-transform: translate(-999px, 0px);
  }

  100% {
    opacity: 1;
    -o-transform: translate(0px, 0px);
  }
}

@-ms-keyframes headlineslide {
  0% {
    opacity: 0;
    -ms-transform: translate(-999px, 0px);
  }

  100% {
    opacity: 1;
    -ms-transform: translate(0px, 0px);
  }
}

.subline {
  animation: sublineslide ease 2s;
  animation-iteration-count: 1;
  transform-origin: 0% 0%;
  animation-fill-mode: forwards; /*when the spec is finished*/
  -webkit-animation: sublineslide ease 2s;
  -webkit-animation-iteration-count: 1;
  -webkit-transform-origin: 0% 0%;
  -webkit-animation-fill-mode: forwards; /*Chrome 16+, Safari 4+*/
  -moz-animation: sublineslide ease 2s;
  -moz-animation-iteration-count: 1;
  -moz-transform-origin: 0% 0%;
  -moz-animation-fill-mode: forwards; /*FF 5+*/
  -o-animation: sublineslide ease 2s;
  -o-animation-iteration-count: 1;
  -o-transform-origin: 0% 0%;
  -o-animation-fill-mode: forwards; /*Not implemented yet*/
  -ms-animation: sublineslide ease 2s;
  -ms-animation-iteration-count: 1;
  -ms-transform-origin: 0% 0%;
  -ms-animation-fill-mode: forwards; /*IE 10+*/
}

@keyframes sublineslide {
  0% {
    opacity: 0;
    transform: translate(999px, 0px);
  }

  100% {
    opacity: 1;
    transform: translate(0px, 0px);
  }
}

@-moz-keyframes sublineslide {
  0% {
    opacity: 0;
    -moz-transform: translate(999px, 0px);
  }

  100% {
    opacity: 1;
    -moz-transform: translate(0px, 0px);
  }
}

@-webkit-keyframes sublineslide {
  0% {
    opacity: 0;
    -webkit-transform: translate(999px, 0px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translate(0px, 0px);
  }
}

@-o-keyframes sublineslide {
  0% {
    opacity: 0;
    -o-transform: translate(999px, 0px);
  }

  100% {
    opacity: 1;
    -o-transform: translate(0px, 0px);
  }
}

@-ms-keyframes sublineslide {
  0% {
    opacity: 0;
    -ms-transform: translate(999px, 0px);
  }

  100% {
    opacity: 1;
    -ms-transform: translate(0px, 0px);
  }
}

.slider.container-fluid {
  padding-right: 0;
  padding-left: 0;
}

.slider .carousel-inner, .slider .carousel-item, .slider .headerimage {
  height: 50vh;
}

.carousel-indicators button {
  background-color: #2C3C5B !important;
}

.carousel-indicators button.active {
  background-color: #2C3C5B !important;
}

.carousel-control-prev, .carousel-control-next {
  width: 5%;
}


/*	@end	*/

#block-languagedropdownswitcher {
  justify-content: flex-end;
}

#homeTools .card-title {
  color: #2C3C5B;
}

#edit-lang-dropdown-select-dd-placeholder .dd-option-selected {
  display: none;
}

#edit-message {
  box-shadow: none;
}

#header #navbar-top {
    background-color: #e5eef6;
}

#header #navbar-main {
    background-color: #ffffff;
}
