/* ============================== */
/* ! Layout for desktop version   */
/* ============================== */

html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	font: 14px/20px Arial,Verdana,sans-serif;
}
	

/* ============================= */
/* ! Layout for mobile version   */
/* ============================= */

@media handheld, only screen and (max-width: 767px) {

	body {
		
	}

}


/* ========================================== */
/* ! Provide higher res assets for iPhone 4   */
/* ========================================== */

@media only screen and (-webkit-min-device-pixel-ratio: 2) { 

/*	.logo {
		background: url(logo2x.jpg) no-repeat;
		background-size: 212px 303px;
	}*/

}

/* STANDARD STYLES */
/* FONTS */
h1 {
	font-weight: normal;
	color: #000066;
	font-size: 48px;
	line-height: 60px;
}

h2 {
	font-weight: normal;
	color: #9999cc;
	font-size: 24px;
	line-height: 30px;
}

h3 {
	font-weight: normal;
	color: #9999cc;
	font-size: 18px;
	line-height: 27px;
}

small {
	font-size: 0.8em;
}

span.numrecords {
	font-size: 2.2em;
}

sup, sub {
	vertical-align: baseline;
	position: relative;
	top: -0.4em;
}

sub {
	top: 0.4em;
}

ul.inline,ol.inline{margin-left:0;list-style:none}ul.inline>li,ol.inline>li{display:inline-block;*display:inline;padding-right:5px;padding-left:5px;*zoom:1}
.text-center {
	text-align: center;
}
.text-right {
	text-align: right;
}

span#csdouter {
	display: block;
	margin-left: 182px;
}

.breaker {
	clear: both;
}
	
/* QUERYTOOL FILTER PARAGRAPHS */
.filterpara {
	float: left;
	width: 44%;
	/* height: 14em; */
	font-size: 0.8em;
	background: #eeeeee;
	border: 1px solid #cccccc;
	border-radius: 10px;
	margin: 1% 1% 1% 0;
	padding: 2%;
}

.filterpara:nth-child(odd) {
	clear: both;
}

#qtresults {
	background: #eeeeee;
	border: 1px solid #cccccc;
	padding: 10px;
	text-align: center;
	border-radius: 10px;
}

#debug pre {
	overflow: scroll;
}

.qtaction {
	background: #eeeeee;
}

/* FORMS */
.neatform fieldset {
	border-top: 1px solid #000066;
}

	.neatform fieldset legend {
		padding: 0 10px 0 0;
	}

	.neatform fieldset p input[type=checkbox] {
		margin-right: 20px;
		margin-left: 5px;
	}

.neatform label {
	clear: both;
	float: left;
	position: relative;
	top: 2px;
	width: 160px;
	margin: 0 10px 0 20px;
}

.advsearch-class .neatform label {
    width: 260px;
}

	.neatform label.nostyles {
		clear: none;
		float: none;
		width: auto;
		margin: 0 10px;
	}
	
	#questions {
		padding: 5px 20px;
	}

.neatform input[type=submit] {
	margin-left: 192px;
}

	.neatform input[type=submit].nomargin {
		margin-left: 0;
	}
	
.qtform label {
	clear: both;
	float: left;
	position: relative;
	top: 2px;
	width: 100px;
	margin: 0 10px 0 20px;
}


/* INPUTS */
input[type=text], input[type=password], input[type=file], textarea {
	border: 1px solid #cccccc;
	background: #ffffff;
}

input[type=text]:focus, input[type=password]:focus, input[type=text]:focus, input[type=file]:focus, textarea:focus {
	background: #ffffcc;
}

input.positive, input.negative, button.positive, button.negative, a.positive, a.negative {
	color: #ffffff;
	border: 0;
	font-size: 1.4em;
	font-weight: bold;
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.6);
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.6);
	border-bottom: 1px solid rgba(0,0,0,0.25);
	padding: 5px 10px;
	border-radius: 5px;
	text-decoration: none;
}

input.positive, button.positive, a.positive {
	background: #91bd09;
}

	input.positive:hover, button.positive:hover, a.positive:hover {
		background: #749a02;
		cursor: pointer;
		text-decoration: none;
	}

