/* Some definitions used everywhere */
body { 
	background: #000;
	color: #666;
	margin: 0;
	padding: 0;
	text-align: center;
 	font-family: arial, helvetica, sans-serif;
	font-size: 14px;
}

img { 
	border: 0;
	padding: 0;
	margin: 0;
}

/* Header cells in tables throughout the site */
th { 
	background: #e60e8d;
	color: #FFF;
	font-weight: bold;
}
/* links */
a { 
	color: #384c4a;
	font-weight: bold;
	text-decoration: none;
}
/* hovering links */
a:hover {
	color: #000;
	font-weight: bold;
	text-decoration: none;
}

input[type="button"], input[type="submit"], input[type="reset"] {
        background-color: #c00000;
        color: #fff;
        border: none;
        font-size: 16px;
        font-weight: 600;
        text-align: center;
        display: block;
        width: 200px;
        height: 40px;
}

/* Main Layout */
#leftindex { 
	width: 250px;
        padding: 10px;
        margin-bottom: 10px;
        background-color: #c0c0c0;
	float: left;
}

#rightindex {
	margin-left: 285px;
}

#footer {
 	color: #666;
	border-top: 2px solid #000;
	padding: 5px;
	text-align: left;
	clear: both;
}

#container {
	width: 1000px;
	margin: auto;
margin-top:10px;
margin-bottom:10px;
	text-align: center;
 	background-color: #fff;
}

#banner {
	height: 250px;
 	background-image: url(images/iyff-2013-top.png);
}

.menu {
	padding-top: 5px;
	padding-bottom: 2px;
	padding-left: 4px;
	padding-right: 4px;
	background-color: #000;

}

#menulist {
        padding: 0px;
 	margin: 0px;
 	text-align: left;
}

#menulist ul {
 	margin-left: 0;
 	padding-left: 0;
 	white-space: nowrap;
}

#menulist li {
	 display: inline;
 	list-style-type: none;
}

#menulist a { 
	padding-top: 1px;
	padding-bottom: 1px;
 	padding-left: 7px;
 	padding-right: 7px;
 	margin-right: 3px;
	}

#menulist a:link, #menulist a:visited {
        font-size: 16px;
 	color: #fff;
 	text-decoration: none;
 	font-weight: bold;
}

#menulist a:hover{
 	color: #c00000;
      
	text-decoration: none;
	font-weight: bold;
}

#submenulist {
 	padding: 0px;
 	margin-top: 10px;
	text-align: left;
        
}

#submenulist ul {
 	margin-left: 0;
 	padding-left: 0;
 	white-space: nowrap;
}

#submenulist li {
 	display: inline;
 	list-style-type: none;
}

#submenulist a { 
        font-size: 14px;
 	padding-top: 1px;
 	padding-bottom: 1px;
 	padding-left: 7px;
 	padding-right: 7px;
 	margin-right: 3px;
	}

#submenulist a:link, #submenulist a:visited {
 	color: #fff;
 	text-decoration: none;
 	font-weight: bold;
}

#submenulist a:hover{
 	color: #c00000;
 	text-decoration: none;
 	font-weight: bold;
}


/* End universal page setup */

/* this is a carryover from 1.1.  Generally it is used around tables and table cells. */
.tblborder { 
	padding: 6px;
	border-collapse: collapse;
}

/* Main page surrounds the text between the header and the footer.  
For IE, height is set to 650 to force the footer down to the bottom of the page where the content is short.  
And the second declaration is for everyone else so that it will scroll if longer but be a minimum of 650px
*/
#mainpage {
	height: 550px;
	padding: 10px;
	background: #FFF;
	text-align: left;
}
html>body #mainpage { 
	height: auto;
	min-height: 550px;
}

/* Most pages use pagetitle to format the page's title */
#pagetitle { 
	text-align: center;
	font-size: 14px;
	color: #e60e8d;
	font-weight: bold;
	margin-top: 1em;
	margin-bottom: 1em;
}

