/*! Made with Bones: http://themble.com/bones :) */

/******************************************************************
Site Name:
Author:

Stylesheet: Main Stylesheet

Here's where the magic happens. Here, you'll see we are calling in
the separate media queries. The base mobile goes outside any query
and is called at the beginning, after that we call the rest
of the styles inside media queries.
#copy-vat
Helpful articles on Sass file organization:
http://thesassway.com/advanced/modular-css-naming-conventions

******************************************************************/

/*! normalize.css v1.1.3 | MIT License | git.io/normalize */

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block
}

audio, canvas, video {
    display: inline-block;
    *display: inline;
    *zoom: 1
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden] {
    display: none
}

html {
    font-size: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

html, button, input, select, textarea {
    font-family: sans-serif
}

body {
    margin: 0
}

a:focus {
    outline: thin dotted
}

a:active, a:hover {
    outline: 0
}

h1 {
    font-size: 2em;
    margin: .67em 0
}

h2 {
    font-size: 1.5em;
    margin: .83em 0
}

h3 {
    font-size: 1.17em;
    margin: 1em 0
}

h4 {
    font-size: 1em;
    margin: 1.33em 0
}

h5 {
    font-size: .83em;
    margin: 1.67em 0
}

h6 {
    font-size: .67em;
    margin: 2.33em 0
}

abbr[title] {
    border-bottom: 1px dotted
}

b, strong {
    font-weight: bold
}

blockquote {
    margin: 1em 40px
}

dfn {
    font-style: italic
}

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0
}

mark {
    background: #ff0;
    color: #000
}

p, pre {
    margin: 1em 0
}

code, kbd, pre, samp {
    font-family: monospace, serif;
    _font-family: 'courier new', monospace;
    font-size: 1em
}

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word
}

q {
    quotes: none
}

q:before, q:after {
    content: '';
    content: none
}

small {
    font-size: 80%
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
    top: -0.5em
}

sub {
    bottom: -0.25em
}

dl, menu, ol, ul {
    margin: 1em 0
}

dd {
    margin: 0 0 0 40px
}

menu, ol, ul {
    padding: 0 0 0 40px
}

nav ul, nav ol {
    list-style: none;
    list-style-image: none
}

img {
    border: 0;
    -ms-interpolation-mode: bicubic
}

svg:not(:root) {
    overflow: hidden
}

figure {
    margin: 0
}

form {
    margin: 0
}

fieldset {
    border: 1px solid silver;
    margin: 0 2px;
    padding: .35em .625em .75em
}

legend {
    border: 0;
    padding: 0;
    white-space: normal;
    *margin-left: -7px
}

button, input, select, textarea {
    font-size: 100%;
    margin: 0;
    vertical-align: baseline;
    *vertical-align: middle
}

button, input {
    line-height: normal
}

button, select {
    text-transform: none
}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
    *overflow: visible
}

button[disabled], html input[disabled] {
    cursor: default
}

input[type="checkbox"], input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
    *height: 13px;
    *width: 13px
}

input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box
}

input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none
}

button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0
}

