html, body, form, fieldset {
	margin: 0;
	padding: 0;
}
body {
	background: #f5f5f5;
	color: #444;
	font-family: tahoma, Geneva, sans-serif;
	width:100%;
	font-size: 13px;
	line-height: 1.4em;
}

/* Normal link */
a, a:visited {
	color: #115FA8;
	text-decoration:none;
	cursor:pointer;
}

a:hover, a:active, a:focus {
	text-decoration: underline;
}

a img {
	border: none;
}

/* Title text */
h1, h2, h3, h4 {
	color: #746E66;
	line-height: normal;
	font-weight:normal;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif
}

h1 {font-size: 220%;}
h2 {font-size: 200%;}
h3 {font-size: 160%;}
h4 {font-size: 140%;}

p, pre, blockquote, ul, ol, h1, h2, h3, h4 {
	margin: 2px 0 10px;
	padding: 0;
}

strong {
	font-weight:bold;
}

ul {
	list-style: none;
}
ul li {
	background: url(../images/bullet.gif) no-repeat 18px 7px;
	padding-left: 30px;
	margin:8px 0 0;
}

#wrap,
#wraptop,
#wrapin,
#footerwrap {
	width:100%;
	text-align:center;
	margin:0;
	padding:0;
}

#wraptop {
	background:#2d2d2d;
	height:45px;
	margin-bottom:15px;
}

.admin {
	border-bottom:4px solid #d24836;
}
#top {
	width:1200px;
	margin: 0 auto;
	text-align:left;
	padding:5px 0 0;
	height:40px;
	color:#FFF;
}
#top h2 {
	color:#FFF;
	font-style:normal;
	margin:0;
}
#top h2 a {
	color:#FFF;
}
#top h2 a:hover {
	text-decoration:none;
}
#topright a, 
#topright a:visited {
	color:#FFF;
	padding:0 5px;
}
#topright a:hover, 
#topright a:active, 
#topright a:focus {
	background:#d24836;
	text-decoration:none;
}
#topleft {
	float:left;
	width:70%;
	padding:0;
	margin:0;
}
#topright {
	float:right;
	width:29%;
	padding:15px 0 0;
	margin:0;
	text-align:right;
}

#content {
	width:1200px;
	margin: 0 auto;
	text-align:left;
	padding:0;
}
#left {
	float:left;
	width:1180px;
	padding:9px;
	margin:10px 0 0;
	border:1px solid #ccc;
	background:#fff;
	min-height:400px;
	height:auto !important;
	height:400px;
}
#right {
	float:left;
	width:1198px;
	padding:0;
	margin:0;
	border:1px solid #ccc;
	background:#fff;
}
#version {
	float:right;
	width:240px;
	height:20px;
	padding:0 0 0 10px;
	margin:5px 0;
}
span.version {
	float:left;
	height:20px;
	padding:0;
	margin:0;
	color:#999;
	font-size:11px;
}

/* Menu */
#right ul.menu {
	list-style: none;
	margin: 0;
	padding: 0;
	float:left;
	width:100%;
}
#right ul.menu li {
	float:left;
	margin: 0;
	padding: 0;
	line-height: normal;
	background: none;
}

#right ul.menu li a {
	color: #746E66;
	float:left;
	padding: 9px 30px;
	margin:0;
	text-decoration: none;
	font-weight:bold;
	border-right:1px solid #f0f0f0;
	text-transform:uppercase;
}
#right ul.menu li a:hover,
#right ul.menu li a:active,
#right ul.menu li a:focus,
#right ul.menu a.active {
	text-decoration: none;
	color:#d24836;
}
#right ul.menu li ul {
	list-style: none;
	margin: 0 0 0 25px;
	padding: 0;
}
#right ul.menu li li {
	border: none;
	background: none;
	padding: 0;
}
#right ul.menu li li a {
	border: none;
	padding: 2px 0 2px 15px;
	margin:0 0 2px;
	text-transform: none;
	font-weight: normal;
	background: url(../images/arrow.gif) no-repeat 4px 8px;
	text-decoration: none;
	width: 209px;
}
#right ul.menu li li a:hover,
#right ul.menu li li a:active,
#right ul.menu li li a:focus,
#right ul.menu li li a.active {
	color:#d24836;
	text-decoration: none;
	background: url(../images/arrow.gif) no-repeat 4px 8px;
}

