/*
 Theme Name:   aie child
 Theme URI:    http://tedxinnovations.ted.com/
 Description:  aie Child Theme
 Author:       Sara Kladky
 Author URI:   http://tedxinnovations.ted.com/
 Template:     aie
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  aie-child
*/

@import url(../aie/style.css);

::selection {
	background-color: #ccc !important;
	color: initial !important;
}
::-moz-selection {
	background-color: #ccc !important;
	color: initial !important;
}

a:hover {
	color: #ff2b06;
	text-decoration: underline;
}

a.more-link:hover {
	color: #ff2b06;
	text-decoration: none;
}

a.more-link {
	color: #000;
}

.search-button {
	display: block !important;
}

.button, button, input[type="submit"], input[type="reset"], input[type="button"] {
	text-shadow: none;
}

/*   HEADER   */

#header-logo {
  display: block;
  width: 47px;
  height: 17px;
  background: url(images/logoTEDSmallRed.png);
  text-indent: -9999px;
}

.back-to-ted {
  display: inline-block;
  vertical-align: top;
  float: right;
}

.site-header {
	margin-top: 20px;
	max-width: 936px;
    margin-left: 15px;
}

.jqm-main {
	max-width: 936px;
	margin-left: 5px;
}

.jqueryslidemenu ul {
	border-top: 3px solid #232323;
}

#myslidemenu {
	border-bottom: none;
}

.search-button input.search-field {
	font-size: 15px;
	font-style: normal; 
    color: #999;
}

.search-button input#s[type="text"]:focus {
	color: #000;
}

#blog-header .wrapper {
    border-top-color: #BEBEBE;
    border-top-style: solid;
    border-top-width: 1px;
    color: #000;
    display: block;
    font-family: HelveticaNeueW01-45Ligh, Helvetica, Arial, sans-serif;
    font-size: 42px;
    font-weight: normal;
    height: 58px;
    line-height: 58px;
    margin-top: 38px;
    text-align: center;
}

#blog-header h2 {
    font-family: HelveticaNeueW01-45Ligh, Helvetica, Arial, sans-serif;
    font-size: 42px;
    font-weight: normal;
    top: -28px;
    position: relative;
    display: inline-block;
    background: #fff;
    width: 650px;
}

#blog-header h2 a {
    color: #000;
}

#blog-header h2 a:hover {
    color: #ff2b06;
    text-decoration: none; 
}

@media (max-width: 767px) {

	#blog-header .wrapper {
    border-top: none;
  }
	
	#blog-header h2 {
		width: 100%;
		top: 0;
	}
	
	.main-menu-container {
		display: none !important;
	}

}

/*    BLOG FEED    */

.main-container {
	margin-bottom: 100px;
}

.blog-heading {
	text-transform: none;
}

.featured-image-container {
	margin-right: 32px;
}

.featured-post .portfolio-itemv2 {
  width: 936px;
}
.featured-post .portfolio-title, .featured-post .portfolio-description p {
	text-align: left;
	width: 100%;
}

.featured-post .portfolio-title {
	margin: 0 0 10px;
}

.port-thumb {
  background: #fff !important;
}

.pfolio-item-fixer img {
  width: 100%;
  height: auto;
}

.port-thumb {
	height: auto;
}

.portfolio-title, .portfolio-description p {
    text-align: left;
    margin: 0px 0 10px;
}

.portfolio-description p {
	 font-size: 16px;
	 line-height: 23px;
}

.portfolio-title {
    margin-top: 10px;
}

h2.portfolio-title {
    line-height: 16px;
    font-weight: 700;
}

#infinite-handle span {
	display: inline-block !important;
	margin-top: 30px;
	text-align: center;
	background: #000 !important;
	border-radius: 3px !important;
	font-size: 16px !important;
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	color: #fff;
	height: 25px;
	padding-top: 12px !important;
	padding-bottom: 8px !important;
}

#infinite-handle span:hover {
	background-color: #ff2b06 !important;
	color: #fff;
}

