/* ----------------------------------------------------------------
	Custom CSS overrides for GlobalLEI

-----------------------------------------------------------------*/

.overlapping-form {
  background-color: rgba(246, 246, 246, 1);
  padding: 25px;
  box-shadow: 6px 8px 24px 0 rgba(0, 0, 0, 0.12);
  border-style: solid;
  border-color: rgba(246, 246, 246, 1);
  border-radius: 6px;
  bottom: -30px;
}

.menu-logo img {
  height: 67px;
  margin-left: -10px;
}

@media only screen and (min-width: 600px) {
  .menu-logo img {
    height: 67px;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 10px;
  }
}

@media only screen and (min-width: 992px) {
  .menu-logo img {
    margin-left: 0;
  }

  .content-wrap {
    padding-top: 90px;
  }
}

.icon-menu {
  display: inline-block;
}

.device-lg .menu-logo img,
.device-xl .menu-logo img {
  height: 67px;
}

#header.sticky-header:not(.static-sticky):not(.sticky-style-2):not(.sticky-style-3) .menu-logo img {
  height: 67px;
  margin: 0;
}

.device-lg #header #header-wrap,
.device-xl #header #header-wrap {
  box-shadow: none;
  background-color: white;
}

#header #header-wrap {
  background-color: white;
  border-bottom: 1px solid #ececec;
  height: 100px;
}

#header.sticky-header #header-wrap {
  background-color: white;
  height: 90px !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;utf8,<svg width='24' height='24' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 5v1.5h14V5H5zm0 7.8h14v-1.5H5v1.5zM5 19h14v-1.5H5V19z'></path></svg>");
}

.custom-menu ul li>a,
.text-menu {
  color: #111111;
}

.custom-menu ul li>a:hover {
  color: #197efb;
}

.menu-icon img {
  filter: invert(50%);
}

.logo-container {
  padding-bottom: 0;
  padding-top: 0;
}

/* TODO Remove */

.alert-warning {
  display: none;
}

#header-wrap {
  margin-top: 0 !important;
}

/* TODO Remove end */

.content-wrap {
  padding: 90px 0;
}

.banner-wrapper {
  margin: 0;
}

.lei-hero-minimal {
  position: relative;
  overflow: hidden;
  background-color: #002c4b;
}

.lei-hero-minimal::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 25%;
  height: 100%;
  background: rgba(0, 44, 75, 0.35);
  transform: skewX(-8deg);
  transform-origin: top right;
  z-index: 0;
}

.lei-hero-minimal::after {
  content: '';
  position: absolute;
  top: 0;
  right: -8%;
  width: 25%;
  height: 100%;
  background: rgba(20, 60, 100, 0.28);
  transform: skewX(-8deg);
  transform-origin: top right;
  z-index: 0;
}

.lei-banner-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding-left: 8%;
  padding-right: 8%;
  box-sizing: border-box;
}

.lei-hero-minimal .stripe-3 {
  position: absolute;
  top: 0;
  right: -16%;
  width: 25%;
  height: 100%;
  background: rgba(40, 80, 130, 0.22);
  transform: skewX(-8deg);
  transform-origin: top right;
  z-index: 0;
}

.lei-hero-minimal .stripe-4 {
  position: absolute;
  top: 0;
  right: -24%;
  width: 25%;
  height: 100%;
  background: rgba(64, 110, 160, 0.18);
  transform: skewX(-8deg);
  transform-origin: top right;
  z-index: 0;
}

.lei-hero-minimal .stripe-5 {
  position: absolute;
  top: 0;
  right: -32%;
  width: 25%;
  height: 100%;
  background: rgba(90, 140, 190, 0.15);
  transform: skewX(-8deg);
  transform-origin: top right;
  z-index: 0;
}

.banner-title {
  font-size: 32px;
  font-weight: 500;
  margin: 0 0 12px 0;
  line-height: 1.2;
  color: #fff;
}

.banner-subtitle {
  font-size: 18px;
  margin: 0;
  opacity: 0.9;
  line-height: 1.3;
  color: #fff;
}