#right ul.menu li.trash {
	float:right;
	margin: 0;
	padding: 0;
	line-height: normal;
	background:url(../images/idel.png) no-repeat 10px;
}
#right ul.menu li.add {
	float:right;
	margin: 0;
	padding: 0;
	line-height: normal;
	background:url(../images/iadd.png) no-repeat 10px;
}
#right ul.menu li.export {
	float:right;
	margin: 0;
	padding: 0;
	line-height: normal;
	background:url(../images/iexcel.png) no-repeat 10px;
}

.topbuttons {
	float:right;
}
.topbuttons a,
.topbuttons a:visited {
	padding:2px 10px;
	margin-left:3px;
	background:url(../images/arrow.gif) no-repeat left;
}
.topbuttons a:hover {
	background:#115FA8;
	color:#fff;
	text-decoration:none;
}

#footer {
	margin:5px auto;
	width:1200px;
	padding:0;
	text-align:left;
	color:#999;
	font-size:11px;
}

#search {
	float:left;
	width:1138px;
	border:1px solid #e3e3e3;
	padding:20px;
	margin:0 0 20px 0;
	background:#f5f5f5;
}


/* FORM */

input.short,
dd.short input,
dd.short select{
	width:350px;
}

input#submit {
	display:block;
	width:150px;
	margin:5px 15px;
	padding:6px 30px;
	cursor:pointer;
	background:#d24836;
	color:#fff;
	border:none;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size:16px;
	font-weight:bold;
	text-transform:uppercase;
	border-radius: 5px;
}

input#submit:hover {
	text-decoration:none;
	background:#b13625;
}

dl {
	background:#f5f5f5;
	border:1px solid #e3e3e3;
	padding:10px;
}
dt.label {
	font-size:14px;
	color:#444;
	font-weight:bold;
}
dt {
	padding:0;
	margin:0;
}
dd {
	padding:10px;
	margin:0;
}
dd:hover {
	
}

dd.submit {
}
dd.submit:hover {
	background:none;
}

label.required {
	background: url(../images/required.gif) no-repeat top right;
	padding:0 10px 0 0;
}

dd.inline input#submit {
	float:right;
	margin:0;
}
dd.inline select {
	float:left;
}


/* FORM */
.inputbox {
	padding: 6px 4px;
	margin:3px 0;
	border: 1px solid #ccc;
	background: #fcfcfc;
	color: #666;
	font-size:16px;
}

.calendarDateInput {
	padding: 3px 2px;
	margin:0;
	border: 1px solid #ccc;
	background: #fcfcfc;
	color: #666;
	font-size:16px;
}

.w500 {
	width:500px;
}

.w250 {
	width:250px;
}

.inputbox:hover,
.inputbox:focus {
	background:#fffddf;
	color:#333;
}

select {
	box-sizing:content-box;
	-ms-box-sizing:content-box;
	-moz-box-sizing:content-box;
	-webkit-box-sizing:content-box; 
}

form#insert {
	font-size:16px;
}
form#insert em {
	font-size:11px;
	line-height:normal;
	color:#999;
	font-family:Arial, Helvetica, sans-serif;
}

span.address_2 {
	float:right;
	margin-right:450px;
	font-family:Arial, Helvetica, sans-serif;
	font-style:italic;
}

/* Table */
table#listing {
	border-top:1px solid #dfdfdf;
	border-left:1px solid #dfdfdf;
	line-height:normal;
}
table#listing thead {
	background:#f0f0f0;
	color:#444;
	font-weight:bold;
}
table#listing thead td {
	white-space:nowrap;
	padding:6px;
}
table#listing tr.zebra {
	background: #F2F7FF;
}
table#listing tbody tr:hover {
	background: #fffddf;
}

table#listing tr.highlight,
table#listing tr.highlight:hover {
	background:#FF6;
}
table#listing td {
	padding:4px 6px;
	border-right:1px solid #dfdfdf;
	border-bottom:1px solid #dfdfdf;
}
table#listing td.switch,
table#listing td.icons,
table#listing td.sort {
	text-align:center;
	white-space: nowrap;
	width:80px;
}

