/***********************************************
 *                                             *
 * This is a common stylesheet for ia.ucsb.edu *
 *                                             *
 
 * 12/1/2011 Created by Mihoko Jones           *
 * 1/10/2013 Updated by Shane Greene to comply *
 * with standards developed by Logan Franken   *
 * and the Web Standards Group                 *
 ***********************************************/

 /* =RESET
=============================================*/

html, body, #main-nav ul, #sidebar ul, #footer ul
{
	margin: 0;
	padding: 0;
}

a
{
    text-decoration: none;
}

img
{
    border: 0;
}

/* =IMAGE-REPLACEMENT
=============================================*/

h1 a, .ucsb-link
{
    background-color: transparent;
    background-repeat: no-repeat;
    border: 0;
    direction: ltr;
    display: block;
    text-align: left;
    text-indent: -999em;
    overflow: hidden;
    *line-height: 0;
}

h1 a br
{
	display: none;
}

/* =STRUCTURE
=============================================*/

body
{
	background: #A1B3C7 url(/../images/ia-common-images/bg-blue-lines.jpg);
	font-family: Arial, sans-serif;
	font-size: 0.8em;
}

#main
{
	background: #FFF url(/../images/ia-common-images/content_back.png) no-repeat 200px 41px;
	margin: -4px auto;
	width: 960px;
}

/* =Breadcrumb
=============================================*/
#breadcrumb
{
    background-color: #053768;
    color: #FFCC33;
    -webkit-print-color-adjust:exact;
    height: 25px;
    letter-spacing: 0.09em;
    line-height: 2em;
    #margin: 0 0 16px 0; /*setting for IE7*/
    _margin: 0 0 16px 0; /*setting for IE6*/
    text-align: center;
    vertical-align: middle;
}

#breadcrumb li
{
    display: inline;
}

#breadcrumb ul
{
    list-style-type: none;
}

#breadcrumb a
{
    color: #FFCC33;
    font-size: 0.9em;
    font-weight: lighter;
    text-decoration: none;
}

/* =NAVIGATION
=============================================*/ 

.nav-header
{
	color: #656565;
	text-transform: uppercase;
}

.nav-margin-top
{
	display: block;
    margin-top: 16px;
}

#main-nav, #sidebar
{
	padding-top: 138px;
	font-family: Arial, sans-serif;
	font-weight: bold;
	text-shadow: #E6E6E6 0 1px 0;
}

#main-nav ul, #sidebar ul
{
	list-style: none;
}

#main-nav li, #sidebar li
{
	margin: 6px 0;
}

#main-nav li img
{
    margin-top: -8px;
}

#main-nav a, #sidebar a
{
	color: #003366;
	text-decoration: none;
}

#main-nav .alert
{
    color: #cb0c0e;
}

#main-nav a
{
    display: block;
}

#main-nav a:hover, #sidebar a:hover
{
    color: #999999;
	text-shadow: #E6E6E6 0 1px 0;
    -webkit-transition: color linear .2s;
    -moz-transition: color linear .2s;
    -ms-transition: color linear .2s;
    -o-transition: color linear .2s;
    transition: color linear .2s;
}

#main-nav
{
	background: url(/../images/ia-common-images/storke_tower.png) 101px 4px no-repeat;
	float: left;
	font-weight: bold;
	padding-right: 20px;
	text-align: right;
	/* width: 174px; */
	width: 180px;
}

#sidebar
{
	float: right;
	padding-left: 20px;
	width: 180px;
}

/* =CONTENT
=============================================*/

#content
{
	float: left;
	min-height: 680px;
	margin: 0 10px;
	width: 538px;
}

h1
{
	margin-top: 4px;
}

h1 a
{
	border-bottom: 1px solid #CCC;
	height: 89px;
	width: 538px;
}

/* =FOOTER
=============================================*/

#footer
{
	clear: both;
	font-size: 0.75em;
	text-align: center;
	padding: 5px 0 15px;
}

