/*Generic CSS*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a,
em, font, img,
strong, sub, sup,
b, u, i, center, ol, ul, li, form,
table, tr, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}



div{
    box-sizing: border-box;
}

.smaller{
	font-size: 0.8em;
}

.clear{
	clear: both;
}



td{
	text-align: left;
}

body{
	color: #444;
	background: #fff;
	margin: 0;
	font-family: 'Roboto', arial, helvetica, sans-serif;
	font-size: 95%;
}

p{
	margin-bottom: 1em;
}

h1{
	font-family: 'Oswald', arial, helvetica, sans-serif;
	font-size: 2em;
	color: #205081;
	font-weight: 400;
	margin-bottom: 1em;
	line-height: 1.3em;
}

h2{
	font-family: arial, helvetica, sans-serif;
	font-size: 16px;
	color: #999;
	font-weight: bold;
	line-height: 1em;
	margin: 28px 0 18px 0;
}

h3{
	margin-bottom: 8px;
	margin-top: 12px;
}


.errormsg{
	background: #ff6699;
	border: 1px solid #ff3333;
	padding: 12px;
	font-size: 1.4em;
	color: #fff;
}



#master_container{
	margin:0 auto;
	text-align: center;
}

#header{
	border-bottom: 1px solid #ccc;
	padding: 12px;
}

#logo{
	float: left;
	width: 30%;
	max-width: 120px;
}

#logo img{
	width: 100%;
	height: auto;
}

#login{
	float: right;
	margin: 3vh 2vw 0;
	font-size: 0.9em;
	text-align: left;
}


#nav_container{
	margin-right: 1vw;
	float: left;
	background: #0066cc;
	width: 99%;
}

#nav{
	text-align: left;
	margin: auto;
}
#nav div{
	font-family: 'Oswald', arial, helvetica, sans-serif;
	font-weight: 400;
	display: inline-block;
	_display: inline;
	padding: 12px 24px;
	height: 50px;
	transition: background-color 0.5s ease;
	cursor: pointer;
	font-size: 1.2em;
}

#subnav{
	min-height: 30px;
	clear: both;
	padding: 0 30px;
	background: #d2ecf5;
	font-family: 'Oswald', arial, helvetica, sans-serif;
}

#subnav .subnav_link{
	padding: 7px 30px 2px 40px;
	min-height: 30px;
	background-repeat: no-repeat;
	float: left;
	cursor: pointer;
	color: #587da2;
	transition: background-color 0.5s ease, color 0.5s ease;
}
#subnav .subnav_link:hover{
	color: #fff;
	background-color: #4cc6e5;
}


/*I need to patch over 750px to 600px (mid.css)*/

@media all and (max-width: 750px) {
	#nav div{
		padding: 12px 12px;
		font-size: 1em;
	}
	
.subnav{
	width: 350px;
}
	/*might as well tweak this, too*/
	
	img#easier{
		width: 40vw;
	}
	
}

#nav div:hover{
	transition: background-color 0.5s ease;
	background-color: #829db9;
}

#nav .active{
	background: #9db9c7;
}
#nav .on{
	background: #6499b0;
}

#nav a{
	text-decoration: none;
	font-size: 1em;
	color: #fff;
}

#mobile_nav{
	width: 90%;
	background: #4cc6e5;
	top: 136px;
	right: 0;
	z-index: 200;
	position: absolute;
	filter:alpha(opacity=90);
	-moz-opacity:0.9;
	-khtml-opacity: 0.9;
	opacity: 0.9;

}

#mobile_nav a{
	display: block;
	text-align: right;
	padding: 8px 20px;
	font-family: 'Roboto', arial, helvetica, sans-serif;
	color: #fff;
	font-weight: 700;
	font-size: 1.3em;
	border-top: 1px solid #fff;
}

#mobile_nav a.mobile_secondary{
	background: #a0d8e8;
	font-size: 1.1em;
	font-weight: 400;
	color: #587da2;
}


.content{
	width: 95%;
	margin: auto;
	max-width: 950px;
	margin-top: 30px;
}
.fullwidth{
	width: 98%;
	margin: auto;
}









input.med, textarea.med{
	width: 130px;
}
input.med_long{
	width: 180px;
}
input.short{
	width: 70px;
}


/*************************

table sorter

**************************/