textarea {
    overflow: auto;
    vertical-align: top
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

body {
    -webkit-font-smoothing: antialiased;
}

/*!
    bgStretcher 3.3.0 jQuery Plugin
    (c) 2010-2013 www.w3Blender.com
    For any questions and support please visit www.w3blender.com.
*/

.bgstretcher-area {
    text-align: left;
}

.bgstretcher {
    background: #FFF;
    overflow: hidden;
    width: 100%;
    position: fixed;
    z-index: 1;
}

.bgstretcher, .bgstretcher ul, .bgstretcher li {
    left: 0;
    top: 0;
}

.bgstretcher ul, .bgstretcher li {
    position: absolute;
}

.bgstretcher ul, .bgstretcher li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/*  Compatibility with old browsers  */

.bgstretcher {
    _position: absolute;
}

.bgs-description-pane {
    display: block;
    background: rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 10000;
    padding: 15px;
    color: #ffffff;
    font-size: 14px;
}

/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/* first for Internet Explorer < 9 */

@font-face {
    font-family: Milo Serif Pro;
    src: url("../../fonts/MiloSerifWebPro-Text.eot");
    font-weight: normal;
    font-style: normal;
}

/* then for WOFF-capable browsers */

@font-face {
    font-family: Milo Serif Pro;
    src: url("../../fonts/MiloSerifWebPro-Text.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

/* first for Internet Explorer < 9 */

@font-face {
    font-family: Milo Serif Pro Italic;
    src: url("../../fonts/MiloSerifWebPro-TextIta.eot");
    font-weight: normal;
    font-style: normal;
}

/* then for WOFF-capable browsers */

@font-face {
    font-family: Milo Serif Pro Italic;
    src: url("../../fonts/MiloSerifWebPro-TextIta.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

/* first for Internet Explorer < 9 */

@font-face {
    font-family: Milo Serif Pro Bold;
    src: url("../../fonts/MiloSerifWebPro-Bold.eot");
    font-weight: normal;
    font-style: normal;
}

/* then for WOFF-capable browsers */

@font-face {
    font-family: Milo Serif Pro Bold;
    src: url("../../fonts/MiloSerifWebPro-Bold.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ClassicGrotesqueW01-SmB1130040';
}

html, button, input, select, textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #302E2F;
    text-shadow: none;
}

::selection {
    background: #302E2F;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio, canvas, img, video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Stephen's custom styles
   ========================================================================== */

h1, h2, h3, h4 {
    font-weight: normal;
}

h1 {
    margin: 1em 0 0 0;
    font-size: 20px;
    line-height: 24px;
    -webkit-font-smoothing: antialiased;
}

h2 {
    font-family: Milo Serif Pro Italic;
    color: #00b4e3;
    margin: 0;
    font-size: 18px;
    line-height: 24px;
}

a {
    color: #00b4e3;
    text-decoration: none;
}

a:visited {
    color: #00b4e3;
}

p, pre {
    margin: 0.4em 0;
}

/*.oldstyle {
    -moz-font-feature-settings:"onum" 1;
    -ms-font-feature-settings:"onum" 1;
    -o-font-feature-settings:"onum" 1;
    -webkit-font-feature-settings:"onum" 1;
    font-feature-settings:"onum" 1;
}*/

/*.small-caps {
	font-variant: small-caps;
}*/

*, *:before, *:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html, body {
    line-height: 16px;
    font-family: Milo Serif Pro;
}

#sidebar {
    width: 104px;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: white;
    z-index: 99999;
    transition: all 0.3s ease;
}

#main-nav {
    margin-bottom: 36px;
}

#right-content {
    margin-left: 104px;
}

/* ================  Nav  =============== */

#menu-toggle {
    position: absolute;
    left: 104px;
    width: 36px;
    height: 36px;
    background-color: #fff;
    background-image: url(../../library/images/navicon-blue.png);
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    display: none;
    /*transition: all 0.3s ease;*/
    background-image: url(../../library/images/logo.svg);
    background-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
     background-image: none !important;
}

/*background-image: url(../../library/images/navicon-black.png); */

.sidebar-toggle #menu-toggle {
    background-image: url(../../library/images/logo-black.svg);
}

.sidebar-toggle {
    left: 0!important;
}

#main-nav nav ul {
    padding-left: 16px;
    margin-top: 0;
    margin-bottom: 0;
}

#main-nav nav ul li {
    line-height: 16px;
    margin: 0;
    padding: 0;
    height: 16px;
    clear: both;
    display: table;
}

#main-nav nav a {
    background-color: #00b4e3;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    line-height: 16px;
    display: block;
    float: left;
    /*
    height: 16px;*/
    font-size: 12px;
    padding: 1px 6px 1px 5px;
}

#main-nav nav a {
    font-family: 'ClassicGrotesqueW01-SmB1130040';
}

#main-nav nav a:hover {
    background-color: #302E2F;
}

.sub-menu {
    display: none;
    padding-left: 0 !important;
}

