/*
Theme Name: UC Berkeley Art Practice
Theme URI: http://www.art.berkeley.edu
Author: Colin Frangos
Author URI: http://colinfrangos.com
Version: 1.0
License: GNU General Public License
License URI: license.txt
*/

/* 
WEB FONTS 
*/
/* 'Open Sans' */
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,400,300,600);

/* 'Open Sans Condensed' */
@import url(http://fonts.googleapis.com/css?family=Open+Sans+Condensed:700,300);



/* resets */
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, strong, sub, sup, tt, var, b, u, i, center, 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-size: 100%; vertical-align: baseline; background: transparent;}

ol, ul {list-style: none;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after, q:before, q:after {content: ''; content: none;}
:focus {outline: 0;}
ins {text-decoration: none;}
del {text-decoration: line-through;}
table {border-collapse: collapse; border-spacing: 0;}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

/* always seem to need this... */
.clear {
	clear: both;
}


/* 
-------------------------------------------------------------- 
General structure
-------------------------------------------------------------- 
*/

body {
	font-size: 100%;
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
/*	background-color:#cccccc;*/
	background-color: white;

}

.wideness {
	max-width: 940px;
	margin: auto;
}


.content-container {
	background: white;
}

.post-container {
	padding: 0 30px;
}

.content {
	background: white;
	padding-bottom: 20px;
	overflow: auto;
}

.page {
	margin-left: 22.87234042553191%;
	width: 77.12765957446809%;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}

.alignright {
	display: inline;
	float: right;
}

.aligncenter {
	display: block;
	margin: 0 auto;
}

/* END General structure */


/************************* SECTION COLORS ***********************/


body.home #site-header {
	background: url(images/bars/home.png) white;
	background-size:100% auto;
	background-repeat:no-repeat;
} 
body.home #footer {
	background: url(images/bars/home.png) white bottom;
	background-size:100% auto;
	background-repeat:no-repeat;
}
.home h1 {
	color: #f15c22;
}
.home h2 {
	color: #c8bea6;
}
.home a:link, .home a:visited {
	color: #f7a11a;
}

body.calendar #site-header {
	background: url(images/bars/calendar.png) white;
	background-size:100% auto;
	background-repeat:no-repeat;
}
body.calendar #footer{
	background: url(images/bars/calendar.png) white bottom;
	background-size:100% auto;
	background-repeat:no-repeat;
}
.calendar h1 {
	color: #bc813b;
}
.calendar h2 {
	color: #9c420c;
}
.calendar a:link, .calendar a:visited {
/*	color: #7499c6;*/
	color:#bc813b;
}

body.courses #site-header {
	background: url(images/bars/courses.png) white;
	background-size:100% auto;
	background-repeat:no-repeat;
}
body.courses #footer {
	background: url(images/bars/courses.png) white bottom;
	background-size:100% auto;
	background-repeat:no-repeat;
}
.courses h1 {
	color: #015b7e;
}
.courses h2 {
	color: #9c420c;
}
.courses a:link, .courses a:visited {
	color: #630460;
}

body.programs #site-header {
	background: url(images/bars/programs.png) white;
	background-size:100% auto;
	background-repeat:no-repeat;
}
body.programs #footer {
	background: url(images/bars/programs.png) white bottom;
	background-size:100% auto;
	background-repeat:no-repeat;
}
.programs h1 {
	color: #bc813b;
}
.programs h2 {
	color: #9c420c;
}
.programs a:link, .programs a:visited {
	color: #9d601b;
}

body.people #site-header {
	background: url(images/bars/people.png) white;
	background-size:100% auto;
	background-repeat:no-repeat;
}
body.people #footer {
	background: url(images/bars/people.png) white bottom;
	background-size:100% auto;
	background-repeat:no-repeat;
}
.people h1{
	color: #5b8726;
}
.people h2{
	color: #c8bea6;
}
.people a:link, .people a:visited {
	color: #4e7022;
}

