/*
Theme Name: MCD
Theme URI: http://mcdmag.com/
Description: A WordPress theme for Medical Construction and Design Magazine.
Version: 1.0
Author: Honest Code
Author URI: http://honestcode.com/
*/

* {
	font-family: "proxima-nova", "Helvetica Neue", Arial, sans-serif;
}

object,
embed {
	max-width: 100%; 
}

h1 {
	font-weight: 300;
	font-size: 20px;
	line-height: 22px;
}

h2,
div.storycontent h1 {
	font-weight: 700;
	font-size: 18px;
}

h3 {
	font-weight: 700;
	font-size: 16px;
}

h4 {
	font-weight: 700;
	font-size: 14px;
}

a {
	color: #0097da; /* blue */
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
}

h1.storytitle a {
	color: black;
}

.single-post h1.storytitle {
	font-size: 24px;
	line-height: 28px;
}

a.expand,
a.collapse {
	color: white;
}

/* ids */

#header {
	background: white;
	position: relative;
	z-index: 100;
}

#nav div.span12 {
	background: black;
	height: 32px;
	line-height: 32px;
}

#nav div.span3 {
	text-align: right;
}

#nav ul.menu {
	list-style: none;
	margin: 0;
}

#nav ul.menu li {
	display: inline-block;
	padding-left: 1.5%;
}

#nav ul.menu li a {
	color: white;
	text-decoration: none;
	font-size: 13px;
}

#nav ul.menu li a:hover,
#nav ul.menu li a:focus {
	color: #ed1c24; /* mcd red */
}

#nav ul.menu li ul.sub-menu {
	position: absolute;
	left: -9999px;
	background: #ed1c24; /* mcd red */
	margin: 0;
	width: 150px;
}
#nav ul.menu li ul.sub-menu li {
	display: block;
}

#nav ul.menu li:hover ul.sub-menu,
#nav ul.menu li:focus ul.sub-menu {
	left: auto;

}

#nav ul.menu li ul.sub-menu li a:hover,
#nav ul.menu li ul.sub-menu li a:focus {
	color: black;
}



#nav #searchform {
	margin-right: 5px;
}

#nav #s {
	-webkit-border-radius: 0;  
	-moz-border-radius: 0;  
	-khtml-border-radius: 0;  
	border-radius: 0;
	padding: 5px 7px;
	font-size: 12px;
	font-style: italic;
	width: 120px;
	height: 11px;
	line-height: 14px;
}

#nav img {
	width: 24px;
	height: 24px;
}

#subnav div.span12 {
	background: #333;
	height: 32px;
	line-height: 32px;
	color: white;
	overflow: hidden;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
}

#subnav a {
	text-decoration: none;
}

#subnav a:hover,
#subnav a:focus {
	color: #cceaf7; /* lt blue */
}

#subnav div.bread {
	margin-left: 30px;
}

#subnav div.crumbs {
	padding-left: 10px;
}

#subnav div.crumbs a {
	font-weight: 700;
	text-transform: uppercase;
}

#subnav.on div.span12 {
	height: 100px;
}

#subnav #poptops {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	text-align: right;
}

#subnav #poptops a {
	color: #cceaf7; /* lt blue */
}

#subnav #poptops ul {
	list-style: none;
	padding-right: 10px;
}

#subnav #poptops li {
	display: inline;
	padding-left: 10px;
	border-left: 1px solid #cceaf7; /* lt blue */
	margin-left: 10px;
}

#subnav #poptops li.poptops:after {
	content:" \25b2";
	color: #ed1c24; /* mcd red */
}

#subnav #poptops li.poptops a {
	color: white;
}

#subnav #poptops li.poptops,
#subnav #poptops li.c1 {
	border-left: none;
}

#subnav div.topics ul.menu {
	list-style: none;
}

#subnav div.topics ul.menu li {
	display: block;
	width: 20%;
	height: 18px;
	float: left;
}

#subnav div.topics ul.menu li a {
	font-size: 12px;
	text-transform: uppercase;
	color: white;
}

div.topics ul.menu li a:hover,
div.topics ul.menu li a:focus {
	color: #cceaf7 !important; /* lt blue */
	text-decoration: none !important;
}

#scrollhdr {
	position: fixed;
	top: -500px;
	background: white;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
}

#scrollhdr.active {
	top: 0;
	box-shadow: 0 0 12px rgba(0,0,0, 0.5);
	-moz-box-shadow: 0 0 12px rgba(0,0,0, 0.5);
	-webkit-box-shadow: 0 0 12px rgba(0,0,0, 0.5);
}

#scrollhdr div.crumbs,
#scrollhdr div.topics {
	background: #333;
	color: white;
	padding: 10px;
}

