html,
body{
  margin: 0;
  padding: 0;
  min-width: 100%;
  min-height: 100vh;
}

/* fonts */

@font-face{
  font-family: 'quicksand';
  src: url('/fonts/Quicksand-Light.otf');
}

body {
  font-family: 'quicksand', Fallback, sans-serif;
  font-weight: normal;
}

h1 {
    font-weight: normal;
    margin-bottom: 0;
    line-height: 1em;
}

h2 {
    line-height: 1em;
    margin-top: auto;
    font-weight: normal;
}

div, p{
  font-weight: normal;
}

a{
  color: #fff;
  text-decoration: none;
}

.email, .tel{
      font-size: 20px;
    }

/* end fonts */


/* full bg */

div.bg{
  /*background-image: url('/imgs/website_bg_v1_still.jpg');*/
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: auto;
  position: absolute;
}

video#bgvid {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background: url('website_bg_v1_still_comprsd.jpg') no-repeat;
    background-size: cover;
}

/* end full img bg */

/* sidebar */

.inner {
    width: 40%;
    height: 100vh;
    display: table;
    vertical-align: middle;
    color: #fff;
}

.side{
  display: table-cell;
  background: rgba(0,0,0,.9);
  vertical-align: middle;
  float: none;
  position: relative;
  width: 70%;
}

.side .s-inner {
  width: 95%;
  margin-left: 5%;
}

/* end sidebar */

 /*vid gallery */

 .vidgallery{
   display: table-cell;
   text-align: center;
   vertical-align: middle;
   background: rgba(0,0,0,.7);
   float: none;
   position: relative;
   width: 30%;
   min-width: 19vw;
 }

 .vidgallery .s-inner{
   width: 90%;
   margin: auto;
   display: table;
 }

 .clear{
   width: 100%;
 }

 .vid{
   height: 20vh;
   width: 90%;
   max-width: 300px;
   background: #fff;
   margin: 1vh auto;
   display: block;
   position: relative;
 }

 .vid a {
   height: 100%;
   width: 100%;
   display: block;
   background: rgba(0, 0, 0, 0.75);
   color: #fff;
   font-size: 14px;
   line-height: 20vh;
   white-space: nowrap;
 }

 .vid a:hover {
   transition: .2s ease all;
   background: transparent;
   color: #fff;
 }

.prius{
 background-image: url('./imgs/priusthumb.jpg');
 background-size: cover;
}
.gore{
  background-image: url('./imgs/gorethumb.jpg');
  background-size: cover;
}
.sony{
  background-image: url('./imgs/sonythumb.jpg');
  background-size: cover;
}
.microsoft{
  background-image: url('./imgs/microsoftthumb.jpg');
  background-size: cover;
}

/* modal */

.modal {
    min-height: 0px !important;
}

.modal-box,
.modal-box2 {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 25% !important;
  width: 50%;
  left: 25% !important;
}


.modal-box .modal-body,
.modal-box2 .modal-body {
    /*padding: 50px;*/
    text-align: center;
}

.modal-box footer,
.modal-box .modal-footer {
  padding: 25px;
  text-align: right;
}

.modal-overlay {
  opacity: 0;
  filter: alpha(opacity=0);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 900;
  width: 100%;
  height: 100%;
  background: transparent !important;
}

.modal-body a.js-modal-close,
.modal-body a.js-modal-close2 {
    border: none !important;
    margin: auto !important;
    background: transparent;
    text-align: right;
    width: 100% !important;
    text-decoration: none !important;
    color: transparent !important;
    font-weight: 400;
    font-size: 24px;
    margin-top: -75px !important;
    padding: 0px !important;
}

.modal-body a.js-modal-close:hover,
.modal-body a.js-modal-close2:hover {
    color: #ffc60b !important;
    background: transparent !important;
    transition: all .3s ease-in-out;
}

.modal-body a {
    padding: 7px 50px 8px 50px !important;
    border: none;
    color: #ffffff;
    background: #a8a197;
    border-radius: 8px;
    margin-top: 25px !important;
    float: none;
    display: block;
    font-weight: 400;
    width: 100px;
    margin: auto;
    text-decoration: none !important;
    font-size: 18px;
}

.modal-body a:hover {
    background: #ffc60b;
    color: #fff;
    transition: all .3s ease-in-out;
}

a.close,
a.close2 {
  line-height: 1;
  font-size: 1.5em;
  position: absolute;
  top: 5%;
  right: 2%;
  text-decoration: none;
  color: #bbb;
}

a.close:hover,
a.close2:hover {
  color: #222;
  -webkit-transition: color 1s ease;
  -moz-transition: color 1s ease;
  transition: color 1s ease;
}

.in-modal {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  background: 5px solid rgba(0,0,0,.6);
  display: block;
}
.in-modal p{
  background: rgba(0,0,0,.9);
  -webkit-margin-before: 0;
  -webkit-margin-start: 0;
  padding: 10px;
}
.in-modal iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.close{
  color: #fff;
  background: #000;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
  float: right;
  display: block;
  margin-top: -20px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
}

/* end modal */

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

    .modal-box, .modal-box2 {
      display: none;
      position: fixed;
      z-index: 1000;
      top: 25% !important;
      width: 80%;
      left: 10% !important;
  }

  .fluid-width-video-wrapper{
    border: none;
  }

}


@media only screen and (max-width: 736px) {
    .inner {
        width: 100%;
        float: none;
        position: relative;
        display: block;
        height: auto;
    }

    .email, .tel{
      font-size: 18px;
    }

}

@media all and (max-device-width: 736px){

  .vidbg {
      background-image: url('./imgs/website_bg_v1_still_comprsd.jpg');
      background-size: cover;
      background-repeat: no-repeat;
      width: 100%;
      height: 100%;
      z-index: 0;
      position: absolute;
  }

  .vidbg video {
      display: none;
  }

  .inner {
      width: 100%;
      float: none;
      position: relative;
      display: block;
      height: auto;
  }

  .side{
    min-height: 20vh;
  }

  .vidgallery{
    min-height: 80vh;
  }

  .vid{
    height: 20vh;
  }

  .vid a{
    line-height: 20vh;
  }

  .side .s-inner{
    margin-left: auto;
    margin-right: auto;
    padding: 5px;
  }

  h1{
    -webkit-margin-before: 0em;
    -webkit-margin-after: 0em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
  }

  .side, .vidgallery{
    width: 100%;
    display: block;
    height: auto;
    float: none;
    margin: auto;
  }

  .modal-body a.js-modal-close{
    color: #fff;
  }

}
