/*
Theme Name: RISD Furniture Department Theme
Theme URI: http://wordpress.org/extend/themes/toolbox
Author: Elaine Dunlap
Author URI: http://thedesignoffice.org
Description: A semantic, HTML5, canvas for CSS artists and an ultra-minimal set of super-clean templates for your own WordPress theme development.
Template: toolbox
Version: 1.0
License: GNU General Public License
License URI: license.txt
Tags: custom-menu, sticky-post, microformats, rtl-language-support, translation-ready, full-width-template, post-formats

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* =Reset
-------------------------------------------------------------- */
body {
	font-family: Helvetica, Arial, sans-serif;
	font-size: .8em;
}
a {
	color: black;
	text-decoration: none;
}
ul {
	list-style: none;
	padding: 0;
	
}
h1 {
	font-size: 1.2em;
}
p {
	line-height: 1.4em;
}

/* =Structure
-------------------------------------------------------------- */
#page {
	display: block;
	margin: 1em auto;
	width: 960px;
}
#primary {
	float: left;
	margin: 5px -240px 0 150px;
	padding-left: 2em;
    width: 80%;
    min-height: 470px;
}
#content {
	margin: 0 280px 0 0;
}
#main .widget-area {
	float: right;
	overflow: hidden;
	width: 220px;
}
#colophon {
	clear: both;
	display: block;
	width: 100%;
	color: gray;
	font-size: .7em;
}

/* Increase the size of the content area for templates without sidebars */
.full-width #content,
.image-attachment #content,
.error404 #content {
	margin: 0;
}

/* Text meant only for screen readers */
.screen-reader-text,
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}


/* =Header
-------------------------------------------------------------- */

#site-title {
	font-size: 1em;
	font-weight: normal;
	margin: .67em 0;
	display: inline;
}
#site-description {
	font-size: 1em;
	font-weight: normal;
	margin: 0 0 1em;
	display: inline;
	font-weight: bold;
}
#branding {
	padding: 0 2em;
	position: relative;
}
#branding hgroup {
	display: inline;
}

/* =Menu
-------------------------------------------------------------- */

#access {
	display: block;
	float: left;
	margin: 15px auto 1em -1em;
	width: 102.5%;
	border-bottom: 1px solid gray;
}
#access ul {
	list-style: none;
	margin: 0;
	padding-left: -1em;
	position: relative;
}
#access li {
	float: left;
	
}
#access a {
	display: block;
	line-height: 2em;
	padding: 0 1em;
	text-decoration: none;
}
#access ul ul {
	/*box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);*/
	display: none;
	float: left;
	position: absolute;
	top: 4em;
	left: 0;
	z-index: 999999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	/*background: #dedede;*/
	line-height: 1em;
	padding: .5em .5em .5em 1em;
	width: 10em;
	height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {
	/*background: #dedede;*/
	/*color: gray;*/
}
#access ul ul a:hover {
	/*background: #cecece;*/
	color: gray;
}
#access ul li:hover > ul {
	/*display: block;*/
}
#access ul ul li {
	float: none;
}
.single-exhibitions #menu-main-menu li:first-child a,
.single-projects #menu-main-menu li:first-child a,
#access .current-menu-parent a,
nav#secondary .current-menu-item a {
	color: #5BC4C9;
}
#access .current-menu-parent .sub-menu a {
	color: black;
}
.single-projects #menu-main-menu li:first-child ul.sub-menu,
#access .current-menu-ancestor .sub-menu {
	display: block;
}
#access .current_page_item a,
ul#gallery-nav .current-menu-item a,
#access .current-menu-parent .sub-menu .current-menu-item a {
	color: #5BC4C9;
}
nav#secondary {
	position: absolute;
    right: 20px;
    top: 35px;
    width: 200px;
}
nav#secondary li {
	float: left;
}
nav#secondary li a {
	padding: 0 1em;
}
#gallery-nav li {
line-height: 1em;
margin-bottom: 1em;
}
ul#gallery-nav {
	margin-bottom: 80px;
}
.gallery-menu ul#gallery-nav {
	width: 150px;
	float: left;
}
#gallery-page-text {
	float: left;
	width: 300px;
}
#gallery-header {
	clear: both;
	overflow: auto;
}


/* =Content
-------------------------------------------------------------- */

.sticky {
}
.entry-meta {
	clear: both;
	display: block;
}
.single-author .entry-meta .byline {
	display: none;
}
#content nav {
	display: block;
	overflow: hidden;
}
#content nav .nav-previous {
	float: left;
	width: 50%;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content #nav-above {
	display: none;
}
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}
#nav-below {
	margin: 1em 0 0;
}
.page-link {
	clear: both;
	margin: 0 0 1em;
}
.page .edit-link {
	clear: both;
	display: block;
}

