/* Global Styles */
body {
	font-size: 16px;
    font-family: 'Open Sans', sans-serif; 
    overflow-x: hidden;
}
p {
	line-height: 1.6;
	font-size: 1rem;
	margin: 0 0 1.2rem 0;
}
a,
button,
.btn {
	-webkit-transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
	-ms-transition: all .25s ease-in-out;
	-o-transition: all .25s ease-in-out;
	transition: all .25s ease-in-out;
}
@media only screen and (min-width: 1400px) {
    body {
        font-size: 22px;
    }
}
strong {
    font-weight: bold;
}
table tr th,
table tr td,
label {
    font-size: 1rem;
}

.Learning-Curve {
    font-family: 'Learning Curve', cursive;
}

.red { color: #e51937; }
.redSection,
.background--red { background-color: #e51937; }

.blue { color: #005dab; }
.background--blue { background-color: #005dab; }
.background--blue-transparent { background-color: rgba(0,93,171,0.7); }
.border--blue { border: 2px solid #005dab; }

.white { color: white; }
.whiteSection,
.background--white { background-color: #fff; }
.background--white-transparent { background-color: rgba(255,255,255,0.5); }

.yellow { color: #f0b310; }
.background--yellow { background-color: #f0b310; }
.border--yellow { border: 3px solid #f0b310; }

.gray { color: #717174; }
.background--gray { color: #717174; }

.btn--yellow {
    color: white !important;
    background-color: #f0b310;
    text-transform: uppercase;
    border-radius: 25px;
}
.btn--yellow:hover {
    color: #f0b310 !important;
    background-color: white;
    border-color: #f0b310;
}

/* Header */
#header {
    position: relative;
}
.header--specials {
    
}
@media only screen and (max-width: 768px) {
    #header {
        padding: 1rem 0 0;
    }
}

/* Navigation Bar */
.top-nav {
    padding: 0 0 .5rem 0;
    clear: both;
    font-size: 0.9rem;
}
.top-nav a {
	color: #484848;
    font-weight: bold;
    font-size: 1rem;
}
.top-nav a:hover {
    color: #888;
}
.top-nav .nav-item:not(.nav-item--center) {
	padding-bottom: .6rem;
}
.top-nav .nav-item--center {
	padding-right: 2rem;
	padding-left: 2rem;
}

/* Side Nav indicators */
#sideNav {
    position: fixed;
    top: 25vh;
    right: 0;
    z-index: 5;
    display: none;
}
#sideNav .nav-link {
    padding: .25rem 1rem;
    font-size: .8rem;
    color: #ccc;
}
#sideNav .nav-link:hover, 
#sideNav .nav-link.active { color: #007bff; }
#sideNav .nav-link .nav-link--title { 
    padding: .25rem .5rem;
    display: none;
    color: #fff; 
    background-color: #007bff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px; 
    -webkit-transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
	-ms-transition: all .25s ease-in-out;
	-o-transition: all .25s ease-in-out;
	transition: all .25s ease-in-out;
}

#sideNav .nav-link:hover .nav-link--title,
#sideNav .nav-link.active .nav-link--title { 
    display: inline;
}

/* Sections General Rules */
section h1 {
    font-size: 2.5rem;
	font-weight: bold;
    text-transform: uppercase;
}
@media only screen and (max-width: 480px) {
    section h1 {
        font-size: 2.1rem;
    }
}

/* Hero Section */
#hero {
    position: relative;
}

#hero .slideshow {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}
#hero .slideshow .slick-slide .hero-img--left,
#hero .slideshow .slick-slide .hero-img--right {
    width: 50%;
    max-height: 563px;
    padding: 0;
    margin: 0;
}
@media only screen and (max-width: 992px) {
    #hero .slideshow .slick-slide .hero-img--left,
    #hero .slideshow .slick-slide .hero-img--right {
        width: 100%;
        max-height: 300px;
        clear: both;
    }
}

#hero .lead-in {
    position: absolute;
    top: 0;
    z-index: 5;
    width: 35%;
    height: 100%;
    right: 10%;
}
#hero .lead-in > h1 {
    font-size: 4rem;
}
#hero .lead-in > p {
    font-size: .9rem;
}
@media only screen and (max-width: 1200px) {
    #hero .lead-in {
        width: 44%;
        right: 3%;
    }
}
@media only screen and (max-width: 1024px) {
    #hero .lead-in {
        width: 46%;
        right: 2%;
    }
    #hero .lead-in > h1 {
        font-size: 3.25rem;
    }
}
@media only screen and (max-width: 992px) {
    #hero .lead-in {
        position: static;
        width: 100%;
        padding: 1rem;
        background: #005dab;
    }
    #hero .lead-in > h1 {
        text-align: center;
        font-size: 2.75rem;
    }
    #hero .lead-in > p {
        text-align: center;
    }
}

