/*
Theme Name: Saunders and Wiant Theme
Description: Five Lines Media
Author: Five Lines Media
Version: 0.1
*/
/******
Table of Contents

1. Reset
2. Color
3. Responsive

******/
/*
Reset Css
*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}
body {
    line-height: 1.6;
}
ol,
ul {
    list-style: none;
}
blockquote,
q {
    quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* Clearfix */
.cf:before,
.cf:after {
    content: " ";
    /* 1 */
    display: table;
    /* 2 */
}
.cf:after {
    clear: both;
}

/**

 * For IE 6/7 only

 * Include this rule to trigger hasLayout and contain floats.

 */
.cf {
    *zoom: 1;
}



#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    width: 32px;
    height: 32px;
    text-align: center;
    line-height: 30px;
    background: #f5f5f5;
    color: #444;
    cursor: pointer;
    border: 0;
    border-radius: 2px;
    text-decoration: none;
    transition: opacity 0.2s ease-out;
    opacity: 0;
}
#back-to-top:hover {
    background: #e9ebec;
}
#back-to-top.show {
    opacity: 1;
}


/*****
Structural Elements
*****/
.maxContainer {
    width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.maxContainer.post img{text-align:center;display:block;margin: 0 auto;}
.maxContainer.post{text-align:left}
.maxContainer.post h1,.maxContainer.post .essb_links{text-align:center}
/*****
Font Styles
*****/
body {
    font-size: 12px;
    font-family: 'Muli', sans-serif;
    word-wrap:break-word;
}
h1,h2,h3,h4,h5,h6{font-weight:normal;font-family: 'Century Gothic', 'Open Sans'}
.visible-mobile{visibility:hidden}
h1 {
    font-size: 6em;line-height:1em
}
h2 {
    font-size: 5em;
}
h3 {
    font-size: 4em;
}
h4 {
    font-size: 3em;
}
h5 {
    font-size: 2em;
}
h6 {
    font-size: 1.6em;
}
a {
    text-decoration: none;
}
.button {
    background: #6193c4;
    color: #fff;
    padding: 5px 10px;
}
a.button:hover {
    background: #c46e3f;
}
a.button:visited{color:#fff}
a.button:link{color:#fff}
a:visited{color:#000}
.mb50{margin-bottom:50px}
.mb20{margin-bottom:20px}
.mt20{margin-top:20px}
.gray{color:#c9c9c9}
.blue{color:#6193C4}
ul,ol{margin-bottom:2.8em}
ol{list-style:decimal;margin-left:24px}
ul li,ol li{font-size:1.4em}
ul.menu{margin-bottom:0em}
blockquote{border-left:5px solid #efefef;margin-left:2.8em;padding-left:10px}
/* Header */
#menu-item-8:hover{cursor:pointer}
.headerPhone:before,
.headerAddress:before {content: '\2022    '}
.headerCompanyInfo {float: right;margin-right: 5%}
.barColor-0{background:#000;color:#fff}
.barColor-1{background:#fff;color:#000}
.barColor-2{background:#6193c4;color:#fff}
.contactPanel{display:none;position:absolute;top:0;right:0;background:#6193c4;width:500px;padding:50px;color:#fff;z-index:100}
.contactPanel span{display:block;font-size:1.4em}
.contactPanel h4{font-size:2em}
.paneltoggle:hover{cursor:pointer}
.cpEmployee{margin-top:50px}
.empEmail{margin-bottom:10px}
.mapImage{margin-top:20px}
.homePageHeaderImg {
    position: relative;
    height: 800px;
    overflow: hidden;
    text-align:center;
}
.homePageHeaderImg .mainNav {
    position: absolute;
    top: 0;
    width: 100%;
}
.mainNav {
    padding: 15px 0;
    background-color: rgba(125, 125, 125, 0.2);
    display:table;
    width:100%;
    margin-bottom:50px;
}
.mainNavTR{display:table-row;text-align:left}
.mainNavHeader,
.mainNavigation,
.mainNavigation ul li {
    display: inline-block;
}
.mainNavHeader {
    width: 55%;
    text-align: center;
    font-size: 2em;
    font-weight: 700;
    margin-left:20%;
}
.mainNavHeader a{font-family: 'Century Gothic';font-weight:300}
.mainNavigation {
    margin-left: 4%;
    width: 50%;
    display:table-cell;
    vertical-align:middle;
}
.mainNavigation ul li {
    font-size: 1.33em;
    margin-right: 5%;
}
.mainNavigation ul li a {
    text-decoration: none;
    color: #000;
    text-transform: uppercase;
}
.hpScroll{position:absolute;bottom:10%;width:100%;text-align:center}
a.hpScrollButton{margin:0 auto;font-weight:700;color:#fff;font-size:2em;text-shadow: 2px 2px #000}
a.hpScrollButton:hover{color:#c46e3f;text-shadow: 2px 2px #000;cursor:pointer}
/*****
Footer Styles
*****/
.footer {
    background: #000;
    color: #fff;
    font-size: 1.6em;
    padding: 20px 0;
}
.footerCompanyName {
    float:left;
    margin-left: 5%;
}
.footerAddress {
    float: right;
    margin-right: 5%;
}
a.footerCTC{color:#9a9a9a;font-size:.8em;margin-left:5%}
a.footerCTC:hover{color:#fff}
/*****
Home Page Styles
*****/
.hpExpertise {
    text-align: center;
    margin-bottom: 100px;
    margin-top: 100px;
}
.alternatingBoxText,
.alternatingBoxImg{
    display: inline-block;
}
.alternatingBoxText {
    width: 45%;
    font-size: 1.5em;
}
.alternatingBoxText h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.alternatingBoxText p {
    margin-bottom: 50px;
    color: #8a8a8a;
}
.alternatingBoxImg {
    width: 40%;
    vertical-align:top;
}

.alternatingBoxImg img {
    width: 100%;
    height: auto;

}
.customLogoImg img{max-width:300px}
.oddBox{
    text-align: left;
}
.oddBox .alternatingBoxText {
    margin-right: 4%;
    text-align: right;
}
.evenBox {
    text-align: right;
}
.evenBox .alternatingBoxText {
    margin-left: 4%;
    text-align: left;
}
.evenBox,
.oddBox {
    margin:100px 5%;
    width:90%;
    word-wrap:break-word
}
.hpExpertise div:first-child {
    margin-top: 0;
}
a.alternatingBoxLink {
    text-transform: uppercase;
    color: #6193c4;
}
a.alternatingBoxLink:hover {
    color: #c46e3f;
}
.hpSpotlight,
.hpProjects {
    text-align: center;
}
.hpProjects {
    margin: 100px 0;
}
.hpProjects h2 {
    color: #6193c4;
    margin-bottom: 20px;
    text-transform: uppercase;
}
a.button {
    display: inline-block;
    font-size: 1.2em;
    text-transform: uppercase;
    margin-top: 10px;
}
.hpProjectCard {
    width: 100%;
    display: inline-block;
    position: relative;
    height:auto;
    overflow:hidden;
    line-height:0;
}
.hpProjectCard img {
    width: 100%;
    height: auto;
}
.hpSpotlight {
    margin: 30px 15%;
}
.hpSpotlight h2 {
    color: #6193c4;
    margin-bottom: 20px;
    text-transform:uppercase
}
.hpSpotlight p {
    font-size: 1.6em;
    line-height: 1.8em;
}
h4.hpService{width:45%;display:inline-block;font-size:1.5em;vertical-align:top}
.hpBlog {
    margin-top: 100px;
    background: #6193c4;
    text-align: center;
}
.hpBlog h2 {
    color: #fff;
    text-transform: uppercase;
    margin-top: 30px;
}
.hpBlog .hpBlogCardContent {
    padding: 5px 20px 20px;
}
.hpBlog .hpBlogCardContent h3 {
    text-transform: uppercase;
    font-size: 2em;
    line-height:1em;
    margin-bottom: 20px;
}
.hpBlog .hpBlogCardContent a {
    display: block;
    text-transform: uppercase;
    text-decoration: none;
    margin: 10px 0;
}
.hpBlog .hpBlogCardContent a:hover, .hpBlog .hpBlogCardContent h3:hover{
    color: #c46e3f;
}
.hpBlog .hpBlogCardContent p {
    font-size: 1.2em;line-height:1.5em
}
.hpBlogCard {
    display: inline-block;
    width: 15%;
    vertical-align: top;
    background: #ffffff;
    margin: 50px 1%;
    text-align: left;
}
.hpBlogCard img {
    width: 100%;
    height: 200px;
}
.hpBlogCard h3,
.hpBlogCard p,
.hpBlogCard a {
    color: #8a8a8a;
    word-wrap: break-word;
}
/* Single Project Page*/
.singleProjectContainer {
    margin: 50px auto;
}
.projectHeader {margin-top: 50px;background: #6193c4;height: 500px;}
.projectFeaturedImage{
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
}
.projectInformation,.projectFeaturedImage {
    display: block;
    width: 50%;
    vertical-align: top;
    float: left;
    height: 500px;
}
.projectInformation {
    color: #fff;
    height: 500px;
    background: #6193c4;
}
.projectInfoInset {
    width: 470px;
    margin: 50px 40px 0 auto;
}
.projectInfoInset h3.projectTitle {
    font-weight: 700;
    line-height: 1.2em;
    font-size:3em;
}
.projectInfoInset p {
    font-size: 1.5em;
    line-height: 1.5em;
}
.projectInfoInset a{background:#c46e3f;font-size:1.3em;margin-top:20px;color:#fff}
.projectInfoInset a:hover{background:#fff;color:#000}

.projectFeaturedImage img {
    width: 100%;
    height: 500px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
h6.projectType,
.projectInfoInset p em {
    margin-bottom: 20px;
}
.projectGallery {
    width: 1030px;
    padding: 0 85px;
    text-align: center;
    min-height: 200px;
    margin: 100px auto 0;
}
.projectNavigation {
    display: block;
    text-align: center;
    padding: 10px 0;
    margin: 50px 0 0;
    background: #6193c4;
    display:table;
    width:100%
}
.projectNavigationTitle {
    display: inline-block;
    vertical-align: top;
    font-size: 1.7em;
    color: #fff;
    margin: 15px;
    vertical-align:middle
}
.projectNavigation a, .projectNavigation a img{vertical-align:middle}
/*Projects Roll*/
.projectsPageContainer, .expertisePageContainer {width: 1030px;padding: 0 85px;text-align: center;min-height: 200px;margin: 50px auto}
.projectsPageContainer h1{margin-bottom:20px}
.expertisePageContainer p{text-align:left;font-size:1.4em}
.expertisePageContainer ul{list-style: disc;margin:25px 0;padding:0 0 0 18px;text-align:left;}

.expertiseButtons a {margin:0 0.5%;text-transform:uppercase;display:inline-block}
/*.expertiseButtons a {margin:0 0.5%;text-transform:uppercase;display:inline-block;width:15%}*/
.projectSingle {
    float: left;
    overflow: hidden;
    position: relative;
    text-align: center;
    line-height:0;
    margin:5px;
}
.projectSingle img {
    width: 100%;
    height: auto;
}
.image-portrait {
    width: 250px;
    height: 510px;
}
.image-landscape {
    width: 500px;
    height: 250px;
}
.image-landscape-modified {
    width: 505px;
    height: 250px;
}
.image-regular {
    width: 250px;
    height: 250px;
}
.image-panoramic {
    width: 1020px;
    height: 350px;
}
.hoverText {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 3em;
    text-decoration: none;
    color: #fff;
    background: rgba(50, 50, 50, 0.5);
    line-height:.8em;
    opacity:0;
}
.hoverText p {
    padding: 10px;
    display: table-cell;
    vertical-align: bottom;
    text-align: left;
    font-size:.7em;
    position: absolute;
    bottom: 0;
    left: 0;
    color:#fff;
}
.hoverText span.hoverLocation {
    display: block;
    font-size: 0.6em;
    line-height:1em;
    margin-top:10px;
}
a.hoverText:hover {
    opacity:1;

}
/*Single Page*/
.singleContainer{margin-bottom:75px}
.singleContainer h1 {
    margin: 50px 0;
}
.singleContainer p {
    font-size: 1.4em;
    text-align: left;
    word-wrap: break-word;
    margin-bottom:2.8em
}
.singleNavigation {
    display: block;
    text-align: center;
    padding: 10px 0;
    margin: 50px 0;
    background: #6193c4;
}
.singleNavigation a span {
    display: inline-block;
    vertical-align: top;
    font-size: 1.7em;
    color: #fff;
    margin: 15px;
}
.singleNavigation .previousNav {
    float: left;
    margin-left: 100px;
}
.singleNavigation .nextNav {
    float: right;
    margin-right: 100px;
}
.singleResponsive {
    margin-bottom: 25px;
}
/*Blog Roll*/
.singleBox {
    margin: 0 0 150px;
}
.singleBox p {
    text-align: left;
    font-size: 1.4em;
    word-wrap: break-word;
    width:70%;text-align:center;
    margin:0 auto;
}
.singleBox a {
    color: #000000;
}
.singleBox a:hover {
    color: #c46e3f;
}
.singleBox img{max-width:870px;height:auto}
.blogReadMore{text-transform:uppercase;margin-top:30px;display:inline-block}
a.blogReadMore:hover{color:#fff}

.pageContainer p{font-size:1.6em;line-height:1.8em;width:80%;margin:25px 10%;text-align:center}
@media only screen and (max-width: 1199px) {
    .singleBox p{width:100%}
    .singleContainer .maxContainer{width:80%;padding:0 10%}
    .singleContainer .maxContainer img{width:100%;height:auto}
    .projectFeaturedImage, .projectInformation, .projectHeader, .projectFeaturedImage img{height:400px}
    .projectInfoInset{margin:50px 10% 0;width:80%}
    body{font-size:10px}
    .maxContainer{width:100%}
    .hpSpotlight{margin:30px 10%}
    .hpBlogCard img{height:auto;max-height:200px;overflow:hidden}
    .singleRollContainer .maxContainer{width:80%;padding:0 10%}
    .mainNavHeader{width:55%}
    .homePageHeaderImg{height:600px}
    .alternatingBoxImg{width:48%}


    /*Projects Roll*/
    .projectsPageContainer, .expertisePageContainer,.projectGallery{width:90%;padding:0 5%}
    .image-landscape-modified{width:49%;height:100%}
    .image-panoramic{width:99%;height:auto}
    .image-portrait{width:24.25%;height:auto}
    .image-landscape{width:48.5%;height:auto}
    .image-regular{width:24.25%;height:auto}
    .projectSingle{margin:0.5%}
    .oddBox .alternatingBoxText{margin-right:4%}
    .evenBox .alternatingBoxText{margin-left:4%}
}

@media only screen and (max-width:1000px){
    .mainNavTR{display:block}
    .mainNavHeader{width:100%;text-align:center;margin-left:0;margin-bottom:20px}
    .mainNavigation{width:100%;text-align:center;display:block;margin-left:0}
    .mainNavigation ul li{margin:0 2%}
}
@media only screen and (max-width: 901px) {
    .hpBlogCard{width:30%}
    .hpBlog .hpBlogCard:nth-child(5), .hpBlog .hpBlogCard:nth-child(4){display:none}
    .singleBox{margin-bottom:50px}
    .singleBox img{width:100%;max-height:200px}
    .singleBox h2{font-size:4em;line-height:1.2em;margin-bottom:25px}
    .footer{font-size:1.5em}
    h4.hpService{width:80%;font-size:1.7em;margin-bottom:15px}
    .mapImage{width:100%;height:auto;max-width:300px}
}
@media only screen and (max-width: 768px) {
    .hoverText {opacity:1}
    .projectFeaturedImage img{height:auto;max-height:300px}
    .visible-mobile{visibility:visible}
    .visible-desktop{visibility:hidden}
    body{font-size:8px}
    .contactPanel{padding:10%;width:40%}
    .footer{text-align:center;padding: 5px 10%}
    .footer span{display:block}
    .footerCompanyName{margin:0 auto;float:none}
    .footerAddress{float:none;margin:0 auto}
    a.footerCTC{margin:0 auto}
    .alternatingBoxText p{margin-bottom:15px}
    .customLogoImg img{max-width:250px}
    .hpBlog .hpBlogCardContent p {
        font-size: 1.4em;line-height:1.5em
    }
}
@media only screen and (max-width: 480px) {
    h1{font-size:5em}
    .contactPanel{padding:10%;width:80%}
    .projectFeaturedImage{display:none}
    .projectInformation, .projectFeaturedImage {width:100%}
    h2{line-height:1.2em}
    .projectSingle{width:308px;height:auto;float:none;margin:5px auto}
    .projectSingle.image-portrait{height:250px}
    .barColor-0,.barColor-1,.barColor-2{display:none}
    .alternatingBoxImg{display:none}
    .alternatingBoxText{width:100%}

    .oddBox .alternatingBoxText, .evenBox .alternatingBoxText{text-align:left;margin:0}
    .hpBlogCard{width:80%;margin:30px 1%}
    .hpBlog .hpBlogCardContent p{font-size:1.6em;line-height:1.8em}
    .hpBlog .hpBlogCardContent a {font-size:1.6em}
    .expertiseButtons a {width:30%;margin-top:5px}
    .evenBox,.oddBox{margin:50px 5%}
    h1,h2,h3,h4,h5,h6{line-height:1em;margin-bottom:1em}
}

@media only screen and (max-width:380px){
    .mainNavHeader{maring-bottom:10px}
    .mainNavigation ul li{font-size:1em}
}
