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

/* SITE LOGO */
nav.navbar img {
    width: 200px;
}

/* Body */
body {
  font-family: "GT Ultra", Helvetica, Ariel, sans-serif;
  font-size: 1em;
  font-weight: 400;
  line-height: 1.5em;
  margin-top: 0px;
}

/* Headings */
h1, h2, h3, h4, h5 {
  margin-top: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizelegibility;
  font-weight: 900;
  line-height: 1.1em;
}

/* Links */
a {
  color: #10555B;
  transition: color 0.5s ease;
}
/* Skip Links: e.g. 'Skip to main content' */
a.visually-hidden-focusable {
  background-color: #fff;
}
#skip-links {
  background-color: #8c1fff;
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1500;
}
#skip-links a {
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    color: #10555B;
    padding: 3px 20px 8px;
    text-decoration: none;
    border-radius: 0px 0px 10px 10px;
}

/* Paragraphs */
p {
  margin: 0 0 1.5em;
}

/* Rounded Corners */
.rounded-corners {
  border-radius: 20px;
}

/* HEADER */
#navbar-main,
.header,
.highlighted {
  background-color: #2f0d5b;
  font-family: "GT Ultra", Helvetica, Ariel, sans-serif;
  font-weight: 400;
  font-size: 16px;
}

#block-mbll-ds-findsupport p {
  margin: 0;
  padding: 0;
}

/* Heading Overrides */
h1 {
  font-size: 3em;
}

h2, h3 {
  font-size: 2em;
}

/* Underline in banner hero */
.ig-emphasis-secondary {
  text-decoration: underline #8c1fff;
  text-underline-offset: 0.3em;
}

/* LINKS BUTTONS PILLS */
a.pill {
  padding: 0.5em 1em;
  border-radius: 2em;
  text-decoration: none;
  background-color: #8c1fff;
  color: #fff;
  border: 3px solid #8c1fff;
  text-transform: uppercase;
  font-weight: bold;
  white-space: normal;
  text-align: center;
  width: fit-content;
  display: inline-block;
}
a.pill:hover,
a.pill:active,
a.pill:focus {
  color: #8c1fff;
  background-color: #fff;
  border: 3px solid #8c1fff;
  transition: color 0.3s ease;
}

/* Chartruese on White Pill */
a.pill.chartreuse {
  background-color: #dbe529;
  border: 3px solid #dbe529;
  color: #8c1fff;
}
a.pill.chartreuse:hover,
a.pill.chartreuse:active,
a.pill.chartreuse:focus {
  color: #dbe529;
  background-color: #fff;
  border: 3px solid #dbe529;
}

/* Chartruese Header Pill */
.header a.pill.chartreuse {
  color: #2E0D5B;
}
.header a.pill.chartreuse:hover,
.header a.pill.chartreuse:active,
.header a.pill.chartreuse:focus {
  color: #dbe529;
  background-color: #2E0D5B;
}

/* Chartruese on Vibrant Purple Pill */
.bg_vibrantPurple a.pill.chartreuse {
  color: #8c1fff;
}
.bg_vibrantPurple a.pill.chartreuse:hover,
.bg_vibrantPurple a.pill.chartreuse:active,
.bg_vibrantPurple a.pill.chartreuse:focus {
  background-color: #8C1FFF;
}

/* Chartruese on Dark Purple Pill */
.bg_deepPurple a.pill.chartreuse {
  color: #2E0D5B;
}
.bg_deepPurple a.pill.chartreuse:hover,
.bg_deepPurple a.pill.chartreuse:active,
.bg_deepPurple a.pill.chartreuse:focus {
  color: #dbe529;
  background-color: #2E0D5B;
}

/* Display inserted media PDF using 'Pill Button' view mode. */
span.file--application-pdf a {
  padding: 0.5em 1em;
  border-radius: 2em;
  text-decoration: none;
  background-color: #44D4E1;
  color: #22353A;
  text-transform: uppercase;
  font-weight: bold;
  white-space: normal;
  text-align: center;
  width: fit-content;
  display: inline-block;
}
span.file--application-pdf a:hover,
span.file--application-pdf a:active,
span.file--application-pdf a:focus {
  color: white;
  transition: color 0.3s ease;
}
.file--application-pdf {
  background-image: unset;
}
.file {
  padding-left: 0;
  margin: 1.5em 0;
}

