* {
	box-sizing: border-box; /* size element include padding & border */
}

body {
	height: calc(100vh - 50px);		/* old browsers */
	height: calc(100dvh - 50px);	/* new browsers */
	height: calc(100Svh - 50px);	/* new browsers */
}

.main {
  width: 100%;
  height: 100%;
}

#map {
  width: 100%;
  height: 100%;
  z-index: 20;
}

img.unavailabilitie {
	width: 0.9em;
}

/* filters : https://stackoverflow.com/questions/42966641/how-to-transform-black-into-any-given-color-using-only-css-filters */

/* Green #2AAD27 */
img.unavailabilitie.available {
	filter: invert(44%) sepia(84%) saturate(645%) hue-rotate(74deg) brightness(102%) contrast(84%);
	-webkit-filter: invert(44%) sepia(84%) saturate(645%) hue-rotate(74deg) brightness(102%) contrast(84%);
}

/* Blue #2A81CB */
img.unavailabilitie.limited {
	filter: invert(46%) sepia(97%) saturate(434%) hue-rotate(165deg) brightness(83%) contrast(90%);
	-webkit-filter: invert(46%) sepia(97%) saturate(434%) hue-rotate(165deg) brightness(83%) contrast(90%);
}

/* Red #CB2B3E */
img.unavailabilitie.shutdown {
	filter: invert(17%) sepia(38%) saturate(5246%) hue-rotate(337deg) brightness(116%) contrast(88%);
	-webkit-filter: invert(17%) sepia(38%) saturate(5246%) hue-rotate(337deg) brightness(116%) contrast(88%);
}

/* Grey #7B7B7B */
img.unavailabilitie.maintenance {
	filter: invert(50%) sepia(0%) saturate(1309%) hue-rotate(122deg) brightness(91%) contrast(88%);
	-webkit-filter: invert(50%) sepia(0%) saturate(1309%) hue-rotate(122deg) brightness(91%) contrast(88%);
}

img.shutdowns {
	width: 0.9em;
}

/* Black #333333 */
img.shutdowns.shutdown {
	filter: invert(8%) sepia(3%) saturate(5%) hue-rotate(348deg) brightness(101%) contrast(88%);
	-webkit-filter: invert(8%) sepia(3%) saturate(5%) hue-rotate(348deg) brightness(101%) contrast(88%);
}

/* popup */

.site {
	font-weight: bold;
	text-align: center;
	padding: 5px;
}

/* Spinner */

/* set into the middle of the screen */
.spinner {
    position: fixed;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
	z-index: 1000;
}

.spinner > div {
  background-color: rgb(9, 53, 122);
  background-color: #333;
}

div.site a:link, div.site a:visited {
	cursor: pointer;
	text-decoration: none;
	color: #333;
	background-color: transparent;
}

div.site a:hover {
	color: blue;
	background-color: transparent;
}

/* Seism */

.info {
    padding: 6px 8px;
    font: 14px/16px Arial, Helvetica, sans-serif;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
}

.info h4 {
    margin: 0 0 5px;
    color: #333;
}

.legend {
    line-height: 18px;
    color: #555;
}

.legend i {
    width: 18px;
    height: 18px;
    float: left;
    margin-right: 8px;
    opacity: 0.7;
}

.mapInfo {
	position: absolute;
	margin-top: 10px;
	//padding: 20px 10px 5px 10px;
	padding: 5px 3ta0px 5px 10px;
	left: 50%;
	transform:translate(-50%, 0%);
	border: 1px solid black;
	border-radius: 5px;
	box-shadow: 0 0 15px rgba(0,0,0,0.2);
	background: linear-gradient(45deg,#FFB64D,#ffcb80);
	font: 14px/16px Arial, Helvetica, sans-serif;
	text-align: center;
	text-align: justify;
	z-index: 999;
}

#info .fa {
  font-size: 1.2em;
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
}

