/*
Theme Name: Wood and Grieve
Theme URI: #
Author: Tyrone Prieto
Author URI: #
Description: Full Responsive Theme
Version: 1.0
License: GNU General Public License
License URI: license.txt
Tags: blue, light, white, black, gray, one-column, two-columns, custom-header
*/


 *, *:before, *:after {

    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
         -o-box-sizing: border-box;
            box-sizing: border-box;
    
    outline: none;
}

html, body { 
    height: 100%;
    -webkit-text-size-adjust: 100%;
       -moz-text-size-adjust: 100%; 
        -ms-text-size-adjust: 100%; 
         -o-text-size-adjust: 100%; 
            text-size-adjust: 100%; 

    -webkit-tap-highlight-color: transparent;
       -moz-tap-highlight-color: transparent;
        -ms-tap-highlight-color: transparent;
         -o-tap-highlight-color: transparent;
            tap-highlight-color: transparent;
}


body {
    
    color: #5c5c5c;
    font: normal 14px/22px sans-serif;

}

h1, h2, h3, h4, h5, h6, p {
    font-weight: normal;
    margin: 0 0 20px;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 110%;
    color: #bf2e1a;
    font-family: sans-serif;
}

h1, h2 {
    font-weight: bold;
    color: #000000;
}

h1 { font-size: 30px;}
h2 { font-size: 24px;}
h3 { font-size: 20px;}
h4 { font-size: 18px;}
h5 { font-size: 16px;}
h6 { font-size: 14px; font-weight: bold;}

p {
    clear: left;
}

ol, ul {
    list-style-position: outside;
    margin: 0 0 15px 15px;
}

ol ol, ul ul {
    margin-left: 25px;
    margin-bottom: 0;
}

input, textarea { -webkit-appearance: none; resize: none; padding: 5px 3px; }



input[type=text], input[type=password], input[type=email], textarea {
    
    background: #FFF;
    border: 1px solid #e0e0e0;

    font-family: sans-serif;
    font-size: inherit;

    min-height: 25px;
    min-width: 150px;

    -webkit-border-radius: 2px;
       -moz-border-radius: 2px;
        -ms-border-radius: 2px;
         -o-border-radius: 2px;
            border-radius: 2px;
}

textarea {
    width: 90%;
    min-height: 100px;
}

input[type="radio"] { -webkit-appearance: radio; }
input[type="checkbox"] { -webkit-appearance: radio; }

input[type=submit] { cursor: pointer; }


a, a:active, a:visited { 
    color: #1982d1; 
    text-decoration: none
}
a:hover { 
    color: #faaf00;
}

iframe {
    max-width: 100%;
}

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

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* Alignment */
img.alignright  {float:right; margin:0 0 20px 20px;}
img.alignleft   {float:left; margin:0 20px 20px 0}
img.aligncenter {display: block; margin: 0 auto;}

div.accordion {
   margin: 0 20px 0 0;
}
div.accordion dl .hide { display: none;}
div.accordion dl dt, div.accordion dl dd { margin: 0; padding: 0;}
div.accordion dl dt {
   cursor: pointer;
   color: #ffffff;
   background: #939393;
   padding: 12px;
   margin: 0 0 1px;
}

div.accordion dl dt.selected {
    background: #757575;
    font-weight: bold;
}

div.accordion dl dd {
   padding: 5px;
}

.ngg-galleryoverview .slideshowlink {
    display: none;
}
    .ngg-galleryoverview .ngg-gallery-thumbnail-box {
        margin: 0 3px 6px;
        padding: 0;
        border: none;
    }
    .ngg-galleryoverview .ngg-gallery-thumbnail-box img { 
        padding: 0; 
        margin: 0;
        background: none;
        border: none;
    }

/* Bar Full
-------------------------------------------------------------------------------------------------------------------------------------------------*/
.bar-full {
    margin: 0 0 35px;
    clear: left;
}
.bar-full h3 {
    color: #ffffff;
    font-family: "Source Sans Pro",sans-serif;
    font-size: 34px;
    font-weight: 300px;
    padding: 22px 0;
    margin: 0;
    text-align: center;
    position: relative;
}

.bar-full h3:after {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(255, 255, 255, 0);
    
    border-width: 15px;
    margin-left: -15px;

}