body.facilities #site-header {
	background: url(images/bars/facilities.png) white;
	background-size:100% auto;
	background-repeat:no-repeat;
}
body.facilities #footer {
	background: url(images/bars/facilities.png) white bottom;
	background-size:100% auto;
	background-repeat:no-repeat;
}
.facilities h1 {
	color: #009bc9;
}
.facilities h2 {
	color: #6caee0;
}
.facilities a:link, .facilities a:visited {
	color: #0083a9;
}

body.news #site-header {
	background: url(images/bars/news.png) white;
	background-size:100% auto;
	background-repeat:no-repeat;
}
body.news #footer {
	background: url(images/bars/news.png) white bottom;
	background-size:100% auto;
	background-repeat:no-repeat;
}
.news h1 {
	color: #f15c22;
}
.news h2 {
	color: #c8bea6;
}
.news a:link, .news a:visited {
	color: #e4870b;
}

body.gallery #site-header {
	background: url(images/bars/gallery.png) white;
	background-size:100% auto;
	background-repeat:no-repeat;
}
body.news #footer {
	background: url(images/bars/gallery.png) white bottom;
	background-size:100% auto;
	background-repeat:no-repeat;
}
.news h1 {
	color: #4c4c4e;
}
.news h2 {
	color: #616163;
}
.news a:link, .news a:visited {
	color: #4c4c4e;
}


/*
--------------------------------------------------------------
Global styles
-------------------------------------------------------------- 
*/

em {	
	font-style: italic;
}

strong {
	font-weight: 600;
	/*font-weight: bold;*/
}

.right {
	float: right;
}

.left {
	float: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 12px 0;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	text-decoration: none;
}

h1 {
	font-size: 20px;	
}

h2 {
	font-size: 18px;
}

h3 {
	font-size: 16px;
}

h4 {
	font-size: 15px;
}

h5 {
	font-size: 15px;
}

h6 {
	font-size: 15px;
}


p {
	font-size: 14px;
	margin: 0 0 16px 0;
	line-height: 1.6;
}

a:link,
a:visited {
	color:#0083a9;
	
}

a:hover,
a:focus {
	text-decoration: underline;
}

ul {
	list-style:none;
	list-style-position: inside;
	margin: 12px 0;
}

ul li {
	padding: 5px 0 5px 0;
	font-size: 14px;
}


/* END Global Styles */

/* 
-------------------------------------------------------------- 
Header
-------------------------------------------------------------- 
*/

#site-header {
	height: 150px;
}

.header-content {
	width: 62.76595744680851%;
	margin-left: 37.23404255319149%;
}

#site-header h1 {
	margin: 50px 0 0 -59.32203389830508%;
	width: 59.32203389830508%;
	float: left;
		background: url(images/logo.png);
	background-size:100% auto;
	background-repeat:no-repeat;
}

#site-header h1 a {
	text-indent: -99999px;
	height: 71px;
	width: 350px;
	margin: 0;
	float: left;

}

/* Header menu */


#main-nav {
	display: block;
	float: right;
	margin: 65px 0 0 0;
	font-size: 15px;
}

#main-nav ul {
	list-style: none;

}

#main-nav li {
	float: left;
	position: relative;
	margin: 0 0 0 8px;
	padding: 0;
}

#main-nav ul li a {
	display: block;
	padding: 5px;
	text-decoration: none;
	color: black;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 14px;
}

#main-nav a:hover,
#main-nav a:focus {

}

/* Drop down */

#main-nav ul ul {
	display: none;
	float: left;
	padding: 5px 0 0 0;
	position: absolute;
	top: 15px;
	left: 0;
	z-index: 10000;
	background-color: white;
	border: 1px solid #e5e5e5;
	border-radius:3px;
}

#main-nav ul ul a {
text-transform: none;
font-size: 14px;
}

#main-nav ul ul ul a {
text-transform: none;
font-size: 13px;
padding: 0;
}

#main-nav ul ul li {
	border: none;
	margin: 0;
}

