/******** GENERAL *********/
body{
    background-color: #eceff1;
    position:absolute;
    width:100%;
    height:100%;
    min-height: 825px;
    overflow-y: scroll;
    overflow-x: scroll;
}

.btn, .form-control{
    border-radius: 6px;
}

.btn-primary{
    background-color:#e74d3d;
    border-color:transparent;
}

@media (min-width: 768px){
    #wrapper{
        width: 1290px;
        padding: 60px 0px 175px !important;
    }
}

#wrapper{
    /* position:absolute; */
    margin: 0 auto;
    padding: 25px;
    background-color:rgba(0,0,0,0);
    /* min-height: 600px; */
    /* display: inline-block; */
    height:100%;
    padding: 60px 0px 120px;
    overflow-y: hidden;
    overflow-x: hidden;
}

#page-content-wrapper{
    background-color:white;
    width: 800px;
    margin:30px;
    border-radius:12px;
    padding: 25px;
    height:100%;
    float:left;
}

/********** NAVBAR ***********/

#top-navbar{
    margin-bottom: 0px;
    background-color: #3597d3;
    box-shadow: 0px 0px 8px;
    position:absolute;
    left:0px;
    top:0px;
    width:100%;
}

@media (min-width:768px){
    #top-navbar{
        min-width:1290px;
    }
}

#top-navbar #navbar{
    margin-bottom: 0px;
}

#top-navbar{
    font-size: 18px;
    font-weight: bold;
}

#top-navbar a {
    padding-top: 20px;
    padding-bottom: 20px;
    color: white;
}

#top-navbar .nav li.active a {
    background-color:rgba(0,0,0,0.15);
}

#top-navbar .nav a:hover {
    background-color:inherit;
}

#top-navbar button.navbar-toggle{
    background-image: url(img/sandwich.png);
    width: 25px;
    height: 23px;
    border: none;
    margin-top: 18px;
    margin-right: 18px;
}

#top-navbar button.navbar-toggle:hover{
    background-color:inherit;
}

.my-navbar-brand{
    padding:15px 15px;
    line-height: 20px;
    text-align: center;
}

/********** RIGHT-MENU (mobile) **********/
#right-menu{
    z-index: 1002;
    position:fixed;
    right:0px;
    top:0px;
    height:100%;
    width: 300px;
    /*    display:block;*/
    background: white;
    box-shadow: 0px 0px 8px;
    overflow: scroll;
}

#right-menu #close{
    position: fixed;
    width: 27px;
    height: 27px;
    background: url(img/prohibited.png);
    top: 16px;
    right: 18px;
}

#right-menu #close a{
    display:block;
    width:100%;
    height:100%;
}

#right-menu #close a:hover{
    text-decoration: none;
}

#right-menu #header{
    background-color: #3597d3;
    position: fixed;
    width: 300px;
    top: 0px;
    right: 0px;
}

#right-ul{
    box-shadow: 0px 0px 8px black;
    list-style: none;
    color: white;
    padding: 15px;
    padding-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0px;
}

#right-ul a{
    color: white;
}

#right-ul li{
    display:block;
}

#right-menu #main{
    padding: 15px;
    width: 300px;
    /* overflow: scroll; */
    padding-top: 95px;
    padding-bottom: 86px;
}

#right-menu #main h1{
    font-size:18px;
    font-weight:bold;
    margin-top:0px;
}

#right-menu #main h4{
    font-weight: bold;
    font-size: 18px;
}

#accordion-mobile .panel-body{
    font-weight: bold;
    font-size: 14px;
}

#right-menu #main p{
    font-size:12px
}

#accordion-mobile, #accordion-mobile *{
    background-color: rgba(0,0,0,0);
}

#accordion-mobile{
    /* margin-bottom: 86px; */
}

#accordion-mobile a .menu_arrow{
    display: inline-block;
    width:21px;
    height:21px;
    float:right;
    background: url(img/menu_up_black.png);
    transform: rotate(180deg);
}

#accordion-mobile a.collapsed .menu_arrow{
    transform: rotate(0deg);
}

#accordion-mobile .panel{
    margin-top: 1em;
}

#accordion-mobile .panel-heading, #accordion-mobile .panel-body, #accordion-mobile .panel{
    border: none;
    padding: 0px;
    /* margin-top: 1em; */
}

