/*global font*/
body,h1,h2,h3,h4,h5,h6 {
    font-family: "Lato", sans-serif;
}
body, html {
    height: 100%;
    color: #777;
/*    line-height: 1.8;*/
}
/*global font*/
/*global containers*/
.wrapContent{
    width: 90%;
    max-width: 1280px;
    height: auto;
    margin: auto;
    margin-bottom: 40px;
}
.box{
    width: 23.5%;
/*    width: 25%;*/
    height: 240px;
    float: left;
    margin: 30px 2% 0px 0px;
    border-bottom: 3px solid #999;
    cursor: pointer;
}
.boxContent{
    width: 100%;
    height: 80%;
    background: #f66;
}
.boxContent img{
    width: 100%;
    height: 100%;
}
.boxFooter h2{
    display: block;
    width: 100%;
    height: 100%;
    color: #ddd;
    text-align: center;
    text-decoration: none;
    line-height: 48.2px;
    font-size: 18px;
    transition: border 500ms;
}
.boxHover:hover{
    border-bottom: 3px solid #f66;
}
.boxFooter{
    width: 100%;
    height: 20%;
    background: #333;
}
.colorRed{
    background: #f66;
}
.colorYellow{
    background: #fc6;
}
.colorGreen{
    background: #9acc99;
}
.colorBlue{
    background: #66cbff;
}
.pullRight{
    float: right;
    margin-right: 0px;
}
.collapse{
    box-sizing: border-box;
    height: 0px;
    border: 0px solid #fff !important;
    margin: 0px !important;
    overflow: scroll;
    color: #ddd;
    background: #333;
    padding: 0px 5%;
    grid-column: 1 / -1;
/*    transform: scale(1, 0);*/
    transform-origin: top;
    transition: height 400ms ease-in-out;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 5px;
}
.collapseOpen{
    height: 400px;
    margin-bottom: 5px !important;
}
.collapse h3{
    font-size: 20px;
    font-weight: bold;
    margin: 20px auto 20px;
    line-height: 50px;
    background: #444;
    width: 100%;
    text-align: center;
    grid-column: 1 / -1;
/*    width: 90%;*/
    margin: 20px auto;
/*    margin: 20px;*/
}
.collapse img{
    display: inline-grid;
    width: auto;
    height: auto;
    float: left;
    transition: transform 300ms ease-in-out;
}
.collapse img:hover{
    transform: scale(1.2);
}
.collapse p{
    grid-column: 1 / -1;
/*    width: 90%;*/
    margin: auto;
    padding-top: 20px;
}
.clear {
    clear:both;
}
.active{
    color:#eee !important;
    background-color:#777;
}
.dropDown{
    transform: scale(1,1);
}


/*global containers*/

nav{
    position: fixed;
    z-index: 80;
    width: 100%;
    height: 43px;
    background-color: rgba(238,238,238,0.9);
}
#navLogo{
    position:absolute;
    z-index: 75;
    float: left;
    height: 35px;
}
#navLogo img{
    height: 100%;
    padding: 2px 16px;
}
nav ul{
    position:absolute;
    z-index: 75;
/*    float: right;*/
    right: 0;
}
nav ul li{
    float: left;
/*    overflow: hidden;*/
    height: 100%;
    display: block;
}
nav ul li a{
    display: block !important;
    text-decoration: none;
    color: #777;
    line-height: 43px;
    vertical-align: middle;
    padding: 0px 16px;
/*    overflow: hidden;*/
    font-size: 15px;
}
nav ul li a:hover{
    background: #777;
    color: #eee;
}
#menu{
    position:absolute;
    color: #777;
    right: 0;
    height: 100%;
    width: 50px;
    text-align: center;
    z-index: 76;
    cursor: pointer;
    display: none;
}
#menu i{
    line-height: 43px !important;
}
@media screen and (max-width: 800px){
    #menu{
        display: block !important;
    }
    #menu:hover{
        background: #777;
        color: #eee;
    }
    nav ul{
        position:fixed;
        z-index: 75;
    /*    float: right;*/
        right: 0;
        top: 43px;
        width: 50%;
        transform: scale(1, 0);
        transform-origin: top;
        transition: transform 400ms ease-in-out;
    }
    nav ul li{
        float: none;
        height: 100%;
/*        display: none;*/
    }
    nav ul li a{
        background: #777;
        color: #eee;
        height: 75px;
        text-align: center;
        line-height: 75px;
/*
        opacity: 0;
        transition: opacity 150ms ease-in-out;
*/
    }
    nav ul li a:hover{
        background: rgba(238,238,238,0.9);
        color: #777;
    }
}

