﻿.container {
    display: table;
    vertical-align: middle;
    height: calc(100vh - 185px);
    padding: 0 2%;
    box-sizing: border-box;
}

.serviceTitle { vertical-align: middle; }

.grid li a {
    display: inline-block;
    width: 100%;
    height: 100%;
}

.grid a span:not(.span_a) {
        width: 96%;
        background-color: rgba(0, 0, 255, 0.7);
        position: absolute !important;
        bottom: 3%;
        color: white;
        padding: 0.5em;
        box-sizing: border-box;
        text-align: center;
        left: -15px;
    }

    .hvr-float a:hover ~ span {
        transform: translate3d(0, 0, 0);
        transition: ease-in .2s all;
    }

    span:hover {
         background-color: rgba(128, 0, 0, .9);
        transform: translate3d(0, 0, 0);
        transition: ease-in .2s all;
    }

.grid img {
    width: 100%;
    height: auto;
}
.imageGrid{
     width: 100%;
    /*height: 100%;*/
    overflow:hidden;
}
.grid {
    color: white;
    display: inline-block;
    margin: .5%;
    width: 28%;
    position: relative;
}

.constructionManagement, .projectControl, .programManagement{
    display:none;
}

#serviceContent {
    position: relative;
    overflow: auto;
    width: 100%;
    margin: 0 auto;
}

    #serviceContent ul {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
#serviceContent ul li.grid {
    margin: 1% 2%;
    /*width: 100%;*/
    /*height: 23.5vh;*/
}

.constructionManagement li, .programManagement li, .projectControl li {
    padding: 0 0 4px;
    font-size: 1.2em;
    font-weight: normal;
    line-height: 13px;
    color:#0234cd;
    font-family: 'Abadi';
    margin: 1em 0;
}

    .constructionManagement li:before, .programManagement li:before, .projectControl li:before {
       padding: 0 6px 1px ;
       color: rgb(128,0,0);
       content: "\25BA \0020";
       font-size: 12px;
    }

#listHeaders {
    font-size: 2em;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;  
    color: #0234cd;
    font-family: Candara;
}
.back2Menu, a.back2Menu:visited, a.back2Menu:active{
    color: rgb(128,0,0);
    float: right;
}

.serviceImg{
    width:100%;
    position:absolute;
    bottom: 0;
    left: 0;
}
.serviceDiv{
    position:relative;
}
.projectControl .row:first-of-type, .constructionManagement .row:first-of-type, .programManagement .row:first-of-type{
    min-height: 170px;
    height:100%;
    display: flex;
}


/*mobile*/
@media only screen and (max-width:600px) {
    #serviceContent {
        float: none;
        width: 95%;
        margin-left: 2%;
    }

    #serviceContent li:before { font-size: 12px; }

    #serviceContent li{ font-size: 16px; }

    #listHeaders {  font-size: 20px; }

    #servicesRight {
        float: none;
        margin: 0 auto;
        width: 100%;
    }
    .grid{
        width:100%;
    }
    .serviceImg {
        position: relative;
    }
    .projectControl .row:first-of-type, .constructionManagement .row:first-of-type, .programManagement .row:first-of-type{
        display:block;
    }
}
/*tablet*/
@media screen and (min-width: 561px) and (max-width: 768px) {
    #serviceContent {
        float: none;
        width: 96%;
        margin-left: 2%;
    }

    #servicesRight {
        float: none;
        margin: 0 auto;
        width: 35%;
    }
    .serviceImg{
    width:100%;
    position:relative;
}
    .projectControl .row:first-of-type, .constructionManagement .row:first-of-type, .programManagement .row:first-of-type {
        display:block;
    }
}

@media screen and (min-width: 992px){
     #serviceContent{
        margin: 0 auto ;
        /*width: 90%;*/
    }
}

@media screen and (min-width: 1536px){
    /*#serviceContent{
        margin: 1% auto 0;
        width: 1380px;
    }

     #listHeaders{ font-size: 1.3em; }
     #serviceContent li{ font-size: 1.1em;}*/
}