/*.sub-menu a:before {
    content: "";
    border-color: #FFF;
    border-style: solid;
    border-radius: 2px;
    display: block;
    height: 0px;
    width: 0px;
    left: -4px;
    top: 8px;
    position: relative;
    float: left;
    border-width: 1px;
}*/

/*#main-nav nav .sub-menu a {
    padding-left: 8px;
}*/

#main-nav nav .sub-menu .current-menu-item a, .single-projects #menu-item-62>a, .tax-client #menu-item-62>a {
    background-color: #242424;
}

#main-nav nav li.current-menu-parent a, #main-nav nav li.current-menu-parent li.current-menu-item a:hover, #main-nav nav li.current-menu-item a {
    background-color: #242424;
}

#main-nav nav li.current-menu-parent li.current-menu-item a, #main-nav nav li.current-menu-parent a:hover, #main-nav nav li.current-menu-item a:hover {
    background-color: #00b4e3;
}

#main-nav nav ul.sub-menu li a {
    /*background-color: #787778;*/
    background-color: #71ceed;
}

/*#main-nav nav li.current-menu-parent li.current-menu-item a, #main-nav nav li.current-menu-parent li a:hover {
    background-color: #71ceed;
}*/

#main-nav nav ul.sub-menu li a:hover, #main-nav nav ul.sub-menu li.current-menu-item a:hover {
    /*background-color: #71ceed;*/
    /*background-color: #787778;*/
    background-color: #302E2F;
}

#main-nav nav ul.sub-menu li.current-menu-item a {
    background-color: #302E2F;
    /*background-color: #787778;*/
}

a.logo-img {
    width: 54px;
    height: 64px;
    margin-top: 16px;
    display: block;
    margin-left: 16px;
    margin-bottom: 36px;
}

a#logo-blue {
    background: url(../../library/images/logo.svg);
}

a#logo-blue:hover {
    background: url(../../library/images/logo-black.svg);
}

a#logo-black {
    background: url(../../library/images/logo-black.svg);
}

/* ========  Background Stretcher  ======== */

/*.bgstretcher img { border-left: 8px #00b4e3 solid; }*/

.bgstretcher-area {
    height: 100%;
}

.bgstretcher-page {
    height: 100%;
}

/* ========  Background Page  ======== */

/*#background-info {
    margin-left: 63px;
    margin-bottom: 50px;
    width: 410px;
    padding: 0;
    background-color: white;
    color: #00b4e3;
    font-size: 24px;
    line-height: 32px;
    -webkit-font-smoothing: antialiased;
}
*/

#background-info a:hover {
    color: #302E2F;
    text-decoration: none;
}

/* ========  Background Info Animation  ======== */

#background-info, #experience-container, #background-info {
    -webkit-animation: load_up 1s;
    animation: load_up 1s;
}

@-webkit-keyframes load_up {
    from {
        margin-top: -150%
    }
    to {
        margin-top: 0%;
    }
}

@keyframes load_up {
    from {
        margin-top: -150%
    }
    to {
        margin-top: 0%;
    }
}

.loaddown {
    -webkit-animation: load_down 1s!important;
    animation: load_down 1s!important;
}

@-webkit-keyframes load_down {
    from {
        margin-top: 0%
    }
    to {
        margin-top: -150%;
    }
}

@keyframes load_down {
    from {
        margin-top: 0%
    }
    to {
        margin-top: -150%;
    }
}

.contact-div {
    display: block;
    padding: 8px 0;
        font-size: 18px;
    line-height: 22px;
}

.contact-div.oldstyle{
    padding-top: 0px;
}

#copy-vat {
    font-size: 14px !important;
    line-height: 20px !important;
    margin-top: 10px;
}

.contact-div a {
    /*text-decoration: underline;*/
    /*border-bottom: 1px solid;*/
    color: white;
}

.contact-div a:hover{
    border-bottom: 1px solid white;
    /*text-decoration: underline;*/
}

/* ========  Projects/Work Page  ======== */

#work-container {
    max-width: 790px;
    margin-top: 24px;
    margin-left: 24px;
    margin-right: 24px;
}

