/**************************/
/*** Global
/**************************/
html {
	cursor: url('../img/cursor.png'), auto;
}
body {
	background-color: #000;
	color: #D5D4D4;
	padding-top: 130px;
	overflow: hidden;
}
hr {
	border-color: #333;
}
img {
	max-width: 100%;
}

#main.resized {
	width: 380px !important;
	height: 550px !important;
}

/**************************/
/*** Top Navigation
/**************************/
.logo {
	height: 55px;
	margin-top: -15px;
}
.nav-wrap {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	background: #000;
	box-shadow: 0 20px 20px #000;
}
nav.floors {
	background-color: #111;
	border: 2px solid #333;
	border-right: 0;
	border-left: 0;
	padding: 15px 25px;
	margin: 25px 0 0 0;
}
.btn-copyright,
.btn-floor {
	position: relative;
	display: inline-block;
	font-size: 120%;
	background-color: #000;
	border: 2px solid #555;
	border-radius: 10px;
	margin-right: 10px;
	padding: 10px 15px;
	cursor: pointer;
	opacity: 0.5;
}
.btn-copyright,
.btn-floor.active,
.btn-sidebar.active {
	opacity: 1;
}
#customIndicator,
#objectiveIndicator {
	display: block;
	position: absolute;
	right: -8px;
	height: 23px;
	width: 23px;
	font-size: 15px;
	color: #fff;
	line-height: 20px;
	border-radius: 20px;
	border: 1px solid #000;
	text-align: center;
}
#customIndicator {
	bottom: -6px;
	background-color: #a441ff;
}
#objectiveIndicator {
	top: -6px;
	background-color: #f00;
}
#customIndicator > .fas,
#objectiveIndicator > .fas {
	text-shadow:
		-1px -1px 0 #000,  
		 1px -1px 0 #000,
		-1px  1px 0 #000,
		 1px  1px 0 #000;
}

/**************************/
/*** Sidebar
/**************************/
#sidebarToggle {
	text-align: center;
}
.btn-sidebar {
	position: relative;
	display: inline-block;
	background-color: #000;
	border: 2px solid #555;
	border-radius: 45px;
	margin-top: 5px;
	margin-bottom: 20px;
	cursor: pointer;
	opacity: 0.5;
	width: 75px;
	height: 75px;
	text-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
	background-size: cover;
	background-repeat: no-repeat;
}
.btn-sidebar:first-child {
	margin-right: 30px;
}
.btn-sidebar > span {
	position: absolute;
	bottom: -7px;
	left: -2px;
	width: 75px;
}
.btn-sidebar.active > span {
	color: #e00c0c;
}
.btn-sidebar.active > span:before {
	content: "[";
	color: #fff;
}
.btn-sidebar.active > span:after {
	content: "]";
	color: #fff;
}
.fa-level-next {
	transform: rotate(90deg);
	margin: 0 10px;
}
#markerFilters {
	padding: 0 15px;
}
#markerFilters label {
	cursor: pointer;
}
#markerFilters .form-check.main-check {
	font-weight: bold;
}
#markerFilters .form-check.parent-check {
	font-weight: bold;
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
}
#markerFilters .form-check.child-check {
	padding-left: 40px;
}
#markerFilters .far,
#markerFilters .fas {
	width: 20px;
	text-align: center;
	margin-right: 5px;
	font-size: 14px;
	line-height: 1;
}
.parent-icon {
	margin-left: -1.25rem;
}
#itemSelector {
	display: none;
}


/**************************/
/*** Maps
/**************************/
.map-overlay {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 1556px;
	height: 1556px;
}
.mapImage {
	width: 1556px;
	height: 1556px;
	max-width: inherit;
}
.marker {
	display: block;
	position: absolute;
	border-radius: 25px;
	height: 25px;
	width: 25px;
	cursor: pointer;
	text-align: center;
	font-size: 20px;
	line-height: 1;
	text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
}
.marker.debug {
	background-color: #a441ff;
}
.popover-body {
	position: relative;
}
.popover-body .zoom-icon {
	position: absolute;
	right: 20px;
    bottom: 45px;
    width: 40px;
    min-width: inherit;
    min-height: inherit;
    opacity: 0.2;
}
.popover-body .lightbox {
	cursor: pointer;
}
.popover-body .lightbox:hover,
.popover-body .lightbox:hover + .zoom-icon {
	opacity: 1;
}


