/*
Theme Name:     Medieval Studies
Theme URI:      http: //medieval.utoronto.ca/
Description:    Child theme for the Twenty Eleven theme 
Author:         Andrew Dunning
Author URI:     http://individual.utoronto.ca/dunning/
Template:       twentyeleven
Version:        0.1.0
*/

@import url("../twentyeleven/style.css");

a, .entry-title a:hover {
	color: #4D75A8;
}

article.feature-image.small .entry-summary p a:hover, .widget_search #searchsubmit:active, #respond input#submit:active {
	background: #4D75A8;
}

section.recent-posts .other-recent-posts .comments-link a:hover {
	color: #4D75A8;
	border-color: #4D75A8;
}

blockquote.pull {
	color: #042E6A;
}

#branding {
	border-top: 2px solid #042E6A;
}

#branding hgroup, #access div, .singular #content,
.left-sidebar.singular #content, .page-template-showcase-php #content,
.left-sidebar.page-template-showcase-php #content, .error404 #primary #content, .one-column #content, .one-column #secondary {
	margin: 0 3.7%;
}

#content {
	margin: 0 34% 0 3.7%;
}

#secondary {
	margin-right: 3.7%;
}

.left-sidebar #content {
	margin: 0 3.7% 0 34%;
}

.left-sidebar #secondary {
	margin-left: 3.7%;
}

#access a.assistive-text:active,
#access a.assistive-text:focus {
	left: 3.7%;
}

#branding #searchform {
	top: 84px;
	right: 3.7%;
}

#supplementary {
	padding: 1.625em 3.7%;
}

.featured-posts {
    border-bottom: 1px solid #ddd;
    display: block;
    height: 328px;
    margin: 1.625em 0 20px;
    max-width: 1000px;
    padding: 0;
    position: relative;
    overflow: hidden;
}

#site-title a {
	display: block;   
	width: 444px;
	height: 100px;
	background: url(images/cmslogo.png);
	text-indent: -9999px;
}

#site-description {
	text-indent: -9999px;
	margin: 0;
}

#page {
	margin: 0 auto;
}

.singular.page .hentry {
	padding: 2em 0 0;
}

#access {
	background: #042E6A; /* Show a solid color for older browsers */
	background: -moz-linear-gradient(#042E6A, #04295F);
	background: -o-linear-gradient(#042E6A, #04295F);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#042E6A), to(#04295F)); /* older webkit syntax */
	background: -webkit-linear-gradient(#042E6A, #04295F);
}

#site-generator, .nocomments {
	display: none;
}

#site-title {
	padding: 1.8em 0 0;
}

article.intro {
	margin: -1.855em -4% 1em;
	padding: 0 4%;
}

#content .feature-slider {
	right: 4%;
}

.error404 #main #searchform {
	margin: 0 -4% 1.625em;
	padding: 1.625em 4%;
}

.page-template-showcase-php #main .widget-area {
	margin: 0 -25% 0 0;
	width: 25%;
}

.page-template-showcase-php section.recent-posts {
	float: right;
	margin: 0 0 0 29%;
	width: 71%;
}

#branding #s {
	width: 92px;
}

.entry-title {
	font-size: 22px;
}

.entry-content, .entry-summary {
	padding: 1em 0 0;
}

section.recent-posts .other-recent-posts .category-link,
section.recent-posts .other-recent-posts .category-link > span {
	border-bottom: 2px solid #999;
	bottom: -2px;
	color: #444;
	display: block;
	font-size: 10px;
	font-weight: 500;
	line-height: 2.76333em;
	padding: 0.3125em 0 0.3125em 1em;
	position: absolute;
	right: 0;
	text-align: right;
	text-transform: uppercase;
	z-index: 1;
}
section.recent-posts .other-recent-posts .category-link > span {
	border-color: #bbb;
	color: #888;
}
section.recent-posts .other-recent-posts .category-link a:hover {
	color: #4D75A8;
	border-color: #1982d1;
}

section.recent-posts .other-recent-posts li {
	padding: 0.8em 0;
}

.gce-feed-1 {
	padding-bottom: 0.4em;
}

.gce-widget-list .gce-list .gce-list-event {
	background-color: white !important;
	font-weight: bold;
}

#toc_container {
	padding-left: 2.5em !important;
}

.page-id-198 td p {
	margin-bottom: 0;
}

.page-id-202 h2 {
	margin-bottom: 0;
}

@media (max-width: 800px) {
	#main #content, #main #secondary {
		margin: 0 3.7%;
	}
	.page-template-showcase-php .featured-posts {
		min-height: 150px;
	}
}

@media (max-width: 535px) {
	#site-title a {
		width: 333px;
		height: 75px;
		background-size: 100%;
	}
}

@media print {
	#toc_container {
		display: none;
	}
}

/* =IE7
----------------------------------------------- */

#ie7 article.intro {
	margin-left: -3.7%;
	margin-right: -3.7%;
	padding-left: -3.7%;
	padding-right: -3.7%;
	max-width: 1000px;
}
#ie7 .featured-posts
	margin-top: 0;
	margin-left: -3.7%;
	margin-right: -3.7%;
}
#ie7 section.featured-post {
	margin-left: 0;
	margin-right: 0;
	max-width: 100%;
}
#ie7 section.recent-posts {
	margin-right: 3.7%;
}