/*** AskRI Design, Dan Chapman, RI.gov ***/

/*** Begin Reset CSS - Eric Meyer ***/

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, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

body {
	line-height: 1;
	color: black;
	background: #0C7A4E;
	
}

ol, ul {
	list-style: none;
}

table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

/*** Group for Clearing Floats - Dan Cederholm ***/

.group:after {
	content: ".";
	display: block;
	height: 0;
	clear:both;
	visibility: hidden;
}

.groupleft:after {
	content: ".";
	display: block;
	height: 0;
	clear:left;
	visibility: hidden;
}

.groupright:after {
	content: ".";
	display: block;
	height: 0;
	clear:right;
	visibility: hidden;
}

/*** Page Styles ***/

body {
	margin: 0 auto;
	padding: 0;
	text-align:center;
	font-size: 16px;
	font-family: Helvetica, Arial, sans-serif;
	background: #fff url(../images/ui/cork.jpg) top left repeat;
/*  Green Background
	background: #0B5337 url(../images/ui/backgroundphoto.jpg) top center repeat;
*/
}

#wrap {
	border-top: 2px solid #749A77; background: rgba(0,0,0,.15)
	
}

#topnav {
	background: rgba(0,116,101,.3); 
	width: 64em;  
	border-width: 0 2px 2px 2px; 
	border-style: solid; 
	border-color: rgba(255,255,255,.5); 
	margin: 0 auto; 
	-webkit-border-bottom-left-radius: 1em;  
	-webkit-border-bottom-right-radius: 1em;
	-moz-border-radius-bottomleft: 1em;  
	-moz-border-radius-bottomright: 1em;  
	-moz-box-shadow: 3px 3px 3px rgba(0,0,0,.2);
	-webkit-box-shadow: 3px 3px 3px rgba(0,0,0,.2); 

}

#topnav ul {padding-top: .5em; height: 1.5em; margin: 0 auto; text-align: left;  padding-left: 15.6em;}
/*#topnav ul {padding-top: .9em; height: 1.9em; margin: 0 auto; text-align: left;  padding-left: 15.6em;}*/
#topnav ul li {display: inline;}
#topnav ul li a {padding: .7em; text-decoration: none; font-size: .9em; font-weight: bold;  color: #fff;  text-shadow: 0 0 6px rgba(0,0,0,.6);}

#topnav ul li a.selected {background-color: rgba(202,229,168,.4); }

a {color: #007465;}
a:hover {color: #444;}

#pagecontainer {
	text-align: left;
	font-size: .9em;
	
}


.contentblock {
	text-align: left;
	margin: 0 auto;
	min-width: 800px;
	max-width: 920px;
	font-family: Helvetica, Arial, sans-serif;
}


/*** Header ***/

#header {	
	margin: 0;
	height: 105px; 
	background: white;
	width: 100%;
}

#header h1 {margin: 0; padding: 0;}
#header h1 a {
	background: url(../images/ui/h1.png) top left no-repeat; 
	text-indent: -9999px; 
	display: block; 
	height: 140px; 
	width: 210px;
	float: left;
	position: absolute;
	top: 0;
}

#header h1 a:hover {opacity: .85;}


/*** Skip ***/

.skip {
	display: block;
	position: absolute;
	left: -9999em;
	top: -9999em;
}

/*** Testimonial ***/