body.post-type-archive-projects #work-container{
    margin-top: 0px;
    padding-top: 24px;
}

@media only screen and (max-width: 768px) {
    body.post-type-archive-projects #work-container{
        padding-top: 0px;
    }
}

.item {
    width: 19%;
    height: auto;
    margin: 0.5%;
    overflow: hidden;
    float: left;
}

.item a {
    display: block;
    overflow: hidden;
    position: relative;
}

.item img {
    width: 100%;
    height: auto;
    max-width: none !important;
}

body.post-type-archive-projects .item{
    padding: 0px 5px;
    margin: 8px 0px;
}

.mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #242424;
    display: none;
}

.mask h3 {
    color: white;
    padding: 0 8px;
    font-size: 16px;
    line-height: 20px;
    margin-top: 0px;
}

/* ===========  Experience Page  ============== */

.text-container {
    margin-left: 81px;
    margin-top: 32px;
    /*width: 410px;*/
    color: #00b4e3;
    font-size: 24px;
    line-height: 32px;
    max-width: 410px;
    padding-right: 24px;
    margin-right: 0;
    width: auto;
}

/*#experience-container h1 {
    font-size: 24px;
    line-height: 32px;
}*/

#experience-container h1 {
    font-size: 24px;
    line-height: 32px;
}

#experience-container ul {
    list-style: none;
    padding: 0;
}

#experience-container a {
    color: #00b4e3;
    /*text-decoration: underline;*/
    border-bottom: 1px solid;
}

#experience-container a:hover {
    color: #302E2F;
    text-decoration: none;
}

/* ========  Project/Work Drop Down  ======== */

#work-dropdown {
    position: fixed;
    left: 158px;
    top: 0;
    color: white;
}

#work-dropdown p {
    font-size: 18px;
    line-height: 24px;
    padding: 1px 0;
    margin: 0;
}



.credits {
    font-family: Milo Serif Pro Italic;
    color: #00b4e3;
}

#details-dropdown {
    margin-right: 1px;
    width: 400px;
}

#details-title p, #more-work-title p {
    position: absolute;
    font-size: 16px;
    letter-spacing: 0.1px;
    font-family: 'ClassicGrotesqueW01-SmB1130040';
    margin-top: 3px;
}

#details-title p{
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: inherit;
    max-width: calc(100% - 60px);
    top: calc(50% - 1.8px);
    transform: translate(0, calc(-50% + 1.7px));
    margin-top: 0;
    line-height: 1.2;
    padding: 0px;
    padding-top: 1px;
}

@media only screen and (max-width: 768px) {
    #details-title p{
        top: calc(50% - 1.7px);
    }
}

#more-work, #details-dropdown {
    padding: 0px 16px;
    position: relative;
    background-color: #00b4e3;
    /* min-height: 30px; */
    min-height: 22px;
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    padding-bottom: 20px;
}

#more-details {
    max-width: 480px;
}

#more-details span.title{
    color: #00b4e3;
}


    


#more-details p {
    margin: 1em 0;
    letter-spacing: .2px;
    font-weight: 400;
}

body:not(.single-projects) #more-details p:first-of-type::first-line{
    padding-right: 30px;
}

body.page-id-9 #more-details p:first-of-type{
    font-size: 30px;
    line-height: 1.1;
    margin-bottom: 4px;
    display: inline-block;
    color: #00b4e3;
    margin-top: 0px;
}

/*#more-details.scroll-text .text-copy{
    height : 200px;
    overflow-y: auto;
}*/

#more-work {
    width: 236px;
}

#more-work-details ul {
    padding: 0;
    margin-bottom: 1em
}

#more-work-details a {
    text-decoration: none;
    color: white;
    font-size: 12px;
    line-height: 16px;
    font-family: 'ClassicGrotesqueW01-SmB1130040';
}

#more-work-details a:hover {
    color: #00b4e3;
}

.gray {
    background-color: #242424!important;
}

#more-details-click, #more-work-click {
    z-index: 99;
    cursor: pointer;
    width: 100%;
    /* height: 30px; */
    height: 22px;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: flex-end;
}

