/*
Theme Name: UC Berkeley Italian Department
Theme URI: http://italian.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;
	font-size: 14px;
	color: #603913;
	background-color: white;
	padding: 15px 0 0 0;
}

#wrapper {
	position: absolute;
	min-height: 99%;
	width: 100%;
}

.wideness {
	width: 1015px;
	margin: auto;
}

.post-container {
	padding: 0 30px;
	margin: 0 0 50px 290px;
	border-left: 1px solid black;
}

.content {
	padding-bottom: 50px;
	overflow: auto;
}

.page {
	padding: 0;
	overflow: auto !important;
}

.welcome {

}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}

.alignright {
	display: inline;
	float: right;
}

.aligncenter {
	display: block;
	margin: 0 auto;
}

ul.pagination {
	list-style: none;
	overflow: auto;
}

ul.pagination li{
	float: left;
	padding: 3px 8px;
	margin-right: 5px;
}

/* END General structure */


/*
--------------------------------------------------------------
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 {

}

h1 {
	font-size: 24px;
	font-family: "trajan-sans-pro",sans-serif;
	font-weight: normal;	
}

h2 {
	font-size: 20px;
	font-family: "trajan-sans-pro",sans-serif;
}

h3 {
	font-size: 18px;
	font-family: "trajan-sans-pro",sans-serif;
}

h4 {
	font-size: 15px;
}

h5 {
	font-size: 15px;
}

h6 {
	font-size: 15px;
}


p, li {
	font-size: 14px;
	margin: 0 0 15px 0;
}

p {
	line-height: 1.6;
}

a:link, a:visited {
	color: #89431b;
}

a:hover,
a:focus {
	text-decoration: underline;
}

td {
	padding: 8px;
}

table {
	margin-bottom: 20px;
}

ul {
	list-style:disc;
	margin:0 0 20px 20px;
}

/* END Global Styles */

/* 
-------------------------------------------------------------- 
Header
-------------------------------------------------------------- 
*/

#site-header {
	margin-bottom: 50px;
}


.header-content {

}

#site-header.home h1 {
	background: url(images/headers/home.jpg) no-repeat;
	margin: 0;
}

#site-header.undergraduate h1 {
	background: url(images/headers/programs.jpg) no-repeat;
	margin: 0;
}

#site-header.graduate h1 {
	background: url(images/headers/programs.jpg) no-repeat;
	margin: 0;
}

#site-header.people h1 {
	background: url(images/headers/people.jpg) no-repeat;
	margin: 0;
}

#site-header.courses h1 {
	background: url(images/headers/courses.jpg) no-repeat;
	margin: 0;
}

#site-header.studyabroad h1 {
	background: url(images/headers/study_abroad.jpg) no-repeat;
	margin: 0;
}

#site-header.news h1 {
	background: url(images/headers/news.jpg) no-repeat;
	margin: 0;
}

#site-header.amici h1 {
	background: url(images/headers/amici.jpg) no-repeat;
	margin: 0;
}

#site-header h1 a {
	text-indent: -9999px;
	height: 139px;
	margin: 0;
	display: block;
}

#site-header.home h1 a {
	text-indent: -9999px;
	height: 413px;
	margin: 0;
	display: block;
}

/* Header menu */


#main-nav {
	clear: both;
	height: 34px;
	margin: 20px 0 0 0;
	font-size: 15px;
	background-color: black;
}

#main-nav ul {
	list-style: none;
}

#main-nav li {
	float: left;
	position: relative;
	margin: 0 12px;
}

#main-nav ul li a {
	display: block;
	padding: 7px 5px;
	color: white;
	text-decoration: none;
	text-transform: uppercase;
}

#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: 27px;
	left: -18px;
	z-index: 10000;
	background-color: white;
	border: 1px solid #e5e5e5;
	border-radius:3px;
}


#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 {
	text-transform: none;
	color: black;
	line-height: 1em;
	width: 14em;
	height: auto;
	padding: 16px 15px 2px 15px;
	border: none;
	font-size: 13px;
	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 {
	
}

/* 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;
	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;
}


#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-header {
	overflow: auto;
	margin-bottom: 15px;
}

.the-thumbnail {
	margin: 7px 15px 8px 0;
	float: left;
	max-width: 150px;
	overflow: hidden;
}


.entry-content {

}

.entry-title, index-title, page-title {
	text-transform: uppercase;
	margin: 0 0 10px 0;
	word-wrap: break-word;
}

.footer-meta {
	margin: 1em 0;
}

blockquote {
	margin: 20px;
	padding-left: 10px;
	border-left: 1px #ccc solid;
	font-style: italic;
	line-height: 1.4em;
	border-left-color: #EFEFEF;
	border-left-width: 10px;
}


div.entry-content-wrapper>ul li {
	margin-bottom: 5px;
}

ul.person-details {
	padding: 0;
	margin: 0 0 15px 0;
	list-style: none!important;
}

ul.person-details li{
	padding: 0;
	margin: 0 0 4px 0;
}

/****************** INDEX **********************/