/* 
Where there's a list of alphabet links #alphabet controls their look. 
Just to make things simpler #pagelinks controls the look of the links at the bottom of multi-page results
and will be set here too. Generally, they look alike.
*/
/* the box around the links */
#alphabet, #pagelinks {
	text-align: center;
	word-spacing: .1em;
	margin: 1em;
}
/* each link */
#alphabet A, #pagelinks A {
	color: #FFF;
	text-decoration: none;
	font-weight: bold;
	background: #cd9fe4;
	border: 1px solid #e60e8d;
	border-collapse: collapse;
	padding: 0 2px;
}
/* each link when hovered over */
#alphabet A:hover, #pagelinks A:hover {
	background: #dbdbdb;
	color: #fff;
}
/* the currently selected letter and currently selected page */
#alphabet #current_letter, #pagelinks #currentpage {
	background: #FFF;
	color: #333;
	font-weight: bold;
	border: 1px solid #e60e8d;
	padding: 0 2px;
}
/* End alphabet and page link declarations */

/* labels throughout the site in forms and in other places */
LABEL, .classification {
	color: #000;
	font-weight: bold;
}
/* Admin options in various places.  */
.adminoptions { 
	color: #e60e8d;
	font-weight: bold;
}

/* The listings of stories etc. */
/* .sectionheader styles the headings "Stories" and "Series" */
.sectionheader {
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	color: #000;
}

/* The box around each individual story */
.listbox {
	margin: 1em 5%;
	border: 1px solid #dbdbdb;
}

/* The title bar for each story box. */
.listbox .title {
	background-color: #800000;
	color: #FFFFFF;
	font-weight: bold;
	padding: 4px;
	padding-left: 8px;
}

/* The content of the box...summary, categories, etc. */
.listbox .content {
	padding: 6px;
	background-color: #ffffff;
	background-image: url(images/top3.gif);
	background-position: top left;
	background-repeat: repeat-x;
}

/* The tail info published date etc. on the last line */
.listbox .tail {
	background-color: #dbdbdb;
	padding: 4px; 
}

.listbox .title a{color:#cccccc;}

/*End story/series listings */

/* titleblock is used for the title information in series and challenges */
#titleblock {
	margin: 0 10%;
}

/* The pulldown jump menus on several pages. */
.jumpmenu {
	text-align: right;
	margin-right: 1em;
}

/* On the story page, there's a jumpmenu at the bottom. It looks better centered, so this will replace the declaration above for that 
drop down list ONLY */
#pagelinks .jumpmenu {
	text-align: center;
}

/* This is used on series and challenges and other places where a response is solicited */
.respond { 
	text-align: center;
	padding: 6px;
}

/* The sort menu on the categories page */
#sort { text-align: center; }


/* On pages that don't use listings, the content is surrounded by a div labeled output to */
#output { 
	padding: 10px;
}

/* User Profile stuff */
/* The top list of information */
#profile {
	margin: 1em 10%;
}
/* The sort menu in the profile */
#profile #sort {
	text-align: right;
	font-weight: bold;
	color: #9ab96e;
 }
/* The following declarations control the tabs */
/* The outer tab box */
#tabs {
	background: #cd9fe4;
	border-top: 1px solid #666;
	border-bottom: 1px solid #666;
	text-align: center;
	margin: 0;
	padding: 0;
}
/* The individual tabs. */
#tabs span {
	font-size: 14px;
	background: #dbdbdb;
	border: 1px solid #000000;
	padding: 3px;
}
/* Links in the tabs */

#tabs #active {
	background: #cd9fe4;
	color: #fff;
}

/* This controls the look of the blocks on the index page.   */

/* The box around the block */
.block { 
	margin-bottom: 1em;
}

/* The block's title */
.block .title {
	color: #FFFFFF;
        background: #c00000;
        padding: 5px;
	font-weight: bold;
	font-size: 16px;
	border-bottom: 1px solid #000000;
	
}

.title2 {
	color: #000000;
	font-weight: bold;
	font-size: 14px;
	border-bottom: 1px solid #800000;
	
}

/* The block's content */
.block .content {
	padding: 6px;
	text-align:left;
}

/* The next link at the bottom of a multi-chapter story */
#next { float: right; }
/* The previous link at the bottom of a multi-chapter story */
#prev { float: left; }

#browse #category_content { width: 95% !important; margin: 1em auto; }


/* Misc Tweaks */

.label
	{font-weight: bold;}

.newsbox {margin-bottom: 20px; border-bottom: 1px solid #000;}
.newstitle {font-weight: bold; font-size: 1.1em; border-bottom: 1px dashed #999; margin-bottom: 5px;}

.recentstory {padding-bottom: 12px;}
.featuredstory {padding-bottom: 12px;}