/*
 * Theme Name:  Newsblock Child
 * Theme URI:   https://codesupply.co/themes/newsblock/
 * Description: Newsblock Child Theme
 * Author:      Code Supply Co.
 * Author URI:  https://codesupply.co/
 * Template:    newsblock
 * Version:     1.0.0
 */

/* Copy any classes from parent theme here. They will override the parent's version. */

@import url('https://fonts.googleapis.com/css2?family=Yeseva+One&display=swap');

:root,
[data-scheme=default] {
	--cs-color-styled-heading: rgba(0,0,0,0);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: 'Yeseva One', serif;
	background-color: rgba(0, 0, 0, 0);
}

h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover,
.h1:hover, .h2:hover, .h3:hover, .h4:hover, .h5:hover, .h6:hover {
	font-family: 'Yeseva One', serif;
	background-color: rgba(0, 0, 0, 0);
}

header {border-bottom: none;}

.cnvs-block-posts-layout-horizontal-type-4 .cs-entry__title {
	margin-left: -1em;
}

.cnvs-block-posts-layout-horizontal-type-4 .cs-entry__outer .cs-entry__content:not(:first-child) {
    margin-top: 2.5em;
}

.cs-entry__post-meta {
	text-transform: capitalize;
}

.cs-author {
	color: #ff842b;
}

.cs-header__scheme-toggle {
	position: absolute;
    top: 100vh;
    display: flex;
	align-items: center;
	position: relative;
	cursor: none;
    visibility: hidden !important;
}

.cs-sideNewsletter__button {
	align-items: center;
	height: 100%;
    width: 100%;
	color: var(--cs-color-primary);
	line-height: 1;
	font-family: var(--cs-font-menu-family), sans-serif;
	font-size: var(--cs-font-menu-size);
	font-weight: var(--cs-font-menu-weight);
	font-style: var(--cs-font-menu-style);
	letter-spacing: var(--cs-font-menu-letter-spacing);
	text-transform: var(--cs-font-menu-text-transform);
}

.cs-header__button {
	background-color: white;
	max-height: 35px;
	color: #0A3B26;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 4px 12px;
	border-radius: 3px;
	border: 1px solid #0A3B26;
	cursor: pointer;
	transition: ease-in-out 0.3s;
}

.cs-header__button:hover {
	background-color: rgba(0, 0, 0, 0);
	color: white;
	transition: ease-in-out 0.3s;
	border: 1px solid white;
}

/* Newsletter button article sidebar */
.button-newsletter-side {
	background-color: #0A3B26;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 12px;
	border-radius: 3px;
	border: 1px solid #0A3B26;
	cursor: pointer;
	transition: ease-in-out 0.3s;
}
  
.button-newsletter-side:hover {
	background-color: rgba(0, 0, 0, 0);
	color: #0A3B26;
	transition: ease-in-out 0.3s;
}

/* Category tag */
.cs-entry__category a {
	border: 1px solid var(--cs-color-styled-category-contrast);
	padding-top: 5px;
}
.cs-entry__category a:hover {
	border: 1px solid var(--cs-color-styled-category-hover);
}

.cs-entry__post-meta .cs-meta-category .post-categories a {
	border-radius: var(--cs-styled-category-border-radius);
	padding: 2px 4px;
	color: var(--cs-color-styled-category-contrast);
	border: 1px solid var(--cs-color-styled-category-hover);
}
.cs-entry__post-meta .cs-meta-category .post-categories a:hover {
	background: var(--cs-color-styled-category-hover);
	color: var(--cs-color-styled-category-hover-contrast);
}

.cs-header__nav {
	display: flex;
	align-items: flex-end;
	height: 100%;
	transition: 0.25s;
}

.cs-header__nav-inner {
	position: relative;
	display: flex;
	align-items: flex-end;
}

/* H1 are used for posts while h2 for the homepage */

