/* CSS */

p {
    hyphens: auto;
}

/* CSS for advertisment and cookies consent page */

html, body {
	background-color: #E0E0E0;
        margin:0;
	padding:0;
	width: 100%;
	height: 100%;
	font-family: 'Open Sans', sans-serif;
	font-size: 12pt;
	overflow: hidden;
}

hr {
	width: 140px;
	height: 1px;
	margin: 0px 0px 3px 0px;
	color: #404040;
	background: #808080;
}

/* CSS for the map */

.MapDiv {
	background-color: black;
	position:fixed;
	top: 0px;
	left: 0px;
	bottom: 0px;
	width: 100%;
}

/* CSS for the menu */

.MenuDiv {
	position: absolute;
	top: 0px;
	right: 0px;
	background-color: #EFEFEF;
	border-radius: 4px;
	font-size: 8pt;
	font-weight: bold;
	padding: 3px;
	margin: 10px 10px 0 0;
	color: white;
	z-index: 5;
	visibility: hidden;
	overflow-y: auto;
	overflow-x: hidden;
	max-height: 85%;
}

.MenuDiv span {
	color: black;
	line-height: 1.2;
	width: 280px;
	vertical-align: middle;
}

.MenuDiv input[type=range] {
	vertical-align: middle;
	margin: 2px;
	padding: 1px;
	width: 100px;
	height: 24px;
}

.MenuDiv input[type=text] {
	vertical-align: middle;
	margin: 2px;
	padding: 1px;
	border-width: 1px;
	width: 98px;
	height: 24px;
}

.MenuDiv input[type=checkbox] {
	vertical-align: middle;
	margin: 2px;
	padding: 1px;
	width: 24px;
	height: 24px;
}

.MenuDiv input[type=button]{
	vertical-align: middle;
	margin: 4px;
	padding: 0px;
	width: 20px;
	height: 20px;
}

.MenuDiv input[type=radio] {
	vertical-align: middle;
	margin: 2px;
	width: 24px;
	height: 24px;
}

.HeaderDiv {
	position: absolute;
	top: 10px;
	left: 50%;
	margin-left: -42px;
	font-weight: normal;
	z-index: 2;
}

.HeaderDiv a {
	text-decoration: none;
}

.HeaderTextDiv {
	font-size: 2em;
       	color: white;
       	margin: 5px;
       	vertical-align: middle;
}

.HeaderImageDiv {
	width: 22px;
	height: 32px;
	vertical-align: middle;
}

.HeaderSVGDiv {
	width: 32px;
	height: 32px;
	vertical-align: middle;
}

.MenuButtonDiv {
	position: absolute;
	top: 0px;
	right: 44px;
	height: 24px;
	width: 24px;
	background-color: white;
	border-radius: 4px;
	font-weight: bold;
	padding: 3px;
	margin: 10px 10px 0 0;
	color: red;
	z-index: 3;
       	float: left;
	background-image:  url("data:image/svg+xml;charset=utf-8, <svg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'> <g fill='none' stroke='black' stroke-width='2'> <path stroke-linecap='round' d='M4 5.5 16 5.5' /> <path stroke-linecap='round' d='M4 10 16 10' /> <path stroke-linecap='round' d='M4 14.5 16 14.5' /> </g> /> </svg>");
	background-repeat: no-repeat;
	display: inline-block;
}

.MenuMapImage {
	margin-left: 4px;
	border-radius: 4px;
}

.InfoDiv {
	position: absolute;
	top: 0px;
	left: 0px;
	background-color: rgba(0, 0, 0, 0.25);
	border-radius: 4px;
	padding: 0px;
	margin: 10px 0 0 10px;
	font-weight: normal;
	color: white;
	z-index: 4;
	min-width: 146px;
}

.DelayDiv {
	display: block;
	padding: 3px 3px 0px 3px;
	margin: 0;
	text-align: left;
}

.ReloadDiv {
	display: block;
	padding: 0px 3px 0px 3px;
	margin: 0;
	text-align: left;
}

.StatusDiv {
	display: block;
	padding: 0px 3px 0px 3px;
	margin: 0;
	text-align: left;
}

.UsersDiv {
	display: block;
	padding: 0px 3px 0px 3px;
	margin: 0;
	text-align: left;
}

.PositionDiv {
	display: block;
	padding: 0px 3px 0px 3px;
	margin: 0;
	text-align: left;
}

.DevDiv {
	display: block;
	padding: 0px 3px 0px 3px;
	margin: 0;
	text-align: left;
}

.LogoDiv {
	display: block;
	background-color: #404040;
	border-radius: 4px;
	font-weight: normal;
	padding: 3px;
	margin: 0px auto 5px auto;
	text-align: left;
	color: white;
}

.svg-div {
	visibility: hidden;
}

.mapboxgl-popup-content {
	padding: 5px 20px 5px 5px;
	line-height: 1.2;
}

.DetectorTable td {
	vertical-align: top;
	white-space: nowrap;
}

.UserDetectorsSpan {
	text-decoration: underline;
	cursor: pointer;
	color: blue;
}

@media only screen and (max-width: 640px) {
	.MenuButtonDiv {
                right: 0px;
        }
        .PositionDiv {
                display: none;
        }
}


/* CSS for google advertisment */

.AdvertisementDiv_left {
	display: block;
        position: absolute;
        top: 0px;
        left: 0px;
        margin: 0px;
        line-height: 0px;
        font-size: 0px;
	width: 120px;
	height: 100%;
}

.AdvertisementDiv_top {
	display: block;
        position: absolute;
        top: 0px;
        left: 0px;
        margin: 0px;
        line-height: 0px;
        font-size: 0px;
	width: 100%;
	height: 60px;
}

/* CSS for consent page */

.cookie-background {
        display: none;
        font-family: sans-serif;
        font-size: 13px;
        font-style: normal;
        font-weight: normal;
        line-height: 1.20;
        letter-spacing: 0.3pt;
        position: fixed;
        width: 100%;
        height:100%;
        top: 0px;
        padding: 0px;
        margin: 0px;
        z-index: 999;
        background-color: rgba(60,60,60,0.5);
        overflow: scroll;
}

.cookie-div {
        background-color: white;
        color: #404040;
        margin: auto;
        padding: 0px 10px;
        border: 1px solid #CCC;
        border-radius: 5px;
}

.cookie-button {
        display: inline-block;
        margin: 0px 15px 5px auto;
        padding: 10px;
        border: 1px solid #1967d2;
        border-radius: 20px;
        width: 150px;
        height: 16px;
        text-align:center;
        font-size: 13px;
}

.cookie-button:hover {
        opacity: 0.8;
        cursor: pointer;
}

/* CSS with media change */

/* top Div */
@media only screen and (max-width: 799px) {
  .MapDiv {
    top: 60px;
    width: 100%;
  }
  .AdvertisementDiv_top {
    top: 0px;
    left: 0px;
  }
  .AdvertisementDiv_left {
    top: -120px;
    left: -120px;
  }
}

/* left Div */
@media only screen and (min-width: 800px) {
  .MapDiv {
    left: 120px;
    width: calc(100% - 120px);
  }
  .AdvertisementDiv_left {
    top: 0px;
    left: 0px;
  }
  .AdvertisementDiv_top {
    top: -120px;
    left: -120px;
  }
}

@media only screen and (max-width: 640px) {
  .MenuButtonDiv {
     right: 0px;
  }
  .PositionDiv {
     display: none;
  }
}

@media only screen and (max-width: 640px) {
  .HeaderDiv {
    margin-left: 20px;
  }
  .HeaderTextDiv {
    display: none;
  }
}

/* */