table.report {
	font-family: arial, helvetica, sans-serif;
	margin: 10px 0 15px;
	font-size: 0.8em;
	width: 100%;
	text-align: left;
	border-collapse: collapse;
}
table.report thead tr th, table.report tfoot tr th {
	background-color: #cde8c1;
	border: 1px solid #FFF;
	font-size: 8pt;
	padding: 4px 20px 4px 4px;
	text-transform: uppercase;
}
table.report thead tr .header {
	background-image: url('images/bg.gif');
	background-repeat: no-repeat;
	background-position: right 10px;
	cursor: pointer;
}
table.report tbody td {
	color: #3D3D3D;
	padding: 4px;
	border-bottom: 1px solid #ddd;
	background-color: #FFF;
	vertical-align: top;
	border-right: 1px solid #999;
	max-width: 200px;
	word-wrap: break-word;
}
table.report tbody tr:nth-child(odd) td{
	background-color:#F0F0F6;
}
table.report thead tr .headerSortUp {
	background-color: #e7f5e1;
	background-image: url('images/asc.gif');
}
table.report thead tr .headerSortDown {
	background-color: #e7f5e1;
	background-image: url('images/desc.gif');
}

table tr.highlight td{
	background: #ffff66 !important;
}

table tr.redemption_detail td{
	background: #fff7b0 !important;
}


/*************************

end table sorter

**************************/

button.actions{
	color: #fff;
	font-size: 0.9em;
	background: #4eb01b;
	padding: 2px;
	margin: 2px 0;
	border: none;
	cursor: pointer;
}
button.actions.alert{
	background: #0066cc;
}

table.msa{
	width: 100%;
	font-size: .8em;
	border-collapse: collapse;
}

table.msa thead tr th, table.report tfoot tr th {
	background-color: #b8d0db;
	border: 1px solid #FFF;
	padding: 4px 20px 4px 4px;
	font-weight: bold;
}

table.msa tbody td {
	color: #3D3D3D;
	padding: 4px;
	border-bottom: 1px solid #ddd;
	background-color: #FFF;
	vertical-align: top;
	border-right: 1px solid #ddd;
}


table.options{
	width: 100%;
	font-size: .8em;
	border-collapse: collapse;
}


table.options td {
	color: #3D3D3D;
	padding: 4px;
	border-bottom: 1px solid #ddd;
	background-color: #FFF;
	vertical-align: top;
	border-right: 1px solid #ddd;
}

/*************************

Autcomplete

**************************/



#auto_complete {
    padding-bottom:2em;
	height: 200px;
	overflow: auto;
	position: absolute;
	width: 250px;
	background: #fff;
	border: 1px solid #666;
	-moz-box-shadow: 3px 3px 10px #666;
	-webkit-box-shadow: 3px 3px 10px #666;
	box-shadow: 3px 3px 10px #666;
	z-index: 1000;
}

#auto_complete_container{

}
#auto_complete_container .search_result{
	color: #333;
	padding: 4px;
	cursor: pointer;
	border-bottom: 1px solid #999;
	text-align: left;
}

#auto_complete_container .search_result.auto_select_hilite_current{
	background: #333 !important;
	color: #fff;
}



/*************************

end Autcomplete

**************************/


#ajax_results{
	position: absolute;
	z-index: 100;
	background: #fff;
	-moz-box-shadow: 3px 3px 10px #000;
	-webkit-box-shadow: 3px 3px 10px #000;
	box-shadow: 3px 3px 10px #000;
	padding: 12px;
}


#form{
	float: left;
	margin-left: 360px;
	text-align: left;
}
#filters{
	float: left;
	width: 350px;
	background: #b8d0db;
	padding: 6px;
	text-align: left;
	z-index: 100;
	position: absolute;
}

#filters #filter_header{
	color: #fff;
	font-weight: 700;
	font-size: 1.1em;
	cursor: pointer;
}

#filters #filter_header.open{
	background: url('images/arrow_up_white.png') no-repeat right center;
}
#filters #filter_header.closed{
	background: url('images/arrow_dn_white.png') no-repeat right center;
}


#filters #filter_list{
	background: #fff;
	padding: 6px;
	border: 1px solid #85a8cc
}

#filters .filter_item{
	padding: 6px 0;
	border-bottom: 1px dotted #ccc;
}

#filters .formtitle{
	float: left;
	font-size: 0.9em;
}

#filters .formfield{
	max-width: 300px;
	float: right;
}
#filters .cancel{
	padding: 0 6px;
	cursor: pointer;
	color: #e62e2e;
	font-weight: 700;
	width: 20px;
	text-align: center;
	float: right;
}


