/* ============================== */
/* ! Additional customizations    */
/* ============================== */

body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

a {
  font-weight: 400;
}

/* Bug fix for stretched hero image on ipad */
@supports (-webkit-touch-callout: none) {
  .hero-img {
    background-attachment: scroll !important;
    background-size: auto 100%;
  }
}

/* Search icon; Need to wrap in div to control sizing */
.header .search-icon-wrapper {
  height: 100%;
  font-size: 1.5em;
  margin: auto 0px auto 0.8em;
}

.header .search-icon-wrapper .fa-search {
  cursor: pointer;
}

/* Search input box */
.header #header-search-bar {
  margin-left: auto;
  border-radius: 3px !important;
}

.header .header-search-animation-show {
  animation-name: fade-extend;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
}

.header .header-search-animation-hide {
  animation-name: fade-shrink;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
}

.footer {
  line-height: 1.5rem;
  font-size: 0.9rem;
  padding: 3rem 0 1rem 0;
}

.footer p {
  line-height: 1.5rem;
  font-size: 0.9rem;
}

.footer [class*="col-"] {
  padding-top: 1rem;
}

.toast.toast--success {
  background-color: #056027;
  border-color: #056027;
}

.bigquote {
  font-weight: bold;
  font-size: 150%;
}

.flip-card {
  height: 300px;
  perspective: 1000px;
  margin-bottom: 1rem;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-back {
  transform: rotateY(180deg);
  padding: 2rem;
}

.flip-card .svg-inline--fa {
  padding-top: 2rem;
  height: 7rem;
  display: inline;
}

.card .card__title-container {
  background-image: linear-gradient(#0000, black);
  bottom: 0;
}

.card .card__title-container .title {
  font-weight: bold;
  line-height: 1.2;
  padding-bottom: 0.2rem;
}

/* Lists */

li {
  margin-left: 1rem;
  padding-left: 1rem;
}

/* footer */
.no-bullets li {
  margin-left: 0;
  padding-left: 0;
}

ul {
  list-style-type: "\2726 ";
}

.horizontal-list ul {
  display: inline-block;
  padding: 0;
  text-align: center;
}

.horizontal-list li {
  margin-left: 0rem;
  padding-left: 0rem;
  display: inline;
}

.horizontal-list li:after {
  content: " \2726  ";
}
.horizontal-list li:last-child:after {
  content: "";
}

.spec-head {
  background-color: #ddd;
  border-radius: 1rem 1rem 0 0;
}

/* HTML style tooltips */

.tooltip-hover {
  position: relative;
}

.baseline-icon {
  display: inline-flex;
  align-self: center;
  height: 1em;
  width: 1em;
  top: 0.17em;
  position: relative;
}

.tooltip-content {
  position: absolute;
  box-sizing: border-box;
  width: 300px;
  top: 8px;
  left: 8px;
  background-color: rgb(50, 50, 50);
  color: white;
  border-radius: 5px;
  opacity: 0;
  padding: 2em;
  -webkit-transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
  -ms-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
  transition: opacity 0.5s;
  z-index: -10;
}

.tooltip-hover:hover .tooltip-content {
  opacity: 1;
  z-index: 10;
}

section.top-section {
  padding-top: 3rem;
}

section {
  clear: both;
  margin-bottom: 2rem;
}

section::after {
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

/* Extra Small Devices, Phones */
@media only screen and (max-width: 640px) {
  /* Too big to display properly, so hide and possibly use alternate */
  .hideOnSmallScreen {
    display: none;
  }
}

/* Larger screens */
@media only screen and (min-width: 641px) {
  .hideOnLargeScreen {
    display: none;
  }

  .header #header-search-bar {
    opacity: 0;
    width: 0%;
  }
}

@media screen {
  .printOnly {
    display: none;
  }
}

@media print {
  /* ========================================== */
  /* ! Printing                                 */
  /* ========================================== */

  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    -ms-filter: none !important;
  } /* Black prints faster: h5bp.com/s */
  tr,
  img {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
  }
  @page {
    margin: 0.5cm 0.5cm 0.5cm 0.5cm;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  /* h2, h3 { break-after: avoid; } */

  .pagebreak-before {
    page-break-before: always;
  }

  body {
    font-size: 11pt;
  }

  .noPrint,
  .wrapper {
    display: none;
  }

  .photoblock {
    display: none;
  }

  .footer {
    display: none;
  }
}

table.table {
  text-align: left;
}

table.pass-lessons {
  margin: 12px;
}

table.pass-lessons tbody tr {
  position: relative;
  cursor: pointer;
}

table.pass-lessons td {
  padding: 18px 24px;
  vertical-align: top;
}

table.pass-lessons td:first-child {
  width: 20%;
  min-width: 7em;
  padding: 0.5em;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Image stays inset; color (e.g. row hover) fills the full cell including padding */
  background-clip: content-box, border-box;
}

table.pass-lessons tbody tr:hover td,
table.pass-lessons tbody tr:focus-within td {
  background-color: rgba(6, 22, 54, 0.05);
}

table.pass-lessons h3 a {
  color: #0069b3;
}

table.pass-lessons h3 a:focus,
table.pass-lessons h3 a:active {
  outline: none;
}

table.pass-lessons h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

th {
  font-size: 125%;
}

/* Image related */

.short-img {
  max-height: 400px;
}
.center-img {
  display: block;
  margin: 0 auto;
}

/* works for even non images */
.hv-centered {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Also text related */
.centered,
td.centered,
th.centered {
  vertical-align: middle;
  text-align: center;
}
.centered img {
  display: block;
  margin: 0 auto;
}

figure {
  margin: 1em;
}

figcaption {
  font-style: italic;
  font-size: 0.75em;
}

.blog-fullwidth {
  width: 100%;
}

.blog-fullwidth img {
  width: 100%;
}

.thirdWidth {
  max-width: 33%;
}

.toRight {
  float: right;
  max-width: 50%;
}

.toLeft {
  float: left;
}

.clearRight {
  clear: right;
}

.clearLeft {
  clear: left;
}

.img-row {
  display: flex;
  align-items: center;
}

.img-row-child {
  display: inline-block;
}

.img-row-child figcaption {
  width: 100%;
}

img.thumbnail {
  width: 200px;
  height: 200px;
  object-fit: cover;
  display: inline;
}

/* Shimmer effect */
.shimmer {
  position: relative;
  text-align: center;
}

.shimmer div {
  position: relative;
  text-align: center;
}

h1.shimmer:after {
  text-shadow: 2px 2px 2px #000;
  color: transparent;
}

.shimmer:after {
  content: attr(data-text);
}

@-moz-keyframes shimmer {
  0% {
    background-position-x: -200%;
    background-position-y: -200%;
  }
  20% {
    background-position-x: 200%;
    background-position-y: 200%;
  }
  100% {
    background-position-x: 200%;
    background-position-y: 200%;
  }
}
@-webkit-keyframes shimmer {
  0% {
    background-position-x: -200%;
    background-position-y: -200%;
  }
  20% {
    background-position-x: 200%;
    background-position-y: 200%;
  }
  100% {
    background-position-x: 200%;
    background-position-y: 200%;
  }
}
@-o-keyframes shimmer {
  0% {
    background-position-x: -200%;
    background-position-y: -200%;
  }
  20% {
    background-position-x: 200%;
    background-position-y: 200%;
  }
  100% {
    background-position-x: 200%;
    background-position-y: 200%;
  }
}

@keyframes shimmer {
  0% {
    background-position-x: -200%;
    background-position-y: -200%;
  }
  20% {
    background-position-x: 200%;
    background-position-y: 200%;
  }
  100% {
    background-position-x: 200%;
    background-position-y: 200%;
  }
}

/* Extend/shrink effect for header search bar */
@keyframes fade-extend {
  0% {
    width: 0;
    opacity: 0;
  }
  100% {
    width: 100%;
    opacity: 1;
  }
}

@keyframes fade-shrink {
  0% {
    width: 100%;
    opacity: 1;
  }
  100% {
    width: 0;
    opacity: 0;
  }
}

/* Forms */

label {
  font-weight: bold;
}

::placeholder {
  color: #0070ff;
}

.form-paragraph {
  font-weight: bold;
  margin-bottom: 0;
  margin-top: 1rem;
}

.form-separator {
  border: 1px solid black;
}

/* BG Video Tests */

.bg-video {
  max-height: 100%;
  max-width: 100%;
}

.bg-video-wrapper {
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.hero-wrapper {
  background-color: black;
  max-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  object-fit: contain;
}

/* Portrait settings */
@media only screen and (orientation: portrait) {
  .bg-video {
    height: auto;
  }

  .bg-video-wrapper {
    height: unset;
  }

  .hero-content-wrapper {
    background-color: black;
    max-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    object-fit: contain;
    align-items: center;
  }
}

/* Social Proof Counters */

.social-count-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  text-align: center;
}

/* Blog Table */
.blog-table {
  border-collapse: collapse;
}

.blog-table tr:nth-child(odd) {
  background-color: white;
  border-collapse: collapse;
}

.blog-table tr:nth-child(even) {
  background-color: rgb(222, 226, 230);
}

.blog-table td {
  padding: 5px;
}

/* Cirrus 0.6.3 -> 0.7.2 - fixes from breaking changes*/

.content {
  max-width: 60em;
  width: 80%;
}

.content .btn-info {
  font-family: Poppins;
  font-weight: 400;
}

.btn-info {
  background-color: #0069b3 !important;
  border-color: #0069b3 !important;
}

.card {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.blue-outline {
  border: 2px solid #0069b3;
  border-radius: 0;
}

.footer .btn-info {
  font-weight: 400;
}

.footer a {
  color: #e9ecef;
  font-weight: bolder;
  font-weight: 400;
}

.footer a:hover {
  color: #ced4da;
}

.footer img {
  display: inline;
}

/* Additional Animations */
.shimmer2 {
  background: linear-gradient(
    -45deg,
    rgba(200, 200, 200, 0) 43%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(200, 200, 200, 0) 57%
  );
  background-size: 300%;
  background-position-x: 100%;
  animation: shimmer2 0.8s 1 linear;
}

@keyframes shimmer2 {
  to {
    background-position-x: 0%;
  }
}

.create-contact {
  background-color: #056027 !important;
  border-color: #056027 !important;
}

.wrapper {
  width: 80%;
  max-width: 600px;
  height: 100%;
  margin: 0 auto;
  background: #000;
  margin-bottom: 0.5em;
}
.h_iframe {
  position: relative;
  padding-top: 56%;
  margin-bottom: 12px;
}
.h_iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.square-video {
  border: none;
  box-shadow: none;
}

.u-align-space-around {
  align-content: space-around !important;
}
