* {
	overflow:hidden;
	margin:0;
	padding:0;
	font-family: 'Open Sans';
}

body {
	text-align:center;
	font-weight: 100;
	
}

a {
	text-decoration: none;
}

table {
	border-collapse:collapse;
	border-spacing:0;
	border: 0px;
}

button, input, select, textarea {
    font-size: 100%;
    vertical-align: middle;
    margin: 0;
}

input, textarea, select, .ui-input-text {
    user-select: text;
    -khtml-user-select: text;
    -o-user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
}

input {
    height: 25px;
    width: 90%;
    border: 2px solid #ddd;
    margin: 5px 0px 5px 10px;
    padding: 2px 4px;
    line-height: 25px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
	font-size: .8em;
}

input[type="submit"] {
    text-align: center;
    color: rgb(75,75,75);
    letter-spacing: 1px;
    font-weight: 100;
}

input[type="checkbox"] {
    width:20px;
	margin-top:5px;
}


div#wrapper {
	width: 100vw;
	min-width: 640px;
	height: 100vh;
}

div#wrapper div#head {
	width: 100%;
	height: 6vh;
}

div#wrapper div#head h1 {
	line-height: 6vh;
	font-size: 4vmin;
	color: #ddd;
	text-align: left;
	font-weight: 100;
	padding-left: 2vmin;
	width: auto;
	float: left;
}

div#wrapper div#head ul#controlbuttons {
	line-height: 6vh;
	height: 6vh;
	width: auto;
	float: right;
	padding-right: 2vw;
}

div#wrapper div#head ul#controlbuttons li {
	height: 6vmin;
	width: 5vmin;
	display: block;
	float: right;
}

li p::before {
    font-family: "WinSymbol";
	text-align: center;
	font-weight: 100;
	font-size: 3vmin;
	height: 6vmin;
	line-height: 6vmin;
	width: 4vmin;
	cursor: pointer;
}

div.loading {
	background-color: #444;
	background-image: url('../img/loader_444.gif');
	background-position: center center;
	background-repeat: no-repeat;
}


div#loginbox {
    border-radius: 18px 18px 18px 18px;
    box-shadow: 0px 0px 14px rgb(0, 0, 0);
    width: 440px;
    margin: calc(50vh - 145px) calc(50vw - 225px) 0px calc(50vw - 225px);
    height: 280px;
    text-align: center;
	font-size: .8em;
}

div#loginbox form {
    margin: 0 auto;
    padding: 2em 0px 0px 0px;
    width: 90%;
    text-align: right;
    height: auto;
}

div#loginbox form table {
    margin: 0 auto;
	width: 100%;
}

div#loginbox form table td {
    padding: 0px 5px;
	height: 35px;
}

div#loginbox form table td label {
    text-align: right;
	line-height: 35px;
	height: inherit;
}

div#loginbox input.button {
    display: block;
    height: 32px;
    background-color: #ccc;
    margin-left: 10px;
}

h4 {
	font-size: 2em;
	font-weight: 500;
	line-height: 3em;
	text-align: left;
	padding: 0 4px;
}

div.error {
	width: 50vw;
	margin: 2vh auto;
	padding: 2vh 2vw;
	border-radius: 8px 8px 8px 8px;
	box-shadow: 0px 0px 14px rgb(0, 0, 0);
}

div#ui_mainnav {
    width: 20vmin;
    height: 94vh;
    float: left;
}

div#wrapper div#ui_mainnav ul {
	width: 20vmin;
	padding-right: 2vmin;
}

div#wrapper div#ui_mainnav ul#pagecontrolbuttons {
	height: calc(94vh - 18vmin);
}

div#wrapper div#ui_mainnav ul#maincontrolbuttons {
	height: 18vmin;
}

div#wrapper div#ui_mainnav ul li {
	height: 6vmin;
	width: 20vmin;
	color: #000;
	text-align: left;
	cursor: pointer;
}

div#wrapper div#ui_mainnav ul li p {
    width: calc(100% - 6vmin);
    height: 4vmin;
    margin: 1vmin 0px 1vmin 6vmin;
    line-height: 4vmin;
    font-size: 2vmin;
	font-weight: 100;
}

div#wrapper div#ui_mainnav ul li p::before {
    width: 4vmin;
    height: 4vmin;
	line-height: 4vmin;
    position: absolute;
    left: 1vmin;
}

div#modenav {
	height: calc(6vmin - 3px);
	z-index: 250;
}

div#modenav div#livesearch {
	height: 6vmin;
	float: right;
	padding-right: 2vmin;
	line-height: 6vmin;
	text-align: right;
	width: auto;
}

div#modenav div#livesearch input {
	margin: 1.5vh 0;
	width: 15vw;
}

div#modenav ul {
	height: 6vmin;
	float: left;
	padding-left: 2vmin;
	overflow: visible;
}

div#modenav ul li {
	height: 5vmin;
	width: auto;
	min-width: 5vmin;
	border-bottom: 0px;
	border-radius: 8px 8px 0px 0px;
	margin-top: 1vmin;
	margin-right: .5vmin;
	cursor: pointer;
	z-index: 300;
	float: left;
}