#more-details-click{
    width: 100%;
    top: 0px;
    left: auto;
    right: 0;
}

#details-dropdown.gray #more-details-click{
    top: 3px;
    transform: none;
    width: 100%;
    height: 30px;
    /* background: #00b4e3; */
}

.drop-arrow {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid white;
    position: absolute;
    top: 4px;
    right: 12px;
    -moz-transition: -moz-transform .3s;
    -webkit-transition: -webkit-transform .3s;
    -o-transition: -o-transform .3s;
    transition: transform .3s;
}

.toggle {
    -moz-transform: rotate(+90deg);
    -o-transform: rotate(+90deg);
    -webkit-transform: rotate(+90deg);
    transform: rotate(+90deg);
}

/* ========  Project/Work Inner Page  ======== */

.inner-work-container {
    margin-left: 54px;
    margin-bottom: 16px;
    max-width: 832px;
    padding: 0px 8px;
    padding-top: 28px;
}

.full, .half {
    float: left;
    margin: 8px 0;
    padding: 0 5px;
    overflow: hidden;
}

.full img, .half img {
    width: 100%;
    height: auto;
}

.full {
    width: 100%;
}

.half {
    width: 50%;
}

div#work-dropdown {
    z-index: 1000;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

}

@media only screen and (max-width: 835px) {
    .inner-work-container {
        margin-top: 60px;
    }
}

@media only screen and (max-width: 767px) {
    /*LINE BREAKS*/
    .text-container br {
        display: none;
    }
    .contact-text-container.text-container br {
        display: block;
    }
    #sidebar {
        left: -104px;
    }
    #right-content {
        margin-left: 0;
        overflow: auto;
    }
    #menu-toggle {
        display: flex;
       
    }
    
    #menu-toggle .hamburger{
        display: flex !important;
        padding-top: 2px;
    }
    #main-nav {
        float: left;
    }
    #logo-img {
        float: left;
    }
    /*.inner-work-container { float: left; margin-left: 0; margin-top: 0; padding: 0px 2px; }*/
    .inner-work-container {
        float: left;
        margin-left: 0;
        margin-top: 0;
        padding: 0 5px 0 5px;
    }
    #work-dropdown {
        left: 0;
        margin-left: 0;
        margin-top: 40px;
        position: relative;
    }
    #work-container {
        margin-top: 36px;
        margin-left: 3px;
        margin-bottom: 0px;
        margin-right: 3px;
    }
    #details-dropdown, #more-work {
        position: relative;
        min-height: 30px;
        width: 100%;
        border-bottom: 1px white solid;
        padding: 4px 22px 5px 22px;
    }

    #more-details-click, #more-work-click {
        height: 30px;
    }
    .drop-arrow {
        top: 7px;
    }
    /*.full, .half { margin: 2px 0; padding: 0 2px; }*/
    /* .full, .half {
        margin: 1% 0;
        padding: 0 1%;
    }*/
    /*#background-info {  
        margin-left: 50px; 
        width: 420px; 
        position: relative;
    }*/
    .full, .half{
        margin-top: 10px;
    }
    .text-container {
        margin-left: 50px;
        margin-top: 30px;
        max-width: 400px;
        /*width: 400px;*/
    }
    #experience-container h1, .text-container {
        /*font-size: 22px;*/
        line-height: 32px;
    }
    .inner-work-container {
        margin-top: 0px;
    }
    /*#experience-container h1 { font-size: 28px; }*/
    .sidebar-wrap {
        overflow-y: auto;
        height: 100%;
    }
}

@media only screen and (max-width: 768px) {
    .item {
        width: 24%;
    }
    
    #details-title p, #more-work-title p{
        line-height: 1.2;
    }
    
}

@media only screen and (max-width: 767px) {
    .text-copy br {
        display: none;
    }
}