/* 404 page */
.error404 .widget {
	float: left;
	width: 33%;
}
.error404 .widget .widgettitle,
.error404 .widget ul {
	margin-right: 1em;
}
.error404 .widget_tag_cloud {
	clear: both;
	float: none;
	width: 100%;
}

/* Notices */
.post .notice,
.error404 #searchform {
	background: #eee;
	display: block;
	padding: 1em;
}

/* Image Attachments */
.image-attachment div.entry-meta {
	float: left;
}
.image-attachment nav {
	float: right;
	margin: 0 0 1em 0;
}
.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;
}

/* Aside Posts */
.format-aside .entry-header {
	display: none;
}
.single .format-aside .entry-header {
	display: block;
}
.format-aside .entry-content,
.format-aside .entry-summary {
	padding-top: 1em;
}
.single .format-aside .entry-content,
.single .format-aside .entry-summary {
	padding-top: 0;
}

/* Gallery Posts */
.format-gallery .gallery-thumb {
	float: left;
	margin: 0 1em 0 0;
}
.gallery-info {
	width: 240px;
	height: 485px;
	float: left;
	margin: 0px 40px 0 0;
	position: relative;
}
.gallery-info h2 {
	font-size: 1em;
	line-height: 2em;
	border-bottom: 1px solid gray;
	margin-left: -6px;
	padding-left: 6px;
}
.gallery-info p {
	margin-right: 15px;
}
/* Main Gallery Page */
.rf-post-window {
    height: 190px;
    margin-bottom: 30px;
    overflow: hidden;
    width: 825px;
}
.rf-post-window {
	float: left;
	position: relative;
}
.rf-post-window ul {
	margin: 0;
	width: 1100px;
	position: absolute;
	top: 0;
	left: 0;
}
.rf-post-window ul li {
	float: left;
	margin-right: 15px;
	position: relative;
}
.rf-post-title {
	position: absolute;
	top: 40%;
	left: 0;
	margin: 0 auto;
	text-align: center;
	width: 100%;
}
.gallery-page #content {
	margin: 0;
}
.gallery-menu .rf-more-posts {
	margin: 0;
}
.gallery-menu .rf-more-title {
	margin-top: 168px;
}

/* Single Gallery Page */
.rf-current-thumb {
	opacity:0.6;
	filter:alpha(opacity=60); /* For IE8 and earlier */	
}
.rf-more-posts {
	float: left;
	margin-top: 40px;
}
.rf-post-nav {
	float: left;
	width: 116px;
	cursor: pointer;
	position: relative;
	height: 30px;
}
.rf-more-prev {
	position: absolute;
	bottom: 0;
	left: 0;
}
#rf-img-count {
	position: absolute;
	bottom: 8px;
	right: 10px;
}
.main-gallery {
	position: relative;
	float: left;
}
#img-nav {
	position: absolute;
	width: 640px;
	height: 485px;
	z-index: 5000;
	cursor: pointer;
}
#img-nav .hover {
	float: left;
}
#img-nav .hover.next {
	float: right;
}
#img-nav .hover #next {
	height: 67px;
	width: 67px;
	position: absolute;
	top: 45%;
	right: 28px;
	background: url(images/next.gif) no-repeat;
}
#img-nav .hover #prev {
	height: 67px;
	width: 67px;
	position: absolute;
	top: 45%;
	left: 28px;
	background: url(images/prev.gif) no-repeat;
}
.rf-no-back,
.rf-no-next {
	display: none;
}
#img-nav div {
	width: 50%;
	height: 100%;	
}
.single-exhibitions ul.gallery-images,
.single-projects ul.gallery-images {
	position: relative;
}
.single-exhibitions ul.gallery-images li,
.single-projects ul.gallery-images li {
	position: absolute;
	top: 0;
	left: -3000px;
	z-index: 1000;
}
#primary.gallery-page {
	margin-left: 0;
    margin-right: 0;
    width: 100%;
}

ul.gallery-images li.rf-current {
	z-index: 2000;
	left: 0;
}


/* Image Posts */
.format-image .entry-header {
	display: none;
}
.single .format-image .entry-header {
	display: block;
}
.format-image .entry-content,
.format-image .entry-summary {
	padding-top: 1em;
}
.single .format-image .entry-content,
.single .format-image .entry-summary {
	padding-top: 0;
}

.page h1.entry-title {
	display: none;
}


/* Directory Styles */

