/*SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS*/
/*Defined HTML Elements*/
/*SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS*/
h1 {
	font-size: 1.75rem;
	text-align: left;
	margin: 0;
	padding: 0;
}

h2 {
	font-size: 1.313rem;
	text-align: left;
	margin: 0;
	padding: 0;
}

h3 {
	font-size: 1.125rem;
	text-align: left;
	margin: 0;
	padding: 0;
}

h4 {
	font-size: 1.125rem;
	text-align: left;
	margin: 0;
	padding: 0;
}

h5 {
	font-size: 0.9375rem;
	text-align: left;
	margin: 0;
	padding: 0;
}

/*SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS*/
/*Overlay PNG Styles*/
/*SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS*/
/*Overlay PNG Styles*/
#agi-overlay{
/*Image Moved To Genix*/
}

#agi-overlay{
/*Image Moved To Genix*/
}

* html #agi-overlay {
/*Image Moved To Genix*/
}
/*SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS*/
/*General Page*/
/*SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS*/
/* Redefining how this works for the cal page/s agi-main will contain the divs that make up the bulk of content of a page between the header and footer divs */

#agi-main-cal {
	margin: 0;
	padding: 0;
	text-align: left;
	background-color: #fff;
}

/* no background for left rail-less */
#agi-main-cal2 {
	margin: 0;
	padding: 0;
	text-align: left;
}	

#agi-main-cal td {
	font-size: 0.8125rem;
}
	
/*SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS*/
/*Top Of Page Title Imagery*/
/*SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS*/
/*Reminders title- this is an exception off of main sheet*/	
#agi-title {
	margin-bottom: 30px;
}

#agi-titlemessage {
	text-align: center;
	padding: 20px;
	font-size: 0.875rem;
	margin: 10px;
	border: dashed 1px #ccc;
	position: relative;
}

#agi-titlemessage a {
	font-size: 0.875rem;
}	

#agi-main-cal #agi-titlemessage {
	margin: 0 10px 10px 10px;
}

#agi-sectiontitle {
/*IMAGE REMOVED TO THEME*/
	width: 770px;
	height: 60px;
}

/*TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT*/
/*to put the background fade behind h2s*/
.agi-h2 {
	width: 100%;
	padding: 0;
	margin: 0;
	text-align: left;
}
		
.agi-h2 h2 {
	padding: 0;
	margin: 0;
	text-align: left;
}
		
/*TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT*/
/*long rule line (630px across)*/
.agi-rule {
	height: 20px;
	width: 100%;
	margin: 0;
	padding: 0;
	clear: both;
}

/*short rule line (about 410px across)*/
.agi-rule2 {
	display: none;
	height: 5px;
	width: 100%;
	margin: 0;
	padding: 0;
}
	
/*SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS*/
/*Left Rail Navigation*/
/*SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS*/
/* Redefining how this handles what is generally known as left rail navigation*/
/* Set exception width of left rail*/
#agi-main-cal #agi-rail {
	width: 130px;
}

#agi-rem-rail {
/*IMAGE REMOVED TO THEME*/
	padding: 0 0 2px 0;
}

#agi-rem-rail ul {
/*IMAGE REMOVED TO THEME*/
	list-style-image: none;
	list-style-type: none;
	margin: 33px 0 0 0;
	padding: 5px 0 0 0;
	width: 130px;
}

#agi-rem-rail li {
/*IMAGE REMOVED TO THEME*/
	text-align: right;
	padding: 10px 0 10px 0;
	margin: 0;
}

#agi-rem-rail li a {
	padding: 0 15px 10px 0;
	margin: 0;
	font-size: 0.875rem;
	font-weight: bold;
	text-decoration: none;
}

#agi-rem-rail li span {
	display:block;
}
	
#agi-rem-rail .agi-listlast {
	background: none;
}	

/* exception made forSelected View Of Left Rail Navigation */
#agi-rem-rail .agi-current a {
/*IMAGE REMOVED TO THEME*/
/*COLOR REMOVED TO THEME*/
}

#agi-rem-rail a {
/*COLOR REMOVED TO THEME*/}
#agi-rem-rail a:hover {
/*COLOR REMOVED TO THEME*/} 	
	
