html, body {
    padding: 0;
    margin: 0;
    min-height:100%;
    height: 100%;
}
#wrap{
    min-height:100%;
    height: 100%;
//background:cyan;
    background: url(../img/big_a.jpg) no-repeat scroll;
    background-position:center;
    background-size: cover;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

@media only screen and (max-width: 1024px) and (orientation:landscape) {
    #wrap { background: url(../img/medium_a.jpg) 50% 0 no-repeat scroll !important;
        background-position:center;
        background-size: cover;
        background-attachment: fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
    }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
    #wrap { background: url(../img/medium_a.jpg) 50% 80% no-repeat scroll !important;
        background-position:center;
        background-size: cover;
        background-attachment: fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
    }
}
@media only screen and (min-width: 0px) and (max-width: 767px) {
    #wrap { background: url(../img/small_a.jpg) 75% 80% no-repeat scroll !important;
        background-position:center;
        background-size: cover;
        background-attachment: fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
    }
}

.header {
    background:rgba(100,100,100,1);
    height:80px;
    top:-80px;
    transition: top 1s;
    text-align:center;
}
.header.fixed {
    width:100%;
    position: fixed;
    top: 0;
    background:rgba(100,100,100,0.75)
}
.header.fixed ~ #wrap {
    margin-top:80px;
}

/* menu */
.nav {
    margin: 20px 0;
}
.nav ul {
    margin: 0;
    padding: 0;
}
.nav li {
    margin: 0 5px 10px 0;
    padding: 0;
    list-style: none;
    display: inline-block;
    *display:inline; /* ie7 */
}
.nav a {
    padding: 3px 12px;
    text-decoration: none;
    color: #999;
    line-height: 100%;
}
.nav a:hover {
    color: #000;
}
.nav .current a {
    background: #999;
    color: #fff;
    border-radius: 3px;
    font-size: 55px;
}


/* menu right */
.nav.right ul {
    text-align: right;
}
/* menu in the middle */
.nav.center ul {
    text-align: center;
}

@media screen and (max-width: 600px) {
    .nav {
        position: relative;
        min-height: 40px;
    }
    .nav ul {
        width: 180px;
        padding: 5px 0;
        position: absolute;
        top: 0;
        left: 0;
        border: solid 1px #aaa;
        background: #FAFAFA url(images/icon-menu.png) no-repeat 10px 11px;
        border-radius: 5px;
        box-shadow: 0 1px 2px rgba(0,0,0,.3);
    }
    .nav li {
        display: none; /* hide all <li> elements */
        margin: 0;
    }
    .nav .current {
        display: block; /* show just active <li> elements */
    }
    .nav a {
        display: block;
        padding: 5px 5px 5px 32px;
        text-align: left;
    }
    .nav .current a {
        background: none;
        color: #666;
        font-size: 16px;
    }

    /* menu hover */
    .nav ul:hover {
        background-image: none;
    }
    .nav ul:hover li {
        display: block;
        margin: 0 0 5px;
    }
    .nav ul:hover .current {
        background: url(images/icon-check.png) no-repeat 10px 7px;
    }

    /* menu on right */
    .nav.right ul {
        left: auto;
        right: 0;
    }

    /* menu in the middle */
    .nav.center ul {
        left: 50%;
        margin-left: -90px;
    }

}

@media (min-width: 768px) {
    .container-small {
        width: 600px;
    }
    .container-large {
        width: 860px;
    }
}
@media (min-width: 992px) {
    .container-small {
        width: 800px;
    }
    .container-large {
        width: 1120px;
    }
}
@media (min-width: 1200px) {
    .container-small {
        width: 960px;
    }
    .container-large {
        width: 1400px;
    }
}

.container-small, .container-large {
    max-width: 100%;
}


