﻿/* Colors
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* Fonts
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* Layout
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* Flex Mixins
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* Links
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* Animations
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* Other Mixins
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* Color Themes
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
.overlay {
  transition: opacity 0.3s ease-in-out;
  background: white;
  bottom: 0;
  display: none;
  left: 0;
  margin-top: 0 !important;
  padding-top: 0 !important;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1001;
}
.overlay::after {
  transition: opacity 0.4s;
  bottom: 0;
  content: "";
  display: block;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 5;
}
.overlay::after {
  background: #8fd8f2;
  background: -moz-linear-gradient(65deg, #8fd8f2 0%, #8fd8f2 100%);
  background: -webkit-linear-gradient(65deg, #8fd8f2 0%, #8fd8f2 100%);
  background: linear-gradient(25deg, #8fd8f2 0%, #8fd8f2 100%);
}

.overlay .inner {
  transform: translateY(50px);
  transition: transform 0.3s ease-in-out;
  background: white;
  bottom: 0;
  left: 0;
  margin: 15px;
  overflow: auto;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}
.overlay .inner::before {
  transition: opacity 0.3s ease-in-out, top 0.3s ease-in-out, bottom 0.3s ease-in-out;
  background: #d1e2e5;
  bottom: 50%;
  content: "";
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transition-delay: 0.3s;
  left: 50%;
  width: 1px;
}
.overlay .inner > .wrap {
  height: 100%;
  max-width: 1700px;
  overflow: hidden;
  position: relative;
}
.overlay .overlay-content-section {
  transform: translate(-50%, -50%);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  box-sizing: border-box;
  left: 50%;
  margin-right: 0;
  max-width: 70rem;
  opacity: 0;
  padding: 1rem;
  pointer-events: none;
  position: absolute;
  text-align: center;
  top: 50%;
  width: 50%;
  z-index: 1;
}
.overlay .close {
  cursor: pointer;
  display: none;
  height: 24px;
  padding: 18px;
  position: absolute;
  top: 10px;
  width: 24px;
  z-index: 1003;
}
.overlay .close svg {
  height: 100%;
  width: 100%;
}
.overlay .close svg path {
  transition: fill 0.3s;
}
.overlay .close:hover svg path {
  fill: #0077B3;
}
.overlay .close {
  right: 10px;
}
[data-overlay=show] .overlay {
  display: block;
  opacity: 1;
  pointer-events: auto;
}
[data-overlay=show] .overlay .inner {
  transform: translateY(0);
}
[data-overlay=show] .overlay .close {
  display: block;
}
[data-overlay=show] .overlay .overlay-content-section {
  opacity: 1;
  pointer-events: auto;
  z-index: 10;
}
.overlay.hiding {
  opacity: 0 !important;
}
.overlay.hiding .inner {
  transform: translateY(50px) !important;
}

@media only screen and (max-width: 1150px) {
  .overlay {
    z-index: 1003;
  }
  .overlay .overlay-content-section {
    max-width: calc(70rem + 30%);
    padding: 0 15%;
  }
  .overlay .inner::before {
    display: none;
  }
  .overlay .overlay-content-section {
    transform: translate(0, -50%);
    left: 0;
    width: 100%;
  }
}
@media only screen and (max-width: 750px) {
  .overlay .inner {
    margin: 10px;
  }
  .overlay .inner > .wrap {
    padding: 0;
  }
  .overlay [class*=-section] {
    padding: 3rem;
  }
  .overlay .close {
    height: 20px;
    padding: 18px;
    right: 0;
    top: 2px;
    width: 20px;
  }
}
@media only screen and (max-width: 550px) {
  .overlay .inner {
    margin: 0;
  }
}
/* Targets displays using any of Windows' High Contrast Mode themes: */
@media screen and (-ms-high-contrast: active) {
  .overlay .close svg path {
    fill: #fff;
  }
}
/* Targets displays using the Windows' "High Contrast White" theme: */
@media screen and (-ms-high-contrast: black-on-white) {
  .overlay .close svg path {
    fill: #000;
  }
}