/* Exception for sublinks in Left Rail Navigation */
#agi-rem-rail .agi-sublink a {
	margin: 0 15px 0 0;
	padding: 0;
	font-size: 0.75rem;
	font-weight: normal;
	text-decoration: underline; 
	background: none;
}

/* Exception for sublinks in Left Rail Navigation */
#agi-rem-rail .agi-current .agi-sublink a {
	background: none;
}

/*Upsell module*/
#agi-rail #agi-upsell ul{
/*IMAGE REMOVED TO THEME*/
	padding: 4px 10px 4px 15px;
	margin: 0px 0px 0px 0px;
}

#agi-rail #agi-upsell li {
	padding: 0;
	margin: 0 0 10px 0;
	list-style-position : inside;
}

#agi-rail #agi-upsell li a {
	font-family: arial,verdana,sans-serif;
	font-size: 0.6875rem;
	line-height: 130%;
	font-weight: normal;
	text-decoration: none;
}

#agi-rail #agi-upsell li a b {
	display:block;
}

#agi-rail #agi-upsell li a:hover {
/*COLOR REMOVED TO THEME*/
}
	
/* exception-Redefining how this handles what it is*/
#agi-main-cal h2 {
	text-align: center;
}

/* exception- agi-content is where the bulk of content of a page exists to the right of the left rail  */

#agi-content {
	margin: 0;
	padding: 0 0 20px 0;
	float: left;
}
	
#agi-remreq-exception #agi-content {
	margin: 0;
	padding: 0;
	float: right;
	width: 550px;
	background-color: none;
}

/*SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS*/
/*Table styles defined*/
/*SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS*/
/* Calender header deciding between calender view and list view*/
#agi-calhead {
	padding: 0;
	margin: -3px 0 4px 0;
	text-align: left;
	font-size: 0.6875rem;
	vertical-align: baseline;
	}

#agi-calhead .agi-choices {
	float: right;
	margin: 13px 0 0 0;
	padding: 0;
}
	
.agi-montharrow {
	padding: 0;
	margin: 3px 3px 3px 0;
	width: 18px;
	height: 27px;
}

.agi-montharrow-l {
	display: block;
	cursor: hand;
/*IMAGE REMOVED TO THEME*/}

.agi-montharrow-r {
	display: block;
	cursor: hand;
/*IMAGE REMOVED TO THEME*/
}

.agi-monthtext {
	font-size: 1.875rem;
	font-weight: bold;
	line-height: 100%;
}

.agi-monthrow {
/*COLOR REMOVED TO THEME*/}

/*define theme chice area*/
#agi-theme {
	padding: 25px 0 0 0;
	margin: 0;
	text-decoration: none;
	font-size: 0.6875rem;
	float: right;
	z-index: 10;
}

#agi-theme p {
	display: block;
	float: left;
/*COLOR REMOVED TO THEME*/
	margin: 2px 0 0 0;
	padding: 0;
	width: auto;
}

#agi-theme ul {
	float: left;
}

#agi-theme #agi-enlarge {
	padding: 0; 
	margin: 0;
	list-style-type: none;
	width: 125px; 
	height: 20px;
}

#agi-theme #agi-enlarge li {
	display: block; 
	float: left; 
	width: 15px; 
	height: 15px; 
	position: relative; 
	padding: 0;
	margin: 0 5px 0 0;
}

#agi-theme #agi-enlarge li a {
	display: block; 
	width: 15px; 
	height: 15px; 
	background: transparent; 
	overflow: hidden; 
	position: relative;
}

#agi-theme #agi-enlarge li a img {
	width: 100%; 
	height: 100%; 
	border: 0;
}
/* safari 2.x does not like this. Replaced with javascript */
/* to play nice with all browsers */ 
/* #agi-theme #agi-enlarge li a:hover { */
/*	position:absolute; */
/*	left:-5px; */
/*	top:-5px; */
/*	width:25px; */
/*	height:25px; */
/*	z-index:100;} */

#agi-theme #agi-enlarge .agi-selectedt li {
	margin: -2px 5px 0 0; 
	border: 2px solid #fff;
}
/*TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT*/
/* Calender table stuff all defined out below*/
/*TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT*/
#agi-cal table {
	border-collapse: collapse;
	width: 628px;
}
/* Pulled from Dave N stuff*/	
div#agi-cal table#agi-cal-htable {
    border-collapse: collapse;
    font-family: arial;
    width: 620px;
}
	
