/*
Theme Name: Knowledge @ Wharton
Theme URL: http://webdevstudios.com/wordpress/support-packages/
Description: This is a theme for the Knowledge @ Wharton project
Author: WebdevStudios LLC
Author URI: http://webdevstudios.com
Version: 1.0
*/

img {
	height: auto; 
	/* global img rule in master.css includes a max-width: 100%; this produces some distortion in images. height: auto will make them resize proportionally */
}

#main-nav .ss-dropdown::after {
	font-size: 10px;
}


/*----- WP Images ----*/
.aligncenter,
a img.aligncenter {
	display: block;
	margin: 0 auto;
	text-align: center;
}

.alignleft,
a img.alignleft {
	float: left;
	margin: 0 1em 1em 0;
}

.alignright,
a img.alignright  {
	margin: 1em auto;
	display: block;
}

.alignnone {	
}

.wp-caption {
    max-width: 96%; /* Image does not overflow the content area */
    /*padding: 5px 3px 10px;*/
    text-align: left;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}



.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    margin: 0;
}

#header-logo {
	position: relative;
}
#header-logo a {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-indent: -9999px;
}


/* Easy override of CSS for submit button on comments */ 
form#commentform input[type="submit"] {
	display: inline-block;
	padding: 6px 11px;
	margin-bottom: 0px;
	border: none;
	border-image-source: initial;
	border-image-slice: initial;
	border-image-width: initial;
	border-image-outset: initial;
	border-image-repeat: initial;
	font-weight: normal;
	font-family: Lato, Helvetica, Arial, sans-serif;
	font-size: 1.6rem;
	line-height: 1.5em;
	color: white;
	text-align: center;
	vertical-align: middle;
	background-color: rgb(60, 95, 138);
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
	border-top-left-radius: 4px;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	cursor: pointer;	
}
.comment-avatar img {
	margin-bottom: 1.5em;
}

/* firefox needs an explicit width for this A for the child IMG to hit 100% */
.main-content .video-picks-menu a {
	width: 100%;
}
.category-partner-collaborations.excerpt h5 {
	color: rgb(170, 61, 61);
}
/* override gforms */

.gform_wrapper .top_label input.medium, .gform_wrapper input[type=text], .gform_wrapper input[type=url], .gform_wrapper input[type=email], .gform_wrapper input[type=tel], .gform_wrapper input[type=number], .gform_wrapper input[type=password] {
	padding: 10px !important; 
}

.post-type-archive #category-main p.entry {
	margin-left: 2em;
	margin-bottom: 0.5em;
}
.category.newsletter span.label,
#home-categories .category.newsletter input.submit {
	display: none;
}
.category.newsletter {
	color: rgb(113, 140, 173);
	padding: 10px;
	font-family: Lato, sans-serif;

}
footer .informed input.go {
	display: none;
}

.single-professor #load-more a {
	margin: 0;
}
.single-professor #load-more a.previous {
	float: left;
	width: 49%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.single-professor #load-more a.next {
	float: right;
	width: 49%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.single-professor #load-more:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
aside .newsletter-widget {
	background: rgb(45, 63, 87);
	padding: 5%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;	
	font-family: Lato, sans-serif;
}
aside .newsletter-widget form {
	margin: 0;
}
aside .newsletter-widget h5 {
	color: white;
}
aside .newsletter-widget p {
	color: rgb(168, 186, 207) !important;
}
aside .newsletter-widget input.go {
	display: none;
}


/* Add new Footer Social media icons */
footer .footersocial{
	margin-top:10px;
}
footer .footersocial li{
	list-style: none;
	display: inline;
}
footer .footersocial li a, footer .footersocial li a:visited{
	font-size:130%;
	color:rgb(88, 130, 181);
}
footer .footersocial li a:hover{
	color:white;
}

.category.newsletter .footersocial li{
	list-style: none;
	display: inline;
}
.category.newsletter .footersocial li a, .category.newsletter .footersocial li a:visited{
	color:rgb(88, 130, 181);
	font-size:130%;
}
.category.newsletter .footersocial li a:hover{
	color:white;
}	


	
#article-main p{
	z-index: 0;
	position: relative;
}

.article-hero-wrapper{
	z-index: 1;
	position: relative;
}

.slider{
	position: fixed;
	z-index: 6;
}

.twocol{
	position: relative;
	z-index: 6;
}
								.citation{
									position:relative;
									top:-300px;
									padding:20px;
									left:150px;
									width:200%;
									z-index: 1000;
									background-color: #efefef;							
									border:1px solid rgb(153, 177, 207);
									display:none;
									-moz-box-shadow: 0 0 5px #888;
									-webkit-box-shadow: 0 0 5px#888;
									box-shadow: 0 0 5px #888;						
									font-size:0.8em;		
								}
								.citation h2{
									margin-bottom:0px;
									font-size:1.5em;
								}

								.citation a{
									display: inline;
								}	
								.citation code{
									margin-left:150;
								}
								.citation h3,  h4{
									color: rgb(153, 177, 207);
									margin-bottom:2px;
									margin-top:12px;
								}

							 
aside ul{
	padding:0;
}

aside ul li{
	list-style: none;
	margin-bottom:15px;
}



@media only screen and (min-width: 768px) {
	#top-bar .wrapper {
		position: relative;
	}
	a#wharton {
		display: block;
		position: absolute;
		left: 0;
		top: 0;
		width: 150px;
		height: 50px;
		text-indent: -9999px;
	}


#home-categories .category.newsletter{
	height:219px;
	padding-top:20px;
}
#home-categories .category.podcast{
	height:219px;
	padding-top:5px;
}
	

}