/**************************/
/*** Item Details
/**************************/
#itemDetails {
	position: absolute;
	top: 0;
	right: 35px;
	bottom: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.8);
}
#itemDetails > .container-fluid {
	height: 100%;
	background: #000;
}
#itemDetails > .container-fluid > .row,
#itemDetails > .container-fluid > .row > div[class^="col-sm-"] {
	height: 100%;
}
#itemDetails .image-sidebar {
	background-image: url('/media/img/zipper.jpg'), url('/media/img/zipper.jpg');
	background-position: left top, right top;
	background-repeat: repeat-y;
	background-color:#000;
}
#itemDetails .image-sidebar img {
	max-width: 85%;
	border-width: 2px;
	border-style: solid;
	border-color: #000;
	margin-top: 15px;
	cursor: pointer;
}
#itemDetails .image-sidebar img:first-child {
	margin-top: 0;
}
#itemDetails .image-sidebar img.active {
	border-color: #555;
}


/**************************/
/*** Roadmap
/**************************/

#stepMarker,
#customMarker {
	position: absolute;
	width: 25px;
	height: 40px;
}
#stepMarker .fas,
#customMarker .fas {
	position: absolute;
	bottom: 3px;
	left: 3px;
	font-size: 25px;
	color: #f00;
	text-shadow:
		-1px -1px 0 #000,  
		 1px -1px 0 #000,
		-1px  1px 0 #000,
		 1px  1px 0 #000;
	animation: float 1.2s ease-in-out infinite;
	/* Add background shadow-color-thingie */
}
#customMarker .fas {
	color: #a441ff;
}
#stepMarker .circle,
#customMarker .circle {
	position: absolute;
	bottom: 0;
	left: 1px;
	width: 23px;
	height: 10px;
	border: 1px solid #000;
	border-radius: 30px / 15px;
	box-shadow: inset 0 0 4px #fff;
	animation: stretch 1.2s ease-in-out infinite; 
}
@keyframes float {
	0%   { bottom: 3px; }
	50%  { bottom: 7px; }
	100% { bottom: 3px; }
}
@keyframes stretch {
	0%   { width: 25px; left: 0px; }
	50%  { width: 29px; left: -2px; }
	100% { width: 25px; left: 0px; }
}

#roadmapSelectors {
	padding: 0 15px;
}
.routeSteps {
	margin-left: -15px;
}
.routeSteps .routeTitle {
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
	margin: 0 0 0 37px;
}
.routeSteps label {
	margin: 0 0 15px 37px;
	font-size: 13px;
	line-height: 1;
}


.routeSteps {
	background-image: url('/media/img/zipper.jpg');
	background-position: left top;
	background-repeat: repeat-y;
	background-color:#000;
	height: 100%;
}

.routeSteps ul {
	list-style-type: none;
	margin: 0 0 0 32px;
	padding: 0;
}
.routeSteps ul li {
	display: flex;
	align-items: center;
	position: relative;
	cursor: pointer;
	background: #222;
	padding: 10px 15px 10px 55px;
	min-height: 70px;
	margin-bottom: 8px;
	border-right: 5px solid #aaa;
	opacity: 0.4;
}

.routeSteps ul li > span {
	width: 100%;
}

.routeSteps ul li > .fas:first-child {
	display: block;
	position: absolute;
	top: 23px;
	left: 15px;
	bottom: 0;
	font-size: 25px;
	width: 25px;
	text-align: center;
}
.routeSteps ul li.jan-safe {
	border-right-color: green;
}
.routeSteps ul li.jan-idle {
	border-right-color: blue;
}
.routeSteps ul li.jan-roam {
	border-right-color: red;
}
.routeSteps ul li.jan-gone {
	border-right-color: orange;
}
.routeSteps ul li.jan-prev {
	border-right-color: lemonchiffon;
}

.routeSteps ul li.type-safe {
	color: #000;
	background-color: lightgreen;
}
.routeSteps ul li.type-miss {
	color: #000;
	background-color: darksalmon;
}
.routeSteps ul li.type-prev {
	color: #000;
	background-color: lemonchiffon;
}

.routeSteps ul li.type-path-full {
	padding-left: 15px;
	text-align: center;
	border: 0;
}
.routeSteps ul li.type-pathl,
.routeSteps ul li.type-pathr {
    width: 49%;
    float: left;
	border: 0;
	padding-left: 15px;
	text-align: center;
}
.routeSteps ul li.type-pathl,
.routeSteps ul li.type-pathr {
    margin-right: 5px;
}
.routeSteps ul li.type-pathl {
    margin-right: 0;
}
.routeSteps ul li.type-path-full .fas,
.routeSteps ul li.type-pathl .fas,
.routeSteps ul li.type-pathr .fas {
	display: none;
}

.routeSteps ul li.active,
.routeSteps ul li.type-prev,
.routeSteps ul li.type-miss,
.routeSteps ul li.type-safe,
.routeSteps ul li.type-path-full,
.routeSteps ul li.type-pathr,
.routeSteps ul li.type-pathl {
	opacity: 1;
}