input.posired, button.posired, a.posired {
	background: #f61010;
}

	input.posired:hover, button.posired:hover, a.posired:hover {
		background: #cf2525;
		cursor: pointer;
	}

input.negative, button.negative, a.negative {
	background: #e62727;
}

	input.negative:hover, button.negative:hover, a.negative:hover {
		background: #cf2525;
		cursor: pointer;
	}
	
	input.positive[disabled], input.positive[disabled]:hover, a.positive[disabled]:hover {
		background: #cccccc;
	}
	
input[readonly=readonly] {
	border: 1px solid #ffffff;
}
	
	input[readonly=readonly]:focus {
		background: #ffffff;
	}
	
/* ERROR MESSAGES */
div.error {
	color: #cc0000;
	font-weight: bold;
}

label.error {
	float: none;
	margin-left: 5px;
	color: #cc0000;
	font-weight: bold;
	text-align: left;
	position: relative;
	top: 0px;
}

/* DIVS */
#pageouter {
	min-height: 100%;
	position: relative;
}

/* GENERIC TABLE STYLES */
td.noborder {
	border: 0;
}

header {
	position: fixed;
	z-index: 1000;
	width: 98%;
	padding: 0 1%;
	height: 30px;
	line-height: 30px;
	background: #000000;
	color: #ffffff;
	background-image: linear-gradient(bottom, rgb(0,0,0) 0%, rgb(104,104,104) 100%);
	background-image: -o-linear-gradient(bottom, rgb(0,0,0) 0%, rgb(104,104,104) 100%);
	background-image: -moz-linear-gradient(bottom, rgb(0,0,0) 0%, rgb(104,104,104) 100%);
	background-image: -webkit-linear-gradient(bottom, rgb(0,0,0) 0%, rgb(104,104,104) 100%);
	background-image: -ms-linear-gradient(bottom, rgb(0,0,0) 0%, rgb(104,104,104) 100%);
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0, rgb(0,0,0)),
		color-stop(1, rgb(104,104,104))
	);

}

	header nav ul {
		margin: 0;
		padding: 0;
		list-style: none;
		position: relative;
		z-index: 5;
	}
	
		header a:link, header a:visited {
			color: #ffffff;
		}
	
		header nav ul li {
			float: left;
			height: 30px;
			line-height: 30px;
			position: relative;
		}
		
		header nav ul li a:link, header nav ul li a:visited {
			display: block;
			color: #cccccc;
			text-decoration: none;
			padding: 0 10px;
		}
		
		header nav ul li a.active:link, header nav ul li a.active:visited {
			font-weight: bold;
			border-top: 2px solid #9999cc;
			height: 28px;
			line-height: 26px;
		}
		
		header nav ul li a:hover {
			background: #666666;
		}
		
		/* SUBNAV */
		header nav ul li ul {
			background: #000000;
			position: absolute;
			left: -9999px;
			width: 150px;
			font-size: 0.9em;
		}
		
			li#userli ul, li#userli ul li {
				width: 100%;
				overflow: hidden;
			}
			
			header nav ul li:hover ul {
				left: 0;
			}
			
			header nav ul li ul li strong {
				padding: 0 0 0 10px;
			}
			
			header nav ul li ul li a:link, header nav ul li ul li a:visited {
				width: 130px;
				padding: 0 0 0 20px;
			}
		
				header nav ul li#userli ul li a:link, header nav ul li#userli ul li a:visited {
					width: 100%;
					display: block;
					/* padding: 0; */
				}
			
		header ul li#globalsearchform {
			margin-left: 40px;
		}
	
	header form#db_switcher {
		float: right;
		margin-right: 10px;
	}
	
	header p {
		float: right;
		margin: 0;
		padding: 0;
		line-height: 30px;
	}
	
	header form input[type=text] {
		height: 18px;
		font-size: 14px;
		line-height: 18px;
		padding: 1px 3px;
		width: 260px;
	}
	
#ou ul, #cn ul {
	list-style: none;
}

#content {
	padding-top: 40px;
	padding-bottom: 50px;
}

