﻿html, body {
    padding:0; margin:0;    
}
html, body, form, #contain { height:100%; }
img { border:none; }
body { background: url(images/common/background.gif) repeat-x 0 0; font-family:Arial, Sans-Serif; font-size:12px;} 
.clear { clear:both; }

a { color:#126d8b; }
p { margin-top:0 }
h1 { color:#008164; font-family:"Arial Narrow", Arial, Sans-Serif; font-size:24px; font-weight:normal; text-transform:uppercase; }
h2 { color:#a2a2a2; font-family:Arial, Sans-Serif; font-style:italic; font-size:18px; font-weight:normal; }
/**********/
/* MASTER */
/**********/
#contain { width:980px; margin:0 auto; min-height:100%; height:auto;  } 
#main { padding-bottom:82px; }
/* clear fix */
#main:after
{
    content:".";
	display:block;
	height:0;
	clear:both;
	visibility:hidden; 
}	
#main { zoom: 1; }

/* header */

#header { float:left; width:980px; position:relative; }
a#logo { margin:0; display:block; float:left; display:inline; outline:none; }

ul#headLinks { font-size:12px; list-style:none; float:left; position:absolute; top:81px; right: 0; margin:0;  }
#headLinks li { border-right: solid 2px #a1b3af; height:13px; padding: 0 11px 0 11px; float:left; }
#headLinks li.last { border-right:none; }
#headLinks a { text-decoration:none; color:#298873; line-height:13px; vertical-align:top; }
#headLinks a:hover { text-decoration:underline; }

/* search */
#header div.searchBox { position:absolute; right:3px; top:38px;  }
.topSearchButton { display:block; float:left; height:26px; width:32px; }
input.topSearchTextBox 
{ 
    float:left;
    background: url(images/common/searchBG.gif) repeat-x 0 0; border:solid 1px #b1b0b0; 
    padding:4px 10px 4px 10px; margin:0; width:154px; height:16px!important;
    vertical-align:middle; color:#b1b0b0;  
}
.searchResult { margin:0 0 5px 0; padding:0 0 5px 0; border-bottom: 1px solid #dddddd;}
.searchResult .title { }
.searchResult .resultContent {margin-top: 0px; width: 590px;}
.searchResult .relevance { margin-top: 0px; }

/* tools */
#header .tools { position:absolute; right:0; top:16px;  }
#toggleFont { display:block; float:left; text-indent:-90000px; overflow:hidden; height:11px; width:25px; background:url(images/common/fontIcon.gif) no-repeat 0 0;   }
#printLink 
{ 
    color:#898989; font-size:11px; text-decoration:none;
    display:block; float:left; background:url(images/common/printerIcon.gif) no-repeat 0 0; 
    padding-left:18px; margin:0 7px 0 19px; 
    height:13px; line-height:11px; 
    vertical-align:middle;  }


/* navigation */
#mainNav ul { float:left; display:inline; padding: 10px 0px 10px 1px; margin:0; background:url(images/common/navBG.gif) no-repeat  0 0; height:39px; width:979px; }
#mainNav ul li { list-style:none; float:left; display:inline; margin: 0 0 0 0; padding: 0 1px 0 0; background:url(images/common/navLine.gif) no-repeat top right;  }
#mainNav ul li a { float:left; display:inline; display:block; height:39px; padding:0 20px 0 20px; line-height:39px; vertical-align:middle; }
#mainNav ul li a { color:#6b6b6b; font-family: "Trebuchet MS", sans-serif; font-weight:bold; font-size:13px; text-decoration:none; }
#mainNav ul li a.mainNavL1CMSListMenuLinkHighlighted, #mainNav ul li a:hover { background:url(images/common/nav_onBG.gif) repeat-x 0 0; color:#ffffff; }


/*footer */
#footerContainer { height:42px; margin-top:-82px;  padding:20px 0 20px 0; position:relative; clear:both; }
#footer 
{   
    margin: 0 auto; width:980px; height:42px;
    background:url(images/common/footerBG.gif) no-repeat 0 0;     
    color:#ffffff; font-family:Arial; font-size:10px;
}
#footer a { color:#ffffff; text-decoration:none; }
#footer a:hover { text-decoration:underline; }
#footer .copy { float:left; display:inline; line-height:42px; height:42px; vertical-align:middle; margin-left: 13px; } 
#footer .copy .EMSCLogo { vertical-align:middle; padding-bottom:2px; margin-top:14px; }
#footer .copy a { margin-right:10px; float:left; line-height:42px; height:42px; vertical-align:middle; }
#footer ul.links { float:right; padding:0; margin:0; }
#footer ul.links li { float:left; display:inline; list-style:none; margin: 0 20px 0 0; padding:0; line-height:42px; vertical-align:middle; }



/********/
/* HOME */
/********/
#home { float:left; }
#home #contentContainer { float:left; display:inline; width:674px; margin:0 6px 0 0;  }


/* Success Stories */
#home #successStories { background:url(images/home/successStoriesBG.jpg) no-repeat 0 0; float:left; width:674px; height:159px; position:relative; margin-top: 7px; }
#home #successStories h2 
{ 
    color:#757575; font-family: "Arial Narrow", Arial, sans-serif; font-size:24px; font-weight:normal; font-style:normal;
    width:486px; margin: 0 0 3px 20px; padding: 20px 0 3px 10px;
    border-bottom:solid 1px #d6d6d6;
    float:left; display:inline;
    
}
#home #successStories ul { float:left; padding:  0 0 0 31px; margin:0; width:450px; }
#home #successStories li { list-style:none; margin: 4px 0 4px 0; }
#home #successStories li a { color:#126d8b; font-family:Arial, Sans-Serif; text-decoration:none; }
#home #successStories li a:hover { text-decoration:underline; }

#home #successStories .btnSuccessStories { position:absolute; top:107px; left:503px; }

/* Bar */
#home #barContainer { float:left; width:300px; margin:0; }

#home .bar { position:relative; padding:0 0 12px 0; font-size:12px; background:url(images/home/lineWithGrad.gif) no-repeat left bottom; }
#home .bar a.seeAll { position:absolute; top:12px; left:230px; font-size:11px; font-family:Arial; text-decoration:underline; color:#ffffff;  }
#home .bar a:hover.seeAll { text-decoration:none; }
#home .bar h2 
{ 
    background:url(images/home/greenHeaderBG.gif) no-repeat 0 0;  
    color:#ffffff; font-family: "Trebuchet MS", sans-serif; font-size:13px; 
    font-style:normal; font-weight:bold;
    height:40px; width:282px; position:relative;
    line-height:40px; vertical-align:middle;
    padding:0 0 0 18px;
    margin:0px 0px 4px 0px;    
}
#home .bar ul { margin:0; padding:0; list-style:none; }
#home .bar li { font-family:Arial;  list-style:none; background: url(images/common/grayGreenArrow.gif) no-repeat; /*line-height:15px;*/ }


#home .bar a.title { color:#126d8b; text-decoration:underline; display:block; }
#home .bar .info { color:#555555; }

/* News */
#home #news li { padding:0 0 0 13px; margin: 8px 10px 8px 10px; background-position:left 4px; }
#home #news a.title { text-decoration:underline; }
#home #news a:hover.title { text-decoration:none; }
#home #news .info {}
.noNewsEvents { display:block; margin-left:auto; margin-right:auto; }
/* Jobs */
#home #jobs li { padding:6px 0 6px 23px; margin: 0px 2px 0px 2px; background-position:10px 10px; border-top:solid 1px #e6f1ee; border-bottom:solid 1px #e6f1ee; }
#home #jobs li.alt { background-color:#e6f1ee;  margin:1px 2px 1px 2px; border:none;  }
#home #jobs a.title { text-decoration:none; font-size:15px; font-weight:bold;  }
#home #jobs .info {}


/* News 
#home #bar { position:relative; padding:0 0 12px 0; background:url(images/home/lineWithGrad.gif) no-repeat left bottom; }
#home #news a.seeAll { position:absolute; top:12px; left:230px; font-size:11px; font-family:Arial; text-decoration:underline; color:#ffffff;  }
#home #news a:hover.seeAll { text-decoration:none; }
#home #news h2 
{ 
    background:url(images/home/greenHeaderBG.gif) no-repeat 0 0;  
    color:#ffffff; font-family: "Trebuchet MS", sans-serif; font-size:13px; 
    font-style:normal; font-weight:bold;
    height:40px; width:282px; position:relative;
    line-height:40px; vertical-align:middle;
    padding:0 0 0 18px;
    margin:0px 0px 4px 0px;    
}
#home #news ul { margin:0; padding:0; list-style:none; }
#home #news li { font-family:Arial; font-size:12px; list-style:none; padding:0 0 0 13px; margin: 8px 10px 8px 10px; background: url(images/common/grayGreenArrow.gif) no-repeat left 4px; line-height:15px; }
#home #news a.newsTitle { color:#126d8b; text-decoration:underline; display:block; }
#home #news a:hover.newsTitle { text-decoration:none; }
#home #news .newsDate { color:#555555; }
*/
/*******/
/* SUB */
/*******/
/* BreadCrumb */
#breadCrumbContainer { border-bottom:solid 1px #dddddd; margin:0; padding:0 7px 10px 10px; width:963px; text-align:right;  }
#breadCrumbContainer a.CMSBreadCrumbsLink { color:#126d8b; text-decoration:none; }
#breadCrumbContainer a:hover.CMSBreadCrumbsLink { color:#a2a2a2; }
#breadCrumbContainer .CMSBreadCrumbsCurrentItem { color:#a2a2a2; }

/* SubNav */
#subNavContainer { width:211px; float:left; padding:22px 0 0 0; margin:0 0 0 1px; display:inline; font-size:12px; }
#subNavContainer ul { list-style:none; margin:0; padding:0; }
#subNavContainer ul li { margin:0; padding:0; display:inline;}
#subNavContainer ul li a 
{
    display:block; 
    background:url(images/sub/greenArrow.gif) no-repeat 13px 13px; 
    color:#126d8b; font-family:Arial; text-decoration:none; line-height:16px;
    padding: 7px 15px 7px 27px;
    border-bottom:solid 1px #dddddd;
}

#subNavContainer ul li a.subNavL2CMSListMenuLink { }

#subNavContainer ul li a:hover,
#subNavContainer ul li a.subNavL2CMSListMenuLinkHighlighted, 
#subNavContainer ul li a.subNavL3CMSListMenuLinkHighlighted,
#subNavContainer ul li a.subNavL4CMSListMenuLinkHighlighted 
{
    background-color:#f2f2f2; color:#414141;
} 

#subNavContainer ul li a.subNavL3CMSListMenuLink, #subNavContainer ul li a.subNavL3CMSListMenuLinkHighlighted { padding: 8px 15px 8px 37px; background-position:23px 12px   }
#subNavContainer ul li a.subNavL4CMSListMenuLink, #subNavContainer ul li a.subNavL4CMSListMenuLinkHighlighted { padding: 8px 15px 8px 47px; background-position:33px 12px   }


/* Content */

#mainContentWideContainer { line-height:20px; color:#555555; float:left; width:735px; /*min-height:380px; height:380px; height:auto!important;*/ margin:20px 0px 20px 30px;  }
#mainContentWideContainer h1 { margin:0 0 0 0; padding:0 0 35px 0; background:url(images/sub/wideGradBar.gif) no-repeat left bottom; }
#mainContentWideContainer h2 { margin:0 0 8px 0; }

#mainContentWide { float:left; padding-right:25px; position:relative; }
#mainContentNarrowContainer { float:left; width:553px; margin-right:20px; /*min-height:380px; height:380px; height:auto!important; margin:20px 0px 20px 30px; */ }


div #barContainer { float:left; width:162px; margin-top:20px; }
div.pageImage { float:right; margin-bottom:20px; }


/* News Page */
ul.newsList, ul.eventList { list-style:none; margin:10px 0 15px 0; padding:0; }
ul.newsList li, ul.eventList li { margin:5px 0 5px 0; padding:0; }
ul.newsList li a, ul.eventList li a { font-weight:bold; font-size:110%; text-decoration:none; }
ul.newsList li a:hover, ul.eventList li a:hover { text-decoration:underline; }

ul.newsList li span.description { display:block;  }
.newsImage, .eventImage { float:right; margin:0 0 15px 15px; }

.newsSummary { margin:0 0 10px 0; }

/* Events Page */
.eventLocation { margin:0 0 10px 0; }
.eventDate { margin:10px 0 10px 0; /*same style as h2*/ color:#a2a2a2; font-family:Arial, Sans-Serif; font-style:italic; font-size:18px; font-weight:normal;   }
.eventSummary { margin:0 0 10px 0;  }
.eventDetails { margin:0 0 10px 0;  }

/* Leader Pages */
.leaderPreview { float:left; width:355px; height:150px; margin: 0px 0 5px 0; display:inline; }
.leaderPreview img { float:left;  width:94px;} 
.leaderPreview .leaderInfo { float:left; width: 231px;  margin:10px 0 0 10px; display:inline; }
.leaderPreview h3, .leaderPreview h4 { float:left; font-size:12px; width:100%; margin:0; display:inline;}
.leaderPreview h3 a { text-decoration:none; } 
.leaderPreview h3 a:hover { text-decoration:underline; } 
 
.leaderImage { float:left; margin:0px 10px 5px 0px; display:inline; }
.leaderImage img { width:94px; }
.leaderDetails .description { margin-right:20px; }

/*Contact Us*/
#altContacts { position:absolute; top:50px; left:-230px; font-weight:bold; }

#altContacts h2 {margin:0; padding:0;}
#altContacts .phoneNumbers { margin-top:20px; }

.UploaderLabel { display:none; }
.ErrorLabel, .EditingFormErrorLabel { color:Red; }

/*# jqModal #*/

.popupBody {background:#FFFFFF;}

.jqmWindow {
    display: none;
    position: fixed; top: 20%; left: 50%;
    width: 600px; margin-left: -300px; /*padding: 12px;
    border: 1px solid black; background-color: #FFFFFF;*/
}

.jqmOverlay { background-color: #000; }

/* Background iframe styling for IE6. Prevents ActiveX bleed-through (<select> form elements, etc.) */
* iframe.jqm {position:absolute;top:0;left:0;z-index:-1;
	width: expression(this.parentNode.offsetWidth+'px');
	height: expression(this.parentNode.offsetHeight+'px');
}

/* Fixed posistioning emulation for IE6
     Star selector used to hide definition from browsers other than IE6
     For valid CSS, use a conditional include instead */
* html .jqmWindow {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}


/**************************************************/
/* Grid Wrapper */
/**************************************************/
.gridwrapper {}

/* header styles */
.header { position:relative; color:#fff; }
.header .outer { background:url(images/jqModal/top-right.png) right no-repeat; padding-right:6px; }
.header .inner { background:url(images/jqModal/top-left.png) left no-repeat; padding-left:9px; }
.header .content { height:35px; background:url(images/jqModal/top-mid.png) repeat-x; }
.header .content H2 { float:left; font-size:12pt; line-height: 11pt; font-weight:bold; color:#fff; padding-top:10px; margin:0; }
.header .content a.jqmClose {
    display:block; float:right; 
    width:35px; height:0;
    margin:4px 4px 0 0; padding-top:25px;
    overflow:hidden; display:inline;
    background:transparent url(images/jqModal/close.png) no-repeat 0 0;
 }
 .header .content a.jqmClose:hover { background:transparent url(images/jqModal/close.png) no-repeat 0 -25px; }

/* dialog body styles */
.body .outer { background:url(images/jqModal/right.png) right repeat-y; padding-right:7px; }
.body .inner { background:url(images/jqModal/left.png) left repeat-y; padding-left:7px; }
.body .content {}  

/* dialog footer styles */
.footer {}
.footer .outer { background:url(images/jqModal/bottom-right.png) right top no-repeat; padding-right:9px; }
.footer .inner { background:url(images/jqModal/bottom-left.png) left top no-repeat; padding-left:9px; }
.footer .content { height:7px; background:url(images/jqModal/bottom-mid.png) repeat-x; }

#fvContainer { background:#ffffff; }
#fvContainer p { margin:0; }

.advertisement { margin-top:25px; }
.advertisement img, .homepageImage img { display:block; margin-left:auto; margin-right:auto; }
