/******************************************************************
Theme Name: Elias Crespin
Description: Custom WP Theme designed and developed for Paris-based Venezuelan artist Elias Crespin
Tags: art, sculpture, kinetic, electrokinetic, crespin, gego, denise rene, dynamo, aluminium, stainless steal, acrylic, suspended, mobile, computer, programming, artist, elias crespin
Author: Flora Mitjavile (design) and Fabien Clerc (code) for Alphabet Design
Author URI: http://alphabet-design.net
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Version: 1.0
******************************************************************/


/* ---------- Fonts ---------- */
@font-face {
    font-family: 'din_next_lt_prolight';
    src: url('css/fonts/dinnextltpro-light-webfont.eot');
    src: url('css/fonts/dinnextltpro-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('css/fonts/dinnextltpro-light-webfont.woff') format('woff'),
         url('css/fonts/dinnextltpro-light-webfont.ttf') format('truetype'),
         url('css/fonts/dinnextltpro-light-webfont.svg#din_next_lt_prolight') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'din_next_lt_proultra_light';
    src: url('css/fonts/dinnextltpro-ultralight-webfont.eot');
    src: url('css/fonts/dinnextltpro-ultralight-webfont.eot?#iefix') format('embedded-opentype'),
         url('css/fonts/dinnextltpro-ultralight-webfont.woff') format('woff'),
         url('css/fonts/dinnextltpro-ultralight-webfont.ttf') format('truetype'),
         url('css/fonts/dinnextltpro-ultralight-webfont.svg#din_next_lt_proultra_light') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'denseregular';
    src: url('css/fonts/dense-regular-webfont.eot');
    src: url('css/fonts/dense-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('css/fonts/dense-regular-webfont.woff') format('woff'),
         url('css/fonts/dense-regular-webfont.ttf') format('truetype'),
         url('css/fonts/dense-regular-webfont.svg#denseregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* ---------- Typography ---------- */

    h1, h2, h3, h4, h5, h6, p, label, input[type=text], input[type=submit], textarea, .columns {
    	font-family: 'din_next_lt_proultra_light', helvetica, sans-serif;
    	color: #000;
	    word-wrap: break-word;
    }
    
    h1 {
    	font-size: 28px;
    	line-height: 36px;
    	text-align: center;
    	text-transform: uppercase;
    	letter-spacing: 1px;
    }
    h2 {
    	font-size: 22px;
    	line-height: 28px;
    	text-transform: uppercase;
    	letter-spacing: 1px;
    }
    h3 {
    	font-size: 18px;
    	line-height: 26px;
    	text-transform: uppercase;
    	letter-spacing: 1px;
    }
    p, .columns {
    	font-size: 18px;
    	line-height: 26px;
    }
    
    a, a.button {
    	font-family: 'din_next_lt_prolight', helvetica, sans-serif !important;
    	color: #000;
    	border-bottom: none;
    }
    a:hover, a:focus, a:active {
    	color: #000;
    	border-bottom: 1px solid #000;
    	outline: none;
    }
    .hupso-share-buttons a {
        border: none !important;
    }

    figure {
    	margin-bottom: 10px;
    }
    figcaption {
    	font-family: 'din_next_lt_proultra_light', helvetica, sans-serif;
    	font-style: italic;
    	font-size: 14px;
    	line-height: 24px;
    	color: #757575;
    }
    strong {
        font-family: 'din_next_lt_prolight';
        font-weight: normal;
        color: #000;
    }

    hr {
        margin-top: 0;
    	margin-bottom: 30px;
    	height: 1px;
    	background-color: #ccc;
    	border: none;
    }
    
@media only screen and (min-width: 64.063em) {
    h1 {
    	font-size: 34px;
    	line-height: 42px;
    }
    h2 {
    	font-size: 24px;
    	line-height: 32px;
    }
    h3 {
    	font-size: 20px;
    	line-height: 30px;
    }
}
    

/* ---------- Layout ---------- */
    html {
        height: 100%;
        margin: 0;
        padding: 0;
    }
    body {
        min-height: 100%;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }
    #wrapper {
        max-width: 88em;
        padding: 0 20px 80px 20px;
        margin: 0 auto;
        position: relative;
    }
    .footer_wrapper {
        padding: 0 20px;
        max-width: 80em;
        margin: 0 auto;
        box-sizing: content-box;
        -moz-box-sizing: content-box;
    }
    .row {
        max-width: 80em;
    }
    .main.animate {
        opacity: 0;
        -webkit-animation: fadeInUp;
        animation: fadeInUp;
        -webkit-animation-duration: 1s;
        animation-duration: 1s;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
        -webkit-animation-delay: 1s;
        animation-delay: 1s;
    }
    
    #scrollUp {
        width: 82px;
        height: 38px;
        position: fixed;
        bottom: 0;
        left: 50%;
        margin-left: -41px;
        background: url(images/icons/back-to-top.png) no-repeat center center;
        background-size: 100% 100%;
    }

@media only screen and (min-width: 40.063em) {
    #scrollUp {
        width: 0;
        height: 0;
        display: none !important;
    }
}
    
@media only screen and (min-width: 64.063em) {
    #wrapper {
        padding: 0 64px 80px 64px;
    }
    .footer_wrapper {
        padding: 0 64px;
    }
}    