footer {
	position: absolute;
	width: 98%;
	padding: 0 1%;
	bottom: 0;
	height: 25px;
	line-height: 25px;
	background: #000000;
	color: #ffffff;
	background-image: linear-gradient(bottom, rgb(0,0,0) 0%, rgb(104,104,104) 100%);
	background-image: -o-linear-gradient(bottom, rgb(0,0,0) 0%, rgb(104,104,104) 100%);
	background-image: -moz-linear-gradient(bottom, rgb(0,0,0) 0%, rgb(104,104,104) 100%);
	background-image: -webkit-linear-gradient(bottom, rgb(0,0,0) 0%, rgb(104,104,104) 100%);
	background-image: -ms-linear-gradient(bottom, rgb(0,0,0) 0%, rgb(104,104,104) 100%);
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0, rgb(0,0,0)),
		color-stop(1, rgb(104,104,104))
	);
}
	
		footer a:link, footer a:visited {
			color: #ffffff;
			text-decoration: none;
		}
		
		footer a:hover {
			color: #cccccc;
		}

	p#copyright {
		float: left;
		width: 49%;
		margin: 0;
		padding: 0;
	}
	
	p#footerlinks {
		float: right;
		width: 49%;
		margin: 0;
		padding: 0;
		text-align: right;
	}
	
.calign {
	text-align: center;
}

.ralign {
	text-align: right;
}

#globalerror {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -40px;
	margin-left: -230px;
	width: 400px;
	height: 80px;
	line-height: 80px;
	padding-left: 60px;
	text-align: center;
	background: #cc0000 url(/images/icons/keys/key_exclamation.png) no-repeat 16px 12px;
	border-radius: 10px;
	color: #ffffff;
	font-weight: bold;
}

#accessdenied {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -40px;
	margin-left: -230px;
	width: 400px;
	height: 80px;
	line-height: 80px;
	padding-left: 60px;
	text-align: center;
	background: #cc0000 url(/images/icons/lock_closed.png) no-repeat 16px 12px;
	border-radius: 10px;
	color: #ffffff;
	font-weight: bold;
}
		
/* SECTION SPECIFIC STYLES */
/* WEBMASTER SEARCH FORM */
#webmasterbasesearch #q {
	width: 88%;
	position: relative;
	top: 4px;
	font-size: 2em;
	margin: 10px 10px 0 0;
}

/* LOGIN FORM */
#loginformouter {
	position: absolute;
	top: 50%;
	margin-top: -245px;
}

#loginforminner {
	width: 100%;
}

#loginform {
	padding: 10px;
	border: 1px solid #cccccc;
	background: #eeeeee;
}

#loginform input[type=text], #loginform input[type=password] {
	width: 100%;
	font-size: 2em;
}

/* RECORD VIEWER */
#options form {
	display: inline;
}

#formhelp {
	clear: both;
	display: block;
	margin: 3px 0;
}

/*
#options form {
	clear: both;
	padding: 10px 0;
	height: 2.5em;
	border-bottom: 1px solid #cccccc;
}

	#options form p {
		padding: 0;
		margin: 0;
		float: left;
	}
	
	#options form input {
		margin-top: 4px;
		float: right;
	}
	*/
	
/* TABLES */	
/* GLOBAL TABLE STYLE */
table {
	border-collapse: collapse;
	width: 100%;
}

	table th {
		text-align: left;
		padding: 2px 0;
		border-bottom: 1px solid #cccccc;
	}
	
	table td {
		padding: 3px 0;
		border-bottom: 1px solid #eeeeee;
	}
	
table.expos {
	font-size: 0.8em;
}

	table.expos th {
		text-align: left;
		border-bottom: 1px solid #000000;
		padding: 3px 0;
	}

	table.expos td {
		padding: 5px 0;
		border: none;
	}

	table.expos tr.expodet td {
		border-bottom: 1px solid #cccccc;
	}
	
	table.expos form {
		display: inline;
	}