.button-teal {
  border-radius: 2em;
  border-color:transparent;
  background-color: #44D4E1;
  max-width: 100%;
  line-height: 1.2em;
  padding: 5px;
}
.button-teal a {
  border-radius: 2em;
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
  border-color:transparent;
  text-transform: uppercase;
  font-weight: bold;
  padding-left: 1em;
  padding-right: 1em;
}
.button-teal a:hover {
    color: white;
}
p:has(> a) {
    margin: 1.5em 0;
}

/* BODY */
.field--name-body ul {
  padding-left: 40px;
}

.field__item img {
    text-align:center;
}

/* MOBILE: Hamburger Nenu icon button */
button.navbar-toggler {
  border-color: white;
}

/* Copied from: https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/scss/_navbar.scss */
/* Changed stroke opacity from 0.55 to 1.00 */
.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1.00%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

/* User login, reset password - primary tabs and the forms */
.main-content nav.tabs {
  margin: 20px 20px 0 20px;
}
.main-content form {
  margin: 0 20px 20px 20px;
  padding: 0 15px 15px 15px;
  border-left: 1px solid #dee2e6;
  border-right: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
}
.node__content {
  margin-top: 0;
}

/* MAIN MENU */
.horizontal-menu a {
  color: white;
  background-color: transparent;
  text-decoration: none;
}
.horizontal-menu > li > a {
  background-color: transparent;
}
.horizontal-menu a:hover {
  color: #DBE529;
  transition: color 0.3s ease;
}

@media (max-width: 1200px) {
  .horizontal-menu > li > a {
    padding-left: 6px;
    padding-right: 6px;
    font-size: 14px;
  }
}

li.menu-item.menu-item--active-trail a.is-active {
  color: #DBE529;
}
.horizontal-menu .menu-item--expanded ul {
  background-color: #2f0d5b;
  padding: 10px 0;
  left: auto;
  min-width: 120px;
  border-radius: 15px;
  box-shadow: 0 3px 5px rgb(0 0 0 / 90%);
  width: auto;
  white-space: nowrap;
}
.horizontal-menu .menu-item--expanded ul > li > a {
    color: white;
}
.horizontal-menu .menu-item--expanded ul li a {
    line-height: 1em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    padding: 10px 20px;
}
.menu-item--expanded ul > li > a:hover,
.menu-item--expanded ul > li > a.is-active {
    color: #DBE529;
}
.horizontal-menu .menu-item--expanded > a:after {
  color: #fff;
  content: ' ▾';
}

/* Find Support and Language Links */
.right-links {
  position: absolute;
  right: 0;
}

@media (max-width: 1200px) {
  .right-links {
    /* Reset alignment */
    position: relative;
    right: auto;
    /* Align right */
    margin-left: auto;
    margin-right: 0;
  }
}

.navbar .block-language a.language-link {
  color: white;
  text-decoration: none;
}
.navbar .block-language a.language-link:hover {
  color: #DBE529;
  transition: color 0.3s ease;
}

/* WCAG Compliance: keyboard navigation for Desktop viewport */
/* The class 'show-subitems' is injected by responsive_menu.horizontal.js */
.horizontal-menu li > ul.show-subitems {
  display: block;
}
/* Add temporary focus-visible styling to parent menu item when 'escaping' sub-menu.
   See /themes/custom/mbll_ig/js/responsive_menu.horizontal.js */
.temp-focus-visible {
	outline: thin dotted;
  outline: -webkit-focus-ring-color auto 1px;
}

/* NAVBAR LAYOUT */
@media (min-width: 992px) {
  #navbar-main {
    display: flex;
    align-items: flex-start;
  }

  .navbar.navbar-expand-lg {
    padding: 1em 0;
  }

  .navbar-expand-lg .navbar-collapse {
    padding: 0;
  }
}

/* BANNER LAYOUT */
@media (min-width: 992px) {
  .blb-header-banner .col-lg-12 {
    width: 75%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: center;
  }
}

.view-brochures {
    padding:    0 30px;
}
.view-brochures .col-sm-5.views-row {
    padding: 10px 0;
}

