/*
Theme Name: The Screen Blog
Theme URI: http://thescreenblog.com/
Description: This is a custom child theme for Salient
Author: Twisted Pear Concepts
Author URI: http://twistedpear.com.au/
Template: salient
Version: 1.0
*/

@import url("../salient/style.css");


/* Old Home - Prior to Screen INtel whcih uses Nectar Slider */
.home .inner-wrap h1 {
	position: relative;
	top:-70px;
}
body.home #page-header-bg:not(.fullscreen-header) .span_6 span.subheader {
	position: relative;
	top:-80px;
	font-size: 35px;
	font-weight: 400;
}
@media only screen and (max-width: 1000px) {
    .home .inner-wrap h1 {
        top: 25px;
    }
    body.home #page-header-bg:not(.fullscreen-header) .span_6 span.subheader {
        top: 30px;
    }
}





/* Screen Intel */
.page .inner-wrap h1 {
	position: relative;
}
body.page #page-header-bg:not(.fullscreen-header) .span_6 span.subheader {
	position: relative;
	font-size: 35px;
	font-weight: 400;
}
@media only screen and (max-width: 1000px) {
    .page .inner-wrap h1 {
        top: 45px;
    }
    body.page #page-header-bg:not(.fullscreen-header) .span_6 span.subheader {
        top: 30px;
    }
}
.nectar-slider-wrap[data-full-width="true"][data-fullscreen="false"] .swiper-slide .content p {
	font-size: 25px !important;
	font-weight: 400;
 }

@media only screen and (max-width: 690px) {
    .nectar-slider-wrap[data-full-width="true"][data-fullscreen="false"] .swiper-slide .content p {
	display: none !important;
    }
    .nectar-slider-wrap[data-full-width="true"][data-fullscreen="false"] .swiper-slide .content div.buttons {
	display: none !important;
    }
    .col h2 { /* Fix H2 in Portfolio pages */
    	letter-spacing: 0.5px;
		font-size: 28px !important;
		line-height: 34px !important;
		font-weight: 300;
    }
}



/* Menu */
header#top nav > ul > li > a {
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
}
header#top .sf-menu li ul li a {
 background-color: ;
}


/* Image gallery captions */
.gallery {
	margin-bottom: 20px;
	margin-left: -4px;
}
.gallery-item {
	float: left;
	margin: 0 1% 1% 0;
	overflow: hidden;
	position: relative;
}
.gallery-item img {
	display: block;
}
.gallery-caption {
	background-color: rgba(0, 0, 0, 0.7);
	box-sizing: border-box;
	color: #fff;
	font-size: 14px;
	line-height: 1.3;
	margin: 0;
	max-height: 50%;
	padding: 2px 8px;
	position: absolute;
	bottom: 0;
	left: 0;
	text-align: left;
	-webkit-transition: opacity 400ms ease;
	transition:         opacity 400ms ease;
	width: 100%;
	opacity: 1;
}
.wp-caption .wp-caption-text,
.entry-caption,
.gallery-caption {
	font-size: 12px;
	font-style: italic;
	font-weight: 300;
	margin-top:0px;
}
.single #single-below-header span.meta-category,
.single #single-below-header span.meta-author {
	display: none;
}
.single #single-below-header span.meta-date {
	border-left: none;
	padding: 10px 0px;
	font-size: 18px;
}
.row .col .gallery-item img {
    margin-bottom: 0px;
}
div[id^=gallery] img {
    border: none !important;
    width: 100% !important;
}

/* EDITTED OUT BY ANNA*/
/*div[id^=gallery] .gallery-item {
    width: auto !important;
}*/


.nectar-button.large {
	font-size: 18px;
}

/* Logos on About page in SA section */
/*.col .about-sa img:last-child {display: inline-block!important; margin: 20px!important; vertical-align: middle;}*/


/* Seprator Heading */
.row .col .vc_separator h4 {
	font-size: 30px;
	line-height: normal;
}

@media only screen and (max-width: 690px) {
    .vc_separator.vc_separator_align_center h4 {
        white-space: normal;
    }
}


/* Toggles */
.toggle h3 a {
	font-size: 16px !important;
	line-height: normal !important;
}
.toggle h3 a i {
	line-height: 28px !important;
}


