/**
Theme Name: Talkmor child theme
Author: D-Base Solutions
Author URI: https://d-base.co.za
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: talkmor-child-theme
Template: astra
*/

/*
 * CUSTOM SCRIPT BELOW THIS LINE
 */




/* SITE SECTIONS */
/* force section widths to maximum site width */
@media only screen and (min-width: 922px) {
	section.elementor-section, body.single-post .content-area.primary {
		max-width: 1289px;
		margin-left: auto;
	    margin-right: auto;
	}
}
/* archive and category page */
@media only screen and (max-width: 921px) {
	body.category .ast-container, body.archive .ast-container {
		padding-left: 0;
		padding-right: 0;
	}
}

/* CATEGORY BUTTTONS - GRADIENT */
.one-main-category-gradient-button {
  background-image:
    linear-gradient(
      #12B7B6, #7EA6FF
    );
  border-color: #12B7B6;
}
.two-main-category-gradient-button {
  background-image:
    linear-gradient(
      #FDEE19, #F47920
    );
  border-color: #FDEE19;
}
.three-main-category-gradient-button {
  background-image:
    linear-gradient(
      #6FBE44, #00A250
    );
  border-color: #6FBE44;
}
.four-main-category-gradient-button {
  background-image:
    linear-gradient(
      #ED8623, #EF4224
    );
  border-color: #ED8623;
}
.five-main-category-gradient-button {
  background-image:
    linear-gradient(
		#5DCAE8, #2651A4
    );
  border-color: #5DCAE8;
}
.six-main-category-gradient-button {
  background-image:
    linear-gradient(
		#49439B, #7974B3
    );
  border-color: #49439B;
}
.seven-main-category-gradient-button {
  background-image:
    linear-gradient(
		#D36697, #993594
    );
  border-color: #D36697;
}
.eight-main-category-gradient-button {
  background-image:
    linear-gradient(
		#D7D951, #68B547
    );
  border-color: #D7D951;
}
.nine-main-category-gradient-button {
  background-image:
    linear-gradient(
		#CC218C, #EB6AA6
    );
  border-color: #CC218C;
}
.ten-main-category-gradient-button {
  background-image:
    linear-gradient(
		#F26A21, #ED1C24
    );
  border-color: #F26A21;
}

.main-category-gradient-button {
	/*height: 100px;*/
	border-radius: 10px;
	/*border-color: #ffffffff;*/
	width:100%;
	height:160px;
	max-width:428px;
	max-height:160px;
	box-shadow: 7px 7px 5px 0px #00000029;
}
.main-category-gradient-button:hover,
.main-category-gradient-button:focus
{
	border-width: 1px;
	border-color: #ffffffff;
	color: #ffffff;
}
.main-category-gradient-button .container {
	padding-right: 0;
}
.main-category-gradient-button .heading {
	font-weight: 600;
	margin-bottom: 0;
	text-align: left;
}
.main-category-gradient-button p {
	line-height: 15px;
	font-size: 0.9rem;
	text-align: left;
	font-weight: 500;
}
.main-category-gradient-button .main-category-number {
	text-align: center;
	font-size: 3rem;
	margin-top: 18px;
}