/* About Section */
#about {
    position: relative;
    height: 90vh;
    width: 100%;
    overflow: hidden;
}
#about > .container {
    position: absolute;
    z-index: 4;
    top: 9rem;
}
#about > .container .btn--yellow {
    z-index: 1;
}
#about .about__img {
    position: absolute;
    left: -10%;
    width: 120%;
}
#about .about__img.img--red {
    bottom: 10%;
}
#about .about__img.img--blue {
    bottom: 7%;
}
#about .about__img.img--yellow {
    bottom: 0;
}
@media only screen and (max-width: 1400px) {
    #about {
        height: 100vh;
    }
    #about > .container {
        top: 3rem;
    }
    #about .about__img {
        position: absolute;
        left: -15%;
        width: 130%;
    }
}
@media only screen and (max-width: 992px) {
    #about {
        height: 90vh;
    }
}
@media only screen and (max-width: 768px) {
    #about {
        position: relative;
        margin: 2rem 0 3rem;
        padding: 2rem 0 3rem;
    }
    #about > .container {
        margin-top: 0rem;
    }
    #about .about__img.img--red {
        left: -20%;
    }
    #about .about__img.img--blue {
        
    }
    #about .about__img.img--yellow {
        
    }
}
@media only screen and (max-width: 480px) {
    #about > .container {
        margin-bottom: 7rem;
    }
    #about .about__img.img--red {
        left: -10%;
        bottom: 0;
    }
    #about .about__img.img--blue {
        bottom: 0;
    }
    #about .about__img.img--yellow {
        bottom: 0;
    }
}

/* Mission Section */
#mission {
    overflow: hidden;
    position: relative;
    height: 100vh;
    width: 100vw;
}
#statement {
    position: absolute;
    height: 100%;
    padding-top: 5rem;
    background: url("../img/Adult-Meeting-blue.jpg") no-repeat top;
    background-size: cover;
}
@media only screen and (max-width: 1400px) and (max-height: 768px) {
    #mission {
        height: 140vh;
    }
    #statement {
        padding-top: 3rem;
    }
}
@media only screen and (max-width: 768px) {
    #statement {
        padding-top: 3rem;
    }
}
#whatWeFund {
    position: absolute;
    top: 100%;
    height: 100%;
}
#whatWeFund .we-fund--row {
    margin-top: -20%; 
    padding-bottom: 50%;
}
#whatWeFund .box {
    padding: 1rem 3rem;
}

#whatWeFund .banner-box {
    margin-top: -1rem;
}
#whatWeFund .banner-box .slide-arrow {
    position: absolute;
    top: 45%;
    background: none;
    border: 0;
    color: #1c8ce9;
}
#whatWeFund .banner-box .slide-arrow.prev {
    left: -2rem;
}
#whatWeFund .banner-box .slide-arrow.next {
    right: -2rem;
}
#whatWeFund .banner-box .slide-arrow:hover {
    color: #fff;
}
#whatWeFund .banner-box .slide {
    height: 250px;
    margin: 0 1rem;
}
#whatWeFund .banner {
    position: relative;
    height: 230px;
    padding: 1rem 0;
    background-color: #1c8ce9;
}
#whatWeFund .banner__triangle {
    position: absolute;
    bottom: -20px;
    width: 100%;
    height: 20px;
    overflow: hidden;
}
#whatWeFund .banner__triangle::before {
    content: "";
    position: absolute;
    left: -24%;
    width: 50%;
    height: 20px;
    transform: skew(-78deg);
    background-color: #1c8ce9;
}
#whatWeFund .banner__triangle::after {
    content: "";
    position: absolute;
    right: -24%;
    width: 50%;
    height: 20px;
    transform: skew(78deg);
    background-color: #1c8ce9;
}
#whatWeFund .banner h4 {
    margin: 1rem 0;
    font-size: 1.4rem;
    font-weight: bold;
    text-transform: uppercase;
}
#whatWeFund .banner p {
    font-size: .9rem;
    padding: 0 1rem;
}
@media only screen and (min-width: 1025px) {
    #whatWeFund .we-fund--col {
        max-width: 75%;
        flex: 0 0 75%;
        margin-left: 12.5%;
    }
}
@media only screen and (max-width: 1024px) and (orientation: portrait) {
    #whatWeFund .we-fund--row {
        margin-top: -10%; 
        padding-bottom: 40%;
    }
}
@media only screen and (max-width: 768px) {
    #whatWeFund .we-fund--row {
        margin-top: -10%; 
        padding-bottom: 30%;
    }
    #whatWeFund .banner {
        width: auto;
        flex-basis: 45%;
        margin-bottom: 2rem;
    }
}
@media only screen and (max-width: 812px) and (orientation: landscape) {
    #mission {
        min-height: 200vh !important;
    }
    #statement {
        padding-top: 1.5rem;
    }
    #statement h1 { font-size: 1.5rem; }
    #statement p { font-size: .9rem; }
    #statement br { display: none; }

    .we-fund--col {
        max-width: 90%;
        flex: 0 0 90%;
        margin-left: 5%;
    }
}

