/* Basics */
@media (max-width: 991px ){
    html{ font-size: 14px;}
}

@media (max-width: 576px){
    html{ font-size: 13px;}
}

.side-margin.inset-content{
    margin-top: 3vh;
    margin-bottom: 3vh;
}

@media (min-width: 992px){
    .side-margin{
        padding-left: 15vw;
        padding-right: 15vw;
        margin: 0;
    }

    .side-margin.inset-content{
        padding-left: 8vw;
        padding-right: 8vw;
        margin-left: 7vw;
        margin-right: 7vw;
    }

    #navHeader.side-margin{
        padding-right: 10vw;
    }

    #navSchedule{
        right: 10vw !important;
    }
}

body{
    font-family: "Krona One";
    background-color: #f8f9fa;
}

blockquote {
	font-family: "Poppins";
	font-weight: 100;
	position: relative;
	margin: 0;
	font-size: 1.2em;
	padding: .5rem 1rem;
	font-style: italic;
}

cite {
	line-height: 3;
	text-align: left;
	display: block;
	padding-left: 1rem;
	font-family: "Poppins";
}

cite::before{
    content: "- ";
}

blockquote + cite + a{
    display: block;
    margin-top: 1.5em;
}

h3 + blockquote,
blockquote + cite + blockquote{
    margin-top: 2.5em;
}

@media (min-width: 992px){
    blockquote{
        max-width: 90%;
    }

    blockquote:before,
    blockquote:after {
    	font-family: "Krona One";
    	position: absolute;
    	color: #00778E;
        opacity: 0.4;
    	font-size: 8rem;
    	width: 4rem;
    	height: 4rem;
        font-style: normal;
    }

    blockquote:before {
    	content: '“';
    	left: -5rem;
    	top: -2rem;
    }

    blockquote:after {
    	content: '”';
    	right: -5rem;
    	bottom: 1rem;
    }
}

section{
    padding: 3em 1em;
}

section.title-header{
    min-height: 7vh;
    padding: 1em 1em 0 1em;
}

section.title-header{
    background-size: 100% 100%;
}

section.title-header .side-margin.inset-content{
    margin-bottom: 1em;
}

footer{
    padding-top:2em;
    padding-bottom:1em;
    font-family: "Poppins";
    font-size: .9em;
}

footer > .d-flex{
    margin: 0 1em;
}

footer .footer-logo{
    text-align: center;
}

footer .footer-logo img{
    max-height: 145px;
}

@media (max-width: 576px){
    footer .footer-logo img{
        margin-top: 2em;
    }
}

footer .footer-nav-link{
    margin: 0 0 .5em 0;
}

footer .footer-tag-line{
    font-family: "Krona One";
    text-transform: uppercase;
    font-size: 1.8em;
    line-height: 1.2em;
    margin: 0 0 1em 0;
}

footer .instagram a{
    display: block;
    background: url('../images/instagram-256.png') no-repeat 50% 50%;
    background-size: cover;
    width: 40px;
    height: 40px;
    margin: .5em auto;
}

footer .tiktok a{
    display: block;
    background: url('../images/tiktok-256.png') no-repeat 50% 50%;
    background-size: cover;
    width: 40px;
    height: 40px;
    margin: .5em auto;
}


ol{
    font-family: "Poppins";
}

ol li{
    line-height: 1.2rem;
    margin-bottom: 1em;
    font-size: 1rem;
}

ol li:last-child{
    margin-bottom: 0 !important;
}

a:link,
a:hover,
a:visited{
    color: inherit;
}

h2{
    font-size: 2rem;
}

h1,
h3{
    font-size: 1.85em;
}

h4{
    font-size: 1.7rem;
}

h1, h2, h3, h4, h5{
    margin-bottom: 1.75rem;
}

.section-text table,
.section-text a,
.section-text ul,
.section-text p{
    font-size: 1.1rem;
    font-family: "Poppins";
}

@media (max-width: 576px){
    h1, h2, h3, h4, h5{
        margin-top: .5em;
    }
}

/* Images */
.image-border{
    border: solid 3px #212529;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    border-radius: 7px;
    overflow: hidden;
}

