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

body {
  font-family: 'Roboto', sans-serif;
  background-repeat: no-repeat;
  background-position: top center;
  background-attachment: scroll;
  background-size: 100%;
  overflow-x: hidden;
}

body.blm-dark-bg {
  background-image: url(../../../../themes/custom/bootstrap_blm/images/dark-bg.jpg);
}

body.blm-light-bg {
  background-image: url(../../../../themes/custom/bootstrap_blm/images/light-bg.jpg);
}

#navbar-main {
  display: block!important;
  padding: 0;
}

#main-wrapper {
  display: -ms-flexbox!important;
  display: flex!important;
  -ms-flex: 1 1 auto!important;
  flex: 1 1 auto!important;
}

#page {
  display: -ms-flexbox!important;
  display: flex!important;
  -ms-flex-direction: column!important;
  flex-direction: column!important;
  min-height: 100vh!important;
}

#primary-navbar {
  top: 70px;
}

.navbar-brand {
  font-size: 2.5rem;
}

.navbar-brand img {
  height: 100px;
  z-index: 200;
  top: 5px;
}

.navbar-brand #site-name {
  margin-left: 150px;
  font-weight: bold;
  z-index: 200;
}

.topsearch {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
}

.topsearch form {
  position: relative;
  z-index: 2000;
}

.topsearch .form-actions {
  background: none;
  padding-left: 0;
  font-size: 0;
}

.topsearch .form-submit {
  background: url(../../../../themes/custom/bootstrap_blm/images/search-icon.svg) no-repeat center center;
  width: 40px;
  height: 38px;
  background-size: 20px;
  font-size: 0;
  border: 0;
  border-radius: 0 0.25rem 0.25rem 0;
}

.topsearch label {
  display: none;
}

.topsearch fieldset {
  margin: 0;
  padding: 0 !important;
}

.topsearch .form-item-keywords input {
  border: 0;
  border-radius: 0.25rem 0 0 0.25rem;
  max-width: 275px;
}

.navbar-toggler-icon {
  background-image: url(../../../../themes/custom/bootstrap_blm/images/bars-icon.svg);
  filter: invert(100%);
  height: 40px;
}

.region-secondary-menu {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}

.view-search-results .view-header {
  margin-bottom: 1rem;
}

.view-search-results nav {
  margin-top: 1rem;
}

.site-footer {
  padding: 0;
}

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

.menu--footer .navbar-nav {
  flex-direction: row;
  justify-content: end;
  padding-left: 100px;
}

footer .row {
  margin-right: 0px;
  margin-left: 0px;
}

.menu--footer a.nav-link {
  padding-left: 40px !important;
  padding-right: 0 !important;
}

svg.ext,
svg.mailto,
svg.tel {
  margin-left: 5px;
  padding-right: 0;
  height: 15px;
  width: 15px;
  vertical-align: baseline;
}

svg.ext path,
svg.mailto path,
svg.tel path {
  stroke-width: 0;
}

.form-select {
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.form-actions {
  position: initial;
  padding: 0;
}

.view-grouping {
  width: 100%;
}

a.nav-link {
  padding-left: 20px!important;
  padding-right: 20px!important;
}

li.active a.nav-link,
a.nav-link.active,
a.nav-link.is-active {
  font-weight: bold;
}

.highlighted aside,
.views-field-field-hero-image img {
  max-width: 100%;
}

.views-field-field-hero-image img {
  position: relative;
  width: 100vw;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  margin-bottom: 0;
}

.block-page-title-block {
  margin-bottom: 2rem;
  padding: 0 1rem 0.75rem 1rem;
  border-bottom: 5px solid;
}

.block-layout-builder h2 {
  margin-bottom: 1rem;
}

.quicktabs-wrapper {
  width: 100%;
}

.quicktabs-wrapper > .item-list {
  border-bottom: 7px solid;
}

.quicktabs-wrapper > .item-list ul.quicktabs-tabs {
  display: inline-block;
  border-radius: 0;
  margin: 0;
}

ul.quicktabs-tabs li {
  margin-right: 2px;
  padding: 2px 10px;
}

ul.quicktabs-tabs li.list-group-item:first-child,
ul.quicktabs-tabs li.active {
  border-top: none;
}

ul.quicktabs-tabs li.active {
  border-radius: 0.25rem 0.25rem 0 0;
  border-bottom: 5px solid;
}

ul.quicktabs-tabs a {
  text-decoration: none;
}

.quicktabs-main {
  -webkit-box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 8%) !important;
  box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 8%) !important;
  border: 1px solid rgba(0,0,0,0.125);
  border-radius: 0 0 0.25rem 0.25rem;
  border-top: 0;
  padding: 10px 10px 0 10px;
}

.quicktabs-scroll.scroll-left {
  left: -20px;
}

.quicktabs-scroll.scroll-right {
  right: -20px;
}

.block-inline-blocktabs .view-content.row {
  margin-left: 0;
  margin-right: 0;
}

.alert p:last-of-type {
  margin-bottom: 0;
}

.iconpicker-popover.fade.in {
  opacity: 1;
}

.block-inline-blocklist-step .list-group-item:first-child {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}

.block-inline-blocklist-step .list-group-item:last-child {
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  border-bottom: none;
}

.block-inline-blocklist-step .list-group-item p:last-child {
  margin-bottom: 0;
}

.block-inline-blocklist-step:first-child .list-group-item {
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}

.block-inline-blocklist-step:last-child .list-group-item {
  border-bottom-right-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.125);
}

.faq-question:after {
  content: '\2796';
  float: right;
}

.faq-question.collapsed:after {
  content: '\02795';
}

.faq-answer.collapsing {
  transition-duration: 0.08s;
}

@media (max-width: 575.98px) {
  .navbar-brand img {
    max-width: 15%;
  }

  .navbar-brand #site-name {
    font-size: 7vw;
    margin-left: 20%;
    margin-top: 10px;
  }

  .topsearch {
    margin-top: calc(15vw + 20px);
    justify-content: center !important;
  }

  .topsearch fieldset {
    max-width: calc(100% - 85px) !important;
  }

  .topsearch .form-row {
    justify-content: center;
  }

  .navbar-toggler {
    margin-top: 60px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  footer .container {
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .menu--footer .navbar-nav {
    justify-content: initial;
  }

  #block-blm-full-logo {
    padding-left: 40px;
    margin-bottom: 0;
  }

  #block-blm-full-logo img {
    max-width: 80%;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .navbar-brand img {
    width: 50px;
  }

  .navbar-brand #site-name {
    margin-left: 75px;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .topsearch {
    position: relative;
    float: right;
    width: auto;
    margin-right: 20px !important;
  }

  .navbar-brand .container,
  #primary-navbar .container,
  #secondary-navbar .container {
    max-width: 100%;
  }

  footer .container {
    max-width: 100%;
    padding-right: 20px !important;
    padding-left: 20px !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .navbar-brand img {
    max-width: 100px;
  }

  .navbar-brand #site-name {
    margin-left: 125px;
  }
}

@media (max-width: 991.98px) {
  .navbar-brand img {
    height: auto;
    top: 10px;
  }

  .topsearch {
    top: 0;
  }

  #primary-navbar {
    top: 0;
  }

  #block-bootstrap-blm-main-menu {
    width: 100%;
  }

  .menu--footer .navbar-nav {
    padding-left: 0;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  #primary-navbar {
    padding-left: 175px;
    padding-right: 50px;
  }
}
