/*!
Theme Name: tandt
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tandt
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

tandt is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
html{
    min-height:100%;
    min-width:100%;
    -ms-text-size-adjust:none;
}

body,div,dl,dt,dd,ul,ol,li,nav,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td,a{
    margin:0px;
    padding:0px;
    border-width:0px;
    border-style:solid;
    border-color:transparent;
    -webkit-transform-origin:left top;
    -ms-transform-origin:left top;
    -o-transform-origin:left top;
    transform-origin:left top;
    background-repeat:no-repeat;
}


button.submit-btn{
    -moz-box-sizing:content-box;
    -webkit-box-sizing:content-box;
    box-sizing:content-box;
}


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

fieldset,img{
    border:0px;
    border-style:solid;
    -webkit-transform-origin:left top;
    -ms-transform-origin:left top;
    -o-transform-origin:left top;
    transform-origin:left top;
}

address,caption,cite,code,dfn,th,var,optgroup{
    font-style:inherit;
    font-weight:inherit;
}

del,ins{
    text-decoration:none;
}

li{
    list-style:none;
}

caption,th{
    text-align:left;
}

h1,h2,h3,h4,h5,h6{
    font-size:100%;
    font-weight:inherit;
}

input,button,textarea,select,optgroup,option{
    font-family:inherit;
    font-size:inherit;
    font-style:inherit;
    font-weight:inherit;
}

button:focus {outline:0;}

html
{
    height: 100%;
}

body
{
    height: 100%;
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
    text-align: left;
    font-size: 14px;
    line-height: 17px;
    word-wrap: break-word;
    text-rendering: optimizeLegibility;
    -moz-font-feature-settings: 'liga';
    -ms-font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
}

body::before
{
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    height: 75px;
    right: 0;
    background: linear-gradient(to bottom,rgba(0,0,0,0.8) ,rgba(0,0,0,0) 100%);
    z-index: 99;
}

#primary,
#main
{
    height: 100%;
}

a{
    color:inherit;
    text-decoration:inherit;
}


.post-edit-link
{
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    color: #000;
    background-color: #fff;

    -webkit-transition: all 0.325s ease;
    -moz-transition: all 0.325s ease;
    -ms-transition: all 0.325s ease;
    -o-transition: all 0.325s ease;
    transition: all 0.325s ease;
}

.post-edit-link:hover
{
    cursor: pointer;
    color: #fff;
    background-color: #000;
}


/** ********** ********** ********** *
 *                                   *
 *           CUSTOM STYLING          *
 *                                   *
 *  ********** ********** ********** */

html
{
    color: #fff;
    background-color: rgba(0, 0, 0, 0.9);
}

/* body::after {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 268px;
    background-position: top right;
    background-repeat: repeat-y;
    background-color: rgba(0, 0, 0, 0.85);
    opacity: 0.7;
    z-index: 1;
} */

.desktop-only { display: none;  }
.mobile-only  { display: block; }

.entry-content
{
    font-family: "Open Sans", open-sans, sans-serif;
    font-weight: 300;
}

.entry-content h1
{
    font-size: 14px;
    line-height: 22px;
}

.entry-content h4
{
    margin: 20px 0 0;
    padding: 0 0 15px;
    color: #9C7754;
    font-weight: 600;
    line-height: 22px;
}

    .entry-content h4:first-child
    {
        padding-top: 0;
    }

.entry-content p
{
    padding: 0 0 15px;
    /*font-size: 13px;
    line-height: 18px;*/
    font-size: 16px;
    line-height: 22px;
}

.entry-content p.intro
{
	font-size: 20px;
	line-height: 24px;
}

.entry-content p img
{
	max-width: 100%;
	height: auto;
}

/**
 * Header
 */
.site-header
{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 152px;
    padding: 0 90px 0 45px;
    background-color: rgba(0, 0, 0, 0.85);
    transform: translateX(-100%);
    z-index: 2;

    -webkit-transition: transform 0.275s ease;
    -moz-transition: transform 0.275s ease;
    -ms-transition: transform 0.275s ease;
    -o-transition: transform 0.275s ease;
    transition: transform 0.275s ease;
}

    body.show-navigation .site-header
    {
        transform: translateX(0);
    }

