/* -------------- reset styles -------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, tbody, tfoot, thead{border: 0pt none;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0pt;padding: 0pt;}
caption, th, td{font-weight: normal;}
blockquote:before, blockquote:after, q:before, q:after{content: "";}
blockquote, q{quotes: "" "";}



/* -------------- general styles -------------- */
html,body{
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
}
body, p, li, h1, h2, h3, h4, h5, a{
    font-family: Arial, Verdana, Helvetica, sans-serif;
    font-size: 12px;
    color: #000;
}
body#login{background: #e1e1e1 url(images/login-bg.png) repeat-x center center;}
body#body{background: #e1e1e1 url(images/bg.png) repeat-x center top;}


/* --- typography --- */
p{margin: 10px 0;}
ul{
	list-style: disc outside;
	margin: 10px 0;
}
ol li{list-style-type:decimal;}
ol ol li{list-style-type:lower-alpha}
ol ol ol  li{list-style-type:upper-roman;}
li{margin: 5px 0 5px 25px;}
b, strong{font-weight: bold;}
i, em{font-style: italic;}
small{font-size: .75em;}
big{font-size: 1.25em;}
h1, h2, h3, h4, h5{color: #000;}
h1, h1 a{
	font-size: 24px;
	font-weight: bold;
	text-transform: uppercase;
}
h2{
	margin: 0;
	color: #000;
	border-bottom: 1px solid #ccc;
	text-transform: uppercase;
}
h2, h2 a{
	font-size: 18px;
	font-weight: bold;
}
h3, h3 a{
	padding: 20px 0;
	font-size: 16px;
	font-weight: bold;
}
h4, h4 a{
	padding: 20px 0;
	font-size: 16px;
	font-weight: normal;
}
h5, h5 a{
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
}
a:link, a:visited, a:active{ 
	color: #990000;
	text-decoration: none;
}
a:hover{
    color: #000;
    text-decoration: underline;
}
.caps{
	text-transform: uppercase;
}


/* --- forms --- */
.input, .disabled{
	padding: 5px 10px;
	height: 18px;
	width: 200px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 20px;
	background: #fff url(images/backer-input.png) repeat-x bottom;
	border: 1px solid #d4d4d4;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
.amount{
	padding: 5px 10px 5px 20px;
	height: 18px;
	width: 200px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 20px;
	background: #fff url(images/backer-input-amount.png) no-repeat left bottom;
	border: 1px solid #d4d4d4;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
.disabled, input[disabled], input[disabled="disabled"]{
	background: none transparent;
	color: #999;
}
.error{
	border: 1px solid #920b0b;
	background: url(images/backer-input-error.png) repeat-x bottom;
}
.amount.error{
	border: 1px solid #920b0b;
	background: #fff url(images/backer-input-amount-error.png) no-repeat left bottom;
}
.submit, a.submit{
	display: inline-block;
	padding: 0 10px;
	height: 30px;
	line-height: 30px;
	color: #fff;
	text-transform: uppercase;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 12px;
	background: url(images/backer-submit.png) repeat-x left top;
	border: 0;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
.submit:hover, a#navBtnCardInfo.submit:hover{
	cursor: pointer;
	text-decoration: none;
	background: url(images/backer-submit.png) repeat-x left bottom;
}
.icon{
	display: inline-block;
	width: 16px;
	height: 30px;
	margin-right: 5px;
}
a .icon{cursor: pointer;}
.icon-dateRange{background: url(images/icon-dateRange.png) no-repeat center;}


/* --- tables --- */
table.table{
	width: 100%;
	border: 0 none;
}
table.table th, table.table td{padding: 10px;}
table.table th{
	color: #fff;
	font-weight: bold;
	text-align: left;
	background: #000;
}
table.table td{border-bottom: 1px solid #ccc;}
table.table tr.odd td{background: #ededed;}
table.table tr:hover td{background: #fff;}

table.simpleTable{border: 0 none;}
table.simpleTable td{padding: 5px 40px 5px 0;}

/* --- sorting --- */
a.descending, a.ascending {display: inline-block; width: 20px; height: 20px; vertical-align: middle;}
a.descending{background: url(images/btn-descending.png) no-repeat center;}
a.descending span{ display: none;}
a.ascending{background: url(images/btn-ascending.png)  no-repeat center;}
a.ascending span { display: none;}


/* --- common --- */
.clear{clear: both;}
.hide{
	position: absolute;
	top: -10000px;
	left: -10000px;
}
.displayNone{display: none;}
.floatLeft{float: left;}
.floatRight{float: right;}
.marginLeft5{margin-left: 5px;}
.marginLeft10{margin-left: 10px;}
.marginLeft20{margin-left: 20px;}
.hr{
	margin: 0;
	padding: 10px 0;
	font-size: 0;
	line-height: 0;
	border-bottom: 1px solid #ccc;
}


/* --- pagination --- */
div.pagination, div.perPage{
	height: 30px;
	line-height: 30px;
	text-align: right;
}
div.pagination{
	padding: 10px 0;
	border-bottom: 1px solid #ccc;
}
    div.pagination h4 { padding: 0; }
    div.pagination h4 strong { padding: 0; background: none; color: #000000; }
	div.perPage h5{padding-right: 10px;}
	div.pagination a, div.pagination strong, div.perPage a, div.perPage strong, div.ranges strong{
		display: inline-block;
		padding: 0 10px;
		font-weight: bold;
	}
	div.pagination a:hover, div.perPage a:hover, div.pagination strong, div.perPage strong, div.ranges strong, div.ranges a:hover{
		color: #fff;
		text-decoration: none;
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	}
	div.pagination a:hover, div.perPage a:hover, div.ranges a:hover{background: #990000;}
	div.pagination strong, div.perPage strong, div.ranges strong{background: #333;}


/* --- misc --- */
div.topBar{
	padding: 20px 0;
	height: 30px;
	line-height: 30px;
	border-bottom: 1px solid #ccc;
}
	div.topBar h4{
		padding: 0;
	}
div.ranges{
	padding: 10px 20px;
	height: 30px;
	line-height: 30px;
	background: #eee;
	border-bottom: 1px solid #ccc;
}
div.ranges a{
	display: inline-block;
	padding: 0 10px;
	line-height: 30px;
}
span.navTrail, span.navTrail a{
	font-size: 12px;
	text-transform: none;
}
div.halfPage{
	width: 49%;
}
div#cardDetails table{
	width: 40%;
	margin: 0 10px 10px 0;
}


/* --- tabs --- */
ul#tabs{
	margin: 20px 0 0 0;
	list-style: none;
	height: 40px;
}
	ul#tabs li{
		display: inline;
		float: left;
		margin: 0 1px 0 0;
		height: 40px;
	}
		ul#tabs a{
			display: inline-block;
			padding: 0 15px;
			line-height: 40px;
			text-transform: uppercase;
			font-weight: bold;
		}
		ul#tabs a:hover{background: #990000;}
		ul#tabs li.active a{
			background: #333;
			background: -moz-linear-gradient(top, #333 0%, #000 100%);
			background: -webkit-gradient(linear, left top, left bottom, from(#333), to(#000));
		}
		ul#tabs a:hover, ul#tabs li.active a{
			color: #fff;
			text-decoration: none;
			-webkit-border-top-left-radius: 5px;
			-webkit-border-top-right-radius: 5px;
			-moz-border-radius-topleft: 5px;
			-moz-border-radius-topright: 5px;
			border-top-left-radius: 5px;
			border-top-right-radius: 5px;
		}
div.tabContent{
	display: none;
}
	div.tabContent.active{
		display: block;
	}



/* -------------- login styles -------------- */
div#loginError{
	display: none;
	position: absolute;
	top: 70%;
	left: 50%;
	margin: 0 0 0 -75px;
	width: 150px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	color: #fff;
	background: #920b0b url(images/backer-error.png) no-repeat center;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	box-shadow: 0 2px 5px #aaa;
	-moz-box-shadow: 0 2px 5px #aaa;
	-webkit-box-shadow: 0 2px 5px #aaa;
}
div#loginShell{
	position: relative;
	top: 50%;
	margin: -290px auto 290px auto;
	padding: 245px 120px 0 120px;
	width: 560px;
	height: 335px;
}
	div#loginShell h1#logo{
		float: left;
		width: 200px;
		height: 135px;
		background: url(images/login-logo.png);
	}
	form#loginForm{
		float: right;
		width: 280px;
	}
		form#loginForm p{
			margin: 0 0 10px 0;
			text-align: right;
		}
		form#loginForm label{
			float: left;
			padding-right: 5px;
			width: 80px;
			height: 30px;
			line-height: 30px;
			text-align: right;
			color: #fff;
		}
		form#loginForm input{width: 170px;}