.bar-full.red { background: #bf2e1a;}
    .bar-full.red h3:after { border-top-color: #bf2e1a;}
.bar-full.green { background: #87a90f; }
    .bar-full.green h3:after { border-top-color: #87a90f;}

/* Responsive Image Grid
-------------------------------------------------------------------------------------------------------------------------------------------------*/
.ri-grid{
    margin: 30px auto 30px;
    position: relative;
    height: auto;
}

.ri-grid ul {
    list-style: none;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}


.ri-grid ul:before,
.ri-grid ul:after{
    content: '';
    display: table;
}

.ri-grid ul:after {
    clear: both;
}

.ri-grid ul {
    zoom: 1; /* For IE 6/7 (trigger hasLayout) */
} 

.ri-grid ul li {
    -webkit-perspective: 400px;
    -moz-perspective: 400px;
    -o-perspective: 400px;
    -ms-perspective: 400px;
    perspective: 400px; 
    margin: 0;
    padding: 0;
    float: left;
    position: relative;
    display: block;
    overflow: hidden;
    background: #000;
}

.ri-grid ul li a{
    display: block;
    outline: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-background-size: 100% 100%;
    -moz-background-size: 100% 100%;
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #333;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

/* Grid wrapper sizes */
.ri-grid-size-1{
    width: 55%;
}
.ri-grid-size-2{
    width: 100%;
}
.ri-grid-size-3{
    width: 100%;
    margin-top: 0px;
}

/* Shadow style */
.ri-shadow:after,
.ri-shadow:before{
    content: "";
    position: absolute;
    z-index: -2;
    bottom: 15px;
    left: 10px;
    width: 50%;
    height: 20%;
    max-width: 300px;
    max-height: 100px;
    box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
    -webkit-transform: rotate(-3deg);
    -moz-transform: rotate(-3deg);
    -ms-transform: rotate(-3deg);
    -o-transform: rotate(-3deg);
    transform: rotate(-3deg);
}
.ri-shadow:after{
    right: 10px;
    left: auto;
    -webkit-transform: rotate(3deg);
    -moz-transform: rotate(3deg);
    -ms-transform: rotate(3deg);
    -o-transform: rotate(3deg);
    transform: rotate(3deg);
}

.ri-grid-loading:after,
.ri-grid-loading:before{
    display: none;
}

.ri-loading-image{
    display: none;
}

.ri-grid-loading .ri-loading-image{
    position: relative;
    width: 30px;
    height: 30px;
    left: 50%;
    margin: 100px 0 0 -15px;
    display: block;
}

.pagination .wp-pagenavi span.current, .pagination .wp-pagenavi a:hover { 
    background-color: #3180AE; 
}

.pagination .wp-pagenavi a, .pagination .wp-pagenavi span { 
    margin: 0 2px 5px;
    border: 0;
    display: inline-block;
    float: left;
    font-weight: 400;
    line-height: 1.2em;
    text-decoration: none;
    background-color: #0a446e;
    color: #FFFFFF;
    padding: 5px 8px;
    
    -webkit-border-radius: 3px;  
       -moz-border-radius: 3px;  
         -o-border-radius: 3px;  
            border-radius: 3px;
    
}

ul.column-list {

padding: 0;
margin: 0;

-webkit-column-gap: 10px;
   -moz-column-gap: 10px;
    -ms-column-gap: 10px;
     -o-column-gap: 10px;
        column-gap: 10px;

-webkit-column-rule: none;
   -moz-column-rule: none;
    -ms-column-rule: none;
     -o-column-rule: none;
        column-rule: none;

}

ul.column-list.five {
	-webkit-column-count: 5;
       -moz-column-count: 5;
        -ms-column-count: 5;
         -o-column-count: 5;
            column-count: 5;
}

ul.column-list.four {
	-webkit-column-count: 4;
       -moz-column-count: 4;
        -ms-column-count: 4;
         -o-column-count: 4;
            column-count: 4;
}

ul.column-list.three {
	-webkit-column-count: 3;
       -moz-column-count: 3;
        -ms-column-count: 3;
         -o-column-count: 3;
            column-count: 3;
}

ul.column-list.two {
	-webkit-column-count: 2;
       -moz-column-count: 2;
        -ms-column-count: 2;
         -o-column-count: 2;
            column-count: 2;
}

ul.column-list li {
	margin: 0;
	padding: 0;
	list-style: none outside;
}

.highlight-full-wrapper {
    background: #e3e2e0 ;
    padding: 20px 0;
    margin: 0 0 20px;
}

.highlight-full-wrapper > .container12 .column12 > section {
    margin-bottom: 20px;
}

.highlight-full-wrapper > .container12 .column12 > section:last-child {
    margin-bottom: 0;
}

.bar-full.red + .container12 h1, .bar-full.red + .container12 h2, .bar-full.red + .container12 h3,
.bar-full.red + .container12 h4, .bar-full.red + .container12 h5, .bar-full.red + .container12 h6,
.bar-full.red + .container12 h1 a, .bar-full.red + .container12 h2 a, .bar-full.red + .container12 h3 a,
.bar-full.red + .container12 h4 a, .bar-full.red + .container12 h5 a, .bar-full.red + .container12 h6 a{
    color: #bf2e1a;
}

.bar-full.green + .container12 h1, .bar-full.green + .container12 h2, .bar-full.green + .container12 h3,
.bar-full.green + .container12 h4, .bar-full.green + .container12 h5, .bar-full.green + .container12 h6,
.bar-full.green + .container12 h1 a, .bar-full.green + .container12 h2 a, .bar-full.green + .container12 h3 a,
.bar-full.green + .container12 h4 a, .bar-full.green + .container12 h5 a, .bar-full.green + .container12 h6 a {
    color: #87a90f;
}

div.timeline_element .title { display: none;}

/* People: Single;
-------------------------------------------------------------------------------------------------------------------------------------------------*/

body.single-cpt_people .column6 img.profile-pic {
    float: left;
    margin-right: 20px;
}

body.single-cpt_people .primary-info-wrapper ul {
	margin: 0 0 20px;
}
body.single-cpt_people .primary-info-wrapper ul li {
	list-style: none outside;
}

body.single-cpt_people .testimonials-wrapper, body.single-cpt_people .previous-projects-wrapper {
	background: #eeeeee;
	padding: 20px;
	margin: 0 0 20px;
    clear: left;
}


body.single-cpt_people .content-blocks-wrapper article { display: inline-block; vertical-align: top; width: 50%; float: left;}

body.single-cpt_people .content-blocks-wrapper article:nth-child(odd) { margin-right: 1.5%; width: 48.5%;}
body.single-cpt_people .content-blocks-wrapper article:nth-child(even) { margin-left: 1.5%; width: 48.5%;}


body.single-cpt_people .content-blocks-wrapper article.full {
    width: 100%;
    clear: left;
}

body.single-cpt_people .previous-projects-wrapper section h4 a{
    color: #1982d1 !important;
}

body.single-cpt_people .testimonials-wrapper section {
    display: inline-block;
    width: 100%;
    border-bottom: 1px solid #d4d4d4;
    margin-bottom: 20px;
}

body.single-cpt_people .testimonials-wrapper section:last-child {
    border: none;
}

body.single-cpt_people .testimonials-wrapper section h5 {
    line-height: 22px;
    color: #5c5c5c;
    font-weight: bold;
}
body.single-cpt_people .testimonials-wrapper section h5 span{
   display: inline-block;
}

body.single-cpt_people .testimonials-wrapper section p {
    position: relative;
}
body.single-cpt_people .testimonials-wrapper section p:first-child:before{
    content: '"';
}
body.single-cpt_people .testimonials-wrapper section p:nth-last-of-type(1):after{
    content: '"';
}

body.single-cpt_people .testimonials-wrapper section h5 span.name {
    font-weight: bold;
}

body.single-cpt_people .testimonials-wrapper section h5 span.company,body.single-cpt_people .testimonials-wrapper section h5 span.position {
    font-size: 95%;
}

.button-group {
    margin: 0 0 20px;
    padding: 0;
    display: inline-block;
    width: 100%;
    clear: left;
}

ul.people-grid li.people-item,
ul.project-grid li.project-item {
    width: 120px;
    list-style: none outside;
    margin: 2px 8px 2px 2px;
}
    ul.people-grid li.people-item img,
    ul.project-grid li.project-item img {
        display: block;
        min-width: 120px;
        min-height: 120px;
        max-height: 120px;
        max-width: 120px;
    }

    ul.people-grid li.people-item a,
    ul.project-grid li.project-item a {
        font-size: 11px;
        font-weight: bold;
        color: #bf2e1a;
        text-decoration: none;

        white-space: nowrap;
        overflow: hidden;
        width: 120px;
        float: left;
        text-overflow: ellipsis;
    }

    ul.project-grid li.project-item a {
        width: 150px;
        white-space: normal;
        overflow: visible;
        line-height: 1.4;
    }

ul.project-grid li.project-item {
    width: 150px;
}

    ul.project-grid li.project-item img {
        min-width: 150px;
        min-height: 76px;
        max-height: 76px;
        max-width: 150px;
        margin-bottom: 4px;
    }

    ul.project-grid li.project-item p {
        font-size: 11px; margin: 0px 0px 4px; line-height: 1.2; }

/* Page: About > Staff Videos;
-------------------------------------------------------------------------------------------------------------------------------------------------*/
#staff-videos-wrapper .threecol-one {
    width: 33%;
    float: left;
}
    #staff-videos-wrapper .threecol-one h4{
        color: #5c5c5c
    }

    #staff-videos-wrapper .threecol-one a {
        color: #1982d1
    }

/* Page: About > What We Stand For;
-------------------------------------------------------------------------------------------------------------------------------------------------*/
    /*#what-we-stand-wrapper > section {
        float: left;
        width: 25%;
        padding: 0 15px;
    }

     #what-we-stand-wrapper > section.full {
        width: 100%;
    }

    #what-we-stand-wrapper > section.full img {
        width: 100%;
        height: auto;
    }

    #what-we-stand-wrapper > section.half {
        width: 50%;
    }

    */

    #what-we-stand-wrapper > section.column {
        width: 260px;
        margin: 0 10px 20px;
        height: 214px;
        position: relative;
        float: left;
    }

    #what-we-stand-wrapper > section.column > .featured-image-wrapper {
        position: absolute;
        left: 0;
        top: 0;
        z-index: 5;
    }
    #what-we-stand-wrapper > section.column > .text, #what-we-stand-wrapper > section.column > .text a {
        
        text-decoration: none;
    } 

      
    #what-we-stand-wrapper > section.column > .text {
        position: absolute;
        z-index: 6;
        bottom: 0;
        width: 100%;
        background: rgba(0,0,0,0.75);
        padding: 10px 10px;
        color: #fff;
    }

    #what-we-stand-wrapper > section.column:hover > .text {
        background: #000;
    }
   

