html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}
body {
	position: relative;
	text-align: left;
	font: 12px "Lucida Grande", "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #5A698B;
	background-color: #fff;
}
#bodycontainer {
	padding-top: 3px;
	margin: 0 auto;
	width: 960px;
}
pre {
	margin:0px;
	white-space: pre-wrap;
	font: 13px "Lucida Grande", "Trebuchet MS", Arial, Helvetica, sans-serif;
}
a:link,a:visited { color : #2B5273; }
a:hover { color : #0C2133; }

p { padding-bottom : 10px; }

abbr {cursor:help;}
	
.typcn { font-size: 20px; } /* icon size */
a:has(.typcn) { text-decoration: none; }

.alert-primary {
	color: #004085;
	background-color: #cce5ff;
	border-color: #b8daff;
	position: relative;
	padding: .75rem 1.25rem;
	margin-bottom: 1rem;
	border: 1px solid transparent;
	border-radius: .25rem;
}

#logo {
	width:960px;
	height:76px;
	background-image:url('banner960.gif');
	border:0;
	text-align: right;
	margin-bottom:10px;
}
#loggedinas {
	padding-right:26px;
	padding-top:55px;
}

#page {
	background-color:#FFFFFF;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(85,85,85,1);
	-moz-box-shadow: 0px 0px 10px 0px rgba(85,85,85,1);
	box-shadow: 0px 0px 10px 0px rgba(85,85,85,1);
	margin:0;
}
#content {
	width:943px;
	padding:15px 5px 10px 10px;
	margin:0;
	font: 13px "Lucida Grande", "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #333333;
	min-height: 600px;
	border:1px solid #333333;
}
#footer {
	background-color:#333333;
	padding:8px 0;
	text-align:center;
	height:17px;
	color:white;
	width:960px;
	border-radius: 0 0 5px 5px;
	-moz-border-radius: 0 0 5px 5px;
	-webkit-border-radius: 0 0 5px 5px;
}

.titletxt {
	font-size: 16px;
	font-weight:bold;
	color:#333;
}

