/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,200i,300,300i,400,400i,600,600i,700,700i,900,900i');




/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

.child { width: 100%; }
/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/*==========================================================================
============================================================================
=   Author's custom styles
============================================================================
===========================================================================*/

* { margin:0; padding:0; box-sizing:border-box; }

.button-bump { margin-right: 20px; }

.bump-down { padding-top: 50px;}

.inner { padding: 0 15%; }

.no-style { list-style-type: none; }

/*==========================================================================
    Fonts
==========================================================================*/

h1,h2,h3,h4,h5,h6,p,a,li { font-family: 'Source Sans Pro', sans-serif; color: #2d2d2a }

h1 { padding-top: 60px; }
h2 { padding-top: 40px; }

h3 { font-weight: 600; }

h4 { font-size: 17px; color: #00cc5b; padding-top: 50px;}

h1 { font-weight: 400; border-bottom: 1px solid #2d2d2a; }

p { padding-top: 20px; }

ol, ul { padding-top: 20px; margin-left: 30px;  }

.pad-bottom { padding-bottom: 50px; }


li { font-weight: 600; line-height: 2em; }

header nav ul,
footer nav ul { list-style-type: none; }


.white { color: #fff; }
.gray { color: #2d2d2a; }
.green { color: #00cc5b; }

.extra-light { font-weight: 200; }
.light { font-weight: 300; }
.semi-bold { font-weight: 600; }
.bold { font-weight: 700; }
.black { font-weight: 900; }

header a { color: #fff; }

a.pdf-download { display: block; color: #fff; font-size: 20px; line-height: 30px; font-weight: 600; }
    a.pdf-download:hover { color: #00cc5b; }


/*==========================================================================
    Header & Navigation
==========================================================================*/

a.home { background: url(../img/gsoz-logo.png) center center no-repeat; background-size: 50px 103px; }


header { position: fixed;  height: 62px; width: 100%; background-color: #2a2a2d; padding: 0 15%; z-index: 999999; -webkit-box-shadow: 0px 8px 6px 0px rgba(0,0,0,0.32); -moz-box-shadow: 0px 8px 6px 0px rgba(0,0,0,0.32); box-shadow: 0px 8px 6px 0px rgba(0,0,0,0.32);   }

header { display: flex; justify-content: flex-end; }
header nav ul { display: flex; justify-content: space-between; margin: 0; padding-top: 0; text-align: center;  }
header nav ul li a { display: block; width: 150px; line-height: 62px; }
  header nav ul li a:hover { color: #fff; background-color: #00cc5b }
  header nav ul li a.home { position: absolute; width: 103px; height: 50px; background: url(../img/gsoz-logo-hover.png) center center no-repeat; background-size: 103px 50px; left: 15%; top: 6px; }
    header nav ul li a.home:hover { background: url(../img/gsoz-logo-glowing.png) center center no-repeat; background-size: 103px 50px; }

    header nav ul li a.home img { height: 45px; }

a#menu-stack { display: none; }

ul#zones-submenu { display: none; position: absolute; flex-direction: column; top: 62px; right: 15%; margin-right: 300px; }
  ul#zones-submenu li a { display: block; width: 150px; background-color: #40403d; font-weight: 300; text-align: center; line-height: 60px; background-color: #40403d; }
    ul#zones-submenu li a:hover { color: #fff; background-color: #00cc5b }


header nav ul li a#zones-dropdown { background: url(../img/dropdown-arrow.svg) 110px 29px no-repeat; background-size: 12px; padding-right: 15px; }
  header nav ul li a#zones-dropdown:hover { color:#fff; background-color: #00cc5b }





/*==========================================================================
    Footer
==========================================================================*/

footer { width: 100%; background-color: #151514; padding: 60px 15% 80px; z-index: 999999; }
footer .main { display: flex; width: 100%; justify-content: space-between; padding-bottom: 60px;}
footer .disclaimer { width: 100%; border-top: 1px solid #ddd; }
footer .disclaimer p { color: #ddd;}

footer p.title { color: #00cc5b; font-size: 24px; padding-top: 0;  }
  footer nav ul { margin-left: 0; }
    footer nav ul li a { color: #fff; font-size: 18px;  }

footer nav { width: 50%; }


footer .gsoz-info { display: flex; flex-direction: column; align-items: flex-end; width: 50%; }
  footer .gsoz-info a { display: block; color: #fff; }
  footer .gsoz-info a:hover { color:#00cc5b; }



/*==========================================================================
    Homepage
==========================================================================*/

/* .home-background { position:fixed;  width: 100%; height: 100vh; min-height: 600px;  background: url(../video/DroneFootageNew.mp4) center center no-repeat; background-size: cover; z-index: -999999; } */

.mobile-home-background { display: none; }

.background { color: #111111; width: 100%; height: 100vh; position: fixed; z-index: -9999999999}

.video-wrap { display: flex; justify-content: center; }

main { width: 100%; height: 100vh; }

#homeVideo {
  position: fixed;
  top: 62px;
  height: 100vh;
  min-width: 100%;
  object-fit: cover;
  margin: 0 auto;
  z-index: -9999999;
}

.height-orientation {
  height: 100vh!important;
}


.video-overlay {
  position: fixed;
  height: 100vh;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: -999999;
  z-index: -999999;
}



.welcome-content { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; height: 100vh; min-height: 600px; z-index: 999; }
  .welcome-content p { color: #fff; font-size: 60px; padding: 0; text-align: center }
  .welcome-content .button-wrap { display: flex; margin-top: 50px; }

.full-width-panel { width: 100%; padding-bottom: 100px; }
  .full-width-panel.white { background-color: #fff; }



  .full-width-panel.gray { background-color: #2d2d2a; }
    .full-width-panel.gray h1 { color: #fff; border-bottom: 1px solid #fff; }
    .full-width-panel.gray h2,
    .full-width-panel.gray p,
    .full-width-panel.gray ol li { color: #fff; }


.floating-panel-white { background-color: rgba( 255,255,255,.7 ); padding: 0 60px; margin: 150px 0; }
  .floating-panel-white h1 { color: #2d2d2a; border-bottom: 1px solid #2d2d2a; padding-top: 40px; }
  .floating-panel-white .all-locations-wrap { display: flex; justify-content: space-between; padding: 40px 0 60px; }
    .floating-panel-white .all-locations-wrap .location-wrap { position: relative; width: 22%; text-align: center; }
      .floating-panel-white .all-locations-wrap .location-wrap a img { width: 100%; z-index: 9; }
      .floating-panel-white .all-locations-wrap .location-wrap a image-container { position: relative; display: block; }


.how-oz-work-wrap { display: flex; justify-content: space-between; padding: 30px 0; }
  .how-oz-work-wrap .details { width: 40%; }
  .how-oz-work-wrap p { padding-top: 0; }
  .how-oz-work-wrap .details p.infographic-details { font-style: italic; font-weight: 400; padding-top:60px; }
  .how-oz-work-wrap .infographic { width: 40%; }
  .how-oz-work-wrap .infographic img { width: 300px;}


.accordion.white { background-color: #ffffff; }
.accordion.white h2, .accordion.white p { color: #2d2d2a; }


.full-width-panel.white.bump-down .accordion { background-color: #e8e8e8; }
  .full-width-panel.white.bump-down .accordion:hover { background-color: #00cc5b; }


/*==========================================================================
    Zones Pages
==========================================================================*/

.demographics-wrap { display: flex; flex-direction: row; width: 100%; background-color: #2d2d2a; padding-top: 100px; }

.demographics-section { display: flex; width: 33.3333%; flex-direction: column; align-items: center; }
  .demographics-section img { width: 160px; }
  .demographics-section .fact-wrap { display: flex; justify-content: space-between; }
    .demographics-section p.fact { display: inline-block; font-size: 45px; font-weight: 900; }
      .demographics-section p.fact.decorator { padding-top: 22px; padding-left: 7px; }

    .demographics-section p.title { color: #00cc5b; font-size: 19px; font-weight: 500; padding-top: 0;  }
    .demographics-section p.stat-type { color: #fff; font-size: 14px; font-weight: 300; font-style: italic; padding-top: 5px; }


ul.light-font li { font-weight: 400; }

.accordion { width: 100%; background-color: #40403d; padding: 30px; margin-top: 20px; }
  .active, .accordion:hover { background-color: #00cc5b }

/*== Added to accordion-content on click to set display to block ==*/
.accordion-content.active { display: block; }

  .accordion h2.subtitle { padding: 0; }
  ul.white li { color: #fff; }

.accordion-content { display: none; background-color: #40403d; padding: 0 50px; overflow: hidden; transition: display 0.2s ease-out; }

.investment-wrap { display: flex; justify-content: flex-start; padding-top: 50px; }
  .investment-wrap.last { padding-bottom: 50px;}
  .investment-wrap p { color: #fff; padding-top: 0; }

  .investment-wrap img { height: 160px; width: 270px; align-self: center; }
  .investment-wrap .details-wrap {  width: 100%; padding-left: 50px; align-self: center; }
    .investment-wrap .details-wrap p.title { font-size: 18px; font-weight: 600; }
    .investment-wrap .details-wrap ul { padding-top: 10px; margin-left: 20px; }
        .investment-wrap .details-wrap ul li { font-size: 15px; font-weight: 300; padding-bottom: 5px; }

    /* Accordion with image content */
    .investment-wrap .details-wrap.no-image { width: 100%; padding-left: 0; padding-right: 0; }
    .investment-wrap .details-wrap.no-image h4 { padding-top: 0; }
    .investment-wrap .details-wrap.no-image p {  padding-left: 0; }


.full-width-image { width: 100%; padding-top: 20px; }

/* Accordion without image */
.accordion-no-picture-wrap { padding-left: 320px; margin-top: 20px; }
    .accordion-no-picture-wrap p { color: #ffffff; font-size: 18px; font-weight: 400; }


/*==========================================================================
    Local Resources Page
==========================================================================*/

.local-resources-wrap { display: block; padding: 150px 0;  }
    .local-resources-wrap a { display: block; font-size: 18px; font-weight: 600; padding-top: 10px; }
        .local-resources-wrap a.first { padding-top: 30px; }
    .local-resources-wrap h2 { color: #00cc5b }
    .local-resources-wrap h3 { padding-top: 25px; }
    .local-resources-wrap p { padding-top: 10px; }




/*==========================================================================
   Buttons
==========================================================================*/

a { text-decoration: none; }
a:hover { color: #00cc5b }

.primary-btn { color: #fff; font-size: 20px; padding: 25px 70px;}

.primary-btn.green { background-color: #00cc5b }
  .primary-btn.green:hover { color: #fff; background-color: #2ed578; }
  .primary-btn.green:active { background-color: #00a74b; }


.primary-btn.teal { background-color: #06d6a0 }
  .primary-btn.teal:hover { color: #fff; background-color: #33ddb1; }
  .primary-btn.teal:active { background-color: #05b083; }



/*==========================================================================
   Animations
==========================================================================*/

.fade-overlay { display: flex; justify-content: center; align-items: center; position:absolute; top:0; right: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: .3s ease; background-color: #00cc5b; z-index: 9; padding: 40px;}
.fade-overlay p { color: #fff; font-size: 28px; font-weight: 900; padding: 0;}

.image-container:hover .fade-overlay {
    opacity: 1;
}


/*==========================================================================
   ESRI iFrame
==========================================================================*/

.embed-container { position: relative;  height: 600px;  max-width: 100%; }
.embed-container.interior { padding-top: 62px; }

.embed-container iframe, .embed-container object, .embed-container iframe { position: relative; top: 0; left: 0; width: 100%; height: 100%; }
.small { position: absolute; z-index: 40; bottom: 0; margin-bottom: -15px; }


/*==========================================================================
    JS Classes
==========================================================================*/

.show { display: block!important; }


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 1400px) {

  /*========= HOMEPAGE ==========*/


  .welcome-content p { font-size: 42px; }
  .welcome-content .button-wrap { margin-top: 50px; }

  .primary-btn { padding: 15px 60px; }
  .button-wrap { margin-top: 50px; }


  /*========= ZONES ==========*/

  .demographics-section p.fact { font-size: 30px; }

}


@media only screen and (max-width: 1200px) {

  /*========= HOMEPAGE ==========*/

  li { line-height: 1.2em; padding-bottom: 15px; }
  ul#zones-submenu li { padding-bottom: 0; }


}


@media only screen and (max-width: 1200px) {

  /*======= HOMEPAGE ============*/

  .how-oz-work-wrap { flex-direction: column; }
    .how-oz-work-wrap .details { width: 100%; }
    .how-oz-work-wrap .infographic { display: flex; width: 100%; justify-content: center; padding-top: 50px; }
    .how-oz-work-wrap .infographic img { width: 600px; height: 1246px; }



}








@media only screen and (max-width: 1000px) {




  a#menu-stack {
    display: block;
    position:absolute;
    right: 0;
    height: 62px;
    width: 62px;
    background: url(../img/menu-stack.svg) center center no-repeat;
    background-size: 36px auto;
  }

  header nav ul li a.home { position: relative; left: 0; }


  header nav ul { display: block; }

  header nav ul.top-nav { display: none; position: absolute; width: 100%; right: 0; top: 62px; background-color: #40403d; }
    header nav ul.top-nav li a { width: 100%; text-align: left; padding-left: 8%;  }
    

  header nav ul li a#zones-dropdown { background: none; }


  ul#zones-submenu { display: block; position: relative; top: 0; right: 0; margin: 0; padding: 0; }
      ul#zones-submenu li a { width: 100%; padding-left: 16%; text-align: left; }


  .fade-overlay { opacity: 1; background: rgba(0,204,91,.5) }

  .embed-container.interior { height: 70vh; }







  /*========= HOMEPAGE ==========*/

  .inner { padding: 0 8%; }
  .button-wrap { flex-direction: column; justify-content: center;  }
  .button-bump { margin-right: 0; margin-bottom: 20px; }

  .embed-container { height: 70vh; }

  footer { flex-direction: column; }
    footer nav, footer .gsoz-info { width: 100%; }

    footer nav ul { display: flex; flex-direction: row; justify-content: space-between; width: 75%;  }
    footer .gsoz-info { margin-top: 60px; align-items: flex-start; }


}


@media only screen and (max-width: 850px) {


    /*========= INTERIOR PAGES ==========*/



    .investment-wrap { flex-direction: column; }
    .investment-wrap .details-wrap { padding-left: 0; }
    .investment-wrap img { align-self: flex-start; }
    .investment-wrap .details-wrap { align-self: flex-start; }
    .investment-wrap .details-wrap p.title { padding-top: 10px; }




}



@media only screen and (max-width: 750px) {

    video { display: none; }
    .mobile-home-background { display: block; position: fixed; width: 100%; height: 100vh; background: url(../img/opportunity-zones-mobile-background.jpg) center center no-repeat; background-size: cover; z-index: -9999999999; }


  /*========= HOMEPAGE ==========*/

  .floating-panel-white .all-locations-wrap { flex-direction: column; }
  .floating-panel-white .all-locations-wrap .location-wrap { width: 100%; margin-top: 20px; align-self: center; }

  .full-width-panel { padding-bottom: 75px; }

  footer nav ul { width: 100%;  }

  .how-oz-work-wrap .infographic img { width: 450px; height: 934px; }

  /*========= INTERIOR PAGES ==========*/

  .demographics-wrap { flex-direction: column; align-items: center;  }
  .demographics-section { width: 100%; padding-bottom: 50px; }





}




@media only screen and (max-width: 600px) {


  /*========= HOMEPAGE ==========*/
  h1 { font-size: 24px; }
  h2 { font-size: 18px; }
  p { font-size: 14px; }
  li { font-size: 14px; }

  .welcome-content p { font-size: 36px; }

  .floating-panel-white { padding: 0 40px; }
    .floating-panel-white h1 { padding-top: 40px; }
    .floating-panel-white .all-locations-wrap { padding: 0 0 40px; }
  .floating-panel-white .all-locations-wrap .location-wrap { width: 100%; }

    footer nav p.title { font-size: 18px; }
    footer nav ul li a { font-size: 16px; }
    footer .gsoz-info a { font-size: 14px; }

  .how-oz-work-wrap .infographic img { width: 300px; height: 623px;}


}



@media only screen and (max-width: 400px) {


  /*========= HOMEPAGE ==========*/

  .welcome-content p { font-size: 32px; }



}