/* Page: Work;
-------------------------------------------------------------------------------------------------------------------------------------------------*/
#work-wrapper ul li {
    list-style: none outside;
    min-height: 170px;
    padding: 0 0 0 72px;
    position: relative;
    display: inline-block;
    width: 50%;
    float: left;
}


#work-wrapper ul li > img.icon {
    position: absolute;
    left: 0;
    top: 0;
}

    

    #work-wrapper ul li > h2.title {
        font-size: 18px;
        font-weight: normal;
    }



    #work-wrapper ul li h2, #work-wrapper ul li h3, #work-wrapper ul li h4, #work-wrapper ul li h5, #work-wrapper ul li h6 {
        font-size: 14px;
        color: #5c5c5c;
    }

    #work-wrapper ul li:nth-child(odd) {
        padding-right: 20px;
    }


    #work-wrapper ul li:nth-child(even) {
        padding-left: 92px;
    }

        #work-wrapper ul li:nth-child(even) > img.icon {
            position: absolute;
            left: 20px;
            top: 0;
        }    

/* Work / Project: Single;
-------------------------------------------------------------------------------------------------------------------------------------------------*/

body.single-cpt_work .advice-wrapper section, body.page-template-template-work-modular-bim .advice-wrapper section {
    padding: 20px;
    background: #fff8f3;
}