#accordion-mobile .panel-body a{
    display: block;
    font-weight: bold;
    margin-left: 20px;
    padding-top: 5px;
    color: black;
}

#accordion-mobile .panel-body a:hover{
    text-decoration: none;
}

#accordion-mobile .panel:nth-child(1) .panel-title{
    color:#3597d3;
}

#accordion-mobile .panel:nth-child(2) .panel-title{
    color:#e94c3c;
}

#accordion-mobile .panel:nth-child(3) .panel-title{
    color:#49ba6f;
}

#accordion-mobile .panel:nth-child(4) .panel-title{
    color:#ffa900;
}

#accordion-mobile .panel:nth-child(5) .panel-title{
    color:#9f00ff;
}

#right-menu #footer{
    position: fixed;
    bottom: 0px;
    /* left: 0px; */
    width: 300px;
    padding-bottom: 20px;
    text-align:center;
    background-color: white;
}

#right-menu #footer>p{
    font-size:12px;
    margin-left: 50px;
    margin-right: 50px;
}

#right-menu #footer #social a{
    margin-left: 35px;
}

#right-menu #footer #social a:first-child{
    margin-left: 0px;
}

/********** SIDEBAR ***********/

#sidebar-wrapper{
    position:relative;
    background-color: white;
    width:400px;
    border-radius:12px;
    font-weight: bold;
    height:100%;
    margin:30px 0px 30px 30px;
    float:left;
}

#sidebar-fixed{
    height:590px;
    position: relative;
    padding: 25px;
    top: 50%;
    margin-top: -295px;
}

#sidebar-wrapper #left-explanation{
    position:absolute;
    bottom: 460px;
    text-align: center;
    width: 100%;
    left: 0px;
}
#sidebar-wrapper #left-explanation h4{
    margin-bottom: 4ex;
}

#sidebar-wrapper #left-explanation small{
    width: 250px;
    display: block;
    margin: 0px auto;
}

#sidebar-wrapper #left-curved-arrow{
    background: url(img/left_curved_arrow.png);
    background-position: bottom center;
    position: absolute;
    right: 48px;
    /*bottom: 203px;*/
    bottom: 255px;
    width:77px;
    /*height:273px;*/
    height:221px;
    pointer-events: none;
}

#sidebar-wrapper h4{
    font-weight: bold;
    font-size: 18px;
}

#accordion, #accordion *{
    background-color: rgba(0,0,0,0);
    color:white;
}

#accordion{
    position:absolute;
    bottom: 0px;
    width:350px;
}

#accordion a .menu_arrow{
    display: inline-block;
    width:21px;
    height:21px;
    float:right;
    background:url(img/menu_up.png);
    transform: rotate(180deg);
}

#accordion a.collapsed .menu_arrow{
    transform: rotate(0deg);
}

#accordion .panel-collapse{
    padding-bottom: 14px;
}

#sidebar-wrapper .panel{
    border-radius: 0px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border:0px;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.85);
    margin-bottom: -12px;
}

#sidebar-wrapper .panel:nth-child(1){
    background-color:#3597d3;
}

#sidebar-wrapper .panel:nth-child(2){
    background-color:#e94c3c;
}

#sidebar-wrapper .panel:nth-child(3){
    background-color:#49ba6f;
}

#sidebar-wrapper .panel:nth-child(4){
    background-color:#ffa900;
}

#sidebar-wrapper .panel:nth-child(5){
    background-color: #9f00ff;
}

#sidebar-wrapper .thumbnail{
    margin-bottom: 30px;
    display:inline-block;
    width:130px;
    height:87px;
    border-radius: 0px;
    border: 0px;
    line-height: 87px;
    text-align: center;
    overflow:hidden;
}

#sidebar-wrapper .thumbnail:nth-child(odd){
    margin-right: 30px;
}

/* ACHTUNG: Why middle alignment doesn't work?! */
#sidebar-wrapper .thumbnail span{
    display: inline-block;
    /*position:relative;*/
    /*overflow:hidden;*/
    text-align: center;
    vertical-align: middle;
    line-height: normal;
    margin-top:20px;
    text-shadow: 0px 0px 1px black;
}

/* make accordion headers full size */

#sidebar-wrapper .panel-heading{
    padding: 0px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    padding-bottom: 12px;
}

#sidebar-wrapper .panel:last-child .panel-heading{
    padding-bottom: 0px;
}

