/* 
    Created on : 2016.09.01., 11:29:16
    Author     : stradus
*/

html, body {
    margin:0;
    padding:0;
    background-image: none;
    background-color: #D6D6D6;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    background-image: url('resources/osku_cimer_bg.png');
    background-size: 20%;
    background-repeat: no-repeat;
    background-position: right -2.5% bottom 80px;
}
h2 {
    color:#005CA1; 
}
.CMSContentBox {
    padding:20px;
}
.wide, .narrow {
    margin:auto;
}

.wide {
    width:80%;
}

.narrow {
    width:70%;
}
hr {
display: block;
border:none;
height:2px;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+50,ffffff+100&0+0,1+50,0+100 */
background: -moz-linear-gradient(left,  rgba(0,92,161,0) 0%, rgba(0,92,161,1) 50%, rgba(0,92,161,0) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left,  rgba(0,92,161,0) 0%,rgba(0,92,161,1) 50%,rgba(0,92,161,0) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right,  rgba(0,92,161,0) 0%,rgba(0,92,161,1) 50%,rgba(0,92,161,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00005CA1', endColorstr='#00005CA1',GradientType=1 ); /* IE6-9 */
}
.button {
    margin:20px 0;
    padding:10px;
    color:#fff;
    background-color: #005CA1;
    text-align: center;
}
#hair {
    height:50px;
    background-color: #006D33;
    overflow: hidden;
    color:#fff;
    
}
    #hair h3{
        margin: 0px;
        padding:0px;
        line-height:50px;
        float:left;
    }
    #hair .info {
        float:right;
        line-height:50px;
    }
header {
    position:relative;
    height: 70vh;
    background-image:url('resources/header_1.jpg');
    background-size: cover;
    background-position: bottom center;
    background-attachment: fixed;
    text-align: center;
    color:#fff;
    text-shadow:0px 1px 1px #000;
    border-bottom-left-radius:4px;
    border-bottom-right-radius:4px;
    width:100%;
    z-index:1;
}
    header h1 {
        margin-top:0;
        padding-top:4vh;
        font-size:4vh;
        color:#fff;
    }
    header h2 {
        font-size:2.5vh;
        font-weight:100;
        color:#fff;
    }
    header img {
        height:40%;
    }
    footer hr, header hr {
        /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+50,ffffff+100&0+0,1+50,0+100 */
        background: -moz-linear-gradient(left,  rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(left,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to right,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */
    }
        header hr:first-of-type {
            margin-top:9vh;
        }
    header nav {
        font-size:18px;
        height:60px;
        position:relative;
        z-index:100;
    }
        header nav ul, header nav li {
            margin:0px;
            padding:0px;
            display:block;
            text-align:center;
            background-color: rgba(0,0,0,.3);
        }
            header nav ul {
                clear: both;
                position:absolute;
                width:100%;
            }
            header nav ul:not(.l1) {
                display: none;
                width: 300px !important;
                color:#fff;
                background-color: rgba(0,0,0,.5);
            }
                header nav ul:not(.l1) li{
                    float:none;
                    display: block !important;
                    background-color: rgba(0,0,0,.5);
                    width:100% !important;
                }
                    header nav ul:not(.l1) a{
                        width:100%;
                        padding:0;
                    }
            header nav li {
                display:inline-block !important;
                height:60px;
                line-height:60px;
                -webkit-transition: .3s; /* Safari */
                transition: .3s;
            }
                header nav li:hover {
                    background-color: rgba(255,255,255,.5) !important;
                }
                header nav a {
                    display:inline-block !important;
                    height:100%;
                    padding:0 1.5vw 0 1.5vw;
                    text-align:center;
                    white-space:nowrap;
                }
                header nav .parent {
                    cursor: pointer;
                }
                header nav .active {
                    background-color:#005CA1;
                }
#content {
    position:relative;
    box-shadow:0px 0px 20px rgba(0,0,0,.5);
    background-image: url('resources/bg.png');
    z-index:0;
    overflow: hidden;
}
    #content aside, #content main  {
        display: inline-block;
    }
        #content aside{
            width:20%;
            background-color: rgba(0,0,0,.1);
            height:100%;
            vertical-align: top;
            margin-left:1%;
            margin-right:1%;
        }
        #content main{
            width:78%;
            vertical-align: top;
        }
        main h2 {
            font-size:2em;
        }
        .formtext a {
            color:#005CA1;
        }
footer {
    position:relative;
    z-index:0;
    text-align: center;
    background-color: #006D33;
    overflow: hidden;
    color:#fff;
    padding:30px;
}
    footer hr{
        margin: 10px auto !important;
    }
    footer ul, footer li {
        margin:0;
        padding:0;
    }
    footer li {
        display:inline-block;
        border-right:2px solid #ccc;
        padding:0 2vw;
        line-height: 32px;
    }
    footer li:last-child {
        border-right:none;
    }
    
    /* -  --  - */
#CMSModule_iss_search_0 input {
    border:2px solid #006D33;
}
#CMSModule_iss_search_0 input[type=submit] {
    background-color:#006D33;
    border-left:none;
}

.box>.head {
    background-color:#006D33;
}

/* RESPONSIVE */
@media screen and (max-width: 1600px) {
    .wide {
        width:95%;
    }
    .narrow {
        width:85%;
    }
}
@media screen and (max-width: 1366px) {
    .wide {
        width:99%;
    }
    .narrow {
        width:99%;
    }
    .CMSContentBox {
        padding:10px 10px;
    }
}
@media screen and (max-width: 1024px) {
    .wide {
        width:100%;
    }
    .narrow {
        width:99%;
    }
    #content main {
        width:68%;
    }
    #content aside {
        width:30%;
    }
    .CMSModule_iss_list .listItem {
        width:45% !important;
    }
    header {
        height:auto;
    }
    header img {
        height:200px;
    }
    header nav {
        height:auto;
    }
        header nav>div>ul {
            position:static;
        }
}
@media screen and (max-width: 900px) {
    .wide {
        width:100%;
    }
    .narrow {
        width:100%;
    }
    #content main, #content aside {
        display:block;
        width:auto;
    }
    .CMSModule_iss_list .listItem {
        width:auto !important;
    }
    #hair {
        height:auto;
        text-align:center !important;
    }
        #hair *{
            float:none !important;
        }
    header nav ul:not(.l1){
        width:100% !important;
        left:0px;
    }
    #calendarBox_0 {
        max-width:450px;
        margin:auto;
    }
    header h1 {
        padding:15px 0px 0px 0px;
        margin:0px;
        font-size:32px;
        margin:0px;
    }
    header h2 {
        padding:15px 0px;
        font-size:24px;
    }
}
@media screen and (max-width: 500px) {
    header nav li {
        display:block !important;
        width:auto;
    }
    header nav li a{
        width:100%;
        padding:0px;
    }
}