/* Color Palette */
.white-bg{ background-color: #f8f9fa;}

.dark-blue{ color: #00778E;}
.dark-blue-bg{ background-color: #00778E; color: #f8f9fa;}
.dark-blue-border{ border-color: #00778E;}

.light-blue   { color: #00BCE3;}
.light-blue-bg{ background-color: #00BCE3;}
.light-blue-border{ border-color: #00BCE3;}

.dark-green   { color: #A9C23F;}
.dark-green-bg{ background-color: #A9C23F;}
.dark-green-border{ border-color: #A9C23F;}

.light-green   { color: #A0DAB3;}
.light-green-bg{ background-color: #A0DAB3;}
.light-green-border{ border-color: #A0DAB3;}

.jasper-green   { color: #6CBD45;}
.jasper-green-bg{ background-color: #6CBD45;}
.jasper-green-border{ border-color: #6CBD45;}

.peach   { color: #FCC89B;}
.peach-bg{ background-color: #FCC89B;}
.peach-border{ border-color: #FCC89B;}

.dark-peach   { color: #faa052;}
.dark-peach-bg{ background-color: #faa052;}
.dark-peach-border{ border-color: #faa052;}

.purple{ color: #654EA3;}
.purple-bg{ background-color: #654EA3; color: #f8f9fa;}
.purple-border{ border-color: #654EA3;}

/* Nav Bar Header */
#navHeader{
    align-items: flex-end;
    border-bottom: solid 3px #00778E;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    min-height: 10rem;
}

#navSchedule{
    align-self: flex-start;
    position: fixed;
    right: 1rem;
    top: 2em;
    background-color: #654EA3;
    color: #fff;
    border-radius: 2em;
    line-height: normal;
    padding: .5em 2em;
    text-decoration: none;
    box-shadow: .33em .33em .75em rgba(0,0,0,0.4);
    font-size: .8rem;
    display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    align-content: flex-start;
    max-width: 50vw;
}

#navSchedule::before{
    font-family: "Material Icons";
    content: "watch_later";
    margin-right: .5em;
    font-size: 1.75em;
}

#navHeader + section:first-of-type{
    margin-top: 10rem;
    padding-top: 2em;
}

@media (max-width: 576px){
    #navHeader{
        height: auto;
    }

    #navHeader + section:first-of-type{
        margin-top: 9rem;
        padding-top: 1em;
    }
}

.navbar-brand {
    font-weight: bold;
    padding: .5rem;
    height: 100%;
}

.navbar-brand img{
    height: 90px;
    width: auto;
}

.nav-link{
    font-weight: bold;
}

#navbarNav .navbar-nav{
    flex: 0 0 100%;
    font-size: 1.2rem;
}

@media (min-width: 1600px){
    #navbarNav .navbar-nav{
        justify-content: space-between;
        margin-left: 5vw;
    }
}

@media (max-width: 991px){
    #navbarNav .nav-item{
        padding: .3em .5em;
    }
}

@media (min-width: 1200px){
    #navbarNav .nav-item{
        padding: 0 1em;
    }

    .navbar-brand img{
        height: 120px;
    }
}

#navbarNav .nav-item a.nav-link:link,
#navbarNav .nav-item a.nav-link:visited{
    color: #00778E; /* .dark-blue */
}

#navbarNav .nav-item.active > a.nav-link,
#navbarNav .nav-item a.nav-link:hover{
    color: #faa052; /* .dark-peach */
}

#navbarNav .nav-item.nav-language-select select.nav-link{
    background-color: #ccc;
    color: #f8f9fa !important;
    border: 1px solid #000;
    border-radius: .5rem;
}

#navbarNav .nav-item.nav-language-select select.nav-link option{
    background-color:  #f8f9fa;
    color: #000 !important;
}

/* Splash Videos */
.splash-video{
    overflow: hidden;
    height: auto;
    min-height: auto;
}

.splash-video video{
    width: auto;
    min-width: 100%;
    height: auto;
}

/* Home Splash Video */
#homeSplashVideo.splash-video{
    position: relative;
    border-bottom: solid 3px #00778E;
    background: #333 no-repeat 50% 50%;
    background-size: fill;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    padding: 0 !important;
}

#homeSplashVideo.splash-video h1{
    font-size: 2rem;
}

#homeSplashVideo.splash-video video{
    position: absolute;
    z-index: 1;
    filter: blur(3px);
    opacity: .8;
}

#homeSplashVideo.splash-video > div{
    position: relative;
    height: 100%;
    z-index: 2;
    text-align: center;
    font-size: 1.35rem;
    padding: 4em 1em 1em 1em;
    margin: 0;
}

#homeSplashVideo.splash-video > div p{
    font-family: "Krona One";
    font-size: .8em;
}

#homeSplashVideo.splash-video h1{
    margin-top: 1em;
}

#homeSplashVideo.splash-video h2{
    margin-top: 2em;
    margin-bottom: 1em;
}

#homeSplashVideo.splash-video h1{
    margin-bottom: 3em;
    margin-top: .5em;
    text-shadow: 1px 1px 1px rgba(251,199,155,.8);
    font-family: "Gluten";
    font-weight: 600;
    font-size: 2rem;
    line-height: 1.8rem;
}

/* Jasper Logos */
.jasper-title{
    text-shadow: 1px 1px 2px rgba(10,10,10,.8) !important;
    font-family: "Gluten";
    font-weight: 600;
    font-size: 3.75rem;
}


.jasper-logo img{
    width: 3.5em;
    filter: drop-shadow(1px 1px 1px rgba(10,10,10,.8));
    margin-right: .5em;
    margin-left: .25em;
    position: relative;
    top: -0.1em;
}

@media (max-width: 991px){
    .jasper-pilot{
        text-align: center;
    }

    .splash-video h2{
        font-size: 2.5rem;
    }
}

@media (min-width: 992px){
    .splash-video > div{
        padding: 7vh 3rem;
    }
}

@media (min-width: 1200px){
    .splash-video > div{
        padding: 7vh 15% 2vh 15%;
    }
}

@media (min-width: 1400px){
    .splash-video > div{
        padding: 10vh 25% 5vh 25%;;
    }

    .splash-video > div p{
        font-size: 1em;
    }
}

.splash-video #enroll-button{
    cursor: pointer;
    transition: transform .4s ease-in-out;
    font-family: "Gluten";
    font-weight: 600;
    font-size: 1.75rem;
    filter: drop-shadow(1px 1px 1px rgba(251,199,155,.8));
}

.splash-video #enroll-button:hover{
    transform: scale(1.3);
    text-decoration: none;
}

.splash-video #enroll-hero{
    width: 3rem;
}