/* Icons */
a.turn_off,
a.turn_on,
a.edit,
a.delete,
a.search,
a.mail,
a.page,
a.sorting_down,
a.sorting_up,
a.sorting_top,
a.paid,
a.not_paid {
	padding:0;
	margin:1px;
	width:16px;
	height:16px;
	cursor:pointer;
	text-indent:20px;
	overflow:hidden;
	display:inline-block;
}
a.turn_off {
	background:url(../images/ioff.png);
}
a.turn_on {
	background:url(../images/ion.png);
}
a.edit {
	background:url(../images/iedit.png);
}
a.delete {
	background:url(../images/idel.png);
}
a.search {
	background:url(../images/isearch.png);
}
a.mail {
	background:url(../images/imail.png);
}
a.sorting_down {
	background:url(../images/idown.png);
}
a.sorting_up {
	background:url(../images/iup.png);
}
a.sorting_top {
	background:url(../images/itop.png);
}
a.paid {
	background:url(../images/imoney.png);
}
a.not_paid {
	background:url(../images/imoney_delete.png);
}

a.image,
a.folder,
a.admin,
.topbuttons a.print {
	padding:0 0 0 20px;
	margin:0;
}
a.page {
	background:url(../images/ipage.png) no-repeat left;
}
a.image {
	background:url(../images/ipic.png) no-repeat left;
}
a.folder {
	background:url(../images/ifolder.png) no-repeat left;
}
a.admin {
	background:url(../images/iadmin.png) no-repeat left;
}

.topbuttons a.print {
	background:url(../images/iprint.png) no-repeat left;
	margin:0 10px;
}

.topbuttons a.print:hover {
	background:url(../images/iprint.png) no-repeat left;
	color:#115FA8;
	text-decoration:underline;
}

/* messages */
.message {
	float:left;
	width:1158px;
	padding:10px;
	margin:0 0 10px;
	color:#000;
}
.message h3 {
	color:#333;
}
.red {
	background:#ff6b6b;
	border:1px solid #bc1d1d;
}
.green {
	background:#c7f464;
	border:1px solid #73a20b;
}


/* Paging */
.pagingwrap {
	width:100%;
	padding:20px 0 0;
	margin:0;
	text-align:center;
}
.paging {
	margin:0 auto;
	padding:0;
	text-align:left;
	width:350px;
}
.paging ul span {
	padding:1px 6px;
	margin:0 2px;
	color:#fff;
	border-top: 1px solid #f0f0f0;
	border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	border-left: 1px solid #f0f0f0;
	background:#ccc;
	display: block;
}
.paging ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.paging ul li {
	margin: 0;
	padding: 0;
	line-height: normal;
	background: none;
	float:left;
}
.paging ul li a,
.paging ul li a:visited {
	float:left;
	padding:1px 6px;
	margin:0 2px;
	text-decoration: none;
	border-top: 1px solid #f0f0f0;
	border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	border-left: 1px solid #f0f0f0;
	background:#ffffff;
}
.paging ul li a:hover,
.paging ul li a:focus,
.paging ul li a:active {
	background:#fffddf;
	color:#000;
}


/* Clearfix */
.clearfix:after {
	clear: both;
	content: ".";
	display: block;
	height: 0;
	visibility: hidden;
}

* html > body .clearfix {
	display: block;
	width: 100%;
}

* html .clearfix {
	height: 1%;
}
*:first-child+html .clearfix { zoom: 1; } /* IE7 */


/* address links */

.suggest_wrapper {
	background:#fffddf;
	color:#333;
	border:1px solid #ccc;
	width:508px;
	margin-top:-4px;
	position:absolute;
	z-index:1000;
}

ul#suggest_list {
	
}

ul#suggest_list li {
	background:url(../images/arrow.gif) no-repeat 20px 7px;
	cursor:pointer;
}

ul#suggest_list li:hover {
	background:#fffdd0 url(../images/arrow.gif) no-repeat 18px 7px;;
	color:#000;
}
