﻿html
{
	height:100%;
	margin:0;
}

body{
	color:#666;
	font-family:'Ubuntu', Arial, Helvetica, sans-serif; 
	font-size:1em;
	line-height:1.4em; 
	font-weight:normal;
	background:#fff;
	padding:0px;
	margin:0px;
	height: 100%;
	overflow:hidden;
	text-align:center;
}
.netform
{
	height:100%;
	padding:0;
	margin:0;
}

h1, h2, h3, h4, h5, h6{
	font-weight:normal;
	font-family:'Droid Serif', Arial, Helvetica, sans-serif; 
	line-height:1.5em;
	margin:.45em 0;
	padding:0;
	color:#333; 
} 

a,
a:visited,
a:active,
a:hover{color:#0099ff;}
a:hover{ text-decoration:none;}

* {	box-sizing:border-box;
	-moz-box-sizing:border-box;}

img { max-width:100%; height:auto;}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Chrome/Safari/Opera */
     -khtml-user-select: none; /* Konqueror */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  not supported by any browser */
}

.dbgdiv
{
	display:none;
	position:absolute;
	left:0px;
	top:0px;
	font-family:Courier; 
	font-size:10px;
	background-color:red;
	color:white;
	line-height:10px;
	width:400px;
	z-index:9999;
	text-align:left;
	overflow:hidden;
}

aside { 
	margin:40px 0;
}

p { margin:0 0 1.5em;}

a.buttonlink{ 
	background:#0099ff; 
	border-radius:7px; 
	color:#fff;
	display:block;
	float:left; 
	margin:10px 15px 10px 0; 
	padding:10px;
	text-decoration:none;
}
a.buttonlink:hover{
	background:#8dbc01;
}

.areaButton
{
		background-color: rgba(65, 126, 157, 0.8) !important;
		color:#FFF;
		text-align:center;
		vertical-align:middle;
}

	.areaButton:hover {
		background-color: rgba(107, 162, 190, 09) !important;
		color: #FFF;
		cursor: pointer;
	}

.header
{
	background-color:#333;
	-webkit-box-shadow: #8C8C8C 0px 2px 2px;
	-moz-box-shadow: #8C8C8C 0px 2px 2px;
	box-shadow: #8C8C8C 0px 2px 2px;
	z-index:99;
	position:relative;
	display:none;
	min-width: 300px;
}

.headerfixed
{
	position:fixed !important;
	top:0px;
	width:100vw;
}

.gmap
{
	position:relative;
	height:100%;
}

.logo
{
	float:left;
	text-align:center;
}

.navigation
{
	text-align:right;
	cursor:pointer;
}

.navmenu
{
	color:#CCC;
	font-family:'Ubuntu'; 
	font-size:16px;
	text-align:center;
	font-weight:normal;
	float:right;
	min-width:120px;
	width: 120px;
}


.cog {
	cursor: pointer;
}


.b1
{
	border: 1px solid red;
}

.b2
{
	border: 1px solid green;
}

.b3
{
	border: 1px solid blue;
}

.sm-menu-box-border
{
	border:2px solid #eee;
}

.sm-menu-box
{
	width:34px;
	height:35px;
	margin-top:8px;
	cursor:pointer;
	float:right;
	margin-right: 20px;
	margin-top:15px;
}

.sm-menu-box-ok
{
	background-image:url(../Images/sm-ok.png);
}

.sm-menu-box-cancel
{
	background-image:url(../Images/sm-cancel.png);
}

.sm-menu-line
{
	width: 18px;
	height:2px;
	margin-left: 6px;
	background-color:#eee;
	position:relative;
}

.sm-menu-line1
{
	top: 8px;
}
.sm-menu-line2
{
	top: 13px;
}
.sm-menu-line3
{
	top: 18px;
}

.infoWindowTitle
{
	color: #333;
	font-family: 'Ubuntu', Arial, Helvetica, sans-serif;
	font-weight: normal;
}

.settingsButtons
{

}

.settingsButton
{

}

.cfgTextboxIcon
{
	padding:0;
	margin:0;
	vertical-align:middle;
	margin-bottom:6px;
}