form { padding : 0px; margin : 0px; }
input { border : 1px solid #777; float:left;}
textarea { border : 1px solid #777;}
select { border : 1px solid #777; float:left;}
.req-red {
	color:#f00;
	font-weight:bold;
}
.req-red-title {
	font-size: 13px;
	color:#f00;
	font-weight:normal;
	padding-left:8px;
}
.genform {
	margin-bottom: 30px;
	margin-left:250px;
}
.genformerror {
	background-color: #fee;
	border: 1px solid #f00;
	padding:8px;
	width: 224px;
	margin-bottom:8px;
}
.genformgood {
	background-color: #efe;
	border: 1px solid #0f0;
	padding:8px;
	width: 224px;
	margin-bottom:8px;
	text-align:center;
}

/* datalist */
.datalist {
	width:100%;
	border : 1px solid #aaa;
}
.datalisttitle {
	vertical-align: top;
	text-align:right;
}
.datalistdata {
	vertical-align: top;
	text-align:left;
	font-weight:bold;
}
.funclistlink {
	vertical-align: top;
	text-align:right;
	font-weight:bold;
}
.funclistdesc {
	vertical-align: top;
	text-align:left;
}
.datalistheader {
	background:#eef;
}
.datalistoff {
	background:#fff;
}
.dataliston {
	background:#f6f6ff;
}
.datalistoff:hover, .dataliston:hover {
	background:#f1f1ff;
}

.datalistheader  td {
	font-weight:bold;
	border-bottom : 1px solid #aaa;
	border-right : 1px solid #e6e6e6;
	padding: 3px;
}
.datarowheader  td {
	font-weight:bold;
	border-top : 1px solid #aaa;
	border-right : 1px solid #e6e6e6;
	padding: 3px;
	padding-left: 25px;
	background:#ddf;
}
.datalistoff  td, .dataliston  td {
	border-bottom : 1px solid #e6e6e6;
	border-right : 1px solid #e6e6e6;
	padding: 3px;
}
.datalistedit {
	background:#ffd;
}
.datalistedit td {
	background:#ffd;
}
.datalistedit_td1 {
	text-align:right;
	padding-right:8px;
	border-bottom : 1px solid #ccc;
}
.datalistedit_td2 {
	padding-top:8px;
	padding-bottom:8px;
	padding-left:3px;
	border-bottom : 1px solid #ccc;
}
.datalistedit_td3 {
	border-bottom: 1px solid #ccc;
}

.confirmbox {
	width:250px;
	border : 1px solid #aaa;
	background:#ffd;
	text-align:center;
	margin-top:50px;
	margin-bottom:250px;
	padding:12px;
	padding-top:30px;
	padding-bottom:30px;
	font-weight:bold;
}
.confirmbox input{
	border: 1px solid #f00;
	background: #fee;
	float:none;
	margin-top:15px;
	padding-right:12px;
	padding-left:12px;
}
.homedel {
	width:16px;
	text-align:center;
	margin-left:7px;
	font-weight:bold;
}
.homedel a {
	color: #f00;
	text-decoration:none;
}

.enterdatatab_on {
	width:150px;
	border:solid #AAAAAA;
	border-width:0px 0px 0px 0px;
}
.enterdatatab_on div {
	width:150px;
	border:solid #AAAAAA;
	border-width:1px 1px 0px 1px;
	text-align:center;
	background:#EEEEFF;
}
.enterdatatab_on a {
	cursor:pointer;
	display:block;
	height:auto;
	width:126px;
	padding:3px 12px 3px 12px;
	line-height:18px;
	font-weight:bold;
}
.enterdatatab_on  a:hover {
	height:auto;
	width:126px;
	line-height:18px;
	background:#8BB8D2;
}

.enterdatatab_off {
	width:150px;
	border:solid #AAAAAA;
	border-width:0px 0px 1px 0px;
}
.enterdatatab_off div {
	width:150px;
	border:solid #AAAAAA;
	border-width:1px 1px 0px 1px;
	text-align:center;
}
.enterdatatab_off a {
	cursor:pointer;
	display:block;
	height:auto;
	width:126px;
	padding:3px 12px 3px 12px;
	line-height:18px;
}
.enterdatatab_off  a:hover {
	height:auto;
	width:126px;
	line-height:18px;
	background:#8BB8D2;
}

/* ******************************************** MENU ******************************************** */
#cssmenu ul,
#cssmenu li,
#cssmenu span,
#cssmenu a {
  margin: 0;
  padding: 0;
  position: relative;
}
#cssmenu {
	line-height: 1;
	border-radius: 5px 5px 0 0;
	-moz-border-radius: 5px 5px 0 0;
	-webkit-border-radius: 5px 5px 0 0;
	background: #141414;
	background: -moz-linear-gradient(top, #333333 0%, #141414 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #333333), color-stop(100%, #141414));
	background: -webkit-linear-gradient(top, #333333 0%, #141414 100%);
	background: -o-linear-gradient(top, #333333 0%, #141414 100%);
	background: -ms-linear-gradient(top, #333333 0%, #141414 100%);
	background: linear-gradient(to bottom, #333333 0%, #141414 100%);
	border-bottom: 2px solid #0fa1e0;
	width: auto;

	-webkit-box-shadow: 0px 0px 10px 0px rgba(85,85,85,1);
	-moz-box-shadow: 0px 0px 10px 0px rgba(85,85,85,1);
	box-shadow: 0px 0px 10px 0px rgba(85,85,85,1);
}
#cssmenu:after,
#cssmenu ul:after {
	content: '';
	display: block;
	clear: both;
}
#cssmenu a {
	background: #141414;
	background: -moz-linear-gradient(top, #333333 0%, #141414 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #333333), color-stop(100%, #141414));
	background: -webkit-linear-gradient(top, #333333 0%, #141414 100%);
	background: -o-linear-gradient(top, #333333 0%, #141414 100%);
	background: -ms-linear-gradient(top, #333333 0%, #141414 100%);
	background: linear-gradient(to bottom, #333333 0%, #141414 100%);
	color: #ffffff;
	display: block;
	/*font-family: Verdana, Arial, sans-serif;*/
	padding: 19px 20px;
	text-decoration: none;
}
#cssmenu ul {
  list-style: none;
}
#cssmenu > ul > li {
  display: inline-block;
  float: left;
  margin: 0;
}
#cssmenu.align-center {
  text-align: center;
}
#cssmenu.align-center > ul > li {
  float: none;
}
#cssmenu.align-center ul ul {
  text-align: left;
}
#cssmenu.align-right > ul {
  float: right;
}
#cssmenu.align-right ul ul {
  text-align: right;
}
#cssmenu > ul > li > a {
  color: #ffffff;
  font-size: 14px;
}
#cssmenu > ul > li:hover:after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 50%;
  bottom: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #0fa1e0;
  margin-left: -10px;
}
#cssmenu > ul > li:first-child > a {
  border-radius: 5px 0 0 0;
  -moz-border-radius: 5px 0 0 0;
  -webkit-border-radius: 5px 0 0 0;
}
#cssmenu.align-right > ul > li:first-child > a,
#cssmenu.align-center > ul > li:first-child > a {
  border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
}
#cssmenu.align-right > ul > li:last-child > a {
  border-radius: 0 5px 0 0;
  -moz-border-radius: 0 5px 0 0;
  -webkit-border-radius: 0 5px 0 0;
}
#cssmenu > ul > li.active > a,
#cssmenu > ul > li:hover > a {
  color: #ffffff;
  box-shadow: inset 0 0 3px #000000;
  -moz-box-shadow: inset 0 0 3px #000000;
  -webkit-box-shadow: inset 0 0 3px #000000;
  background: #070707;
  background: -moz-linear-gradient(top, #262626 0%, #070707 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #262626), color-stop(100%, #070707));
  background: -webkit-linear-gradient(top, #262626 0%, #070707 100%);
  background: -o-linear-gradient(top, #262626 0%, #070707 100%);
  background: -ms-linear-gradient(top, #262626 0%, #070707 100%);
  background: linear-gradient(to bottom, #262626 0%, #070707 100%);
}
#cssmenu .has-sub {
  z-index: 1;
}
#cssmenu .has-sub:hover > ul {
  display: block;
}
#cssmenu .has-sub ul {
  display: none;
  position: absolute;
  width: 200px;
  top: 100%;
  left: 0;
}
#cssmenu.align-right .has-sub ul {
  left: auto;
  right: 0;
}
#cssmenu .has-sub ul li {
  *margin-bottom: -1px;
}
#cssmenu .has-sub ul li a {
  background: #0fa1e0;
  border-bottom: 1px dotted #31b7f1;
  font-size: 13px;
  filter: none;
  display: block;
  line-height: 120%;
  padding: 10px;
  color: #ffffff;
}
#cssmenu .has-sub ul li:hover a {
  background: #0c7fb0;
}
#cssmenu ul ul li:hover > a {
  color: #ffffff;
}
#cssmenu .has-sub .has-sub:hover > ul {
  display: block;
}
#cssmenu .has-sub .has-sub ul {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
}
#cssmenu.align-right .has-sub .has-sub ul,
#cssmenu.align-right ul ul ul {
  left: auto;
  right: 100%;
}
#cssmenu .has-sub .has-sub ul li a {
  background: #0c7fb0;
  border-bottom: 1px dotted #31b7f1;
}
#cssmenu .has-sub .has-sub ul li a:hover {
  background: #0a6d98;
}
#cssmenu ul ul li.last > a,
#cssmenu ul ul li:last-child > a,
#cssmenu ul ul ul li.last > a,
#cssmenu ul ul ul li:last-child > a,
#cssmenu .has-sub ul li:last-child > a,
#cssmenu .has-sub ul li.last > a {
  border-bottom: 0;
}

