.site-panel{

    margin: 0 auto;
    /*position:absolute; top:40%; left:50%; transform:translate(-60%,-50%); z-index: 100;*/
    max-height:600px; width: fit-content; max-width: 1200px;
    background-color:#35302A; filter: alpha(opacity=90);
    -moz-box-shadow:inset 0 0 20px #222220;  -webkit-box-shadow:inset 0 0 20px #222220;  box-shadow:inset 0 0 20px #222220;
    border: 15px solid transparent; border-image: url(../img/panel-border.png) 20 round; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;
    text-align: center;
   /* overflow: hidden; */
}
.scroll-y{ overflow-y: auto !important; }
.site-panel h3{ position: absolute; top: -25px; }
.login-panel{ padding: 5px; width:100%; }

.content-mid{
    position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); z-index: 100;
    width: 100%;
}
.content-center-withHeader{
    position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); z-index: 100;
    width: 100%;
}
.content-center-shortHeader{
    position:absolute; top:30%; left:50%; transform:translate(-50%,-50%); z-index: 100;
    width: 100%;
}

.center-div{
    display: table;
    margin: 0 auto;
    border: 1px solid red;
}


#footer {
    /*background-image: url("/img/footer.png");*/
    background-size: auto 175px;
    background-repeat: repeat;
    background-position: center;
    height: 175px; width: 100%;
    z-index: 20;
    position: fixed; bottom:0;
}

#row-body{
    width: 100%; height: 100%;
    position: relative;
}
#background-video {
    width: 100%; height: 100%;
    object-fit: cover; /*keep its original aspect ratio*/
    z-index: 10;
    overflow: hidden;
}

#video_footer {
    background-image: url("/img/bgs/video_footer.gif");
    background-size: auto 142px;
    background-repeat: no-repeat;
    background-position: center;
    height: 142px; width: 100%;
    z-index: 20;
    position: absolute; bottom:0;
}

.bg-1{
    height: 100%;
    width: 100%;
    z-index: 10;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    -moz-transition:all 0.3s ease-in-out;
    -o-transition:all 0.3s ease-in-out;
    transition:all 0.3s ease-in-out;
    -webkit-transition:all 0.3s ease-in-out;
}

.bg-2, .bg-3{
    background-size: auto 1080px;
    background-repeat: no-repeat;
    background-position: center center;
    height: 1080px;
    max-width: 100%;
    z-index: 10;
    position: relative;
    margin: 0 auto;
}


.bg-2 {
    /*background-image: url("/img/bgs/1-2048x1080.jpg");*/
    /*background-image: -webkit-image-set(url("../images/generic/header-background_sm_960x540.jpg") 1x, url("../images/row2048x1080.jpg") 2x);*/

}
.bg-3 {
   /* background-image: url("/img/bgs/2-2048x1080.jpg"); */
    /*background-image: -webkit-image-set(url("../images/generic/header-background_sm_960x540.jpg") 1x, url("../images/row2048x1080.jpg") 2x);*/
}


#discord{
    position: fixed;
    right: 10px; bottom: 10px;
    z-index:100;
    width: 350px;
    text-align: right;
}

#header {
    position: fixed; top: 60px; left: 50%; transform: translate(-50%, 0);
    width: 80%; height: 60px;
    z-index: 99;
    -moz-transition:all 0.3s ease-in-out;
    -o-transition:all 0.3s ease-in-out;
    transition:all 0.3s ease-in-out;
    -webkit-transition:all 0.3s ease-in-out;
}
#header.show{
    top:0;
    width:95%;
}



#header_logo{
    position: absolute; top: -80px; left: 15px;
    width: 330px; height: 230px;
    -moz-transition:all 0.3s ease-in-out;
    -o-transition:all 0.3s ease-in-out;
    transition:all 0.3s ease-in-out;
    -webkit-transition:all 0.3s ease-in-out;
}
#header_logo.show{
    top: -50px; left: 50px;
    width:230px; height: 160px;
}

#menu_header{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #000;
    -webkit-box-shadow: inset 0px -1px 0px 2px #957e5b, 4px 4px 0px rgba(0,0,0,0.17);
    box-shadow: inset 0px -1px 0px 2px #957e5b, 4px 4px 0px #000000;
    box-shadow: inset 0px -1px 0px 2px #4d4841, 2px 2px 0px rgba(0,0,0,0.17);
    /* border-bottom-right-radius: 10px; */
    /* border-bottom-left-radius: 10px; */
    border-radius: 10px;
    margin-bottom: 5px;
    /* opacity: 0.7; */
    z-index: 2;
    background-color: rgba(0,0,0,0.5);
}
#sub_header{
    position: absolute; top: 60px; left: 50%; transform: translate(-50%, 0);
    width: 89%; height: 39px;
    background-image: url("/img/web/barBG.png");
    background-repeat: repeat-x;
    z-index: 1;
}

#hamburger{
    display: none;
}

#logged_in{ margin-top: 5px; text-align: center;  }

#sub_left{ position: absolute; left: -70px; }
#sub_right{ position: absolute; top: 0; right: -70px; }

.navbar-items{
    position: absolute; top: 0; left: 350px; height: 50px;
    -moz-transition:all 0.3s ease-in-out;
    -o-transition:all 0.3s ease-in-out;
    transition:all 0.3s ease-in-out;
    -webkit-transition:all 0.3s ease-in-out;
}
.navbar-items.show{
    top: -3px; left: -3px;
}



.navbar-items li, .navbar-items div{ display: inline; padding: 0 25px; height: 50px;}
.navbar-items li a, .navbar-items div a{
    height: 50px;
    font-family: titan, serif;
    font-size: 16pt;
    color: #FFF;
    text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
}

.navbar-items li a.active {
    color: #37250E;
}

#platforms{
    width: 100%;
    padding: 5px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
#platforms > div{
    margin: 15px; white-space: nowrap;
    flex: 1;
    vertical-align: middle;
    align-items: center;
    justify-content: center;
}
#platforms div:nth-child(1) { text-align: right; }

/*****************************
MOBILE CONVERSION
*****************************/

@media screen and (max-width: 760px) {

    #header{ top: 0; width: 100%; }
    #header.show{ width: 100%; }
    #header_logo{ top: -10px; left: unset; right: 25px; width:130px; height: 91px; }
    #header_logo.show{ top: -10px; width:130px; height: 91px; }
    #sub_header{ top: 40px;}
    /* #background-video{ display: none; } */
    .navbar-items{ left: -255px; padding-top: 25px;
        background-color: #978A6C;
        border-right: 2px solid #533a32;
        border-left: 2px solid #533a32;
        border-bottom-right-radius: 5px;
        height: unset;
        margin-top: 0;
        z-index:100;
    }
    .navbar ul{ padding-inline-start:0;}
    .navbar-items li{ display: list-item; list-style-type: none; }
    #hamburger{ display: block; }
    #platforms > div{ text-align: center; }
    #platforms div:nth-child(1) { text-align: center; }
    .container{ overflow: hidden; }
}