/* ---------- Header ---------- */

    header {
        height: 60px;
        position: relative;
    }
    
    /* Logo */
	header #logo {
	    width: 180px;
	    position: absolute;
	    top: 0;
	    left: -20px;
	}
    header #logo.animate {
        opacity: 0;
        -webkit-animation: fadeIn;
        animation: fadeIn;
        -webkit-animation-duration: 1s;
        animation-duration: 1s;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
        -webkit-animation-delay: 0.2s;
        animation-delay: 0.2s;
    }
	header #logo img {
	    width: 100%;
	    height: auto;
	}
	header #logo a {
	    display: block;
	    border: none;
	}
	
	/* Top Nav */
    header nav {
        position: relative;
        top: 130px;
        background: #fff;
        height: 60px;
    }
    .is-sticky nav {
        z-index: 10000 !important;
        padding-left: 1000px;
        margin-left: -1000px;
        padding-right: 1000px;
        margin-right: -1000px;
        box-sizing: content-box;
        -moz-box-sizing: content-box;
    }
    body.single header nav,
    body.page-template-template-news-php header nav {
        top: 160px;
    }
    header nav ul {
        list-style: none;
        width: 92%;
        padding: 0;
        margin: 0 auto;
    }
    header nav ul li {
        float: left;
        width: 22%;
        margin: 0 1.5%;
    	text-align: center;
    }
    header nav ul li.animate {
        opacity: 0;
        -webkit-animation: fadeInDown;
        animation: fadeInDown;
        -webkit-animation-duration: 1s;
        animation-duration: 1s;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
    }
    header nav ul li:nth-child(1) {
        -webkit-animation-delay: 0.4s;
        animation-delay: 0.4s;
    }
    header nav ul li:nth-child(2) {
        -webkit-animation-delay: 0.6s;
        animation-delay: 0.6s;
    }
    header nav ul li:nth-child(3) {
        -webkit-animation-delay: 0.8s;
        animation-delay: 0.8s;
    }
    header nav ul li:nth-child(4) {
        -webkit-animation-delay: 1s;
        animation-delay: 1s;
    }
    
    header nav li a {
    	color: #ccc;
    	font-size: 22px;
    	letter-spacing: 1px;
    	border-bottom: none;
    	display: block;
    	border-top: 3px solid #ccc;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    body.single-post header nav ul li:nth-child(1) a,
    body.single-exhibition header nav ul li:nth-child(4) a,
    body.page-template-template-about-php header nav ul li:nth-child(2) a,
    header nav ul li.current-menu-item a {
        border-top: 3px solid #000;
    	color: #000;
    	border-bottom: none;
    }
    header nav ul li a:hover,
    header nav ul li a:focus,
    header nav ul li a:active {
        border-top: 6px solid #000 !important;
    	color: #000;
    	border-bottom: none;
    }
    
    /* Language Switcher */
    #language-switcher {
        position: absolute;
        top: 0;
        right: -20px;
        list-style: none;
    }
    #language-switcher li {
        float: left;
        border-left: 1px solid #ccc;
    }
    #language-switcher li:first-child {
        border-left: none;
    }
    #language-switcher li a {
    	font-family: 'din_next_lt_proultra_light', helvetica, sans-serif !important;
        color: #ccc;
        display: block;
        padding: 6px;
    }
    #language-switcher li a:hover,
    #language-switcher li a:focus,
    #language-switcher li a:active {
        color: #000;
        border: none;
    }

    
    
@media only screen and (min-width: 40.063em) {
    header {
        height: 130px;
    }
}

@media only screen and (min-width: 64.063em) {
	header #logo {
	    width: 230px;
	    left: -64px;
	}
    #language-switcher {
        right: -54px;
    }
	
    header nav {
        position: static;
    }
    header nav ul {
        width: 68%;
    }
}


