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

/* 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: .9rem;
    padding: 3rem 0 1rem 0;
}

.footer p {
    line-height: 1.5rem;
    font-size: .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;
}


.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: .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; 
}

table.table {
    text-align: left;
}

th {
    font-size: 125%;
}


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


/* 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: .5cm .5cm .5cm .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;
}

}


/* Image related */

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

.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;
}


/* 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;
}