/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  color: rgb(var(--bs-tertiary-color-rgb));
}

.bg-black {
  background-color: #000!important;
}

.bg-white {
  background-color: #fff!important;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #265798!important;
  padding: 16px 32px!important;
  border-radius: 8px!important;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open>.dropdown-toggle.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #31a5d2!important;
}

.container2x {
  max-width: 1818px;
  margin: 0 auto;
}

.headercontact {
  background-color:lightblue;
  font-size: 16px;
  font-weight: 500;
  padding: 16px 0;
  text-align: right;
  vertical-align: middle;
}

.headercontact p {
  margin-bottom: 0;
}

/* MENU */
.nav-item {
  font-weight: 500;
  font-size: 18px;
}

.nav-item a:link {
  color: #000;
}
.nav-item a:hover {
  color:#31a5d2;
  border-radius: 2px;
  text-decoration: underline;
  text-underline-offset: 4px;
  /**background-color: #31a5d2!important;**/
}

.nav-container {
  border-bottom: 2px solid lightblue;
}

.dropdown-item {
  display: block;
  width: 100%; // For `<button>`s
  padding: 0;
  clear: both;
  font-weight: $font-weight-normal;
  text-align: inherit; // For `<button>`s
  text-decoration: if($link-decoration == none, null, none);
  height:40px;
  line-height:20px;
  white-space: nowrap; // prevent links from randomly breaking onto new lines
  background-color: transparent; // For `<button>`s
  border: 0; // For `<button>`s
  @include border-radius(var(--#{$prefix}dropdown-item-border-radius, 0));

  &:hover,
  &:focus {
    color: #fff!important;
    background-color: #31a5d2!important;
    text-decoration: if($link-hover-decoration == underline, none, null);
    @include gradient-bg(var(--#{$prefix}dropdown-link-hover-bg));
  }

  &.active,
  &:active {
    color: #fff!important;
    text-decoration: none;
    @include gradient-bg(var(--#{$prefix}dropdown-link-active-bg));
  }

  &.disabled,
  &:disabled {
    color: var(--#{$prefix}dropdown-link-disabled-color);
    pointer-events: none;
    background-color: transparent;
    // Remove CSS gradients if they're enabled
    background-image: if($enable-gradients, none, null);
  }
}

@media (min-width:768px) {
  .nav-item {
    border-top:2px solid #fff;
    height:120px;
    line-height: 100px;
    margin-right: 40px;
    vertical-align: middle;
  }

  .nav-item:hover {
    border-top:2px solid #265798;
  }
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom:5rem!important;
  background-color: #fff;
  border-radius: 8px;
  color: #000!important;
  margin:0 auto;
  width: 50%;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 42rem;
}

.carousel-item img {
  background-size:cover;
  background-position: center;
  width: 100%;
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
/* rtl:end:ignore */


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
/* rtl:begin:remove */
.featurette-heading {
  letter-spacing: -.05rem;
}

/* rtl:end:remove */

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}