@media only screen and (max-width: 500px) {
    .item {
        width: 31%;
        margin: 1%;
    }
    #experience-container h1, .text-container {
        font-size: 20px;
        line-height: 24px;
        /*width: 250px;   font-size: 16px; line-height: 22px;*/
    }
    /*#experience-container { width: 250px;  }*/
    /*#experience-container h1 { font-size: 20px; line-height: 24px; }*/
    /*#experience-container h1 { font-size: 20px;line-height: 24px; }*/
}

@media only screen and (max-width: 400px) {
    .item {
        width: 48%;
    }
}

/* Smartphones (portrait) ----------- */

@media only screen and (max-width: 320px) {
    #back-to-work {
        font-size: 16px;
    }
}

@media only screen and (min-width: 768px) {
    #work-dropdown.scroll-text {
        /*position: absolute;*/
        height: 100%;
    }
    #work-dropdown #details-dropdown.gray {
        height: 100%;
        overflow-y: auto;
        /* padding-top: 23px; */
        padding-top: 40px;
            padding-bottom: 28px;
    }
    .page-id-21 .contact-div.oldstyle:not(#copy-vat){
        /* padding-top: 23px; */
    /* padding-top: 40px; */
    }
    body.single-projects, body.post-type-archive {
        overflow-y: hidden;
    }
    
    .bg-big-text{
        padding-top: 25px;
    }
    
    body.post-type-archive-projects #work-container{
        padding-top: 28px;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.floatleft {
    float: left;
}

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before, .clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    a, a:visited {
        text-decoration: underline;
    }
    a[href]:after {
        content: " (" attr(href) ")";
    }
    abbr[title]:after {
        content: " (" attr(title) ")";
    }
    .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
        content: "";
    }
    pre, blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
    }
    tr, img {
        page-break-inside: avoid;
    }
    img {
        max-width: 100% !important;
    }
    @page {
        margin: 0.5cm;
    }
    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }
    h2, h3 {
        page-break-after: avoid;
    }
}

.inner-work-container, #work-container {
    max-width: 100% !important;
}

.post-type-archive-projects #work-container, .archive.tax-projecttypes #work-container, .single-projects .inner-work-container {
    height: calc(100vh - 70px);
}

.slick-dots {
    display: none !important;
}

.slick-dotted.slick-slider {
    margin-bottom: 0px !important;
}

.single-projects .full img, .single-projects .half img, .post-type-archive-projects #work-container .half img, .post-type-archive-projects #work-container .full img {
    width: auto;
    height: 100vh;
}

#details-dropdown {
    padding-bottom: 18px;
}

.post-type-archive-projects #work-container, .archive.tax-projecttypes #work-container, .single-projects .inner-work-container {
    display: flex;
    width: 100%;
}

.post-type-archive-projects #work-container .item, .archive.tax-projecttypes #work-container .item, .single-projects .inner-work-container>div {
    width: 100%;
    height: inherit;
    overflow: inherit;
}

.single-projects .inner-work-container>div{
    width: auto;
}


.post-type-archive-projects #work-container .item img, .archive.tax-projecttypes #work-container .item img, .single-projects .inner-work-container>div img {
    width: auto;
    height: 100%;
    max-width: none;
}

.post-type-archive-projects #work-container .item a, .archive.tax-projecttypes #work-container .item a, .single-projects .inner-work-container>div a {
    height: 100%;
}

.post-type-archive-projects #work-container .project-title span, .post-type-archive-projects #work-container .project-title i, .archive.tax-projecttypes #work-container .project-title span, .archive.tax-projecttypes #work-container .project-title i {
    color: #00b4e3;
}

.post-type-archive-projects #work-container .mask h3, .archive.tax-projecttypes #work-container .mask h3 {
    font-size: 25px;
    line-height: 28px;
        padding: 15px 25px;
        padding-top: 40px;
            padding-bottom: 40px;
}

.mdiv {
    height: 20px;
    width: 1px;
    margin-left: 12px;
    background-color: white;
    transform: rotate(45deg);
    Z-index: 1;
    position: absolute;
    right: 19px;
    top: 9px;
        -webkit-transition: -webkit-transform .2s ease-in-out;
    -ms-transition: -ms-transform .2s ease-in-out;
    transition: transform .2s ease-in-out;  
}