#main-nav ul ul li:first-child a {
	padding-top: 5px;
}

#main-nav ul ul li:last-child a {
	padding-bottom: 25px;
}

#main-nav ul ul li:only-child a {
	padding-top: 5px
	padding-left: 16px;
}

#main-nav ul ul a {
	line-height: 1em;
	width: 10em;
	height: auto;
	color: #2c404b;
	padding: 10px 25px 13px 15px;
	border: none;
	font-family:Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight:600;
}

#main-nav ul ul :hover > a,
#main-nav ul ul :focus > a {
}

#main-nav ul ul li:hover > a,
#main-nav ul ul li:focus > a {
	border-bottom: none;
}


#main-nav ul li:hover > ul,
#main-nav ul li:focus > ul {
	display: block;
}

#main-nav ul ul ul {
	left: 100%;
	top: -6px;
	padding: 7px 0 0 7px;
	margin: 0;
}

#main-nav ul ul ul li {
	padding: 4px 0 7px 10px;
}

#main-nav ul li ul li ul {

	display: block;
}


/* Highlight current page / parent menu item */
#main-nav li.current_page_item > a,
#main-nav li.current_page_parent > a,
#main-nav li.current-page-ancestor > a,
#main-nav li.current-post-ancestor > a {
	color:black;
}

/* Special in case of custom header image */

.sf-sub-indicator {
	display: none;
}

#sub-access {
	background: #fff;
}

#sub-access ul {
	list-style: none;
	padding: 0;
}

#sub-access li {
	float: left;
	position: relative;
	border: 1px solid #E5E5E5;
}


#sub-access a {
	display: block;
	padding: 10px 25px;
	text-decoration: none;
	color: #333;
	text-transform: uppercase;
	font-size: 0.8em;
}


#sub-access ul ul {
	display: none;
	float: left;
	padding: 7px 0 0 0;
	position: absolute;
	top: 2.1em;
	left: 0;
	z-index: 99999;
	background-position: 30px 0px;
	background-image: url('images/arrowUp.png');
	margin-left: 10px;
	background-repeat: no-repeat;
}

#sub-access ul ul li {
	border: none;
	
}

#sub-access ul ul li:first-child a {
	border-radius: 5px 5px 0 0;
	-moz-border-radius: 5px 5px 0 0;
	-webkit-border-radius: 5px 5px 0 0;
}

#sub-access ul ul li:last-child a {
	border-radius: 0 0 5px 5px;
	-moz-border-radius: 0 0 5px 5px;
	-webkit-border-radius: 0 0 5px 5px;
}
#sub-access ul ul li:only-child a {
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

#sub-access ul ul a {
	line-height: 1em;
	width: 10em;
	height: auto;
	color: #fff;
	background: #000;
}

#sub-access li:hover > a,
#sub-access li:focus > a {
	color: #000;
}

#sub-access ul ul :hover > a,
#sub-access ul ul :focus > a {
	color: #fff;
}

#sub-access ul ul li:hover > a,
#sub-access ul ul li:focus > a {
	border-bottom: none;
	background: #333;
}

#sub-access ul ul a:hover,
#sub-access ul ul a:focus {
	background: #333;
}

#sub-access ul li:hover > ul,
#sub-access ul li:focus > ul {
	display: block;
}

#sub-access ul ul ul {
	left: 100%;
	top: 0;
	padding: 0 0 0 7px;
	margin-left: 0;
}

/* Highlight current page / parent menu item */
#sub-access li.current_page_item > a,
#sub-access li.current_page_parent > a,
#sub-access li.current-page-ancestor > a,
#sub-access li.current-post-ancestor > a {
		color: green;
}


/* END Header */

/* 
-------------------------------------------------------------- 
Main Content
-------------------------------------------------------------- 
*/

.entry-content {
	padding: 0;
}


.entry-title {
	text-transform: uppercase;
	margin: 0 0 30px 0;
	word-wrap: break-word;
}

