/*

Author: Matthew Canton
Project: Design Theorem

*/

/* first for IE 4–8 */
@font-face {
  font-family: DINWebPro-Medium;
  src: url("../fonts/DINWebPro-Medium.eot");
}

/* then for WOFF-capable browsers */
@font-face {
  font-family: DINWebPro-Medium;
  src: url("../fonts/DINWebPro-Medium.woff") format("woff");
}

/* Project Hacks */

/* clear fix hack */
.clearfix:after {
     content: ".";
     display: block;
     clear: both;
     visibility: hidden;
     line-height: 0;
     height: 0;
}

/* go on with normal style definitions */

body {
    font: 1em/1.5em Georgia, "Times New Roman", Times, serif;
    font-style:normal;
    font-weight:normal;
    color: #232323;
}

a:link {color:#232323;}      /* unvisited link */
a:visited {color:#232323;}  /* visited link */
a:hover {
  color:#bbbbbb;
  text-decoration: none;}  /* mouse over link */
a:active {color:#bbbbbb;}  /* selected link */

h1, h3, h4 {
    font-family: DINWebPro-Medium, Helvetica, Arial, sans-serif;
    font-style:normal;
    font-weight:normal;
    text-transform: uppercase;
    color: #232323;
}

h1 {
    font-size: 4em;
    line-height: 1em;
    padding-top: 1em;
    text-align: center;
}

h2 {
    font-size: 1.2em;
    line-height: 1.6em;
    padding-bottom: 2em;
    font-style: italic;
    font-weight: normal;
    text-align: center;
}

h3 {
    font-size: 1.5em;
    line-height: 32px;
    margin-bottom: 1em;
    border-bottom: 2px solid #232323;
    display: inline;
}

h4 {
    font-size: 1em;
    display: inline;
  }

h5 {
    font: 16px/20px DINWebPro-Medium, Helvetica, Arial, sans-serif;
    text-transform:uppercase;
    margin: 10px 0 40px 0;
}

/* General Styles */


.home-image {
    width: 100%;
    height: 100%;
    margin: 0 0 5% 0;
}

.home-grid {
  max-width: 810px;
  float: left;
  margin-right: 15px;
}

#home-container {
  max-width: 1635px;
  margin: 60px auto 30px auto;
}

p {
    padding-bottom: .5em;
}

#logo {
    width: 80px;
    float: left;
    margin: 10px 20px;
}

#logo:hover {
  opacity:0.2;
}

#project, #footer {
    max-width: 940px;
    margin: 0 auto;
    padding: 10px;
}

header {
    width: 100%;
    margin: 0 auto;
    position: fixed;
    top: 0px;
    z-index: 9999;
    background: rgba(255,255,255,0)
  -webkit-transition: background-color 0.8s;
  -moz-transition: background-color 0.8s;
  -o-transition: background-color 0.8s;
  transition: background-color 0.8s;
}

header.home {
    background: rgba(255,255,255,0.8);
}

header:hover {
    background: rgba(255,255,255,0.8);
  -webkit-transition: background-color 0.8s;
  -moz-transition: background-color 0.8s;
  -o-transition: background-color 0.8s;
  transition: background-color 0.8s;
}

header:hover #nav {
  opacity: 1;
  -webkit-transition: opacity 0.8s;
  -moz-transition: opacity 0.8s;
  -o-transition: opacity 0.8s;
  transition: opacity 0.8s;
}

#project {
    margin-top: 10px;
}

#projecthero {
    background-color: #ddd;
    height: 800px;
}

#title h1 {
    text-transform: uppercase;
    text-align: center;
}

#nav {
    float: right;
    margin: 15px -10px 15px 0px;
    opacity: 0;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  transition: opacity 0.2s;
    }

#nav.home {
  opacity: 1;
}

#nav li {
    /*width:100px;*/
    float: left;
    position:relative;
    font: 16px/20px DINWebPro-Medium, Helvetica, Arial, sans-serif;
    text-transform:uppercase;
    margin-right: 30px;
    padding-top: 5px;
    list-style-type: none;
    display:block;
}
#nav li a {
    color: black;
    text-decoration:none;
}
#nav li a:hover {
  opacity:0.2;
}

#nav li.selected {
    border-bottom: 2px solid black;
}

#nav img {
  padding-top: -5px;
  width: 20px;
  /*margin-right: 10px;*/
}