/* ---------- Sub-Header ---------- */
    .sub-header {
    }
    body.single .sub-header,
    body.page-template-template-news-php .sub-header {
    }
    .sub-header nav ul {
        list-style: none;
        width: 92%;
        padding: 0;
        margin: 0 auto;
        margin-bottom: 80px;
    }
    .sub-header nav ul li {
        float: left;
        width: 22%;
        margin: 0 1.5%;
    	text-align: center;
    	position: relative;
    }
    .sub-header nav > ul > li.animate {
        opacity: 0;
        -webkit-animation: fadeInUp;
        animation: fadeInUp;
        -webkit-animation-duration: 1s;
        animation-duration: 1s;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
    }
    .sub-header nav ul li:nth-child(1) {
        -webkit-animation-delay: 0.4s;
        animation-delay: 0.4s;
    }
    .sub-header nav ul li:nth-child(2) {
        -webkit-animation-delay: 0.6s;
        animation-delay: 0.6s;
    }
    .sub-header nav ul li:nth-child(3) {
        -webkit-animation-delay: 0.8s;
        animation-delay: 0.8s;
    }
    .sub-header nav ul li:nth-child(4) {
        -webkit-animation-delay: 1s;
        animation-delay: 1s;
    }
    .sub-header nav li a {
    	color: #ccc;
    	font-size: 18px;
    	letter-spacing: 1px;
    	border-bottom: 2px solid #ccc;
    	display: block;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    nav.sub-menu > ul > li > a:before {
        content: "";
        position: absolute;
        left: 0;
        top: 28px;
        display: block;
        width: 0;
        height: 2px;
        background-color: black;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    nav.sub-menu > ul > li:hover > a:before {
        width: 100%;
    }
    nav.sub-menu > ul > li.current-menu-item > a {
    	color: #000;
        border-bottom: 2px solid #000;
    }
    .sub-header nav ul li:hover a {
    	color: #000;
    }
    .sub-header-title {
        margin-bottom: 20px;
    }
    .sub-header-title.animate {
        opacity: 0;
        -webkit-animation: fadeIn;
        animation: fadeIn;
        -webkit-animation-duration: 1s;
        animation-duration: 1s;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
        -webkit-animation-delay: 0.4s;
        animation-delay: 0.4s;
    }
    
    .sub-header ul.dropdown {
        padding: 10px 0;
        width: 100%;
        display: none;
        margin-bottom: 0;
    }
    .sub-header ul.dropdown li {
        float: none;
        width: 100%;
        text-align: left !important;
    }
    .sub-header ul.dropdown li a {
        border-bottom: none;
        font-size: 16px;
        position: relative;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        -ms-transition: all 0.3s;
        -o-transition: all 0.3s;
        transition: all 0.3s;
        overflow: hidden;
        display: inline-block;
    }
    .sub-header ul.dropdown li a:after, .sub-header ul.dropdown li a:before {
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        -ms-transition: all 0.3s;
        -o-transition: all 0.3s;
        transition: all 0.3s;
    }
    .sub-header ul.dropdown li a:before {
        content: "";
        position: absolute;
        left: -100%;
        bottom: 0;
        display: block;
        width: 100%;
        height: 1px;
        background-color: black;
    }
    .sub-header ul.dropdown li a:hover:before {
        left: 0;
    }
    
    .sub-header ul.dropdown li a:hover {
        border-bottom: none;
    }
    .sub-header li.has-dropdown:hover ul.dropdown {
        display: block;
    }
    

@media only screen and (min-width: 40.063em) {
    .sub-header {
/*         margin-bottom: 80px; */
    }
    .sub-header-title {
        position: relative;
        top: -90px;
    }
    body.page-template-template-news-php .sub-header-title {
        top: -70px;
    }
}    

@media only screen and (min-width: 64.063em) {
    .sub-header-title {
        position: static;
    }
    .sub-header nav ul {
        width: 68%;
    }
}

    
/* ---------- Mobile Menu ---------- */
    .mobile-menu {
        position: absolute;
        top: 0;
        right: 0;
        width: 60px;
        height: 60px;
        z-index: 1000;
        overflow: hidden;
    }
    .mobile-menu.mobile-menu-open {
        width: 280px;
        height: 100%;
    }
    .mobile-menu-trigger {
        position: absolute;
        top: 4px;
        right: 10px;
        z-index: 1002;
        width: 45px;
        height: 45px;
        cursor: pointer;
        background: url(images/icons/mobile-menu-off.png) no-repeat center center;
        background-size: 45px 45px;
    }
    .mobile-menu-off-canvas .mobile-menu-trigger {
        background: url(images/icons/mobile-menu-on.png) no-repeat center center;
        background-size: 45px 45px;
    }
    .mobile-menu-off-canvas {
        background: #fff;
        -moz-box-shadow: -1px 2px 6px 0 #88;
        -webkit-box-shadow: -1px 2px 6px 0 #888;
        -o-box-shadow: -1px 2px 6px 0 #888;
        box-shadow: -1px 2px 6px 0 #888;
        position: absolute;
        top: 0;
        right: -260px;
        width: 240px;
        height: 100%;
    }
    .mobile-menu-off-canvas ul {
        list-style: none;
        margin: 0;
        padding: 0;
        border-top: 1px solid #000;
    }
    .mobile-menu-off-canvas h2 {
    	font-family: 'denseregular', helvetica, sans-serif;
    	font-size: 32px;
    	line-height: 46px;
    	padding-left: 14px;
    }
    .mobile-menu-off-canvas > ul > li {
        border-bottom: 1px solid #000;
    }
    .mobile-menu-off-canvas > ul > li > a {
        text-transform: uppercase;
        font-size: 22px;
        line-height: 40px;
        display: block;
        padding: 0 14px;
        border: none;
    }
    .mobile-menu-off-canvas > ul > li > ul > li > a {
    	font-family: 'din_next_lt_proultra_light', helvetica, sans-serif !important;
        text-transform: uppercase;
        font-size: 18px;
        line-height: 34px;
        display: block;
        padding: 0 14px;
        border: none;
    }
    .mobile-menu-off-canvas ul li.selected a,
    .mobile-menu-off-canvas ul li a:hover,
    .mobile-menu-off-canvas ul li a:focus,
    .mobile-menu-off-canvas ul li a:active {
        color: #fff;
        background-color: #333;
    }
    .mobile-menu-off-canvas ul.language {
        border: none;
        margin-top: 30px;
    }
    .mobile-menu-off-canvas ul.language li {
        border: none;
    }
    .mobile-menu-off-canvas ul.language li a {
    	font-family: 'din_next_lt_proultra_light', helvetica, sans-serif !important;
        text-transform: none;
        font-size: 18px;
        line-height: 34px;
    }
    

/* ---------- Footer ---------- */

    footer {
    	background-color: #000;
    	margin-top: 60px;
    	margin-bottom: 0;
    	position: absolute;
    	left: 0;
    	bottom: 0;
    	width: 100%;
	    text-align: center;
    }
    footer p {
    	font-family: 'din_next_lt_prolight', helvetica, sans-serif;
     	font-size: 13px; 
    	line-height: 30px;
    	color: #fff;
    	margin-bottom: 0;
    	text-transform: uppercase;
    }
    footer span {
        margin-left: 20px;
    }
    footer a {
        color: #fff;
    }
    footer a:hover,
    footer a:focus,
    footer a:active {
        color: #fff;
        border-bottom: 1px solid #fff;
    }
    footer ul {
        height: 30px !important;
        overflow: hidden;
        list-style: none;
        margin: 0;
        padding: 0;
        display: inline-block;
    	line-height: 30px;
    }
    footer li {
        float: left;
        margin: 0;
    	line-height: 30px;
    }
    footer li a {
        display: block;
        padding: 0 10px;
     	font-size: 13px; 
    	line-height: 30px;
    	text-transform: uppercase;
        margin: 0;
    }
    footer li a:hover,
    footer li a:focus,
    footer li a:active {
        border: none;
        background-color: #4d4d4d;
    }


/* Medium Screen */
@media only screen and (min-width: 40.063em) {
    footer {
	    text-align: left;
    }
    footer ul {
        float: right;
    }
    
}


/* ---------- Home Page Styles ---------- */
    body.page-template-template-home-php {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    body.page-template-template-home-php #logo {
	    width: 230px;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 15;
    }
    .orbit-home {
        position: relative;
    }
    .orbit-home .orbit-slide {
        width: 100%;
        height: 3000px;
    }
    body.page-template-template-home-php .orbit-container .orbit-timer {
        display: none !important;
    }

    #home-page-video .mejs-container {
        background: transparent !important;
    }
    #home-page-video .mejs-container .mejs-controls,
    #home-page-video .mejs-container .mejs-layers {
        display: none !important;
    }
    #home-page-enter {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 20;
        display: block;
        border: none;
    }
    #home-page-enter.white {
        cursor: url(images/icons/icon-plus-white.png), crosshair;
    }
    #home-page-enter.black {
        cursor: url(images/icons/icon-plus-black.png), crosshair;
    }
    
    #home-page-slider {
        margin: 0;
        padding: 0;
    }
    
    #home-loading {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
    }
    .loader {
        width: 100px;
        height: 40px;
        position: fixed;
        top: 51%;
        margin-top: -20px;
        left: 51%;
        margin-left: -50px;
        z-index: 15000;
    }

