/*
    Created on : 06.04.2015, 15:45:39
    Author     : Marvin Botens
*/

* {
    border: 0 none;
    color: #ffffff;
    font-family: 'Fira Sans Light', sans-serif, Helvetica;
    font-size: 10.5pt;
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
}
html {
    overflow-x: hidden;
    margin: 0px;
    padding: 0px;
    min-height: 100%;
    height: 100%;
}
body {
    margin: 0px;
    margin-top: -100px;
    padding: 0px;
    min-height: 100%;
    height: 100%;
    background-color: darkred;
    background-attachment: fixed;
    background-size: cover;
    background-image: -webkit-gradient(
	linear,
	right bottom,
	left top,
	color-stop(0, rgb(222, 222, 222)),
	color-stop(1, rgb(112, 112, 112))
    );
    background-image: -o-linear-gradient(left top, rgb(222, 222, 222) 0%, rgb(112, 112, 112) 100%);
    background-image: -moz-linear-gradient(left top, rgb(222, 222, 222) 0%, rgb(112, 112, 112) 100%);
    background-image: -webkit-linear-gradient(left top, rgb(222, 222, 222) 0%, rgb(112, 112, 112) 100%);
    background-image: -ms-linear-gradient(left top, rgb(222, 222, 222) 0%, rgb(112, 112, 112) 100%);
    background-image: linear-gradient(to left top, rgb(222, 222, 222) 0%, rgb(112, 112, 112) 100%);
}
/*.grid {
    min-height: 100%;
    position: absolute;
    width: 100%;
    z-index: 3;
}*/
#wrapper {
    margin-top: 100px;
    min-height: 100%;
    height: auto !important;
    margin-bottom: -100px; /* the bottom margin is the negative value of the footer's total height */
    padding-top: 100px;
}
#wrapper:after {
    content: "";
    display: block;
    height: 100px; /* the footer's total height */
  }
#main-logo {
    margin-top: 15px;
    height:50px;
}
#content {
    display: inline-block;
    float: left;
    min-height: 500px;
    width: 74%;
}
.uni-wrapper{
    position: relative;
    max-width: 1500px;
    min-width: 900px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.item-page {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    margin-top: 10px;
    overflow: hidden;
}
.content {
    padding: 2%;
    width: auto;
}
p{
    margin-bottom:10px;
}
a {
    color: white;
}
.justify{
    text-align: justify;
}

#sidebar-right {
    float: right;
    width: 25%;
}

.sidebar-element {
    width: 100%;
}

#page-header {
    left: 0;
    margin-top: 0;
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    z-index: 999;
    background-color: rgba(150,0,0,0.8);
    background-image: url(/media/header_texture.jpg);
    box-shadow: 0 3px 2px black;
}

/*#page-header.item-page {
    overflow: visible;
}*/