/* campaign listing */
.campaignbox {
	margin:20px 0 0 0;
}
.campaigntitle {
	font-weight:bold;
	margin-bottom:5px;
}
.campaigndate {
	font-style:italic;
	margin-bottom:5px;
}
.campaignbarwrap {
	margin:5px 12px 5px 0;
}
.campaignbar {
	width: 100%;
	height: 22px;
	/*border: 1px solid #333;*/
	/*background-color: #f5f5f5;*/
}
.campaignbar div {
	height: 100%;
	color: #000;
	text-shadow: #FFF 1px 1px 0px; 
	text-align: right;
	line-height: 20px;
	width: 0;
	background-color: #eaa90c;
	border: 1px solid #888;
	padding-right:8px;
	box-sizing: border-box;
	border-radius: 0px 4px 4px 0px;
	box-shadow: 2px 2px 2px #555;
}
/* campaign listing */

.dataTables_wrapper .dataTables_filter input, .dataTables_wrapper .dataTables_length select {
	float:none !important; /* fix for broken header */
}

.form_subheader {
	color: #545175;
	font-size: 15px;
	font-weight: 700;
	margin: 10px 20px 4px 20px;
}

/* Start form submit */
	.form_submit_container {
		box-sizing: border-box;
		font-family: "Open Sans", sans-serif;
		margin-bottom: 10px;
		width: 100%;
		display:flex;
	}
	.form_submit_buttomerror{
		flex:1;
		font-size: 15px;
		color: #800;
		font-weight: 400;
		padding: 0 20px;
		width: 800px;
	}
	.form_submitbutton {
		font-family: "Open Sans", sans-serif;
		background-image: linear-gradient(-180deg, #37AEE2 0%, #1E96C8 100%);
		border-radius: 5px;
		box-sizing: border-box;
		color: #FFFFFF !important;
		font-size: 15px;
		padding: 11px 40px 12px 40px;
		text-decoration: none;
		border: 0;
		cursor: pointer;
		float:none;
		height: 43px;
	}
	.form_submitbutton:hover {
		background-image: linear-gradient(-180deg, #1D95C9 0%, #17759C 100%);
	}
/* End form submit */

				.form_floating_text {
					margin-bottom: 10px;
					background-color: #fafafa;
					transition: background-color 0.2s ease;
					border: 0px;
					box-sizing: border-box;
					font-family: "Open Sans", sans-serif;
				}
				.form_floating_text:hover, .form_floating_text:focus-within { background-color: #f4f4f4; }
				.form_floating_text_input {
					padding: 18px 10px 5px 12px;
					font-size: 15px;
					letter-spacing: 1.0px;
					background: none;
					border:1px solid #ccc;
					border-radius: 5px;
					display: block;
					box-sizing: border-box;
					width: 100%;
					float: none;
					outline: none;
				}
				.form_floating_text_input::placeholder { color: rgba(0, 0, 0, 0); }
				.form_floating_text_label {
					display: block;
					position: relative;
					max-height: 0;
					font-weight: 400;
					pointer-events: none;
					font-size: 15px;
					letter-spacing: 1.0px;
				}
				.form_floating_text_label::before {
					color: rgb(33,37,41);
					content: attr(data-content);
					display: inline-block;
					filter: blur(0);
					backface-visibility: hidden;
					transform-origin: left top;
					transition: transform 0.2s ease;
					left: 14px;
					position: relative;
				}
				.form_floating_text_input:focus + .form_floating_text_label::after {
					transform: scale3d(1, 1, 1);
					opacity: 1;
				}
				.form_floating_text_input:placeholder-shown + .form_floating_text_label::before {
					transform: translate3d(0, -2.0rem, 0) scale3d(1, 1, 1); /* label size big */
				}
				.form_floating_text_label::before, .form_floating_text_input:focus + .form_floating_text_label::before {
					transform: translate3d(0, -2.6rem, 0) scale3d(.75, .75, 1); /* label size small */
				}
				.form_floating_text_input:focus + .form_floating_text_label::before { color: #353; } /* active label color small */

/* start form general styling */
	.form_mergeUp > * {
		border-top-width:0px !important;
		border-top-left-radius: 0 !important;
		border-top-right-radius: 0 !important;
	}
	.form_mergeDown { margin-bottom: 0 !important; }
	.form_mergeDown > * {
		border-bottom-left-radius: 0 !important;
		border-bottom-right-radius: 0 !important;
	}
/* end form general styling */

/* start /functions/pageheader.php styling */
	.headercontainer {
		width: 100%;
		box-sizing: border-box;
		font-family: "Open Sans", sans-serif;
		margin-bottom: 10px;
	}
	.headertitle {
		color: #545175;
		padding: 10px 20px 10px 20px;
		font-size: 20px;
		font-weight: 700;
	}
	.centertitle {
		width: 100%;
		text-align: center;
		border-top: #eee solid 1px;
		background: #f5f5f5;
		background: linear-gradient(-180deg, #f5f5f5 0%, #fff 100%);
		border-top: #ddd solid 1px;
		padding: 10px 0 0 0;
		margin: 30px 0 0 0;
		font-weight: bold;
		color: #545175;
		font-size: 18px;
	}
	.headersubtitle {
		color: #666;
		padding: 0px 40px 5px 40px;
		font-size: 13px;
	}
	.headervarscontainer {
		display: grid;
		font-size: 13px;
		margin: 0 20px 20px 20px;
	}
	.headervarleft {
		background-color: #f9f9f9;
		border: 1px #efefef solid;
		border-top-width:0px;
		padding: 3px 15px;
		text-align: right;
	}
	.headervarright {
		background-color: #fff;
		border: 1px #efefef solid;
		border-top-width:0px;
		border-left-width:0px;
		padding: 3px 15px;
		text-align: left;
		font-weight: 700;
	}
	.headerfirstleft {
		border-top-left-radius: 5px;
		border-top-width:1px;
	}
	.headerfirstright {
		border-top-right-radius: 5px;
		border-top-width:1px;
	}
	.headerlastleft {
		border-bottom-left-radius: 5px;
	}
	.headerlastright {
		border-bottom-right-radius: 5px;
	}
	.headernavcontainer {
		margin: 0px 0 10px 38px;
		font-weight: 700;
	}
	.headernavcontainer a { margin-right: 20px; }
/* end /functions/pageheader.php styling */

/* delete modal popup */
				#deletemodal {
					position: fixed;
					z-index: 101;
					padding-top:50px;
					margin:0;
					left: 0; top: 0;
					width: 100%; height: 100%;
					background-color: rgb(0,0,0);
					background-color: rgba(0,0,0,0.7);
				}
				#deletemodal-content {
					position: relative;
					z-index: 102;
					background-color: #fefefe;
					margin: auto;
					padding: 0;
					width: 400px;
					box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
					animation-name: deletemodal-animatetop;
					animation-duration: 0.4s;
					border-radius: 10px;
				}
				@keyframes deletemodal-animatetop {
				  from {top:-300px; opacity:0}
				  to {top:0; opacity:1}
				}
				#deletemodal-body {
					display:block;
					padding: 20px 20px 10px 20px;
					text-align: center;
				}
				#deletemodal-close {
					color: white;
					float: right;
					font-size: 32px;
					font-weight: bold;
				}
				#deletemodal-close:hover,
				#deletemodal-close:focus {
					color: #aaa;
					text-decoration: none;
					cursor: pointer;
				}
				#deletemodal-header {
					padding: 6px 16px 0px 16px;
					background-color: #822;
					border-top-left-radius: 8px;
					border-top-right-radius: 8px;
					color: white;
					border-bottom: 1px #769d5b solid;
					height: 45px;
				}
				#deletemodal-header h2 {
					margin: 9px 0 10px 12px;
					font-weight: 300;
					float:left;
				}
				#deletemodal-warningicon {
					font-size: 30px;
					float: left;
				}
				#deletemodal-footer {
					display:block; 
					bottom: 0;
					width: 100%;
					height: 80px;
					text-align: center;
				}
				#deletemodal-footer .delactionbutton {
					width: 160px;
					display: inline-block;
					margin: 20px 10px;
				}
/* end delete modal popup */