/**
 * **********
 * Typography
 * **********
 */

*{
  -webkit-font-smoothing: antialiased!important;
}
h1 {
  font-size: 2em;
  line-height: 1.3em;
  margin-bottom: 1em;
}

h2 {
  font-size: 1.6em;
  line-height: 1.3em;
  padding: 0 0 .6em;
}

h3 {
  font-family: serif!important;
  font-size: 1.4em;
  line-height: 1.3em;
  padding: 0 0 .8em;
}

h4 {
  font-size: 1.3em;
  line-height: 1.3em;
  padding: 0 0 1em;
}

h5 {
  font-size: 1.3em;
  line-height: 1.3em;
  padding: 0 0 1em;
}

p {
  line-height: 1.3em;
  padding: 0 0 1em;
}

blockquote {
  display: block;
  padding: 1em 0 1em 2em;
  margin: 1em 0;
  border-left: 2px solid #efefef;
  font-size: 1.2em;
}

a {
}
a:hover {
}

ul,
ol {
}
ul > li {
}

/**
 * Dark Background Colors
 */
.dark h1{
  color: #fff;
}
.dark h2{
  color: #fff;
}
.dark h3{
  color: #fff;
}
.dark h4{
  color: #fff;
}
.dark h5{
  color: #fff;
}
.dark p{
  color: #fff;
}
.dark a{
  color: #fff;
}
.dark a:hover{
  color: #666;
}
.dark ul,
.dark ol{
  color: #fff;
}


/**
 * *******
 * Buttons
 * *******
 */
.button,
.gform_button{
  display: inline-block;
  position: relative;
  padding: 0 1em;
  margin: .25em 0 .75em;

  background: black;
  border: none;

  font-weight: 600; 
  font-size: 1.4em;
  line-height: 1.8em;
  color: #fff;
  text-align: center;
  text-decoration: none;

  -webkit-transition: background 300ms;
  -moz-transition: background 300ms;
  -o-transition: background 300ms;
  transition: background 300ms;

  -webkit-border-radius: 6px; 
  -moz-border-radius: 6px; 
  -o-border-radius: 6px; 
  border-radius: 6px;
}
.button:hover,
.gform_button:hover {
  color: #fff;
}

/**
 * *******************
 * Modal Styles
 * Universal Styles
 * *******************
 */
[modal-status]{ 
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  padding: 2em 4em;
  margin: 0 auto;
  width: 600px;
  max-width: 90%;
  background: #fff;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -moz-box-shadow: 0px 0px 50px 5px RGBA(0, 0, 0, .15);
  -webkit-box-shadow: 0px 0px 50px 5px RGBA(0, 0, 0, .15);
  box-shadow: 0px 0px 50px 5px RGBA(0, 0, 0, .15);
}

@media only all and ( max-width: 500px ) {
  [modal-status]{
    padding: 1em;
    width: 100%;
    top: 0;
    left: auto;
    transform: translate(0, 0);
    max-width: 100%;
  }
}

/**
 * *******************
 * Sliders + Carousels
 * Universal Styles
 * *******************
 */

/**
 * Embedded Video Backgrounds
 *
 * Usage:
 
  <div style="width: 800px;">
    <div data-du-video>
      <?php 
        du_bg_video( 'https://www.youtube.com/watch?v=nPmNV7F4PxY', 'loop=0&autoplay=0' ); 
      ?>
    </div>
  </div>

 *   
 */
*[data-du-video] {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 0;
  height: 0;
  overflow: hidden;
  width: 100%;
  max-width: 4000px;
  margin: 0 auto;
}
*[data-du-video] > iframe, 
*[data-du-video] > object, 
*[data-du-video] > embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 4000px;
  max-height: 1800px;
  margin: 0 auto;
}
*[data-du-video] .container{
  position: relative;
  z-index: 2;
}

/**
 * Hosted Video Backgrounds
 *
 * Usage:
 
  <video autoplay muted loop poster="still.jpg" class="video-bg">
    <source src="<?php echo du_site_asset( '/assets/videos/homepage.webm' ); ?>" type="video/webm">
    <source src="<?php echo du_site_asset( '/assets/videos/homepage.mp4' ); ?>" type="video/mp4">
    <source src="<?php echo du_site_asset( '/assets/videos/homepage.ogv' ); ?>" type="video/ogv">
  </video>

 *
 */
.bg-video{
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  top: 50%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  overflow: hidden;
}
.video-bg {
  position: relative;
  overflow: hidden;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
     -moz-background-size: cover;
        background-size: cover;
}
.video-bg > *{
  position: relative;
  z-index: 2;
}
.video-bg video {
  position: absolute;
  z-index: 1;
  min-width: 100%;
  min-height: 100%;
  max-width: none!important;
  width: auto;
  height: auto;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
     -moz-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%);
}


/**
 * ************
 * Social Icons
 * ************
 */
nav.social-icons ul{
  display: inline-block;
  margin: 0;
  padding: 0;
  list-style: none;
  clear: both;
}
nav.social-icons ul li{
  float: left;
}
nav.social-icons ul li a{
  display: block;
  width: auto;
  height: auto;
  background-color: ;
  background-image: url();
  background-repeat: no-repeat;
  text-align: center;
  padding: 1em;
}
nav.social-icons ul li a:hover{
}


/**
 * *********
 * Structure
 * *********
 */
body.no-scroll{
  overflow: hidden;
}
body, html{
  position: relative;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}
body{
  width: 100%;
  font-size: 100%;
  line-height: 120%;
}
body .dark{
  color: #fff;
}

/**
 * Body Defaults
 */
#body{
  display: block;
}


/* Universal Container */
.container {
  display: block;
  margin: 0 auto;
  max-width: 1440px;
  padding: 0 5%;
}
.container.medium{
  max-width: 900px;
}
.container.narrow{
  max-width: 750px;
}
.container.no-padding{
  padding: 0;
}