@media only screen and (max-width: 64.063em) {
    #home-page-enter.white {
        background: url(images/icons/icon-plus-white.png) no-repeat center 90%;
    }
    #home-page-enter.black {
        background: url(images/icons/icon-plus-black.png) no-repeat center 90%;
    }
}

/* ---------- News ---------- */

    /* Social Buttons */
	.social {
		margin-top: 30px;
		line-height: 32px;
		margin-bottom: 10px;
	}
	.social span {
    	font-family: 'din_next_lt_proultra_light', helvetica, sans-serif;
    	color: #ccc;
    	font-size: 20px;
    	margin-right: 10px;
    	text-transform: uppercase;
    	letter-spacing: 1px;
    	position: relative;
    	top: 4px;
    	display: none;
	}
	body.single .social {
	    position: relative;
	    top: -20px;
	}
	body.single .social span {
    	float: right;
    	margin-top: 2px;
	}
	.social a {
	    border: none !important;
	}
	.social img {
    	opacity: 0.2;
	}
	.social img:hover {
    	opacity: 1;
	}
	.social .columns {
    	text-align: center;
	}
	.hupso_c {
    	text-align: center;
	}
	.hupso_c a img {
	    opacity: 0.2 !important;
	}
	.hupso_c a img:hover {
	    opacity: 1 !important;
	}
	
	h2.subtitle {
		color: #ccc;
		text-align: center;
		margin-bottom: 30px;
	}
	.articles article {
    	margin-bottom: 30px;
	}
	.orbit-news-large,
	.orbit-news-small {
	    list-style: none;
	    margin: 0 !important;
	    margin-bottom: 10px !important;
	}
	.orbit-news-small .orbit-slide-padding {
	    padding-top: 75%;
	}
	.news-large-slider {
	    margin-bottom: 16px;
	}
	.orbit-news-large .orbit-slide-padding {
	    padding-top: 41%;
	}
	.news-large-slider .orbit-prev,
    .news-large-slider .orbit-next {
	    display: block !important;
	}
	.widget-ns {
		margin-top: 30px;
		padding-top: 30px;
		border-top: 1px solid #ccc;
        -webkit-transition: all 0.5s ease-in-out;
        -moz-transition: all 0.5s ease-in-out;
        -ms-transition: all 0.5s ease-in-out;
        -o-transition: all 0.5s ease-in-out;
        transition: all 0.5s ease-in-out;
	}
	.widget-ns:hover {
    	opacity: 0.3;
	}
	.widget-ns:first-child {
		margin-top: 0;
		padding-top: 0;
		border: none;
	}
	.widget-ns h2,
	.widget-ns p {
	    word-wrap: break-word;
	}
	.widget-ns img {
	    margin-bottom: 10px;
	}
	.widget_pinterestbadgewidget div {
		border: none !important;
	}
	.widget_pinterestbadgewidget #pinimgs img {
		width: 90px !important;
		height: 90px !important;
	    margin-bottom: 5px;
	}
	.widget_pinterestbadgewidget #pinbadgeFollowerCount,
	.widget_pinterestbadgewidget #pinfollow {
    	display: none !important;
	}