body.single-cpt_work ul li {
    margin-bottom: 15px;
    margin-right: 15px;
}

body.single-cpt_work .highlight-full-wrapper ul, 
body.single-cpt_people .previous-projects-wrapper .project-wrapper ul, 
body.single-cpt_project .highlight-full-wrapper ul, 
body.single-cpt_project .column4 ul,
body.page-template-template-work-modular-bim .highlight-full-wrapper ul{
    list-style: none outside;
    margin: 0;
    padding: 0;
}
    body.single-cpt_people .previous-projects-wrapper section {
        margin-bottom: 20px;
    }

    body.single-cpt_people .previous-projects-wrapper section p {
        margin-bottom: 0;
    }

    body.single-cpt_work .advice-wrapper .advice, body.page-template-template-work-modular-bim .advice-wrapper .advice, .woo-sc-quote {
        background: url(images/quote.png) no-repeat left top;
        padding-left: 55px;
        min-height: 50px;
    }

    body.single-cpt_people img.profile-pic, body.single-cpt_work .advice-wrapper img.profile-pic, body.page-template-template-work-modular-bim .advice-wrapper img.profile-pic {
        display: inline-block;
        vertical-align: middle;
        margin-bottom: 0 10px 0 0;
        
        /*       
        max-height: 70px;
        max-width: 70px;

        -webkit-border-radius: 50%;
           -moz-border-radius: 50%;
            -ms-border-radius: 50%;
             -o-border-radius: 50%;
                border-radius: 50%;
        */
    }

    body.single-cpt_work .highlight-full-wrapper h3, body.single-cpt_work .highlight-full-wrapper h4,
    body.page-template-template-work-modular-bim .highlight-full-wrapper h3, body.page-template-template-work-modular-bim .highlight-full-wrapper h4 {
        color: #87a90f;
    }
    
    body.single-cpt_project .column4 ul {
        margin-bottom: 20px;
    }

    body.single-cpt_work .highlight-full-wrapper ul li, 
    body.single-cpt_people .previous-projects-wrapper .project-wrapper ul li, 
    body.single-cpt_project .highlight-full-wrapper ul li,
    body.single-cpt_project .column4 ul li,
    body.page-template-template-work-modular-bim .highlight-full-wrapper ul li
    {
        display: inline-block;
        margin-right: 15px;
        margin-bottom: 15px;
    }

    body.single-cpt_work .highlight-full-wrapper section.people-wrapper ul li, 
    body.single-cpt_project .column4 section.people-wrapper ul li {
        width: 150px;
        min-height: 150px;
        vertical-align: top;
    }

    body.single-cpt_work .highlight-full-wrapper section.people-wrapper ul li img, body.single-cpt_project .column4 section.people-wrapper ul li img,
    body.page-template-template-work-modular-bim .highlight-full-wrapper section.people-wrapper ul li img {
        min-width: 150px;
        min-height: 150px;
        max-height: 150px;
        max-width: 150px;
    }

    body.single-cpt_work .highlight-full-wrapper section.people-wrapper ul li span.name, body.page-template-template-work-modular-bim .highlight-full-wrapper section.people-wrapper ul li span.name, body.single-cpt_project .column4 section.people-wrapper ul li span.name,
    body.single-cpt_project .column4 section.people-wrapper ul li span.name {
        display: block;
        word-break: break-all;
    }

    body.single-cpt_work .highlight-full-wrapper section.project-wrapper ul li, body.single-cpt_project .highlight-full-wrapper section.project-wrapper ul li,
    body.single-cpt_people .previous-projects-wrapper section.project-wrapper ul li, body.page-template-template-work-modular-bim .highlight-full-wrapper section.project-wrapper ul li{
        position: relative;
    }
    body.single-cpt_work .highlight-full-wrapper section.project-wrapper ul li img, body.single-cpt_project .highlight-full-wrapper section.project-wrapper ul li img,
    body.single-cpt_people .previous-projects-wrapper section.project-wrapper ul li img, body.page-template-template-work-modular-bim section.project-wrapper ul li img{
        display: block;
    }

    body.single-cpt_people .previous-projects-wrapper section.project-wrapper ul li img {
        max-width: 252px;
        min-width: 252px;
    }

    body.single-cpt_work .highlight-full-wrapper section.project-wrapper ul li span.name, body.single-cpt_project .highlight-full-wrapper section.project-wrapper ul li span.name,
    body.single-cpt_people .previous-projects-wrapper section.project-wrapper ul li span.name, body.page-template-template-work-modular-bim section.project-wrapper ul li span.name{
        position: absolute;
        left: 0;
        bottom: 0;
        padding: 5px;
        background: rgba(0,0,0,0.4);
        color: #ffffff;
        width: 100%;

    }

    body.single-cpt_work .highlight-full-wrapper section.project-wrapper ul li:hover span.name, body.single-cpt_project .highlight-full-wrapper section.project-wrapper ul li:hover span.name,
    body.single-cpt_people .previous-projects-wrapper section.project-wrapper ul li:hover span.name, body.page-template-template-work-modular-bim .highlight-full-wrapper section.project-wrapper ul li:hover span.name {
        background: #000;
    }

