/***************************************
	Theme Name: Sahifa - Child
	Theme URI:
	Description: Child Theme for Sahifa Theme
	Author: Cover Story Media, Inc.
	Author URI: http://www.coverstorymedia.com/
	Version: 4.3.0
	Template: sahifa

***************************************/

@import url('../sahifa/style.css');

/* CSM Customizations */

/* CSM Flags notification blocks */
.csm-notification {
	font-size: 12px;
	font-style: italic;
	margin-bottom: 1em;
	padding-bottom: .25em;
	border-bottom: 1px solid #ddd;
}

/* Main */
body { font-size: 14px; line-height: 1.4em }
a { color: #0000ff; text-decoration: none }
a:hover { text-decoration: underline }
p.post-meta {color: #1d8715; margin:7px 0;font-size:90% }
p.post-meta a {color: #1d8715 }
.post-tag { margin: -10px 0 0 0 }
.cat-box .entry {font-size:13px}
div.top-nav, .top-nav {display:none;}

/*span for display only on mobile*/
.mobileonly {display:none;}

/* Archive Description */
.archive-description {
    clear: both;
    float: none;
    margin: 1em 0;
    padding: 1em;
    border: 1px solid #ddd;
    border-bottom: 4px solid #81bd00;
}

.archive-description p {
    margin-bottom: 1em;
}

.archive-description ol {
	list-style: decimal inside;
	margin-left: 1em;
    margin-bottom: 1em;
}

.archive-description li {
    list-style: decimal outside;
    margin-left: 1em;
    margin-bottom: .25em;
}

/* Images */
img.alignnone { padding:4px;border:1px solid #cbcdcc; }
img.alignright { padding: 4px; margin: 0 0 2px 7px; display: inline; }
img.alignleft { padding: 4px; margin: 0 7px 2px 0; display: inline; }
img.nobo, table td img { border: 0 }

/* Tables */
.entry table { border: 0; background-color: #FFF; width: 100%; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;
	font-family: "Droid Sans", sans-serif; color: #333; border-collapse: collapse; border-spacing: 0; margin-bottom: 1em }
.entry table td { border: 1px solid #b3b3b3;color: #555;}
.entry table th { border: 0; text-shadow: none; font-family: Georgia,"Times New Roman","Bitstream Charter",Times,serif; font-weight: normal;	padding: 7px 7px 8px; text-align: left; line-height: 1.3em; font-size: 14px; }
.entry table td {font-size: 12px;padding: 4px 7px 4px;vertical-align: top;}
.entry table.nobo, .entry table.nobo td { border: 0 }

/* Review Box */
ul.wpsocialite { clear: both; padding: 5px !important; margin: 0 !important;}
.review-top { float: none; width: 100%; margin-right: 0 }

/* Social */
#socialcountplus-2 li.count-twitter,
#socialcountplus-2 li.count-facebook,
#socialcountplus-2 li.count-googleplus,
#socialcountplus-2 li.count-instagram,
#socialcountplus-2 li.count-youtube {
	padding-bottom: 0;
	padding-right: 0
}
.social-icons a {
	padding: 0 5px
} /* simple share buttons */

#socialcountplus-2 .widget-top,
#socialcountplus-2 .widget-container,
#socialcountplus-2 .social-count-plus,
#socialcountplus-2 ul.circle,
#socialcountplus-2 li.count-twitter,
#socialcountplus-2 a {
	padding: 0;
	margin: 0;
} /* follow us sidebar */

#sidebar .social-count-plus li {
	width: 50px;
}
#facebook-widget-3 .widget-top, #facebook-widget-3 .widget-container, #facebook-widget-3 .facebook-box { padding-top: 0; margin-top: 0 } /*  FB box */
#google-widget-3 .widget-top, #google-widget-3 .widget-container, #google-widget-3 .google-box { padding: 0; margin: 0 } /* Google box */

.wpsocialite.small { padding: 5px; margin: 5px } /* social icons */
.oneall_social_login { width: 215px; height: 35px !important; overflow: hidden; margin: 20px } /* hide "one all social login" */

/* bbPress Forums */
#comments p.nocomments { display: none } /* hide "comments are closed" (for bbpress) */
#bbpress-forums { font-size: 120% }
#bbpress-forums .bbp-forum-info .bbp-forum-content { font-size: 14px !important; }
#bbpress-forums ul.bbp-forums { font-size: 14px !important; }
#bbpress-forums .bbp-forums-list li { font-size: 13px !important; }
#bbpress-forums p.bbp-topic-meta { font-size: 13px !important; }
#bbpress-forums .bbp-breadcrumb { font-size: 14px !important; }
#bbpress-forums .bbp-template-notice p { font-size: 14px !important; }
#bbpress-forums ul.bbp-replies { font-size: 14px !important; }
#bbpress-forums ul.bbp-topics { font-size: 14px !important; }
#bbpress-forums a, .bbp-breadcrumb-current  {font-family:Droid Sans}
body.page-id-9565 #crumbs { display: none;}

/** Comments */
/* add list styling in comments */
.wc-comment-text ul,
.wc-comment-text ol {
	margin-bottom: 1em;
}

.wc-comment-text ul li {
	list-style: disc inside;
}

.wc-comment-text ol li {
	list-style: decimal inside;
}

/* Headings */
/* Headings Font Style */
#sidebar .stripe-line {
	display:none;
}
#sidebar .widget-top {
	padding:0;
}
h1,
h2,
h3,
h4,
h5,
.entry h1,
.entry h2,
.entry h3,
.entry h4,
.entry h5 {
	font-family: "oswald";
	font-weight: normal;
	line-height: 1.3;
}
h1,
h2,
h3,
h4,
h5,
.entry h1,
.entry h2,
.entry h3,
.entry h4,
.entry h5,
.hentry h1,
.hentry h2,
.hentry h3,
.hentry h4,
.hentry h5,
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
.entry h1 a,
.entry h2 a,
.entry h3 a,
.entry h4 a,
.entry h5 a,
.hentry h1 a,
.hentry h2 a,
.hentry h3 a,
.hentry h4 a,
.hentry h5 a {
	color: #333
}

.post-title {
    font-family: 'Oswald';
}

h1,
.entry h1,
h1.page-title,
h1.post-title{
	font-size : 30px;
}

h2.post-box-title,
h2.post-box-title a,
.post-box-title,
.post-box-title a
 {
 	font-size:26px;
}
h2 .post-box-title a {
	color:#000;
}
h2 .post-box-title a:hover {
	color:#0d94ca;
}
div.entry h2 {
   font-size: 26px;
   line-height:1.3;
   margin-bottom:.5em;
}
div.entry h3 {
   font-size: 23px;
   line-height:1.3;
   margin-bottom:.5em;
}
div.entry h4 {
   font-size: 20px;
   line-height:1.3;
   margin-bottom:.5em;
}
.widget-top h3.post-box-title,
.widget-top h4,
.widget-top .heading {
	text-transform: uppercase;
	font-size:16px;
	line-height:1.3;
	margin-bottom:.5em;
	font-family: "oswald";
	font-weight: normal;
}

.block-head .heading {
    float: left;
	font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    font-size: 18px;
    margin-bottom: .5em;
}

.csm-mc-article-signup-label {
	font-family: oswald, sans-serif;
    font-size: 14px;
    margin-bottom: 0.5em;
    line-height: 1;
    text-transform: uppercase;
}

/* Header and Menu */
header#theme-header {margin-top: 0; margin-bottom:0 }
.header-content { padding: 10px 15px }
#main-nav ul li { font-size: 14px }
#main-nav { text-transform:uppercase }
#main-content {margin-top:0;}
.logo h2, .logo h1 {font:1pt arial; margin:0px;}
#main-nav ul li.menu-item-home a {background-position: center 13px;}

/* Floating header offset for anchors */
a:empty {
    display: block;
    position: relative;
    top: -125px;
}

/* Sidebar */


/* sidebar wide enough for 300px ads 20160422 - DAM */
#main-content #sidebar { width:320px; }
#main-content #sidebar .widget .widget-container { padding: 10px 8px }

#sidebar a { color: #0000FF; }
#sidebar #socialcountplus-2 a {top:0;margin-left:10px; margin-top:0px}
#sidebar a:hover { color: #000000; }
.stripe-line { background: none }

#mc_embed_signup, #mc_embed_signup #mce-EMAIL { width: 275px }

/* Popular (Trending) Posts 2016503 */
.popular-posts .widget-container ul.wpp-list li {
	padding: 0 0 5px 0;
	background:0;
}
.popular-posts .widget-container ul.wpp-list li img {
	border:1px solid #cbcdcc;
	padding:2px;
}


/* Search */
.search-block #s { width: 250px; font: normal 12px tahoma; color: #a5a5a5 }
.search-block #s:focus { color:#000; width:310px }

/* TABLET  : 768px */
@media only screen and (max-width: 985px) and (min-width: 768px) {
  #top-menu-mob { display: none  }
  .search-block #s , .search-block #s:focus{ width:690px}
}

/*  Phone  : 480px */
@media only screen and (max-width: 767px) and (min-width: 480px) {
  #top-menu-mob { display: none }
  .search-block {width: 100%}
  .search-block #s , .search-block #s:focus{ width:410px;border-left:0;}
#socialcountplus-2 li.count-twitter, #socialcountplus-2 li.count-facebook, #socialcountplus-2 li.count-googleplus, #socialcountplus-2 li.count-instagram, #socialcountplus-2 li.count-youtube {padding-right:0;}
.wpsocialite.small > li {width: 34% !important;}
div.top-nav, .mobileonly {display:block;}
#sidebar div.search-widget,  #sidebar div#text-html-widget-3 {display:none;}
}

/* Phone  : 320px */
@media only screen and ( max-width: 479px) {
  #top-menu-mob { display: none }
  .search-block {display: block !important}
  .search-block #s , .search-block #s:focus{width:244px;border-left:0;}
#socialcountplus-2 li.count-twitter, #socialcountplus-2 li.count-facebook, #socialcountplus-2 li.count-googleplus, #socialcountplus-2 li.count-instagram, #socialcountplus-2 li.count-youtube  {padding-right:0;}
.wpsocialite.small > li {width: 34% !important;}
div.top-nav, .mobileonly {display:block;}
#sidebar div.search-widget,  #sidebar div#text-html-widget-3 {display:none;}
}

/*contact form*/
div#cntctfrm_thanks {font-weight:bold;font-size:1.2em;}
.nocomments {display: none;}

/*Form generator submit buttons*/
#main-content .cfgenwp-contactform input[type="submit"] {background-image:none;}


/*list view page*/
.entry p {padding-top:0;}

/*remove duplicate breadcrumbs on forums */
body.bbpress #crumbs, body.page-child #bbpress-forums .bbp-breadcrumb p {display:none;}


/*merge follow us in sidebar */
#google-widget-3 {margin-bottom:0;}
#facebook-widget-3 .stripe-line, #socialcountplus-2 .stripe-line {height: 1px; margin-top: 0;}
#facebook-widget-3 .widget-top, #socialcountplus-2 .widget-top {padding:0px;}
#facebook-widget-3 .widget-container, #google-widget-3 .widget-container {border:none}

/*Fix email signup box*/
#ns_widget_mailchimp-email-2 {
    background: none repeat scroll 0 0 #F9F9F9;
    border-color: #DDDDDD #F1F1F1 #F1F1F1 #DDDDDD;
    border-radius: 3px 3px 3px 3px;
	border: 1px solid #DDDDDD;
    color: #515151;
    font: 12px Tahoma;
    margin-bottom: 7px;
    padding: 4px 7px;
}