@media (min-width: 960px) {
	.jqueryslidemenu {
		margin-top: -40px;
	}
	.featured-post .portfolio-itemv2 {
	  margin: 25px 0 10px 5px;
	}
	.featured-text-container, .featured-image-container {
		width: 450px;
		display: inline-block;
		vertical-align: top;
	}
	.featured-post .portfolio-itemv2 h2.portfolio-title a {
	  font-size: 34px;
	  line-height: 36px;
	}
	.portfolio-row .portfolio-itemv2 {
	  padding: 60px 0 0;
	}
	#infinite-handle span {
		width: 93.3%;
	}
	.blog-heading-desc {
		width: 931px;
	}
	#portfolio-row .port-thumb {
		width: 292px;
    height: 164px;
    overflow: hidden;
	}
}
@media (min-width: 768px) and (max-width: 959px) {
	.jqueryslidemenu {
		margin-top: -40px;
	}
	.featured-post .portfolio-itemv2 {
	  margin: 25px 0 15px 5px;
	}
	.featured-text-container, .featured-image-container {
		width: 355px;
		display: inline-block;
		vertical-align: top;
	}
	.featured-post .portfolio-itemv2 h2.portfolio-title a {
	  font-size: 34px;
	  line-height: 36px;
	}
	.portfolio-row .portfolio-itemv2 {
	  padding: 40px 0 0;
	}
	#infinite-handle span {
		width: 89.5%;
	}
	#portfolio-row .port-thumb {
		width: 228px;
    height: 128px;
    overflow: hidden;
	}
}
@media (min-width: 480px) and (max-width: 767px) {
	.jqm-main {
		width: 415px;
	}
	.jqm-main {
		margin-top: -70px;
		border-bottom: 3px solid #232323 !important;
	}
	.jqueryslidemenu {
		margin-top: 0px;
	}
	.featured-post .portfolio-itemv2 {
	  margin: 25px 0 15px 5px;
	}
	.featured-text-container, .featured-image-container {
		width: 415px;
	}
	.featured-text-container {
		margin-top: 10px;
	}
	.featured-post .portfolio-itemv2 h2.portfolio-title a {
	  font-size: 34px;
	  line-height: 36px;
	}
	.portfolio-row .portfolio-itemv2 {
	  padding: 40px 0 0;
	}
	#infinite-handle span {
		width: 86.3%;
	}
	#portfolio-row .port-thumb {
		width: 195px;
    height: 110px;
    overflow: hidden;
	}
}
@media (max-width: 479px) {
	.container {
	  width: 290px;
	  overflow:hidden
	}
	.site-header {
		margin-left: 7px;
	}
	.jqm-main {
		width: 280px;
		margin-top: -70px;
	}
	.search-button {
		float: left;
		width: 95%;
	}
	.main-menu-container {
		border-bottom: 3px solid #232323 !important;
	}
	.search-button input#s {
		padding-left: 0px;
	}
	.featured-post .portfolio-itemv2 {
	  margin: 25px 0 10px 5px;
	}
	.featured-text-container, .featured-image-container {
		width: 279px;
	}
	.portfolio-row .portfolio-itemv2 {
	  padding: 40px 0 0;
	}
	#infinite-handle span {
		width: 86%;
	}
}

/*    BLOG POSTS    */

#mc_embed_signup_scroll .clear {
    overflow: visible !important;
    visibility: visible !important;
}

.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin-bottom: 10px; }
.video-container iframe, .video-container object, .video-container embed, .video-container video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.subscribe-label {
	vertical-align: super;
}

#respond .form-submit input {
  background: #000 !important;
}

#respond .form-submit input:hover {
  background: #ff2b06 !important;
}

h2.fg a {
    font-size: 33px;
}

.time-ago2s {
    font-size: 14px;
}

.blog2-entry img {
	max-width: 598px;
	height: auto;
}

.blog2-entry p {
    line-height: 26px;
    font-size: 18px;
}

blockquote p {
		border-left: none;
		color: #77787b !important;
		font-size: 25px !important;
		line-height: 35px !important;
		padding: 0 !important;
		text-align: center;
		margin: 35px 20px 50px;
}

@media only screen and (max-width: 959px) and (min-width: 768px) {
	.blog2-entry img {
		max-width: 460px;
	}
}

@media only screen and (max-width: 767px) and (min-width: 480px) {
	.blog2-entry img {
		max-width: 411px;
	}
}

@media only screen and (max-width: 479px) {
	.blog2-entry img {
		max-width: 280px;
	}
	
	.container .eleven.columns {
		width: 290px !important;
	}
}

/*    SIDEBAR    */

.sidebar h2 {
	text-transform: uppercase;
	font-size: 16px;
}

.side-cats2 ul li a {
    font-size: 16px;
}


.follow {
	height: 32px;
	width: 32px;
	float: left;
	display: block;
	background-repeat: no-repeat;
	text-indent: -9999px;
	margin-right: 6px;
	margin-bottom: 26px;
}

.follow.facebook {
  background: url(images/Facebook-32.png);
}
.follow.instagram {
  background: url(images/Instagram-32.png);
}

.follow.twitter {
  background: url(images/Twitter-32.png);
}

.follow.youtube {
  background: url(images/YouTube-32.png);
}

.follow.plus {
  background: url(images/GooglePlus-32.png);
}

.follow-buttons {
	height: 30px;
}

.related h2 {
	padding-bottom: 15px;
}

.sider-22 h2 {
	font-size: 18px;
}