/* ---------- Exhibitions ---------- */

    .exhibitions {
        min-height: 560px;
    }
    .exhibitions li {
        border-top: 1px solid #ccc;
        padding-top: 30px;
    }
    .exhibitions li[data-hover] {
        -webkit-transition: all 0.5s ease-in-out;
        -moz-transition: all 0.5s ease-in-out;
        -ms-transition: all 0.5s ease-in-out;
        -o-transition: all 0.5s ease-in-out;
        transition: all 0.5s ease-in-out;
    }
    .exhibitions li[data-hover]:hover {
    	opacity: 0.3;
    }
    .exhibitions h2 {
    	font-family: 'din_next_lt_prolight', helvetica, sans-serif !important;
    	font-size: 20px;
    	line-height: 30px;
        text-transform: none;
    }
    .exhibitions h2.filter-row {
        margin-bottom: 20px;
        line-height: 40px;
        text-transform: uppercase;
    }

@media only screen and (min-width: 40.063em) {
    .exhibitions h2.filter-row {
        border-bottom: 1px solid #ccc;
    }
	.social .columns {
    	text-align: left;
	}
	.social span {
    	display: inline;
	}
	.hupso_c {
	    float: right;
	    margin-left: 20px;
	}

    .exhibitions li {
        border-top: none;
        padding-top: 0;
    }
}    


/* ---------- Works Wall ---------- */
    .works_covers {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
        display: none;
    }
    .works_covers li {
        display: none;
    }
    .works-animate {
        -webkit-transition: all 0.7s ease-in-out;
        -moz-transition: all 0.7s ease-in-out;
        -ms-transition: all 0.7s ease-in-out;
        -o-transition: all 0.7s ease-in-out;
        transition: all 0.7s ease-in-out;
    }
