/* =Imports - MUST COME FIRST!!!
-----------------------------------------------------------------------------*/
@import url(v2_eg_fix.css);
@import url(v2_nav.css);

#v2Content {
/*	background-color: #FFF;*/
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10pt;
	margin-top: 1em;
}

#v2Body {
/*	border: 1px solid #DDD;*/
	padding: 15px;
}

/* =CG General Styles
----------------------------------------------- */
#cgcontent {
	clear: both; /*KEEPS #cglinkbar away from forms */
	min-height: 300px;
	_height: 300px;
}


#cgcontent br {
	height: 1px;
	line-height: 1px;
}

#cgcontent td {
	empty-cells: hide;
}

/* =Headers
----------------------------------------------- */
#cgcontent h1
, #cgcontent h2
, #cgcontent h3 {
	font-weight: bold;
	margin: .8em 0;
	padding: 0;
}

/* pgtitle */
#cgcontent h1 {
	color: #333D3F; 
	font-size: 1.3em;
}

/*primary headline */
#cgcontent h2 {
	font-size: 1.1em;
}

/*secondary headline */
#cgcontent h3 {
	font-size: 1em;/*just bolds content*/
	color: #333D3F;
	letter-spacing: normal;
	text-align: left;
	text-transform: none;	
}

.vvDivider {
	background-color: #EEE;
	font-weight: bold;
	padding: .5em
}

/* =Links
----------------------------------------------- */
#cgcontent a:link
, #cgcontent a:visited
, #cgcontent a:hover
, #cgcontent a:active {
	color: #006;
}
#cgcontent a:hover
, #cgcontent a:active {
	text-decoration: none;
}

#cgsupportlink {
	background-image: url(/v2/images/link_need_help_112x26.gif);
	background-repeat: no-repeat;
	display: block;
	height: 26px;
	width: 112px;
	text-indent: -2000px;
}

/* =Top Bar (Home & Logout)
----------------------------------------------- */
#cglinkbar {
	float: right;
	letter-spacing: 0px;
	height: 26px;
	line-height: 26px;
}

a#cglogout, a#cghome, a#cgeditprofile {
	background-position: 0 3px;
	background-repeat: no-repeat;
	font-size: .9em;
	margin: 5px 0;
	padding: 6px 0 6px 25px;
}
a#cglogout {
	background-image: url(/v2/images/icon_disconnect.gif);
}
a#cghome {
	background-image: url(/v2/images/icon_home.gif);
}
a#cgeditprofile {
	background-image: url(/v2/images/icon_user_edit.gif);
}

/* =Program Terms
----------------------------------------------- */
div#cgterms { }

#cgterms form { }

/* =Welcome, (User) Message
----------------------------------------------- */

#cgwelcomemsg {
	background-image: url(/v2/images/icon_welcome_32x32.gif);
	background-repeat: no-repeat;
	background-position: left center;
	color: #333D3F !important;
display: none; /*HACK DEFAULT*/
	height: 32px;
	font-weight: bold;
	line-height: 32px;
	margin-bottom: 1em;
	padding-left: 35px !important;		
}

/* =Edit Profile / Account Information
----------------------------------------------- */

#profileForm { }

tr#profilePasswordTr td{
	width: 24%; /*fixes column shifting when toggling*/
}

/* =CG General Table Styles
----------------------------------------------- */
.border td {
	padding: 3px;
}
th.cell
, td.cell {
	background-color: inherit; /*need for striping?*/
	text-align: left;
	vertical-align: middle;
}

/* =table row striping
----------------------------------------------- */
td.border tbody tr.odd {
	background-color: #E9F2F9;
}
td.border tbody tr.even {
	background-color: #FFF;
}

/* =CG error, success, warning messages
----------------------------------------------- */
span.errorText
, span.successText
, span.warningText {
	display: block;
	margin-left: 22px;
}

.errorText
, .errorText li {
	color: #DC0C0C;
	font-size: 1.1em;
	font-weight: bold;
}
.errorText li {
	line-height: 22px;
	list-style-image: url(/v2/images/icon_error.gif) !important;
}

.successText
, .successText li {
	color: #4E9B41 !important;
	font-weight: bold;
}
h2.successText  {
	background-image: url(/v2/images/icon_success.gif);
	background-repeat: no-repeat;
	line-height: 22px;
	padding-left: 22px !important;
}


.warningText
, .warningText li {
	color: #DC0C0C !important;
	font-weight: bold;
}
h2.warningText  {
	background-image: url(/v2/images/icon_warning.gif);
	background-repeat: no-repeat;
	line-height: 22px;
	padding-left: 22px !important;
	text-align: left;
}

/* =CG Forms
----------------------------------------------- */
#timelineTable {
	display: none;
}

.headerCell
, .headerCell div {
	color: #272E30;
	font-weight: bold;
/*	text-align: left;*/
}
td.headerCell {
	font-size: 1.1em;
	background-color: #F2F3F7;
	border-bottom: 1px solid #539FCF ;
/*	border-top: 1px solid #539FCF;*/
}
.headertext {
	color: #333D3F;
	font-size: 1.1em;
	font-weight: bold;
}

#trcgrecipient .cell {
	font-size: .9em;
	padding: .5em 1em;
}

