/*
Theme Name: newsblock-child
Theme URI: https://newsblocktheme.com/
Description: Newsblock Child Theme
Author: Andrea M. Garcia
Template: newsblock
Version: 1.2.69
*/

 /*Custom Fonts */
@font-face {
	font-family: Founders Grotesk Text Test;
	src: url(https://startupnation.com/wp-content/themes/newsblock-child/fonts/test-founders-grotesk-text-regular.woff);
	font-weight: normal;
}

@font-face {
	font-family: Founders Grotesk Text Test;
	src: url(https://startupnation.com/wp-content/themes/newsblock-child/fonts/test-founders-grotesk-text-bold.woff);
	font-weight: bold;
}

@font-face {
	font-family: Founders Grotesk Text Test;
	src: url(https://startupnation.com/wp-content/themes/newsblock-child/fonts/test-founders-grotesk-text-bold-italic.woff);
	font-weight: bold italic;
}

@font-face {
	font-family: Founders Grotesk Text Test;
	src: url(https://startupnation.com/wp-content/themes/newsblock-child/fonts/test-founders-grotesk-text-regular-italic.woff);
	font-weight: italic;
}

@font-face {
	font-family: Poppins, sans-serif;
	src: url(https://startupnation.com/wp-content/themes/newsblock-child/fonts/Poppins-Regular.woff);
	font-weight: normal;
}

@font-face {
	font-family: Poppins, sans-serif;
	src: url(https://startupnation.com/wp-content/themes/newsblock-child/fonts/Poppins-BoldItalic.woff);
	font-weight: bold italic;
}

@font-face {
	font-family: Poppins, sans-serif;
	src: url(https://startupnation.com/wp-content/themes/newsblock-child/fonts/Poppins-Bold.woff);
	font-weight: bold;
}

@font-face {
	font-family: Poppins, sans-serif;
	src: url(https://startupnation.com/wp-content/themes/newsblock-child/fonts/Poppins-ExtraBold.woff);
	font-weight: bolder;
}

@font-face {
	font-family: Poppins, sans-serif;
	src: url(https://startupnation.com/wp-content/themes/newsblock-child/fonts/Poppins-ExtraBoldItalic.woff);
	font-weight: bolder italic;
}

@font-face {
	font-family: 'Inter';
	src: url(https://startupnation.com/wp-content/themes/newsblock-child/fonts/Inter-ExtraBold.woff);
	font-weight: 800;
	font-style: normal;
}

/* General styling */
html, body {
	width: auto!important;
} 

.cs-site-content {
	margin-bottom: 0 !important;
}

.has-white-color {
	color: #fff !important;
}

.red, .red.cnvs-section-title {
	background: #EC2A2D;
	color: #fff !important;
}

@media only screen and (min-width: 1200px) {
	.cs-container {
		max-width: 1400px !important;
	}
}

.cs-entry__post-related {
	margin-bottom: 3rem;
}

.grecaptcha-badge {
	display: none !important;
}

/* Ad styling */
.container-adwide, .container-admobile {
	text-align:center;
}

.container-adwide > div, .container-admobile > div {
	display:inline-block
}

/* Homepage styling */
.homepage-header {
	margin-top: -11em !important;
	padding-top: 170px;
	padding-bottom: 150px;
	max-height: 696px;
}

.homepage-header-intro.mobile.wp-block-columns > *:last-child {
	margin-top: 30px;
}

.homepage-header-intro.mobile {
	padding-right: 20px;
    padding-left: 20px;
    max-width: 70%;
}

.homepage-header-intro.mobile .cnvs-section-title span {
	font-size: 1.6em;
}

.sn-heading, h1, h2, h3, h5, h6 {
    font-family: Inter, sans-serif;
    font-style: italic;
    font-weight: bold;
}


h1.sn-heading {
	font-size: 3.75rem;
	max-width: 632px;
	width: inherit;
	width: max-content;
}

h1.sn-heading span {
	line-height: 90px;
}

h1.sn-heading span {
	background-image: url("https://startupnation.com/wp-content/uploads/2021/06/Rectangle%2046.png");
}

.featured-content-container {
	margin-top: -160px !important;
}

.featured-content-container .wp-block-columns {
	margin-top: -22px;
	justify-content: center;
}

.featured-content-container .wp-block-columns > .wp-block-column {
	margin-top: 22px;
}

@media only screen and (min-width: 1440px) { 
	h1.sn-heading {
		margin-right: 550px;
	}
}

@media only screen and (min-width: 3765px) { 
	h1.sn-heading {
		font-size:  88px;
		margin-right: 1500px;
	}

	h1.sn-heading span {
		line-height: 120px;
	}
}

@media only screen and (max-width: 595px) { 
	h1.sn-heading {
		font-size: 3.2rem;
		margin-left: 20px;
	}

	h1.sn-heading span {
    	line-height: 80px;
	}
}

@media only screen and (max-width: 529px) {
	h1.sn-heading {
		font-size: 2.7rem;
		margin-left: 20px;
	}
}

@media only screen and (max-width: 445px) { 
	h1.sn-heading {
		font-size: 30px;
		margin-left: 20px;
	}

	h1.sn-heading span {
    	line-height: 60px;
	}

	.homepage-header {
		padding-bottom: 100px;
	}
}

@media only screen and (max-width: 375px) { 
	h1.sn-heading {
		font-size: 34px;
	}

	h1.sn-heading span {
    line-height: 45px;
	}
}

@media only screen and (max-width: 320px) { 
	h1.sn-heading {
		font-size: 30px;
	}
}

h3.sn-heading span.cnvs-section-title {
	background: none !important;
	font-family: Poppins, sans-serif; !important;
}

h3.sn-heading span {
	width: 343px;
	height: 70px;
	left: 110px;

	font-size: 60px;
	line-height: 70px;
	/* identical to box height */
	letter-spacing: -0.06em;
	text-transform: lowercase;
	text-transform: capitalize;
	text-align: center;

	color: #FFFFFF;
}

.homepage-featured.cs-entry__inner.cs-entry__thumbnail.cs-overlay-ratio.cs-ratio-wide {
	max-height: 246px;
}

h3#our-partners span{
	font-size:  48px;
}

.sn-heading span, .cs-entry__title-line a {
	text-align: left;
    padding: var(--cs-padding-title-line) 0.35em;
    background-color: var(--cs-color-styled-heading);
    color: var(--cs-color-styled-heading-contrast);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    -webkit-transition: 0.25s;
    transition: 0.25s;
	z-index: 1;
	text-transform: lowercase;
	text-transform: capitalize;
}

.sn-heading span, .cs-entry__title-line {
	font-family: Poppins, sans-serif !important;
	font-weight: 700;
	line-height: 70px;
	letter-spacing: -0.03em;
}


.behind {
	margin-top: -3.5em !important;
}

.featured-content {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	margin-bottom: 0 !important;
	padding: 150px 33px 33px 33px;
	color: #fff;
	overflow: hidden;
}

/*.zoomin {
	-webkit-transition: all 2s ease;
  -moz-transition: all 2s ease;
  -ms-transition: all 2s ease;
  transition: all 2s ease;
}

.zoomin:hover {
	width: 355px;
	height: 455px;
}*/

.red.cnvs-section-title {
	text-transform: none !important;
	word-break: keep-all;
	font-size: 1.6rem !important;
	line-height: calc(var(--cs-font-styled-heading-line-height) + (var(--cs-padding-title-line) * 2) + 0.15em);
	padding: var(--cs-padding-title-line) 0.35em;
	margin-bottom: 0.5rem;
}

.featured-content h4 {
	display: initial;
	display: block;
	text-transform: none;
	margin-top: 50%;
	color: #000;
	height: 100px;
  font-style: italic;
  font-weight: 600;
  font-size: 28px;
  line-height: 36px;
}

.wp-block-buttons {
	display: block;
	text-align: center;
	margin-top: 0!important;
}

.cs-footer__logo img {
	    max-height: 90px !important;
}

.featured-button a {
	text-transform: uppercase !important;
	font-style: italic !important;
	padding: 20px !important;
	width: 392px;
	background: #FFFFFF;

	font-family: Founders Grotesk Text Test !important;
	font-weight: bold !important;
	font-size: 20px;

	color: #000000;

}

.cs-posts-area__pagination .cs-load-more {
	margin-bottom: 40px !important;
}

.cnvs-block-posts-layout-large-type-3 .cs-entry__title {
	left: 262px;
	font-family: Inter, sans-serif !important;
	font-style: italic;
	font-weight: bold;
	font-size: 35px;
	line-height: 160%;
	/* or 72px */
	text-align: center;
	letter-spacing: -0.06em;

	color: #FFFFFF;
	

}

h2.cs-entry__title:not(.cs-entry__title-line) {
	font-family: Inter, sans-serif !important;
    font-style: normal;
    font-kerning: none;
	/* line-height: 19px; */
}
			

.container-admobile {
    display: none;
}
@media only screen and (min-width: 767px) {
	.container-admobile {
    	display: none;
	}
	
	.gray-black-background {
		background-image: url(/wp-content/uploads/2021/05/gray-black-background.jpg);
	}

}

@media only screen and (max-width: 767px) {
	.container-adwide {
    	display: none;
	}

	.partner {
		padding-bottom: 20px;
	}
	
	.featured-button.white {
		margin-bottom: 30px;
	}

	h3.sn-heading span {
		left: 0 !important;
	}

	.cnvs-block-posts-layout-large-type-3 .cs-entry__title {
		width: 100%;
	    height: 100%;
	    line-height: 100%;
	    left: 0;
	}

	.cnvs-block-posts-layout-large-type-3 .cs-entry__title a {
		font-size: 24px !important;
	}
}

/* Mailchimp Pop-up */
.mc4wp-form-theme label {
	margin-bottom: 12px;
}

/* The container */
.label-container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.label-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.label-container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.label-container input:checked ~ .checkmark {
  background-color: #35363a;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.label-container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.label-container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* Replace title of Related Posts section */
#main > div > div.cs-container > div.cs-entry__post-related > h5 > span > span {
	font-size: 0px;
	visibility: hidden;
	line-height: 0;
}
#main > div > div.cs-container > div.cs-entry__post-related > h5 > span > span::before {
	content: "Recent Posts";
	visibility: visible;
	padding-top: 20px;
	font-size: var(--cs-font-section-headings-size);
}

/* Override "25%" button width styling to just use width of content - AL 10/28/21 */
.wp-block-button__width-25 {
	width: auto !important;
}
.wp-block-button__width-25 > a {
	width: auto !important;
}

/* Minor Styling Changes */

.cnvs-block-posts-1586156574285 .cs-entry__title a {
    font-size: 20px !important;
}

/* For mid-page CTA */
h5:not(:first-child) {
	margin-top: 35px !important;
}

/* Remove thumbnails from article lists */
.cs-entry__inner.cs-entry__thumbnail.cs-entry__overlay.cs-overlay-ratio.cs-ratio-square {
	display:none;
}

/* Reduce h2/h3 sizes */
h2 {font-size:26px !important;}
h3 {font-size:20px !important;}
@media only screen and (max-width: 520px) {
	.cs-entry__title.cs-entry__title-line,
	.cs-entry__title.cs-entry__title-line a {
		font-size:21px !important;
	}
	h2 {font-size:24px !important;}
	h3 {font-size:18px !important;}
}

.cs-block-posts-layout-horizontal-type-2 .cs-entry__outer h2.cs-entry__title {
	line-height: 80%;
}

/* Site-wide change header color - AL 2/8/22 */
.cs-header {
	background-color: #1d1e20 !important;
}
/* Make the header transparent at the top of the home page - AL 2/8/22 */
.home .cs-header:not(.cs-scroll-sticky):not(.cs-scroll-active) {
    background-color: #fff !important ;
}
.home #canvas-content {
	margin-top: -122px;
}
.home #canvas-content .cnvs-block-section:first-child {
    padding-top: 170px !important; /* 122+48 */
}

/* Random gradients */
.sun-random-1 .cs-overlay-link {
	transform: scaleX(-1);
}
.sun-random-2 .cs-overlay-link {
	transform: scaleY(-1);
}
.sun-random-3 .cs-overlay-link {
	transform: scale(-1, -1);
}

h2.cnvs-block-section-heading > .cnvs-section-title {
    max-width: none !important;
}
@media only screen and (max-width: 767px) {
	h2.cnvs-block-section-heading:after {
		flex:0;
	}
}
@media only screen and (max-width: 1019px) {
	.cs-block-posts-layout-tile-type-2 {
		grid-gap:5px !important;
	}
	.cs-block-posts-layout-tile-type-2 .cs-overlay-background::after {
		background-color:rgba(0, 0, 0, .6);
	}
}

/* Font updates - AL 5/23/2022 */
.post-categories > li > a {
	font-weight: 600;
	text-transform: none;
	font-size: 11px;
}
#page .cs-entry__post-meta {
	font-weight: 600;
	text-transform: none;
	font-size: 12px;
}
#page .cs-entry__post-meta .cs-author {
	font-weight: bold;
}

.abh_box .abh_tab_content .abh_text .abh_name {
	border-bottom: none !important;
}
.cs-entry__metabar-inner .pk-share-buttons-metabar-post .pk-share-buttons-total,
.pk-share-buttons-wrap .pk-share-buttons-item {
	border: none !important;
}

.pk-share-buttons-count.pk-font-heading {
	font-family: Inter, sans-serif !important;
	font-weight: 800 !important;
}
.pk-share-buttons-label.pk-font-secondary {
	color: #000 !important;
}
.pk-share-buttons-label.pk-font-primary {
	font-weight: 500 !important;
}
.pk-share-buttons-count.pk-font-secondary {
	font-size: 14px !important;
	opacity: 75% !important;
}
.pk-share-buttons-metabar-post .pk-share-buttons-total .pk-share-buttons-count:before {
	content:none !important;
}
.cs-entry__tags > ul > li {
	font-weight: 500;
    font-size: 16px;
}
.cs-entry__author-position {
    font-size: 16px !important;
    font-weight: 500 !important;
}
.cs-entry__author-name-wrapper {
	margin-top: 5px !important;
}
.cs-entry__author-name {
    letter-spacing: normal !important;
    text-transform: none !important;
    font-weight: 700 !important;
    font-size: 18px !important;
}
.cs-entry__post-related .cs-entry__title {
	line-height: 1em !important;
	font-size: 20px !important;
}
.cs-entry__post-related .cnvs-section-title span::before {
	text-transform: none;
	letter-spacing: normal;
	font-size: 20px !important;
}

@media (min-width: 720px) {
	.cs-search .cs-search-live-result:not(:first-child) .searchwp-live-search-results {
		top: 0 !important;
	}
}
.searchwp-live-search-result a,
.searchwp-live-search-result a:hover{
	color:#000;
}
.searchwp-live-search-result .cs-entry__post-meta{
	color:#979494;
}
#pe-widget-bell-icon-body svg,
#pe_allow_btn_optin_3 svg{
	display:none !important;
}
#pe-widget-bell-icon-body:before,
#pe_allow_btn_optin_3:before{
	content:"";
	width: 40px;
	height: 40px;
	background:url("./images/bell.svg");
	display: block;
	position:absolute;
	top: 0;
	left: 0;
}
#pe-widget-bell{
	background:#2d2f32 !important
}
.cs-footer__desc.footer-copyright{
	text-align: center;
	margin-bottom: 20px;
}
