/* Basic style adopted from luka cvrk's work 
   at Open Source Web Design (owsd.org)     */

/* default styles
   -------------- */
   
body { 
	padding: 0; 
	margin: 0; 
	font: 0.7em Tahoma, sans-serif; 
	line-height: 1.5em;
	background: #fff; 
	color: #454545; 
}
a {	color: #E0691A;	background: inherit;}
a:hover { color: #6C757A; background: inherit; }

h1 { font: normal 2.1em Arial, Sans-Serif; letter-spacing: -1px; padding: 7px 0 0 0; margin: 0; }
.dark  { color: #737373; background: inherit; font-weight: bold; }
h1 a, h2 a { text-decoration: none; }
h1 a:hover, h2 a:hover { color: #FF6600; background: inherit; }
h2 { margin: 0; padding: 0; font: bold 1.7em Arial, Sans-Serif; letter-spacing: -1px; }
h2 { font-size: 1.5em; margin-bottom: 5px; color: #000; background: inherit; }

p {	margin: 0 0 5px 0; }

ul { margin: 0; padding : 0; list-style : none; }

form { 	margin: 0; }

input.search { 
	width: 292px; 
	border: 0;
	background: #FFF url(/images/input.gif) no-repeat;
	padding: 4px; 
	color: #E0691A;
	font-weight: bold;
}

input.submit {
	background: #E0691A url(/images/submit.gif) no-repeat;
	border: 0;
	padding: 4px 0;
	width: 65px;
	margin: 0 15px 1px 0;
	color: #FFF;
	font: bold 1em Arial, Sans-Serif;
}
.list_resources {
    text-align: center;
    margin-left: 30px;
}
a.submit {
	background: #EEE url(/images/submitlong2.gif) no-repeat 0 50%;
	border: 0;
	padding: 8px 18px;
	color: #FFF;
	font: bold 1em Arial, Sans-Serif;
	text-decoration: none;
}


input.login { 
	width: 150px;
	border: none; 
	
	padding: 4px; 
}

/* layout
   ------ */

.content { 
	margin: 0 auto;
	width: 780px;
	padding: 10px; 
}

.header { 
	background: #eee;
	color: #808080;
	margin: 3px 0;
	padding: 10px 0 0 0;
	border-bottom: 1px solid #ccc;
}

.top_info {
	float: right;
	width: 600px;
	padding: 5px 0 4px 0;
	border-bottom: 1px solid #eee;
	background: #eee;
	color: #808080;
}
	.top_info_left {
		width: 350px;
		float: left;
	}

	.top_info_right {
		float: right;
		width: 150px;
		padding: 0 0 0 35px;
		border-left: 1px solid #eee;
	}

.logo {
    font-size: 130%;
    padding-bottom: 20px;
}

.browse_category  {
	font-size: 0.9em;
	width: 190px;
	color: #FFF;
	background: inherit;
}

.bar { 
	clear: both;
	font-size: 1.1em;
	height: 30px; 
	color: #FFF;
	margin: 0 0 0 0px; 
	background: #FF9148;
}

	.bar li { 
		margin: 0; 
		padding: 7px 12px 5px 12px;
		color: #FFEADC;
		background: #FF9148;
		float: left; 
	}
	
	.bar li.active { 
		background: #E0691A url(/images/bar.gif) no-repeat center top; 
		color: #fff;
		font-weight: bold; 
		padding: 7px 10px 6px 10px;
	}
	
	.bar li a { 
		font-weight: bold;
		color: #FFF; 
		background: none;
		text-decoration: none;
	} 
	
	.bar li a:hover { 
		color: #E0691A; 
		background: inherit;
	} 

	.bar li.active a:hover { 
		color: #FF9148; 
		background: none;
	} 



.search_field { 
	background: #EEE url(/images/searchbg.gif) no-repeat right; 
	color: #808080;
	clear: both;
	font-weight: bold;
	padding: 7px 25px 10px 10px;
	margin: 5px 0;
}

.grey {
	color: #808080;
	background: inherit;
	font-weight: normal;
}

.search_form { float: right; }

.subheader {
	margin: 0px 0 10px 0;
	border-bottom: 1px solid #eee;
	padding: 5px 0 5px 0;
	background: #A4A4A4;
	color: #fff;
}

/* left side
   --------- */

.left {
	float: left;
	width: 65%;
	margin: 0 0 10px 0;
}

.left h3 {
	clear: both;
	background: #A9C0CE url(corner.gif) no-repeat top right;
	color: #FFF;
	padding: 7px 0 7px 5px;
	font: bold 1em Tahoma, Arial, Sans-Serif;
	margin: 0 0 0px 0;
}
	.left_side {
		float: left;
		width: 180px;
		padding: 0 0 0 10px;
		margin: 10px 0;
	}
		
	.left_side a, .right_side a { color: #414141; background: #FFF; }
		
	.right_side {
		float: right;
		width: 220px;
		background: #FFF url(dotted.gif) repeat-y;
		color: #414141;
		padding: 0 0 0 40px;
		margin: 10px 0;
	}
		
	.left_box { margin: 0 0 10px 0; color: #000; background: #FFF; padding: 3px 0; }
	
.left p, h1, h2, h4 {
    margin: 10px 10px 0 5px;
}
.left h2 {
    clear: both;
}
	
		
/* right side
   ---------- */
		
.right {
	float: right;
	width: 34.6%;
	margin: 0 0 10px 0;
}

.right h3 {
	background: #6C757A  url(corner.gif) no-repeat top right;;
	color: #FFF;
	padding: 7px 0 7px 5px;
	font: bold 1em Tahoma, Arial, Sans-Serif;
	margin: 0 0 3px 0;
}

	.right_articles {
		background: #f5f5f5;
		color: #414141;
		padding: 8px;	
		margin: 0 0 3px 0;
	}
	
.image {
	float: left;
	margin: 0 9px 3px 0;
}

/* footer
   ------ */

.footer { 
	clear: both;
	text-align: center;
	padding: 10px 0 10px 0;
	margin: 0;
	border-top: 1px solid #ccc;
	line-height: 1.8em;
}

.footer a { color: #808080; background: #fff; }

/* Additions to base OWSD design */


#help a {
/*  margin: 0 3px 0 0; */
  color: blue;
  font-size: 10px;
/*  text-decoration: none;
  border-left: 2px solid #ABABAB;
  border-right: 2px solid #ABABAB;
*/

}
#help a:link, #help a:visited {
  text-decoration: underline;
}
#help a:hover {
  text-decoration: underline;
  color: green;
}

#form-block {
	float: left;
	margin: 10px;
	padding: 10px;
	border: 1px solid #5FF;
}

/* Standard rails scaffold CSS */

.fieldWithErrors {
  padding: 2px;
  background-color: red;
  display: table;
}

.notice {
  width: 400px;
  border: 2px solid blue;
  padding: 7px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

.notice h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -7px;
  background-color: #c00;
  color: #fff;
}

.notice p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
}

.notice ul li {
  font-size: 12px;
  list-style: square;
}

/* Flags Button Styles */
a.btn:link, a.btn:visited, a.btn:hover
{ font: small-caption; padding: 1px; 
background-color: #f5f5f5; color: #000; text-decoration: none; }

a.btn:link, a.btn:visited 
{ border-top: 1px solid #cecece; border-bottom: 2px solid #8a8a8a;
border-left: 1px solid #cecece; border-right: 2px solid #8a8a8a; }

a.btn:hover 
{ border-bottom: 1px solid #cecece; border-top: 2px solid #8a8a8a;
border-right: 1px solid #cecece; border-left: 2px solid #8a8a8a; }

/* Styles for the star rater. From komodomedia.com treatment of CSS Star Ratings */	
.ratings-bar-box {
    text-align: center;
    margin: 10px;
    padding: 10px;
    border-top: 1px solid #cecece;
}
.ratings-bar-box p {
    text-align: center;
}
#comment-form-fields p {
    text-align: left;
}
.comment-form-toggle {
    padding-left: 10px;
}
.review {
    padding: 10px;
    margin: 10px;
}
.review .review-title {
    font-weight: bold;
    padding-left: 10px;
    padding-right: 20px;
} 
    
.star-rating{
    text-align: left;
	list-style:none;
	margin: 0px;
	padding:0px;
	width: 125px;
	height: 25px;
	position: relative;
	background: url(/images/alt_star.gif) top left repeat-x;		
}
.star-rating li{
	padding:0px;
	margin:0px;
	/*\*/
	float: left;
	/* */
}
.star-rating li a{
	display:block;
	width:25px;
	height: 25px;
	text-decoration: none;
	text-indent: -9000px;
	z-index: 20;
	position: absolute;
	padding: 0px;
}
.star-rating li a:hover{
	background: url(/images/alt_star.gif) left bottom;
	z-index: 2;
	left: 0px;
}
.star-rating a.stars-1{
	left: 0px;
}
.star-rating a.stars-1:hover{
	width:25px;
}
.star-rating a.stars-2{
	left:25px;
}
.star-rating a.stars-2:hover{
	width: 50px;
}
.star-rating a.stars-3{
	left: 50px;
}
.star-rating a.stars-3:hover{
	width: 75px;
}
.star-rating a.stars-4{
	left: 75px;
}	
.star-rating a.stars-4:hover{
	width: 100px;
}
.star-rating a.stars-5{
	left: 100px;
}
.star-rating a.stars-5:hover{
	width: 125px;
}
.star-rating li.current-rating{
	background: url(/images/alt_star.gif) left center;
	position: absolute;
	height: 25px;
	display: block;
	text-indent: -9000px;
	z-index: 1;
}
#resource-reviews {
    margin: 10px;
    padding: 0 10px 10px 10px;
    border-top: 1px #000000 solid;
    border-bottom: 1px #000000 solid;
    font-size: 110%;
}
.highlight {
  background-color: yellow;
}


/* Cloud Sizes */

.alphacloud a { line-height: 1.6em; padding-right: 0.5em; white-space: nowrap }
.s1 { font-size: 150%; }
.s2 { font-size: 180%; }
.s3 { font-size: 250%; }
.s4 { font-size: 300%; }
.s5 { font-size: 340%; }
