html {
  line-height: 1.15; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
  width: 100%;
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  width: 100%;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  background: #162030;
  font-size: 18px;
  color: white;
  overflow-x: hidden;
}

.body-no-scroll {
    overflow: hidden;
}

.page-cta {
    font-size: 1.2em;
    text-decoration: none;
    color: #f7cd0d;
    letter-spacing: 2px;
    line-height: 3em;
    padding: 15px 25px;
    border: 3px solid;
    transition: .5s all;
    cursor: pointer;
}

#backButton {
    background-color: white;
    line-height: 1.5em;
}

.page-cta:hover {
    color: #f7cd0d;
    background: rgba(0,0,0,.8);
}

/***** Narrow title font *****/
@font-face {
    font-family: "Triton-Sans";
    src: url('../fonts/TritonSans-Regular.woff');
    src: url('../fonts/TritonSans-Regular.woff' format('woff'), url('../fonts/TritonSans-Regular.woff2'));
    font-weight: 400;
    font-style: normal;
}
.impact {
    font-family: 'Triton-Sans', 'Teko', impact, sans-serif;
    text-transform: uppercase;
}

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

h1 {
  font-size: 2em;
}
h1, h2, h3, h4 {
    margin: 0;
}

p {
    margin: 15px 0;
    line-height: 1.5;
}

#main { /* 1 */
  display: block;
  margin-top: 75px;
  
}
#main.wBanner {
    margin-top: 190px;
}

.main-content {
    width: 90%;
    margin: auto;
    max-width: 800px;
}

/* Header text styling */
.header-h1 {
    font-size: .8em;
    font-weight: 200;
    line-height: 2.5em;
    text-transform: uppercase;
}

.header-h2 {
    font-size: 2em;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.intro-text p {
    line-height: 1.8;
}

@media (min-width:768px) {
    .header-h2 {
        font-size: 3em;
    }
    
    #main {
        margin-top: 125px;
    }
}

/**** Content block shared between multiple pages ****/
.content-wrapper {
    background: #37455b;
    color: white;
    text-align: center;
    padding: 35px 0;
}

.content {
    line-height: 1.6em;
    font-weight: 400;
    width: 90%;
    margin: auto;
    max-width: 800px;
}

@media (min-width:768px) {
    .content-wrapper {
        padding: 100px 0;
    }
}

a {
  color: #f7cd0d;
  transition: .5s all;
  text-decoration: none;
}
a:hover {
    color: white;
}

img {
  border-style: none;
}

.fold { 
    height: 100vh;
}

.desktop-only {
    display: none;
}

@media (min-width:768px) {
    body {
        font-size: 16px;
    }
    .mobile-only {
        display: none;
    }
    
    .desktop-only {
        display: block;
    }
}
/***** SUPERBOWL-2022 BANNER *****/
.superBowlBanner {
    padding: 16px 0;
    background-color: #243F91;
}
.superBowlBanner .container {
    padding: 0 15px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.superBowlBanner .container p {
    margin: 0;
    color: white;
    font-size: 19px;
    line-height: 1.1;
    order: 1;
}
.superBowlBanner .container p:first-child {
    max-width: 80%;
    margin-bottom: 20px;
}
.superBowlBanner .container a {
    display: block;
    font-size: 19px;
    text-decoration: underline;
}
.banner__close--btn {
    color: white;
    order: 0;
    align-self: flex-end;
    background-color: transparent;
    border: 0;
    padding: 0 15px;
    position: absolute;
}
.banner__close--btn svg {
    width: 12px;
    fill: white;
}
.banner__close--btn:hover, 
.banner__close--btn:focus {
    cursor: pointer;
    fill: #f7cd0d;
} 
@media (min-width: 992px) {
    .superBowlBanner {
        padding: 16px 0;
    }
    .superBowlBanner .container {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        max-width: 85%;
    }
    .superBowlBanner .container p {
        order: 0;
    }
    .superBowlBanner .container p:first-child {
        margin-bottom: 0;
        margin-right: 30px;
        max-width: 100%;
    }
    .banner__close--btn {
        margin-left: 45px;
        position: relative;
    }
}
/***** NAV BAR *****/
#navigation {
    width: 100%;
    background: #162030;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.nav-bar-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    line-height: 75px;
    text-align: center;
    font-size: 7vw;
    height: 75px;
    position: relative;
}