#banner{
    background-image: url(../images/banner.jpg);
    background-color: #cccccc;
    min-height: 100%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: grid;
    z-index: 1;
}
#banner img{
    width: 20%;
    position:absolute;
    left: 120px;
    top: 120px;
    -webkit-filter: drop-shadow(4px 4px 4px gray);
}
@media screen and (max-width: 800px){
    #banner img{
        left: 40px;
        top: 60px;
    }
}
#studioBanner{
    background-image: url(../images/studioBanner.jpg);
    background-color: #cccccc;
    min-height: 300px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
#studioBanner img{
    width: 100%;
    min-height: 400px;
    margin-top: 4px;
}
#expertiseBanner{
    background-image: url(../images/expertiseBanner.jpg);
    background-color: #cccccc;
    min-height: 300px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
#expertiseBanner img{
    width: 100%;
    min-height: 400px;
    margin-top: 4px;
}
#aboutUsBanner{
    background-image: url(../images/aboutUsBanner.jpg);
    background-color: #cccccc;
    min-height: 300px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
#aboutUsBanner img{
    width: 100%;
    min-height: 400px;
    margin-top: 4px;
    padding: 0px 4px;
    box-sizing: border-box;
}
#contactBanner{
    background-image: url(../images/contactBanner.jpg);
    background-color: #cccccc;
    min-height: 300px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
#contactBanner img{
    width: 100%;
    min-height: 400px;
    margin-top: 4px;
    padding: 0px 4px;
    box-sizing: border-box;
}
/* Turn off parallax scrolling for tablets and phones */
@media only screen and (max-device-width: 1024px) {
    #banner, #studioBanner, #expertiseBanner, #aboutUsBanner, #contactBanner {
        background-attachment: scroll;
        min-height: 400px;
    }
}
#content h1{
    text-align: center;
    font-weight: bold;
    font-size: 40px;
    letter-spacing: 10px;
    line-height: 150px;
}
#projectsGrid{
    width: 90%;
    max-width: 1280px;
    margin: 5px;
/*    height: auto;*/
    margin: auto;
    padding-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
/*    grid-auto-flow: dense;*/
/*    grid-auto-rows: minmax(200px, 1fr);*/
/*    grid-gap: 10px;*/
}
#projectsGrid div{
    max-width: 100%;
    max-height: 100%;
    display: inline-grid;
/*    border: 5px solid #fff;*/
    margin: 0px;
}
.catogry{
    cursor: pointer;
/*    display: inline-grid;*/
    align-self: start;
    box-sizing: border-box;
    margin-bottom: 5px;
}
.catogry:hover{
    border-bottom: 5px solid #f66;
/*    margin-bottom: 0px !important;*/
}
.addBorder{
    border-bottom: 10px solid #f66;
    margin-bottom: 0px !important;
}
.addBorder:hover{
    border-bottom: 10px solid #f66;
}
#projectsGrid img {
    max-width: 100%;
}
#projectsGrid h2{
    grid-column: 1 / -1;
    display: block;
    width: 100%;
/*    height: 100%;*/
    color: #ddd;
    text-align: center;
    text-decoration: none;
    line-height: 48.2px;
    font-size: 18px;
    transition: border 500ms;
    width: 100%;
/*    height: 20%;*/
    background: #333;
}
#expertise img{
    float: left;
    margin-right: 30px;
    max-width: 300px;
}
@media screen and (max-width: 800px){
    #expertise img{
        max-width: 200px;
    }
}
#expertise h2{
    font-weight: bold;
    font-size: 30px;
}
#expertise h3{
    font-weight: bold;
    font-size: 16px;
}
#studio h2{
    font-weight: bold;
    font-size: 30px;
}
#studio h3{
    font-weight: bold;
    font-size: 16px;
}
#aboutUs h2{
    font-weight: bold;
    font-size: 30px;
}
#aboutUs h3{
    font-weight: bold;
    font-size: 16px;
    margin-top: 5px;
}
#contact{
/*    float: left;*/
/*
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
*/
/*    grid-gap: 10px;*/
    width: 100%;
/*    margin: auto;*/
}
#contact a{
    text-decoration: none;
    color: #777;
    line-height: 43px;
    vertical-align: middle;
    padding: 0px 10px;
    font-size: 15px;
    font-weight: bold;
}
#contact a i{
    font-size: 20px;
}
#contact iframe{
/*    max-width: 80%;*/
}
#smallMap{
    display: none;
}
@media only screen and (max-device-width: 450px) {
    #largeMap {
        display: none;
    }
    #smallMap{
        display: block;
    }
    #content h1{
        letter-spacing: 5px;
    }
}
#contact h1{
/*    grid-column: 1 / -1;*/
}
#contact div{
    float: left;
    justify-self: start;
    align-self: center;
}
footer{
    width: 100%;
    height: 200px;
    background-color: #333;
    text-align: center;
}
footer a{
    margin: auto;
    padding-top: 50px;
    line-height: 150px
}
footer a i{
    color: #ddd;
    padding: 10px;
}
footer p{
    color: #ddd;
    font-weight: bold;
    font-size: 14px;
}
