/* SITE WIDE */

/* VUE */
[v-cloak] > * {
  display: none;
}

[v-cloak]::before {
  content: " ";
  display: block;
  position: absolute;
  width: 80px;
  height: 80px;
  background-image: url(/global/media/spinner-solid.svg);
  background-size: cover;
  left: 50%;
  top: 50%;
  animation-name: spin;
  animation-duration: 1000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

main[data-sumo-smart-bar-data] {
  margin-top: 0 !important;
}

/* CONTAINER */

@media (max-width: 992px) {
  .container {
    max-width: none;
  }
}

body,
h4,
h5,
h6,
p {
  font-family: museo-sans, Helvetica, sans-serif !important;
  font-weight: 100 !important;
  font-style: normal;
}

h1 {
  font-family: museo-slab, Helvetica, sans-serif !important;
  font-weight: 900 !important;
  font-size: 3rem;
}

h2 {
  font-size: 2rem;
}

h2,
h3 {
  font-family: museo-sans, Helvetica, sans-serif !important;
  font-weight: 900 !important;
}

h3 {
  font-size: 1.75rem;
}

p {
  font-size: 1.15rem;
}

.btn {
  font-weight: 700 !important;
  font-size: 1rem !important;
}

.nav-icon {
  padding-right: 0.75rem;
}

.nav-icon svg {
  width: 1rem !important;
  height: 1rem !important;
}

.background__cadmium-blue {
  background: #51a3e2;
}

.background__dark-blue {
  background: #245a84;
}

.background__white {
  background: #fff;
}

.background__off-white {
  background: #f8f8f8;
}

.background__light-grey {
  background: #ddd;
}

.background__dark-grey {
  background: #343434;
}

.color__cadmium-blue,
.link__cadmium-blue {
  color: #51a3e2;
}

.color__dark-blue {
  color: #245a84;
}

.color__white {
  color: #fff;
}

.color__off-white {
  color: #f8f8f8;
}

.color__light-grey {
  color: #ddd;
}

.color__medium-grey {
  color: #7e8894;
}

.color__dark-grey {
  color: #343434;
}

.cursor__zoom-in:hover {
  cursor: zoom-in;
}

.cursor__zoom-out:hover {
  cursor: zoom-out;
}

.link__cadmium-blue:hover {
  color: #245a84;
}

/* MAIN */

.main-header__background {
  background: linear-gradient(
    to bottom,
    rgba(50, 53, 56, 0.9) 0%,
    rgba(0, 0, 0, 0.9) 45%
  );
  height: 100px;
  top: 0;
  transition: 0.2s ease-in-out;
}

.main-header__logo {
  width: 273px;
  transition: 0.2s ease-in-out;
}

.menu-item h5 {
  color: #f8f8f8;
  font-weight: 600;
  transition: 0.15s ease;
}

.menu-item:hover .icon,
.menu-item:hover h5 {
  color: #51a3e2;
  fill: #51a3e2;
}

.main-header__sub-title {
  color: #ddd;
  font-weight: 200;
  font-size: 1.5rem;
  border-bottom: 1px solid #9e9e9e;
}

.subtext-small {
  color: #ddd;
  font-size: 0.88rem;
}

.main-header__login-btn {
  border: 2px solid #f8f8f8;
}

.navbar
  .mega-dropdown
  .dropdown-menu.mega-menu
  .sub-menu
  ul
  li
  a.main-nav__contact-btn:hover {
  background: #245a84 !important;
}

.navbar .mega-dropdown .dropdown-menu.mega-menu {
  max-height: none;
}

.main-header__login-btn:active,
.main-header__login-btn:hover {
  background-color: transparent;
  border-color: #56adf0;
  color: #56adf0 !important;
}

.navbar .mega-dropdown .dropdown-menu.mega-menu .sub-menu ul li a:hover {
  background: transparent !important;
}

.icon {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
  margin: 0.25rem 0.75rem 0 0;
  transition: 0.15s ease;
}

/* Necessary for dropdown to be above secondary header with position: sticky which has (z-index: 1020) */
.dropdown-menu {
  z-index: 1021;
}

@media screen and (max-width: 992px) {
  .main-header__background {
    height: auto; /* Override height: 100px when navbar collapses */
  }
}

@media screen and (max-width: 400px) {
  .main-header__logo {
    width: 200px;
  }
  .navbar {
    justify-content: center;
  }
}

/* SECONDARY */
.header-color__cadmium {
  color: #51a3e2;
}

.main-header-dropdown,
.secondary-dropdown-menu {
  background-color: #191919 !important;
}

.secondary-dropdown-menu.show {
  display: flex;
  flex-direction: column;
}

.secondary-dropdown-menu a {
  color: #f8f8f8 !important;
  width: 100%;
  font-size: 1.2rem;
}

.secondary-dropdown-menu a:hover {
  color: #51a3e2 !important;
}

.secondary-btn {
  background-color: #51a3e2;
  color: #f8f8f8;
  border: 2px solid #f8f8f8;
  border-radius: 0.25rem;
  transition: 0.2s ease-in-out;
  margin: .25rem .5rem;
  padding: 0.25rem 0.5rem;
}

.secondary-btn:hover {
  color: #343434;
  border-color: #343434;
  box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}

/* MODALS */

.modal {
  cursor: zoom-out;
}

.modal__img {
  cursor: zoom-in;
}

.modal-dialog {
  max-width: 70vw !important;
  max-height: 80vh !important;
}

@media (max-width: 992px) {
  .modal-dialog {
    max-width: 80vw !important;
  }
}

@media (max-width: 768px) {
  .modal-dialog {
    max-width: 90vw !important;
  }
}

/* BUTTONS */

.custom-btn__1 {
  background-color: #51a3e2;
  color: #f8f8f8;
  font-size: 1rem; /* needed to override bootstrap .btn font-size */
}

.custom-btn__1:hover {
  color: #ddd !important;
  box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}

.custom-btn__2 {
  background-color: #245a84;
  color: #f8f8f8;
  font-size: 1rem;
}

.custom-btn__2:hover {
  color: #ddd;
}

.custom-btn__4 {
  background-color: #51a3e2;
  color: #f8f8f8;
  font-weight: 700;
}

.custom-btn__4:hover {
  color: #ddd;
}

.custom-btn__6,
.custom-btn__7 {
  background: #51a3e2;
  color: #f8f8f8;
  border: 3px solid #51a3e2;
  border-radius: 0.25rem;
  transition: 0.2s ease-in-out;
  padding: 0.5rem 0.75rem;
}

.custom-btn__6:hover {
  background: transparent;
  color: #51a3e2;
}

.custom-btn__7:hover {
  background: transparent;
  color: #f8f8f8;
}

.custom-btn__9 {
  background-color: #51a3e2;
  color: #f8f8f8;
  width: 75%;
}

.custom-btn__9:hover {
  color: #ddd;
}

/* REQUEST INFO */

.request-info__background {
  background-color: #51a3e2;
  min-height: 50vh;
  -webkit-clip-path: polygon(0 0, 100% 5%, 100% 100%, 0% 100%);
  clip-path: polygon(0 0, 100% 5%, 100% 100%, 0% 100%);
}

.request-info__hidden {
  display: none !important;
}

.request-info__visible {
  display: block;
}

/* Use for success message */
.contact-card {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: height 0ms 400ms, opacity 400ms 0ms;
}

.contact-card.visible {
  height: auto;
  opacity: 1;
  transition: height 0ms 0ms, opacity 600ms 0ms;
}

#contactMessage {
  display: flex;
  align-items: center;
}

/* MAIN FOOTER */

.main-footer__background {
  background-color: #32393c;
}

.main-footer__container {
  min-height: 33vh;
}

.main-footer__container p {
  font-size: 1.1rem;
}

.main-footer__divider {
  border-bottom: 1px solid #7e8894;
  width: 100%;
}

.main-footer__title {
  color: #f8f8f8;
}

.main-footer__title-accent {
  background-color: #fff;
  width: 60px;
}

.main-footer__subtext,
.copyright-footer__subtext {
  color: #ddd !important; /* override bootstrap class .page-footer */
}

.main-footer__subtext-contact-info {
  color: #ddd !important;
}

.main-footer__subtext:hover {
  color: #51a3e2;
}

.main-footer__subtext-title,
.copyright-footer__subtext-title {
  color: #7e8894;
}

.copyright-footer__subtext-title,
.copyright-footer__subtext {
  font-size: 0.9rem;
}

/* END SITE WIDE */