#sidebar-wrapper .panel-heading a{
    padding: 15px 15px;
    display:block;
}

#sidebar-wrapper .panel-body{
    border:0px;
    padding: 0px 0px 0px 30px;
    height: 350px;
    overflow-y: scroll;
}
/************* PLAYER ***************/

.video-container {
    visibility: visible;
    /*z-index: 1002;*/
}

.close_video{
        width: 19px;
        height: 19px;
        visibility: hidden;
        position: fixed !important;
        left: 50%;
        top: 50%;
        margin-left: 395px;
        margin-top: -285px;
        z-index: 1003;          /*because navbars with z = 1002*/
        -webkit-transform: translateZ(0);
}
.close_video:hover{
	cursor: pointer;
	opacity: 0.8;
}

/*********** FOOTER *************/

.footer{
    position: absolute;
    width:100%;
    background-color:white;
    height: 125px;
    bottom:0px;
    min-width:1290px;
    text-align: center;
}

#footer-centerer{
    width: 1230px;
    display: inline-block;
    position: relative;
}

.footer #logo{
    position:absolute;
    left: 0px;
    margin-top:30px;
}

.footer #copy{
    position:absolute;
    left: 135px;
    text-align: left;
    height:125px;
    padding-left: 20px;
    max-width:400px;
	top: 0px;
}

.footer #copy .copy_bold{
    font-weight: bold;
    margin-bottom: 0px;    
}

.footer #social{
    height:100%;
}

.footer #social a{
    margin-left: 30px;
}

.youtube-link{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

.youtube-link span{
    font-weight: bold;
}

.footer #right{
    display:table;
    height:125px;
    position:absolute;
    right:0px;
    top:0px;
}

.footer #right a{
    font-weight: bold;
    color:black;
    text-decoration: none;
}

/******* MOBILE *********/

.footer-mobile{
    position: absolute;
    width:100%;
    background-color:white;
    height: 60px;
    bottom:0px;
    text-align: center;
    padding: 0px 30px;
}

.footer-mobile a{
    color:black;
    font-weight:bold;
    display:inline-block;
    height: 100%;
    padding-top: 20px;
    width: 23%;
}

.footer-mobile a:hover{
    text-decoration: none;
}

/************* CONTACTS **********/
#contacts-wrapper, #mobile-main-wrapper{
    background-color:white;
    width: 1240px;
    margin:30px;
    border-radius:12px;
    overflow-x: hidden;
    overflow-y: hidden;
    padding: 30px;
    height:100%;
    float:left;    
}

#contacts-wrapper, #page-content-wrapper, #sidebar-wrapper{
    display:none;
}

@media (max-width: 767px){
    #contacts-wrapper{
        width: auto;
    }
    #page-content-wrapper{
        border-radius:0px;
    }
}

/******** OTHER **********/
#mobile-main-wrapper{
    width: auto;
}

#mobile-main-wrapper h1{
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}

#mobile-main-wrapper h2{
    text-align: center;
    font-weight: bold;
    font-size: 15px;    
}

#mobile-main-wrapper em{
    color:red;
    font-style: normal;
}

#mobile-main-wrapper .instruction em{
    color:blue;
    font-style: normal;
}

#mobile-main-wrapper #loveyou{
    text-align: center;
    margin-top: 2em;
}

#mobile-main-wrapper #heart{
    position: relative;
}

/******* ROTATE PAGE **********/
@media (min-width: 768px), (orientation: landscape) {
    #rotate-page{
        display: none;
    }
}

#rotate-page{
    position: absolute;
    width:100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background-color:#3597D3;
    width: 100%;
    margin:0px;
}
#rotate-page div{
    box-sizing: border-box;
}
#rotate-page #image{
    position: absolute;
    width:100px;
    height:100px;
    margin: -50px -50px;
    top: 25%;
    left: 50%;
    background-image: url(img/rotate.png);
}
#rotate-page #text{
    position:absolute;
    top: 50%;
    text-align: center;
    width:100%;
    padding-left: 25%;
    padding-right: 25%;
}
#rotate-page #text #accent{
    color: yellow;
}
#rotate-page #emblem{
    position: absolute;
    width: 60px;
    height: 53px;                
    margin: -27px -30px;
    bottom: 25%;
    left: 50%;                
    background-image: url(img/icon_60x53.png);
}