/*********/
/* fonts */
/*********/
@font-face {
	font-family: "Ubuntu-Light";
	src: url("../fonts/Ubuntu-L.ttf");
}
@font-face {
	font-family: "Ubuntu-Bold";
	src: url("../fonts/Ubuntu-B.ttf");
}
@font-face {
	font-family: "Ubuntu-Medium";
	src: url("../fonts/Ubuntu-M.ttf");
}
@font-face {
	font-family: "Ubuntu-Regular";
	src: url("../fonts/Ubuntu-R.ttf");
}


/***********/
/* globals */
/***********/
html * {
	font-family: "Ubuntu-Light";
}

html, body, #map {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

/* DEBUG */
#header {
	position: absolute;
	right: 0;
	z-index: 1000;
}
.btn {
	width: 150px;
	height: 30px;
	color: white;
	margin-right: 20px;
	margin-top: 20px;
	cursor: pointer;
}

.leaflet-popup-content { overflow: hidden; }
.leaflet-popup-content #infopic { float: right; }
.leaflet-popup-content #infotext { float: left; }
.leaflet-container { background: #044465; }


/***************/
/* side panels */
/***************/
.side_panel {
	right: 0;
	position: fixed;
	bottom: 0;
	top: 0;
	color: white;
	overflow: auto;
	background-color: rgba(4, 68, 101, 0.9);
	z-index: 1080;
	margin-right: -100%;
	width: 100%;
	text-align: center;
}
.sidebar_title {
	padding: 0 20px;
	font-size: 2em;
}
.sidebar_image {
	padding: 20px 10px;
}
.sl_img {
	width: 100%;
	height: auto;
}
.btn-info-close {
	font-size: 3em;
	font-weight: bold;
	cursor: pointer;
	right: 0;
	padding-right: 15px;
	text-align: right;
	color: #fff;
}


/**************/
/* ship icons */
/**************/
.marker_icon {
	border-radius: 30px;
	background-color: rgb(4, 68, 101) !important;
	-webkit-border-radius: 30px;
	position: absolute;
	width: 35px;
	height: 35px;
	border: 2px solid rgb(255, 255, 255);
	/* box-shadow: 0px 0px 20px 4px #66CC00; */
}
.marker_as {
	background: url(../icons/ship_as_white.svg);
	background-size: 26px;
	background-repeat: no-repeat;
	background-position: 5px 9px;
}
.marker_rw {
	background: url(../icons/ship_rw_white.svg);
	background-size: 26px;
	background-repeat: no-repeat;
	background-position: 4px 6px;
}
.marker_witness {
	background: url(../icons/ship_witness_white.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.marker-cluster-small {
	background-color: white;
}
.marker-cluster div {
	background-color: #044465;
    color: white;
    font-weight: bold;
}


/***************/
/* map markers */
/***************/
.pulse_ring {
	border-radius: 30px;
	-webkit-border-radius: 30px;
	height: 39px;
	width: 39px;
	-webkit-animation: pulsate 1.8s ease-out;
	-webkit-animation-iteration-count: infinite;
	position: absolute;
}
@-webkit-keyframes pulsate {
	0% { box-shadow: 0 0 5px 4px rgba(102, 204, 0, .2); }
	50% { box-shadow: 0 0 20px 4px rgba(102, 204, 0, .8); }
	100% { box-shadow: 0 0 5px 4px rgba(102, 204, 0, .2); }
}


/*************************/
/* custom leaflet styles */
/*************************/
.leaflet-container .leaflet-control-attribution {
	background: none;
	color: white;
}
.leaflet-container .leaflet-control-attribution a {
	color: white;
}
.leaflet-tooltip {
	font-size: 1.5em;
	color: #044465;
	z-index: 1000;
	border-radius: 10px;
	border: 0;
	padding: 10px 15px;
}


/************************/
/* custom leaflet popup */
/************************/
.leaflet-popup-content p {
	margin: 5px 0px;
	line-height: 1em;
}
.leaflet-popup-content-wrapper {
	border-radius: 0px;
	font-size: 1.1em;
	padding: 0;
}
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
	/* background: rgba(255, 255, 255, 0.85); */
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
}
.leaflet-popup-content {
	margin: 0px;
	padding-bottom: 5px;
	width: 400px !important;
}
.leaflet-container a.leaflet-popup-close-button {
	font-size: 2.6em;
	width: 28px;
	height: 28px;
	text-align: center;
	background-color: white;
	border-radius: 20px;
	padding-left: 4px;
	padding-top: 10px;
	margin: -10px;
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	z-index: 1000;
}

/* popup content */
.popup_photo_container {
	position: relative;
}
.popup_photo {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 200px;
	animation: fadeIn 1.5s;
	-webkit-animation: fadeIn 1.5s;
	-moz-animation: fadeIn 1.5s;
}
.popup_photo_text {
	position: absolute;
	bottom: 5px;
	left: 5px;
	color: white;
	font-weight: bold;
	background-color: rgba(0,0,0, 0.7);
	padding: 2px 4px;
}

.popup_el {
	padding: 5px 10px;
}
.popup_el_title {
	font-weight: bold;
}
.popup_el_content {}