/* Pulled from Dave N stuff*/	
div#agi-cal table#agi-cal-htable tr td {
    width: 210px;
	word-wrap: break-word;
    padding: 0;
    border: none;
}
/* Border around todays date*/
/* Pulled from Dave N stuff*/	
.agi-calday-today{
/*COLOR REMOVED TO THEME*/padding:2px;
}

/* Coloring todays date number*/
/* Pulled from Dave N stuff*/	
div#agi-cal table#agi-cal-mtable td.agi-calday-today div {
/*COLOR REMOVED TO THEME*/
}	

#agi-cal th {
	text-align: center;
	padding: 3px;
/*COLOR REMOVED TO THEME*/
/*COLOR REMOVED TO THEME*/
	font-size: 0.6875rem;
}

#agi-cal td {
	vertical-align: top;
/*COLOR REMOVED TO THEME*/
	padding: 1px;
	font-size: 0.6875rem;
	font-weight: bold;
	color: #000;
	width: 14%;
	height: 60px;
	word-wrap: break-word;
}

.agi-calday-full {
	text-align: right;
	width: 85px;
}
#agi-cal td.agi-calday-empty {
/*COLOR REMOVED TO THEME*/
}

#agi-cal .agi-calday-hover {
	background-color: #f2f2f2;
}

#agi-cal p {
	text-align: left;
	padding: 2px 2px 0 2px;
	margin: 2px 1px 10px 1px;
	font-size: 0.6875rem;
	font-weight: normal;
	text-decoration: none;
	display: block;
	width: 80px;   
	word-wrap: break-word;
	overflow: hidden;
	clear: all;
}

#agi-cal p a {
	text-decoration:none;
}

#agi-cal p img {
	padding: 0;
	margin: 0;
	font-size: 0.6875rem;
	display: block;
	position: relative;
	clear: both;
}
	
/*TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT*/
/* Classes and Id's Relating to styling of Reminders Into Popup Page*/
/*TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT*/
/* Surrounds every thing in reminders popups other than intro*/	
#agi-pop-content-rem {
	margin: 0;
	padding: 0;
}

#agi-pop-content-rem td, #agi-pop-content-remintro td {
	font-size: 0.8125rem;
}

#agi-pop-content-rem .agi-buttons {
/*COLOR REMOVED TO THEME*/
	margin: 0;
	padding: 8px 0;
	width: 436px;
}

#agi-pop-content1 {
}

#agi-pop-bar2 {
	padding: 0;
}

#agi-pop-bar2 .agi-overflow	{
	text-align: center;
	width: 160px;
	height: 340px;
	margin: 0;
	padding: 0;
	overflow: auto;
	background-color: #fff;
	border: 2px solid #ccc;
}

#agi-pop-bar2 h3 {
	margin-top: 10px;
}

#agi-pop-bar2 .agi-overflow h5 {
	color: #999;
	margin: 10px 0 0 15px;
}
		
#agi-pop-bar2 .agi-overflow	.agi-remcards {
	width: 125px;
	padding: 0;
	margin: 0 0 10px 15px;
	text-align: left;
/*Image Moved To Genix*/
	}

.agi-remcards .agi-featurethumb {
	margin: 0 0 15px 0;
	padding: 0;
	width: 100px;
	text-align: center;
}
	
.agi-remcards .agi-featurethumb p {
	margin: 0;
	padding: 0;
}
	
#agi-pop-content-rem #agi-title {
	width: auto;
	padding: 0;		
	margin: 8px 20px 0 20px;
	font-size: 0.8125rem;
}

#agi-pop-content-rem #agi-rem-event {
	width: 392px;
	padding: 0;		
	margin: 15px 20px 0 20px;
}

#agi-pop-content-rem #agi-rem-remindme {
	width: auto;
	padding: 15px 0 15px 20px;
	margin: 0;
}

.agi-rem-remindme-row {	
	padding-bottom: 6px;
}

.agi-rem-remindme-row .agi-instr {	
	position: relative;
	cursor: pointer;
	text-decoration: underline;
	font-size: 0.6875rem;
}

#agi-themehi {
	background-color: #e5e5e5;
}
	
#agi-pop-content-remintro {	
	padding: 0 15px 20px 15px;
}
	
