/* ----------------------------------------------
   Global layout rules
   ---------------------------------------------- */

body {
    /*background: #222;*/
    background: #212121 url("../images/darknoise.png") repeat;
    color: rgba(255, 255, 255, 0.8);
}

.main-content {
    width: 100%;
    padding-top: 80px;
    padding-bottom: 30px;
}

#top-button {
    z-index: 13;
    position: fixed;
    bottom: 15px;
    right: 15px;
    display: none;
}

#top-button:active,
#top-button:hover {
    outline: 0;
    text-decoration: none;
}

a {
    color: rgba(255, 255, 255, 0.8);
}

h1, 
.h1 {
    margin-bottom: 10px;
}

h1, 
h2, 
h3, 
h4, 
h5, 
h6, 
.h1, 
.h2, 
.h3, 
.h4, 
.h5, 
.h6 {
    color: rgba(255, 255, 255, 0.8);
}

#footer {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 0px 20px 30px 20px;
}

#footer p {
    margin-bottom: 0;
}

#footer p a {
    text-decoration: none;
}

/* ----------------------------------------------
   Navbar
   ---------------------------------------------- */

.menu-button {
    width: 70px;
    height: 80px;
    position: absolute;
    z-index: 16;
    left: 1%;
}

.menu-button span {
    position: relative;
    margin-top: 9px;
    margin-bottom: 9px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: 15px;
    margin-top: -1.5px;
}

.menu-button span, 
.menu-button span::before, 
.menu-button span::after {
    display: block;
    width: 26px;
    left: 0;
    height: 3px;
    background-color: #ffffff;
    outline: 1px solid transparent;
    -webkit-transition-property: background-color, -webkit-transform;
    -moz-transition-property: background-color, -moz-transform;
    -o-transition-property: background-color, -o-transform;
    transition-property: background-color, transform;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

.menu-button span::before, 
.menu-button span::after {
    position: absolute;
    content: "";
}

.menu-button span::before {
    top: -9px;
    width: 20px;
}

.menu-button span::after {
    top: 9px;
    width: 33px;
}

.menu-button.clicked span {
    background-color: transparent;
}

.menu-button.clicked span::before {
    -webkit-transform: translateY(9px) rotate(45deg);
    -moz-transform: translateY(9px) rotate(45deg);
    -ms-transform: translateY(9px) rotate(45deg);
    -o-transform: translateY(9px) rotate(45deg);
    transform: translateY(9px) rotate(45deg);
    width: 33px;
}

.menu-button.clicked span::after {
    -webkit-transform: translateY(-9px) rotate(-45deg);
    -moz-transform: translateY(-9px) rotate(-45deg);
    -ms-transform: translateY(-9px) rotate(-45deg);
    -o-transform: translateY(-9px) rotate(-45deg);
    transform: translateY(-9px) rotate(-45deg);
}

.menu-button.clicked span:before, 
.menu-button.clicked span:after {
    background-color: #ffffff;
}

.menu-button:hover {
    cursor: pointer;
}

#nav {
    background: #313333;
    position: fixed;
    z-index: 15;
    top: 0;
    left: -250px;
    height: 100%;
    max-width: 250px;
    width: 100%;
    padding: 100px 20px 30px 20px;
    /*overflow-y: auto;*/
    -webkit-transform: translateX(-250px);
    -moz-transform: translateX(-250px);
    -ms-transform: translateX(-250px);
    -o-transform: translateX(-250px);
    transform: translateX(-250px);
    -webkit-transition: transform 0.55s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    -moz-transition: transform 0.55s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    -o-transition: transform 0.55s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    transition: transform 0.55s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

.nav-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    padding-left: 40px;
}

#nav.show {
    -webkit-transform: translateX(250px);
    -moz-transform: translateX(250px);
    -ms-transform: translateX(250px);
    -o-transform: translateX(250px);
    transform: translateX(250px);
}

#nav > hr {
    border-top: 1px solid rgba(4, 4, 4, 0.35);
}

.menu-button.clicked {
    position: fixed;
    z-index: 16;
}

@media (min-width: 667px) {
    /*    #nav {
            padding: 100px 20px 30px 20px;
        }*/
}

