/**
 * Copyright Ident.tec
 * All Rights Reserved.
 */
html, body { height: 100%; }
body{
    margin: 0; padding: 0;
    background-image: url("../images/background.jpg");
    background-size: auto;
    background-position: 0 -100px;
}
a{ font-family: 'Istok Web', sans-serif; }
ul{ margin: 0; padding: 0; }
h1 {
    color: white;
    font-family: 'Istok Web', sans-serif;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 20px 20px 5px 20px;
}
h2{
    color: white;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 20px 5px 20px;
}
h3{
    color: #ED7004;
    font-family: 'Istok Web', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    padding: 10px 20px 5px 20px;
}
p{
    color: white;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 14px;
    margin: 0 20px 10px 20px;
}
.underline{
    text-decoration: underline;
}
.img-responsive{
    margin: 0 20px 0 20px;
}

/* --- --- --- --- --- */

.grid-basediv{
    height: 100%;
}
.grid-header{
    background-color: rgba(0, 0, 0, 0.8);
}
.grid-header img{
    margin: 30px 40px 30px 40px;
}
.grid-navigation{
    background-color: #6d8890;
    border-bottom: 1px solid white;
}
.grid-navigation li{
    display: inline-block;
    list-style-type: none;
}
.grid-navigation a{
    color: white;
    font-weight: bold;
    border-right: 1px solid white;
    display: inline-block;
    text-decoration:none;
    padding: 10px 30px 10px 30px;
}

.grid-navigation a:active,
.grid-navigation a:hover{
    background: transparent url(../images/rolloverimage.png) no-repeat center bottom;
}

.grid-content{
    border-top: 20px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(to left, #AFDCE2, #177EAB);
    min-height: 70%;
}
.grid-footer{
    border-top: 3px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(to left, #AFDCE2, #177EAB);
    background-color: rgba(0, 0, 0, 0.4);
}
.grid-footer li{
    display: inline-block;
    list-style-type: none;
}
.grid-footer a{
    color: white;
    font-weight: bold;
    display: inline-block;
    text-decoration:none;
    padding: 10px 30px 10px 30px ;
}

/* --- --- --- --- --- */

.grid-conMax{
    margin: 30px;
    background-image: url(../images/bg_box.png);
    padding-bottom: 20px;
}
.img-conTB img{
    margin: 30px;
    border-top: 20px solid rgba(0, 0, 0, 0.8);
    border-bottom: 20px solid rgba(0, 0, 0, 0.8);
}

.row-placeholer{
    padding-top: 20px;
}
.txt-white{
    padding-left: 20px;
    padding-right: 20px;
    color: white;
}

@media only screen and (max-width: 900px) {
    .grid-navigation li{
        display: inline-block;
        list-style-type: none;
        width: 31%;
        margin: 5px;
    }
    .grid-navigation a{
        color: white;
        font-weight: bold;
        border: 1px solid #8ca0a6;
        display: inline-block;
        text-decoration:none;
        text-align: center;
        padding: 10px 0 10px 0;
        width: 100%;
    }
}

@media only screen and (max-width: 700px) {
    .grid-conMax{
        margin-left: 5px;
        margin-right: 5px;
    }
    .img-responsive{
        margin: 0;
    }
    .img-conTB img {
        margin: 0;
    }
}

@media only screen and (max-width: 520px) {
    .grid-header img{
        margin: 30px auto 30px auto;
    }
    .grid-navigation li{
        display: inline-block;
        list-style-type: none;
        width: 46%;
        margin: 5px;
    }
    .grid-navigation a{
        color: white;
        font-weight: bold;
        border: 1px solid #8ca0a6;
        display: inline-block;
        text-decoration:none;
        text-align: center;
        padding: 10px 0 10px 0;
        width: 100%;
    }
}
@media only screen and (max-width: 320px) {
    .grid-navigation li{
        display: inline-block;
        list-style-type: none;
        width: 98%;
        margin: 5px;
    }
    .grid-navigation a{
        color: white;
        font-weight: bold;
        border: 1px solid #8ca0a6;
        display: inline-block;
        text-decoration:none;
        text-align: center;
        padding: 10px 0 10px 0;
        width: 100%;
    }
}