/* Section Layout */
@media (min-width: 992px){
    .section-text + .section-hero-image,
    .section-hero-image + .section-text{
        margin-left: 4em;
    }

    #luisaSeatedFlex{
        margin-left: 0;
    }

    .calendly-inline-widget{
        top: -25px;
    }

}

.section-hero-image{
    flex: 0 0 25%;
}

@media (max-width: 576px){
    .section-text{
        order: -1;
        margin-bottom: 1em;
    }
}

.section-hero-image video,
.section-hero-image img{
    max-width: 100%;
}


@media (min-width: 992px){
    .section-hero-image video,
    .section-hero-image img{
        max-width: 25vw;
    }

    .section-hero-image #luisaSeated{
        max-width: 20vw;
    }

    #ourMisson .section-hero-image img{
        max-width: 20vw;
    }

}

@media (max-width: 992px){
    .section-hero-image video,
    .section-hero-image img{
        margin-bottom: 0em;
    }
}

/* Testimonials */

@media (min-width: 992px){
    #testimonialsSplash1 .section-text{
        margin-left: 4em;
        margin-right: 5em;
    }
}

#testimonialsSplash1 blockquote{
    color: #444;
}

#testimonialsSplash1 blockquote:before,
#testimonialsSplash1 blockquote:after{
    color: #FCC89B;
    opacity: 0.4;
}

#testimonialsSplash2 blockquote:before,
#testimonialsSplash2 blockquote:after{
    color: #00778E;
    opacity: 0.4;
}

#testimonials2 blockquote:before,
#testimonials2 blockquote:after{
    color: #fff;
    opacity: 0.4;
}

@media (min-width: 992px){
    #testimonials2 cite,
    #testimonials2 blockquote,
    #testimonialsSplash2 blockquote{
        margin-left: 2em;
    }
}

#testimonials,
#testimonials2,
#testimonials3{
    font-size: .9em;
}

/* Jasper Splash Video */
#jasperSplashVideo{
    margin-bottom: 0;
    padding-bottom: 3px;
    padding-top: 0 !important;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

#jasperSplashVideo .splash-video{
    padding: 0;
    margin: 0;
    overflow: hidden;
}

#jasperSplashVideo .splash-video video{
    width: 100%;
    height: auto;
    margin: 0 0 -15px 0;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    overflow: hidden;
}

@media (min-width: 992px){
    #jasperSplashVideo .splash-video{
        padding: 0 3rem;
    }
}