/* SUBSCRIPTIONS TABLE */
table.subscriptions {
	font-size: 0.8em;
}

	table.subscriptions th {
		text-align: left;
		border-bottom: 1px solid #000000;
		padding: 3px 0;
	}

	table.subscriptions td {
		border-bottom: 1px solid #cccccc;
		padding: 5px 0;
	}

		table.subscriptions td.noborder {
			border-bottom: 0;
		}
	
	table.subscriptions form {
		display: inline;
	}
	
/* DUPES TABLE */	
table.duplicates {
	border-spacing: 0;
	border-collapse: collapse;
	width: 100%;
	font-size: 0.8em;
}

	table.duplicates th {
		text-align: left;
		border-bottom: 1px solid #000000;
		padding: 3px 0;
	}

	table.duplicates td {
		border-bottom: 1px solid #cccccc;
		padding: 5px 0;
	}
	
	table.duplicates form {
		display: inline;
	}
	
/* FOLLOW ON TRANSACTION TABLE */	
table.fots {
	border-spacing: 0;
	border-collapse: collapse;
	width: 100%;
	font-size: 0.8em;
}

	table.fots th {
		text-align: left;
		border-bottom: 1px solid #000000;
		padding: 3px 0;
	}

	table.fots td {
		border-bottom: 1px solid #cccccc;
		padding: 5px 0;
	}

	a.findrel, a.expodetail {
		font-size: 1.3em;
		text-decoration: none;
	}
	
	table.fots form {
		display: inline;
	}
	
	table.fots tr.fot {
		display: none;
		font-size: 0.9em;
		background: #eeeeee;
	}
	
	table.fots tr.fot td {
		padding-left: 5px;
	}
	
/* ADVERTISER TABLE */
table.adstable label {
	width: 400px;
	text-align: left;
}

/* SEARCH RESULTS TABLE */
table#searchresults {
	border-spacing: 0;
	/* border-collapse: collapse; */
	width: 100%;
	font-size: 0.8em;
	margin-bottom: 10px;
	table-layout: fixed;
}

	table#searchresults td {
		border-top: 1px solid #cccccc;
		border-bottom: 1px solid #cccccc;
		padding: 2px 10px;
		vertical-align: top;
		word-wrap: break-word;
	}

	table#searchresults td.searchresultname a:link, 
	table#searchresults td.searchresultname a:hover {
		color: #000000;
		text-decoration: none;
	}

	table#searchresults td.searchresultname a:hover {
		text-decoration: underline;
	}

	table#searchresults tr:nth-child(odd) td,
	table#advertiserlist tr:nth-child(odd) td {
		background: #eeeeee;
	}
	
	table#searchresults tr td.subs {
		width: 9em;
	}
	
	table#searchresults tr.ignoredrec td, #key td.ignoredrec {
		background: #ffcccc !important;
	}
	
	table#searchresults tr.preregrec td, #key td.preregrec {
		background: #efbe3b;
	}
	
	table#searchresults tr.attendedrec td, #key td.attendedrec {
		background: #96ef91;
	}
	
	table#searchresults tr.subsrec td, #key td.subsrec {
		background: #cccc00;
	}
	
	table#key {
		display: inline;
		width: 50%;
		border-collapse: separate;
	}
	
		table#key td {
			width: 20%;
			margin: 0 2.5%;
			text-align: center;
		}
	
/* DUPE GROUP BREAKER MEMBER TABLE */
#dgmembers tr td:first-child {
	padding-right: 10px;
}

#dgmembers tr.group_master td {
	background: #cccccc;
	font-weight: bold;
}

/* FORM STATS TABLE */
#formstats td.yellow {
	background: #ffffcc;
}

#formstats td.infototal {
	background: #eeeebb;
}

/* LOGIN EDITOR */
.permissions div {
	height: 40px;
	padding: 10px;
	border: 1px solid #ffffff;
	border-radius: 5px;
}

	.permissions div:hover {
		background: #ffffcc;
		border: 1px solid #cccccc;
	}

	.permissions div.admin {
		background: #91bd09;
		color: #ffffff;
	}

	.permissions div input {
		float: left;
		margin: 0 10px 20px 0;
	}

	
/* PARAGRAPHS */
p.subaddr {
	float: right;
	text-align: right;	
}