#nav .nav-list {
    list-style-type: none;
}

#nav .nav-list li {

}

#nav .nav-list li:last-of-type {
    margin-bottom: 0px;
}

#nav .nav-list li a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1rem;
    display: block;
    padding: 10px 0;
}

#nav .nav-list li a:hover {
    color: #9b9e9e;
}

.menu-button:hover span {
    color: #9b9e9e;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #603e82;
    opacity: 0;
    visibility: hidden;
}

.menu-overlay.show {
    opacity: 0.8;
    visibility: visible;
}

/* ----------------------------------------------
   Maps
   ---------------------------------------------- */

#projects {
    margin-top: 30px;
    margin-bottom: 30px;
}

#projects h2 > a {
    /*color: rgba(255, 255, 255, 0.5);*/
}

#projects h2 > a:hover {
    /*text-decoration: underline;*/
}

.project {
    text-align: center;
    margin-bottom: 50px;
}

/*.project:not(:first-child){
    margin-top: 50px;
}*/

.project a {
    text-decoration: none;
    display: block;
}

.project a img {
    position: relative;
    z-index: 1;
    opacity: 1;
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

.project a:hover img {
    opacity: .6;
}

.content-box {
    width: 100%;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, .3);
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, .3);
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .3);
}

.ribbon-container {
    position: absolute;
    top: 15px;
    right: -15px;
    z-index: 2;
    overflow: visible;
    font-size: 25px;
    line-height: 18px;
}

.ribbon-container:before {
    content: "";
    height: 0;
    width: 0;
    display: block;
    position: absolute;
    top: 3px;
    left: 0;
    border-top: 29px solid rgba(0, 0, 0, .3);
    border-bottom: 29px solid rgba(0, 0, 0, .3);
    border-right: 29px solid rgba(0, 0, 0, .3);
    border-left: 29px solid transparent;
}

.ribbon-container:after {
    content: "";
    height: 3px;
    background: rgba(0, 0, 0, .3);
    display: block;
    position: absolute;
    bottom: -3px;
    left: 58px;
    right: 3px;
}

.ribbon-container span {
    display: block;
    padding: 12px;
    position: relative;
    background: #0089d0;
    overflow: visible;
    height: 58px;
    margin-left: 29px;
    color: #fff;
    text-decoration: none;
}

.ribbon-container span i {
    line-height: 1em;
}

.ribbon-container span:after {
    content: "";
    height: 0;
    width: 0;
    display: block;
    position: absolute;
    bottom: -15px;
    right: 0;
    border-top: 15px solid #004a70;
    border-right: 15px solid transparent;
}

.ribbon-container span:before {
    content: "";
    height: 0;
    width: 0;
    display: block;
    position: absolute;
    top: 0;
    left: -29px;
    border-top: 29px solid #0089d0;
    border-bottom: 29px solid #0089d0;
    border-right: 29px solid transparent;
    border-left: 29px solid transparent;
}

.project img {
    /*    display: block;
        margin-left: auto;
        margin-right: auto;*/
    /*    -webkit-transition: all 0.50s;
        transition: all 0.50s;*/
}

.project img:hover {
    /*    transform: scale(1.05);
        -webkit-transition: all 0.50s;
        transition: all 0.50s;*/
}

/*.project img {
    -webkit-transition: all 0.50s;
    transition: all 0.50s;
    &:hover {
        border: 1px solid gray;
        filter: brightness(130%);
        -webkit-filter: brightness(130%);
        -moz-filter: brightness(130%);
        -o-filter: brightness(130%);
        -ms-filter: brightness(130%);
        -webkit-transition: all 0.50s;
        transition: all 0.50s;
    }
}*/

.category-list li {
    display: inline;
}

.project-title {
    position: absolute;
    bottom: 5px;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -10%);
    text-shadow: 3px 3px 2px #000000;
    text-transform: uppercase;
    font-weight: 600;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
    width: 80%;
    padding: 8px;
}

/*.map-images {
    margin-top: 30px;
}*/

.map-images, 
.map-info, 
.map-description {
    margin-top: 30px;
}

.map-images h1 {
    margin-bottom: 30px;
}