h1.year{
	clear: both;
	font-size: 1em;
	margin: 0;
}
.level-titles {
	border-bottom: 1px solid gray;
	overflow: auto;
	margin-top: .8em;
}
.level-titles h2 {
	float: left;
	padding: 0;
	margin: 0 0 4px 0;
	font-size: .8em;
	width: 140px;
}
.directory ul{
	float: left;
	width: 140px;
	line-height: 1.4em;
}
.directory {
	width: 280px;
	float: left;
	margin-top: 1em;
}
.page-template-faculty-page-php .directory {
	margin-top: 0;
}
.class-list {
	margin-bottom: 4em;
	float: left;
}
.col-1 {
	float: left;
	width: 200px;
	margin-right: 50px;
}
.page-template-directory-page-php #content,
.page-template-faculty-page-php #content {
	width: 600px;
	margin: 0;
}

/* =Images
-------------------------------------------------------------- */

a img {
	border: none;
}
p img {
	margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
img.alignleft {
	margin-right: 1em;
}
img.alignright {
	margin-left: 1em;
}
.wp-caption {
	padding: .5em;
	text-align: center;
}
.wp-caption img {
	margin: .25em;
}
.wp-caption .wp-caption-text {
	margin: .5em;
}
.gallery-caption {
}
.wp-smiley {
	margin: 0;
}


/* =Forms
-------------------------------------------------------------- */
#header-search {
	float: right;
}

#searchform {
	width: 200px;
	position: relative;
}
#searchform label {
	display: none;
}
#searchform input#s {
	background: none repeat scroll 0 0 #F2F2F2;
    border: 0 none #F2F2F2;
    height: 2em;
}
input#searchsubmit{
	background: #F2F2F2;
	border: #F2F2F2;
	height: 2em;
	padding: 0;
	margin: 0;
	position: absolute;
	right: 4px;
	top: 2px;
}
input[type=text],
input#s {
	margin: 0;
	width: 176px;
	padding: 2px 20px 2px 4px;
}
textarea {
	width: 80%;
}

/* Class for labelling required form items */
.required {
	color: #cc0033;
}


/* =Comments
-------------------------------------------------------------- */

article.comment {
	display: block;
}
#respond input[type=text] {
	display: block;
	width: 60%;
}
#respond textarea {
	display: block;
	margin: 0 0 1em;
	width: 80%;
}
#respond .form-allowed-tags {
	clear: both;
	width: 80%;
}
#respond .form-allowed-tags code {
	display: block;
}


/* =Widgets
-------------------------------------------------------------- */

.widget {
	display: block;
}
.widget-area .widget_search {
	overflow: hidden;
}
.widget-area .widget_search input {
	float: left;
}
/* calendar widget */
.blog .ai1ec-agenda-widget-view h3.ai1ec-date-title {
	background: white;
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: gray;
    float: left;
    font: inherit !important;
    margin: 0 !important;
    text-align: left;
    text-shadow: none;
    width: inherit;
}
.blog .ai1ec-agenda-widget-view .ai1ec-month {
    background: none;
    background-color: inherit;
    color: gray;
    font-size: 1.2em !important;
    letter-spacing: inherit;
    padding: 0;
    text-transform: none;
    text-shadow: none;
    display: inline;
}
.blog .ai1ec-agenda-widget-view .ai1ec-day {
    font-size: 1.2em !important;
    padding: 0 !important;
    display: inline;
}
.blog .ai1ec-agenda-widget-view .ai1ec-weekday {
	display: none;
}
.blog .ai1ec-agenda-widget-view .ai1ec-date.ai1ec-today,
.blog .ai1ec-agenda-widget-view .ai1ec-date {
	background: white;
}
.blog .ai1ec-agenda-widget-view .ai1ec-event {
    clear: right;
    font-family: inherit !important;
    font-size: 1.2em;
    line-height: 1.3em;
    margin: 0 !important;
    overflow: hidden;
    padding: 0 !important;
    position: relative;
}
.blog .ai1ec-agenda-widget-view .ai1ec-event.ai1ec-allday a {
    background: none;
    border: medium none;
    color: gray;
}
.blog .ai1ec-agenda-widget-view .ai1ec-event.ai1ec-allday a:hover {
    background: none;
    border: medium none;
    color: black;
}
.blog .ai1ec-agenda-widget-view .ai1ec-date-events {
    clear: both;
    margin: 0 !important;
    overflow: hidden;
    padding: 0 !important;
}
.blog .ai1ec-agenda-widget-view .ai1ec-event a {
    background: none repeat scroll 0 0 #FFFFFF;
    border: none;
    border-radius: 0;
    color: gray;
    display: block;
    padding: 0 !important;
    text-decoration: none !important;
}
.blog .ai1ec-agenda-widget-view li,
.blog .ai1ec-agenda-widget-view .ai1ec-date.ai1ec-today {
    border-bottom: 1px solid gray;
}
.blog .widget_advanced_featured_post_widget #col{
	display: none;
}
.blog #secondary.widget-area aside {
	margin-bottom: 4em;
}
/* =Footer
-------------------------------------------------------------- */

#colophon {
	padding: 4em 2em 0;
}