h1.cs-entry__title-line, h1.cs-entry__title-line:hover {background: #FFFFFF;}

.cs-entry__title-line a:hover {
	background-color: var(--cs-color-styled-heading-hover);
	color: var(--cs-color-styled-heading-hover-contrast);
}

.cs-footer__desc {
	text-align: center;
	justify-self: center;
	color: #FFFFFF;
	font-size: 1rem;
}

.cs-footer__col:not(:first-child) {
    border-left: none !important;
}

.cs-footer .cs-site-subscribe {
    border-bottom: none !important;
}

.cs-header.cs-header-one .cs-header__nav {
    border-left: none !important;
}

.cs-header__nav-inner > li:hover > a {
	color: #ff842b;
    text-decoration: none;
}

.cs-header__nav-inner > li:hover {
    text-decoration: none;
}

.menu-item:hover, .menu-item-type-taxonomy:hover, .menu-item-object-category:hover, .menu-item-2198:hover {
    text-decoration: none;
}

span::before {visibility: hidden;}

li:active, span:active {color: #ff842b;}

.cs-header__nav-inner li.current-menu-item > a {color: #ff842b;}

.cs-footer__nav .current-menu-item a {color: #ff842b;}

.cs-footer__nav a:hover {color: #ff842b;}

h1.cs-entry__title span {color: #0A3B26;}

div.pk-share-buttons-items {padding-left: 10px;}

div.cs-entry__inner {
	align-content: start;
	text-align: left;
}

div.cs-entry__content {
	align-items: start;
	text-align: left;
}

.cs-entry__title, .cs-entry__excerpt {
	text-align: left;
}

.cnvs-block-posts-layout-standard-type-4 .cs-entry__thumbnail {width: 100%;}

.cnvs-block-posts-layout-standard-type-4 .cs-entry__thumbnail .cs-overlay-background:before,
.cnvs-block-posts-layout-standard-type-4 .cs-entry__thumbnail .cs-overlay-background:after {visibility: hidden;}

.cnvs-block-posts {cursor: pointer;}

footer .HT-footer_newsletter {
	height: auto;
	min-height: 200px;
	width: 100vw;
	padding: 80px 150px 40px;
	background-color: #0A3B26;
	justify-content: center;
	align-content: center;
}

footer .HT-footer_newsletter .HT-footer_newsletter_container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 25px;
	grid-row-gap: 0px;
	justify-content: center;
	align-content: center;
	width: 100%;
	height: auto;
}

footer .HT-footer_newsletter .HT-footer_newsletter_container .HT-footer_newsletter_container-left {
	justify-content: end;
	align-content: end;
	width: 100%;
}

footer .HT-footer_newsletter .HT-footer_newsletter_container .HT-footer_newsletter_container-left p.HT-title {
	text-align: center;
	justify-self: center;
	color: #FFFFFF;
	font-size: 2rem;
	font-family: 'Yeseva One', serif;
}

footer .HT-footer_newsletter .HT-footer_newsletter_container .HT-footer_newsletter_container-left p.HT-paragraph {
	text-align: center;
	justify-self: center;
	color: #FFFFFF;
	font-size: 0.75rem;
}

footer .HT-footer_newsletter .HT-footer_newsletter_container .HT-footer_newsletter_container-right {
	width: 100%;
	height: 50px;
	align-self: center;
}

@media only screen and (max-width: 1019px) {
	footer .HT-footer_newsletter .HT-footer_newsletter_container {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: repeat(2, 1fr);
		grid-column-gap: 0px;
		grid-row-gap: 25px;
	}
}

.HT-greenBackground {
	transform: translateY(-50px);
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	width: 100vw;
}

div.cnvs-block-section-1585225624742 {background-color: #0A3B26 !important; overflow: hidden}

@media (max-width: 1020px) {
	div.cnvs-block-section-1585225624742 {padding-bottom: 25px;}
}

@media (min-width: 1020px) {
	.cnvs-block-section:first-of-type > .cnvs-block-section-outer:first-of-type {
		max-width: none;
		padding: 0;
		margin: 0;
	}

	.cnvs-block-posts-layout-horizontal-type-4 .cs-entry__thumbnail {
		transform: scale(2.1) translateX(-16.5vw);
	}
}

.cs-entry__post-meta:not(:first-child), .cs-entry__post-meta .cs-meta-author-inner > *:not(:last-child) {color: #000000;}



div.cnvs-block-posts-layout-horizontal-type-4 .cs-entry__outer .cs-entry__content:not(:first-child) {margin-top: 3em; margin-bottom: 3em;}

h2.cs-entry__title-line a:hover {
	background-color: rgba(0, 0, 0, 0);
	cursor: pointer;

}

.cs-posts-area__pagination .cs-load-more {
	border: 2px solid #0A3B26;
	background-color: #fff;
	color: #0A3B26;
	font-weight: bold;
}

.cs-posts-area__pagination .cs-load-more:hover {background-color: #0A3B26;}

.is-style-cnvs-block-section-heading-3, .section-heading-default-style-3 .is-style-cnvs-block-section-heading-default {
	border-bottom: 2px solid black;
    padding-bottom: 0.5em;
}

.pk-widget-posts .pk-post-item:not(:first-child) {
	border-top: 0;
	padding-top: 0;
}

.cnvs-block-section-with-background-color .cs-entry__content .cs-entry__post-meta, .cnvs-block-section-with-background-color .cs-entry__content .cs-by, .cnvs-block-posts-layout-tile-type-1 .cs-entry__content .cs-entry__post-meta, .cnvs-block-posts-layout-tile-type-1 .cs-entry__content .cs-by {color: #ffffff;}

.cs-page__author {
    background: #0A3B26;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 60px;
    margin-top: -50px;
}

.cs-page__author-info .cs-page__archive-description, .cs-page__author-info .cs-page__archive-count {color: #FFFFFF;}

.cs-page__author-info .cs-page__title {color: #ff842b;}

.cs-page__author-thumbnail {
    --cs-secondary-border-radius: 0;
	width: 450px;
    height: 450px;
	border: 0;
}

@media only screen and (max-width: 1020px) {
	.cs-page__author {
		padding: 60px;
	}

	.cs-page__author-thumbnail {
		width: 250px;
		height: 250px;
	}
}

.cs-page__author-info .pk-social-links-wrap {
    --pk-social-link-color: white;
}

@media only screen and (min-width: 1020px) {.cs-page__author-social .pk-social-links-items {justify-content: left;}}

#HT-footer__button {
	border: 1.5px solid white;
    background-color: black;
}

#HT-footer__button:hover {
    background-color: white;
	color: black;
}

.cs-entry__comments-show button, .form-submit input[type=submit] {
	padding: 1rem 2rem;
    background-color: white;
    color: #0A3B26;
    border: 1.5px solid #0A3B26;
}

.cs-entry__comments-show button:hover, .form-submit input[type=submit]:hover {
	background-color: #0A3B26;
	color: white;
}

.cs-page__tags ul a {
	color: var(--cs-color-styled-category-contrast);
	border: 1px solid var(--cs-color-styled-category-contrast);
}

.cs-page__tags ul a:hover {
	background-color: var(--cs-color-styled-category-contrast);
	color: white;
	border: 1px solid var(--cs-color-styled-category-contrast);
}

.cs-page__subcategories:not(:first-child) {
	padding-top: 0;
	border-top: 0;
}

h1.cs-entry__title span {line-height: normal; font-size: 3rem;}

.cs-entry__category {margin-top: 15px;}

h2.cs-entry__title-line a {
	font-size: 3.5rem!important;
    line-height: normal;
	cursor: pointer;
}

.cnvs-block-section-with-background-color h2.cs-entry__title-line a {font-size: 5rem!important; line-height: 5.25rem;}