/** SB sidebar widget **/
.widget_sb_tabbed_widget ul.sb_tabs li a {
	background: #f7f7f7 !important;
        box-shadow: none !important;
	color: #000!important;
	border-right:1px solid #e3e3e3;}

/* The current selected tab */
.widget_sb_tabbed_widget ul.sb_tabs li a.tab-current {
	background: #fff!important;
	color: #000!important;
	box-shadow: none;}
#sb_tabbed_widget-2 .widget-container {padding:0}
#sb_tabbed_widget-2 .widget-top {padding:0}
#sb_tabbed_widget-2 .stripe-line {height:0; margin-top:0}

/* Fix lists when next to floated objects. */
.content .entry ol li,
.content .entry ul li{
	list-style-position: inside;
}

/* Fix dots in slider */
.flexslider , .full-width .content .flexslider {
	overflow: visible !important; /* overflow is getting reset to hidden in other stylesheets - Make important to retain seting */
}

.flex-control-nav {
	bottom: -30px !important; /* Bottom is getting set to -1px in sahifa parent, and somehow overriding - set as important to retain seting */
	line-height: 11px;
}
.flex-control-paging li a { /* set explicit witdth instead of percentage */
	width: 11px !important;
}
/*Fix cut-off text in homepage wide box */
.wide-box li {height:80px;}

/*preventing related articles overflow*/
#related_posts .related-item {height:auto;}
#related_posts .post-listing {margin-bottom:0;padding-bottom:0;}

/*Add pro/con list style*/
.entry .pros-cons  li {list-style: none outside none;}
.entry .pros-cons li:before {content: "+"; position: absolute; margin-left:-1em;font-weight:bold;margin-top:-.2em; font-size:1.4em;}
.entry .pros-cons li.minus:before {content: "-"; position: absolute; margin-left: -.8em; font-weight:bold; font-size:1.6em; margin-top:-.3em;}

/*hide admin menu items from subscribers*/
body.subscriber .adminonly, body.bbp_participant .adminonly, body.author .adminonly   {display:none}

/*sticky post styling*/
.category-sticky, .tag-sticky {border-top: none!important;}
.category-sticky .post-meta, .tag-sticky .post-meta, .sticky .post-meta {display: none!important;}
.tag-sticky {padding-left: 40px!important; padding-right: 40px!important;}

.a_heading a:hover {color: #0d94ca}

/* changes for tables, blockquotes */

.entry table td {
font-size: 14px;
}

blockquote:before {
font-size: 14px;
width: 20px;
height: 20px;
line-height: 20px;
}

blockquote {
font-size: 14px;
}

/* for search results highlight */
.hilite { background-color:#ff0;}
mark {background-color:#fff;}

/***
 * Ad Injection Ads
 **/
/* center 336 wide ad in 479 and narrower view */
@media only screen and (max-width:479px) {
	.mobile-adjust-336-wide {
	    margin-right: -51px;
	}
}
/* center 336 wide ad in 480 - 767 and width view */
@media only screen and (min-width:480px) and (max-width:767px) {
	.mobile-adjust-336-wide {
	    margin-right: -28px;
	    width: 390px;
	    padding-left: 34px;
	}
}

/* Make .nomobile a block again - 2015.11.20 DAM */
@media only screen and (max-width: 767px) and (min-width: 320px) {
	.ads-top, .nomobile { display: block }
}
/* prevent Sahifa parent from clipping iframes & shift nomobile to the right - 2015.11.20 DAM */
@media only screen and (max-width: 479px){
	.content .entry iframe,  .google-map iframe {	max-height: none; }
	.ads-top, .nomobile {margin-right:-32px;}
}

/* Tagline Banner Styles */
@media (min-width:986px) {
	.header-content .ads-top {
	    padding-top: 30px;
	}
}
@media (max-width:985px) {
	.header-content .ads-top {
	    padding-top: 0;
	}
}
@media only screen and (max-width: 767px) and (min-width: 280px) {
	.header-content .ads-top {
	    width:100%;
	    max-width: 100%;
    	margin: 0;
	    display: block !important;
	}
}

/* Logo Tables */
.entry table.logotable {
	table-layout:fixed;
	width:384px;
	height:125px;
}
.entry table.logotable .rank-number {
	font-size:67px;
	font-weight:bold;
	color:#000;
	width:134px;
	height:90px;
	line-height:90px;
	vertical-align:middle;
}
.entry table.logotable .rank-logo {
	width:250px;
	height:125px;
	vertical-align:middle;
}
@media only screen and (max-width:767px){
	.entry table.logotable .rank-logo {
		width:240px
	}
}
@media only screen and (max-width:479px) {
	.entry table.logotable,
	.entry table.logotable .rank-number,
	.entry table.logotable .rank-logo {
		width:100%;
		height:auto;
		display:block;
		text-align:center;
	}
}

/* shortcode test page **/
.page-id-10798 hr {
    float: none;
    clear: both;
    margin: 1em 0;
}

/* Responsive video embeds for youtube-nocookie embeds */
.video-wrapper {
	overflow: hidden;
	margin-bottom: 1em;
}

.floatleft {
	padding:4px;
	margin: 0 7px 2px 0;
	display: inline;
	float:left;
}
.floatright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	float:right;
}

.video-content {
	position: relative;
	overflow: hidden;
	height: 0;
	padding-bottom: 56.25%;
	margin-bottom:1em;
}

.video-content iframe,
.video-content object,
.video-content embed {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

/* styles to border colors */
footer#theme-footer, .top-nav, .top-nav ul li.current-menu-item:after, #main-nav ul li.mega-menu .mega-menu-block, #main-nav ul ul {
	border-top-color: #37b8eb;
}

/* Add bottom margin to thumbnail in archive list views */
.item-list .post-thumbnail, .timeline .post-thumbnail {
	float: left;
	margin-bottom: 1em;
}

/* Force the read more link to display below the post excerpt in the archive list view */
.item-list .entry a.more-link {
	display: table;
	clear: both;
	float: none;
}
