.clear { clear:both; }

#page {
	width: 100%;
	padding: 0px;
	background-image: url(fw/ml.png);
	background-repeat: repeat-y;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	margin-right: auto;
	margin-left: auto;
	height: 100%;
}
#main {
	margin-right: 20px;
	margin-left: 20px;
	background-color: #FFFFFF;
	min-height:100%;
	height:100% !important;
	height:100%;
	border-top-width: 5px;
	border-top-style: solid;
	border-top-color: #FFFFFF;
	text-align: justify;
	line-height: 1.5em;
	overflow: hidden;
}


#content {
	clear: left;
	text-align: justify;
	line-height: 1.5em;
	width:100%;
	display: block;
}
h1 {
	font-family: "trebuchet MS", "Century Gothic", Arial, sans-serif, serif;
	font-weight: 100;
	padding: 0px;
	line-height: 1em;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	color: #416683;
	font-size: 24px;
}
h2, h3, h4, h5, h6 {
	font-weight: 100;
	color: #416683;
}

.box-meta {
	background-color: #d6d6d6;
	color: #416683;
	text-align: center;
	padding-top: 5px;
	padding-bottom: 5px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #416683;
	border-bottom-color: #416683;
	margin-top: 5px;
}
.box-meta a {
	color: #416683;
}
p {
	padding-top: 0px;
	margin-top: 10px;
}
#nav {
	margin-right: 20px;
	margin-left: 20px;
	background-color: #D6D6D6;
	height: 40px;
	border-top-width: 3px;
	border-top-style: solid;
	border-top-color: #FFFFFF;
}

#menu {
	float: right;
	line-height: 1em;
	width: 200px;
	margin-left: 10px;
	margin-bottom: 5px;
	padding: 10px;
	background-color: #D6D6D6;
}
#menu h2 {
	font-weight: 100;
	font-family: "trebuchet MS", "Century Gothic", Arial, sans-serif, serif;
	margin: 0px;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	color: #D6D6D6;
}

#menu ul {
	list-style-type: none;
	margin: 0px;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
#menu ul li a {
	color: #416683;
	font-size: 14px;
	display: block;
	padding: 2px;
	margin-bottom: 3px;
	text-decoration: none;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #416683;
}



#container {
	margin-right: auto;
	margin-left: auto;
	background-image: url(fw/mr.png);
	background-repeat: repeat-y;
	background-position: right top;
	width: 90%;
	background-color: #FFFFFF;

}

#top {
	background-image: url(fw/tc.png);
	background-repeat: repeat-x;
	height: 20px;
	width: 100%;
	margin: 0px;
}

#header {
	height: 120px;
	margin-right: 20px;
	margin-left: 20px;
	background-image: url(fw/header.png);
	background-repeat: no-repeat;
}

#header-info {
	float:right;
	text-align:right;
	font-size: 10px;	
}
.tr {
	width: 29px;
	float: right;
	background-color: transparent;
	background-image: url(fw/tr.png);
	background-repeat: repeat;
	background-position: right top;
	height: 20px;
}
.tl {
	width: 29px;
	float: left;
	background-color: transparent;
	background-image: url(fw/tl.png);
	background-position: left top;
	height: 20px;
}
body {
	background-color: #416683;
	margin: 10px;
	padding: 0px;
	font-size: 12px;
	min-width: 960px;
	
}
#header h1 {
	font-family: "trebuchet MS", "Century Gothic", Arial, sans-serif, serif;
	font-size: 24px;
	margin: 0px;
	color: #FFFFFF;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 5px;
}
#nav ul {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}
#nav ul li {
	display: block;
	float: left;
	text-align: center;
}
#nav ul li a {
	display: block;
	float:left;
	text-align: center;
	color: #416683;
	text-decoration: none;
	font-weight: 200;
	height: 29px;
	padding-top: 11px;
	padding-right: 10px;
	padding-left: 10px;
	border-right: 1px solid #416683;
}
#nav ul li.selected a {
	background-color: #eee;
}
#nav ul li a:hover {
	color: #FFFFFF;
	background-color: #416683;
}


#footer {
	overflow: hidden;
	text-align: center;
	padding-top: 20px;
	font-size: 10px;
}
a {
	color: #416683;
}