#scrollhdr div.crumbs a {
	display: block;
	color: #8b9417; /* green */
	text-transform: uppercase;
	font-weight: 700;
}

#scrollhdr span.mcd-plus,
#scrollhdr span.mcd-minus,
#scrollhdr a.expand,
#scrollhdr a.collapse {
	color: white;
	font-size: 120%;
	min-height: 20px;
	text-decoration: none;
	float: right;
}

#scrollhdr ul.menu {
	list-style: none;
	margin: 0 0 20px 0;
}

#scrollhdr ul.menu li {
	line-height: 13px;
	padding: 5px 0;
}

#scrollhdr ul.menu li a {
	text-transform: uppercase;
	font-weight: 700;
	color: #333;
}

#scrollhdr ul.menu li a:hover,
#scrollhdr ul.menu li a:focus {
	color: #0097da; /* blue */
	text-decoration: none !important;
}

#scrollhdr ul.menu li.current-menu-item a {
	color: #8b9417; /* green */
}

#scrollhdr ul.menu li ul.sub-menu {
	display: none;
}

#scrollhdr div.topics ul.menu {
	list-style: none;
	margin: 10px 0;
}

#scrollhdr div.topics ul.menu li {
	display: block;
	padding: 5px 0;
	font-size: 12px;
	line-height: 13px !important;
}

#scrollhdr div.topics ul.menu li a {
	text-transform: uppercase;
	color: white;
}

#scrollhdr div.subnav {
	padding: 20px;
}

#scrollhdr #s,
#leftbar input.medium {
	-webkit-border-radius: 0;  
	-moz-border-radius: 0;  
	-khtml-border-radius: 0;  
	border-radius: 0;
	padding: 5px 7px;
	font-size: 12px;
	font-style: italic;
	width: 80px;
	height: 11px;
	line-height: 14px;
}

#scrollhdr span.social {
	display: block;
	padding: 10px 0;
}

#scrollhdr span.social:before {
	content: 'Follow MCD';
	display: block;
	text-transform: uppercase;
	color: #666;
	font-size: 12px;
}

#slides {
	background: white;
	padding-bottom: 20px;
	margin-bottom: 0;
	border-bottom: 1px solid #ededed;
	z-index: 100;
}

#slides span.descr {
	display: block;
	font-size: 13px;
	line-height: 14px;
	background: black;
	background: rgba(0,0,0,0.8);
	padding: 10px;
	margin-top: -60px;
	height: 40px;
	position: relative;
	z-index: 2;
	color: white;
}

#slides.home span.descr a:before {
	content: "\3e";
	font-family: 'mcd-icons';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	font-size: 77%;
	color: #f0c134;
}

#slides span.descr a:hover,
#slides span.descr a:focus {
	color: white;
	text-decoration: none;
}

#slides span.title {
	display: block;
	font-size: 13px;
	font-weight: 700;
}

#slides .carousel-control {
	top: 45%;
	left: 15px;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	font-size: 40px;
	line-height: 30px;
	color: #fff;
	text-align: center;
	background: none;
	border: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	opacity: .5;
	filter: alpha(opacity=50);
}

#slides .carousel-control.right {
	right: 15px;
	left: auto;
}

#posts {
	/* min-height: 2200px; */
}

#infscr-loading,
#infinite-nav {
	padding: 20px 20px 100px 20px;
}

#leftbar p {
	padding: 20px 0;
}

#leftbar.locked {
	position: fixed;
	top: auto !important;
	bottom: 0 !important;
	height: 100%;
	overflow-y: scroll;
	width: 141px;
	padding-right: 20px;
}

#leftbar h4 {
	color: #0097da; /* blue */
	font-weight: 300;
	text-transform: uppercase;
}

#leftbar div.item {
	width: 140px;
	margin-left: -20px;
	padding: 10px 20px;
	border-bottom: 1px solid #ededed;
}

#leftbar div.gform_wrapper,
#leftbar label {
	font-size: 12px;
	line-height: 13px;
}

#leftbar .gfield_html p {
	font-size: 11px;
	line-height: 12px;
	margin: 0 0 5px 0;
	padding: 0;
}

#leftbar div.gform_footer {
	margin: 0;
	padding: 0;
}

#leftbar .button {
	border: none;
	background: #0097da; /* blue */
	color: white;
	text-transform: uppercase;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	padding: 5px 10px;
}

#leftbar div.recent {
	width: 100%;
	margin-left: -20px;
	padding: 10px 20px;
	border-bottom: 1px solid #ededed;
}

#leftbar div.recent:last-child {
	border-bottom: none;
}

#leftbar div.recent:hover,
#leftbar div.recent:focus {
	background: #ededed;
}

#leftbar div.recent a {
	color: black;
	text-decoration: none;
}