#nav-menu-expand {
    display: flex;
    align-items: center;
    margin: 0 15px;
}
.nav-bar-link {
    margin: 0 15px;
}

.nav-bar-icon {
    height: 30px;
    width: 35px;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

.nav-bar-icon span {
  display: block;
  position: absolute;
  height: 5px;
  width: 100%;
  background: #37455b;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

.nav-bar-icon span:nth-child(1) {
  top: 0px;
}

.nav-bar-icon span:nth-child(2),.nav-bar-icon span:nth-child(3) {
  top: 13px;
}

.nav-bar-icon span:nth-child(4) {
  top: 26px;
}

.nav-bar-icon.open span:nth-child(1) {
  top: 26px;
  width: 0%;
  left: 50%;
}

.nav-bar-icon.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.nav-bar-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.nav-bar-icon.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}

.nav-wrapper {
    display: none;
    letter-spacing: 2px;
    text-align: center;
    font-size: 1.8em;
    line-height: 50px;
    padding-top: 55px;
}

#nav-links-list.flex {
    display: flex !important;
    flex-direction: column-reverse;
    justify-content: flex-end;
    align-items: center;
}

.nav-links-list.margin {
    margin: 0 auto;
}

.mobile-nav-logo-wrapper {
    position: absolute;
    top: 15px;
    left: calc( (100% - 100px) / 2);
    width: 100px;
    transition: .4s all;
}

.mobile-nav-scrolled {
    width: 70px;
    left: calc( (100% - 70px) / 2);
}

.nav-logo-wrapper {
    display: none;
}

.nav-links-list {
    width: 90%;
    margin: auto;
    padding: 0;
}

.nav-link {
    color: white;
    opacity: .7;
    text-decoration: none;
    transition: all .5s;
}
.nav-link:hover {
    opacity: 1;
}
.nav-link-donate {
    color: #f7cd0d;
    opacity: 1;
}
.nav-links-right #nav-link-donate {
    display: none;
}

.nav-link-wrapper {
    margin: 0 7%;
}

@media (max-width: 767px) {
    .nav-wrapper {
        height: 100vh;
    }
}

@media (min-width: 768px) {
    .mobile-only {
        display: none;
    }
    .nav-wrapper {
        display: block;
        position: relative;
        font-size: 1.2em;
        line-height: 75px;
        transition: all .2s;
        line-height: 125px;
        padding-top: 0px;
    }
    
    .nav-scrolled {
        line-height: 75px;
        transition: all .2s;
    }
    
    .nav-links-list {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
    }
    
    .nav-links-left {
        display: flex;
        flex-wrap: nowrap;
        flex: 2;
        text-align: right;
        justify-content: flex-end;
    }
        
    .nav-links-right {
        display: flex;
        flex-wrap: nowrap;
        flex: 2;
    }
    .nav-links-right #nav-link-donate {
        display: block;
    }
    
    .nav-logo-wrapper {
        display: block;
        position: relative;
        width: 150px;
        min-width: 150px;
        flex: .5;
    }
    
    .nav-logo-wrapper .afhff-svg-icon {
    /* .nav-logo { */
        position: absolute;
        width: 100%;
        margin: auto;
        top: 25px;
        left: 0%;
        height: auto;
        transition: all .4s;
    }
    
    .nav-logo-wrapper .nav-logo-scrolled {
        width: 50%;
        left: 25%;
        transition: all .4s;
        top: 15px;
    }
    
    
}