.cfgLoginBox
{
	background-color: #06386f;
	background-image:url(../images/cfgPasswordBkg.png);
	background-position: top left;
	background-repeat: no-repeat;
	-webkit-box-shadow: #8C8C8C 2px 2px 2px;
	-moz-box-shadow: #8C8C8C 2px 2px 2px;
	box-shadow: #8C8C8C 2px 2px 2px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	color:white;
	margin:0;
	font-family:'Ubuntu', Arial, Helvetica, sans-serif; 
	font-size:19px;
	line-height:50px;
	color:#b1cceb;
	text-align:center;
	padding-top:40px !important;
}

.cfgPasswordBox
{
	border:1px;
	margin:0;
	padding:0px;
	background-color: #b1cceb;
	font-family:'Ubuntu', Arial, Helvetica, sans-serif; 
	font-size: 22px;
	color:black;
}

.cfgPasswordAccept
{
	border:1px;
	margin:0;
	padding:0px;
	background-color: #b1cceb;
	font-family:'Ubuntu', Arial, Helvetica, sans-serif; 
	color:black;
}

.cfgErrorLabel
{
	color:red;
}

.newSource
{
	font-family:'Ubuntu', Arial, Helvetica, sans-serif; 
}

.authcontainer
{
	position:absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: #444;
	opacity:0.8;
	z-index: 99998;
	text-align:center;
	display:none;
}

.authbox
{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width:330px;
	height:260px;
	background-color: rgba(65, 137, 170, 0.6);
	display: inline-block;
	z-index: 99999;
	margin: auto;
	display:none;
}

