/*
Global Styles
 */
body, html {
    margin: 0;
    padding: 0;
}

/*
Adobe Typekit - loading classes
 */

.wf-loading {
    /* styles to use when web fonts are loading */
    opacity: 0;
}
.wf-active {
    /* styles to use when web fonts are active */
    opacity: 1;
}
.wf-inactive {
    /* styles to use when web fonts are inactive */
}

/*
Grid gallery
 */
.gs-grid {
    padding:15px;
    margin: 0 -15px;
}
.gs-grid a {
    /* hide the images until the plugin has run. the plugin will reveal the images*/
    opacity:0;
    margin-bottom: 40px;
}
.gs-grid a img {
    /* ensures padding at the bottom of the image is correct */
    vertical-align:bottom;

}

.container.header {
    margin-top: 30px;
    position: relative;
}
.container .top-logo {
    /*margin-left: -15px;*/
    min-width: 288px;
}
.main {
    margin-top: 30px;
    margin-bottom: 0;
    background-color: #e3e6eb;
    position: relative;
}
a#menu-button {
    display: block;
    width: 55px;
    height: auto;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    position: absolute;
    right: 15px;
    top: 0;
}
a#menu-button .icon-bar {
    color: #000;
    display: block;
    width: 55px;
    height: 8px;
    border-radius: 8px;
    background-color: #e3e6eb;
}
a#menu-button .icon-bar + .icon-bar {
    margin-top: 6px;
}

/* Side Menu */
.sidenav {
    height: auto;
    width: 0;
    position: absolute;
    z-index: 99;
    top: -30px;
    right: 0;
    background-color: #fff;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 0;
}
.sidenav.open {
    width: 275px;
}
.sidenav .nav-container {
    width: 250px;
    padding: 0 0 25px 25px;
    font-family: "franklin-gothic-urw", sans-serif;
    color:#888787;
}
.sidenav .nav-container .title {
    color:#e3e6eb;
    font-weight: bold;
    font-size: 24px;
}
.sidenav .nav-container .icon-holder {
    border-radius: 50%;
    width: 24px;
    height: 24px;
    background-color:#cccccc;
    color:#ffffff;
    text-align: center;
    vertical-align: middle;
    float: left;
    margin: 5px 5px 0 0;
    line-height: 26px;
}
.sidenav .nav-container .icon-holder.youtube {
    line-height: 25px;
}

/* Slick Slider */
.slick-prev, .slick-next {
    display: none;
}
.slick-prev:before, .slick-next:before {
    font-size: 22px;
    color: #b9b8b8;
    display: none;
}
.slick-dotted.slick-slider {
    margin-bottom: 0;
}
.slick-dots {
    position: absolute;
    bottom: 15px;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}
.slick-dots li.slick-active button:before {
    opacity: 1;
    color: #ffffff;
}
.slick-dots li button:before {
    font-size: 15px;
    line-height: 20px;
    width: 16px;
    height: 20px;
    content: '•';
    text-align: center;
    opacity: 1;
    color: #b9b8b8;
}
.img-slider {
    width: 100%;
    max-width: 2400px;
    height: auto;
}
/*
@media (orientation: landscape) {
    .slick-panel img.portrait {display: none}
    .slick-panel img.landscape{display: block}
}
@media (orientation: portrait) {
    .slick-panel img.portrait {display: block}
    .slick-panel img.landscape{display: none}
}
*/
/*
Project Landing
*/
.project-container {
    margin: 0 0 30px 0;
    padding: 0;
    /*
    width: 360px;
    height: 260px;
    */
    width: 25%;
    height: auto;
    min-height: 150px;
    float: left;
    position: relative;
    overflow: hidden;
}
@media (max-width: 1600px) {
    .project-container {
        width: 33.3333%;
    }
}
@media (max-width: 1024px) {
    .project-container {
        width: 50%;
    }
}
@media (max-width: 480px) {
    .project-container {
        width: 100%;
    }
}
.project-container .project {
    padding-right: 30px;
}
.project-container .project > a > img {
    width: 100%;
    height: auto;
}
.project-container .info-container {
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 100%;
}
.project-container .info-container .info {
    border-right: 30px #fff solid;
    background-color: rgba(0,0,0,0.6);
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    transition: 0.5s;
}
.project-container .info-container .info:hover {
    opacity: 0.9;
    cursor: pointer;
}
.project-container .info-container .info h3 {
    padding-top: 30%;
    text-align: center;
    font-family: "franklin-gothic-urw", sans-serif;
    font-weight: 600;
    font-size: 26px;
    letter-spacing: 0;
    color:#fff;
}
.project-container .info-container .info span.subtitle {
    display: block;
    text-align: center;
    font-family: "franklin-gothic-urw", sans-serif;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 1px;
    color:#fff;
}