.twothirds {
	float: left;
	width: 65%;
	margin-right: 1%;
}

.onethird {
	float: right;
	width: 34%;
}

/* TAG SPANS */
#currtags, #suggtags {
	margin: 10px 0;
}

#currtags > a, #suggtags > a,
#currtags > span, #suggtags > span {
	float: left;
	font-size: 0.8em;
	padding: 3px 5px;
	margin: 0 5px 5px 0;
	border-radius: 5px;
	background: #ccccff;
	border: 1px solid #000066;
	text-decoration: none;
}

	#suggtags > a, #suggtags > span {
		background: #eeeeee;
	}

	#currtags > a > span, #suggtags > a > span,
	#currtags > span > span, #suggtags > span > span {
		margin-left: 6px;
		font-weight: bold;
	}

#currtags .optin {
	background: #d8eecf;
}

#currtags .optout {
	background: #f8d7da;
}

#currtags .optin-li {
	background: #ffffcc;
}

/* MAILING LIST SPANS */
#currdbs, #alldbs {
	margin: 10px 0;
}

#currdbs > a, #alldbs > a,
#currdbs > span, #alldbs > span {
	float: left;
	font-size: 0.8em;
	padding: 3px 5px;
	margin: 0 5px 5px 0;
	border-radius: 5px;
	background: #ffffcc;
	border: 1px solid #000066;
	text-decoration: none;
}

	#alldbs > a, #alldbs > span,
	#alldbs > span, #alldbs > span {
		background: #dddddd;
	}

	#currdbs > a > span, #alldbs > a > span,
	#currdbs > span > span, #alldbs > span > span {
		margin-left: 6px;
		font-weight: bold;
		text-decoration: none;
	}
	
.note {
	margin-bottom: 10px;
}

	.ui-widget-content a.notedel {
		text-decoration: none;
		margin-left: 5px;
		color: #cc0000;
	}

#wmaddress form {
	display: inline;
	margin: 0;
}

	#wmaright a:link, #wmaright a:visited {
		text-decoration: none;
		color: #000000;
	}

/*
#wmaddress form {
	float: right;
	display: none;
}

	#wmaddress:hover form {
		display: inline;
	}

	#wmaddress form input[type=submit] {
		font-size: 0.8em;
		margin-top: 15px;
	}
*/
	
.warning {
	clear: both;
	background: #cc0000;
	color: #ffffff;
	text-align: center;
	border-radius: 10px;
	padding: 10px;
	margin-top: 25px;
	font-weight: bold;
}
	
.information {
	clear: both;
	background: #ffffcc;
	color: #000000;
	text-align: center;
	border-radius: 10px;
	padding: 10px;
	margin-top: 25px;
	font-weight: bold;
}

.ignorewarning {
	color: #cc0000;
	font-weight: bold;
}

#showignored {
	padding: 5px 10px;
	text-align: left;
	border-top: 1px solid #cc0000;
	border-bottom: 1px solid #cc0000;
	font-size: 0.8em;
	background: #ffcccc;
}

	#showignored p {
		margin: 0;
	}
	
	#showignored input {
		font-size: 0.9em;
	}

#existing ul {
	margin: 0 0 20px 20px;
}

table.georeport, table.ratereport {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}

	table.georeport tr td:first-child, table.ratereport tr td:first-child {
		width: auto;
	}

	table.georeport tr td:last-child, table.ratereport tr td:last-child {
		width: 50px;
		text-align: right;
	}

.subspan {
	float: left;
	width: 49%;
}

.inactivesub {
	color: #cc0000;
}

/* RECORD VIEWER */
#wmaddress {
	border: 1px solid #000000;
	background: #eeeeee;
	padding: 10px;
	border-radius: 10px;
}

	#wmaddress p {
		padding-top: 0;
		margin-top: 0;
	}
	
	#wmaleft {
		float: left;
		width: 49%;
	}
	
	#wmaright {
		float: right;
		width: 49%;
	}
	