#footer hr
{
	background-color: #ccc;
    border: 0 none;
    color: #ccc;
    height: 1px;
    width: 538px;
}

#footer .copyright, #footer .contact, #footer ul
{
	display: block;
}

#footer ul
{
	font-size: 1.2em;
	font-weight: bold;
}

#footer li
{
	display: inline;
}

#footer a
{
	color: #000;
	font-weight: bold;
	text-decoration: none;
}

.ucsb-link
{
	background-image: url(/../images/ia-common-images/ucsb-logo-35.jpg);
	height: 23px;
	margin: 0 auto;
	width: 35px;
}

/* =SCREENREADERS
=============================================*/

.hidden 
{
	border: 1px solid blue;
	color: red;
	left: -20em;
	position: absolute;
	top: -20em;
}

/* =CODE
=============================================*/

code
{
    font-size: 1.2em;
}

code pre
{
    max-width: 498px;
    overflow: auto;
}

code pre.prettyprint, code pre
{
    border-width: 0;
    margin: 20px 0 20px 20px;
    padding: 0 10px;
}

.selected 
{
    background-color: #aaa;
}


/* =link styles
=============================================*/
a 
{
    font-weight: bold;
}

a:link,a:visited,a:active 
{
    color: #003366;
    text-decoration: none;
}

a:hover, a:focus
{
    text-decoration: none;
    color: #999;
}

/* =font colors and styles
=============================================*/
.alert
{
    color: red;
}

.emphasis 
{
	font-size: 110%;
	font-weight: bold;
}

.errMsg
{
    color: Red;
    font-style: italic;
    font-weight: bold;
    padding: 0;
} 

h2 
{
    font-size: 1.231em;
}

h3 
{
    font-size: 1.077em;
}

h4
{  
    font-size: 1.077em;
}

h5
{
    font-size: 1.077em;
}

.hints 
{
    color: #666;
    font-size: 1em;
    padding: 0;
}
   
.italic, .italicText
{
    font-style:italic;
}

.textBlack
{
    color: #000;
}

.textBlue
{
    color: #003366;
}

.textBold
{
    font-weight: bolder;
}

.textGold
{
    color: #FFCC33;
} 

.textGrayBold 
{
    color: #999;
    font-weight: bold;
}

.textNormal
{
    font-weight: normal;
}
.underline
{
    text-decoration: underline;
}

.uppercase
{
    text-transform: uppercase;
}

/* =positioning
=============================================*/
.alignMiddle
{  
    vertical-align: middle;
}

.alignTop
{
    vertical-align: top;
}

.clear
{
    clear: both;
}

.clear-fix
{
    clear: both;
    line-height: 1px;
}

.floatLeft
{
    float: left;
}

.floatRight
{
    float: right;
}

.lineHeight1andHalf
{    
    line-height: 1.5em;
}

.lineHeightDouble
{    
    line-height: 2em;
}

.noMargins
{
    margin: 0;
}

.noPaddings
{
    padding: 0;
}

.textcenter
{
    text-align: center;
}

.textright
{
    text-align: right;
}

.textWideSpace
{    
    letter-spacing: 0.15em;
}

/* =image styles
=============================================*/
.caption
{
    font-size: 0.846em;
    text-align: left;
    line-height: 95%;
    padding: 3px;
}

.imageFloatLeft
{
    float: left;
    margin: 5px 5px 5px 0;
}

.imageFloatRight
{
    float: right;
    margin: 5px 0 5px 5px;
}

/* =list styles
=============================================*/
.nobulletList
{
    list-style-type: none;
    padding: 0;
}

/* =border styles
=============================================*/
.no-border 
{
	border:none;
}

/* =print styles
=============================================*/
@media print {
    .noprint 
    { 
          display: none; 
    }
}

/* =table styles
=============================================*/
.blueCell /* used in the A-Z searchbox */
{
    background-color: #003366;
}