body#login div#senciaLogo{
	position: absolute;
	top: 50%;
	left: 50%;
	margin: 190px 0 0 -75px;
	padding: 20px 0;
	width: 150px;
	height: 40px;
	text-align: center;
	z-index: 9999;
}
	div#senciaLogo p{
		color: #999;
		font-size: 9px;
	}



/* -------------- layout styles -------------- */
div#container{
	width: 100%;
	min-width: 900px;
}
div#header{
	height: 150px;
	background: url(images/backer-header.png) no-repeat center top;
}
	div#header h1#logo{
		position: absolute;
		top: 0;
		left: 0;
		width: 230px;
		height: 150px;
		background: url(images/logo.png);
		z-index: 99;
	}
	body#body div#senciaLogo{
		float: right;
		padding: 30px 20px 0 0;
		text-align: center;
	}
	ul#nav{
		float: left;
		list-style: none;
		margin: 0;
		padding-left: 300px;
		height: 110px;
	}
		ul#nav li{
			float: left;
			margin: 0;
		}
			ul#nav a{
				display: block;
				color: #fff;
				text-transform: uppercase;
				font-weight: bold;
			}
				ul#nav a.menu-lvl1{
					padding: 35px 30px;
					line-height: 20px;
					font-size: 20px;
					text-align: center;
				}
				ul#nav li#giftCards a.menu-lvl1:hover, ul#nav li#giftCards:hover a.menu-lvl1, ul#nav li#giftCards.active a.menu-lvl1{background: url(images/backer-nav.png) repeat-x left top;}
				ul#nav li#loyaltyCards a.menu-lvl1:hover, ul#nav li#loyaltyCards:hover a.menu-lvl1, ul#nav li#loyaltyCards.active a.menu-lvl1{background: url(images/backer-nav.png) repeat-x left -150px;}
				ul#nav li#accountSettings a.menu-lvl1:hover, ul#nav li#accountSettings:hover a.menu-lvl1, ul#nav li#accountSettings.active a.menu-lvl1{background: url(images/backer-nav.png) repeat-x left -300px;}
			ul#nav a:hover{text-decoration: none;}
			ul#nav ul{
				display: none;
				list-style: none;
				position: absolute;
				top: 110px;
				left: 0;
				margin: 0;
				width: 100%;
				height: 40px;
				line-height: 40px;
				border-bottom: 1px solid #dbdbdb;
				box-shadow: 0 5px 5px #c9c9c9;
				-moz-box-shadow: 0 5px 5px #c9c9c9;
				-webkit-box-shadow: 0 5px 5px #c9c9c9;
			}
			ul#nav li:hover ul{
				z-index: 98;
			}
			ul#nav li:hover ul, ul#nav li#giftCards.active ul#subNav-giftCards, ul#nav li#loyaltyCards.active ul#subNav-loyaltyCards, ul#nav li#accountSettings.active ul#subNav-accountSettings{display: block;}
				ul#nav ul#subNav-giftCards li:first-child{padding-left: 220px;}
				ul#subNav-giftCards{
					background: url(images/backer-nav.png) repeat-x left -110px;
					z-index: 97;
				}
				ul#nav ul#subNav-loyaltyCards li:first-child{padding-left: 350px;}
				ul#subNav-loyaltyCards{
					background: url(images/backer-nav.png) repeat-x left -260px;
					z-index: 97;
				}
				ul#nav ul#subNav-accountSettings li:first-child{padding-left: 475px;}
				ul#subNav-accountSettings{
					background: url(images/backer-nav.png) repeat-x left -410px;
					z-index: 97;
				}
					ul#nav ul a.menu-lvl2{
						padding: 0 20px;
						height: 40px;
						line-height: 40px;
						font-size: 14px;
					}
					ul#nav ul#subNav-giftCards a.menu-lvl2:hover{background: #76972f;}
					ul#nav ul#subNav-giftCards li.active a.menu-lvl2{background: url(images/backer-subNavActive.png) no-repeat center bottom;}
					ul#nav ul#subNav-giftCards li.active a.menu-lvl2:hover{background: #76972f url(images/backer-subNavActive.png) no-repeat center bottom;}
					ul#nav ul#subNav-loyaltyCards a.menu-lvl2:hover{background: #6c1239;}
					ul#nav ul#subNav-loyaltyCards li.active a.menu-lvl2{background: url(images/backer-subNavActive.png) no-repeat center bottom;}
					ul#nav ul#subNav-loyaltyCards li.active a.menu-lvl2:hover{background: #6c1239 url(images/backer-subNavActive.png) no-repeat center bottom;}
					ul#nav ul#subNav-accountSettings a.menu-lvl2:hover{background: #492771;}
					ul#nav ul#subNav-accountSettings li.active a.menu-lvl2{background: url(images/backer-subNavActive.png) no-repeat center bottom;}
					ul#nav ul#subNav-accountSettings li.active a.menu-lvl2:hover{background: #492771 url(images/backer-subNavActive.png) no-repeat center bottom;}
div#content{padding: 20px 30px 30px 30px;}

div#twoColContainer{
	max-width: 700px;
}

ul.formList, ul.twoColList, ul.oneColList{	list-style: none;}
	ul.oneColList li{
		margin: 5px 0;
		padding: 5px 0;
		height: 30px;
	}
	ul.twoColList li{
		display: inline;
		float: left;
		margin: 0;
		padding: 5px 0;
		width: 330px;
		height: 30px;
	}
		ul.formList label{
			display: inline;
			float: left;
			padding: 7px 5px 8px 0;
			height: 15px;
			line-height: 15px;
			width: 95px;
			text-align: right;
		}
		ul.formList input{
			width: 200px;
		}
		ul.formList input.amount{
			width: 190px;
		}
		ul.oneColList input[type="text"]{	width: 175px;	}
		ul.oneColList input.amount{width: 165px;}
		ul.formList li.points label{
			font-weight: bold;
			font-size: 13px;
		}
		ul.formList li.points input{
			font-size: 14px;
			color: #000;
			font-weight: bold;
			border: 1px solid #000;
		}

.flex-header {
	display: flex;
	align-items: center;
}
.flex-end {
	margin-left: auto;
}