/* base style for window and shade  */
.overlay {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    display: none;
    background-color: rgba(0, 0, 0, 0.65);
    position: fixed;
    cursor: default;
}
/* activate shade */
.overlay:target {
    display: block;
}
/* style modal window */
.popup {
    z-index: 20;
    margin: auto;
    width: 85%;
    min-width: 320px;
    max-width: 600px;
    padding: 15px;
    border: 1px solid #383838;
    background-color: rgba(255,255,255,0.7);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    font: 14px/18px 'Tahoma', Arial, sans-serif;
    -webkit-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -moz-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -ms-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -webkit-transition: -webkit-transform 0.6s ease-out;
    -moz-transition: -moz-transform 0.6s ease-out;
    -o-transition: -o-transform 0.6s ease-out;
    transition: transform 0.6s ease-out;
}
/* activate modal block */
.overlay:target+.popup {
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    top: 20%;
}
/* close button */
/*
.close {
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    position: absolute;
    padding: 0;
    border: 2px solid #ccc;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
    background-color: rgba(61, 61, 61, 0.8);
    -webkit-box-shadow: 0px 0px 10px #000;
    -moz-box-shadow: 0px 0px 10px #000;
    box-shadow: 0px 0px 10px #000;
    text-align: center;
    text-decoration: none;
    font: 13px/20px 'Tahoma', Arial, sans-serif;
    font-weight: bold;
    -webkit-transition: all ease .8s;
    -moz-transition: all ease .8s;
    -ms-transition: all ease .8s;
    -o-transition: all ease .8s;
    transition: all ease .8s;
}
.close:before {
    color: rgba(255, 255, 255, 0.9);
    content: "X";
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
    font-size: 12px;
}
.close:hover {
    background-color: rgba(252, 20, 0, 0.8);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}
*/

/* img inside popup */
.popup img {
    width: 100%;
    height: auto;
}
/* minibild left/right */
.pic-left,
.pic-right {
    width: 25%;
    height: auto;
}
.pic-left {
    float: left;
    margin: 5px 15px 5px 0;
}
.pic-right {
    float: right;
    margin: 5px 0 5px 15px;
}
/* media elements, frames */
.popup embed,
.popup iframe {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display:block;
    margin: auto;
    min-width: 320px;
    max-width: 600px;
    width: 100%;
}
.popup h2 {
    margin: 0;
    color: #1c1312;
    padding: 5px 0px 10px;
    text-align: left;
    text-shadow: 1px 1px 3px #adadad;
    font-weight: 500;
    font-size: 1.4em;
    font-family: 'Tahoma', Arial, sans-serif;
    line-height: 1.3;
}
/* ????????? */
.popup p {margin: 0; padding: 5px 0}


#cookiepanel a {
    color: #89b3ff;
    text-decoration: underline;
    font-weight: bold;
}

#cookiepanel a:hover {
    text-decoration: underline;
}

#cookiepanel div {
    padding: 10px;
    padding-right: 40px;
}

#cookiepanel {
    color: #fff;
    outline: 1px solid #7b92a9;
    text-align: center;
    border-top: 1px solid #fff;
    background: #25192c;
    position: fixed;
    bottom: 0px;
    z-index: 10000;
    width: 100%;
    font-size: 14px;
    line-height: 16px;
}

#cookiepanelCloser {
    color: #777;
    font: 14px/100% arial, sans-serif;
    position: absolute;
    right: 5px;
    text-decoration: none;
    text-shadow: 0 1px 0 #fff;
    top: 5px;
    cursor: pointer;
    border-top: 1px solid white;
    border-left: 1px solid white;
    border-bottom: 1px solid #7b92a9;
    border-right: 1px solid #7b92a9;
    padding: 4px;
    background: #ced6df; /* Old browsers */
    background: -moz-linear-gradient(top, #ced6df 0%, #f2f6f9 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ced6df), color-stop(100%, #f2f6f9));
    background: -webkit-linear-gradient(top, #ced6df 0%, #f2f6f9 100%);
    background: -o-linear-gradient(top, #ced6df 0%, #f2f6f9 100%);
    background: -ms-linear-gradient(top, #ced6df 0%, #f2f6f9 100%);
    background: linear-gradient(to bottom, #ced6df 0%, #f2f6f9 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ced6df', endColorstr='#f2f6f9', GradientType=0);
}

#cookiepanelCloser:hover {
    border-bottom: 1px solid white;
    border-right: 1px solid white;
    border-top: 1px solid #7b92a9;
    border-left: 1px solid #7b92a9;
}