#main-menu-toggle-container
{
    position: fixed;
    top: 50px;
    left: 50px;
    /* width: 35.67%; */
    /* height: 98px; */
    /* width: 75px; */
    height: 75px;
    background: url('images/logo.header.png') center left no-repeat;
    background-size: 75px 75px;
    /* background: transparent url("images/t-t_mobile_menu_open.svg") no-repeat left top; */
    /* background-size: contain; */
    cursor: pointer;
    opacity: 1;
    z-index: 100;

    -webkit-transition: opacity 0.275s ease;
    -moz-transition: opacity 0.275s ease;
    -ms-transition: opacity 0.275s ease;
    -o-transition: opacity 0.275s ease;
    transition: opacity 0.275s ease;
}

#home-link
{
    float: left;
    width: 75px;
    height: 75px;
    text-indent: -999em;
    overflow: hidden;
}

.hamburger
{
    position: relative;
    top: 50%;
    transform: translateY(-50%);

    font: inherit;
    display: inline-block;
    overflow: visible;
    /* margin: 0 0 0 75px; */
    padding: 15px;
    cursor: pointer;
    transition-timing-function: linear;
    transition-duration: .15s;
    transition-property: opacity, filter;
    text-transform: none;
    color: inherit;
    border: 0;
    background-color: transparent;
}

    #main-menu-toggle-container:hover .hamburger
    {
        opacity: .7;
    }