#agi-pop-content-remintro #agi-desc {
	margin: 0 0 10px 0;
	padding: 0;
}

#agi-pop-content-remintro #agi-title .agi-desc {
	margin: 0;
	padding: 0;
}

#agi-pop-content-remintro .agi-area {
	float:none;
	display:block;
	width: 100%;
	margin: 0;
	padding: 0;
	text-align:left;
}

#agi-pop-content-remintro h5 {
	color:  #666;
	font: bold 13px;
}

#agi-pop-content-remintro p {
	padding: 0;
	margin: 0;
}

/*TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT*/
/* REMINDERS Main pages Styles*/
/*TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT*/	
#agi-rem {
	padding: 0 0 0 10px;
}

#agi-rem h2 {
	text-align:left;
}

#agi-rem p {
	padding: 0;
	margin: 0 0 10px 0;
}

.agi-rem-checklist {
	width: 100%;
	padding: 0;
	margin: 0;
	list-style-type: none;
}

.agi-rem-checklist li	{
	float:left;
	width:24%;
	padding:3px;
	margin: 0;
}		

/*hovering over fields on edit popup*/		
.agi-formchange a {
}

.agi-formchange a:hover {
	color: #000;
}

.agi-fieldchange {
	width: 260px;
	word-wrap: break-word;
	overflow: hidden;	
	text-decoration: none;
	color: #333;
	border-width: 2px; 
	border-style: solid; 
	border-color: #fff; 
	cursor: auto;
}	

.agi-fieldchange-on {
	width: 260px;
	word-wrap: break-word;
	overflow: hidden;	
	text-decoration: none;
	border-width: 2px; 
	border-style: inset; 
	cursor: pointer;
}	

/* to fix the stupid i cant enterspaces bug*/
#agi-pop-content-rem #agi-rem-event .agi-formfield {
	width: 260px;
}

#agi-cal-or-list #agi-list th,
#agi-cal-or-list #agi-list th a {
	font-size: 0.875rem;
	font-weight: bold;
	text-align: left;
	padding: 2px;
/*Color moved to theme*/
}

#agi-cal-or-list #agi-list th a {
	text-decoration: underline;
}	

#agi-cal-or-list #agi-list td,
#agi-cal-or-list #agi-list td a {
	font-size: 0.8125rem;
}	

#agi-cal-or-list #agi-list td span {
	width: 150px;
	display: block;
	padding: 2px;
	word-wrap: break-word;
	overflow: hidden;
}
	
/*Address Book Auto Complete*/
div.agi-auto-complete {
	border: 2px solid #333;
	padding: 0;
	background: #e5e5e5;
	text-align: left;
}

li.agi-auto-complete {
	color: #000;
	padding: 0 4px;
	text-decoration: none;
}

a.agi-auto-complete {
	text-decoration: none;
	color: #000;
}

li.agi-auto-complete-selected {
	background: #333;
	color: #fff;
	padding: 0 4px;
}

a.agi-auto-complete-selected {
	text-decoration: none;
	color: #fff;
}

/*-------------------------------------------------------------------------
= New Style Address Book Auto Complete popup
--------------------------------------------------------------------------*/

ul.bma-auto-complete {
        border: solid 2px #333;
        background-color:#e5e5e5;
        text-align: left;
        list-style-type: none;
        cursor: pointer;
        padding: 0;
        margin: 0;
        z-index: 1200;
        position: absolute;
        white-space: nowrap;
        }

li.bma-auto-complete {
        color: #000;
        padding: 2px 4px 2px 4px;
        text-decoration: none;
        cursor: pointer;
        }

li.bma-auto-complete-selected {
        background: #333;
        color: #FFFFFF;
        padding: 2px 4px 2px 4px;
        font-weight: normal;
        cursor: pointer;
        }

/*This was causing extra spacing at top of the page*/	
#agi-style-div {
	margin: 0;
	padding: 0;
	height: 0;
	display: none;
}

/*Remove footer mountain from reminders pages*/
#agi-footer-mont {
	display: none;
}

/*For styling the H2 tag for reminders preferences*/
#agi-bmarem .headform {
	font-size:1rem;
	padding:15px 0 10px 0;
	}

/*Holiday Reminder Preferences*/	
#agi-bmarem .agi-sendtitle {
	text-align:right;
	width:180px;
	padding:3px 5px 0 0;
	}