/**************************/
/*** About
/**************************/
.copyright {
	width: 100%;
	font-size: 90%;
	margin-bottom: 5px;
}


/**************************/
/*** Footer
/**************************/
.bottom-shadow {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	height: 22px;
	box-shadow: inset 0 -10px 15px #000;
}
#version {
	float: right;
	margin-right: 10px;
	color: grey;
	font-size: 75%;
	opacity: 0.4;
}


/**************************/
/*** Lightbox
/**************************/
#lightbox {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.8);
}
#lightbox .image-frame {
	position: relative;
	display: inline-block;
	background: #fff;
	padding: 5px;
	margin-top: 20px;
	width: 75%;
}
#lightbox .btn-close {
	position: absolute;
	top: 15px;
	right: 5px;
	left: 5px;
	background: #000;
	background: linear-gradient(
					to right,
					rgba(17,17,17,1),
					rgba(17,17,17,0.5),
					rgba(17,17,17,0),
					rgba(17,17,17,0),
					rgba(17,17,17,0.5),
					rgba(17,17,17,1)
				);
	border-width: 2px 0 2px 0;
	border-style: solid;
	border-color: #333;
	border-image: linear-gradient(
					to right,
					rgba(51,51,51,1),
					rgba(51,51,51,0.5),
					rgba(51,51,51,0),
					rgba(51,51,51,0),
					rgba(51,51,51,0.5),
					rgba(51,51,51,1)
				) 2;
	height: 50px;
	text-align: right;
}
#lightbox .btn-close span {
	position: relative;
	display: inline-block;
	background: #000;
	border: 2px solid #333;
	border-radius: 25px;
	height: 40px;
	width: 40px;
	margin: 3px 10px;
	cursor: pointer;
}
#lightbox .btn-close span:before {
	position: absolute;
	top: -3px;
	right: 50px;
	width: 200px;
	font-size: 25px;
	content: 'Close Screenshot';
}
#lightbox .btn-close span:after {
	position: absolute;
	top: -6px;
	right: 8px;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-size: 30px;
	content: 'x';
}
#lightbox .btn-details {
	position: absolute;
	top: 15px;
	left: 7px;
	height: 50px;
	text-align: left;
}
#lightbox .btn-details span {
	position: relative;
	display: inline-block;
	background: #000;
	border: 2px solid #333;
	border-radius: 25px;
	height: 40px;
	width: 40px;
	margin: 3px 10px;
	cursor: pointer;
}
#lightbox .btn-details span:before {
	position: absolute;
	top: -4px;
	right: 14px;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-size: 30px;
	content: 'i';
}
#lightbox .btn-details span:after {
	position: absolute;
	top: -3px;
	left: 50px;
	width: 200px;
	font-size: 25px;
	content: 'Details';
}
#lightbox .image-frame img {
	width: 100%;
}
#lightbox .image-frame p {
	font-family: "Lucida Console", Monaco, monospace;
	font-size: 27px;
	color: #000;
	margin: 15px 0 10px 0;
	
}