#csv_download{
	width: 34px;
	height: 34px;
	font-size: 0.9em;
	background: url('images/file_csv.png') no-repeat;
	float: left;
	margin-left: 20px;
	cursor: pointer;
}




#csv_opts{
	float: left;
	width: 200px;
	padding: 6px;
	text-align: left;
	z-index: 100;
	background: #b8d0db;
	margin-left: 12px;
	margin-bottom: 4px;
}

#csv_opts #csv_opts_header{
	color: #fff;
	font-weight: 300;
	font-size: 1em;
	cursor: pointer;
	height: 20px;
}
#csv_opts #csv_opts_header img{
	margin-right: 6px;
	vertical-align:middle
}

#csv_opts #csv_opts_header.open{
	background: url('images/arrow_up_white.png') no-repeat right center;
}
#csv_opts #csv_opts_header.closed{
	background: url('images/arrow_dn_white.png') no-repeat right center;
}


#csv_opts #csv_list{
	background: #fff;
	padding: 6px;
	border: 1px solid #85a8cc;
	position: absolute;
	width: 200px;
	margin-left: -6px;
	margin-top: 8px;
}

#csv_opts #csv_list .csv_list_item{
	background: url('images/file_csv.png') no-repeat left center;
	background-size: 20px 20px;
	font-size: 0.9em;
	padding: 6px 6px 6px 25px;
	border-bottom: 1px dashed #ccc;
	cursor: pointer;
}














/*************************

user admin

**************************/



.letter_index{
	
}

.letter_index .letter{
	border: 1px solid #999;
	padding: 2px;
	margin: 2px;
	width: 18px;
	height: 20px;
	float: left;
	cursor: pointer;
	font-weight: bold;
	color: #aaa;
	text-align: center;
}

.letter_index .on{
	background: #999;
	color: #fff;
}

.users_container{
	padding: 5px;
	width: 100%;
	margin-top: 12px;
}



table.standard{
	background-color: #ffffff;
	border: 1px solid #666;
	border-collapse: collapse;
}

table.standard tr{
	border-bottom: 1px solid #aaa;
}
td.standard_header{
	background-color: #666;
	font-weight: bold;
	color: #fff;
	padding: 4px;
}

td.header_active{
	background-color: #53b847;
	font-weight: bold;
	color: #fff;
	padding: 4px;
}

td.header_inactive{
	background-color: #666;
	font-weight: bold;
	color: #fff;
	padding: 4px;
}

td.colhead{
	font-weight: bold;
	color: #000;
	background-color: #ccc;
}
table.standard td{
	padding: 14px 8px;
}
table.standard tr.odd td{
	background: #fff;
	border-bottom: 1px solid #ccc;
}

table.standard tr.even td{
	background: #f3f3f3;
	border-bottom: 1px solid #ccc;
}

tr.standard{
	background-color: #f3f3f3;
}
tr.plain{
	background-color: #fff;
}




table.bordered{
	margin: 8px 0;
	background: #f2f9fc;
	border: 1px solid #b2b9cc;
	border-collapse: collapse;
}
table.bordered td{
	border-bottom: 1px solid #b2b9cc;
	padding: 8px 8px;
	border-left: 1px solid #b2b9cc;
}

table.bordered b{
	color: #000099;
}


input.btn, button.btn{
	background: #0066cc;
	color: #fff;
	font-weight: bold;
	border: none;
	padding: 8px 14px;
	cursor: pointer;
}

input.btn.small, button.btn.small{
	background: #b1d2f2;
	color: #0066cc;
	font-size: 0.8em;
	border: 1px solid #fff;
	font-weight: normal;
	padding: 4px 7px;
}


input.ajax_trans, textarea.ajax_trans{
	border: 1px solid #999;
	background-color: #fff;
	-webkit-transition: background-color 1s; /* Safari */
	 transition: background-color 1s;
}

input.ajax_trans.waiting, textarea.ajax_trans.waiting{
	background-color: #ff6666;
}

input.ajax_trans.verified, textarea.ajax_trans.verified{
	background-color: #cde8c1;
}

.guess{
	background: #ff9933;
	padding: 2px 3px;
	font-weight: bold;
	color: #fff;
	display: inline-block;
	cursor: pointer;
	margin: 5px;
}