.hamburger-box
{
    position: relative;
    display: inline-block;
    width: 30px;
    height: 24px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after
{
    position: absolute;
    width: 30px;
    height: 4px;
    background-color: #9c7653;
    transition-timing-function: ease;
    transition-duration: .15s;
    transition-property: transform;
}

    .hamburger-inner
    {
        display: block;
        top: 50%;
        margin-top: -2px;
        transition-timing-function: cubic-bezier(.55,.055,.675,.19);
        transition-duration: .22s;
    }

    .hamburger-inner::before,
    .hamburger-inner::after
    {
        display: block;
        content: "";
    }

    .hamburger-inner::before
    {
        top: -10px;
        transition: top .1s ease-in .25s,opacity .1s ease-in, width .075s ease-in;
    }

    .hamburger-inner::after
    {
        bottom: -10px;
        transition: bottom .1s ease-in .25s,transform .22s cubic-bezier(.55,.055,.675,.19), width .075s ease-in;
    }

    .hamburger:not(.is-active):hover .hamburger-inner::before
    {
        width: 26px;
    }

    .hamburger:not(.is-active):hover .hamburger-inner::after
    {
        width: 24px;
    }


.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after
{
    background-color: #9c7653;
}

.hamburger.is-active .hamburger-inner
{
    transition-delay: .12s;
    transition-timing-function: cubic-bezier(.215,.61,.355,1);
    transform: rotate(225deg);
}

.hamburger.is-active .hamburger-inner::before
{
    top: 0;
    transition: top .1s ease-out,opacity .1s ease-out .12s;
    opacity: 0;
}

.hamburger.is-active .hamburger-inner::after
{
    bottom: 0;
    transition: bottom .1s ease-out,transform .22s cubic-bezier(.215,.61,.355,1) .12s;
    transform: rotate(-90deg);
}

    /* body.show-navigation #main-menu-toggle-container
    {
        opacity: 0;
    } */

/* #main-menu-toggle
{
    position: relative;
    display: block;
    width: 135px;
    height: 100%;
    text-indent: -999em;
    background: url('images/navigation.closed.png') center right no-repeat;
    background-size: 30px 23px;
    overflow: hidden;
    cursor: pointer;
} */

#site-navigation
{
    padding-top: 165px;
}



/* #header
{
    position: absolute;
    top: 49px;
    left: 45px;
    max-width: 152px;
    z-index: 2;
} */

#header .site-title
{
    position: relative;
}

#header .site-title a
{
    display: block;
    width: 75px;
    height: 75px;
    margin: 45px auto 19px;
    text-indent: -999em;
    background-image: url('images/logo.header.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 75px 75px;
    overflow: hidden;

    -webkit-transition: opacity 0.175s linear;
    -moz-transition: opacity 0.175s linear;
    -ms-transition: opacity 0.175s linear;
    -o-transition: opacity 0.175s linear;
    transition: opacity 0.175s linear;
}

#header .site-title a:hover
{
    opacity: 0.5;
}

#header #close-menu-toggle
{
    position: absolute;
    top: 50%;
    right: -30px;
    width: 30px;
    height: 23px;
    text-indent: -999em;
    background-image: url('images/navigation.opened.png');
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    background-size: 30px 23px;
    transform: translateY(-50%);
    cursor: pointer;
    overflow: hidden;
}

#main-menu
{
    font-family: "Open Sans", open-sans, sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 2px;
    /* text-align: center; */
    text-transform: uppercase;
    overflow: hidden;
}

#main-menu li
{
    position: relative;
    left: -100px;
    padding: 0 0 0 10px;
    opacity: 0;

    transition-timing-function: linear;
    transition-duration: 0.175s;
    transition-property: left, opacity;
    /* transition-delay: 0.25s; */
}

    .show-navigation #main-menu li.show-menu-item
    {
        left: 0;
        opacity: 1;

        /* transition-duration: 0s; */
        /* transition-delay: 0s; */
    }

#main-menu li a
{
    display: block;
    padding: 7px 0;

    -webkit-transition: color 0.175s linear;
    -moz-transition: color 0.175s linear;
    -ms-transition: color 0.175s linear;
    -o-transition: color 0.175s linear;
    transition: color 0.175s linear;
}

#main-menu li a:hover,
#main-menu li.current-menu-item a
{
    /* opacity: 0.5; */
    color: #9c7653;
}


/**
 * Footer
 */
/* #site-footer
{
    position: absolute;
    top: 529px;
    left: 45px;
    max-width: 152px;
    z-index: 2;
} */

#site-footer
{
    position: absolute;
    top: 529px;
    /* left: 45px; */
    width: 100%;
    max-width: 152px;
    opacity: 0;

    transition-timing-function: linear;
    transition-duration: 0.175s;
    transition-property: opacity;
}

    #site-footer.show-footer
    {
        opacity: 1;
    }

#site-footer .logo
{
    display: block;
    width: 100px;
    height: auto;
    margin: 0 0 8px 0;
}

#site-footer .logo img
{
    display: block;
    width: 100%;
    height: 100%;
}


#site-footer p
{
    width: 57px;
    height: 15px;
    margin: 0 0 25px 21px;
    text-indent: -999em;
    background: url("images/footer.png") no-repeat;
    background-size: 98px 90px;
    background-position: -21px -26px;
    overflow: hidden;
}

/*#site-footer p
{
    max-width: 65px;
    margin: 0 0 0 17px;
    padding: 0 0 25px;
    font-size: 7px;
    text-align: justify;
    letter-spacing: 1.4px;
    line-height: 10px;
    font-family: "Open Sans", open-sans, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
}*/

#footer-menu
{
    width: 100px;
    margin: 0;
    padding: 8px 0 0;
    border-top: 4px solid #fff;
    font-size: 0;
    text-align: center;
    overflow: hidden;
}

#footer-menu li
{
    display: inline-block;
    padding: 0 2px;
}

#footer-menu li a
{
    display: block;
    text-indent: -999em;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;

    -webkit-transition: opacity 0.175s linear;
    -moz-transition: opacity 0.175s linear;
    -ms-transition: opacity 0.175s linear;
    -o-transition: opacity 0.175s linear;
    transition: opacity 0.175s linear;
}

    #footer-menu li.footer-link-behance a
    {
        width: 26px;
        height: 16px;
        background-image: url('images/logo.behance.svg');
        background-size: 26px 16px;
    }

    #footer-menu li.footer-link-linkedin a
    {
        width: 18px;
        height: 17px;
        background-image: url('images/logo.linkedin.svg');
        background-size: 18px 17px;
    }

    #footer-menu li.footer-link-pinterest a
    {
        width: 15px;
        height: 18px;
        background-image: url('images/logo.pinterest.svg');
        background-size: 15px 18px;
    }

    #footer-menu li.footer-link-instagram a
    {
        width: 18px;
        height: 18px;
        background-image: url('images/logo.instagram.svg');
        background-size: 18px 18px;
    }

#footer-menu li a:hover
{
    opacity: 0.5;
}


/**
 * Main area
 */


/**
 * Design with a difference page
 */
.page-id-6 #primary
{
    padding: 105px 0 106px;
}

.page-id-6 #main .entry-header
{
    width: 570px;
    min-height: 119px;
    margin-left: 24.25%;
}

.page-id-6 #main .entry-content,
.page-id-6 #main .sub-content
{
    margin: 85px 0 0 24.25%;
}

.page-id-6 #main .entry-content
{
    width: 44.88%;
    margin-top: 24px;
}

.page-id-6 #main .hero
{
    background-size: cover;
}

.page-id-6 #main .disciplines
{
    width: 44.88%;
    margin: 50px 0 123px 24.25%;
    font-family: "Open Sans", open-sans, sans-serif;
    font-size: 15px;
    line-height: 23px;
    font-weight: 300;
    color: #7F7F7F;
    text-transform: uppercase;
    overflow: hidden;
}

.page-id-6 #main .disciplines p
{
    min-height: 43px;
}

.page-id-6 #main .disciplines img
{
    float: left;
    width: 50%;
}

.page-id-6 h1.entry-title,
.page-id-6 h3.sub-title
{
    font-family: "Open Sans", open-sans, sans-serif;
    font-size: 40px;
    line-height: 59px;
    font-weight: 300;
    text-transform: uppercase;
}

    .page-id-6 h3.sub-title
    {
        font-size: 30px;
        line-height: 44px;
    }

    .page-id-6 h1.entry-title::after,
    .page-id-6 h3.sub-title::after
    {
        content: "\2014";
        display: block;
        font-size: 28px;
        line-height: 41px;
    }

.page-id-6 p.intro
{
    padding-bottom: 47px;
}

.page-id-6 .companies
{
    width: 48.32%;
    margin: 36px 0 0 22.88%;
    overflow: hidden;
}

.page-id-6 .companies li
{
    float: left;
    width: 14.28%;
}

    .page-id-6 .companies li:nth-child(8)
    {
        clear: both;
    }

.page-id-6 .companies li img
{
    display: block;
    width: 100%;
    height: auto;
}


.page-id-8 #main
{
    float: left;
}


/**
 * Contact page
 */
.page-id-10 #primary
{
    padding: 216px 0 0;
}

.page-id-10 .entry-content .column:last-child p:last-child
{
    padding-bottom: 0;
}

/* .page-id-10 #main
{
    display: flex;
} */

.map-container
{
    position: relative;
    /* overflow: hidden; */

    /* float: left;
    width: 100%;
    max-width: 54.51%;
    height: 701px;
    margin-left: 18.69%; */
}

.map-container span
{
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.map-image
{
    position: relative;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
}

.map-link
{
    position: absolute;
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    text-indent: -999em;
    background-color: rgba(0, 0, 0, 0.8);
    background-image: url('images/get-directions.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 175% 175%;
    opacity: 0;
    overflow: hidden;

    -webkit-transition: opacity 0.5s linear;
    -moz-transition: opacity 0.5s linear;
    -ms-transition: opacity 0.5s linear;
    -o-transition: opacity 0.5s linear;
    transition: opacity 0.5s linear;
}

.map-link:hover
{
    opacity: 1;
}

article
{
    box-sizing: border-box;
}

    .page-id-10 article
    {
        align-self: flex-end;
        /* margin-bottom: -15px; */
        padding-left: 45px;
    }


/**
 * Portfolio
 */
.single-portfolio .entry-content
{
    max-width: 1100px;
max-width: 50%;
    margin: 0 auto 0 95px;
margin: 0 auto;
    padding: 45px;
    color: #fff;
}

.single-portfolio .entry-content-inner
{
    box-sizing: border-box;
    overflow: hidden;
}

.single-portfolio .entry-content-inner .entry-content-left,
.single-portfolio .entry-content-inner .entry-content-right
{
    width: 100%;
    box-sizing: border-box;
}

    .single-portfolio .entry-content-inner .entry-content-left
    {
        float: left;
        max-width: 73%;
        /* max-width: 806px; */
    }

    .single-portfolio .entry-content-inner .entry-content-right
    {
        float: right;
        max-width: 25%;
        /* max-width: 294px; */
    }

.single-portfolio .entry-content-inner .content-image
{
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.single-portfolio .entry-header
{
    display: none;
}

.portfolio-attachments
{
    text-align: center;
}

.portfolio-attachments li.has-video
{
    position: relative;
    /* height: 0; */
    /* padding-bottom: 56.25%; */
    /* padding-top: 25px; */
}

    .portfolio-attachments li.has-video::before
    {
        content: "";
        display: block;
        padding-top: 56.25%;
    }

    .portfolio-attachments li.has-video iframe
    {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.portfolio-attachments li.attachment-size-full
{
    clear: both;
}

.portfolio-attachments li.attachment-size-half
{
    display: inline-block;
    width: 50%;
    margin: 0 0 -4px;
}

.portfolio-attachments li img,
.featured-image img
{
    display: block;
    width: 100%;
    height: auto;
}

.portfolio-return-link
{
    position: fixed;
    top: 72px;
    right: 50px;
    width: 30px;
    height: 30px;
    text-indent: -999em;
    background: url("images/back.png") center no-repeat;
    background-size: 30px 30px;
    overflow: hidden;
    z-index: 99;
}

.entry-content h1,
.entry-content h2
{
    /* color: #9c7653; */
    color: #808080;
    font-weight: 700;
}

.next-link-container
{
}

.next-link-container a
{
    display: block;
    padding: 90px 0;
    text-align: center;
}


/**
 * Support for >1600
 */
@media only screen and (min-width: 1600px)
{
    .page-id-10
    {
        min-height: 1073px;
    }

    /* #header
    {
        top: 78px;
        left: 66px;
    } */

    #header .site-title a
    {
        margin-bottom: 45px;
    }

    #main-menu li a
    {
        padding: 8px 0;
    }

    #site-footer
    {
        top: 814px;
        left: 58px;
    }

    #site-footer .logo
    {
        /* width: 152px; */
        /* height: 26px; */
        margin-bottom: 8px;
    }

    /* #primary
    {
        padding-top: 268px;
    } */

    .map-container
    {
        max-width: 56.88%;
        margin-left: 16.36%;
    }
}


/**
 * Blog
 */
@media only screen and (min-width: 1801px)
{
    .mobile-only  { display: none;  }
    .desktop-only { display: block; }

    .page-id-8 #main
    {
        width: 1406px;
        min-height: 2901px;
        position: relative;
        margin-right: -10000px;
        margin-top: 133px;
        margin-left: 50%;
        left: -489px;
    }

    .page-id-10 #main
    {
        display: flex;
        max-height: 701px;
    }

    .map-container
    {
        float: left;
        width: 100%;
        max-width: 54.51%;
        height: 701px;
        margin-left: 18.69%;
    }

    .map-image
    {
        width: auto;
        height: 701px;
    }
}

@media only screen and (max-width: 1800px) and (min-width: 1601px)
{
    .mobile-only  { display: none;  }
    .desktop-only { display: block; }

    .page-id-8 #main
    {
        width: 1203px;
        min-height: 2901px;
        position: relative;
        margin-right: -10000px;
        margin-top: 133px;
        margin-left: 50%;
        left: -494px;
    }

    .page-id-10 #main
    {
        display: flex;
        max-height: 701px;
    }

    .map-container
    {
        float: left;
        width: 100%;
        max-width: 56.89%;
        height: 701px;
        margin-left: 18.69%;
    }

    .map-image
    {
        width: auto;
        height: 701px;
    }

    .entry-content
    {
        max-width: 1100px;
    }
}

@media only screen and (max-width: 1600px) and (min-width: 1201px)
{
    .mobile-only  { display: none;  }
    .desktop-only { display: block; }

    .page-id-8 #main
    {
        width: 970px;
        min-height: 2901px;
        position: relative;
        margin-right: -10000px;
        margin-top: 133px;
        margin-left: 50%;
        left: -360px;
    }

    .map-image
    {
        width: auto;
        height: 701px;
    }

    .page-id-10 #main
    {
        display: flex;
        max-height: 701px;
    }

    .map-container
    {
        float: left;
        width: 100%;
        max-width: 54.51%;
        height: 701px;
        margin-left: 18.69%;
    }
}

@media only screen and (max-width: 1200px) and (min-width: 769px)
{
    .page-id-8 #main
    {
        float: none;
        /* width: 1406px; */
        min-height: 2901px;
        position: relative;
        margin-top: 49px;
    }

    .entry-content
    {
        max-width: 650px;
    }

    .page-id-10 #primary
    {
        padding-top: 167px;
    }

    .page-id-10 article
    {
        padding-left: 123px;
        padding-bottom: 67px;
    }

    .page-id-10 article p
    {
        font-size: 13px;
        line-height: 18px;
    }

    .page-id-10 .columns
    {
        display: flex;
    }

    .page-id-10 .columns .column
    {
        width: 300px;
        min-height: 208px;
    }

        .page-id-10 .columns .column:first-child
        {
            margin-right: 34px;
        }
}

@media only screen and (max-width: 1024px) and (min-width: 769px)
{
    .entry-content p.intro
    {
        /*font-size: 35px;
        line-height: 39px;*/
    }

    .page-id-6 #primary
    {
        padding-top: 144px;
    }

    .page-id-6 #main .entry-header,
    .page-id-6 #main .entry-content,
    .page-id-6 #main .disciplines,
    .page-id-6 #main .sub-content,
    .page-id-6 .companies
    {
        width: 72.95%;
        margin-left: 12.21%;
    }

    DISABLED.page-id-6 #main .disciplines img
    {
        float: none;
        display: block;
        width: 100%;
    }

        DISABLED.page-id-6 #main .disciplines img:last-child
        {
            margin-top: 34px;
        }

    .page-id-10 .map-image
    {
        width: auto;
        height: 634px;
    }
}

@media only screen and (max-width: 768px) and (min-width: 415px)
{
    .page-id-6 h1.entry-title
    {
        font-size: 30px;
        line-height: 44px;
    }

    .page-id-6 h3.sub-title
    {
        font-size: 24px;
        line-height: 35px;
    }

    .entry-content p.intro
    {
        padding-bottom: 28px;
        /*font-size: 22px;
        line-height: 24px;*/
    }

    .page-id-6 #primary
    {
        padding-top: 121px;
    }

    .page-id-6 #main .entry-header,
    .page-id-6 #main .entry-content,
    .page-id-6 #main .disciplines,
    .page-id-6 #main .sub-content,
    .page-id-6 .companies
    {
        width: 67.32%;
        margin-left: 16.15%;
    }

    .page-id-6 #main .entry-header
    {
        min-height: 60px;
    }

    .page-id-6 .companies li
    {
        width: 33%;
    }

        .page-id-6 .companies li:nth-child(8) { clear: none; }

    .page-id-6 #main .disciplines img
    {
        float: none;
        display: block;
        width: 100%;
    }

        .page-id-6 #main .disciplines img:last-child
        {
            margin-top: 21px;
        }

    .page-id-8 #main
    {
        float: none;
        padding-top: 90px;
        min-height: 3224px;
    }

    .page-id-10 #primary
    {
        padding-top: 157px;
    }

    .page-id-10 article
    {
        width: 400px;
        padding-left: 16.67%;
        padding-bottom: 46px;
    }

    .page-id-10 article p
    {
        font-size: 13px;
        line-height: 18px;
    }

    .page-id-10 .map-image
    {
        width: auto;
        height: 500px;
    }
}

@media only screen and (max-width: 414px) and (min-width: 321px)
{
    #main-menu-toggle-container
    {
        height: 50px;
        background-size: 50px 50px;
    }

    #main-menu-toggle-container .hamburger
    {
        /* margin-left: 50px; */
    }

    .portfolio-return-link
    {
        top: 42px !important;
    }

    #home-link
    {
        width: 50px;
    }

    #main-menu-toggle
    {
        width: 100px;
    }

    .page-id-6 h1.entry-title
    {
        font-size: 30px;
        line-height: 33px;
    }

    .page-id-6 h3.sub-title
    {
        font-size: 24px;
        line-height: 26px;
    }

    .page-id-6 #primary
    {
        padding-top: 119px;
    }

    .page-id-6 #main .entry-header,
    .page-id-6 #main .entry-content,
    .page-id-6 #main .disciplines,
    .page-id-6 #main .sub-content,
    .page-id-6 .companies
    {
        width: auto;
        margin-right: 5.56%;
        margin-left: 5.56%;
    }

        .page-id-6 #main .entry-content
        {
            margin-top: 8px;
        }

    .page-id-6 .companies li
    {
        width: 33%;
    }

        .page-id-6 .companies li:nth-child(8) { clear: none; }

    .page-id-6 #main .disciplines img
    {
        float: none;
        display: block;
        width: 100%;
    }

        .page-id-6 #main .disciplines img:last-child
        {
            margin-top: 21px;
        }

    .entry-content p.intro
    {
        padding-bottom: 28px;
        /*font-size: 22px;
        line-height: 26px;*/
    }

    .page-id-8 #main
    {
        float: none;
        padding-top: 90px;
        min-height: 3224px;
    }

    .page-id-10 #primary
    {
        padding-top: 157px;
    }

    .page-id-10 article
    {
        width: 300px;
        /* padding-left: 16.67%; */
        padding-left: 8%;
        padding-bottom: 46px;
    }

    .page-id-10 article p
    {
        font-size: 13px;
        line-height: 18px;
    }

    .page-id-10 .map-image
    {
        width: auto;
        height: 500px;
    }
}

@media only screen and (max-width: 320px)
{
    #main-menu-toggle-container
    {
        height: 50px;
        background-size: 50px 50px;
    }

    #home-link
    {
        width: 50px;
        height: 50px;
    }

    #main-menu-toggle
    {
        width: 100px;
    }

    .page-id-6 h1.entry-title
    {
        font-size: 30px;
        line-height: 33px;
    }

    .page-id-6 h3.sub-title
    {
        font-size: 24px;
        line-height: 26px;
    }

    .page-id-6 #primary
    {
        padding-top: 119px;
    }

    .page-id-6 #main .entry-header,
    .page-id-6 #main .entry-content,
    .page-id-6 #main .disciplines,
    .page-id-6 #main .sub-content,
    .page-id-6 .companies
    {
        width: auto;
        margin-right: 5.56%;
        margin-left: 5.56%;
    }

        .page-id-6 #main .entry-content
        {
            margin-top: 8px;
        }

    .page-id-6 .companies li
    {
        width: 33%;
    }

        .page-id-6 .companies li:nth-child(8) { clear: none; }

    .page-id-6 #main .disciplines img
    {
        float: none;
        display: block;
        width: 100%;
    }

        .page-id-6 #main .disciplines img:last-child
        {
            margin-top: 21px;
        }

    .entry-content p.intro
    {
        padding-bottom: 28px;
        /*font-size: 22px;
        line-height: 26px;*/
    }

    .page-id-8 #main
    {
        float: none;
        padding-top: 90px;
        min-height: 2792px;
    }

    .page-id-10 #primary
    {
        padding-top: 157px;
    }

    .page-id-10 article
    {
        width: 100%;
        max-width: 300px;
        /* padding-left: 6.25%; */
        padding-left: 30px;
        padding-bottom: 46px;
    }

    .page-id-10 article p
    {
        font-size: 13px;
        line-height: 18px;
    }

    .page-id-10 .map-image
    {
        width: auto;
        height: 306px;
    }
}


@media only screen and (max-width: 1200px)
{
    /* .single-portfolio .entry-content-inner .entry-content-left { max-width: 60%; } */
    /* .single-portfolio .entry-content-inner .entry-content-right { max-width: 30%; } */
}


/**
 * Support for "mobile"
 */
@media only screen and (max-width: 768px)
{
    .site-header
    {
        max-width: 100%;
        padding: 0;

        -webkit-transition: none;
        -moz-transition: none;
        -ms-transition: none;
        -o-transition: none;
        transition: none;
    }

    #main-menu-toggle-container
    {
        top: 30px;
        left: 30px;
        /* left: 50%; */
        /* transform: translateX(-50%); */
    }

    #main-menu-toggle-container .hamburger
    {
        transform: scale(0.85) translateY(-50%);
    }

    .portfolio-return-link
    {
        top: 52px;
        right: 30px;
        transform: scale(0.85);
    }

    /* #header #close-menu-toggle
    {
        right: auto;
        left: 50%;
        margin-left: 75px;
    } */

    #site-navigation
    {
        position: absolute;
        top: 50%;
        /* left: 50%; */
        padding-top: 0;
        transform: translateY(-50%);
    }

    #site-navigation li
    {
        padding: 0 30px;
        /* padding: 8px 0; */
    }

    #site-footer
    {
        top: auto;
        bottom: 10px;
        max-width: 100%;
        padding: 0 30px;
    }

    /* .entry-content
    {
        max-width: 80%;
    } */

    .entry-content-inner
    {
        width: 100%;
    }

    .single-portfolio .entry-content
    {
		max-width: 100%;
        margin: 0;
        padding: 0;
    }

    .single-portfolio .entry-content-inner
    {
        width: 100%;
        margin: 0;
        padding: 25px;
    }

    .single-portfolio .entry-content-inner .entry-content-left,
    .single-portfolio .entry-content-inner .entry-content-right
    {
        float: none;
        width: auto;
        max-width: 100%;
        margin: 0 0 10px;
    }
}