@media only screen and (max-width: 40em) {
    .small-block-grid-1 {
        margin: 0 !important;
    }
    .small-block-grid-1 li {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
.small-block-grid-1,
.medium-block-grid3,
.large-block-grid3,
.xlarge-block-grid4 {
    margin: 0 !important;
}

    
/* ---------- Works ---------- */
    .works li {
        -webkit-transition: all 0.5s ease-in-out;
        -moz-transition: all 0.5s ease-in-out;
        -ms-transition: all 0.5s ease-in-out;
        -o-transition: all 0.5s ease-in-out;
        transition: all 0.5s ease-in-out;
        cursor: pointer;
        border-top: 1px solid #ccc;
        padding-top: 30px;
    }
    .works h2 {
    	font-family: 'din_next_lt_prolight', helvetica, sans-serif !important;
    	font-size: 20px;
    	line-height: 30px;
        text-transform: none;
    }
    .works h2.filter-row {
        margin-bottom: 20px;
        line-height: 40px;
        text-transform: uppercase;
    }
    .works img {
        margin-bottom: 10px;
    }
    
    #work-page-slider {
        position: fixed;
        top: 0;
        left: 0;
        background: #000;
    }
    
    body.single-work {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    .orbit-work {
        position: relative;
    }
    .orbit-work .orbit-slide {
        width: 100%;
        height: 3000px;
    }
    .orbit-work .slider-controls {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1000;
    }
    .orbit-work .slider-play {
        position: absolute;
        top: 50%;
        margin-top: -50px;
        left: 50%;
        margin-left: -50px;
        width: 100px;
        height: 100px;
        background: url(images/icons/icon-play.png) no-repeat center center;
        cursor: pointer;
        z-index: 1000;
        opacity: 0.6;
        display: none;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    .orbit-work .slider-play:hover {
        opacity: 1;
    }
    .orbit-work .slider-close {
        position: absolute;
        right: 26px;
        top: 30px;
        background: url(images/icons/icon-close-big-white.png) no-repeat center center;
        cursor: pointer;
        display: none;
    }
    .orbit-work li.black .slider-close {
        background: url(images/icons/icon-close-big-black.png) no-repeat center center;
    }
    .orbit-work .slider-close a {
        border: none;
        display: block;
        width: 40px;
        height: 40px;
    }
    #work-page-slider .slider-prev,
    #work-page-slider .slider-next {
        top: 50% !important;
        margin-top: -35px !important;
        position: absolute !important;
        display: none;
    }
    #work-page-slider .slider-prev {
        left: 10px !important;
    }
    #work-page-slider .slider-next {
        right: 10px !important;
    }
    .orbit-work .slide-caption {
        position: fixed;
        width: 100%;
        right: 0;
        bottom: 0;
        padding: 14px 90px 14px 20px;
        background: #fff;
        display: none;
    }
    .orbit-work li.active .slide-caption {
        display: block;
    }
    
    .orbit-work .slide-caption p {
    	font-family: 'din_next_lt_prolight', helvetica, sans-serif !important;
    	color: #000;
        text-align: right;
        font-size: 14px;
        line-height: 20px;
    }
    .orbit-work .slide-caption.hidden {
        width: 60px;
        height: 84px;
        background: transparent !important;
        overflow: hidden;
        display: none;
    }
    .orbit-work .slide-caption.hidden p {
        display: none;
    }
    .orbit-work .slide-caption-close {
        position: absolute;
        right: 26px;
        top: 50%;
        margin-top: -20px;
        width: 40px;
        height: 40px;
        background: url(images/icons/icon-close-big-black.png) no-repeat center center;
        cursor: pointer;
    }
    .orbit-work .slide-caption-close.plus {
        background: url(images/icons/icon-plus-white.png) no-repeat center center;
    }
    .orbit-work li.black .slide-caption-close.plus {
        background: url(images/icons/icon-plus-black.png) no-repeat center center;
    }
    .orbit-work.control-show .slider-play,
    .orbit-work.control-show .slide-caption,
    #work-page-slider.control-show .slider-prev,
    #work-page-slider.control-show .slider-next {
        display: block !important;
    }
    
    
@media only screen and (min-width: 40.063em) {
    .works h2.filter-row {
        border-bottom: 1px solid #ccc;
    }
    .works li {
        border-top: none;
        padding-top: 0;
    }
    .works li:hover {
    	opacity: 0.3;
    }
    .orbit-work .slide-caption {
        padding: 20px 90px 20px 20px;
    }
    .orbit-work .slide-caption p {
        font-size: 16px;
        line-height: 24px;
    }
}

@media only screen and (min-width: 64.063em) {
    .orbit-work .slider-close {
        -webkit-transition: all 0.5s ease-in-out;
        -moz-transition: all 0.5s ease-in-out; 
        -o-transition: all 0.5s ease-in-out; 
        -ms-transition: all 0.5s ease-in-out; 
    }
    .orbit-work .slider-close:hover { 
        -webkit-transform: rotate(90deg); 
        -moz-transform: rotate(90deg); 
        -o-transform: rotate(90deg);
        -ms-transform: rotate(90deg); 
    }        
}    
    