.accept{
	background: #4eb01b;
	padding: 2px 3px;
	font-weight: bold;
	color: #fff;
	display: inline-block;
	cursor: pointer;
	margin: 5px;
}

.options_group_container{
	border: 1px solid #999;
	padding: 12px;
	margin: 12px;
	background: #fff;
	box-shadow: 3px 3px 3px rgba(0,0,0,0.3);
}

.option_action_container{
	background: #eee;
	padding: 12px;
	margin: 12px auto;
	text-align: left;
}

.global_option_action_container{
	background: #ccc;
	padding: 12px;
	margin: 12px auto;
	text-align: left;
}

.valid_states_action_container{
	background: #6699ff;
	padding: 12px;
	margin: 12px auto;
	text-align: left;
}


.global_option_action_container > div, .option_action_container > div, .valid_states_action_container > div{
	margin: 10px;
	padding: 10px;
	background: #fff;
}

.global_option_action_container > div.clear, .option_action_container > div.clear, .valid_states_action_container > div.clear{
	margin: 0;
	padding: 0;
}

#import_errors{
	width: 80%;
	margin: 8px auto;
	background: #fff;
	font-size: 0.8em;
	padding: 6px;
	color: #333;
	text-align: left;
}


#popup{
	z-index: 5000;
}
#popup .error{
	background: #fff url('images/exclam.png') no-repeat 20px center;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-khtml-border-radius: 6px;
	border-radius: 6px;
	border: 2px solid #cc0000;
	margin: -2px;
}
#popup .info{
	background: #fff url('images/info.png') no-repeat 20px center;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-khtml-border-radius: 6px;
	border-radius: 6px;
	border: 2px solid #3878c7;
	margin: -2px;
}

#popup_close{
	background: url('images/close.png') no-repeat;
	width: 14px;
	height: 20px;
	float: right;
	margin: 5px 10px;
	cursor: pointer;
}

.popup_plain{
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 1.1em;
}
.popup_bordered{
	background: #fff;
	border: 1px solid #666;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 1.1em;
	padding: 12px;
}

#popup_close{
	background: url('images/close.png') no-repeat;
	width: 14px;
	height: 20px;
	float: right;
	margin: 5px 10px;
	cursor: pointer;
	font-weight: bold;
}
#popup_close:before{
	content: "X";
}

#modify_order{
	margin: 20px auto 40px;
	height: 600px;
	width: 600px;
	padding: 0 20px 20px 20px;
	overflow-y: scroll;
	border: 1px solid #ccc;
	background: #fff;
}

#modify_order .order_item{
	border-bottom: 1px solid #0066cc;
	padding: 8px;
	margin: 4px;
}

#modify_order .order_item_label{
	font-family: arial, helvetica, sans-serif;
	font-size: 14px;
	color: #444;
	margin-bottom: 5px;
}

#modify_order input, #modify_order textarea{
	border: 1px solid #ccc;
	font-family: arial, helvetica, sans-serif;
	font-size: 14px;
	color: #444;
	padding: 4px 3px;
	border-radius: 3px;
	background: #f1f1f1;
	width: 400px;
}

.order_edit{
	display: none;
}



/*******************************************************************************
**
**		Budget Allocation
**
********************************************************************************/


table.budget {
	font-family: arial, helvetica, sans-serif;
	margin: 10px 0 15px;
	font-size: 0.8em;
	width: 100%;
	text-align: left;
	border-collapse: collapse;
}
table.budget thead tr th, table.budget tfoot tr th {
	background-color: #cde8c1;
	border: 1px solid #FFF;
	font-size: 8pt;
	padding: 4px 20px 4px 4px;
	text-transform: uppercase;
}
table.budget thead tr .header {
	background-image: url('images/bg.gif');
	background-repeat: no-repeat;
	background-position: right 10px;
	cursor: pointer;
}
table.budget tbody td {
	color: #3D3D3D;
	padding: 4px;
	border-bottom: 1px solid #ddd;
	background-color: #FFF;
	vertical-align: top;
	border-right: 1px solid #999;
	max-width: 200px;
	word-wrap: break-word;
}
table.budget tbody tr.customer td{
	background: #d5e5f5;
	font-weight: bold;
	font-size: 1.1em;
}
table.budget thead tr .headerSortUp {
	background-color: #e7f5e1;
	background-image: url('images/asc.gif');
}
table.budget thead tr .headerSortDown {
	background-color: #e7f5e1;
	background-image: url('images/desc.gif');
}