#leftbar div.recent span.cat {
	color: #8b9417; /* green */
	font-size: 12px;
	text-transform: uppercase;
}

#rightbar div.item {
	padding-left: 20px;
	padding-top: 20px;
}

#rightbar div.kicker {
	padding-top: 0;
	margin-left: -20px;
	padding-left: 20px;
}

#footer {
	padding: 50px 0;
	background: #333;
	color: white;
}

#footer a {
	color: #cceaf7; /* lt blue */
}


/* ads */

#leftbar .ox a {
	display: block;
	margin: 5px 0;
}

.ad {
	text-align: center;
}

.repeat .ad {
	padding: 10px;
	border-bottom: 1px solid #ededed;
}

.ad.top.leaderboard {
	padding-top: 15px;
}

.ad.top.leaderboard img {
	margin: 15px auto;
}

.ad.square {
	display: inline-block;
	padding: 2px;
	border: 1px solid #ededed;
	margin-right: 7px;
}

#bottom_riser {
	position: fixed;
	width: 100%;
	bottom: -200px;
	left: 0;
	background: black;
	background: rgba(0,0,0,0.8);
	padding: 0;
	box-shadow: 0 0 12px rgba(0,0,0, 0.5);
	-moz-box-shadow: 0 0 12px rgba(0,0,0, 0.5);
	-webkit-box-shadow: 0 0 12px rgba(0,0,0, 0.5);
	text-align: center;
	z-index: 999;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
}

#bottom_riser.active {
	bottom: 0;
}

#bottom_riser a.closex {
	vertical-align: top;
	font-size: 20px;
	padding: 10px;
	color: white;
	text-decoration: none;
	float: right;
}


/* classes */

.copyright {
	font-size: 11px;
	line-height: 12px;
}

.more-link {
	font-weight: 700;
}

.categories {
	font-size: 12px;
	text-transform: uppercase;
	line-height: 12px;
}

.single-post .categories a {
	color: #8b9417; /* green */
}

.post {
	padding: 20px 10px 10px 20px;
}

.legacy div.storycontent img {
	max-width: 185px;
}

.border-top {
	border-top: 1px solid #ededed;
}

.border-bottom {
	border-bottom: 1px solid #ededed;
}

.border-left {
	border-left: 3px double #ededed;
}

.border-right {
	border-right: 3px double #ededed;
}

.kicker {
	font-weight: 300;
	font-size: 22px;
	padding: 12px 0;
	text-transform: uppercase;
	background: white;
	position: relative;
	z-index: 100;
}

.kicker.mixed {
	text-transform: none;
}

.post-padding .kicker {
	padding: 12px;
}

.red {
	color: #ed1c24; /* mcd red */
}

.locked {
	position: fixed;
	top: 0;
}

.logo {
	background: #ed1c24; /* mcd red */
	text-align: center;
}

.logo img {
	padding: 25px 0;
}

.tags {
	font-size: 90%;
	font-weight: bold;
}

.tags a {
	color: #8b9417; /* green */
}

.posted {
	font-size: 11px;
	text-transform: uppercase;
	color: #999;
}

.bio {
	background: #ededed;
	padding: 20px;
	margin: 20px 0;
}

.hidden {
	display: none;
}

/* Captions & aligment */

.thumb {
	clear: left;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
	margin-right: 10px;
}

.alignright {
	float: right;
	margin-left: 10px;
}

.wp-caption {
	text-align: left;
	padding-top: 4px;
	margin: 0 10px 10px 0px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 6px 10px 0 0;
	margin: 0;
	font-weight: Bold;
}

/* comments */

ol.commentlist { /* list of comments */
	margin-top: 20px;
	list-style: none;
	margin: 0;
} 

ol.commentlist li { /* each comment */
	display: block;
	padding: 10px;
	margin: 20px 0;
	background-color: whiteSmoke;
	border: 1px solid #CCC;
	border: 1px solid rgba(0, 0, 0, 0.15);
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

ol.commentlist li.bypostauthor {
	background: #f0f8ff;
}

ol.commentlist li p { /* comment text */
	width: 90%;
}

ol.commentlist img.avatar { /* avatar */
	float: right;
}

ol.commentlist header {
	font-weight: 500;
	margin-bottom: 10px;
}

ol.commentlist header cite {
	font-size: 18px;
    line-height: 22px;
    font-weight: 300;
    display: block;
}

ol.commentlist header cite span {
	font-size: 10px;
	background: #0079c2; /* dk cyan */
	padding: 2px 3px;
	margin: 0 5px;
	color: white;
	line-height: 24px;
	vertical-align: top;
}

ol.commentlist time {
	color: #3B4757;
	font-size: 80%;
}


/* comment form */

#comments form input[type='text'] {
	width: 60%;
}