#details-dropdown:not(.gray) .mdiv{
    top: 7px;
}

#more-details-arrow{
    visibility: hidden;
}

.md {
  height: 20px;
  width: 1px;
  background-color: white;
  transform: rotate(90deg);
  Z-index: 2;
          -webkit-transition: -webkit-transform .2s ease-in-out;
    -ms-transition: -ms-transform .2s ease-in-out;
    transition: transform .2s ease-in-out;  
  
}

.drop-arrow:not(.toggle) ~ #more-details-click .mdiv{
    top: 50%;
  transform: translate(-0px, -50%) rotate(90deg);
    height: 13px;
    right: 14px;
}

.drop-arrow:not(.toggle) ~ #more-details-click .md{
      height: 13px;
}



#main-nav nav a{
    font-size: 16px !important;
    line-height: 20px !important;
}

#work-dropdown{
    position: inherit;
}

#work-dropdown #details-dropdown{
   margin-left: 15px;
    position: fixed;
    top: 0;
}

.single-projects .inner-work-container{
    margin-left: 13px;
}

html{
    height: 100%;
}

body, body > #wrapper, #right-content, #right-content > .bg-big-text, #right-content > .bg-big-text img{
    height: inherit;
}

#right-content > .bg-big-text img{
    margin-left: 30px;
    max-width: none !important;
}

#details-title p{
    display: none;
}

@media only screen and (max-width: 767px) {
    #work-dropdown #details-dropdown{
        position: relative;
        margin-left: 0px;
    }
    
    #work-dropdown #details-dropdown.gray{
        /* padding-top: 23px; */
        padding-top: 40px;
            padding-bottom: 36px;
    }
    
    .single-projects .inner-work-container{
        margin-left: 0px;
    }
    
    
    #right-content > .bg-big-text img{
        margin-left: 0px;
    }
    
/*    .mdiv{
        right: 28px;
    } */
}


.single-projects #more-details h1, .single-projects #more-details h2{
    font-size: 25px;
    line-height: 28px;
}

.single-projects #more-details h2,
.post-type-archive-projects #work-container .project-title i{
    font-size: 18px;
    line-height: 22px;
}

#copy-vat{
    font-family: 'Milo Serif Pro' !important;
}

#more-details > * {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
}

#menu-item-28{
    display: none !important;
}

    .post-type-archive-projects #work-container .project-title span{
        max-width: 65%;
        display: inline-block;
    }
    
    #more-details span.title,
    .post-type-archive-projects #work-container .project-title span{
        font-size: 30px;
        line-height: 1;
        margin-bottom: 4px;
        display: inline-block;
    }
    
.heading-blue{
    font-size: 30px;
    line-height: 1.1;
    display: inline-block;
    color: #00b4e3;
    margin-top: 0px;
}

.heading-blue a{
    color: #00b4e3;
}

.heading-blue a:hover{
    border-color: #00b4e3;
}


@media only screen and (min-width: 769px) {
    
    #sidebar{
            width: 134px !important;
    }
    #work-dropdown #details-dropdown{
        z-index: 100000;
    }
    #work-dropdown.scroll-text {
        position: absolute;
        height: 100%;
    }
    #work-dropdown #details-dropdown.gray {
            max-height: 100%;
        height: inherit;
        overflow-y: auto;
    }
    body.single-projects, body.post-type-archive {
        overflow-y: hidden;
    }
}

@media only screen and (max-width: 1024px) {
    .post-type-archive-projects #work-container, .archive.tax-projecttypes #work-container, .single-projects .inner-work-container {
        /* flex-direction: column; */
        width: auto;
    }

    .post-type-archive-projects #work-container .item, .archive.tax-projecttypes #work-container .item, .single-projects .inner-work-container>div {
        width: auto;
    }

    .post-type-archive-projects #work-container .item img, .archive.tax-projecttypes #work-container .item img, .single-projects .inner-work-container>div img, .post-type-archive-projects #work-container .item a, .archive.tax-projecttypes #work-container .item a, .single-projects .inner-work-container>div a{
       /* height: auto;
        width: 100%; */
    }
}