.slick-images {
    margin-top: 30px;
}

.map-thumbnail {
    /*padding: 15px;*/
    overflow: hidden;
    margin: 0 15px;
}

/*.map-thumbnail:nth-child(4n) {
    margin-right: 0;
}*/

.map-thumbnail img {
    transition: transform .2s ease;
}

.map-thumbnail:hover img {
    transform: scale(1.1);
}

.map-thumbnail > img {
    cursor: pointer;
}

.workshop-btn {
    margin: 5px 0px 30px;
    font-size: 1.2rem;
    font-weight: 600;
}

.map-categories {
    float: right;
    padding-top: 0;
    font-size: 1.6rem;
}

.map-categories a {
    text-decoration: none;
}

.map-categories span {
    display: inline;
}

.map-description {
    font-size: 1.1rem;
}

.index-paging .pagination {
    justify-content: center;
}

#newMapForm .trumbowyg-box {
    margin: 0 auto;
}

#editMapForm .img-thumbnail {

}

#newMapForm > .form-check,
#editMapForm > .form-check {
    padding-left: 0;
}

/*#newMapForm select,
#editMapForm select {
    min-height: 100%;
}*/

.thumb-container {
    margin-top: 20px;
    position: relative;
}

.thumb-container > img {

}

.thumb-container > span, 
.thumb-container > a {
    position: absolute;
    top: 12px;
    right: 15px;
}

.thumb-container > span:hover, 
.thumb-container > a:hover {
    cursor: pointer;
}

.thumb-container > span > i, 
.thumb-container > a > i {
    text-shadow: 2px 2px 1px #000;
    font-size: 28px;
}

.sort-thumbnails {
    padding-bottom: 20px;
}

.sort-thumbnails > #updateOrderButton {
    margin: 15px;
}

#categoryForm {
    margin-top: 15px;
}

#categoryTable td {
    width: 100%;
}

.deleteCategory {
    padding: .5rem .75rem;
}

#noCategoriesAlert {
    margin-top: 15px;
}

/*#showImages .col-4 {
    margin-top: 20px;
}*/



/*#main-nav {*/
/*background: #212121 url("../images/darknoise.png") repeat;*/
/*background-color: #3E3F3A;*/
/*}*/

/*#main-nav .mr-auto .nav-link {
    margin-right: .5rem;
}

#main-nav .navbar-nav:nth-last-child(1) > .nav-item {
    margin-right: 0;
}*/

/*.bg-dark {
    border-color: #000 !important;
}*/

/*header > nav.bg-dark {
    border-bottom: #000 !important;
    border-width: 0px 0px 20px 0px;
    border-bottom-width: 5px;
    border-width:5px;
}*/

.text-danger {
    color: #ee5f5b !important;
}

.index-nav {
    display: none;
}

.bottom-margin {
    margin-bottom: 20px;
}

textarea {
    resize: vertical;
}

.table th, 
.table td {
    text-align: center;
}

.form-container {
    margin-top: 70px;
}

.border-orange {
    border-color: #ff4500;
}

.card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    color: inherit;
    background-color: #444;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

#video-loader, 
#video-message {
    display: none;
}

#updateOrderButton {
    display: none;
}

#updateVideoOrder tbody > tr {
    cursor: grab;
}

#groupForm th, 
#groupForm td {
    text-align: left;
}

#header-navbar > .navbar-right .divider {
    margin: 5px 0;
}

.row-offcanvas #sidebar, 
.row-offcanvas button[data-toggle="offcanvas"] {
    margin-top: 21px;
}

#loginForm .checkbox {
    margin-top: 0;
    margin-bottom: 10px;
}

.page-not-found {
    text-align: center;
    margin-top: 100px;
}

.page-not-found > .btn {
    margin-top: 20px;
}

#playerForm .checkbox label {
    margin-bottom: 5px;
}

form input.error, 
form select.error, 
form textarea.error {
    border: 1px solid #b94a48;
    -webkit-box-shadow: inset 0px 0px 3px 2px rgba(185,74,72,0.75);
    -moz-box-shadow: inset 0px 0px 3px 2px rgba(185,74,72,0.75);
    box-shadow: inset 0px 0px 3px 2px rgba(185,74,72,0.75);
}