.index-post-container {
	overflow: auto;
	margin-bottom: 20px;
}

.index-title a {
	text-decoration: none;
	text-transform:uppercase;
}


.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: 10px 0;
}

.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 {
	
}

.page-header {

}
.page-header h1 {
	font-weight: 100;
	text-transform: uppercase;
	margin: 0;
	padding: 0 0 20px 0;
}



/********************************
					WELCOME
				****************************/
.welcome-content p{
	line-height: 1.4;
	margin: 0 30px 20px 0px;
}

.welcome-title {
	font-size: 38px;
	font-weight: 400;
	text-transform: uppercase;
	margin: -14px 0 0 0;
	padding: 0;
	word-wrap: break-word;
	z-index: 9000;
}

.posts-home {
	border: 1px solid #e5e5e5;
	width: 33%;
	margin: 0 0 50px 30px;
}

.posts-home h2 {
	background: #e5e5e5;
	padding: 15px;
	margin: 0;
	text-transform: uppercase;
	font-size: 28px;
}

.posts-home ul {
	margin: 35px 15px;
}

.posts-home ul li{
	margin-bottom: 25px;
	border-bottom: 1px solid #e5e5e5;
}

.index-post-title {
	font-size: 18px;
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
}

h1.index-post-title a {
	text-decoration: none;
}

/********* COURSES IN ENGLISH  **************/

h1.welcome-courses {
	background:url(images/courses-in-english-banner.jpg) no-repeat;
	height: 46px;
	text-indent: -99999px;
}

ul.course-list-home {
	list-style: none;
	margin: 20px 0 0 0;
	padding-bottom: 40px;
}

ul.course-list-home li.course-list-home-item a{
	font-weight: bold;
	text-decoration: none;
}

h3.home-course-title {
	
}

/********************
			EVENTS!
			*******************/
div.event-complete-wrapper {
	margin-bottom: 50px;
}

.event-wrapper {
	overflow: auto;
	padding-bottom: 5px;
	border-bottom: 1px solid #e5e5e5;
	margin-bottom: 20px;
}

h1.event-title {
	font-size: 20px;
}

h1.event-title a{
	text-decoration: none;
}

h1.event-title a:hover{
	text-decoration: underline;
}

h2.event-speaker {
	font-size: 15px;
	font-weight: normal;
}


/*******************
		COURSES PAGES
		************************/

.courses-directory {
	padding: 0 0 0 30px;
	margin-left: 290px;
	border-left: 1px solid black;
}

span.course-type-links {
	color: #eee;
	font-weight: bold;
	font-size: 12px;
	letter-spacing: .2em;
}

span.course-type-links a{
	color: #aaa;
	font-weight: bold;
	text-decoration: none;
	font-size: 12px;
	letter-spacing: .02em;
}

h2.course-category-title {
	background: #89431b;
	color: white;
	font-weight: normal;
	padding: 5px 0 5px 15px;
	margin: 20px 0 10px 0;
	font-size: 22px;

}

.individual-course-container {
	overflow: auto;
	margin: 0 0 0 17px;
}

.course-header {
	padding-top: 14px;
}

h1.course-title {
	font-size: 16px;
}

.section-spacing, .ls-breadth {
	margin-bottom: 5px;	
}

/***********************
		DIRECTORY PAGES
		*************************/

.people-directory-container {
	overflow: auto;
	padding-bottom: 25px;
	margin-bottom: 25px;
	border-bottom: 1px solid #999;
}

article.people-directory-container:last-child {
	border-bottom: none;
}

.people-header {
	margin: 0 0 0 175px;
}

.people-content {
	margin: 10px 0 0 175px;
}

.people-thumbnail {
	width: 151px;
	Height: auto;
	margin: 0 20px 20px 0;
	padding: 5px 0 0 0;
	float: left;
}

h1.staff-list-title {
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 18px;
}

h1.staff-list-title a {
	text-decoration: none;
	color: #25689a;
}

h2.person-title {
	font-size: 13px;
	font-weight: normal;
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	margin-bottom: 20px;
}

p.people-email {
	margin-bottom: 2px;
}

ul.staff-details {
	overflow: auto;
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.staff-details li {
	float: left;

	padding: 0 8px;
}

ul.staff-details li:last-child {
	border-right: none;
}

ul.staff-details li:first-child {
	padding: 0 8px 0 0;
}


/*****   SINGLE PERSON   *********/

ul.single-person-details{
	list-style: none;
	margin-left: 0;
}

ul.single-person-details li{
	float: left;
	margin: 0 15px 0 0;
}

ul.single-person-details li.pi-item{
	float: none;
	margin: 0 15px 0 0;
}

ul.single-person-details li.person-position {
	display: block;
	clear: both;
	float: none;
}


/**************************
			SIDEBAR
			*************************/


#sidebar {
	width: 280px;
	float: left;
	padding:0;
	font-weight: bold;
}