#comments form button, 
#comments form #submit,
#comments form .button {
	background-attachment: scroll;
	background-clip: border-box;
	background-color: whiteSmoke;
	background-image: -webkit-linear-gradient(top, white, #E6E6E6);
	background-origin: padding-box;
	background-position: 0% 0%;
	background-repeat: repeat-x;
	background-size: auto;
	border-bottom-color: rgba(0, 0, 0, 0.247059);
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-left-color: rgba(0, 0, 0, 0.0980392);
	border-left-style: solid;
	border-left-width: 1px;
	border-right-color: rgba(0, 0, 0, 0.0980392);
	border-right-style: solid;
	border-right-width: 1px;
	border-top-color: rgba(0, 0, 0, 0.0980392);
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	border-top-style: solid;
	border-top-width: 1px;
	box-shadow: rgba(255, 255, 255, 0.2) 0px 1px 0px 0px inset, rgba(0, 0, 0, 0.0470588) 0px 1px 2px 0px;
	color: #333;
	cursor: pointer;
	display: inline-block;
	font-family: museo-sans, 'Museo Sans', Arial, sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 18px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 0px;
	outline-color: #333;
	outline-style: none;
	outline-width: 0px;
	padding-bottom: 4px;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 4px;
	text-align: center;
	text-decoration: none;
	text-shadow: rgba(255, 255, 255, 0.74902) 0px 1px 1px;
	vertical-align: middle;
}

#comments form textarea {
	width: 70%;
}

/* sponsored posts */

.home.category-sponsored-post {
	background: #ededed;
}

#posts div.repeat.spox {
	display: none;
}

#posts div.repeat.spox:nth-child(3) {
	display: block;
}

.post.category-sponsored-post .categories {
	font-weight: bold;
}

body.single.sponsored-post .ox {
	display: none !important;
}

/* responsive directives */

/* Large desktop */
@media (min-width: 1200px) {
	
	
	#leftbar input.medium {
		width: 150px;
	}
	
	#leftbar div.item {
		width: 180px;
	}
		
	.logo img {
		max-width: 80%;
		width: 80% !important;
		height: auto !important;
	}
	
	.ad.square {
		padding: 10px;
		margin-right: 7px;
	}
	
	#scrollhdr #s {
		width: 120px;
	}
		
}
 
/* Portrait tablet to landscape and desktop */

/*
@media (min-width: 768px) and (max-width: 979px) {

	#nav div.span3,
	#nav div.span9 {
		width: 97.3%;
		background: black;
	}
	
	#nav ul.menu {
		text-align: center;
	}
	
	#nav div.span3 {
		text-align: center;
	}
	
	#slides span.descr {
		margin-top: -80px;
		height: 60px;
	}
	
	.logo img {
		max-width: 90%;
		width: 90% !important;
		height: auto !important;	}
	
	#subnav {
		margin-top: 50px;
	}
	
	#leftbar.locked {
		width: 105px;
		font-size: 12px;
		line-height: 14px;
	}
	
	#post_container.offset2 {
		margin-left: 20px;
		
	}
	
	#post_container.span6 {
		width: 474px;
	}
		
	#poptops,
	#leftbar,
	#scrollhdr,
	#scrollhdr.active {
		display: none !important;
	}
	
}

*/
 
/* Landscape phone to portrait tablet */
@media (max-width: 979px) {
	
	#nav div.span12 {
		height: auto !important;
	}

	#nav ul.menu {
		text-align: center;
	}
	
	#nav div.span3 {
		text-align: center;
	}
	
	#subnav.on div.span12 {
		height: auto !important;
	}
	
	#subnav div.bread {
		margin: 10px 1% 100px 1%;
	}
	
	#subnav div.span12 {
		height: 100px;
		line-height: 18px;
	}
	
	#subnav div.topics {
		margin-top: 10px;
	}

	#subnav div.topics ul.menu li {
		width: 100%;
		float: none;
	}
		
	#slides span.descr {
		margin-top: 0;
		height: auto !important;
		position: relative;
		z-index: 2;
	}
	
	#footer {
		text-align: center;
	}
	
	.post {
		padding: 20px 0;
	}
	
	.post-padding .kicker {
		padding: 12px 0;
	}
	
	.border-left {
		border-left: none;
	}
	
	.border-right {
		border-right: none;
	}
	
	#poptops,
	#leftbar,
	#scrollhdr {
		display: none;
	}
	
	.locked {
		position: relative !important;
	}

	
}
 
/* Landscape phones and down */
@media (max-width: 480px) {
	
}

.carousel-inner>.item>img, .carousel-inner>.item>a>img {
    margin: 0 auto;
}

.carousel-inner {
    background: black;
}