form label.error {
    color: #b94a48;
}

form input.valid, 
form select.valid, 
form textarea.valid {
    border: 1px solid #468847;
    -webkit-box-shadow: inset 0px 0px 3px 2px rgba(70,136,71,1);
    -moz-box-shadow: inset 0px 0px 3px 2px rgba(70,136,71,1);
    box-shadow: inset 0px 0px 3px 2px rgba(70,136,71,1);
}

form label.valid {
    color: #468847;
}

/* --------------------------------------------
   About page
   -------------------------------------------- */

/*.primaryInfo > [class*='col-'] {
    padding-left: 0px;
    padding-right: 0px;
}*/

.primaryInfo > div > h2 {
    display: inline-block;
    margin-top: 5px;
}

.primaryInfo > div > h2 > a {
    /*color: #FFFFFF;*/
}

/*.statsInfo > [class*='col-'] {
    padding-left: 0px;
    padding-right: 0px;
}*/

.statsInfo .list-group-item {
    background-color: #323232;
    border: 1px solid #505050;
}

.statsInfoInner {
    padding-bottom: 10px;
    font-size: 18px;
}

.statsInfoInner span:nth-child(2) {
    font-weight: 400;
}

.steamAvatar {
    margin: 0 10px 10px 0;
}

.playerLevel {
    margin-right: 5px;
    line-height: 40px;
    font-size: 24px;
    font-family: "Droid Sans", sans-serif;
}

.levelStyling {
    box-sizing: content-box;
    vertical-align: middle;
    display: inline-block;
    font-size: 16px;
    border-radius: 16px;
    border: 2px solid #FFF;
    height: 28px;
    width: 28px;
    line-height: 28px;
    text-align: center;
    cursor: default;
}

.thumbnail {
    border: 1px solid #505050;
    border-radius: 0px;
    background: rgba(50, 50, 50, 0.9);
    padding: 10px;
}

/* -------- Steam level border colors --------- */

.levelStyling.lvl0 {
    border-color: #9b9b9b;
}
.levelStyling.lvl10 {
    border-color: #c02942;
}
.levelStyling.lvl20 {
    border-color: #d95b43;
}
.levelStyling.lvl30 {
    border-color: #fecc23;
}
.levelStyling.lvl40 {
    border-color: #467a3c;
}
.levelStyling.lvl50 {
    border-color: #4e8ddb;
}
.levelStyling.lvl60 {
    border-color: #7652c9;
}
.levelStyling.lvl70 {
    border-color: #c252c9;
}
.levelStyling.lvl80 {
    border-color: #542437;
}
.levelStyling.lvl90 {
    border-color: #997c52;
}

/*==================================================
=            Bootstrap 3 Media Queries             =
==================================================*/

/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */ 
/*@media only screen and (min-width: 320px) {

}*/

/* Extra Small Devices, Phones */ 
@media only screen and (min-width: 576px) {

    
    
}

/* Small Devices, Tablets */
@media only screen and (min-width: 768px) {

}

/* Medium Devices, Desktops */
@media only screen and (min-width: 992px) {

}

/* Large Devices, Wide Screens */
/*@media only screen and (min-width: 1200px) {
    
}*/

/*==========  Non-Mobile First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width: 1200px) {

    .project-title {
        font-size: 1rem;
    }
}

/* Medium Devices, Desktops */
@media only screen and (max-width: 992px) {

    .project-title {
        font-size: 0.8rem;
    }

    .map-categories {
        font-size: 1.4rem;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width: 768px) {

    .project-title {
        font-size: 0.8rem;
    }
    
    .map-images h1 {
        font-size: 2rem;
    }
}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width: 576px) {

    .main-content {
        padding-top: 60px;
    }

    .container {
        max-width: 94%;
    }

    .project {
        margin-bottom: 20px;
    }
    
    .map-images h1 {
        font-size: 1.7rem;
    }

    /*    .project:not(:first-child) {
            margin-top: 25px;
        }*/
}

/* Custom, iPhone Retina */ 
/*@media only screen and (max-width: 320px) {

}*/