/*#page-header-left {
    float: left;
    //height: 85px;
    min-width: 350px;
    overflow-y: hidden;
    width: 40%;
}*/
footer {
    clear: both;
    padding: 5px;
    /* height: 100px; */
}
.clear:after {
    clear: both;
    content: "";
    display: table;
}
#main-navigation {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 999;
   display: block;
   float:right;
}
#main-navigation ul.menu {
    display: inline-block;
}
#main-navigation .menu li {
    display: inline-block;
    list-style-type: none;
}
#main-navigation .menu li a {
    display: inline-block;
    float: left;
    margin: 5px;
    padding: 10px;
    color: white;
}
#main-navigation .menu li a:hover, #main-navigation .menu li.active {
    font-weight: bold;
}
.sub-navigation{
    margin-top: 10px;
    font-size: 9pt;
}
.sub-navigation a{
    color: white;
    background: rgba(0, 0, 0, 0.7);
    display: inline-block;
    font-weight: bold;
    padding: 10px;
    white-space: nowrap;
    overflow: hidden;
}
.sub-navigation a:hover {
    background: rgba(255,255,255,0.3);
}
.below-sub-navigation{
}
.below-sub-navigation a.anchor{
    position: relative;
    top: -190px;
}
h1, h2, h3 {
    clear:both;
}
.header{
    background-color: rgba(0, 0, 0, 0.3);
    padding: 5px 2%;
}
.loading-animation{
    text-align: center;
}
.loading-animation img{
    position: relative;
    top: 200px;
    width: 50px;
}
form.contact{
    margin: 10px auto;
    width: 80%;
}
form.contact label{
    display: inline-block;
    vertical-align: top;
    margin-right: 5%;
    width: 25%;
}
form.contact label.checkbox{
    width: 90%;
    display: inline-block;
    margin: 0;
}
form.contact input.checkbox{
    width: 5%;
    display: inline-block;
}
form.contact input, form.contact select, form.contact textarea {
    background: rgba(255,255,255,0.2);
    box-shadow: 0 0 5px black;
    padding: 5px 5%;
    margin-bottom: 10px;
    width: 70%;
    font-size: 10pt;
}
form.contact option {
    background-color: rgba(100,100,100,0.4);
}
.center{
    text-align: center;
}
.f-left{
    float: left;
}
.f-right{
    float: right;
}
.inline{
    display: inline;
}
.title{
    font-size: 2em;
}
.subtitle{
    font-size: 80%;
}
a.anchor{
    position: relative;
    top: -100px;
}
.media {
    box-shadow: 0 0 5px black;
}
.embeded-videoplayer {
    display: inline-block;
    position: relative;
}
/*pseudo element enforcing aspect-ratio*/
.embeded-videoplayer:before {
    content:"";
    display:block;
    padding-top: 56.25%; /*apsect-ratio: 16:9*/
}
.embeded-videoplayer iframe, .embeded-videoplayer img {
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}
.link{
    color: rgb(150, 0, 0);
    font-weight: bold;
}
.link:hover{
    text-decoration: underline;
}
.link-classic{
    text-decoration: underline;
    color: white;
}
.link-classic:hover{
    color: white;
}
.success {
    color: rgb(94, 255, 94);
    font-weight: bold;
}
.error {
    color: rgb(200, 0, 0);
    font-weight: bold;
}
.button {
    border: 1px solid;
    border-color: white;
    color: white;
    display: inline-block;
    font-weight: bold;
    padding: 10px;
    white-space: nowrap;
    overflow: hidden;
    background: none;
}
.button:hover, .button:target{
    background: rgba(255,255,255,0.3);
    color: white;
}
img.box-icon {
    box-shadow: none;
    height: 23px;
    margin: 0 5px;
}
img.img-button {
    vertical-align: top;
    height: 30px;
}
img.img-button:hover{
    height: 33px;
}
.h-small{
    height: 150px;
    overflow: hidden;
}
.h-medium{
    height: 250px;
    overflow: hidden;
}
.h-large{
    height: 350px;
    overflow: hidden;
}
.w-full{
    width: 100%;
}
.w-half{
    width: 49%;
    vertical-align: top;
    display: inline-block;
}
.w-gutter{
    width: 2%;
    vertical-align: top;
    display: inline-block;
}
.w-third{
    width: 32%;
    vertical-align: top;
    display: inline-block;
}
.w-third-no-gutter{
    width: 33.33333%;
    vertical-align: top;
    display: inline-block;
}
.w-third-gutter{
    width: 2%;
    vertical-algin: top;
    display: inline-block;
}
.w-2third{
    width: 66%;
    vertical-align: top;
    display: inline-block;
}
.w-submenu{
    width: 53.5%;
    min-width: 268px;
}
.c-align-center{
    text-align: center;
}
.c-align-right{
    text-align: right;
}
.bg-overlay-box{
    position: relative;
}
.bg-overlay-box img{
    min-height: 100%;
    min-width: 100%;
    max-width: 130%;
}
.bg-overlay-box div{
    position: absolute;
    top:0;
    left:0;
    text-shadow: black 1px 1px;
}
.overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
a.overlay{
    background-color: rgba(0,0,0,0.3);
}
a.overlay:hover{
    background-color: transparent;
}

img.f-right{
    width:50%;
    float:right;
    margin-left:10px;
}
img.f-left{
    width:50%;
    float:left;
    margin-right:10px;
}
img.fit{
    min-height: 100%;
    min-width: 100%;
    max-width: 110%;
}

.social-media-button{
    height: 40px;
}

.load-anim-small {
    height: 40px;
}

.blured-background {
    z-index: -1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    filter: blur(40px);
    background-color: rgba(0, 0, 0, 0.4)
}

.carousel-caption-full-width {
    width: 100%;
    right: 0;
    left: 0;
    padding-right: 5%;
    padding-left: 5%;
}

@media screen and (max-width: 930px) {

    #page-header {
        position: static;
    }
    #main-navigation  {
        position: static;
        width: 100%;
        margin-top: 120px;
        float: none;
    }
    #main-navigation ul, #main-navigation li {
        width: 100%;
    }
    #main-navigation .menu li a {
        width: 100%;
        text-align: center;
        background: none repeat scroll 0 0 rgba(0, 0, 0, 0.7);
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        margin: 0;
        padding: 10px;
    }
    #main-navigation .menu li a:hover, #main-navigation .menu .active {
        background: none repeat scroll 0 0 rgba(255,255,255,0.4);
    }
    #main-nav-toogle-button {
        display: none;
    }
    #wrapper {
        margin-top: 0;
    }
    .uni-wrapper {
        min-width: 500px;
        width: 90%;
    }
    #content {
        float: none;
        width: 100%;
    }
    #sidebar-right {
        float: none;
        width: 100%;
    }
    .sidebar-element {
        float: left;
        width: 49%;
    }
    .sidebar-element-gap {
        width: 2%;
    }
    .sub-navigation{
        width: 100%;
        min-width: 500px;
        background: none;
    }
}
@media screen and (max-width: 550px) {

    .uni-wrapper {
        min-width: 0;
        width: 95%;
    }
    .item-page {
        margin-top: 15px;
    }
    #sidebar-right {
        float: none;
        width: 100%;
    }
    .sidebar-element {
        width: 100%;
    }
    /*ToDo: deprecated - replace with usage of rw (responsive width)*/
    .w-third, .w-third-no-gutter {
        width: 49%;
        display: inline-block;
    }
    /*responsive width*/
    .rw-full {
        width: 100%;
    }
    .sub-navigation{
        position: static;
        width: auto;
        min-width: 0;
    }
    form.contact {
     width:95%
    }
    form.contact label {
     width:100%
    }
    form.contact input, form.contact select, form.contact textarea {
            width:100%;
      font-size:12pt;
    }
}

@media screen and (max-width: 400px) {
    .r2w-full {
        width: 100%;
    }
}