@media (min-width: 1200px){
    #jasperSplashVideo .splash-video{
        padding: 0 15%;
    }
}

@media (min-width: 1400px){
    #jasperSplashVideo .splash-video{
        padding: 0 20%;
    }
}


/* JASPER Keys */
@media (min-width: 1200px){
    #jasperKeys ol{
        margin-right: 5em;
    }
}

#jasperKeys ol li{
    font-size: 1.25rem;
    line-height: 2rem;
    margin-bottom: 4rem;
}

.section-title-tag{
    order: -99;
    width: 100%;
}

.info-page > .d-flex{
    align-items: flex-start !important;
}

@media (min-width: 727px){
    .info-page .section-hero-image p{
        font-size: 1rem;
        white-space: nowrap;
    }
}

.info-page .section-hero-image IMG{
    margin-bottom: 1em;
}

@media (max-width: 576px){
    .info-page .section-hero-image{
        order: -2;
    }

    .testimonial.info-page .section-hero-image{
        order: 99;
    }
}

@media (min-width: 1200px){
    .info-page .section-hero-image ul{
        font-size: .9rem;
    }
}

#testimonials{
    scroll-margin-top: 10rem;
}

#serviceHours td{
    padding: 0 .5em 0 0;
}

#serviceHours td:first-child{
    text-align: right;
}

#serviceHours td:first-child::after{
    content:":";
}

#followInstagram img{
    max-width: 420px;
}

#pilotSchedule{
    border-radius: 2em;
    line-height: normal;
    padding: .5em 5em;
    text-decoration: none;
    box-shadow: .33em .33em .75em rgba(0,0,0,0.4);
    font-size: .9rem;
    display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    align-content: flex-start;
    min-width: 300px;
    width: 50%;
    color: #f8f9fa !important;
}

#pilotSchedule::before{
    font-family: "Material Icons";
    content: "watch_later";
    margin-right: .5em;
    font-size: 1.75em;
}

#blog .section-text h1{
    font-size: 2em;
}

#blog .section-text h2{
    font-size: 1.5em;
}

#blog .section-text h3{
    font-size: 1.25em;
}

/* News Archive Styling */

.news-archive-item {
    margin-bottom: 4rem;
}

.news-archive-item:last-child {
    border-bottom: none;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0;
    font-style: italic;
}

.news-excerpt {
    color: #333;
    line-height: 1.5;
    margin: 0.5rem 0 0 0;
}

.news-navigation {
    margin-bottom: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.news-navigation a {
    color: #00778E;
    text-decoration: none;
    font-weight: 500;
}

.news-navigation a:hover {
    text-decoration: underline;
}

.section-text a.latest-news-title{
    font-size: 1.5em;
    line-height: 1em;
}

#blog h1 + p > img{
    margin: 1em auto 2em auto;
    display: block;
    max-width: 95vw;
}

@media (min-width: 992px){
    #blog h1 + p > img{
        float: right;
        max-width: 25vw;
        margin: 2vh 0 0 5vw;
    }
}

/* Blog video styling */
.blog-video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Calendly popup fixes */
.calendly-overlay .calendly-popup{
    max-width: 75vw !important;
    max-height: 90vh !important;
}

@media (max-width: 975px) {
    .calendly-overlay .calendly-popup{
        max-width: none !important;
        max-height: none !important;
    }
}

/* Error Pages */
.error-page {
    min-height: 60vh;
}

@media (min-width: 992px){
    .error-page{
        padding-top: 120px !important;
    }

}

.error-code {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.error-title {
    margin-bottom: 2rem;
}

.error-message {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.error-buttons {
    margin-bottom: 2rem;
}

.error-contact {
    color: #666;
    margin-top: 2rem;
}

.error-contact a {
    color: #ccc;
}

.error-page .btn-primary {
    border: none;
    padding: 12px 30px;
    margin-right: 15px;
    text-decoration: none;
    border-radius: 5px;
    background: #00778E;
    color: #fff;
    font-weight: bold;
    display: inline-block;
}

.error-page .btn-outline-primary {
    border: 2px solid #00778E;
    color: #00778E;
    padding: 10px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    background-color: transparent;
    display: inline-block;
}

.error-page .btn-primary:hover{
    text-decoration: none;
    opacity: 0.9;
    background: #654EA3;
    color: #fff;
}

.error-page .btn-outline-primary:hover {
    text-decoration: none;
    opacity: 0.9;
    background: #654EA3;
    border-color: #654EA3;
    color: #fff;
}