div#modenav ul li p {
	height: 4vmin;
	line-height: 4vmin;
	padding: 0 1.5vmin;
}

div#modenav ul li p::before {
	height: 4vmin;
	line-height: 4vmin;
	font-size:1.5vmin;
	position: relative;
	left: -1vh;
}

div#pagecontent {
	width: calc(100vw - 20vmin);
	height: 94vh;
	padding: 0;
	text-align: left;
}

div.boxcontent {
	width: calc(96vw - 20vmin);
	height: calc(88vh - 6vmin);
	padding: 2vh 2vw;
	overflow-y: auto;
}

div.boxcontent h1, div.boxcontent p {
	width: 100%;
}

div.boxcontent h1 {
	height: 2em;
	line-height: 2em;
	text-align: left;
	font-size: 1.5em;
	font-weight: 100;
}

div.boxcontent p {
	height: auto;
	text-align: right;
}

div.boxcontent input, div.boxcontent select {
	width: 20vw;
	height: 3vh;
	padding: .1vh .5vw;
	font-size: .8em;
	margin: 0;
	line-height: 2vh;
}

div.boxcontent button, div.boxcontent input, div.boxcontent select, div.boxcontent textarea {
    vertical-align: initial;
}

div#bodyfooter {
	font-weight: 100;
	font-size: .6em;
	height: 2vh;
	line-height: 2vh;
	text-align: center;
}

.boxcontent table {
	width: 100%;
	border-radius: 6px 6px 6px 6px;
}

.boxcontent table td {
	padding: .1vmin .5vw;
	font-size: 1.5vmin;
	height: 2vmin;
}

.boxcontent table td div.resultstable_text {
	width: calc(50% - 2px);
	float: left;
	text-align: center;
	
}

.boxcontent table td div.resultstable_back {
	width: calc(25% - 2px);
	float: left;
	text-align: left;
}

.boxcontent table td div.resultstable_forward {
	width: calc(25% - 2px);
	float: right;
	text-align: right;
}

.ui_clickable {
	cursor: pointer;
}

.boxcontent table tr.inactive td {
	color: rgb(90,90,90);
}

.boxcontent table tr.inactive:hover td {
	color: rgb(60,60,60);
}




div#unittabs_content {
	border: 1px solid #000;
	border-radius: 	3px;
	width: calc(96vw - 22vmin);
	max-height: calc(94vh - calc(6vmin + 6vh + 4em));
	
}
div#unittabs_content h1 {
	width: 100%;
	padding-left: 10px;
}

div#unittabs ul#page-tabs {
	height: 2em;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

div#unittabs ul#page-tabs li {
	margin-left: 3px;
	display: block;
	float: left;
	border: 1px solid #000;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	background-color: rgb(230,230,230);
}

div#unittabs ul#page-tabs li a {
	display: block;
	text-decoration: none;
}

div#unittabs ul#page-tabs li a span {
	display: block;
	height: calc(2em - 1px);
	line-height: 2em;
	padding: 0 12px;
	color: rgb(25,25,25);
}

div#unittabs ul#page-tabs li.selected {
	background-color: rgb(255,255,255);
	border-bottom: 1px solid #fff;
}

div#unittabs ul#page-tabs li.selected a {
}

div#unittabs ul#page-tabs li.selected a span {
	color: rgb(0,0,0);
}

div#unittabs_content .unittab {
	
}

div#unittabs_content .unittab_table {
	width: 100%;
}

div#unittabs_content div.page-tab {
	overflow-y: scroll;
	max-height: calc(94vh - calc(6vmin + 6vh + 4em));
}


div#unittabs_content .page-tab table {
	border: 0px;
	margin: 2px;
}

div#unittabs_content .page-tab td {
	height:	1.5em;
	font-size: .9em;
	color: #333;
}

div#unittabs_content .page-tab tr {
	height:		1.5em;
	border-bottom:	1px dashed #ccc;
}

div#unittabs_content .page-tab a {
	color:			#333;
}

div#unittabs_content .page-tab-loading {
	background-image: url('/public/images/loading.gif');
	background-position: center center;
	background-repeat: no-repeat;
	min-height: 300px;
}

div#mapBackground {
	position: fixed;
	top: 0;
	left: 0;
	width:100vw;
	height:100vh;
	background-color: rgba(0,0,0,.5);
	z-index:850;
	display:none;
}

div#pickmap {
	display:none;
	width:90vw;
	height:90vh;
	background-color:#fff;
	background-image:url('/pubres/images/loading.gif');
	background-position: center center;
	background-repeat: no-repeat;
	z-index:900;
	position: fixed;
	top: 5vh;
	left: 5vw;
	border: 1vmin solid rgb(50,50,50);
}

div#head div#system_totals {
	height: 6vh;
	font-size: 1.2vmin;
	line-height: 1.7vh;
	float: right;
	width: auto;
	text-align: right;
	padding-right: 1vw;
	font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}

div#searchMeasure {
	height: 2vmin;
	width: .2vmin;
}

div#unittabs_content td pre {
	font-family: Courier New,Courier,Lucida Sans Typewriter,Lucida Typewriter,monospace;
}