/*
Project Detail
*/
.project-featured-image {
    margin-left: 0;
    padding-left: 0;
}
.project-content h1 {
    font-family: "franklin-gothic-urw", sans-serif;
    font-weight: 600;
    font-size: 24px;
    letter-spacing: 0;
    color: #cccccc;
    margin-bottom: 2px;
    margin-top: 0;
}
.project-content span.tags {
    font-family: "franklin-gothic-urw", sans-serif;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color:#666666;
    display: block;
}
.project-content.gallery a {
    display: block;
    margin: 0 15px 10px 0;
    float: left;
    height: 433px;
    vertical-align: top;
    position: relative;
}
.project-content.gallery a > img,
.project-content.gallery .double-linked > img {
    display: block;
    max-height: 410px;
    max-width: 100%;
}
.project-content.gallery a > span,
.project-content.gallery .double-linked > span {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    color:#000;
}
.project-content.gallery .double-linked {
    display: block;
    margin: 0 15px 10px 0;
    float: left;
    height: 433px;
    vertical-align: top;
    position: relative;
    overflow-y: hidden;
}
.project-content.gallery .double-linked a {
    margin: 0;
}
.project-content.gallery .double-linked a.bottom-url {
    margin-top: -230px;
    width: 100%;
}

@media (max-width: 700px) {
    .project-content.gallery .double-linked,
    .project-content.gallery a {
        height: auto;
    }
    .project-content.gallery a > span,
    .project-content.gallery .double-linked > span {
        position: relative;
    }
    .project-content.gallery .double-linked a.bottom-url {
        margin-top: -230px;
        width: 100%;
        height: 50%;
        position: absolute;
        bottom: 0;
        left: 0;
    }
}

@media (max-width: 450px) {
    .container .top-logo {
        /* margin-left: -15px; */
        min-width: 250px;
    }
    a#menu-button {
        display: block;
        width: 55px;
        height: auto;
        border: none;
        background: none;
        padding: 0;
        margin: 0;
        position: absolute;
        right: -5px;
        top: 0;
    }
    a#menu-button .icon-bar {
        color: #000;
        display: block;
        width: 30px;
        height: 5px;
        border-radius: 8px;
        background-color: #e3e6eb;
    }
    a#menu-button .icon-bar + .icon-bar {
        margin-top: 3px;
    }

}

/*
Fancybox
*/
.fancybox-bg {
    background: #ffffff;
}
.fancybox-button,
.fancybox-button:visited,
.fancybox-button:link {
    color: #ccc;
}
.fancybox-button:hover {
    color: #000;
}
.fancybox-button {
    background: rgba(235, 235, 235, 0.6);
}
.fancybox-navigation button {

}
.fancybox-button svg path {
    fill: #000;
    stroke: #000;
}
img.fancybox-image {
   border: 15px solid rgba(255,255,255,0);
}
.fancybox-caption {
    /*border-top: 1px solid rgba(255, 255, 255, 0);*/
    border-top: none;
    padding-top: 10px;
    padding-bottom: 0;
}
.fancybox-navigation button:before {
    background: rgba(235, 235, 235, 0.6);
}
.fancybox-caption-wrap {
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 2vw 0 2vw;
    /*background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.6) 80%, rgba(0, 0, 0, 0.8) 100%);*/
    background: none;
    pointer-events: none;
}
.fancybox-caption {
    padding: 30px 0;
    border-top: none;
    /*border-top: 1px solid rgba(255, 255, 255, 0.4);*/
    font-size: 14px;
    /*color: #fff;*/
    color: #000;
    line-height: 20px;
    -webkit-text-size-adjust: none;
}
/*
.slick-panel {
    position: relative;
}
*/
.slick-panel a {
    display: block;
}
/*
info pages + content
 */

div.info,
div.info p,
.project-content.gallery {
    font-family: "franklin-gothic-urw", sans-serif;
    font-size: 14px;
    margin-bottom: 20px;
}

/****************************************
  IMPORTANT
*****************************************/

.scrollTop {
    position: fixed;
    right: 10px;
    bottom: 10px;
    background-color: #e3e6eb;
    padding: 10px;
    opacity: 0;
    transition: all 0.4s ease-in-out 0s;
}

.scrollTop a {
    font-size: 18px;
    color: #fff;
}