@media (min-width: 992px) and (max-width: 1299px) {
  .banner-title {
    font-size: 30px;
  }

  .banner-subtitle {
    font-size: 17px;
  }

  .lei-banner-container {
    padding-left: 25px;
    padding-right: 25px;
  }

  .logo-image {
    max-width: 90px !important;
    height: auto;
  }

  .lei-hero-minimal::before {
    display: block;
    width: 22%;
    transform: skewX(-7deg);
  }

  .lei-hero-minimal::after {
    display: block;
    width: 22%;
    right: -7%;
    transform: skewX(-7deg);
  }

  .lei-hero-minimal .stripe-3 {
    display: block;
    width: 22%;
    right: -14%;
    transform: skewX(-7deg);
  }

  .lei-hero-minimal .stripe-4 {
    display: block;
    width: 22%;
    right: -21%;
    transform: skewX(-7deg);
  }

  .lei-hero-minimal .stripe-5 {
    display: block;
    width: 22%;
    right: -28%;
    transform: skewX(-7deg);
  }
}

.gleif-logo {
  flex: 0.6;
  text-align: right;
  position: relative;
  z-index: 10;
}

@media (max-width: 991px) {
  .gleif-logo {
    display: none;
  }
}

@media (max-width: 768px) {
  .feature-section {
    display: none;
  }
}

.feature-item {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.feature-text {
  flex: 1;
}

.feature-icon {
  margin-right: 10px;
  margin-top: 2px;
}

.feature-title {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 4px;
  color: #fff;
}

.feature-description {
  font-size: 14px;
  color: #fff;
  opacity: 0.8;
  line-height: 1.4;
}

.custom-switch-button {
  background-color: transparent;
}

#footer {
  background-color: rgba(246, 246, 246, 1);
  border: 0;
}

#footer p {
  margin-bottom: 8px;
}

#footer a {
  color: black;
  font-weight: 300;
}

#copyrights {
  background-color: rgba(246, 246, 246, 1);
  text-align: center;
}

.form-control,
.sm-form-control,
.form-select {
  border-color: #dadbdd;
  height: calc(3rem + calc(var(--bs-border-width) * 2));
  min-height: calc(3rem + calc(var(--bs-border-width) * 2));
}

.sm-form-control:focus,
.sm-form-control:hover,
.sm-form-control:active {
  border-color: #c7c8cc;
}

.custom-submit,
.btn-primary {
  background-color: #E6A23C;
  border-radius: 6px;
  font-size: 18px;
  line-height: 1.5;
  padding: 8px 16px;
  box-shadow: none !important;
  font-weight: 500;
  letter-spacing: normal;
  text-shadow: none;
  text-transform: none;
  border: 0;
}

.custom-submit:hover,
.btn-primary:hover {
  background-color: #E6A23C !important;
  opacity: .8;
}

div.questionmark,
span.questionmark {
  filter: grayscale(1);
}

@media only screen and (max-width: 992px) {
  .icon-menu {
    background: transparent;
  }

  .content-wrap {
    padding: 84px 0;
  }
}

#validation_failed {
  border: 1px solid red;
}

.sm-form-control.form-error {
  border-style: solid;
}

.typeahead-lei-code-transfer-container .typeahead-loader {
  margin-top: -60px;
}

@media only screen and (max-width: 1200px) {
  .typeahead-lei-code-transfer-container .typeahead-loader {
    margin-top: -56px;
  }
}

@media only screen and (max-width: 768px) {
  .typeahead-lei-code-transfer-container .typeahead-loader {
    margin-top: -49px;
  }
}

#price_container,
#price_container h4 {
  background: transparent;
}

.info_box {
  border-radius: 12px;
}

#section-lei.transfer {
  padding-bottom: 0;
}

.faq-question {
  position: relative;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px 15px;
  text-align: center;
  transition: all 0.3s ease;
}

/* Custom floating labels for typeahead */

.typeahead-legal-entity-container,
.typeahead-lei-code-container,
.typeahead-lei-code-transfer-container {
  position: relative;
}

/* Typeahead wrapper full width */
.typeahead-legal-entity-container .twitter-typeahead,
.typeahead-lei-code-container .twitter-typeahead,
.typeahead-lei-code-transfer-container .twitter-typeahead {
  width: 100%;
  display: block;
}

/* Input styling like Bootstrap floating inputs */
.typeahead-legal-entity-container input.tt-input,
.typeahead-lei-code-container input.tt-input,
.typeahead-lei-code-transfer-container input.tt-input {
  width: 100%;
  height: auto;
  /* let padding determine height */
  padding: 1.5rem 0.75rem 0.5rem 0.75rem;
  /* top padding leaves space for label */
  line-height: 1.25;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  height: calc(3rem + calc(var(--bs-border-width) * 2));
  min-height: calc(3rem + calc(var(--bs-border-width) * 2));
  line-height: 1.25;
}