/* Teachers Section */
#teachers {
    height: 115vh;
    padding: 0;
    margin: 0;
}
.teacher__header {
    position: relative;
    width: 100%;
    height: 25vh;
    margin: 1rem 0;
    background-image: url(../img/Thread-Teachers.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.teacher__header-text {
    position: absolute;
    top: 48%;
    right: 36%;
}
#teacherContent {
    position: relative;
    padding: 3rem 0;
    margin-bottom: -8rem;
    background-color: #f7f7f7;
}
#teacherContent p {
    font-size: .9rem;
}
#teachersImage {
    position: absolute;
    bottom: 0;
    left: 0;
    max-height: 100%;
}
@media only screen and (max-width: 1600px) {
    #teachersImage {
        left: -10%;
    }
}
@media only screen and (min-width: 1400px) {
    #teachers {
        height: 80vh;
    }
}
@media only screen and (max-width: 1280px) {
    #teacherContent {
        padding: 3rem 0;
    }
    #teachersImage {
        left: -15%;
    }
}
@media only screen and (max-width: 1200px) {
    #teachersImage {
        left: -20%;
        max-height: 80%;
    }
}
@media only screen and (max-width: 1024px) {
    #teachers {
        height: 100vh;
    }
    .teacher__header-text {
        height: 16vh;
    }
}
@media only screen and (max-width: 812px) and (orientation: landscape) {
    .teacher__header-text {
        height: 25vh;
    }
}
@media only screen and (max-width: 480px) {
    .teacher__header-text {
        width: 135%;
        margin-left: -16%;
    }
    #teacherContent {
        margin-bottom: 0;
    }
}

/* Alumni Section */
#alumni {
    background-color: #e51937;
}
.alumni__heading {
    position: relative;
    height: 25vh;
    background-color: white;
    background-image: url('../img/Thread-Alumni.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.alumni__heading > h1 {
    position: absolute;
    top: 57%;
    left: 28.5%;
}
.alumni--top {
    position: relative;
    padding-top: 1rem;
    padding-bottom: 3rem;
    background-color: #fff;
}
.alumni--top p,
.alumni--top img,
.alumni--top .btn--yellow {
    position: relative;
    z-index: 3;
}
.alumni--bottom::before {
    content: " ";
    position: absolute;
    bottom: 99.9%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 60px 50vw 0 50vw;
    border-color: transparent #e51937 transparent #e51937;
}
.alumni--bottom {
    position: relative;
    padding-top: 5rem;
    padding-bottom: 3rem;
    color: #fff;
}
.alumni--bottom .alumni--bottom-logo {
    position: absolute;
    top: -30%;
    max-width: 80%;
    opacity: .15;
}
.alumni--bottom .slideshow .slide {
    z-index: 4;
}
.alumni--bottom .slideshow .slick-dots li button {
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
}
.alumni--bottom .slideshow .slick-dots li button:before {
    top: 1px;
    left: 1px;
    font-size: 20px;
    color: #fff;
    opacity: 0;
}
.alumni--bottom .slideshow .slick-dots li.slick-active button:before {
    color: #fff;
    opacity: 1;
}
.alumni--bottom .slideshow .slide__caption p {
    font-size: .9rem;
    font-weight: 100;
    color: #eee;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.75);
}
@media only screen and (max-width: 768px) {
    .alumni--bottom .slideshow .slide__caption p {
        font-size: .8rem;
    }
}
@media only screen and (max-width: 480px) {
    .alumni--top p {
        font-size: .9rem;
    }
}

/* Support Section */
#support {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: rgba(0,93,171,0.7) url("../img/support.png") no-repeat top;
    background-size: cover;
}
@media only screen and (min-width: 1400px) {
    #support {
        height: 80vh;
    }
}
#support .support__heading {
    height: 285px;
    background-image: url("../img/Thread-Support.png");
    background-position: 40% 20%;
    background-repeat: no-repeat;
    background-size: 100%;
}
#support .support__heading h1 {
    padding-top: 1rem;
    font-size: 2.5rem;
    line-height: 285px;
}
#support .support__content {
    position: absolute;
    top: 60%;
    padding-top: 3rem;
    padding-bottom: 3rem;
    color: white;
}
#support .support__content h2 {
    font-weight: bold;
}
#support .support__content a:not(.btn) {
    color: white;
    text-decoration: underline;
}
@media only screen and (max-width: 768px) {
    #support .support__heading {
        background-size: 130%;
        background-position: 55% 50%;
        height: 250px;
    }
    #support .support__heading h1 {
        font-size: 3rem;
        line-height: 250px;
    }
    #support .support__content {
        position: static;
        padding-top: 2rem;
        padding-bottom: 2rem;
        transform: none !important;
    }
    #support .support__content h2 {
        font-size: 1.6rem;
    }
    #support .support__p {
        font-size: .9rem;
    }
}
@media only screen and (max-width: 1366px) and (max-height: 768px) and (orientation: landscape) {
    #support .support__content {
        top: 70%;
    }
}
@media only screen and (max-width: 812px) and (orientation: landscape) {
    #support .support__content {
        position: static;
        padding-top: 2rem;
        padding-bottom: 2rem;
        transform: none !important;
    }
}

