*, html {padding:0; margin:0;}
html, body {height: 100%; -webkit-text-size-adjust: 100%; padding: 0px}
body {margin: 0px; font-family:  Verdana, Arial, sans-serif; background-color: #FFFFFF background: url('/bg.png') repeat left top;}

a {color: #122e67; text-decoration: none;}
a:hover {text-decoration: underline}
h1 {font-size: 20px; font-weight: normal; padding: 12px 0 5px 10px;}
h2 {font-size: 18px; font-weight: normal;}
h3 {font-size: 16px; font-weight: normal; padding: 0 0 0 25px;}
#map h2 {font-size: 15px; font-weight: bold}

img {vertical-align: middle; border: 0px}
form {margin: 0px; padding: 0px}

.line1 {background-color: #ffc300; height: 1px}
.line4 {background-color: #ffc300; height: 4px}
.container1 {background-color: #FFFFFF}
.container2 {margin: auto; max-width: 1850px;}

.bg_l {background: url('/bg_l.png') repeat-y left top; padding-left: 14px}
.bg_r {background: url('/bg_r.png') repeat-y right top; background-color: #FFFFFF; padding-right: 14px}

#ico_mob, #ico_desk {float: right; margin: 10px 12px 0 0;}

a.cam {display: block; text-decoration: none}
a.cam:hover {background-color: #BBBBBB;}
.cam_over {float: left; z-index: 100; position:absolute; padding: 10px; color: #FF0000; font-weight: bold}
.cam  {border: 1px solid #666666; width: 215px; height: 220px; background-color: #EEEEEE; margin: 4px 12px 8px 0; float: left;}
.cam:last-of-type {margin-right:0px;}
a.disabled {
  pointer-events: none;
}

#search_field {padding: 5px; margin: 0 0 0 12px}
#search_but {margin-left: 5px; height: 32px}
#search_but:hover {cursor: pointer}
#search_results {display: none; margin: 5px 12px 0 12px; border: 1px solid #000000; padding: 5px;)}
#search_results ul {list-style-type: none; margin: 0px; padding: 0;}
#search_results li {padding: 4px;}
#search_results li:hover {background-color: #BBBBBB;}
#search_results a:hover {text-decoration: none;}
#search_results a {display: block; width: 100%}

.dragscroll .cam:last-of-type {margin-right: 0px}
.dragscroll {
    overflow: auto;
}


.horizontal {
	width: 100%;
}

.horizontal .scroller {
	width: 1820px;
}

.free, .horizontal {
    cursor : -webkit-grab;
    cursor : -moz-grab;
    cursor : -o-grab;
    cursor : grab;
}


.free:active, .horizontal:active {
    cursor : -webkit-grabbing;
    cursor : -moz-grabbing;
    cursor : -o-grabbing;
    cursor : grabbing;
}


/* height */
div.horizontal::-webkit-scrollbar {
  height: 8px;
}

/* width */
div.vertical::-webkit-scrollbar {
  width: 20px;
}

/* Track */
div.horizontal::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
 
/* Handle */
div.horizontal::-webkit-scrollbar-thumb {
  background: #AAAAAA; 
  border-radius: 10px;
}

/* Handle on hover */
div.horizontal::-webkit-scrollbar-thumb:hover {
  background: #999999; 
}

 
#video_container {
	position:relative;
	background-color: #000000;
	min-width: 400px;
	min-height: 240px;
	}
 
#video_container.fullscreen {
	overflow: visible;
	background-color: #000000;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	}

.fullscreen #jpeg_stream, .fullscreen #mjpeg_stream {
	height: 100vh;
	width: 100vw;
	margin: auto;
	position: absolute;
	top: -100%;
	bottom: -100%;
	left: -100%;
	right: -100%;	
}

.overlay {
	position: absolute;
	z-index: 105;
	display: none;
	}

.player {
	position:relative;
    width: 100%;
    max-width: 1000px;
	z-index: 100;
	}	

#video_note {
	width: 100%;
    max-width: 1000px;
}
	
#video_stream, #mjpeg_stream, #preload {
	display: none
}

#iframe_stream {
	width: 920px;
	height: 600px;
}



.mobile .cam {width: 228px; height: 230px}
.mobile .cam img.thumb{width: 228px;}
.cam_label {display: block; padding: 0 3px 0 3px}
.thumb {width: 215px; height: 165px;}
.inactive {opacity: .50; filter: alpha(opacity = 50);}
.small {height: 200px}
.mobile .small {height: 208px}

.footer {color: #DDDDDD; text-align: right; background-color: #221e22; padding: 9px; border: 1px solid #221e22;} 
.footer a {color: #ffc300; text-decoration: none}
.footer a:hover {text-decoration: underline}

#camstream {min-width: 480px; max-width: 960px; min-height: 250px}
.mobile #camstream {max-width: 720px}
#map {height: 640px;}
#map:hover {cursor: pointer}
#OpenLayers_Map_2_OpenLayers_ViewPort {z-index: 1;} 

#camctrl img {float: left; margin: 15px 0 0 15px}

#camctrl2 img {float: left; border: 1px solid red;}


#sc {margin-top: 15px; padding-left: 35px; float: left; font-size: 16px}
#sc li {margin: 0; padding: 0;}

#chatform {background-color: #221e22; padding: 7px; margin: 15px 0 15px 0; width: 706px}
#chatform input{padding: 2px}
.desktop #chatform {border: 1px solid #221e22; border-radius: 8px; -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px;}
#chat {height: 200px; overflow-y: scroll; background-color: #E1E1E1; margin: 7px 0 7px 0}
.cl {font-weight: bold; color: #F39301}
.cl2 {font-weight: bold; color: #3d58a3}
.ch {color: #FF0000}
#msg_author {width: 200px}
#msg_txt {width: 600px; margin-top: 5px}

#form1 textarea {font-size: 16px; background-color: #E1E1E1; border: 1px solid #222222}
#name, #from, #message{width: 350px; padding: 2px;}

#OpenLayers_Geometry_Point_179{border: 1px solid red}

@media (min-width: 481px) {
.footer {border-radius: 8px; -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px;}
body {font-size: 14px;}
}

@media only screen and (max-width: 480px) {
body {-webkit-text-size-adjust: 90%; font-size: 16px;}
#map {height: 520px;}




/*.thumb {width: 258px; height: 198px;}
.cam  {width: 258px; height: 253px; }*/

#iframe_stream {width: 400px; height: 267px;}
#cam_loc_list .cam:nth-child(even) {margin-right:0px;}
.cam_list .cam:nth-child(even) {margin-right:0px;}
}