/* MAIN CONTENT LAYOUT */
.layout {
  padding: 90px 0;

  /* Add .container styles to fix layout builder not including .container wrapper */
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
  margin-right: auto;
  margin-left: auto;
}
.col-sm-6, .col-sm-8, .col-sm-12 {
    padding-left: 0;
    padding-right: 0;
}
/* Add space between 2-column layout */
@media (min-width: 768px) {
    .col-sm-6.text-center {
        padding-left: 15px;
        padding-right: 15px;
        text-align: center;
    }
    .col-sm-6 {
      padding-left: 15px;
      padding-right: 15px;
    }
}
@media (min-width: 1200px) {
  .col-lg-12,
  .layout {
    width: 100%;
  }
}
@media (min-width: 992px) {
  .layout {
    max-width: 1320px;
    margin: 0 auto;
  }
}
@media (min-width: 768px) {
    .col-sm-4 {
    width: 33.33333%;
    float: left;
    }
    .col-sm-8 {
    width: 66.66667%;
    float: left;
    }
    .col-sm-12 {
    width: 100%;
    float: left;
    }
    .field--name-field-media-image {
        text-align: center;
    }
}
@media (max-width: 1200px) {
    .field--name-field-media-image .field__item {
        text-align: center;
    }
    .field--type-image img {
    margin-bottom: 0;
    }
}

/* CONTENT */

.row.form-group {
  margin: 0px auto 60px auto;
}
.bubble {
  background-color: #44D4E1;
  border-radius: 1.5em;
  padding: 1em;
}

/* Header Banner */
.blb-header-banner {
  background-color: #8c1fff;
  color: white;
}

/* Views Content */
.blb-views-content {
    padding-top: 0;
}

/* Additional Content Gray And White  */
.blb-bg-gray {
  background-color: #dff9fd;
}

/* Get Support Section */
.region-featured-bottom-second {
  background-color: #8c1fff;
  color: #fff;
  padding: 3em 1em;
}
.region-featured-bottom-second .block {
    display:flex;
    justify-content: center;
}

/* Mbll Logos Section */
.region-featured-bottom-third {
  background-color: #44D4E1;
  color: #fff;
  padding: 2em;
}
.region-featured-bottom-third .block {
    display:flex;
    justify-content: center;
}
.logo-container {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}
.logo-container > div {
    max-width: 45%;
    margin: 0 auto;
}

/* Language switcher, Search, Site footer */

/* FOOTER LAYOUT */
@media (min-width: 768px) {
  .site-footer__bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    margin: 0 auto;
  }
}

footer .language-switcher-language-url .links {
  display: flex;
  justify-content: center;
}

footer.site-footer .block {
  margin: 0;
  padding: 5px 0;
  border: none;
}

footer.site-footer,
.site-footer .content {
  font-family: "GT Ultra", Helvetica, Ariel, sans-serif;
  font-size: 14px;
  line-height: 1.75;
  color: white;
}
.site-footer__bottom {
    margin-top: 0;
    border-top: none;
}
.site-footer__bottom .block {
    background-color: #2f0d5b;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}
/* WCAG */
.site-footer .content a {
  color: white;
  text-decoration: none;
}
.site-footer .content a:hover {
  color: #DBE529;
}
.site-footer .content a.is-active {
  color: #DBE529;
}
.search-block-form .form-control {
  width: 250px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
/* WCAG */
input#edit-keys::placeholder {
  color: black;
}

/* FOOTER MENU */
.site-footer ul.nav > a {
  text-decoration: none;
}
.site-footer ul.nav > li > a {
  color: white;
  background-color: transparent;
  text-decoration: none;
}
.site-footer ul.nav > li > a:hover {
  color: #DBE529;
  transition: color 0.3s ease;
}

.search-block-form .btn-primary {
  background-color: #8c1fff;
  border-color: white;
  line-height: 1.5;
  padding: 5px 5px 5px 10px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* MARGIN & PADDING */
/* For full-width bg-color */
.main-content {
  padding-left: 0;
  padding-right: 0;
}

/* Off-canvas teal theme */
.mm-menu_theme-black{
  --mm-color-border:rgba(0,0,0,0.25 );
  --mm-color-button:rgba(0,0,0,0.4 );
  --mm-color-text:rgba(0,0,0,0.75 );
  --mm-color-text-dimmed:rgba(0,0,0,0.4 );
  --mm-color-background:#8c1fff;
  --mm-color-background-highlight:rgba(0,0,0,0.2 );
  --mm-color-background-emphasis:rgba(0,0,0,0.15 );
  --mm-shadow:none
}
.mm-menu a, .mm-menu a:active, .mm-menu a:hover, .mm-menu a:link, .mm-menu a:visited {
  text-decoration: none;
  text-transform: uppercase;
  color: white;
  font-weight: 600;
}
.mm-menu a.is-active {
    color:black;
}
/* Arrow '<|>' to previous|next menu level. */
.mm-btn_prev:before, .mm-btn_next:after {
  border-color: white;
}

/* EU COOKIE COMPLIANCE */
#sliding-popup.eu-cookie-withdraw-banner,
#sliding-popup.eu-cookie-withdraw-tab,
#sliding-popup.sliding-popup-bottom {
  background: #8c1fff;
}
#sliding-popup {
  padding: 10px 0;
  width: 100%;
  z-index: 99999;
  text-align: center;
}
#sliding-popup h1,
#sliding-popup h2,
#sliding-popup h3,
#sliding-popup p,
#sliding-popup label,
#sliding-popup div,
.eu-cookie-compliance-more-button,
.eu-cookie-compliance-secondary-button,
.eu-cookie-withdraw-tab,
.eu-cookie-compliance-banner-thank-you,
.eu-cookie-withdraw-banner {
  color: white;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  font-family: "GT Ultra",Helvetica,Ariel,sans-serif;
}
.sliding-popup-bottom {
  position: fixed;
}
@media (min-width: 980px){
  #sliding-popup .popup-content {
    max-width: 920px;
  }
}
#sliding-popup .popup-content {
  margin: 0 auto;
  max-width: 80%;
  display: inline-block;
  text-align: left;
  width: 100%;
}
#sliding-popup .popup-content #popup-text {
  max-width: 80%;
  float: left;
}
.popup-content a {
    color: white;
}
#sliding-popup .popup-content #popup-buttons {
  float: right;
  max-width: 40%;
}
button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
#sliding-popup .popup-content button,
#sliding-popup .popup-content input[type="reset"],
#sliding-popup .popup-content input[type="submit"],
#sliding-popup .popup-content input[type="button"] {
  background: #44D4E1;
  border-radius: 23px;
  border: 0;
  color: black;
  font-weight: 400;
  padding: 8px 38px 8px;
  text-shadow: none;
  font-family: "GT Ultra",Helvetica,Ariel,sans-serif;
}