/* Page: Contact
-------------------------------------------------------------------------------------------------------------------------------------------------*/
.offices-wrapper section {
    border-bottom: 1px solid #e9e9e9;
    display: inline-block;
    width: 100%;
    margin: 0 0 20px;
    padding: 0 0 20px;
}
.offices-wrapper section .left-pane, .offices-wrapper section .right-pane {
    float: left;
    width: 50%;
}

.offices-wrapper section .left-pane {
    padding-right: 20px;
}

.offices-wrapper section .full-pane, .offices-wrapper section .right-pane {

}

.offices-wrapper section .map {
    width: 100%;
    height: 300px;
}

/* Top Wrapper
-------------------------------------------------------------------------------------------------------------------------------------------------*/

#menu-mobile {
    display: none;
    cursor: pointer;

}

#top-wrapper {
    padding: 40px 0 0;
    position: relative;
    z-index: 10;
}



#top-wrapper a.logo, #top-wrapper nav, #top-wrapper .search-wrapper {
    display: inline-block;
    vertical-align: middle;
}

 #top-wrapper .search-menu-wrapper {
    position: absolute;
    top: 5px;
    right: 0;
 }

#top-wrapper .search-wrapper {
    
}

    #top-wrapper .search-wrapper input{
        background: rgba(255,255,255,0.75) url('images/icon-search.png') no-repeat 97% center;
        padding: 5px 25px 5px 3px;

       
    }