/**************************/
/*** Carousel
/**************************/
.vert .carousel-item-next.carousel-item-left,
.vert .carousel-item-prev.carousel-item-right {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.vert .carousel-item-next,
.vert .active.carousel-item-right {
    -webkit-transform: translate3d(0, 100%, 0);
            transform: translate3d(0, 100% 0);
}

.vert .carousel-item-prev,
.vert .active.carousel-item-left {
-webkit-transform: translate3d(0,-100%, 0);
        transform: translate3d(0,-100%, 0);
}


.carousel-control-prev,
.carousel-control-next {
	position: absolute;
	display: block;
	text-align: center;
	height: 35px;
	width: 50%;
}
.carousel-control-prev {
	top: 5px;
	left: 0;
}
.carousel-control-next {
	top: 5px;
	right: 0;
}
.carousel-control-prev.disabled,
.carousel-control-next.disabled {
	cursor: inherit;
}
.carousel-control-prev.disabled:hover,
.carousel-control-prev.disabled:focus,
.carousel-control-next.disabled:hover,
.carousel-control-next.disabled:focus {
	opacity: 0.5;
}
.carousel-inner {
	padding: 40px 0 0 0;
	height: 100%;
}


/**************************/
/*** Chosen JS
/*** Dark Theme :: https://github.com/nook24/chosen-dark/
/**************************/

.chosen-container-single .chosen-single abbr {
	background: url("../img/chosen-sprite.png") -42px 1px no-repeat;
}
.chosen-container-single .chosen-single div b {
	background: url("../img/chosen-sprite.png") no-repeat 0px 2px;
}
.chosen-container-single .chosen-search input[type="text"] {
	background: url("../img/chosen-sprite.png") no-repeat 100% -20px;
}
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
	background: url("../img/chosen-sprite.png") -42px 1px no-repeat;
}
.chosen-rtl .chosen-search input[type="text"] {
	background: url("../img/chosen-sprite.png") no-repeat -30px -20px;
}
.chosen-container {
	margin-bottom: 15px;
}
.chosen-container .chosen-drop {
	border-color: #333;
	background: #212121;
	box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
}
.chosen-container-single .chosen-single {
	border-color: #333;
	background: #212121;
	background-image: none;
	box-shadow: none;
	color: #e3e3e3;
}
.chosen-container-single .chosen-default {
	color: #999;
}
.chosen-container-single .chosen-search input[type="text"] {
	border-color: #333;
	color: #e3e3e3;
}
.chosen-container-active .chosen-single {
	border: 1px solid #5897fb;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.chosen-container-active.chosen-with-drop .chosen-single {
	border-color: #333;
	background-image: linear-gradient(#353535 1%, #212121 15%);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3) inset;
}
.chosen-container .chosen-results {
	color: #e3e3e3;
}
.chosen-container .chosen-results li.disabled-result {
	color: #505050;
}
.chosen-container .chosen-results li.highlighted {
	background-color: #3875d7;
	background-image: linear-gradient(#3875d7 20%, #2a62bc 90%);
	color: #fff;
}
.chosen-container .chosen-results li.no-results {
	color: #e3e3e3;
	background: #1f1d1d;
}
.chosen-container-active .chosen-choices {
	border: 1px solid #5897fb;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
.chosen-container-active .chosen-choices li.search-field input[type="text"] {
	color: #e3e3e3!important;
}
.chosen-disabled {
	opacity: 0.5 !important;
}
.chosen-rtl .chosen-search input[type="text"] {
	color: #e3e3e3;
	background: url("../img/chosen-sprite.png") no-repeat -30px -20px;
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi), only screen and (min-resolution: 1.5dppx) {
	.chosen-rtl .chosen-search input[type="text"],
	.chosen-container-single .chosen-single abbr,
	.chosen-container-single .chosen-single div b,
	.chosen-container-single .chosen-search input[type="text"],
	.chosen-container-multi .chosen-choices .search-choice .search-choice-close,
	.chosen-container .chosen-results-scroll-down span,
	.chosen-container .chosen-results-scroll-up span {
		background-image: url("chosen-sprite@2x.png") !important;
	}
}


/**************************/
/*** Boostrap Overwrites
/**************************/
.popover-header {
	background-color: #111;
	border: 2px solid #333;
	border-bottom: 0;
}
.popover-body {
	background-color: #000;
	border: 2px solid #333;
	border-top: 0;
	color: #D5D4D4;
}
.popover-body img {
	margin-bottom: 10px;
	min-width: 246px;
	min-height: 138px;
}
.popover .arrow::after {
	border-top-color: #333;
	border-bottom-color: #333;
}
.modal {
	color: #000;
}


/**************************/
/*** Technical Stuff
/**************************/

.nav-wrap {
	z-index: 1062;
}
.bottom-shadow {
	z-index: 1062;
}
#lightbox,
#itemDetails {
	z-index: 1061;
}
.modal-backdrop {
	z-index: 1064;
}
.modal {
	z-index: 1065;
}

#debugCoords {
	background-color: #000;
	border: 2px solid #555;
	padding: 10px 15px;
	color: #D5D4D4;
	border-radius: 10px;
	opacity: 0.5;
	font-size: 120%;
}

.nano-content {
	position: relative;
}
.nano > .nano-pane > .nano-slider {
  background: #969696;
  background: rgba(150,150,150,.5);
  
}
#sidebar {
	position: fixed;
	top: 128px;
	bottom: 0;
	left: 0;
	height: calc(100vh - 128px);
	overflow: hidden;
	width: 335px;
}
#main {
	position: fixed;
	top: 128px;
	bottom: 0;
	left: 335px;
	height: calc(100vh - 128px);
	overflow: hidden;
	width: calc(100vw - 335px);
}

#main .content > .map-overlay,
#main .content > #itemDetails {
	height: 1556px;
}

.os-theme-dark > .os-scrollbar > .os-scrollbar-track > .os-scrollbar-handle {
	    background: rgba(150,150,150,.35);
}
.os-theme-dark > .os-scrollbar > .os-scrollbar-track > .os-scrollbar-handle.active,
.os-theme-dark > .os-scrollbar:hover > .os-scrollbar-track > .os-scrollbar-handle {
	    background: rgba(150,150,150,.55);
}


/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
	.nav-wrap,
	#sidebar {
		display: none;
	}
	#main {
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
	}
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
	
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	
}