.optionalQuestion
, .requiredQuestion {
	font-size: 1em;
	font-weight: bold;
}

.requiredQuestion
, .smallRequiredQuestion {
	color: #b30000 ;
}
.requiredQuestion {
	background-image: url(/v2/images/required_question.gif);
	background-position: top left;
	background-repeat: no-repeat;
	padding-left: 8px;
}

span.requiredQuestion {
background-image:none;
}
/*HACK TO UNDO DOUBLE **'s*/
#trcgrecipient .requiredQuestion {
	background-image: none;
	padding-left: 0;
}
/*HACK TO remove "(required)" after qualifier*/
.hintHeader {
	display: none; 
}

.smallRequiredQuestion {
	font-size: .9em;
	font-weight: bold;
}

.hintText div { /*field size limits*/
	font-size: .8em;
}

input.formElement
, select.formElement
, textarea.formElement {
	font-size: 0.9em;
	padding: .2em;	
}
input.formElement
, textarea.formElement {
	width: 30em;
}

textarea.formElement {
	height: 5em;
	width: 95%;
}

.formButton {
	border: 1px solid #444;
	cursor: pointer;
	padding: 1px 3px;
	font-weight: normal;
}

/* =Journal homepage
----------------------------------------------- */

#cgegreqdetaillist thead th {
	background-color: #EEE;
	border-bottom: 2px solid #DDD;
	color: #444;
	padding: 5px;
	width: 20%;
}
#cgegreqdetaillist .border table table tbody td.cell {
	border-bottom: 1px solid #EEE;
}
#cgegreqdetaillist tfoot .cell {
	background-color: #EEE;	
	border-top: 2px solid #DDD;
	font-weight: bold;
}
#cgegreqdetaillist .border table table {
	margin-bottom: 2em; /* add small padding between data table and form buttons */
}

/* make errors in table less dramatic*/
#cgegreqdetaillist .cell .cell .errorText {
	font-size: .9em;
	font-weight: normal;
}

/* =Search Form + Results
----------------------------------------------- */
div#cgsearchform
, div#cgsearchresults {
/*	margin-left: 5em;*/
	margin-left: 0em;
	margin-top: 20px;
/*	width: 750px;*/
	width: 98%;
}

h2#searchHeader {
	background-image: url(/v2/images/icon_search_32x32.gif);
	background-repeat: no-repeat;
	background-position: left center;
	border-bottom: 2px solid #B30000;	
	height: 36px;
	line-height: 36px;
	padding-left: 36px !important;
/*	width: 750px;*/
	width: 98%;
}

#cgsearchresults #tdName
, #cgsearchresults #tdOrganization {
	background-color: #EEE;
	border-bottom: 2px solid #DDD;
	color: #444;
	padding: 5px;
	width: 30%;
	white-space: nowrap;
}
#cgsearchresults #tdLocation
, #cgsearchresults #tdDate
, #cgsearchresults #tdEventType  {
	background-color: #EEE;
	border-bottom: 2px solid #DDD;
	color: #444;
	padding: 5px;
	width: 15%;
	white-space: nowrap;
}

#cgsearchresults .cell {
	font-size: .9em;
}

#cgsearchresults a {
	background-color: #FFF;
	background-image: url(/v2/images/icon_add.gif);
	background-repeat: no-repeat;
	background-position: 5px center;
	border: 1px solid #B3B6B0;
	border-right-width: 2px;
	border-bottom-width: 2px;
	display: block;
	font-weight: bold;
	height: 30px;
	line-height: 30px;
	margin: 0 auto;
	padding-left: 18px;
	text-align: center;
	text-decoration: none;
	width: 60px;
}
#cgsearchresults a:hover
, #cgsearchresults a:active {
	background-color: #FFC;
}

#cgsearchresults a.cglink
, #cgsearchformdyn #cgsearchresults a { /*remove styles for links in org listings*/
	background-color: transparent;
	background-image: none;
	border: none;
	display: inline;
	line-height: 1em;
	padding: 0;
	text-decoration: underline;
}

/* =gift forms
----------------------------------------------- */
#cgegreq
, #cgegrpayroll {
	margin: 1em 0;
}

#cgegreq td.cell {
	border-bottom: 1px solid #DDD;
	vertical-align: top;
	width: 50%;
}
#cgegreq td.cell td.cell {
	border: none; /*kill redundant borders*/
	margin: 0;  /*kill extra padding*/
	padding: 0;
	width: auto;
}

#cgegreq p 
, #cgegrpayroll p {
	margin: .5em 0;
	padding: 0;
}

#cgegreq ul 
, #cgegrpayroll ul {
	margin: 0 1em 0 2em;
	padding: 0;
}
#cgegreq ul li
, #cgegrpayroll ul li {
	padding-bottom: .8em;
}

#cgegreq .hintText
, #cgegrpayroll .hintText {
	font-size: .8em;
}

/*header bar on payroll screen*/
#cgegrpayroll thead td {
	background-color: #F2F3F7;
	border-bottom: 1px solid #539FCF ;
	border-top: 1px solid #539FCF;
	color: #272E30;
	font-weight: bold;
	padding: 5px 10px;
}
#cgdetailheader td.cell {
	border: none;
}

#cgdetailtbl input.formElement {
	width: 15em;	
}