.addBlock {
	width: 850px;
	height: 200px;
	margin: 25px 10px;
	border: 1px solid #ccc;
	background-color: #eee;
	display: block;
	border-radius: 8px;
}

div.addBlockDeleted {
	opacity: 0.5;
}

.addBlockImage {
	width: 340px;
	height: 180px;
	background-size: 340px 180px;
	display: block;
	margin: 10px;
	float:left;
	cursor: pointer;
}

.addBlockStatus {
	width: 450px;
	height: 180px;
	display: block;
	margin: 10px;
	float:right;
}

.addBlockStatus h3 {
	font-size: 17px;
	font-weight: bold;
}

.addBlockStatus a {
	text-decoration: underline;
}

.addBlockStatus input[type='button'] {
    width: auto;
    height: 24px;
    padding: 3px 12px;
    font-size: 12px;
    line-height: 1.4;
    color: #555;
    vertical-align: middle;
    background-color: #FFF;
    border: 1px solid #CCC;
    border-radius: 4px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset;
    background-image: none;
	text-align: center;
	display: inline;
	margin-right:10px;
	margin-left:0px;
}

.addBlockStatus input[type='button']:hover {
	background-color: #DDD;
}

#form_adddetails {
    padding: 15px;
}

#form_adddetails p {
	margin: 15px 0;
}

#form_adddetails label {
    font-weight: 500;
    text-shadow: 1px 0px 1px rgba(125, 125, 125, 0.4);
    line-height: 1.25;
    display: inline-block;
    margin-bottom: 5px;
    margin-top: 10px;
    letter-spacing: 1px;
}

#form_adddetails input, #form_adddetails select, #content_changeAddImage input {
    display: block;
    width: 490px;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.4;
    color: #555;
    vertical-align: middle;
    background-color: #FFF;
    border: 1px solid #CCC;
    border-radius: 4px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset;
    background-image: none;
}

#content_changeAddImage input, #submitbuttons input {
    width: 200px;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.4;
    color: #555;
    vertical-align: middle;
    background-color: #FFF;
    border: 1px solid #CCC;
    border-radius: 4px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset;
    background-image: none;
	text-align: center;
	display: inline;
	margin-left:20px;
}

#content_changeAddImage input.first {
	margin-left:0px;
}

#content_changeAddImage input:hover, #submitbuttons input:hover {
    background-color: #DDD;
}

#content_changeAddImage input:disabled {
    background-color: #FFF;
	opacity: 0.5;
	cursor: not-allowed;
}

#showimagebuttons {
	width: 950px;
	margin: 10px auto;
	height: 50px;
	text-align: center;
}

#form_adddetails textarea {
	display: block;
    width: 490px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.4;
    color: #555;
    vertical-align: middle;
    background-color: #FFF;
    border: 1px solid #CCC;
    border-radius: 4px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset;
    background-image: none;
}

#form_promo_images table {
	width: 1100px;
	
}

#form_promo_images td {
	width: 183px;
	height: 101px;
	margin: 0;
	padding: 0;
	
}

#form_promo_images td div {
	width: 150px;
	height: 80px;
	padding: 3px;
	border: 1px dashed #ccc;
	background-size:150px 80px;
	background-repeat:no-repeat;
	background-position: center center;
}

#form_promo_images td div h3 {
	width: 150px;
	text-align:center;
	line-height:80px;
	font-size: 50px;
	color:#aaa;
	opacity:0.5;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-color: #fff;
}

#form_promo_images td div h3:hover {
	opacity:0.25;
	cursor:pointer;
	background-color: transparent;
}

#content_changeAddImage {
	vertical-align: middle;
    background-color: #FFF;
    border: 1px solid #CCC;
    border-radius: 8px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset;
	width: 1000px;
	height: 625px;
	position: fixed;
	margin: 0 auto;
	z-index:9999;
	text-align: center;
}

#content_backgroundBlock {
	background-color: #000;
	opacity: 0.25;
	z-index:8888;
	position: fixed;
	margin: 0 auto;
	left: 0;
	top: 0;
	overflow:none;
}

.showimageexample {
	width:950px;
	height:504px;
	background-color:#ccc;
	margin:0 auto;
	display:block;
	background-size:950px 504px;
}


#imgContainer {
	width: 950px;
	height: 504px;
}
#positionButtonDiv {
	/* Fallback for web browsers that doesn't support RGBa */
	background: rgb(58, 56, 63);
	/* RGBa with 0.6 opacity */
	background: rgba(58, 56, 63, 0.8);
	border: solid 1px #100000;
	color: #FFFFFF;
	padding: 8px;
	text-align: left;
	position: absolute;
	right: 55px;
	top: 240px;
}
#positionButtonDiv .positionButtonSpan img {
	float: right;
	border: 0;
}
.positionMapClass area {
	cursor:	 pointer;
}
.zoomButton {
	border: 0;
	cursor: pointer;
}
.zoomableContainer {
	background-image: url("../images/transparent.png");
}

div.boxcontent div#form_adddetails  p {
	text-align: left;
}