#bottom {
	width: 100%;
	background-image: url(fw/bc.png);
	background-repeat: repeat-x;
	background-position: center bottom;
	overflow: hidden;
}
#br {
	float: right;
	height: 25px;
	width: 25px;
	background-image: url(fw/br.png);
	background-position: right bottom;
	background-repeat: no-repeat;
}
#bl {
	float: left;
	height: 25px;
	width: 25px;
	background-image: url(fw/bl.png);
	background-repeat: no-repeat;
	background-position: left bottom;
}
#title h2 {
	color: #416683;
}

ul {
	list-style-type: square;
	line-height: 1.2em;
}

ol {
	list-style-type: decimal;
	line-height: 1.2em;
}

blockquote {
	border-left-width: 5px;
	border-left-style: solid;
	border-left-color: #416683;
	margin-left: 40px;
	margin-right: 40px;
	font-style: italic;
	background-color: #D6D6D6;
	padding: 10px;
	text-align: justify;
	color: #416683;
}

code {
	border-left-width: 5px;
	border-left-style: solid;
	border-left-color: #416683;
	display: block;
	margin-left: 40px;
	margin-right: 40px;
	padding: 10px;
	background-color: #D6D6D6;
	font-size: 12px;
}

#logintable {
	margin: 40px auto;
	text-align: right;
	padding: 16px;
	border: 1px solid #D6D6D6;
}

div.error {
	font-weight: bold;
	color: red;
}


table.nicetable {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	border-collapse: collapse;
	border-left: 1px solid #ccc;
	border-top: 1px solid #ccc; 
	color: #333;
}

table.nicetable caption {
	font-size: 1.1em;
	font-weight: bold;
	letter-spacing: -1px;
	margin-bottom: 10px;
	padding: 5px;
	background: #efefef;
	border: 1px solid #ccc;
	color: #666;
}

table.nicetable a {
	text-decoration: none;
	border-bottom: 1px dotted #f60;
	color: #f60;
	font-weight: bold;
}

table.nicetable a:hover {
	text-decoration: none;
	color: #fff;
	background: #f60;
}

table.nicetable tr th a {
	color: #369;
	border-bottom: 1px dotted #369;
}

table.nicetable tr th a:hover {
	color: #fff;
	background: #369;
}

table.nicetable thead tr th {
	text-transform: uppercase;
	background: #e2e2e2;
}

table.nicetable tfoot tr th, table tfoot tr td {
	text-transform: uppercase;
	color: #000;
	font-weight: bold;
}


table.nicetable td, table.nicetable th {
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	padding: 5px;
	line-height: 1.5em;
	font-size: 0.8em;
	vertical-align: top;
}

table.nicetable tr.odd th, table.nicetable tr.odd td {
	background: #efefef;
}

table.nicetable tr:hover td {
	background: #dfdfdf;
}

.acl_radio {
	width: 22px;
	height: 22px;
	display: block;
}
.acl_radio_allow {
	background: transparent url("img/acl_allow_off.png") no-repeat center center;
}
.acl_radio_allow.on {
	background-image: url("img/acl_allow_on.png") !important;
}
.acl_radio_disallow {
	background: transparent url("img/acl_disallow_off.png") no-repeat center center;
}
.acl_radio_disallow.on {
	background-image: url("img/acl_disallow_on.png") !important;
}

.niceform input[type=text], .niceform input[type=password], .niceform textarea {
	width: 260px;
	padding:2px;
}
.niceform input[type=submit] {
	padding: 6px 20px;
	font-weight: bold;	
}

.rowhover tr:hover td {
	background-color: #ded;	
}

.loading {
	display: block;
	width: 30px;
	height: 30px;
	margin: 10px auto;	
}

#barcodereader-status {
	text-align: right;
	width: 300px;
	float: right;
	margin-right: 30px;
	position:relative;
	top: 50px;
	font-weight: bold;
}

.col2 {
	float: left;
	padding-right: 2%;
	width: 48%;	
}

.buttonset input {
	margin: 0px;	
}


/* ==================================== */
#scannerResultDetail {
	float:left;	
}

#scannerResultButtons {
	float:left;	
}

/* =================================== */

.photobox {
	float: left;
	width: 130px;
	height: 140px;
	text-align: center;
	margin: 3px;
	padding: 2px;
	border: 1px solid black;	
}
.photobox-del {
	font-size: 8px;
	color: red;
	text-decoration: none;
}



/* ========= DELETE/MOVE ============= */

.receive-visit {
	width: 300px;
	float: left;
}
.receive-visit ul {
	min-height: 100px;	
}