#top-wrapper nav {
    margin: 14px 0 0;
	float: right;
}
#top-wrapper nav ul li {
    list-style: none outside;
    display: inline-block;
    margin: 0 20px 0 0;
}

    #top-wrapper nav ul {
        margin: 0;
        padding: 0;
    }

    #top-wrapper nav ul li {
        list-style: none outside;
        display: inline-block;
        text-align: center;
        margin: 0 10px;

        position: relative;
        height: 35px;
        line-height: 35px;

    }

    #top-wrapper nav ul li a {
        color: #0a446e;
        font-weight: bold;
        text-decoration: none;
        text-transform: uppercase;
    }

    #top-wrapper nav ul li.current-menu-item > a, #top-wrapper nav > ul > li > a:hover, #top-wrapper nav  > ul > li:hover > a{
        color: #bf2e1a ;
    }

    /* Dropdown */
    #top-wrapper nav ul li ul {
        position: absolute;

        z-index: 9;
        display: none;
        padding: 0 10px;
        
        width: 100%;
        width: 250px;
        background: #87a90f;
        

    }

     #top-wrapper nav ul li > ul {
        left: -10px;
        top: 100%;
     }

    #top-wrapper nav ul li ul li {
        display: inline-block;
        text-align: left;

        padding: 5px 0;
        margin: 0;
        /*border-bottom: 1px solid #8e8e8e;*/
        line-height: 25px;
        width: 100%;

    }

    #top-wrapper nav ul li ul li:last-child {
        border-bottom: none;
    }

    #top-wrapper  nav ul li ul li.current-menu-item > a, #top-wrapper nav ul li ul li a {
        color: #ffffff;
        text-decoration: none;
    }

    #top-wrapper nav ul li ul li a:hover {
        color: #f1f1f1;   
    }



    #top-wrapper nav ul li ul ul {
        left: 100%;
        top: 0;
    }

    #top-wrapper nav ul li:hover > ul {
        display: block;
    }


   

/* Banner
-------------------------------------------------------------------------------------------------------------------------------------------------*/

body.page-template-template-home #banner-wrapper-full {
    margin-top: -150px;

}

.home-news-mobile {
    display: none;
}

#banner-wrapper-full {
    background: #0b446f;
    text-align: center;
    position: relative;
    z-index: 9;
    float: left;
    width: 100%;
    clear: both;
}

    .banner-wrapper img { display: block; margin: 0 auto;}

    #banner-wrapper-full .image-wrapper img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    #banner-wrapper-full ul{
        display: inline-block;
    }

    #banner-wrapper-full ul li {
        list-style: none outside;
        display: inline-block;
        padding: 10px;
        width: 100px;
    }

    #banner-wrapper-full ul li, #banner-wrapper-full ul li  a {
        color: #ffffff;
    }

    #banner-wrapper-full ul li:nth-child(1){
        background: #bf2e1a;
    }

    #banner-wrapper-full ul li:nth-child(2){
        background: #87a90f;
    }


    #banner-wrapper-full .widget{
        text-align: center;
        font-weight: normal;
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
    }

        #banner-wrapper-full .widget, #banner-wrapper-full .widget h1, #banner-wrapper-full .widget h2, #banner-wrapper-full .widget h3 {
            color: #ffffff;
        }

        #banner-wrapper-full .widget h1, #banner-wrapper-full .widget h2, #banner-wrapper-full .widget h3 {
            font-weight: normal;
            font-size: 30px;
        }

    #banner-wrapper-full .widget.has_button h2, #banner-wrapper-full .widget.has_button h3, #banner-wrapper-full .widget.has_button h4 {
        position: relative;
    }

/* News Wrapper
-------------------------------------------------------------------------------------------------------------------------------------------------*/

body.page-template-template-news #news-wrapper section, body.archive #news-wrapper section {
    min-height: auto;
    margin: 0 0 20px;
}

#news-wrapper section {
    border: 1px solid #c4c4c4;
    padding: 20px 20px 0;
    min-height: 360px;
}

section.entry div.entry-header > img {
    width: 100%;
}

/* Footer Wrapper
-------------------------------------------------------------------------------------------------------------------------------------------------*/

#footer-wrapper {
    border: 3px solid #a5a29d;
    border-left: none;
    border-right: none;
    padding: 20px 0 0;
    margin-bottom: 20px;
    color: #a5a29d;
}
    #footer-wrapper .column3 img {
        margin-right: 20px;
    }

    #footer-wrapper  img {
        display: inline-block;
        vertical-align: middle;
    }
    
    #footer-wrapper  .iso {
        text-align: center;
    }
    
    #footer-wrapper  .iso img {
        max-width: 50px;
    }

    #footer-wrapper nav {
        float: right;
        text-align: right;
    }

    #footer-wrapper nav ul {    
        margin: 0;
        padding: 0;
        
    }
        #footer-wrapper nav ul li {
            display: inline-block;
            list-style: none outside;
            margin: 0 20px 0 0;
        }

        #footer-wrapper nav ul li a {
            text-decoration: none;
            font-weight: bold;
            font-size: 13px;
        }

    #footer-wrapper .offices {
        line-height: 100%;
        padding-left: 110px;
    }

    #footer-wrapper .footer-logo {
        text-align: right;
    }

    #footer-wrapper .row.special {
        /*background-color: #ef1a94;*/
    }

    #footer-wrapper .row.special > div {
        /*background-color: #e1a948;*/
    }

    #footer-wrapper nav {
        float: none;
        text-align: left;
    }

    #footer-wrapper nav ul.menu  > li {
        display: block;
        margin: 0 0 .75em 0;
        line-height: 1.2;
    }


    /*#footer-wrapper nav ul.menu li a {
        font-size: 10px;
    }*/

