/*
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;
}

/*--------- toolbar scroller code --------*/
.fixed {
    position: fixed;
    top: 70px;
    z-index: 1;
}
.main-content .article-tools a, .main-content .article-tools a:visited, .main-content .article-tools-horizontal-mobile a, .main-content .article-tools-horizontal-mobile a:visited, .main-content .article-tools-horizontal a, .main-content .article-tools-horizontal a:visited{
	color: #3c5f8a;
}
/* for future me
.article-tools ul {
}
*/

.main-content .article-tools a:hover, .main-content .article-tools-horizontal-mobile a:hover, .main-content .article-tools-horizontal a:hover{
	color: #99b1cf;
}
/*.main-content .article-tools-horizontal a, .main-content .article-tools-horizontal a:visited */
/*--------- toolbar scroller code --------*/


/*--------- toolbar for mobile code --------*/
@media only screen and (min-width: 320px) {
	.article-tools-horizontal-mobile{
		display: block;
		visibility: visible;
	}
	.hideonphone{
		display: none;
		visibility: hidden;
	}
}

@media only screen and (min-width: 768px) {
	.article-tools-horizontal-mobile{
		display: none;
		visibility: hidden;
	}
	.hideonphone{
		display: block;
		visibility: visible;
	}
	ul.signin .headersocial{
		font-size:130%;
	}
} //end media ~768px
/*--------- toolbar for mobile code --------*/

ul.signin .headersocial a, ul.signin .headersocial a:visited{
	color:rgb(88, 130, 181);
}
ul.signin .headersocial a:hover{
	color:white;
}



/*--------- Tweetthis styling --------*/
  a.fyc_printfriendly {
      color: #333; background-color: #efefef; padding-left:5px;padding-right:2px;
      -o-transition:.5s;
      -ms-transition:.5s;
      -moz-transition:.5s;
      -webkit-transition:.5s;
      /* ...and now for the proper property */
      transition:.5s;
  }
  a.fyc_printfriendly:hover{
      transition:.5s;
      background-color:rgb(45, 73, 108);
      color:whitesmoke;
      text-decoration: none;
  }
  a.fyc_printfriendly .ss-icon {color:silver;}
  a.fyc_printfriendly:hover .ss-icon {color:#4099FF;}
/*--------- Tweetthis styling --------*/


/*----- 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;
}


/* Gravity Labels */
.gform_wrapper .ginput_complex.ginput_container label {
	margin-top: -6px;
}

/* Podcast Box */
.podcast_player {
  padding: 0.5em;
  border: 1px solid #eee;
  margin: .5em;
	background-color: #f5f5f5;
	width:95%;
}



.podcast_player .powerpress_player {
	padding-bottom: 0;
}

/*Override Player Width*/
.podcast_player .mejs-container {
	width: 100% !important;
}

.podcast_title {
	color: #2c4667;
	text-transform: uppercase;
	font-size: 1em;
	margin-bottom: 0.25em;
}

.podcast_desc {
	font-style: italic;
	margin-bottom: 0.25em;
	padding-left: 1em;
}

.podcast_promo {
	text-align: right;
	font-size: 0.8em;
	float: right;
	font-style: italic;
}

.download-content {
	float: none;
	text-align: center;
}




@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;
	}

	.categorythumbs {
		position: relative;
		overflow: hidden;
	}
	.captionimg {
		display:none;
		color:silver;
		position: absolute;
		/*background: url(images/trans-black-50.png);*/
		background: url(/wp-content/themes/knowledge/inc/img/trans-black-50.png);
		width: 100%;
		height: 100%-10px;
		padding-top:10px;
		font-family: "Merriweather", Georgia, Times, serif;
		font-family: Lato;
		font-size:1.3em;
		border-width: 1;
		vertical-align: middle;
		top:0;
		left:0;
		z-index: 200;
	}

	.categorythumbs a:hover{
		text-decoration: none;
	}

	.captionimg h3, .captionimg p {
		color: #fff;
		margin: 20px;
	}
	.captionimg h3 {
		margin: 20px 20px 10px;
	}

	.captionimg p {
		line-height: 1.5em;
		margin: 0px 20px 15px;
	}

	.podcast_player.dodge_pdf {
		width: 75%;
	}

	.download-content {
		float: right;
		text-align: left;
	}

} //end media win-width: 768px




@media only screen and (min-width: 768px) and (max-width: 967px) {
	.story .captionimg{
		height:100%;
		width:100%;
	}
	.captionimg p {
			font-size: .6em;
		}

}


@media only screen (min-width: 968px) and (max-width: 1071px) {
	.story .captionimg{
		height:230px;
		width:100%;
	}
	.story .captionimg p, .category-thumbs .captionimg p{
		font-size: .75em;
		position: absolute;
		bottom: 0;
	}
}


@media only screen and (min-width : 1072px) {
	.captionimg p{
			font-size: .75em;
			position: absolute;
			top: 10;
		}
	.story .captionimg{
		height:230px;
		width:100%;
	}
	.story .captionimg p{
		position: absolute;
		bottom: 0;
		font-size: .85em;
	}

	.captionimg{
			height:164px;
			max-width: 100%;
	}
}