/* ---------- Orbit Slider ---------- */
	.orbit-container .orbit-prev,
	.orbit-container .orbit-next {
		display: none;
		border: none;
		top: 50%;
		margin-top: -35px !important;
		width: 70px !important;
		height: 70px !important;
		cursor: pointer;
	}
	.orbit-container:hover .orbit-prev,
	.orbit-container:hover .orbit-next {
	    background-color: transparent;
		display: block;
	}
	.orbit-container .orbit-prev span,
	.orbit-container .orbit-next span {
	    display: none !important;
	}
	.orbit-container .orbit-prev {
		background: url(images/icons/arrow-left-white.png) no-repeat center center !important;
		left: 0 !important;
	}
	.orbit-container li.black .orbit-prev,
	.orbit-container .orbit-prev.black {
		background: url(images/icons/arrow-left-black.png) no-repeat center center !important;
	}
	.orbit-container .orbit-next {
		background: url(images/icons/arrow-right-white.png) no-repeat center center !important;
		right: 0 !important;
		left: auto !important;
	}
	.orbit-container li.black .orbit-next,
	.orbit-container .orbit-next.black {
		background: url(images/icons/arrow-right-black.png) no-repeat center center !important;
	}

	.orbit-container .ajax-work li:first-child .orbit-prev {
		background: url(images/icons/arrow-previous-work-white.png) no-repeat center center !important;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out; 
        -o-transition: all 0.3s ease-in-out; 
        -ms-transition: all 0.3s ease-in-out; 
        transition: all 0.3s ease-in-out;
		opacity: 0.6;
	}
	.orbit-container .ajax-work li:first-child .orbit-prev:hover {
	    opacity: 1;
	}
	.orbit-container .ajax-work li:first-child .orbit-prev.black {
		background: url(images/icons/arrow-previous-work-black.png) no-repeat center center !important;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out; 
        -o-transition: all 0.3s ease-in-out; 
        -ms-transition: all 0.3s ease-in-out; 
        transition: all 0.3s ease-in-out;
		opacity: 0.6;
	}
	.orbit-container .ajax-work li:first-child .orbit-prev.black:hover {
	    opacity: 1;
	}
	.orbit-container .ajax-work li:last-child .orbit-next {
		background: url(images/icons/arrow-next-work-white.png) no-repeat center center !important;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out; 
        -o-transition: all 0.3s ease-in-out; 
        -ms-transition: all 0.3s ease-in-out; 
        transition: all 0.3s ease-in-out;
		opacity: 0.6;
	}
	.orbit-container .ajax-work li:last-child .orbit-next:hover {
	    opacity: 1;
	}
	.orbit-container .ajax-work li:last-child .orbit-next.black {
		background: url(images/icons/arrow-next-work-black.png) no-repeat center center !important;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out; 
        -o-transition: all 0.3s ease-in-out; 
        -ms-transition: all 0.3s ease-in-out; 
        transition: all 0.3s ease-in-out;
		opacity: 0.6;
	}
	.orbit-container .ajax-work li:last-child .orbit-next.black:hover {
	    opacity: 1;
	}
	
	.orbit-slide {
	    position: relative;
	    overflow: hidden;
	}
	.orbit-slide img {
	    position: absolute;
	    top: 0;
	    left: 0;
	}


/* ---------- Loading Page Overlay Styles ---------- */
    html.oldie #page-load-overlay {
        display: none;
    }
    html.modern-browser #page-load-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        z-index: 9000;
    }
    html.modern-browser #page-load-overlay.animate-fadeOut {
        -webkit-animation: fadeOut;
        animation: fadeOut;
        -webkit-animation-duration: 0.5s;
        animation-duration: 0.5s;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
        -webkit-animation-delay: 0.5s;
        animation-delay: 0.5s;
    }
    html.modern-browser #page-load-overlay.animate-hide {
        -webkit-animation: fadeWidthHeight;
        animation: fadeWidthHeight;
        -webkit-animation-duration: 0.1s;
        animation-duration: 0.1s;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
        -webkit-animation-delay: 1.5s;
        animation-delay: 1.5s;
    }
	

/* ---------- NS Overlay Styles ---------- */
    #ns-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        z-index: 9000;
        display: none;
    }
    #ns-overlay.transparent {
        background: transparent;
    }
    #ns-overlay-modal {
        width: 600px;
        height: 218px;
        padding: 25px 30px;
        position: fixed;
        top: 50%;
        margin-top: -109px;
        left: 50%;
        margin-left: -300px;
        text-align: center !important;
        z-index: 9001;
        background: #fff;
        background: rgba(255,255,255,0.9);
    }
    #ns-overlay-close {
        position: absolute;
        width: 40px;
        height: 40px;
        top: 0;
        right: 0;
        background: url(images/icons/icon-close-small-black.png) no-repeat center center;
        cursor: pointer;
    }
    #ns-overlay-modal h2 {
        color: #e5e5e5;
        font-size: 2em;
    }
    #ns-overlay-modal.works {
        width: 200px;
        height: 130px;
        margin-top: -65px;
        margin-left: -100px;
    }
    #ns-overlay-modal.works h2 {
        color: #000;
        margin-bottom: 20px;
    }


