html,body
{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-image: url(../Resources/Graphics/Backgrounds/01_city.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: 50% 0%;
    font-family: 'Exo', 'sans-serif';
    color: white;
}

footer {
    display: table;
    clear: both;
    width: 100%;
    height: 10%;
    background-color: rgba(0,0,0,0.9);
}

footer > div {
    display: table-cell;
    vertical-align: middle;
    padding-left: 1%;
    font-size: 30px;
    font-style: italic;
}

header {
    height: 10%;
    width: 100%;
    background-color: rgba(0,0,0,0.9);
}

header > img {
    float: left;
    height: 90%;
}

header > nav { 
    padding-left: 2%;
    display: table;
    height: 100%;
}

header > nav > a {
    text-align: center;
    text-decoration: none;
    color: #13affc;
    padding: 0 2%;
    min-width: 150px;
    display: table-cell;
    text-transform: uppercase;
    vertical-align: middle;
}

header > nav > a:hover {
    transition: text-decoration 0.5s ease;
    text-decoration: underline;
    color: white;
}

header > nav > a.active {
    background-color: rgb(59,156,255);
    background: linear-gradient(rgba(2,202,255,0.9), rgba(59,156,255,0.8));
    color: white;
}

#content {
    margin: auto auto;
    height: auto;
    min-height: 80%;
    width: 90%;
    max-width: 1280px;
}

.tile-box {
    display: inline-table;
}

.tile-box.schema1-3 {
    width: 33%;
}

.tile-box > div {
    margin: 0 auto;
    width: 70%;
    padding: 10%;
    height: 40%;
    text-align: center;
}

.bii-blue-style, .tile-box > div {
    border-radius: 2%;
    background-color: #1eb4ff;
    background-color: rgba(59,156,255,0.8);
    background: linear-gradient(rgba(2,202,255,0.9), rgba(59,156,255,0.8));
}

.tile-box > div > img {
    width: 30%;
}

.tile-box > div > h1 {
    padding: 0;
    margin: 0;
    margin-top: 10px;
    font-weight: 600;
}

#content #hider {
    text-align: center;
    width: 100%;
}

#content #hider #loader {
    font-size: 30px;
    -webkit-animation: fadein 2s; /* Safari and Chrome */
    -moz-animation: fadein 2s; /* Firefox */
    -ms-animation: fadein 2s; /* Internet Explorer */
    -o-animation: fadein 2s; /* Opera */
    animation: fadein 2s;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes fadeout {
    from { opacity: 1; }
    to   { opacity: 0; }
}



@media (max-width: 1024px) {

    .tile-box, text-box {
        
        clear: both;
    }

    .text-box.double.left, .text-box.double.right {
        float: none;
    }

    #content {
        padding-bottom: 3%;
    }

    .tile-box.schema1-3 {
        width: 100%;
    }

    .tile-box > div {
        margin-top: 10%; 
    }

    .tile-box > div {
        padding: 3%;
    }

    .works-box > div {
        padding: 0;
        margin-top: 0;
    }
}

.text-box {
    font-size: 1.4em;
    text-align: justify; 
    display: inline-table; 
}

.text-box.left {
    width: 50%;
    padding-right: 8%;    
}

.text-box.right {
    width: 35%;
    padding: 2% 0% 2% 2%;    
}

.cleaner {
    clear: both;
}

.works-box h1 {
    font-weight: normal;
    padding-top: 0;
    margin-top: 0;
}

.works-box h1 span {
    font-size: 0.8em;
    color: #999eac; 
}

.works-box > div {
    position: relative;
    display: inline-block;
    text-align: left;
    width: 480px;
    padding: 0 50px;
    margin-top: 20px;
}

.works-box > div.mk > div.theme {
    background: transparent url(../Resources/OurWorks/mk.png) no-repeat;
}
.works-box > div.psis > div.theme {
    background: transparent url(../Resources/OurWorks/psis.png) no-repeat;
}

.works-box > div > div.theme {
    width: 100%;
    height: 366px; 
    position: relative;
    background-size: cover;
}

.works-box > div > div > div {
    position: absolute;
    left: 15px;
    bottom: 10px; 
    text-shadow: 1px 1px 2px #1d2535;
}

.works-box > div > div > div >div  {
    font-size: 1.5em;
}

.bii-map-marker {
    position: absolute;
    z-index: 10;
    right: 50px;
    background: transparent url(../Resources/Graphics/Icons/map_marker.png) no-repeat;
    width: 82px;
    height: 118px;
}