/*
Theme Name: Universia Knowledge@Wharton - Portuguese
Theme URL: http://www.knowledgeatwharton.com.br
Description: Portuguese Localized Knowledge@Wharton Theme
Author: Knowledge@Wharton
Author URI: http://knowledge.wharton.upenn.edu
Version: 1.1
*/

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

#header-logo {
	background: url(inc/img/logoCompact.png) 0 0 no-repeat;
	height: 40px;
	margin: 0;
	margin-left: 10px;
	width: 131px;
}


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

/*----- 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: #ccc;
	padding: 10px;
	font-family: Lato, sans-serif;

}
.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 {
	-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 input.go {
	display: none;
}


.footer-about {
	background:
		url(inc/img/universia_logo.png) 0 0 no-repeat,
		url(inc/img/logoCompact.png) 0 50px no-repeat;
	padding-top: 60px;
	height: 40px;
}



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



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

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

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

	#header-logo {
		background: url(inc/img/header-logo.png) 0 0 no-repeat;
		height: 28px;
		margin: 0;
		width: 463px;
	}

	/* Main Menu */
	#main-nav li{
		width:12.0%
	}

	#main-nav li.longli a{
		padding: 4px 6%;
		line-height:17px;
	}

	.footer-btm {
		padding-right: 200px;
	}


	.categorythumbs {
		position: relative;
		overflow: hidden;
	}
	.captionimg {
		display:none;
		color:silver;
		position: absolute;
		/*background: url(images/trans-black-50.png);*/
		background: url(/wp-content/themes/universiaknowledge/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.1em;
		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;
	}

} //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: relative;
		/*  bottom: ; */
		font-size: .75em;
	}

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