/* Focus effect like Bootstrap */
.typeahead-legal-entity-container input.tt-input:focus,
.typeahead-lei-code-container input.tt-input:focus,
.typeahead-lei-code-transfer-container input.tt-input:focus {

  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Floating label */
.typeahead-legal-entity-container label,
.typeahead-lei-code-container label,
.typeahead-lei-code-transfer-container label {
  position: absolute;
  top: 0;
  left: 0;
  padding: .9rem 1.5rem;
  pointer-events: none;
  transition: all 0.15s ease-in-out;
  color: #808080;
}

/* Label when floating */
.typeahead-legal-entity-container label.floating,
.typeahead-lei-code-container label.floating {
  color: rgba(var(--bs-body-color-rgb), .65);
  transform: scale(.75) translateY(-.9rem) translateX(-1.3rem);
}

.typeahead-lei-code-transfer-container label.floating {
  color: rgba(var(--bs-body-color-rgb), .65);
  transform: scale(.75) translateY(-.9rem) translateX(-2.5rem);
}


/* Custom overrides for more slim bootstrap floating labels */

.form-floating {
  overflow: clip;
}

.form-floating>label {
  padding: .75rem .75rem;
  color: #808080;
}

.form-floating input {
  color: #555555;
}

.form-floating>.form-control,
.form-floating>.form-control-plaintext,
.form-floating>.form-select {
  height: calc(3rem + calc(var(--bs-border-width) * 2));
  min-height: calc(3rem + calc(var(--bs-border-width) * 2));
}

.form-floating>.form-control-plaintext~label,
.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label,
.form-floating>.form-select~label {
  transform: scale(.75) translateY(-.45rem) translateX(.15rem);
}

@media only screen and (min-width: 1200px) {

  label,
  input {
    font-size: 15px;
  }
}

@media only screen and (min-width: 768px) {

  label,
  input {
    font-size: 15px;
  }
}

.form-floating>.form-select {
  padding-top: 1.225rem;
  padding-bottom: .225rem;
  color: #808080;
  font-size: 15px;
}

.bg-gray {
  background-color: rgba(246, 246, 246, 1);
}

/* Section Table of contents */
#seo-content h1,
#seo-content .h1,
#seo-content h2,
#seo-content .h2,
#seo-content h3,
#seo-content h3 {
  color: #002c4b;
}

#seo-content ol,
#seo-content ul {
  padding-left: 20px;
}

#seo-content li {
  padding-left: 5px;
}

#tableOfContents .accordion-header {
  -webkit-box-shadow: 0px 8px 18px -16px rgba(0, 0, 0, 0.19);
  -moz-box-shadow: 0px 8px 18px -16px rgba(0, 0, 0, 0.19);
  box-shadow: 0px 8px 18px -16px rgba(0, 0, 0, 0.19);
  position: relative;
}

#tableOfContents .accordion-button {
  color: #555 !important;
  font-size: 16px;
  font-weight: 400;
  padding-left: 0;
  padding-right: 0;
}

#tableOfContents .accordion-button:focus,
#tableOfContents .accordion-button:not(.collapsed) {
  -webkit-box-shadow: 0px 12px 18px -16px rgba(0, 0, 0, 0.37) !important;
  -moz-box-shadow: 0px 12px 18px -16px rgba(0, 0, 0, 0.37) !important;
  box-shadow: 0px 12px 18px -16px rgba(0, 0, 0, 0.37) !important;
  border-bottom: none !important;
}

#tableOfContents a {
  color: #555 !important;
  line-height: 1 !important;
  padding: 10px 0;
}

#tableOfContents a:focus {
  color: #006a98 !important;
}

#tableOfContents a:hover {
  color: #006a98 !important;
}

#tableOfContents a .before {
  display: none;
}

#tableOfContents a:focus .before {
  display: inline-block;
  margin-left: -16px;
}

#tableOfContents .accordion .accordion-button:not(.collapsed) {
  background: transparent;
}

#tableOfContents .accordion-body {
  padding: 0;
  background: #FAFAFA;
}

#tableOfContents .accordion-item {
  border: none;
  position: relative;
}

#tableOfContents .accordion ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-weight: 400;
}

#tableOfContents .accordion ul li {
  padding-left: 10px;
}

#tableOfContents .accordion-body ul li {
  padding-top: 5px;
  padding-bottom: 5px;
}

#tableOfContents .accordion ul li.no-children {
  padding: 7px 0;
  background: #fff;
}

#tableOfContents .sub-accordion {
  padding-left: 10px;
}

.accordion-button:not(.collapsed) {
  background: #F8F9FA;
}

#articles h1 {
  color: #002c4b !important;
}
