/* @font-face {
    font-family: BebasNeueRegular;
    src: url(https://torcommunity.com/maps/fonts/BebasNeue-webfont.woff);
} */

@font-face {
    font-family: Alegreya-Regular;
    src: url(https://torcommunity.com/maps/fonts/Alegreya-Regular.ttf);
}

@font-face {
    font-family: Ubuntu-Medium;
    src: url(https://torcommunity.com/maps/fonts/Ubuntu-Medium.ttf);
}

@font-face {
    font-family: Ubuntu-Regular;
    src: url(https://torcommunity.com/maps/fonts/Ubuntu-Regular.ttf);
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.ac-container{
	width: auto;
	margin: 10px auto 10px auto;
	text-align: left;
	overflow-y: auto;
	overflow-x: hidden;
	height: auto;
}
article.ac-large {padding-bottom: 5px;}
body.body-overlay-dark article.ac-large {padding-bottom: 1px;}
.ac-container label.resetclass {
	padding: 0;
	height: 16px;
	background: none;
	font-size: 12px;
	display: inline-block;
	box-shadow: none;
	line-height: normal;
	font-family: Eurofont;
}
.ac-container label.resetclass:hover {
	background: none;
}
body.body-overlay-dark .ac-container label.resetclass:hover {
	background: none;
}
.ac-container label.resetclass:hover:after,
.ac-container input.menu:checked + label.resetclass:hover:after{
	content: '';
	position: absolute;
	width: 0px;
	height: 0px;
	right: 0px;
	top: 0px;
	background: none;	
}
body.body-overlay-dark .ac-container label.resetclass:hover:after,
body.body-overlay-dark .ac-container input.menu:checked + label.resetclass:hover:after{
	content: '';
	position: absolute;
	width: 0px;
	height: 0px;
	right: 0px;
	top: 0px;
	background: none;	
}
.ac-container input.menu:checked + label.resetclass:hover:after{
	background-image: none;
}
body.body-overlay-dark .ac-container input.menu:checked + label.resetclass:hover:after{
	background-image: none;
}
.leaflet-control-layers-selector {
	display: inline-block;
	position: relative !important;
	left: 0 !important;
	margin-top: 2px;
	top: 3px;
}
.ac-container label {
	/* font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif; */
	padding: 5px 20px;
	position: relative;
	z-index: 20;
	display: block;
	height: 30px;
	cursor: pointer;
	color: #777;
	text-shadow: 1px 1px 1px rgba(255,255,255,0.8);
	line-height: 33px;
	font-size: 19px;
	background: #ffffff;
	background: -moz-linear-gradient(top, #ffffff 1%, #eaeaea 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#ffffff), color-stop(100%,#eaeaea));
	background: -webkit-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
	background: -o-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
	background: -ms-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
	background: linear-gradient(top, #ffffff 1%,#eaeaea 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eaeaea',GradientType=0 );
	box-shadow: 
		0px 0px 0px 1px rgba(155,155,155,0.3), 
		1px 0px 0px 0px rgba(255,255,255,0.9) inset, 
		0px 2px 2px rgba(0,0,0,0.1);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
body.body-overlay-dark .ac-container label {
	color: #f9d643;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
	background: #404040;
	box-shadow: none;
	padding: 0 10px 3px 25px;
	border-top: 1px solid #545454;
}
body.body-overlay-dark .menu-item-checkbox > label, body.body-overlay-dark .menu-item-radio > label {
	padding-left: 10px !important;
}
.ac-container label:hover{
	background: #fff;
}
.ac-container input.menu:checked + label,
.ac-container input.menu:checked + label:hover{
	background: #c6e1ec;
	color: #3d7489;
	text-shadow: 0px 1px 1px rgba(255,255,255, 0.6);
	box-shadow: 
		0px 0px 0px 1px rgba(155,155,155,0.3), 
		0px 2px 2px rgba(0,0,0,0.1);
}
body.body-overlay-dark .ac-container input.menu:checked + label, body.body-overlay-dark .ac-container input.menu:checked + label:hover {
    background: #404040;
    color: #f9d643;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.6);
    box-shadow: none;
	border-top: 1px solid #545454;
}
.ac-container label:hover:after,
.ac-container input.menu:checked + label:hover:after{
	content: '';
	position: absolute;
	width: 24px;
	height: 24px;
	right: 13px;
	top: 7px;
	background: transparent url(images/arrow_down.png) no-repeat center center;	
}
body.body-overlay-dark .ac-container label:hover:after,
body.body-overlay-dark .ac-container input.menu:checked + label:hover:after{
	content: '';
	position: absolute;
	width: 24px;
	height: 24px;
	right: 13px;
	top: 4px;
	background: transparent url(images/arrow_down_dark.png) no-repeat center center;	
}
.ac-container input.menu:checked + label:hover:after{
	background-image: url(images/arrow_up.png);
}
body.body-overlay-dark .ac-container input.menu:checked + label:hover:after{
	background-image: url(images/arrow_up_dark.png);
}
.ac-container input.menu{
	display: none;
}
.ac-container article{
	background: rgba(255, 255, 255, 0.5);
	margin-top: -1px;
	overflow: hidden;
	height: 0px;
	position: relative;
	z-index: 10;
	-webkit-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
	-moz-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
	-o-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
	-ms-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
	transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
}
body.body-overlay-dark .ac-container article {
    background: transparent;
}

.ac-container input.menu:checked ~ article {
	-webkit-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
	-moz-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
	-o-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
	-ms-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
	transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
	box-shadow: 0px 0px 0px 1px rgba(155,155,155,0.3);
}
body.body-overlay-dark .ac-container input.menu:checked ~ article {
	/* border-left: 2px solid #404040; */
	box-shadow: none;
	border-top: 1px solid #000;
    margin-top: 0;
}

.ac-container input.menu:checked ~ article.ac-large{
	height: auto;
	max-height : 100px;
	padding-top: 5px;
	overflow-y: auto;
}

.menu-item-radio{
	font-family: 'Ubuntu-Regular', Arial, sans-serif;
	font-size: 13px;
	
}

.menu-item-checkbox{
	font-family: 'Ubuntu-Regular', Arial, sans-serif;
	font-size: 13px;
	
}

.bt_delete{
    position: relative;
	float: right;
	background-image: url(images/delete.png); 
    background-color: transparent; 
    background-repeat: no-repeat;  
    background-position: 0px 0px;
    border: none;           
    cursor: pointer;        
    height: 16px;   
    width: 16px;	
    vertical-align: middle; 
}

.leaflet-control-layers:hover {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #e0e3ec url(images/bgnoise_lg.jpg) repeat top left;
	border-radius: 5px;
}
body.body-overlay-dark .leaflet-control-layers:hover {
    border: 1px solid #000;
    background: #242424;
    border-radius: 5px;
}

.leaflet-popup-content dt, .leaflet-popup-content dd {
	color: #515554;
}

body.body-overlay-dark .leaflet-popup-content dt, body.body-overlay-dark .leaflet-popup-content dd {
	color: #faebd7;
}

.leaflet-popup-content dt a.text-republic {
	color: #0078A8;
}

.leaflet-popup-content dt a.text-empire {
	color: #A80018;
}

.leaflet-popup-content dt a.text-neutral {
	color: #440D6B;
}
body.body-overlay-dark .leaflet-control-layers-base > div {
	border: 1px solid #000;
}
body.body-overlay-dark .leaflet-control-layers-overlays > div {
	border: 1px solid #000;
	border-top: 0;
}
body.body-overlay-dark .ac-container .menu-item-checkbox label, body.body-overlay-dark  .ac-container .menu-item-radio label {
	background: transparent;
	border-top: none;
	color: #faebd7;
}
body.body-overlay-dark .menu-item-checkbox:last-child, body.body-overlay-dark .menu-item-radio:last-child {
    padding-bottom: 3px;
}
div.checkboxwrap {
	position: absolute;
    z-index: 999;
}
input.checkgroup {
	display: inline-block !important;
    border-top: 1px solid #545454;
    vertical-align: middle;
    height: 34px;
    padding: 0;
    margin: 0 0 0 4px;
}