/* Gravity Form
-------------------------------------------------------------------------------------------------------------------------------------------------*/

/* Subscribe Form */
#gform_wrapper_11 {
    background-color: #f8f8f8;
    border: 1px solid #e7e7e7;
    border-radius: 5px;
    line-height: 1.3;
    padding-left: 1em;
    padding-bottom: 1em;
}

#gform_wrapper_11 .top_label .gfield_label {
    margin: 0;
}

#gform_wrapper_11 .ginput_complex label {
    display: none;
}

#gform_wrapper_11 .gform_footer {
    margin: 1em 0 0 0;
    padding: 0;
    width: 96%;
}

#gform_wrapper_11 .top_label li.gfield.gf_left_half {
    margin: 0;
}

#gform_wrapper_11 .gform_footer input[type=submit] {
    padding: .5em 2em;
    border: none;
    background-color: #87a90f;
    color: #ffffff;
}

#gform_wrapper_11 .top_label li.gfield.gfield_error.gf_right_half {
    width: 96%!important;
}

#gform_wrapper_11 .top_label li.gfield.wge_left_side {
    /*background-color: #52ACCC;*/
    width: 47%;
    display: block;
    float: left;
    margin-right: 1.3%;
    clear: initial;
}

#gform_wrapper_11 li#field_3_2 input.medium {
    width: 100%;
}

#gform_wrapper_11 li#field_3_3 {
    /*background-color: #0e6085;
    border: 1px solid #c19163;*/
    width: 47%;
    margin-left: 3px !important;
    display: block;
    float: left;
}

#gform_wrapper_11 li#field_3_3 div.ginput_container {
    margin-top: 0;
}

#gform_wrapper_11 ul li#field_3_2,
#gform_wrapper_11 ul li#field_3_3 {
    clear: none;
}

/* Sidebar Work
-------------------------------------------------------------------------------------------------------------------------------------------------*/
.sidebar-work .pdf_download figure {
    width: 90px;
    margin: 0;
}



/* Media Query Overrides
-------------------------------------------------------------------------------------------------------------------------------------------------*/

@media only screen and (max-width: 1160px) and (min-width: 768px){
	#top-wrapper a.logo{width: 20%; float: left}
	#top-wrapper nav{float: right; width: 77%; padding-left: 3%}
	#top-wrapper-full{background: url(images/white-bg.png); position: relative; z-index: 9999}
}