/* ---------- Mandatory Wordpress Styles ---------- */
.wp-caption {
	max-width: 100%; /* Keep wide captions from overflowing their container. */
	margin-bottom: 10px;
/* 	padding: 4px; */
}
.wp-caption img {
    margin-bottom: 4px;
}
.wp-caption .wp-caption-text,
.gallery-caption,
.entry-caption {
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 18px;
	letter-spacing: 1px;
	color: #666;
	margin: 0;
}
article.sticky .featured-post {
	border-top: 4px double #ededed;
	border-bottom: 4px double #ededed;
	color: #757575;
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 3.692307692;
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
	text-align: center;
}
.comments-area li.bypostauthor cite span {
	position: absolute;
	margin-left: 5px;
	margin-left: 0.357142857rem;
	padding: 2px 5px;
	padding: 0.142857143rem 0.357142857rem;
	font-size: 10px;
	font-size: 0.714285714rem;
}

/* ---------- Tool Styles ---------- */
.border-none { border: none !important; }

.margin-top-none { margin-top: 0 !important; }
.margin-bottom-none { margin-bottom: 0 !important; }
.margin-left-none { margin-left: 0 !important; }
.margin-right-none { margin-right: 0 !important; }
.margin-none { margin: 0 !important; }

.text-center { text-align: center !important; }

.alignleft,
.alignright,
.aligncenter {
    display: block;
    margin: 10px auto;
}
@media only screen and (min-width: 40.063em) {
    .alignleft {
        margin: 0 20px 10px 0;
    	float: left;
    }
    .alignright {
        margin: 0 0 10px 20px;
	    float: right;
    }
}

@media only screen and (min-width: 80.063em) {
  .xlarge-block-grid-4 > li {
    width: 25%;
    padding: 0 0.625rem 1.25rem;
    list-style: none; }
    .xlarge-block-grid-4 > li:nth-of-type(n) {
      clear: none; }
    .xlarge-block-grid-4 > li:nth-of-type(4n+1) {
      clear: both; }
}

/* ---------- CSS Animations ---------- */
/* Fade In */
@-webkit-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* Fade In Up */
@-webkit-keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    -ms-transform: translateY(20px);
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}

/* Fade In Down */
@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-20px);
    -ms-transform: translateY(-20px);
    transform: translateY(-20px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}

/* Fade Out */
@-webkit-keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

/* Fade Out Width/Height  */
@-webkit-keyframes fadeWidthHeight {
  0% { width: 100%; height: 100%; }
  100% { width: 0; height: 0; }
}
@keyframes fadeWidthHeight {
  0% { width: 100%; height: 100%; }
  100% { width: 0; height: 0; }
}

/* Dot Animation */
.white .dot { background: #fff; }
.black .dot { background: #000; }
.dot:nth-child(1) {
  margin: 0.3em;
  position: absolute;
  height: 1em;
  width: 1em;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  display: inline-block;
}
.dot:nth-child(2) {
  position: absolute;
  margin: 0.3em 2em;
  height: 1em;
  width: 1em;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  display: inline-block;
}
.dot:nth-child(3) {
  position: absolute;
  margin: 0.3em 3.7em;
  height: 1em;
  width: 1em;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  display: inline-block;
}
.dot:nth-child(1) {
  -webkit-animation: load 2.3s linear infinite;
     -moz-animation: load 2.3s linear infinite;
       -o-animation: load 2.3s linear infinite;
          animation: load 2.3s linear infinite;
  -webkit-animation-delay: 0.7s;
     -moz-animation-delay: 0.7s;
       -o-animation-delay: 0.7s;
          animation-delay: 0.7s;
}

.dot:nth-child(2) {
  -webkit-animation: load 2.3s linear infinite;
     -moz-animation: load 2.3s linear infinite;
       -o-animation: load 2.3s linear infinite;
          animation: load 2.3s linear infinite;
  -webkit-animation-delay: 1.4s;
     -moz-animation-delay: 1.4s;
       -o-animation-delay: 1.4s;
          animation-delay: 1.4s;
}

.dot:nth-child(3) {
  -webkit-animation: load 2.3s linear infinite;
     -moz-animation: load 2.3s linear infinite;
       -o-animation: load 2.3s linear infinite;
          animation: load 2.3s linear infinite;
  -webkit-animation-delay: 2.1s;
     -moz-animation-delay: 2.1s;
       -o-animation-delay: 2.1s;
          animation-delay: 2.1s;
}

@-webkit-keyframes load 
{ 
  5% {
    margin-top: -2em;
    position: absolute;
  }
  100% {
    margin-top: 0;
  }
}

@-moz-keyframes load 
{ 
  5% {
    margin-top: -2em;
    position: absolute;
  }
  100% {
    margin-top: 0;
  }
}

@-o-keyframes load 
{ 
  5% {
    margin-top: -2em;
    position: absolute;
  }
  100% {
    margin-top: 0;
  }
}

@keyframes load 
{ 
  5% {
    margin-top: -2em;
    position: absolute;
  }
  100% {
    margin-top: 0;
  }
}