/* SEARCH RESULTS PAGE */
@media (min-width: 992px) {
  .path-search #main {
    width: 50%;
  }
  h3 a {
    font-size: 1.5em;
    font-family: "GT Ultra", Helvetica, Ariel, sans-serif;
  }
}
.path-search .container-inline div,
.path-search .container-inline label {
  display: inline-block;
  width: 80%;
}
details#edit-advanced {
  /* IG is a very simple site, Advanced Search is overkill. */
  display: none;
}
.search-form {
  margin-top: 2em;
  padding: 0 1em;
}
.btn-primary:hover {
  background-color: darkslategray;
  border-color: #44D4E1;
  color: #44D4E1;
}
.path-search .content h2 {
    padding: 1em 1em 0 0.4em;
}
.node_search-results h3 {
  font-size: 1.5em;
  line-height: 1.5em;
  font-family: "GT Ultra", Helvetica, Ariel, sans-serif;
  margin-bottom: 1em;
}
.list-group-item {
    border-color: transparent;
}
a.page-link {
    color: #10555B;
}
ul.pagination {
    margin-bottom: 2em;
}
a#edit-help-link {
  display: none;
}

.vertical-center-children {
	display: flex;
	align-items: center;
}

.subheading {
	margin-top: 1em;
}

.slide .narrow {
	max-width: 100%;
}

.views-field-body a {
	display: inline-block;
	background-color: #44D4E1;
	color: #000;
	border-radius: 2em;
	padding: 0.5em 1em;
	text-transform: uppercase;
	text-decoration: none;
	top: 20%;
}
li.splide__slide .views-field-body {
	  bottom: 10%;
}

li.splide__slide h2 {
        margin-top: 0.25em;
}

.suppress {
	display: none;
}



@media (min-width: 499px) and (max-width: 600px) {
	li.splide__slide .views-field-body {
		bottom: 0;
		padding: 0.25em;
	}
        li.splide__slide h2 {
                margin-bottom: 0em;
        }


}


/* OTHER PAGES */
@media (min-width: 992px) {
    .path-user #main {
        max-width: 760px;
      margin: 0 auto;
      margin-top: 20px;
    }

    .slide .narrow {
        max-width: 40%;
    }

}

/* White Block Rounded Corners */
.white-content-block {
  background-color: white;
  color: #2E0D5B;
  padding: 20px;
  border-radius: 20px;
  margin: 0 20px;
  width: calc(33.333% - 40px); /* col-4 overwrite for margins */
}

.white-content-block:first {

}
