/*****************************
GENERAL
*****************************/

body {
  font-family: 'brandon', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

#wrapper {
  max-width: 1000px;
  margin: 0;
  padding: 0 4px;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

h1, h2, h3 {
  margin: 0 0 5px 0;
}

h1, h3 {
  font-family: BrandonGrotesqueWeb-Medium, sans-serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

h2, h3 {
  color: #1e1e1e;
}

h1 {
  color: #fff;
  text-transform: uppercase;
}

h4 {
  margin: 0 0 30px 0;
}

.about h4 {
  display: inline-block;
  font-family: 'brandon', sans-serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

p {
  font-family: 'brandon', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

.gallery h1 {
  font-size: 20px;
  line-height: 24px;
}

.description-wrapper h1,
.banner h1,
.about h1 {
  font-size: 25px;
  line-height: 29px;
}

.banner h1,
.about h1 {
  color: #1e1e1e;
}

.banner h1 {
  display: none;
}


h2 {
  font-family: BodoniBT-Italic, Georgia, serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

.gallery h2,
.description-wrapper h2,
.banner h2,
.about h2 {
  font-size: 16px;
  line-height: 16px;
  color: #fff;
}

.banner h2 {
  display: none;
}

.gallery h3 {
  font-size: 20px;
  line-height: 20px;
}

.description-wrapper h3 {
  font-size: 16px;
  line-height: 20px;
  color: #00aeef;
}

.description-wrapper p {
  font-size: 16px;
  line-height: 24px;
  color: #fff;
}

p {
  font-size: 16px;
  line-height: 24px;
}

.button,
.button-right,
.contact-button,
.footer-button,
.footer-button-right {
    padding: 10px 0 5px 0;
    width: 130px;
    font-size: 12px;
    letter-spacing: .5px;
    font-family: BrandonGrotesqueWeb-Medium, sans-serif;
    font-weight: normal;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    border-radius: 3px;
    text-transform: uppercase;
    margin-top: 30px;
    margin-bottom: 15px;
    margin-right: 20px;
    display: inline-block;
    transition: background-color 0.2s linear;
    text-align: center;
}

.button,
.button-right,
.footer-button,
.footer-button-right {
  border: solid 1px #fff;
  color: #fff;
}

.button-right {
  margin-top: 0;
}

.contact-button {
  border: solid 1px #1e1e1e;
  color: #1e1e1e;
  transition: color 0.2s linear;
  text-align: center;
}

.footer-button {
  width: 115px;
  margin-top: 25px;
}

.footer-button-right {
  width: 115px;
  margin-top: 0;
}

.button:hover,
.button-right:hover {
  background-color: #fff;
  border: solid 1px #fff;
  color: #1e1e1e;
}

.contact-button:hover {
  background-color: #1e1e1e;
  border: solid 1px #1e1e1e;
  color: #fff;
}

.footer-button:hover,
.footer-button-right:hover {
  background-color: #fff;
  color: #1e1e1e;
}


/*****************************
COLORS
*****************************/

/* site body */
body {
  background-color: #eee;
}

/* link color */ 
a {
  color: #fff;
}

/* selected nav link color */
nav a, nav a:visited {
  color: #fff;
  padding-bottom: 22px;
}

nav a.nav-selected, nav a:visited, nav a:hover {
  border-bottom: solid 4px #00aeef;
}

nav a.selected, nav a:hover {
  color: #fff;
}

span.blue {
  color: #00aeef;
  font-weight: 600;
  margin-right: 10px;
}



/*****************************
HEADING
*****************************/

header {
  float: left;
  margin: 4px;
  width: 100%;
  height: 100%;
  background: #1e1e1e;
  box-sizing: border-box;
}

#logo {
  text-align: center;
  padding: 15px;
  background: #1e1e1e;
  float: left;
  width: 90px;
  border-bottom: none;
}


/*****************************
NAVIGATION
*****************************/

nav {
  float: left;
  text-align: center;
  width: 100%;
  height: 100%;
}

nav ul {
  float: right;
  list-style: none;
  margin: 38px 22px 0 0;
  padding: 0;
}

nav ul.right-nav-buttons {
  padding: 55px 0 0 0;
  float: right;
  display: none;
}

nav li {
  display: inline-block;
}

nav li.last {
    margin-left: 22px;
}

nav div{
  width: 40px;
  height: 40px;
  border: 2px solid #ffcb04;
  border-radius: 100%;
  transition: background-color 0.2s linear;
}

nav div:hover{
  background: #ffcb04;
}

nav a {
  font-weight: 800;
  font-size: 12px;
  padding-bottom: 11px;
  text-transform: uppercase;
}

nav a.nav-button {
  border: solid 1px #1e1e1e;
  padding: 10px 0;
  margin-left: 10px;
  width: 113px;
  border-radius: 3px;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
  display: inline-block;
  transition: background-color 0.2s linear;
}

.nav-button:hover {
  background-color: #1e1e1e;
  border: solid 1px #1e1e1e;
  color: #fff;
}

.sticky-nav {
  display: none;
}

.sticky-nav-about {
  display: none;
}

.mobile-nav {
  padding: 0 15px;
  width: 100%;
  margin: 14px 0 18px 0;
  float: left;
  overflow: hidden;
  box-sizing: border-box;
}

.mobile-nav li {
  display: inline-block;
  width: 33.333%;
  overflow: hidden;
  margin: 0;
  float: left;
}

.mobile-nav a,
.mobile-nav i {
  font-size: 23px;
}

.mobile-nav a {
  color: #1e1e1e;
  margin: 0;
  float: left;
}

.mobile-nav i.fa-chevron-left,
.mobile-nav i.fa-chevron-right {
  color: #999;
}

.mobile-nav i.fa-chevron-left {
  float: left;
}

.mobile-nav i.fa-chevron-right {
  float: right;
}

.mobile-nav a.fa-th {
  float: left;
}

.mobile-nav a.fa-chevron-right {
  float: right;
}

.mobile-nav a:focus {
  color: #00aeef;
}

/*****************************
portfolio gallery
*****************************/

.gallery {
  margin: 0;
  padding: 0;
  list-style: none;
  float: left;
  overflow: hidden;
  z-index: 99;
}

.gallery li {
  width: 50%;
  margin-bottom: 4px;
  position: relative;
  overflow: hidden;
}

.gallery li a img{
  vertical-align: middle;
}

.gallery li p{
  font-family: 'BrandonGrotesqueWeb-Medium', sans-serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  color: #fff;
  margin: 5px 0 0 8px;
}

.video-gallery {
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-number {
  width: 50px;
  height: 50px;
  margin: 0;
  position: absolute;
  top: 0;
  background-color: #1e1e1e000;
  background-color: hsla(0, 100%, 0%, 0.5);
  border-right: 2px solid #ffcb04;
  border-bottom: 2px solid #ffcb04;
  border-bottom-right-radius: 100%;
  transition:opacity 0.2s linear;
  visibility: visible;
  opacity: 1;
}

.gallery li.featured {
  width: 100%; 
  float: left;
}

.gallery li.gallery-left {
    padding-right: 2px;
    box-sizing: border-box;
    float: left;  
}

.gallery li.gallery-right {
    padding-left: 2px;
    box-sizing: border-box;
    float: left;
}

.detail-background {
  width: 100%;
  height: 100%;
  padding-right: 4px;
  position: absolute;
  top: 0;
  opacity:0;
  transition:opacity 0.2s linear;
  box-sizing: border-box;
  border-right: solid 2px #eee;
  background: #000;
}

.detail-background-01 {
  width: 100%;
  height: 100%;
  padding-right: 4px;
  position: absolute;
  top: 0;
  opacity:0;
  transition:opacity 0.2s linear;
  visibility: hidden;
  box-sizing: border-box;
  border-right: none;
  background: #000;
}

.detail {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  opacity:0;
  transition:opacity 0.2s linear;
  visibility: hidden;
  box-sizing: border-box;
}


/*****************************
Detail pages
*****************************/

.cover,
.description-wrapper,
.about {
  width: 100%;
  box-sizing: border-box;
}

.cover {
  margin-bottom: 4px;
}

.cover a img{
  vertical-align: middle;
}

.description-wrapper {
  padding: 30px;
  margin-bottom: 4px;
  text-align: left;
  background: #1e1e1e;
  overflow: hidden;
}

p.credit {
  font-size: 14px;
  line-height: 24px;
  margin: 20px 0 0 0;
  font-style: italic;
  color: #fff;
}

.description-left {
  width: 100%;
  box-sizing: border-box;
}

.description-right {
  width: 100%;
  margin-top: 25px;
  box-sizing: border-box;
}

.about,
.about-right,
.about-left {
  position: relative;
  overflow: hidden;
  background: #fff;
  margin-bottom: 4px;
}

.about {
  padding: 30px;
  box-sizing: border-box;
  text-align: left;
}

.testimonials {
  display: block;
}

.about-right,
.about-left {
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
  padding: 30px;
  float: left;
}

.about p {
  margin: 0 0 20px 0;
}

.about a {
  color: #1e1e1e;
}

.about icon {
  margin-right: 5px;
  font-size: 14px;
}

p.deck {
  font-family: 'brandon', sans-serif;
  font-size: 23px;
  line-height: 28px;
  color: #00aeef;
  margin-top: 0px;
}

span.hang-quote {
  font-family: BodoniBT-Italic, Georgia, serif;
  color: #00aeef;
  font-size: 44px;
}

p.quote {
  font-family: BodoniBT-Italic, Georgia, serif;
  font-size: 16px;
  line-height: 26px;
  margin-top: -24px;
}

ul.charts {
  margin: 40px 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

ul.charts li {
  width: 100%;
}

ul.charts li:nth-child(odd) {
  display: none;
}

ul.charts li:nth-child(4) {
  margin-top: 40px;
}

.view-all {
  display: none;
}

.related {
  background-color: #1e1e1e;
  color: #fff;
  margin: 0 0 4px 0;
  padding: 13px 15px 8px 15px;
  text-transform: uppercase;
  font-family: BrandonGrotesqueWeb-Medium, sans-serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  box-sizing: border-box;
  float: left;
  font-size: 14px;
  line-height: 24px;
  overflow: hidden;
}

.related li {
  overflow: hidden;
}

.sub {
  font-family: BrandonGrotesqueWeb-Medium, sans-serif;
  font-size: 14px;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  padding: 5px 0 2px 0;
  margin: 4px 0;
  clear: both;
  background-color: #1e1e1e;
}

/*****************************
YouTube
*****************************/

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0; 
    overflow: hidden;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*****************************
FOOTER
*****************************/

footer {
  width: 100%;
  font-size: 0.75em;
  color: #ccc;
  float: left;
  background: #1e1e1e;
  margin-top: -20%;
}

.footer-content {
  padding: 25% 30px 30px 30px;
  max-width: 1201px;
  box-sizing: border-box;
}

p.footer-message {
  font-family: BrandonGrotesqueWeb-Medium, sans-serif;
  font-size: 36px;
  line-height: 46px;
  margin: 0;
  color: #fff;
}

footer ul {
  list-style: none;
  width: 100%;
  padding: 20px 0 0 0;
  margin: 0;
  overflow: hidden;
}

footer li {
  font-family: BrandonGrotesqueWeb-Medium, sans-serif;
  color: #fff;
  font-size: 14px;
  float: left;
  display: inline-block;
  width: 100%;
}

li.footer-email,
li.footer-city,
li.footer-name {
  text-align: left;
}

li.footer-city,
li.footer-name {
  margin-top: 6px;
}


/*****************************
IMAGE COMPARE
*****************************/

/* -------------------------------- 

Main components 

-------------------------------- */

.cd-image-container {
  position: relative;
}

.cd-image-container img {
  display: block;
}

.cd-image-label {
  position: absolute;
  bottom: 0;
  right: 0;
  color: #ffffff;
  padding: 1em;
  text-transform: uppercase;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0;
  -webkit-transform: translateY(20px);
  -moz-transform: translateY(20px);
  -ms-transform: translateY(20px);
  -o-transform: translateY(20px);
  transform: translateY(20px);
  -webkit-transition: -webkit-transform 0.3s 0.7s, opacity 0.3s 0.7s;
  -moz-transition: -moz-transform 0.3s 0.7s, opacity 0.3s 0.7s;
  transition: transform 0.3s 0.7s, opacity 0.3s 0.7s;
}
.cd-image-label.is-hidden {
  visibility: hidden;
}
.is-visible .cd-image-label {
  opacity: 1;
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}

.cd-resize-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  overflow: hidden;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.cd-resize-img img {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
}
.cd-resize-img .cd-image-label {
  right: auto;
  left: 0;
  text-transform: uppercase;
  font-weight: 600;
}
.is-visible .cd-resize-img {
  width: 50%;
  /* bounce in animation of the modified image */
  -webkit-animation: cd-bounce-in 0.7s;
  -moz-animation: cd-bounce-in 0.7s;
  animation: cd-bounce-in 0.7s;
}

@-webkit-keyframes cd-bounce-in {
  0% {
    width: 0;
  }
  60% {
    width: 55%;
  }
  100% {
    width: 50%;
  }
}
@-moz-keyframes cd-bounce-in {
  0% {
    width: 0;
  }
  60% {
    width: 55%;
  }
  100% {
    width: 50%;
  }
}
@keyframes cd-bounce-in {
  0% {
    width: 0;
  }
  60% {
    width: 55%;
  }
  100% {
    width: 50%;
  }
}
.cd-handle {
  position: absolute;
  height: 30px;
  width: 30px;
  /* center the element */
  left: 50%;
  top: 50%;
  margin-left: -16px;
  margin-top: -16px;
  border-radius: 50%;
  background: #ffcb04 url("../img/cd-arrows.svg") no-repeat center center;
  cursor: move;
  -webkit-transform: translate3d(0, 0, 0) scale(0);
  -moz-transform: translate3d(0, 0, 0) scale(0);
  -ms-transform: translate3d(0, 0, 0) scale(0);
  -o-transform: translate3d(0, 0, 0) scale(0);
  transform: translate3d(0, 0, 0) scale(0);
}
.cd-handle.draggable {
  /* change background color when element is active */
  background-color: #1e1e1e;
}
.is-visible .cd-handle {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0) scale(1);
  -moz-transform: translate3d(0, 0, 0) scale(1);
  -ms-transform: translate3d(0, 0, 0) scale(1);
  -o-transform: translate3d(0, 0, 0) scale(1);
  transform: translate3d(0, 0, 0) scale(1);
  -webkit-transition: -webkit-transform 0.3s 0.7s, opacity 0s 0.7s;
  -moz-transition: -moz-transform 0.3s 0.7s, opacity 0s 0.7s;
  transition: transform 0.3s 0.7s, opacity 0s 0.7s;
}