@media only screen and (max-width: 767px) and (min-width: 300px)  {
#input_11_1_3_container, #input_11_1_6_container{width: 100% !important; margin: 0 0 5px !important; padding: 0px !important;}

    /* Footer
    ---------------------------------------------------------------------- */


    /* Gravity Form
    -------------------------------------------------------------------------------------------------------------------------------------------------*/
    #gform_wrapper_11{padding-right: 15px !important;}

    /* Subscribe Form */
    #gform_wrapper_3 .gform_body .top_label li.gfield.gf_right_half {
        float: left;
        clear: left !important;
        width: 99%;
    }

    #gform_wrapper_3 .gform_body .top_label li.gfield.gf_left_half {
        float: left;
        clear: left !important;
        width: 99%;
    }

    #gform_wrapper_3 .ginput_container span#input_3_1_3_container,
    #gform_wrapper_3 .ginput_container span#input_3_1_6_container,
    #gform_wrapper_3 .ginput_complex.ginput_container.has_first_name.no_middle_name.has_last_name span {
        width: 99%;
    }

    #gform_wrapper_3 .gform_footer {
        margin: 1em 0 0 0;
        padding: 0;
        text-align: left;
    }

    #gform_wrapper_3 .gform_footer input[type=submit] {
        width: 100%;
    }

    #gform_wrapper_3 .top_label li.gfield.wge_left_side {
        width: 96%;
        float: none;
    }

    #gform_wrapper_3 li#field_3_3 {
        width: 96%;
        margin-bottom: 1em;
    }


    /* Banner
    -------------------------------------------------------------------------------------------------- */
    #banner-wrapper-full .widget {
        padding: 20px 20px 0;
        position: relative;
    }

    #banner-wrapper-full .widget h1, body #banner-wrapper-full .widget h2, body #banner-wrapper-full .widget h3 {
        font-size: 24px;
    }
    

    #top-wrapper .column12 {
        position: relative;
        text-align: center;
    }   

    #top-wrapper .search-menu-wrapper {
        position: relative;
        width: 100%;
        display: inline-block;
    }

    #top-wrapper .search-wrapper {
        /*right: 140px;
        top: 100px;
        */
       
    }

    #top-wrapper nav {
        margin-left: 0;
        margin-top: 20px;
    }

    #top-wrapper nav > ul.menu { display: none;}

    #top-wrapper nav ul li {
        margin: 0 20px 0 0;
    }

    #menu-mobile {
        display: inline-block;
        position: relative;
        top: 3px;
        color: #fff;
        background: #585858 url('images/icon-menu.svg') no-repeat center;

        width: 30px;
        height: 28px; 

        padding: 5px;

        -webkit-border-radius: 2px;
           -moz-border-radius: 2px;
            -ms-border-radius: 2px;
             -o-border-radius: 2px;
                border-radius: 2px;
        
    }


    nav.mobile {
        display: inline-block;
        width: 100%;
    }

    #top-wrapper nav > ul > li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #e5e5e5;

    }
        #top-wrapper nav > ul > li ul {
            width: 100%;
            left: 0;
        }

        #top-wrapper nav > ul > li ul ul {
            position: relative;
            left: 0;
        }

        #top-wrapper nav > ul > li ul li {
            border-bottom: 1px solid #7e9f0a;
        }

    #top-wrapper nav > ul > li:last-child, #top-wrapper nav > ul > li ul li:last-child {
        border: none;
    }
   

    body.page-template-template-home #banner-wrapper-full {
        margin-top: -40px;
    }

    #work-wrapper ul li:nth-child(2n) {
        padding-left: 72px;
    }
    #work-wrapper ul li:nth-child(2n) > img.icon {
        left: 0;
    }

    body.single-cpt_people .content-blocks-wrapper article, body.single-cpt_people .content-blocks-wrapper article:nth-child(odd), body.single-cpt_people .content-blocks-wrapper article:nth-child(even) {
        float: none;
        width: 100%;
        margin: 0;
    }

    #staff-videos-wrapper .threecol-one {
        float: none;
        width: 100%;
    }

    #work-wrapper ul li {
        float: none;
        width: 100%;
    }

    #timeline .timeline {
    	width: auto !important;
    }
    
    .offices-wrapper section .left-pane, .offices-wrapper section .right-pane {
        float: none;
        width: 100%;
        padding: 0;
    }

    body.single-cpt_work .highlight-full-wrapper section.project-wrapper ul li, 
    body.single-cpt_project .highlight-full-wrapper section.project-wrapper ul li, 
    body.single-cpt_people .previous-projects-wrapper section.project-wrapper ul li, 
    body.page-template-template-work-modular-bim .highlight-full-wrapper section.project-wrapper ul li {
        width: 100%;
    }

    body.single-cpt_work .highlight-full-wrapper section.project-wrapper ul li img, 
    body.single-cpt_project .highlight-full-wrapper section.project-wrapper ul li img, 
    body.single-cpt_people .previous-projects-wrapper section.project-wrapper ul li img, 
    body.page-template-template-work-modular-bim section.project-wrapper ul li img {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
    }

    body.single-cpt_people .column6 img.profile-pic {
        margin: 0 0 20px;
        display: block;
        float: none;
    }

    body.single-cpt_work .highlight-full-wrapper section.people-wrapper ul li {
        min-width: 140px;
        max-width: 140px;
        margin-right: 10px;
    }
    body.single-cpt_work .highlight-full-wrapper section.people-wrapper ul li:nth-child(even) {
        margin-right: 0;
    }
    body.single-cpt_work .highlight-full-wrapper section.people-wrapper ul li img {
        width: 100%;
        height: auto;
        max-width: 140px;
        min-width: 140px;
    }

    body.single-cpt_work .advice-wrapper .advice, body.page-template-template-work-modular-bim .advice-wrapper .advice, .woo-sc-quote {
        padding-left: 0;
        text-indent: 42px;
    }
    body.single-cpt_people img.profile-pic, body.single-cpt_work .advice-wrapper img.profile-pic, body.page-template-template-work-modular-bim .advice-wrapper img.profile-pic {
        display: block;
        margin-bottom: 10px;
    }


    #footer-wrapper {
        line-height: 130%;
    }
        #footer-wrapper nav {
            float: none;
            padding: 0 1em;
        }

        #footer-wrapper nav ul li {
            display: inline-block;
            margin: 0 20px 0 0;
            padding: 0;
        }
        
        #footer-wrapper .offices {
            padding-left: 0;
        }

        #footer-wrapper .footer-logo {
            text-align: center;
        }
        
        .home-news-mobile {
            display: block;
        }
        
        .home-news-desktop {
            display: none;
        }

}

.g-recaptcha div{width: auto !important;}
.g-recaptcha iframe{
 -webkit-transform:scale(0.7);
-moz-transform-scale(0.7);
-o-transform: scale(0.7);
-ms-zoom: 0.7;
margin: -15px 0 0 -45px;
}
@-moz-document url-prefix() { 
  .g-recaptcha iframe {
     margin-left:0 !important;
  }
}