.footer-meta {
	margin: 1em 0;
}

blockquote {
	margin: 20px;
	padding-left: 10px;
	border-left: 1px #ccc solid;
	font-style: italic;
	color: #333;
	line-height: 1.4em;
	border-left-color: #EFEFEF;
	border-left-width: 10px;
}

/****************** INDEX **********************/

.index-title {
	font-size: 1.5em;
	font-weight: 100;
	text-transform: uppercase;
	margin: 0 0 20px 0;
	line-height: 1;
	word-wrap: break-word;
}

.index-title a {
	text-decoration: none;
}


.index-title a:hover,
.index-title a:focus {
	text-decoration: underline;
}

.index-name-date {
	font-size: 0.8em;
	text-transform: uppercase;
	margin: 20px;
}

.index-name-date a {
	text-decoration: none;
}

.index-name-date a:hover,
.index-name-date a:focus {
	text-decoration: underline;
}

.index-content {
	margin: 20px;
	overflow: auto;
}

.more-link {
	text-align: right;
}
.more-link a:link,
.more-link a:visited {
	font-size: 0.6em;
	padding: 2px 20px;
	background: #9B9B9B;
	text-decoration: none;
	text-transform: uppercase;
	line-height: 17px;
	color: white;
}

.more-link a:hover,
.more-link a:focus {
	background-color: #3399FF; 	
}


.page-header h1 {
	text-transform: uppercase;
	margin: 0 0 20px 0;
}



/********************************
					WELCOME
				****************************/

#welcome-copy {
	margin: 20px 0 30px 0;
	padding: 30px 0 10px 0;
	border-top: 1px solid #c8bea6;
	border-bottom: 1px solid #c8bea6;
}

#welcome-copy p{
	text-align:justify;
}

div#home-top-row ul {
	overflow: auto;
}

div#home-top-row ul li {
	float: left;
	padding: 0;
	margin-left: 20px;
	max-width: 295px;
}

#home-top-row ul li.home-worthryder {
	margin-left: 0;
}

h2.home-top-title {
	font-size: 16px;
}

#home-bottom-row ul {
	overflow: auto;
	list-style: none;
}

#home-bottom-row ul li {
	float: left;
	padding: 0;
	margin-right: 70px;
	max-width: 180px;
}
#home-bottom-row ul li.bridge-art, #home-bottom-row ul li:last-child {
	margin-right:0;
}

h2.home-bottom-title {
	font-size: 13px;
}

/********************
			GALLERY STYLING
			*******************/
.gallery-caption {
	font-size: 12px;
	text-transform:uppercase;
	color:#818286;
}

/***********************
			EVENTS ASSORTED
			************************/

h1.events-title {
	font-size: 1.5em;
	font-weight: 100;
	text-transform: uppercase;
	margin: 0 0 20px 0;
	line-height: 1;
	word-wrap: break-word;
}

h1.events-title a.event-link {
	color:#bc813b;
}

.eo-event-future {
	overflow: auto !important;
	border-bottom: 2px solid #e5e5e5;
	margin-bottom: 24px;
}

.events-thumb {
	width: 120px;
	float: left;
	margin: 0 40px 20px 0;
}

.events-single-thumb {
	width: 180px;
	float: left;
	margin: 0 40px 20px 0;
}

.entry-meta {
	padding: 0 0 20px 0;
	border-bottom: 1px solid #e5e5e5;
}

.entry-meta h3 {
	font-weight:normal;
}

p.venue-list {
	font-size: 15px;
}

/************  event calendar  ***********/

TABLE#wp-calendar {
	margin: 0 0 40px 0;
}

TD.eo-future-date, TD.eo-past-date, TD.today {
	font-size: 14px;
	padding: 3px;
	text-align: center;
}

TD.today {
	border: 1px solid #bc813b;
}

TD.eo-past-date {
	color:#e6cf96;
	background-color: #f3f4ec;
}