.authboxOld
{
	background: #e9e9e9; /* Old browsers */
	background: -moz-linear-gradient(top, #e9e9e9 0%, #d5d5d5 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, #e9e9e9 0%,#d5d5d5 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #e9e9e9 0%,#d5d5d5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e9e9e9', endColorstr='#d5d5d5',GradientType=0 ); /* IE6-9 */
}

.authboxTitle
{
	height:45px;
	width:100%;
	background-color: rgba(65, 137, 170, 0.7);
	text-align:center;
	line-height:45px;
	font-family:'Ubuntu', Arial, Helvetica, sans-serif; 
	font-size:18px;
	color: #DDD;
}

.authboxFooter
{
	height:55px;
	width:100%;
	background-color: rgba(65, 137, 170, 0.7);
	text-align:center;
	line-height:55px;
	font-family:'Ubuntu', Arial, Helvetica, sans-serif; 
	font-size:18px;
	color: #3d3d3d;
	margin-top:43px;
	box-shadow: 0 -1px 0 #E1E1E1;
}

.authboxInputContainer
{
	width:300px;
	height: 40px;
	margin-left: 15px;
}

.authContU
{
	margin-top: 27px;
	background-image:url(../images/authUserIcon.png);
	background-repeat: no-repeat;
	background-position: 10px 8px;
}

.authContP
{
	margin-top: 10px;
	background-image:url(../images/authPassIcon.png);
	background-repeat: no-repeat;
	background-position: 5px 5px;
}

.authboxInput
{
	width:260px;
	height: 25px;
	border: 0px;
	background-color: rgba(65, 137, 170, 1);
	margin-left: 30px;
	margin-top: 7px;
	padding: 4px;
	color: #FFF;
	font-family:'Ubuntu', Arial, Helvetica, sans-serif; 
	font-weight:lighter;
	font-size:14px;
	outline: none;
}

.authboxLogin
{
	width: 120px;
	height: 35px;
	margin-top: 10px;
	margin-right: 20px;
	line-height: 35px;
	background: #888888; /* Old browsers */
	background: -moz-linear-gradient(top, #6aaac6 1%, #146081 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, #6aaac6 1%,#146081 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #6aaac6 1%,#146081 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6aaac6', endColorstr='#146081',GradientType=0 ); /* IE6-9 */
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	font-family:'Ubuntu', Arial, Helvetica, sans-serif; 
	font-size:16px;
	cursor:pointer;
	color: #FFF;
	float:right;
}

.authboxStatus
{
	float: left;
	color: #ff4f36;
	font-family:'Ubuntu', Arial, Helvetica, sans-serif; 
	font-size:14px;
	padding-left: 20px;
	width: 130px;
	height: 40px;
	display:none;
	font-weight:bold;
}

.logoutmenubutton {
	display: none;
}

/* ============================================          DESKTOP */
@media only screen and (min-width: 768px)
{
	.header
	{
		padding:2px;
		height: 60px;
		padding-right:20px;
		line-height:60;
	}

	.logo {
		float: left;
		height: 60px;
		width: 350px;
		text-align: center;
		line-height: 60px;
		min-width: 350px;
	}

	.logoImg {
		content: url("../Images/logo.png");
		padding-top: 2px;
		vertical-align: top;
	}

	.valign
	{
		position: relative;
		top: 50%;
		transform: translateY(-50%);
	}
	.settingsButtons
	{
	}

	.settingsButton
	{
		width:100px;
		float:right;
		padding: 5px;
	}

	.areaButton
	{
		text-align:center;
		height: 40px;
		width:190px;
		min-width:190px;
		line-height:23px;
		color:#FFF !important;
	}

	.submenu {
		width: 190px;
		min-width: 190px;
		display: none;
	}

	.cog, .cog:after
	{
		content:url("../Images/cog.png");
		margin-top:0px;
		vertical-align:top;
	}

	.navigation {
		height: 61px;
		background-color: rgba(255, 255, 255, 0.2);
		min-width: 190px;
		margin-left: 5px;
	}
	
	.navigation:hover
	{
		background-color: rgba(255, 255, 255, 0.3);
	}

	#mainnavmenu 
	{
		max-width: 190px;
		width: 190px;
		height:61px;
		float:right;
	}
	
	.navmenu {
		display: inline-block;
		line-height: 55px;
	}

	body:not(:-moz-handler-blocked) .navigation
	{
		padding-top:13px !important;
	}

	.sm-menu-box
	{
		display:none;
	}

	.gmap
	{
		margin: 0;
		padding: 0;
		height: calc(100vh - 60px);
		width: 100%;
	}

	.map-wrapper {
		position: absolute;
		top: 0px;
		padding-top: 60px;
		box-sizing: border-box;
		height: 100%;
		width: 100%;
		margin: 0px;
		/*background-image:url(../images/vdrag.jpg);
		background-repeat: repeat-y;*/
	}

	.infoWindow {
		width: 438px;
		height: 350px;
		text-align: left;
		overflow: hidden;
		z-index:9999;
	}

	.infoWindowBing {
		height: 370px !important;
		width: 465px !important;
		background-color: white;
		padding-left: 15px;
		padding-right: 15px;
		padding-bottom: 15px;
		border-radius: 4px;
	}

	.infoWindowBing:before {
		position:absolute;
		content: url(../Images/bubblebeak.png);
		top:370px;
		left:232px;
	}

	.infoWindowTitle
	{
		text-align:left;
		line-height: 40px;
		font-size: 18px;
		width: 438px;
		height: 40px;
	}

	.infoWindowTitleBingCloseButton {
		float:right;
		cursor:pointer;
		display:none;
	}
	
	.infoWindowVideo
	{
		background-color: black;
		width: 438px;
		height: 300px;
		overflow:hidden;
		color:#FFF;
	}

	.infoWindowVideoPreview
	{
		width: 438px;
		height:300px;
	}

	.videostream
	{
		width:490px;
		height:360px;
	}

	.sm-video
	{
		display:none;
	}

	.cfgLoginBox
	{
		margin-top:150px;
		font-size:19px;
		line-height:50px;
		padding-top:40px !important;
		height:300px;
		margin-top:150px;
	}

	.cfgPasswordBox
	{
		margin-top:5px;
		height:40px;
		margin-bottom:20px;
		padding-left:10px;
	}

	.cfgPasswordAccept
	{
		margin-top:5px;
		height:40px;
		font-size: 18px;
		width: 200px;
		margin-bottom:20px;
	}
	.cfgErrorLabel
	{
		font-size: 14px;
		margin-bottom:20px;
	}
	video {
		min-height: 100%;
		min-width: 100%;
		/*height: 360px !important;
		width: 515px !important;*/
	}
	.sm-LogoutButton
	{
		display:none;
	}
}


/* PHONE */
@media only screen and (max-width: 767px)
{
	body
	{
		padding:0px;
	}
	.header
	{
		padding:0;
		height: 60px;
	}
	.logo {
		float: left;
		height: 60px;
		width: 200px;
		text-align: center;
		line-height: 60px;
		min-width: 200px;
	}
	.logoImg {
		content: url("../Images/logosmall.png");
		padding-top: 2px;
		vertical-align: top;
	}
	.valign {
		position: relative;
		top: 50%;
		transform: translateY(-50%);
		position: relative;
		margin-top: 2px;
	}
	aside { 
		float:right;
		width:30%;
	}
	.settingsButton
	{
		display:none;
	}
	.areaButton
	{
		color:#eee;
		height:40px;
		line-height:32px;
		font-size:18px;
		font-family: 'Kanit', sans-serif;
		border-top: 1px solid #eee;
		width:100%;
	}

	.openmenu 
	{
		display:none;
	}

	.submenu {
		width: 100%;
		display: none;
	}

	.areaButtons
	{
		z-index:9999;
	}
	.cog
	{
		display:none;
	}
	.sm-LogoutButton {
		background-color: #3a7fb9 !important;
	}
	.gmap
	{
		margin: 0;
		padding: 0px;
		box-sizing:border-box;
		height:100%;
		width: 100%;
	}
	.map-wrapper 
	{
		position: absolute;
		top: 0px;
		padding-top: 60px;
		box-sizing: border-box;
		height: 100%;
		width: 100%;
		margin: 0px;
		/*background-image:url(../images/vdrag.jpg);
		background-repeat: repeat-y;*/
	}

	.infoWindow
	{
		width:415px;
		padding-left:3px;
		padding-right:3px;
	}
	.infoWindowTitle
	{
		text-align:left;
		line-height: 30px;
		font-size: 18px;
		/*width: calc(100vw - 6px);*/
		width:438px;
		height: 40px;
		margin: 0px 20px; 
	}

	.infoWindowVideo
	{
		background-color: black;
		color:#FFF;
		overflow:hidden;
		width:100%;
		display: none;
	}

	.infoWindowVideoPreview
	{
		width: 438px;
		height:300px;
	}


	.videostream
	{
		/*width: calc(100vw - 6px);*/
		width:100%;
		height:100%;
	}

	.sm-video
	{
		display:none;
		width:100%;
		height: calc(100vh - 70px);
		position:absolute;
		top: 100vh;
		background-color:white;
		z-index:98;
		padding-top:20px;
		-webkit-box-shadow: #8C8C8C 0px -2px 2px;
		-moz-box-shadow: #8C8C8C 0px -2px 2px;
		box-shadow: #8C8C8C 0px -2px 2px;
	}
	.sm-closevideo
	{
		position:absolute;
		right: 10px;
		top:-3px;
		background-image: url(../images/sm-closevideo.jpg);
		background-repeat: no-repeat;
		background-position:center center;
	}
		.cfgLoginBox
	{
		font-size:19px;
		line-height:30px;
		padding-top:40px !important;
		height:100vh;
		width:100% !important;
		background-image:url(../images/cfgPasswordBkg.png);
		background-position: top left;
		background-repeat: no-repeat;
	}

	.cfgPasswordBox
	{
		margin-top:15px;
		height:40px;
		margin-bottom:20px;
		padding-left:10px;
		width: 90% !important;
		text-align:center;
	}

	.cfgPasswordAccept
	{
		margin-top:5px;
		height:50px;
		font-size: 17px;
		width: 90%;
		margin-bottom:10px;
	}
	.cfgErrorLabel
	{
		font-size: 14px;
		margin-bottom:20px;
	}

	.cfgTextboxIcon
	{
		display:none;
	}

	.existingSource
	{
		margin-top:10px;
		height:220px;
		border:1px solid #2362a8;
		background: rgba(136,199,242,0.89);
		background: -moz-linear-gradient(-45deg, rgba(136,199,242,0.89) 0%, rgba(136,199,242,1) 0%, rgba(35,98,169,1) 35%);
		background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(136,199,242,0.89)), color-stop(0%, rgba(136,199,242,1)), color-stop(35%, rgba(35,98,169,1)));
		background: -webkit-linear-gradient(-45deg, rgba(136,199,242,0.89) 0%, rgba(136,199,242,1) 0%, rgba(35,98,169,1) 35%);
		background: -o-linear-gradient(-45deg, rgba(136,199,242,0.89) 0%, rgba(136,199,242,1) 0%, rgba(35,98,169,1) 35%);
		background: -ms-linear-gradient(-45deg, rgba(136,199,242,0.89) 0%, rgba(136,199,242,1) 0%, rgba(35,98,169,1) 35%);
		background: linear-gradient(135deg, rgba(136,199,242,0.89) 0%, rgba(136,199,242,1) 0%, rgba(35,98,169,1) 35%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#88c7f2', endColorstr='#2362a9', GradientType=1 );
	}

	.hiddenSource
	{
		display:none;
	}

	.newSource
	{
		margin-top:10px;
		height:70px;
		background-image:url(../images/newSource.png);
		background-position: center center;
		background-repeat: no-repeat;
		background-color: #2362a8;
		cursor:pointer;
	}

	.cfg-chk
	{
		width:100px;
		height:70px;
		background-position: center center;
		background-repeat: no-repeat;
	}

	.cfg-remove
	{
		background-image:url(../images/sm-remove.png);
		background-position: center center;
		background-repeat: no-repeat;
		height:70px;
	}

	.cfg-chkEnabled
	{
		background-image:url(../images/sm-radio-on.png);
	}

	.cfg-chkDisabled
	{
		background-image:url(../images/sm-radio-off.png);
	}

	.cfg-txtBox
	{
		margin:0;
		margin-top:10px;
		height:35px;
		padding-left:10px;
		width: 95% !important;
		border:1px;
		padding:10px;
		background-color: #FFF;
		font-family:'Ubuntu', Arial, Helvetica, sans-serif; 
		font-size: 15px;
		color:black;
		-webkit-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.75);
		-moz-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.75);
		box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.75);
		border-radius: 5px 5px 5px 5px;
		-moz-border-radius: 5px 5px 5px 5px;
		-webkit-border-radius: 5px 5px 5px 5px;
	}

	.cfgPassText
	{
		margin-top: 170px;
	}

	video {
		min-height: 100%;
		min-width: 100%;
		height: 100% !important;
		width: 100% !important;
	}

}