/* Portfolio/Screen Intel Masonry */
body .portfolio-items.constrain-max-cols.masonry-items .col.elastic-portfolio-item h2,
body .portfolio-items.constrain-max-cols.masonry-items .col.elastic-portfolio-item h3 {
	line-height: 34px !important;
	text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
	font-size: 28px !important;

}
.portfolio-items .work-item.style-3 p {
	line-height: 25px;
	text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
	font-size: 21px;
}


/* Portfolio/Screen Intel Pages */
.project-title h1 {
	text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}
#portfolio-nav  { 
	display: none; 
}


/* Blog Footer */
.blog-recent .post-header h3.title {
	font-size: 20px;
}
.blog-recent [class^="meta"] {
	display: none;
}


/* Category pages */
article.post .post-header h2,
article.post.link .post-content h2 {
	line-height: normal!important;
}
.blog-recent[data-style="default"] .col .post-header h3.title {
	font-size: 25px;
	line-height: normal;
}
.row .col.section-title {
	border-bottom: none;
}


/* Post Item */
html body .row .col.section-title.blog-title h1 {
	font-size: 48px!important;
	line-height: 52px!important;
	margin-top: 5%;
}
.nectar-love-wrap, .n-shortcode {
  display: none!important;
}
.comments-section {
  display: none!important;
}
.meta-comment-count {
  display: none!important;
}
@media only screen and (max-width: 690px) {
    html body .row .col.section-title.blog-title h1 {
	font-size: 28px!important;
	line-height: 32px!important;
	margin-top: 5%;
	}	
}



/* Bug Fix for header padding */
.container-wrap, 
body #portfolio-filters-inline.first-section  {
    margin-top: 0!important;
    padding-top: 0!important;
}
.full-width-section.first-section {
    margin-top: 0 !important;
}


/* Mobile Nav */
#slide-out-widget-area .menuwrapper li {
	margin-bottom: 15px;
}


/* Footer */
.widget {
	font-size: 13px; 
	line-height: 20px;
}
#footer-outer #footer-widgets .col ul li:first-child {
	padding-top: 8px!important;
}


/* Tables */
body:not(.woocommerce-cart) .main-content td {
	font-size: 16px;
}
body:not(.woocommerce-cart) .main-content .light table tr:nth-child(2n+1) { 
	background-color: #555; 
}
body:not(.woocommerce-cart) .main-content .light table {
	background-color: transparent;
	border-color: #666;
}
body:not(.woocommerce-cart) .main-content .light table td {
	border-color: #666;
}


/* Responsive Tables */
@media screen and (max-width: 600px) {
table {width:100%;}
thead {display: none;}
tr:nth-of-type(2n) {background-color: inherit;}
body:not(.woocommerce-cart) .main-content .light table tr:nth-child(2n+1) { 
	background-color: inherit; 
}
.main-content tr td:first-child {background: #f0f0f0; font-weight:bold;font-size:1.1em;}
.main-content .light tr td:first-child {background: #555; font-weight:bold;font-size:1.1em;}
.light table {background-color: transparent; border-left: 1px solid #666;}
tbody td {display: block; text-align:center;}
tbody td:before { 
    content: attr(data-th); 
    display: block;
    text-align:center;  
  }
}

.listicle_number {

}

/* Added by Anna and Morgan */

.gallery-columns-2 .gallery-item {
    width: 49% !important;
}
.gallery-columns-4 .gallery-item {
    width: 24% !important;
}
.screenintel-logo {
	display: block;
    margin-left: auto;
    margin-right: auto; 
   	max-width: 14%;
   	max-height: 14%;
}
.iwt-text {
	top: 3px;
	position: relative;
}

.infographic {
	display: block;
    margin-left: auto;
    margin-right: auto; 
   	max-width: 75%;
   	max-height: 75%;
}

@media only screen and (max-width: 1024px) { 
.infographic {
	display: block;
    margin-left: auto;
    margin-right: auto; 
   	max-width: 100%;
   	max-height: 100%;
}



}



.nectar-social.hide-share-count span.count, .nectar-social.hide-share-count .nectar-love-count {
    width: auto !important;
    visibility: visible !important;
}