.upw-posts article {
		margin-bottom: 2.5em !important;
}

.upw-image img, .jetpack-image-container img {
	max-width: 100%;
}

.jetpack-image-container img {
	height: auto;
	border: 1px solid #000;
}

.upw-posts .entry-image {
    margin-bottom: 0 !important; 
}

.upw-content .post-title a {
	padding: 0;
}

.side-cats2 .textwidget li a {
	color: #d33;
}

.side-cats2 .textwidget li a:hover {
	text-decoration: underline;
	color: #d33;
}

.related .post .related-title {
	  text-decoration: none;
    color: #939393;
    font-family: 'Lora', serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
}

.wp-caption p, .textwidget {
	  text-decoration: none;
    color: #939393 !important;
    font-family: 'Lora', serif;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 21px !important;
    font-style: normal;
}

.textwidget {
	  margin-bottom: 20px;
}

.lb-style-custom .lb-like {
	padding-left: 10px !important;
}

.lb-style-custom .lb-count {
	padding-right: 10px !important;
}

.lb-loaded {
	margin-bottom: 20px !important;
}

.related a:hover .related-title {
	color: #D33;
	text-decoration: none;
}

.lb-dislike-icon { display: none !important; }

@media (max-width: 767px) and (min-width: 480px) {
		.related .post {
			width: 44%;
			display: inline-block;
			vertical-align: top;
			margin-right: 22px;
		}
		.related img {
			width: 100%;
		}
}

@media (max-width: 479px) {
		.related img {
			width: 100%;
		}
}

/*    FOOTER    */

h2.footer-widget-title {
	color: #232323;
	font-size: 18px;
	text-transform: uppercase;
	font-weight: 700;
}

.related-footer .post {
	width: 46%;
	display: inline-block;
	vertical-align: top;
}

.related-footer a:hover .related-title {
	color: #D33;
	text-decoration: none;
}

.related-footer .post:first-child {
	margin-right: 22px;
}

.related-footer .post .related-title {
	  text-decoration: none;
    color: #939393;
    font-family: 'Lora', serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
}

.related-footer .post h4 {
    line-height: 21px;
}

.related-footer .upw-posts article {
		border-bottom: none !important;
}

@media (max-width: 767px) and (min-width: 480px) {
		.related-footer .post {
			width: 44%;
			display: inline-block;
		}
		
		.related-footer img {
			width: 100%;
		}
		
		.comment-subscription-form {
			 margin-top: 20px !important;
		}
}

@media (max-width: 479px) {
		.related-footer .post {
			width: 100%;
		}
		
		.related-footer img {
			width: 100%;
		}
		
		.comment-subscription-form {
			 margin-top: 20px !important;
		}
}

#footer {
  background: #eee;
  margin-top: 25px;
  border-top: none;
}

#footer .wrap {
  max-width: 940px;
  margin: 0 auto;
  overflow: hidden;
}

@media only screen and (max-width: 959px) and (min-width: 768px) {
	#footer .wrap {
	  max-width: 748px;
	}
}

@media only screen and (max-width: 767px) and (min-width: 480px) {
	#footer .wrap {
	  max-width: 420px;
	}
}

@media only screen and (max-width: 479px) {
	#footer .wrap {
	  max-width: 290px;
	}
}

#footer-inner {
  padding: 20px 10px;
  overflow: hidden;
}

@media only screen and (min-width: 1024px) {
	#footer-inner {
	  padding: 20px 0;
	}
}

#footer-logo {
  display: block;
  width: 47px;
  height: 17px;
  background: url(images/logoTEDSmallRed.png);
  text-indent: -9999px;
}

.copyright {
	margin: 1.4em 0;
	font-family: "Helvetica Neue", "Helvetica", "Arial", Sans-serif;
	font-size: 13px;
	color: #333;
	line-height: 1.4;
}

#footer-links {
  margin: 0 0 30px 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

@media only screen and (min-width: 768px) {
	#footer-links li {
	  float: left;
	  margin-right: 20px;
	}
}

#footer-links li {
  display: inline;
}

#footer-links a {
  font-weight: bold;
  color: #AAA;
  display: block;
  padding: 4px 0;
  font-family: "Helvetica Neue", "Helvetica", "Arial", Sans-serif;
  font-size: 13px;
  line-height: 1.4;
}


/* Clubs Styles */