.testimonial {width: 48.2em; font-size: 1.25em;  font-weight: normal; /*float: right; */  }
.testimonial blockquote {padding: 2em 0 0 13em; color: #888; opacity: .95; text-align: left;}
.testimonial p {font-size: .75em; padding: .5em 1.4em;}

/*** Service Information ***/

blockquote {color: #fff; font-size: 1em; font-weight: bold; text-align: right;}
blockquote span {display: block; font-size: .9em; font-weight: normal; font-style: italic; }

.primarycontent {margin: 6em auto 0 auto; width: 960px; padding :0; }

/*** Sub Header ***/


/*** Breadcrumb Trail ***/

.breadcrumb {font-size: .85em; color: #fff; padding: 1em 1em 1em 0; text-shadow: 0px 0px 4px rgba(0,0,0,.9);}
.breadcrumb a {
	color: #fff; 
	font-weight: normal; 
	text-decoration: none; 
	/* font-size: .85em; */
	padding: .6em;
	border-radius: .6em;
	-moz-border-radius: .6em; 
	-webkit-border-radius: .6em;
	text-shadow: 0px 0px 4px rgba(0,0,0,.9);
	 
}

/*** Main Item Blocks ***/

.mainitems {
margin: 0; background: rgba(0,0,0,.3);
}

.secondarycontent {
margin: 1em 0 0 0; clear: both;
}


ul.primary li {width: 25%; float: left; position: relative; }
ul.primary li.last {margin: 0;}

ul.primary li span {background: url(../images/ui/pushpin.png) no-repeat; position: absolute; top: -15px; right: -10px; width: 35px; height: 35px;}

ul.primary li a {
	width: 85%;
	background: white;
	height: 9em; /*** size of cards ***/
	text-align: center;
	display: block;
	margin: 1em auto 0 auto;
	border-radius: .6em;
	-moz-border-radius: .5em;
	-webkit-border-radius: .5em;
	-moz-box-shadow: 3px 3px 3px rgba(0,0,0,.2);
	-webkit-box-shadow: 3px 3px 3px rgba(0,0,0,.2);
	border: 2px solid #ddd;
	position: relative;
	text-decoration: none;
	background-image: url(../images/ui/mango.jpg);
}

ul.primary li a:hover {
	-moz-box-shadow: 3px 5px 3px  rgba(0,0,0,.4);
	-webkit-box-shadow: 3px 3px 3px rgba(0,0,0,.4); 
}

ul li a span {text-indent: -9999px; display: block; }

ul.primary li a em {
	position: absolute;
	bottom: .5em;
	left: .6em;
	margin: 0 auto;
	text-align: center;
	font-size: 0.9em;
	text-decoration: none;
	display: block;
	font-style: italic;
}

ul.primary li a.other {
	background: none; 
	border: none; 	
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	background: url(../images/ui/resources-small.png) top left no-repeat;
	opacity: .95;
	}
ul.primary li a.other:hover {opacity: 1;}

ul.primary li a.other em {position: absolute; left: -9999em;}

/*** Service Buttons ***/

ul li a.careercenter {background: white url(../images/ui/career2.jpg) 50% 60% no-repeat; opacity: .95; }
ul li a.careercenter:hover {opacity: 1;}

ul li a.ebsco {background: white url(../images/ui/ebsco.gif) 50% 60% no-repeat; opacity: .95;}
ul li a.ebsco:hover {opacity: 1;}

ul li a.heritagequest {background: white url(../images/ui/heritagequest.gif) 50% 60% no-repeat; opacity: .95;}
ul li a.heritagequest:hover {opacity: 1;}

ul li a.homeworkhelp {background: white url(../images/ui/hhri2.jpg) 50% 60% no-repeat; opacity: .95; }
ul li a.homeworkhelp:hover {opacity: 1;}

ul li a.learningexpress {background: white url(../images/ui/learningexpress5.jpg) 50% 60% no-repeat; opacity: .95; }
ul li a.learningexpress:hover {opacity: 1;}

ul li a.mango {background: white url(../images/ui/mango.jpg) 50% 60% no-repeat; opacity: .95; }
ul li a.mango:hover {opacity: 1;}

ul li a.refusa {background: white url(../images/ui/refusa2012.jpg) 50% 60% no-repeat; opacity: .95; }
ul li a.refusa:hover {opacity: 1;}

ul li a.worldbook {background: white url(../images/ui/worldbook.gif) 50% 60% no-repeat; opacity: .95;}
ul li a.worldbook:hover {opacity: 1;}



/*** Other Resources ***/

h3 {font-size: 1.4em; font-weight: normal; padding: 0 0 .5em .25em; margin: 0; color: #fff;}


.resources, .chat {	
	padding: 2%; 
	color: #444;
	font-size: .85em;	
}


.chat { margin: 0 auto; display: block; width: 240px; float: right;}

.chat h3 /*.resources h3 */ {position: relative; left: -9999px; float: left;}

.chat ul {width: 20em;  background: url(../images/ui/stickies.png) top left no-repeat; height: 12em; overflow: hidden; padding-top: 4.5em; display: block; position: absolute; top: 2em; }

.resources.white {
	background: rgba(255,255,255,.85);	
	border-radius: .6em;
	-moz-border-radius: .6em; 
	-webkit-border-radius: .6em;
	 	-moz-box-shadow: 3px 3px 3px rgba(0,0,0,.2);
	-webkit-box-shadow: 3px 3px 3px rgba(0,0,0,.2); 
	float: left; width: 100%;
	padding: 0;
	margin: 0 auto;
}

.resources.white img {float: left; margin: 0 1em 1em 0;}
.resources.white a {font-weight: bold;}
.resources.white h3 {color: #054C29; margin-top: 1em; margin-bottom: .5em;}

.resources p {padding: 0 0 1.8em 0; line-height: 1.6em; clear: both;}


.left {float: left; width: 42%; margin-left: 2%; }
.right {float: right; width: 42%; margin-right: 2%; }


#pagecontainer .chat ul li {list-style-type: none; list-style: none;}
.chat ul li a {display: block; padding: 1em; margin: 0 0 .5em 0;text-decoration: none; color: #fff;}

#pagecontainer .chat ul li a.livechat {background:  url(../images/ui/chat.png) center left no-repeat; padding:  1.2em 4em 2em 7em; color: #444; font-weight: bold; }
#pagecontainer .chat ul li a.email {background:  url(../images/ui/email.png) center left no-repeat; padding:  1em 4em 2.2em 7em;}


#pagecontainer .chat ul li a.livechat span, #pagecontainer .chat ul li a.email span {position: absolute; left: -9999em;}

#pagecontainer .chat ul li a.livechat:hover {background: url(../images/ui/chathover.png) center left no-repeat; }
#pagecontainer .chat ul li a.email:hover {background: url(../images/ui/emailhover.png) center left no-repeat; }


ul.resourceslist li {list-style-type: none;  color: rgba(233,233,233,.3); color: #444;}
ul.resourceslist {margin: 4.5em 0 1.2em 2.7em;}
ul.resourceslist li.info {padding-left: 2.4em; padding-top: .5em;}

.leftnavigation {float: left; width: 15%; clear: both; padding: 0 1em;  margin: 1em 0em;}

.sidebar {float: right; width: 20%; padding:0em 1em; margin: 1em 0em;}

#pagecontainer .leftnavigation ul, #pagecontainer .sidebar ul, #pagecontainer .maincontent ul {padding-top: .5em}
#pagecontainer .leftnavigation ul li, #pagecontainer .sidebar ul li, #pagecontainer .maincontent ul li  {/* list-style-type: disc; */ list-style-position: outside; margin: 0 1em 1em 1.2em; line-height: 1.2em; }
#pagecontainer .leftnavigation h4, #pagecontainer .sidebar h4 {font-size: 1.1em; margin-bottom: .5em; font-weight: bold; }

/*** ORIGINAL: #pagecontainer .leftnavigation h4, #pagecontainer .sidebar h4, #pagecontainer 
.maincontent h4  {color: #333; font-size: 1.2em; padding: 0;  margin: 1em 0em; } ***/

#pagecontainer .maincontent p {padding-bottom: .5em; padding-left: .5em;  } /* added */

#pagecontainer .maincontent h4  {
	color: #333;
	font-size: 1em;
	font-weight: bold;
	padding: 0;
	margin-top: 0.5em;
	margin-right: 0em;
	margin-bottom: 0.5em;
	margin-left: 1em;
}
#pagecontainer .maincontent ul li { display: block;	position: relative;	margin-left: 2.5em;	list-style-type: disc;}
#pagecontainer .maincontent ul li span a {display: block; position: relative; background: red;}

#pagecontainer .maincontent ul li p {padding-bottom: .5em;  font-weight: normal;}

.maincontent {float: right; width: 55%; border-right: 1px solid #ccc; border-left: 1px solid #ccc;  padding: 0 1em; margin: 1em 0em;}

#pagecontainer .maincontent h2 {color: #444; display: block; font-size: 1.4em; font-weight: bold; margin-bottom: 1em;}

#pagecontainer .maincontent h3 {color: #444; font-size: 1.2em; font-weight: bold; margin-top: 1.5em; margin-bottom: .5em;}

#pagecontainer .maincontent.indent {margin-left: 1.5em; }


/*** Footer ***/

#footer { padding: 3em 0 8em 0; margin-top: 2em; color: #EDFCE8; background: rgba(0,0,0,.25); overflow: hidden; border-top: 3px solid rgba(255,255,255,.3);}

#footer dl {display: block; width: 25%; float: left; font-size: .9em; margin-bottom: 2em;}
#footer dt {font-weight: bold; font-size: 1.1em; text-shadow: 1px 1px rgba(0,0,0,.6);}
#footer dd {padding: 0 .3em 0 .3em; width: 82.5%; display: block; margin: 0 auto; line-height: 1.4em; font-size: .9em; text-shadow: 1px 1px rgba(0,0,0,.6); }
#footer dd a { color: #F7F3B4; } /* so you can see links in footer */
#footer dt {padding: 0 .3em .8em 1.5em;}
#footer span.hours {display: block; color: #EDFCE8; padding: 0 0 .7em 0; font-weight: bold;}

.disclaimer {clear: both; width: 95%; margin: 3em auto; border-top: 1px solid rgba(255,255,255,.3);}
.disclaimer p {padding-top: 1.5em; font-size: .75em; color: #E8F8DE; line-height: 1.4em; opacity: 1; text-align: center;}

#footer ul {margin-top: 1em; margin-bottom: 0;}
#footer ul.logos li {float: left; width: 24%; text-align: center;} /* 25% too wide for IE */
#footer ul.logos li a {text-indent: -9999em; opacity: .5; display: block; width: 8em; height: 88px; background: white; margin: 0 auto;}
#footer ul.logos li a:hover {opacity: 1;}

#footer ul.logos li a.olis {background: url(../images/content/olis.gif) center no-repeat;}
#footer ul.logos li a.imls {background: url(../images/content/imlsw.gif) center no-repeat; width: 141px;}
#footer ul.logos li a.rigov {background: url(../images/content/rigov.gif) center no-repeat; width: 160px;}
#footer ul.logos li a.ppl {background: url(../images/content/ppl.gif) center no-repeat; width: 120px;}

/*** Fancy Schmancy Webkit Transitions ***/

a {-webkit-transition: background-color .2s linear;}
a:hover {background-color: rgba(202,229,168,.3);}

a:hover img {background: none;}

/*** Form Errors -- added by r.aubin Oomph, Inc. -- 4.11.11 ***/
#pagecontainer .maincontent .form-errors { background:#f98585;border:3px solid #f75050;padding:5px 10px;}
#pagecontainer .maincontent .form-errors li {display:list-item;}

/*** form errors ***/
div.error-message {background:#fcc;border:3px solid #ff8585;padding:10px;}
div.error-message h3 {margin:10px 0px !important;}