/* DESKTOP */
@media only screen and (min-width: 1030px) {

} 

/* RETINA DISPLAY*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {

} 

@media screen\0  and (min-width: 768px)
{
	.cog, .cog:after
	{
		background: url("../Images/cog.png") no-repeat;
		width: 51px;
		height:50px;
	}
}


@-moz-keyframes rotatebox /*--for firefox--*/{
    from{ -moz-transform:rotate(0deg); }       
    to{ -moz-transform:rotate(45deg); }                       
}
@-webkit-keyframes rotatebox /*--for webkit--*/{
    from{ -webkit-transform:rotate(0deg); }       
    to{ -webkit-transform:rotate(45deg); }                       
}
@-moz-keyframes revrotatebox /*--for firefox--*/{
    from{ -moz-transform:rotate(0deg);}       
    to{ -moz-transform:rotate(-45deg); }                       
}
@-webkit-keyframes revrotatebox /*--for webkit--*/{
    from{ -webkit-transform:rotate(0deg);}       
    to{ -webkit-transform:rotate(-45deg);}                       
}

@-moz-keyframes rotatebox1 /*--for firefox--*/{
    from{ -moz-transform:rotate(45deg); }       
    to{ -moz-transform:rotate(0deg); }                       
}
@-webkit-keyframes rotatebox1 /*--for webkit--*/{
    from{ -webkit-transform:rotate(45deg); }       
    to{ -webkit-transform:rotate(0deg); }                       
}
@-moz-keyframes revrotatebox1 /*--for firefox--*/{
    from{ -moz-transform:rotate(-45deg);}       
    to{ -moz-transform:rotate(0deg); }                       
}
@-webkit-keyframes revrotatebox1 /*--for webkit--*/{
    from{ -webkit-transform:rotate(-45deg);}       
    to{ -webkit-transform:rotate(0deg);}                       
}