TD.eo-future-date a:link, TD.eo-future-date a:visited {
	color: #9c420c;
	background-color:#fff8cc;
}


/**********************
			PEOPLES
			************/
			
ul.person-details {
	list-style: none;
	overflow: auto;
	clear: both;
	font-size: 80%;
	margin: 55px 0 20px 0;
}

#sidebar ul.person-details li {
	padding: 5px 0;
	margin: 0;
}

#sidebar ul.person-details li.office-hours {
	padding: 5px 0 0 0;
	color:#5b8726;
	margin: 0;
}

#sidebar ul.person-details li.hours {
	padding: 0 0 5px 0;
	margin: 0;
}

ul.person-details li h2{
	font-size: 90%;
}

h1.staff-list-title {
	font-size: 1.5em;
	font-weight: 100;
	text-transform: uppercase;
	margin: 0 0 5px 0;
	line-height: 1;
	word-wrap: break-word;
}

div.staff-content {
	margin: 6px 0 20px 6px;
	overflow: auto;
}

ul.staff-details {
	list-style: none;
	overflow: auto;
	clear: both;
	font-size: 80%;
	margin: 0 0 10px 0;
}

ul.staff-details li {
	float: left;
	margin-right: 20px;
}


/************ COURSES DETAILS ***********/

ul.course-details-list {
	overflow: auto;
	padding: 0;
	margin: 0;
}

ul.course-details-list li{
	float: left;
	padding: 0 20px 0 0;
	font-style: italic;
	font-size: 12px;
	color: #999;
}

h1.course-title {
	font-size: 1.4em;
	font-weight: 100;
	text-transform: uppercase;
	margin: 0 0 3px 0;
	line-height: 1;
	word-wrap: break-word;
}


/**************************
			SIDEBAR
			*************************/

.grad-sidebar {
	margin-top: 60px;
}

#sidebar ul.mechanician-details {
	list-style: none;
	overflow: auto;
	clear: both;
	font-size: 80%;
	margin: 0 0 20px 0;
}

#sidebar {
	width: 26%;
	margin-left: -29.6551724137931%;
	float: left;
}

#sidebar h2 {
	color: #555555;
	text-transform: uppercase;
	margin-top: 0;
	font-size: 80%;
	word-wrap: break-word;
}


#sidebar .children {
	margin-left: 0.5em;
	padding: 0!important;
	float: none;
}

#sidebar ul {
	list-style: none;
}

#sidebar ul li {
	padding: 0;
	margin: 0 0 6px 0;
}

#sidebar ul li a {
	text-decoration: none;
	display: block;
	font-size: 14px;
	-webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
}

#sidebar ul li a:hover,
#sidebar ul li a:focus {
	background-color: #faf8f4;
	text-decoration: none;
}

/*
--------------------------------------------------------------
Footer
--------------------------------------------------------------
*/

#footer {
	padding: 30px 0;
	margin-bottom: 0;
}

#footer-content {
	font-size: 70%;
	overflow: auto;
	height: 100px;
}

ul#menu-footer-menu {
	margin: 45px 0 0 0;
	list-style: none;
}

ul#menu-footer-menu li {
	float: left;
	padding: 0 5px 10px 0;
	margin-right: 5px;
}

ul#menu-footer-menu li a {
	color: #9b9b9b;
	text-decoration: none;
	text-transform: uppercase;
}

#footer-content {
	background: url(images/ucb-footer.png) no-repeat right;
}

#footer-content p {
	margin: 10px 0;
	clear: both;
	font-size: 10px;
	color:#9b9b9b;
}


/* 404 page */

/* Notices */

/* 
-------------------------------------------------------------- 
Image Attachments
-------------------------------------------------------------- 
*/

.image-attachment .entry-header, img.wp-post-image {
	margin-left: 0;
	width: 100%;
	height: auto;
	float: none;
}
.image-attachment div.entry-meta {
	float: left;
	font-size: .9em;
}
.image-attachment nav {
	float: right;
	margin: 0 0 1em 0;
	font-size: .9em;
}