/* Contact Section */
#contact {
    height: 105vh;
    padding-top: 10rem;
    position: relative;
}
.contact--bottom {
    position: absolute;
    top: 100%;
}
@media only screen and (min-width: 1400px) {
    #contact {
        height: 90vh;
        padding-top: 8rem;
    }
}
@media only screen and (max-width: 1399px) {
    #contact {
        padding-top: 3.5rem;
    }
}
@media only screen and (max-width: 768px) {
    #contact {
        height: 75vh;
        padding-top: 2rem;
    }
}

/* Footer */
.footer {
	background-color: #005dab; 
    color: white;
}
.footer a {
    color: white;
    text-decoration: none;
}
.footer a:hover {
    color: #f0b310;
    text-decoration: none;
}
.footer__top {
	padding: 2rem 0 4rem;
}
.footer__top p, 
.footer__top a {
    font-size: .9rem;
}
.footer__heading {
	margin: .5rem 0;
}
.footer__nav {

}
.footer__nav-item {
	margin: 1rem 0;
}
.footer__social-link {
	margin-right: 1rem;
}
.footer__arrow,
.footer__icon {
    margin-right: .75rem;
}

.footer .form--newsletter, 
.footer .form--newsletter .form-control { position: relative; }
.footer .form--newsletter .form__submit {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
}
.footer .form--newsletter .form__submit-btn {
    height: 100%;
    color: #f0b310;
    background: transparent;
    border: 0;
}
.footer .form--newsletter .form__submit-btn:hover,
.footer .form--newsletter .form__submit-btn:focus {
    color: #333;
}
.footer hr {
	margin: 3rem 0 2rem;
	padding: 0;
	border-color: rgba(255,255,255,0.25);
}
@media only screen and (max-width: 768px) {
    .footer__top {
        padding: 1rem;
    }
    .footer--col-contact p {
        margin: 0;
    }
    .footer__nav-item {
        margin: 0;
    }
    .footer hr {
        margin: 1rem 0;
    }
}

/* Loading Screen */
#loader {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000;
    background: white;
    height: 100%;
    width: 100%;
}
#loader .loader__box {
    position: absolute;
    top: 45%;
}

/* Utility Classes */
.arrow--link {
    overflow: hidden;
}
.arrow--link > a {
    position: relative;
    margin-right: 1.5rem;
    padding: 0 1.35rem 0 1.5rem;
    line-height: 26px;
    background-color: #363636;
}
.arrow--link > a::before {
    content: " "; 
    position: absolute;
    top: 0;
    left: 0;
    width: 0; 
    height: 0;
    display: block; 
    border-style: solid;
    border-width: 13px 0 13px 8px;
    border-color: transparent transparent transparent #fff;
}
.arrow--link > a::after {
    content: " "; 
    position: absolute;
    top: 0;
    left: 100%; 
    width: 0; 
    height: 0;
    display: block; 
    border-style: solid;
    border-width: 13px 0 13px 8px;
    border-color: transparent transparent transparent #363636;
}
/* Horizontal Lines */
.blueLine {
    display: block;
    margin: 0.5rem auto;
    border: 2px solid #005dab;
} 
.yellowLine {
    display: block;
    margin: 0.5rem auto;
    border: 2px solid #f0b310;
}

@keyframes come-in {
    to { 
		transform: translateY(0); 
	}
}
.come-in {
    transform: translateY(150px);
    animation: come-in 0.8s ease forwards;
}
.come-in:nth-child(odd) {
    animation-duration: 0.6s;
}
.already-visible {
    transform: translateY(0);
    animation: none;
}