/*
 Theme Name: Ecquire Layers
 Description: Layers Child Theme for Ecquire
 Author: Adrian Unger
 Template: layerswp
 Version: 1.0.0
 License: GPL 2.0
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

#layers-widget-slide-4-286 {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: url('http://ecquire.com/wp-content/uploads/2014/09/2014-09-18-04.08.00-3_2_resize.jpg');
}

body {
  font-family: "proxima-nova", sans-serif;
}

/* nav */
.header-site, .header-site.header-sticky {
  background-color: rgba(255,255,255,0) !important;
}

.nav-horizontal li a {
  color: #fff;
}

.nav-horizontal li a:hover {
  color: #2d3e50;
}

.header-left .logo {
  margin-top: 4px;
}

/* hero */
.swiper-slide .overlay.darken {
  background-color: rgba(63,180,255,0.52);
}

.image-top .copy-container + .image-container {
  margin-top: 80px;
  margin-bottom: -305px;
}

/* general */
footer section.widget,
footer section.widget.widget_nav_menu {
  margin-bottom: 40px;
}

.button {
  background-color: #8cbf26;
  border-radius: 3px;
}

.button:hover {
  background-color: #8cbf26;
  background-image: linear-gradient(rgba(255,255,255,.1) 0%,rgba(255,255,255,.1) 100%);
  color: white;
}

.button:active {
  box-shadow: 0 0 0 1px rgba(0,0,0,.15) inset, 0 0 6px rgba(0,0,0,.2) inset;
}

/* typography */
.invert .section-title .excerpt, .invert.section-title .excerpt {
  color: rgba(255,255,255,1);
}

@media only screen and (min-width: 769px) {
  .swiper-wrapper .section-title.large .heading {
    font-weight: 300;
    font-size: 5rem;
  }
  
  .banner-overview.swiper-container {
    overflow: visible;
    margin-bottom: 200px;
  }
  
  .single .banner-overview.swiper-container {
    margin-bottom: 0;
  }
  
  .banner-overview .image-container {
    margin-top: 80px;
    margin-bottom: -305px;
  }
  
  .banner-overview.swiper-container .image-top .copy-container + .image-container {
    margin-top: 50px;
  }
  
  .feature-interface {
    padding-bottom: 0;
  }
  
  .feature-interface .column {
    margin-bottom: 0;
  }
  
  .feature-interface .media {
    overflow: visible;
    height: 773px;
  }
}


/** LIGHTBOX MARKUP **/

section.white-popup {
  position: relative;
  background: #fff;
  padding: 20px;
  border-radius: 3px;
  width: auto;
  max-width: 980px;
  margin: 260px auto 20px auto;
}

section.white-popup p.title {
    font-weight: bold;
    font-size: 18px;
}

section.white-popup .popup-cell {
    display: inline-block;
    width: 30%;
    vertical-align: top;
    padding: 20px;
}

section.white-popup .popup-cell p {
    padding-top: 10px;
}

.lightbox {
  /** Default lightbox to hidden */
  display: none;
  opacity: 0;

  /** Position and style */
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100%;
  text-align: center;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.8);

  /** animation */
  transition: opacity .5s ease-in 1s;
}

.lightbox img {
  /** Pad the lightbox image */
  max-width: 90%;
  max-height: 80%;
  margin-top: 2%;
}

.lightbox:target {
  /** Remove default browser outline */
  outline: none;

  /** Unhide lightbox **/
  display: block;
  opacity: 1;
}