.club-post, .clubs-button-container { clear: both; } 
.club-text h1 { font-family: HelveticaNeueW01-45Ligh,Helvetica,Arial,sans-serif; line-height: 32px; } 
.club-text .club-byline { font-family: HelveticaNeueW01-45Ligh,Helvetica,Arial,sans-serif; font-size: 12px; color: #bbb; margin-top: 10px; } 
.club-text .more-link { display: block; font-family: HelveticaNeueW01-45Ligh,Helvetica,Arial,sans-serif; } 

@media only screen and (min-width: 1260px) {
.club-image { width: 410px; float: left; }
.club-image img { width: 409px; height: auto; margin-bottom: 50px; }
.club-text { width: 816px; margin-bottom: 50px; padding-left: 438px; }
.club-text p { font-family: HelveticaNeueW01-45Ligh,Helvetica,Arial,sans-serif; font-size: 16px; color: #5e5e5e; padding: 16px 0; }
a.clubs-button, a.clubs-button:link { background-color: #ff2b06; border: medium none; border-radius: 2px 2px 2px 2px; box-shadow: 0 0 5px rgba(0,0,0,0.3); color: #FFFFFF; float: left; font-family: HelveticaNeueW01-45Ligh,Helvetica,Arial,sans-serif; font-weight: normal; font-size: 20px; height: 45px; line-height: 44px; margin: 31px 0 50px 438px; overflow: hidden; padding: 0; position: relative; text-align: center; width: 409px;  }
.club-text .more-link { padding-top: 15px; font-size: 14px; } 
}
@media only screen and (min-width: 1120px) and (max-width: 1259px) {
.club-image { width: 365px; float: left; }
.club-image img { width: 364px; height: auto; margin-bottom: 50px; }
.club-text { width: 728px; margin-bottom: 50px; padding-left: 390px; }
.club-text p { font-family: HelveticaNeueW01-45Ligh,Helvetica,Arial,sans-serif; font-size: 16px; color: #5e5e5e; padding: 15px 0; }
a.clubs-button, a.clubs-button:link { background-color: #ff2b06; border: medium none; border-radius: 2px 2px 2px 2px; box-shadow: 0 0 5px rgba(0,0,0,0.3); color: #FFFFFF; float: left; font-family: HelveticaNeueW01-45Ligh,Helvetica,Arial,sans-serif; font-weight: normal; font-size: 20px; height: 45px; line-height: 44px; margin: 31px 0 50px 390px; overflow: hidden; padding: 0; position: relative; text-align: center; width: 364px;  }
.club-text .more-link { padding-top: 15px; font-size: 14px; } 
}
@media only screen and (min-width: 940px) and (max-width: 1119px) {
.club-image { width: 296px; float: left; }
.club-image img { width: 295px; height: auto; margin-bottom: 50px; }
.club-text { width: 609px; margin-bottom: 50px; padding-left: 316px; }
.club-text p { font-family: HelveticaNeueW01-45Ligh,Helvetica,Arial,sans-serif; font-size: 14px; color: #5e5e5e; padding: 12px 0; }
a.clubs-button, a.clubs-button:link { background-color: #ff2b06; border: medium none; border-radius: 2px 2px 2px 2px; box-shadow: 0 0 5px rgba(0,0,0,0.3); color: #FFFFFF; float: left; font-family: HelveticaNeueW01-45Ligh,Helvetica,Arial,sans-serif; font-weight: normal; font-size: 20px; height: 45px; line-height: 44px; margin: 31px 0 50px 316px; overflow: hidden; padding: 0; position: relative; text-align: center; width: 295px;  }
.club-text .more-link { padding-top: 0px; font-size: 12px; } 
}
@media only screen and (max-width: 939px) { 
.club-image { width: 212px; float: left; }
.club-image img { width: 211px; height: auto; margin-bottom: 50px; }
.club-text { width: 453px; margin-bottom: 50px; padding-left: 226px; }
.club-text p { font-family: HelveticaNeueW01-45Ligh,Helvetica,Arial,sans-serif; font-size: 14px; color: #5e5e5e; padding: 8px 0; }
a.clubs-button, a.clubs-button:link { background-color: #ff2b06; border: medium none; border-radius: 2px 2px 2px 2px; box-shadow: 0 0 5px rgba(0,0,0,0.3); color: #FFFFFF; float: left; font-family: HelveticaNeueW01-45Ligh,Helvetica,Arial,sans-serif; font-weight: normal; font-size: 20px; height: 45px; line-height: 44px; margin: 31px 0 50px 226px; overflow: hidden; padding: 0; position: relative; text-align: center; width: 211px;  }
.club-text .more-link { padding-top: 0px; font-size: 12px; } 
}

.category #container { padding: 20px 0 10px 0; }

#post img.aligncenter {
margin: 0 auto 10px auto;
}

.blog_header_iframe {
  height: 460px;
  position: relative;
  z-index: 10;
}

.blog_header_iframe.blog_header_iframe--dropdown-open {
  z-index: 1000;
}

.home.blog > .container, .single.single-post > .container, .archive.category > .container {
  margin-top: -296px;
}
