/*
Theme Name: Chesapeake Bay Magazine
Theme URL: http://www.chesapeakebaymagazine.com
Description: Chesapeake Bay Magazine Theme
Author: John Doe
Author URL: http://www.chesapeakebaymagazine.com
Template: elegant-magazine-pro
Version: 1.0.0
Text Domain: elegant-magazine-pro-child
Custom CSS goes after this line*/

/* Enter Your Custom CSS Here */



/** Nightshift Updates - Sept 2022 **/
@import url('https://fonts.googleapis.com/css2?family=Cardo:ital,wght@0,400;0,700;1,400&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body.page-id-321940 .site-content { width:100% !important; margin-top:0 !important; }
body.page-id-321940 .entry-content { margin-top:0; }
body.page-id-321940 .content-area { padding-left:0; padding-right:0; }

body.page-id-321940 .em-breadcrumbs,
body.page-id-321940 .entry-header h1.entry-title { display:none !important; }

.ns-button {
	font-family: 'Poppins', sans-serif;
	color:white !important;
	display:inline-block;
	padding:13px 25px;
	text-align:center;
	font-weight:700;
	background:#d61f26;
	transition:all 0.4s;
}
.ns-button:hover { background:#eb545a; }

.entry-content .ns-section-header {
	border-bottom:1px solid rgba(0, 0, 0, 0.1);
}
.entry-content .ns-section-header h3 {
	font-family: 'Cardo', serif;
	border-bottom:2px solid black;
	display:inline-block;
	margin:0;
	padding-bottom:13px;
	font-weight:700;
}
.entry-content .ns-section-header a { 
	float:right; 
	font-family: 'Poppins', sans-serif;
	text-transform:uppercase;
	letter-spacing:2px;
	font-size:13px;
	font-weight:700;
}

.figure-categories .cat-links a.sponsored-cat {
	background:white !important;
	box-shadow:0px 0px 20px rgba(0, 0, 0, 0.2);
	color:black !important;
}
.figure-categories .cat-links a.sponsored-cat:before {
	content:'';
	width:10px;
	height:10px;
	display:inline-block;
	margin-right:4px;
	background-size:100%;
	background-position:center;
	background-repeat:no-repeat;
	background-image:url(images/star.png);
}


/** HEADER **/
.masthead-banner { position:relative; overflow:hidden; }

body .main-navigation a {
	font-family: 'Poppins', sans-serif !important; 
	font-weight:600 !important;
}
body .main-navigation .sub-menu a {
	font-weight:400 !important;
}

.main-navigation .af-search-click.icon-search { display:none; }

.header-block-right { 
	text-align:right; 
	font-family: 'Poppins', sans-serif; 
	font-size:13px;
	position:relative;
	margin-top:60px;
}
.header-block-right a {  
	text-transform:uppercase;
	letter-spacing:1px;
	font-weight:700;
	display:inline-block;
	margin:0px 10px;
}

.header-search-box {  
	display:none;
	box-shadow:0px 0px 30px rgba(0, 0, 0, 0.2);
	margin-top:10px;
	position:absolute;
	width:100%;
	top:20px;
	right:20px;
}

.header-search-box div.asl_w_container { 
	float:left; 
	width:85% !important; 
	display:inline-block; 
	margin:0;
	border:1px solid rgba(0, 0, 0, 0.2) !important;
}
.header-search-box .header-search-close { 
	display:inline-block; 
	border-left:1px solid rgba(0, 0, 0, 0.1);
	width:15%;
	height:44px;
	line-height:44px; 
	text-align:center;
	float:left;
	cursor:pointer;
}
.header-block-left { margin-top:60px; }
.header-block-left .social-widget-menu ul li a { 
	border:none;
	width:40px;
	height:40px; 
}

.header-cta a {
	background: #d61f26;
    color: white !important;
}

/** HOME **/
.header-top-ad-container {
	background:#f2f2f2; 
	text-align:center; 
	padding:5px;
}
.header-top-ad-container .widget { margin:0; }
.header-top-ad-container .ad-container { overflow:auto; }

/** POST CAROUSEL WIDGET **/
.ns-posts-carousel { margin-left:-10px; margin-right:-10px; }
.ns-posts-carousel .no-gutter-col.banner-half { 
	border:none;
	padding:10px; 
	font-family: 'Poppins', sans-serif;
}

.ns-posts-carousel .data-bg-featured, 
.ns-posts-carousel .data-bg-categorised {
	height:auto;
}

.ns-posts-carousel .data-bg-featured a.em-figure-link, 
.ns-posts-carousel .data-bg-categorised a.em-figure-link, 
.ns-posts-carousel .data-widget-featured a.em-figure-link {
	position:relative;
}

.ns-posts-carousel .article-title {
	font-family: 'Poppins', sans-serif;
	letter-spacing:0px;
	text-transform:capitalize;
	font-weight:700;
	font-size:18px;
}

.ns-posts-carousel .figure-categories { bottom:15px; }
.ns-posts-carousel .figure-categories .cat-links a {
	font-family: 'Poppins', sans-serif;
	font-weight:700;
	padding:12px 18px !important;
	text-transform:capitalize;
}

.ns-posts-carousel .slide-icon {
	background:#d61f26;
	width:50px;
	height:50px;
	top:39%;
	z-index:12;
}

.ns-posts-carousel .slide-icon.fa-arrow-right { margin-right:-17px; }
.ns-posts-carousel .slide-icon.fa-arrow-right:before {
	right:15px;
	color:white;
}

.ns-posts-carousel .slide-icon.fa-arrow-left { margin-left:-17px; }
.ns-posts-carousel .slide-icon.fa-arrow-left:before {
	left:15px;
	color:white;
}

/** LARGE CAROUSEL **/
.ns-posts-carousel-large { overflow:hidden; }

.ns-posts-carousel-large:before {
	content:'';
	display:block;
	position:absolute;
	left:0;
	top:0;
	height:100%;
	width:27%;
	z-index:10;
	pointer-events:none;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+19,ffffff+100&0.85+20,0+100 */
background: -moz-linear-gradient(left,  rgba(255,255,255,0.85) 19%, rgba(255,255,255,0.85) 20%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left,  rgba(255,255,255,0.85) 19%,rgba(255,255,255,0.85) 20%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right,  rgba(255,255,255,0.85) 19%,rgba(255,255,255,0.85) 20%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d9ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */

}

.ns-posts-carousel-large:after {
	content:'';
	display:block;
	position:absolute;
	right:0;
	top:0;
	height:100%;
	width:27%;
	z-index:10;
	pointer-events:none;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+81&0+0,0.85+80 */
background: -moz-linear-gradient(left,  rgba(255,255,255,0) 0%, rgba(255,255,255,0.85) 80%, rgba(255,255,255,0.85) 81%); /* FF3.6-15 */
background: -webkit-linear-gradient(left,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.85) 80%,rgba(255,255,255,0.85) 81%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.85) 80%,rgba(255,255,255,0.85) 81%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#d9ffffff',GradientType=1 ); /* IE6-9 */

}

.ns-posts-carousel-large .slick-list {
	margin-left:-18%;
	margin-right:-18%;
}
.ns-posts-carousel-large .no-gutter-col.banner-half { padding:1px; }
.ns-posts-carousel-large .no-gutter-col.banner-half:before {
	content:'';
	position:absolute;
	bottom:0;
	left:0;
	display:block;
	width:100%;
	height:350px;
	z-index:1;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.65+100 */
background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */

}

.ns-posts-carousel-large .featured-article,
.ns-posts-carousel-large .featured-article .featured-article-wrapper,
.ns-posts-carousel-large .featured-article .data-bg-featured,
.ns-posts-carousel-large .featured-article img { height:100%; }

.ns-posts-carousel-large .slide-icon.fa-arrow-right { margin-right:0; }
.ns-posts-carousel-large .slide-icon.fa-arrow-left { margin-left:0; }

.ns-posts-carousel-large figcaption {  
	position:absolute;
	bottom:0;
	z-index:2;
}
.ns-posts-carousel-large .title-heading h3 {
	font-family: 'Cardo', serif;
	font-size:34px;
	color:white;
}
.ns-posts-carousel-large .title-heading h3 a { color:white; }

.ns-posts-carousel-large .figure-categories {
	position:relative;
	bottom:0;
	padding:0;
	margin-bottom:10px;
}

/** SINGLE COL WIDGET **/
.ns-single-col-posts .col-ten { padding:10px 0px; }

.ns-single-col-posts .base-border:before { display:none; }

.ns-single-col-posts .article-title {
	font-family: 'Poppins', sans-serif;
	letter-spacing:0px;
	text-transform:capitalize;
	font-weight:700;
	font-size:17px;
}

.ns-single-col-posts .figure-categories .cat-links a,
.ns-single-template .ns-single-col-posts .figure-categories .cat-links a {
	font-family: 'Poppins', sans-serif;
	font-weight:700;
	font-size:10px;
	padding:10px 15px !important;
	text-transform:capitalize;
	background:#d61f26;
	color:white;
	margin-bottom:4px;
}

.ns-single-col-posts .ns-col-img { width:40% !important; }
.ns-single-col-posts .ns-col-details { width:60% !important; padding-left:25px; }

.ns-single-col-posts .grid-item-metadata { display:none; }

/** CATEGORY TEMPLATE **/
body.archive h1 {
	font-family: 'Cardo', serif;
	text-transform:capitalize !important;
}

body.archive .em-breadcrumbs .container { width:100%; }
body.archive .em-breadcrumbs ul {
	border:none;
	font-family: 'Poppins', sans-serif;
	margin-bottom:0;
}

body.archive .ns-posts-carousel-large .no-gutter-col.banner-half { height:500px !important; }

body.archive .archive-layout-grid .col { padding-right:30px; }

body.archive .archive-layout-grid .data-bg-categorised { height:300px; }

body.archive .archive-layout-grid .figure-categories { margin-bottom:15px; }
body.archive .archive-layout-grid .figure-categories .cat-links a {
	font-family: 'Poppins', sans-serif;
	font-weight:700;
	font-size:11px;
	padding:11px 15px !important;
	text-transform:capitalize;
	background:#d61f26;
	color:white;
	margin-right:7px;
}

body.archive .archive-layout-grid .article-title {
	font-family: 'Cardo', serif;
	text-transform: capitalize;
    font-weight: 700;
    font-size: 20px !important;
}

body.archive .archive-layout-grid .post-description p {
	font-family: 'Poppins', sans-serif;
	font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 14px;
}

.site-main .posts-navigation {
	border-left:none;
	border-right:none;
}
.site-main .posts-navigation .nav-links a {
	font-family: 'Cardo', serif;
	text-transform:capitalize;
	font-weight:700;
}

/** ARTICLE TEMPLATE **/
/*.ns-single-template #masthead .ad-container { display:none !important; }*/

.ns-single-template .em-breadcrumbs .container { width:100%; }
.ns-single-template .em-breadcrumbs ul { 
	border:none; 
	padding-bottom:0;
	font-family: 'Poppins', sans-serif;
	font-weight:300;
	letter-spacing:1px;
}
.ns-single-template .em-breadcrumbs ul li { font-size:13px; }

.ns-single-template .hentry.has-post-thumbnail .header-details-wrapper { margin-left:0; }
.ns-single-template .hentry.has-post-thumbnail .entry-header-details {
	margin: 0;
    padding: 0;
    padding-top: 20px;
}

.ns-single-template .entry-header-details .figure-categories {
	margin:0;
}

.ns-single-template .hentry.has-post-thumbnail .entry-header-details .figure-categories {
	margin-top: -40px;
    margin-left: 15px;
    margin-bottom: 16px;
}

.ns-single-template .figure-categories .cat-links a {
	font-family: 'Poppins', sans-serif;
	font-weight:700;
	font-size:13px;
	padding:13px 20px !important;
	text-transform:capitalize;
	background:#d61f26;
	color:white;
	margin-right:7px;
}

.ns-single-template header.entry-header h1.entry-title {
	font-family: 'Cardo', serif;
	text-transform:capitalize;
	font-weight:700;
	font-size:47px;
}

.ns-single-template .entry-content h2,
.ns-single-template .entry-content h3,
.ns-single-template .entry-content h4,
.ns-single-template .entry-content h5,
.ns-single-template .entry-content h6 {
	font-family: 'Cardo', serif;
}

.ns-single-template .wp-block-gallery {
	margin-bottom:30px;
}

.ns-single-template .post-item-metadata.entry-meta {
	padding:20px;
	border-top:1px solid rgba(0, 0, 0, 0.1);
	border-bottom:1px solid rgba(0, 0, 0, 0.1);
	font-size:16px;
	font-family: 'Cardo', serif;
	margin-bottom:45px;
}

.ns-single-template .post-item-metadata.entry-meta .ns-post-share { 
	float:right; 
	border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px;
    padding-right: 0;
    margin-top: -20px;
}
.ns-single-template .post-item-metadata.entry-meta .ns-post-share .addtoany_shortcode { display:inline-block; }

.ns-single-template div.post-item-metadata.entry-meta span:nth-child(-n+2) {
	display:inline-block;
}

.ns-single-template .entry-content-wrap,
body .ns-single-template .entry-content-wrap p {
	font-family: 'Poppins', sans-serif;
	font-weight:300;
}

body .ns-single-template .entry-content-wrap p { margin-bottom:30px; }

.crp_related ul { width:100%; margin-bottom:25px; }
.crp_related.crp-rounded-thumbs li { text-align:left; width:32%; border-radius:0; box-shadow:none; }
.crp_related.crp-rounded-thumbs a { width:100%; height:auto; }
.crp_related.crp-rounded-thumbs img { max-width:100%; min-height:215px; }
.crp_related.crp-rounded-thumbs .crp_title {
	position:relative;
	font-family: 'Poppins', sans-serif;
	color:black !important;
	text-shadow:none;
	font-weight:700;
	background:none;
	text-align:left;
}
.crp_related.crp-rounded-thumbs li:hover .crp_title { background:none; }
.crp_primary_term {
	font-family: 'Poppins', sans-serif;
	font-weight:700;
	font-size:12px;
	padding:7px 18px !important;
	text-transform:capitalize;
	background:#d61f26;
	color:white;
	margin-right:4px;
	position: absolute;
    left: 14px;
    top: 14px;
}


.related-stories-container h3 { font-family: 'Cardo', serif; }
.related-stories-container h4 { font-family: 'Poppins', sans-serif; }

.related-posts .archive-layout-grid {
	width:32%;
	float:left;
	margin-right:1%;
	font-size:13px;
}
.related-posts .archive-layout-grid .related-post-thumb { 
	max-height: 220px;
	min-height: 220px;
    overflow: hidden;
}

/** SIDEBAR WIDGETS **/

aside#secondary.widget-area { position:relative !important; top:0 !important; } /* unstick the sidebar */

aside#secondary.widget-area h2.widget-title,
.elementor-widget-container h5 {
	font-family: 'Poppins', sans-serif !important;
	border-bottom:1px solid rgba(0, 0, 0, 0.1) !important;
	padding:0 !important;
	text-transform: uppercase;
    font-size: 16px;
}
aside#secondary.widget-area h2.widget-title span {
	border-bottom:3px solid black;
	padding-bottom: 10px;
    display: inline-block;
}

.elementor-widget-container h5 {
	padding-bottom: 10px !important;
}

.ns-single-template .widget .post-description { display:none; }

.ns-single-template .widget-list li {
	font-family: 'Poppins', sans-serif; 
	border-bottom:1px solid rgba(0, 0, 0, 0.1); 
}

aside#secondary.widget-area .ns-single-col-posts .col-ten { padding:0; }

#ajaxsearchlite1 .probox, div.asl_w .probox { height:44px !important; }
div.asl_w .probox .promagnifier {
	height:44px !important;
	width:44px !important;
}

body #ajaxsearchlite1 .probox .proinput input, 
body div.asl_w .probox .proinput input { height:44px !important;  color: black !important;  }

body #ajaxsearchlite1 .probox .proinput input::placeholder, 
body div.asl_w .probox .proinput input::placeholder { 
  color: black !important;
  opacity: 1;
}
body #ajaxsearchlite1 .probox .proinput input:-ms-input-placeholder, 
body div.asl_w .probox .proinput input:-ms-input-placeholder { color: black !important; }
body #ajaxsearchlite1 .probox .proinput input::-ms-input-placeholder, 
body div.asl_w .probox .proinput input::-ms-input-placeholder {color: black !important; }



.elementor-widget-wp-widget-categories ul { margin-left:0 !important; }
.elementor-widget-wp-widget-categories ul li.cat-item {
	border-bottom:1px solid rgba(0, 0, 0, 0.1);
}
.elementor-widget-wp-widget-categories ul.children { display:none; }

/** SHOWCASE TEMPLATE **/
body.page-template-template-showcase .site-content { width:100% !important; margin-top:0 !important; }
body.page-template-template-showcase .entry-content { margin-top:0; }
body.page-template-template-showcase .content-area { padding-left:0; padding-right:0; }

body.page-template-template-showcase .em-breadcrumbs,
body.page-template-template-showcase .entry-header h1.entry-title { display:none !important; }

body.page-template-template-showcase h3 {
	font-size:35px;
	margin-bottom:20px;
}

.showcase-banner h1 { 
	color:white; 
	font-family: 'Cardo', serif !important;
	position: relative;
    z-index: 1;
    font-size:55px;
}
.showcase-banner:before {
	content:'';
	position:absolute;
	width:100%;
	height:200px;
	left:0;
	bottom:0;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.65+100 */
background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */
}

.showcase-section-header { position:relative; }
.showcase-section-header h4 {
	background:#c0231f;
	display:inline-block;
	padding:20px;
	font-size:25px;
	color:white;
	position:absolute;
	top:10px;
	left:-16px;
	box-shadow:12px 12px 0px white;
}

/** CTA **/
.entry-content .ns-cta h3 { 
	font-family: 'Cardo', serif !important;
	color:white !important;
	font-size:40px; 
}

/** FOOTER **/
.site-footer { font-family: 'Poppins', sans-serif; }

.site-footer .col-md-3.footer-second-widgets-section,
.site-footer .col-md-3.footer-third-widgets-section { width:20%; }
.site-footer .col-md-3 { width:30%; }

.site-footer .social-widget-menu ul li a {
	border-radius:0;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    transition:all 0.4s;
}

.site-footer .social-widget-menu ul li a:hover {
	background:#d61f26;
}

.site-footer .widget_nav_menu li a { border:none; }

body .site-info { font-size:14px; }

/** RESPONSIVE **/
@media only screen and (max-width: 1080px) {
	.top-subscribe-cta { position:relative !important; top:0 !important; right:0 !important; }
}

@media only screen and (max-width: 990px) {
	.ns-posts-carousel-large .no-gutter-col.banner-half { min-height:375px; }
	.ns-posts-carousel-large .title-heading h3 { font-size:22px; }

	.ns-single-col-posts .post-description { display:none; }

	.ns-single-template .figure-categories .cat-links a {
		font-size:10px;
		padding:10px 14px !important;
	}

	.site-footer .col-md-3.footer-second-widgets-section,
	.site-footer .col-md-3.footer-third-widgets-section { width:100%; }
	.site-footer .col-md-3 { width:100%; }
}

@media only screen and (max-width: 800px) {

	/*.ns-cta { background-image:url(images/cta-bg-mobile.jpg) !important; }*/

	.ns-single-template .post-item-metadata.entry-meta .ns-post-share { 
		float:none;
		border: none;
    	padding: 0;
    	margin-top: 10px;
	}

	.header-block-left .social-widget-menu ul,
	.header-block-right { text-align:center; }

	.related-posts .archive-layout-grid {
		width:100%;
		margin:0;
		margin-bottom:20px;
	}

}

@media only screen and (max-width: 600px) {
	
	.ns-posts-carousel-large:before,
	.ns-posts-carousel-large:after { display:none; }
	.ns-posts-carousel-large .slick-list { margin-left:0; margin-right:0; }

	.ns-posts-carousel .slide-icon.fa-arrow-right { margin-right:-40px; }
	.ns-posts-carousel .slide-icon.fa-arrow-left { margin-left:-40px; }

	.ns-posts-carousel-large .slide-icon.fa-arrow-right { margin-right:0; }
	.ns-posts-carousel-large .slide-icon.fa-arrow-left { margin-left:0; }

	.ns-posts-carousel .article-title { font-size:16px; }

	 #primary .ns-single-col-posts .article-title-2 { font-size:16px; }
	 .ns-single-col-posts .post-description { line-height:1.2; }

}