#sidebar h2 {
	text-transform: uppercase;
	margin-top: 20px;
	word-wrap: break-word;
}


#sidebar .children {
	margin-left: 0.5em;
	padding: 0!important;
	float: none;
}

#sidebar ul {
	margin: 5px 0 0 0;
	list-style: none;
}


#sidebar ul li {
	padding: 0;
	margin:2px 0 8px 0;
	line-height: 1.2;
}

#sidebar ul li a {
	text-decoration: none;
	display: block;
	text-transform:uppercase;
	color: black;
	-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;
}

.rsswidget {
	margin-bottom: 10px;
}

#sidebar ul li a:hover,
#sidebar ul li a:focus {

}

#sidebar ul li.current_page_item > a {
	color:#333;
}

UL.sub-menu {
	margin: 5px 0 15px 0!important;
}

ul.sub-menu li a {
	font-size: 90%;
	font-weight: normal;
}

/* SEARCH */

#search {
	width: 200px;
	padding: 10px 0;
	margin-bottom: 20px;
}

#search input:focus {
	outline: 1px solid #eaeaea;
}
#search #searchform {
	display: block;
	clear: both;
}
#searchform label {
	display: none;
}
#searchform input#s {
	width: 60%;
}
#search #searchform label {
	display: none;
}
#search #searchform input#s {
	width: 500px;
}

#search input#s {
	border: 2px solid #ddd;
	padding: 3px 0px 3px 8px;
	margin: 0;
	color: #333;
	background: white;
	font-size: 0.7em;
}
#searchsubmit {
	font-size: 12px;
	padding: 2px 3px 1px 3px;
	width: 50px;
}

input {
	border: 1px solid #ddd;
	box-shadow: 0;
}


/* EVENT CALENDAR */

TABLE#wp-calendar {
	margin: 0 0 40px 0;
}

caption {
	font-size: 19px;
	padding-bottom: 6px;
}

TD.eo-future-date, TD.eo-past-date, TD.today {
	font-size: 17px;
	padding: 5px 7px;
	text-align: center;
}

TD.today {
	border: 1px solid #e5e5e5;
}

TD.eo-past-date {
	color:#9b9b9b;
	background-color: #f3f4ec;
}

TD.eo-future-date a:link, TD.eo-future-date a:visited {
	color: white;
	background:#89431b;
	padding: 2px;
}


/******************************
				HOME EVENT SIDEBAR
				***********************/

.home-event-wrapper {
	padding-bottom: 1px;
	border-bottom: 2px #e5e5e5 solid;
	margin-bottom: 6px;
}

.event-home-thumb {
	max-width: 100px;
	height: auto;
	clear: both;
}

h2.events-home-sidebar-title {
	margin-top: 0!important;
}

h1.event-home-title {
	font-size: 14px;
	padding: 0;
	margin: 0;
	line-height: 1;
}

h1.event-home-title a{
	text-decoration: none;
}

h1.event-home-title a:hover{
	text-decoration: underline;
}

.event-home-copy {
	font-size: 12px;
	font-weight: normal;
	line-height: 1;
}


/* Notices */

/* 
-------------------------------------------------------------- 
Image Attachments
-------------------------------------------------------------- 
*/

img.attachment-post-thumbnail, img.attachment-thumbnail {
	max-width: 100%;
	height: auto;
}

.image-attachment .entry-header, .image-attachment .index-header {
	margin-left: 0;
	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: 1.5em;
	margin-bottom: 1.5em;
	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;
	background-color: white;
	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
--------------------------------------------------------------
*/

input[type=text],
input#s {
	margin: 1px 0 0 0;
}
textarea {

}

/* Class for labelling required form items */
.required {
	color: #cc0033;
}

/* END Forms */

/*
--------------------------------------------------------------
Footer
--------------------------------------------------------------
*/

#footer-wrapper {
	width: 100%;
	position: absolute;
	background: #ccc;
	bottom: 0;
}

#footer {
	padding: 30px 0;
	margin: auto;
	background: #ccc;
	bottom: 0;
}

#footer-content {
	overflow: auto;
	margin: auto;
	background: url(images/footer_left.png) no-repeat;
	padding-left: 300px;
	width: 715px;
}

#footer-id {
	background: url(images/footer-id.png) no-repeat bottom right;
}

.footer-nav {

}

ul#menu-footer-menu {
	margin: 10px 0 0 0;
	list-style: none;
}

ul#menu-footer-menu li {
	float: left;
	padding: 0 8px 0 0;
	margin-right: 8px;
}

ul#menu-footer-menu li:last-child {
	border-right: none;
}

ul#menu-footer-menu li a {
	color: #003333;
	font-size: 13px;
}


#footer-content p {
	margin: 10px 0;
	clear: both;
	font-size: 10px;
}