#devwarning {
	margin: 5px 0 10px 0;
	padding: 5px;
	text-align: center;
	background: #ffcccc;
	border: 2px solid #cc0000;
	color: #cc0000;
	font-weight: bold;
}

/* QUERY TOOL RESULT VIEWER */
#jtcol {
	position: fixed;
}

#jtcol p {
	width: 250px;
	height: 670px;
	overflow-y: scroll;
	overflow-x: none;
}

#jtcol p a:link {
	float: left;
	color: #000000;
	text-decoration: none;
	text-transform: capitalize;
	max-width: 190px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	padding-right: 10px;
}

/* ADMIN MENU */
#admin-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

	#admin-menu li {
		border-top: 1px solid #000000;
	}
	
	#admin-menu li.header {
		margin-top: 10px;
		padding: 3px 5px;
		border-top: 0;
		background: #9999cc;
	}
	
	#admin-menu a:link, #admin-menu a:visited {
		display: block;
		text-decoration: none;
		color: #000000;
		padding: 5px;
		font-size: 0.9em;		
	}
	
	#admin-menu a:hover, #admin-menu a.active {
		background: #eeeeee;
	}
	
/* TWO COLUMN TABLE USING DL, DT, DD */
dl.twocoltable {

}

	dl.twocoltable dt {
		clear: both;
		float: left;
		width: 170px;
		padding: 1px 0;
	}
	
	dl.twocoltable dd {
		padding: 1px 0;
	}
	
/* DATA REVIEW SCREEN */
.data_ok {
	background: #66ff66;
}

.data_not_ok {
	background: #ff6666;
}

.source_tag,
.is_master_record,
.not_master_record {
	background: #ffffcc;
	border: 1px solid #000000;
	border-radius: 5px;
	margin: 10px 0;
	padding: 15px;
	position: relative;
	top: 20px;
}
a.not_master_record {
	text-decoration: none;
	cursor: pointer;
}

.row .fivecol_abs {
	position: absolute;
	right:2%;
}

.is_master_record{
	background: #d8eecf;
	margin:0 10px;
	cursor:default;
}

.not_master_record{
	background: #efd6d6;
	margin:0 10px;
	cursor:default;
}

.highlight_row{
	font-weight: bold;
}

.italic_row{
	font-style: italic;
}

#goodnews_banner {
	padding: 10px 3%;
	color: #ffffff;
	background: #00cc00;
}

#datareviewtable tr td {
	border-bottom: 0;
}

#datareviewtable tbody {
	border-bottom: 1px solid #eeeeee;
}

#optiontabs ul li span.badge {
	background: #cc0000;
	border-radius: 1em;
	color: #ffffff;
	display: inline-block;
	font-size: 0.7em;
	height: 0.8em;
	line-height: 0.8em;
	padding: 4px;
	position: relative;
	text-align: center;
	top: -0.4em;
	width: 1em;
}


button.positive, input.positive, a.positive {
	outline: none;
}

.popover, .popover-title {
	color: #000000;
}

ul.print_options {
	padding: 0px;
	margin: 0px;
	width: 260px;
	list-style: none;
}

ul.print_options li {
	width: 100px;
	display: inline-block;
}

ul.print_options li:nth-child(2) {
	width: 100px;
	padding-left: 40px;
	text-align: center;
}

.popover-content form input[type="checkbox"].odd {
	margin-left: 30px;
	margin-right: 20px;
}

#searchresults_wrapper{
	overflow: hidden;
	overflow-x: auto;
}
.flag_part{
	width:230px;
	float:left
	clear:both;
}

.flag_part span{
	float:left;
	clear:both;
}
.flag_part input[type="text"]{
	float:right;
}

.flag_part_create input[type="text"],
.flag_part_hidden{
	display:none;
}


table#brand_dl_optin {
	border: none;
	display: inline-block;
}

table#brand_dl_optin tbody {
	height: 300px;
	overflow: auto;
	display: block;
}

table#brand_dl_optin th {
	width: 100px;
	padding: 3px 8px;
	font-size: .8rem;
}

table#brand_dl_optin td {
	width: 100px;
	font-size: .8rem;
}

table#brand_dl_optin label {
	width: auto !important;
}