.image-attachment .previous-image {
	margin-right: 10px;
}
.image-attachment .next-image {
	margin-left: 10px;
}
.image-attachment .entry-content {
	clear: both;
}
.image-attachment .entry-content .entry-attachment {
	background: #eee;
	margin: 0 0 1em;
	padding: 1em;
	text-align: center;
}
.image-attachment .entry-content .attachment {
	display: block;
	margin: 0 auto;
	text-align: center;
}


/* 
--------------------------------------------------------------
Images
-------------------------------------------------------------- 
*/

a img {
	border: none;
}
p img {
	margin-bottom: 1em; 
}


img.alignleft,
.wp-caption.alignleft {
	margin-right: 14px;
	padding-bottom: 14px;
	margin-top: 5px;
}
img.alignright,
.wp-caption.alignright {
	margin-left: 1.5em;
	margin-bottom: 1.5em;
	margin-top: 5px;
}
img.aligncenter,
.wp-caption.aligncenter {
	margin: 0 auto 1.5em auto;
	height: auto;
}
.wp-caption {
	padding: 10px;
	text-align: center;
	border: 1px #ccc solid;
}
.wp-caption img {
	margin: 0;
}
.wp-caption .wp-caption-text {
	margin: .5em;
	font-size: 80%;
}
.gallery-caption {
}
.wp-smiley {
	margin: 0;
}

/* END Images */

/*
--------------------------------------------------------------
Forms
--------------------------------------------------------------
*/

#searchform label {
	display: none;
}
#searchform input#s {
	width: 60%;
}
input[type=text],
input#s {
	margin: 0 1em 0 0;
	width: 60%;
}
textarea {
	width: 80%;
}

/* Class for labelling required form items */
.required {
	color: #cc0033;
}

/* END Forms */



/*
--------------------------------------------------------------
Media Query Mayhem
--------------------------------------------------------------
*/

@media only screen
and (min-width : 720px ) and (max-width : 1039px) {

	#wrapper {
		max-width: 720px;
	}

}

/******** END max width 1039 *********/

@media only screen
and (max-width : 719px ) {
	

	#header-search {
		right: 20px;
	}

	#header-search #searchform input#s {
		width: 175px;
	}

	#header_margin,
	.page-header h1,
	#related,
	#footer-sidebar ul	{
		padding: 20px;
	}

	.content {
		margin: 20px;
	}

	h1#recent {
		margin-left: 20px;
	}

	
	.header-container {
		margin-left: 0;
	}

	#header-title {
		margin-left: 0;
		width: 100%;
		float: none;
	}
	
	/* Jump main menu down */

	#main-nav {
		background: #fff;
		margin: 20px -20px -20px -20px;
		float: left;
	}


	#main-nav li {
		float: left;
		position: relative;
		margin: 0;
		border-right: 1px solid #E5E5E5;
		border-bottom: 1px solid #E5E5E5;
	}


	#main-nav a {
		display: block;
		padding: 10px 25px;
		text-decoration: none;
		color: #333;
		text-transform: uppercase;
		font-size: 0.8em;
	}

	#main-nav li:hover > a,
	#main-nav li:focus > a {
		color: #000;
	}


	#main-nav ul ul {
		top: 2.1em;
		margin-left: 10px;
		background-position: 30px 0px;
	}
} /* END max-width : 719px */

@media only screen
and (max-width : 320px ) {

	#pre-header {
		padding: 0px 10px;
	}

	#header-search {
		right: 10px;
	}


	#header_margin,
	.page-header h1,
	#related,
	#footer-sidebar ul	{
		padding: 10px;
	}

	.page-header h1 {
		padding: 20px 10px;
	}

	.content {
		margin: 20px 10px;
	}

	h1#recent {
		margin-left: 10px;
	}

	#related {
		padding: 20px 10px;
	}

	#footer-sidebar ul {
		padding: 20px 10px;
	}
	
} /* END max-width : 320px */