@media (max-width:850px) {
    .nav-logo-wrapper{
        display: none;
    }
}

/***** Footer *****/
#footer {
    width: 100%;
    background: #162030;
    color: white;
}

.footer-legal {
    font-size: .7em;
    margin-bottom: 15px;
}

.footer-flex {
    padding: 50px 0;
    width: 80%;
    margin: auto;
}

.footer-address {
    line-height: 20px;
    font-size: .9em;
}

.footer-address p {
    margin: 0;
}

.footer-social-icon {
    margin: 15px 3px;
    width: 45px;
}
.footer-social a {
    text-decoration: none;
    color: white;
}
.icon-circle {
    stroke: #fff;
    fill: transparent;
    opacity: .7;
    transition: all .5s;
}
.icon-image {
    stroke: #fff;
    fill: #fff;
    opacity: .7;
    transition: all .5s;
}

.footer-social-icon:hover .icon-circle,
.footer-social-icon:hover .icon-image {
    opacity: 1;
}

.footer-af-logo {
    width: 85px;
}
.footer-friedkin-logo {
    width: 60%;
    max-width:150px;
}
.footer-logo .afhff-svg-icon {
    width: 75px;
}
.footer-logo {
    margin: 15px;
    display: block;
}


@media (min-width:768px) {
    .footer-flex {
        padding: 100px 0 75px;
        width: 85%;
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }
    
    .footer-social {
        text-align: left;
    }
    
    .footer-friedkin-logo {
        height: 85px;
        width:auto;
    }
    
    .footer-logo {
        margin: 0 45px;
        display: inline-block;
    }
    .footer-logo:last-child {
        margin: 0 0 0 40px;
    }
    
    .footer-legal {
        text-align: left;
    }
}

/* VIDEO LOOPING HEADERS */
.header-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transition: all 3s ease;
}

.header-video {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
    transition: all 3s linear;
    top: 0;
    left: 0;
}
.header-video-controller {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* below is to hide the controls for the looping video on mobile... ?
/* This used to work for the parent element of button divs */
/* But it does not work with newer browsers, the below doesn't hide the play button parent div */

*::-webkit-media-controls-panel {
  display: none!important;
  -webkit-appearance: none;
}

/* Old shadow dom for play button */

*::-webkit-media-controls-play-button {
  display: none!important;
  -webkit-appearance: none;
}

/* New shadow dom for play button */

/* This one works! */

*::-webkit-media-controls-start-playback-button {
  display: none!important;
  -webkit-appearance: none;
}

/* VIMEO WRAPPERS */
.video-wrapper {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    opacity: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    color: white;
    z-index: 9999;
    background: rgba(0,0,0,.7);
    transition: all .5s;
}

#video-cta {
    width: 50px;
    height: auto;
    opacity: .8;
    cursor: pointer;
    transition: all .5s;
}
#video-cta:hover {
    opacity: 1;
}

.vimeo-video {
    margin: 0 auto 15px;
    width: 90vw;
    height: 65vw;
}

.vimeo-video iframe {
    width: 100%;
    height: 100%;
}

.video-active {
    opacity: 1;
    pointer-events: inherit;
}

.video-wrapper .page-cta {
    background: black;
}

@media (min-width: 768px) {
    .vimeo-video {
        width: 80vw;
        height: 75vh;
    }
}

#sb2022Callout {
    background-color: #162030;
    color: white;
    padding: 20px;
    margin: 30px 0;
} 
#sb2022Callout h3 {
    font-size: 24px;
}
@media (min-width: 992px) {
    #sb2022Callout {
        padding: 40px;
    }
}

/* ERROR 404 - NOT FOUND PAGE */
.error-404-main {
    background-color: white;
}
.error-404 {
    padding-top: 100px;
    padding-bottom: 50px;
    color: black;
}
.error-404-main .error__home-link:hover {
    color: #162030;
}