#nav img:hover {
  /*opacity:0.2;*/

}
.titleul {
    width: 70px;
    height: 2px;
    background: black;
    margin: 2px auto;
}

.subul {
    width: 5em;
    height: 2px;
    background: black;
}

.subtitle {
    font-size: 16px;
    text-align: center;
    margin: 10px 0 0 0;
}

.tags {
    font-style: italic;
    color: #666;
    text-align: center;
}

.quote {
    font-size: 1.5em;
    line-height: 1.5em;
    margin-bottom: 1em;
}

.quote-source {
    font-size: 2em;
    font-style: italic;
    margin-bottom: 20px;
    text-align: right;
}

.subimage {
  margin-top: 30px;
  margin-bottom: 30px;
}




/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 2em;
}

.carousel .container {
  /*position: relative;*/
  /*z-index: 9;*/
}

.carousel-control {
  width: 28px;
  height: 34px;
  margin-top: 0;
  background-color: transparent;
  border: 0;
  line-height: 1;
  z-index: 10;
}

.carousel-indicators {
  bottom: 15px;
  top: auto;
  right: 30px;
}

.carousel-indicators li {
  background-color: rgba(220, 220, 220, 0.5);
}

.carousel .item {
  /*height: 950px;*/
}

.carousel img {
/*  position: absolute;
  top: 0;
  left: 0;
*/  width: 100%;
}

.carousel-caption {
  background-color: transparent;
  position: static;
  max-width: 550px;
  padding: 0 20px;
  margin-top: 200px;
}
.carousel-caption h1,
.carousel-caption .lead {
  margin: 0;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,0,0,.4);
}
.carousel-caption .btn {
  margin-top: 10px;
}


.hero-video.fluidVideoWrapper {
    /*display: none;*/
    left: 0;
    position: absolute;
    top: 0;
    z-index: 70201;
}

.fluidVideoWrapper {
    padding: 80% 0 0 0;
    width: 100%;
    position: relative;
}
.fluidVideoWrapper iframe, .fluidVideoWrapper object, .fluidVideoWrapper embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

/* RESPONSIVE CSS
-------------------------------------------------- */
@media (max-width: 1399px) {

 .carousel .item {
    /*height: 700px;*/
  }

}

@media (max-width: 1199px) {

 .carousel .item {
    /*height: 600px;*/
  }

}

@media (max-width: 979px) {

  .container.navbar-wrapper {
    margin-bottom: 0;
    width: auto;
  }
  .navbar-inner {
    border-radius: 0;
    margin: -20px 0;
  }

  .carousel .item {
    /*height: 490px;*/
  }


  .featurette {
    height: auto;
    padding: 0;
  }
  .featurette-image.pull-left,
  .featurette-image.pull-right {
    display: block;
    float: none;
    max-width: 40%;
    margin: 0 auto 20px;
  }
}


@media (max-width: 767px) {

/*#nav {
    display: block;
    width: 100%;
    float: left;
    margin-left: 0;
    margin-right: 0;
    }

#nav li {
    float:left;
    margin-right: 30px;
    margin-left: 0;
}
*/

h1 {
    padding-top: .5em;
}

header {
    margin-left: -20px;
    margin-right: -20px;
  }

#home-container {
    margin: 30px auto 20px auto;
}

  .home-image {
    height: 50%;
    overflow: hidden;
  }

  .navbar-inner {
    margin: -20px;
  }

  .carousel {
    margin-left: -20px;
    margin-right: -20px;
  }
  .carousel .container {

  }
  .carousel .item {
    /*height: 380px;*/
  }

  .carousel-caption {
    width: 65%;
    padding: 0 70px;
    margin-top: 100px;
  }
  .carousel-caption h1 {
    font-size: 30px;
  }
  .carousel-caption .lead,
  .carousel-caption .btn {
    font-size: 18px;
  }

  .marketing .span4 + .span4 {
    margin-top: 40px;
  }

  .featurette-heading {
    font-size: 30px;
  }
  .featurette .lead {
    font-size: 18px;
    line-height: 1.5;
  }

.phone-rel {
  position: relative;
}

#logo {
  margin-right: 0px;
}

}


@media (max-width: 419px) {

h1 {
      font-size: 3em;
      padding-top: 0;
}

 .carousel .item {
    /*height: 210px;*/
  }

}