/* SITE GLOBAL OVERRIDES */
/* page background custom colour for 'Teaching Tips' page only */
body.page-id-6827 { background-color: #E8E1DA !important; }

/* SINGLE POST PAGE */
body.single-post h1.entry-title {
	font-size: 2.2rem;
}
/* reduce PDF width - in post/lesson pages */
.wp-block-file object.wp-block-file__embed {
	width: 60% !important;
}
/* hide the link to PDF and justify download button */
.wp-block-file {
	display: flow-root;
}
.wp-block-file object.wp-block-file__embed {
	float: left;
	clear: left;
}
body.single-post .wp-block-file a:nth-child(2) {
	display: none;
    float: left;
	clear: left;
}
body.single-post .wp-block-file a:nth-child(3) {
	/*width: 40%;*/
	font-size: 1.1rem;
    float: left;
    clear: left;
    margin-left: 0;
    margin-top: 10px;
}


.ast-post-format- {
	padding-left: 35px;
	padding-right: 35px;
	background-color: #ffffff;
	padding-bottom: 50px;
	padding-top: 30px;
}
@media only screen and (min-width: 922px) {
	.ast-post-format- {
		padding-left: 80px;
		padding-right: 80px;
	}
}
body.single-post nav.navigation.post-navigation {
	display: none;
}
body.single-post article.hentry {
	margin-bottom: 0;
}

/* CATEGORY GRID BUTTONS */
.categories-button-grid button.category-bg-color-9 {
	/* elementary buttons on grid */
	background-color: #FFDA7C;
	border-color: #FFDA7C;
	color: var(--ast-global-color-2);
}
.categories-button-grid button.category-bg-color-10 {
	/* Main buttons on grid */
	background-color: #BCE2D9;
	border-color: #BCE2D9;
	color: var(--ast-global-color-2);
}
.categories-button-grid button.category-bg-color-11 {
	/* Mini buttons on grid */
	background-color: #D9E477;
	border-color: #D9E477;
	color: var(--ast-global-color-2);
}
.categories-button-grid button.category-bg-color-123 {
	/* Challenge a Friend buttons on grid */
	background-color: #C2C1D6;
	border-color: #C2C1D6;
	color: var(--ast-global-color-2);
}
.categories-button-grid button.category-bg-color-124 {
	/* Good to Know buttons on grid */
	background-color: #C5D5DF;
	border-color: #C5D5DF;
	color: var(--ast-global-color-2);
}
.categories-button-grid button.category-bg-color-271 {
	/* Discussion Questions buttons on grid */
	background-color: #D2E06E;
	border-color: #D2E06E;
	color: var(--ast-global-color-2);
}
.categories-button-grid button.category-bg-color-274 {
	/* Spot the Differences buttons on grid */
	background-color: #D6E045;
	border-color: #D6E045;
	color: var(--ast-global-color-2);
}
.categories-button-grid button.category-bg-color-275 {
	/* Podcast Lessons buttons on grid */
	background-color: #FEE991;
	border-color: #FEE991;
	color: var(--ast-global-color-2);
}
.categories-button-grid button.category-bg-color-700 {
	/* Discussion Questions buttons on grid */
	background-color: #D2E06E;
	border-color: #D2E06E;
	color: var(--ast-global-color-2);
}
.categories-button-grid button.category-bg-color-699 {
	/* Discussion Questions buttons on grid */
	background-color: #f48472;
	border-color: #f48472;
	color: var(--ast-global-color-2);
}
.categories-button-grid button.category-bg-color-824 {
	/* Discussion Questions buttons on grid */
	background-color: #cfdf68;
	border-color: #cfdf68;
	color: var(--ast-global-color-2);
}

/* hover state */
.categories-button-grid button.category-bg-color:hover
{
	/* Hover background of all buttons */
	background-color: #FFFFFF;
}
.categories-buttons {
	width:90%;
	margin-left:auto;
	margin-right:auto;
	text-align: center;
}
.categories-button {
	line-height: 1.2rem;
	font-weight: 400;
}
.categories-back-to-lessons {
	width:100%;
	padding-top:50px;
	text-align: center;
}
.category-no-worksheets {
	width:90%;
	padding-left: 80px;
	padding-right: 80px;
}



/* CONTENT AREAS */
/* paragraph spacing */
.entry-content p {margin-bottom: 1em;}
/* worksheet separator */
.wp-block-separator.is-style-wide {
    /*background-color: #99B3DD;*/
    background-color: #414042;
	/*color: #99B3DD;*/
	color: #414042;
	height: 5px;
}
/* page titles */
h1.page-title, h1.entry-title {
	margin-top: 30px;
}
.ast-archive-description {
	padding-left: 80px;
	padding-right: 80px;
}

/* POST TAGS (WORKSHEETS) */
/* Anchor link disable */
.cat-links a, .tags-links a {
	pointer-events: none;
	/*color: inherit;*/
}

/* BUTTONS */
.wp-block-file a.wp-block-file__button:hover {color: var(--ast-global-color-1);}

/* USER HIGHLIGHTING TEXT */
::-moz-selection { /* Code for Firefox */
	/*background: #AFC6C5;*/
	background: #CED8DA;
}
::selection {
	/*background: #AFC6C5;*/
	background: #CED8DA;
}

/* NAVIGATION */
/* FB and Whatsapp icons in menu */
.main-header-menu li:nth-last-of-type(-n+2) a {
	padding-right:2px;
	padding-left:2px;
}
@media screen and (min-width:921px) {
	.main-header-menu li a img#facebook-menu-icon {
		padding-left:70px;
	}	
}
@media screen and (max-width:920px) {
	.main-header-menu li a img#facebook-menu-icon, .main-header-menu li a img#whatsapp-menu-icon {
		padding-top:5px;
		padding-bottom:5px;
	}	
}

/* SIDEBAR */
.sidebar-main li {
	line-height: 1.2rem;
	/*margin-bottom: 15px;*/
}
#secondary li {
	margin-bottom: 15px;
}
.sidebar-main form.wp-block-search .wp-block-search__input {padding: 0px;} 
.sidebar-main form.wp-block-search  button {background-color: #669999 !important;border-color: #669999 !important;}
.sidebar-main form.wp-block-search  button:hover {color: #669999 !important; background-color: #66999900 !important; border-color: #669999 !important;}

.sidebar-main .wp-block-group {padding-top: 1rem; padding-bottom: 0.5rem;}
.sidebar-main .wp-block-group h2 {margin-bottom: 10px !important;}

/* POST META */
.entry-meta, .entry-meta * {
	font-size: 0.8rem;
	color: #c1c1c1;
}

/* CATEGORY DESCRIPTION TEXT */
.ast-archive-description p {
	font-size: 1.2rem;
}


/* POST ARCHIVE/CATEGORIES PAGE */
body.archive.category article.post h2 {
	font-size: 18px;
}
body.archive.category #content .ast-row article {
	margin-bottom: 10px;
	
}
body.archive.category #content .ast-row article .ast-post-format- {
	padding-bottom: 15px;
}
body.archive.category #content .ast-row article .entry-header {
	margin-bottom: 0px;
}


/* FOOTER */
.site-primary-footer-wrap a {
	color: #000000;
}
@media only screen and (min-width: 922px) {
	.site-above-footer-wrap[data-section="section-above-footer-builder"],
	.site-primary-footer-wrap[data-section="section-primary-footer-builder"]
	{
		max-width: 1289px;
		margin-left: auto;
		margin-right: auto;
	}
}
/* hide bottom clouds image "above footer" section on blue page - teaching notes. There's a different image on this page only */
body.page-id-6827 .site-above-footer-wrap {display:none !important;}