/* .page-id-21 .contact-div.oldstyle:not(#copy-vat){
	padding-top: 1em;
}*/

body.page-id-21 #details-dropdown.gray{
    padding-bottom: 40px;
}

.contact-div.social-media{
    margin-top: 10px;
}

body.single-projects #more-details > h1{
    margin-top: 0px;
}

body.single-projects #more-details > h1 .title::first-line{
    padding-right: 30px;
}

@media only screen and (max-width: 768px) {
    .post-type-archive-projects #work-container, .archive.tax-projecttypes #work-container, .single-projects .inner-work-container{
        overflow: hidden;
        overflow-x: overlay;
    }
    
    .post-type-archive-projects #work-container .item, .archive.tax-projecttypes #work-container .item, .single-projects .inner-work-container>div{
        flex: 0 0 auto;
    }
    
    .bg-big-text{
        overflow: hidden;
        overflow-x: overlay;
        width: 100%;
    }
    

    
    .archive.tax-projecttypes #work-container .item a, .single-projects .inner-work-container>div a{
        height: calc(100% - 90px);
    }
    
    .single-projects .inner-work-container>div img{
        height: calc(100% - 13px);
    }
    
    .single-projects .inner-work-container{
        margin-bottom: 0px;
    }
    
    .post-type-archive-projects #work-container{
        height: calc(100% - 7px);
    }
    
    body.home .bg-big-text{
        height: inherit;
    }
}

@media only screen and (max-width: 768px) {
    .post-type-archive-projects #work-container .project-title span{
        max-width: 100%;    
    }
    
    .post-type-archive-projects #work-container .mask h3{
        padding-top: 40px;
            padding-bottom: 40px;
    }
    
    #details-dropdown:not(.gray) .mdiv{
            top: 5.5px;
    }
    
    #details-dropdown{
        margin-top: calc(1% - 2px);
    }
}

/* @media only screen and (max-height: 400px) {
    body.post-type-archive-projects #work-container{
        padding-top: 35px;
    }
}*/


    
@media screen and (max-width: 768px) and (orientation: portrait) {
    body.page-id-18 .bg-big-text,
    body.page-id-21 .bg-big-text
    {
        height: calc(100vh - 67px) !important;
    }
}

@media screen and (max-width: 820px) and (orientation: landscape) {
    #more-details span.title, .post-type-archive-projects #work-container .project-title span{
        font-size: 26px;
    }
.post-type-archive-projects #work-container .project-title span{
    font-size: 23px;
}
    .post-type-archive-projects #work-container .project-title span{
        max-width: 100%;
    }
    body.home .bg-big-text{
        /* height: calc(100vh - 0px) !important; */
    }
    
    body.page-id-18 .bg-big-text, body.page-id-21 .bg-big-text{
        height: calc(100vh - 70px) !important;
    }
    
    .post-type-archive-projects .project-title span br{
        display: none;
    }
}

@media screen and (max-width: 768px) and (orientation: landscape) {
    #more-details{
        max-width: 57%;
        margin-left: 10%;
    }
    
    
    
/*    body.page-id-21 #more-details{
        max-width: 170px;
    }*/
    
    .post-type-archive-projects #work-container .mask h3{
        padding-top: 30px;
        padding-bottom: 40px;
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .post-type-archive-projects #work-container .mask h3, .archive.tax-projecttypes #work-container .mask h3{
        font-size: 20px;
        line-height: 23px;
    }
    
    .post-type-archive-projects #work-container .project-title i{
        font-size: 15px;
        line-height: 19px;
    }
    
}

@media screen and (max-width: 600px) and (orientation: landscape) {
    .post-type-archive-projects #work-container .mask h3, .archive.tax-projecttypes #work-container .mask h3{
        font-size: 16px;
        line-height: 19px;
    }
    
    .single-projects #more-details h2, .post-type-archive-projects #work-container .project-title i{
        font-size: 13px;
        line-height: 17px;
    }
    

}



