/**
Theme Name: AfriCamExam 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: africamexam-child-theme
Template: astra
*/

/*
 * CUSTOM SCRIPT BELOW THIS LINE
 */



/* SCROLLING TEXT CSS */
#scrolltext{
	/*border: 1px solid;*/
	/*background: yellow;*/
	width: 100%;
	overflow: hidden;
	padding-top: 10px;
	padding-bottom: 10px;
 }

p.para {
	color: rgb(255, 255, 255);
	font-weight: bold;
	white-space: nowrap;
	clear: both;
	float: left;
	font-size: 2rem;
	font-weight: 400;
}
p.para span {
	margin-right: 80px;
}


/* MENU */
/* Main menu */

/* Submenu */
.main-header-menu .sub-menu {
    background: var(--ast-global-color-5) !important;
}
.main-header-menu .sub-menu .menu-item a {
    color: var(--ast-global-color-0) !important;
}
.main-header-menu .sub-menu .menu-item a:hover {
    color: #000000 !important;
}


/* SIDEBAR - MAIN */

@media screen and (min-width: 922px) {
	#secondary {
	    position: fixed !important;
	    top: 32px;
	    right: 0;
	}
}
/*@media (min-width: 768px) {
	#secondary {
		width: 40% important;
	}
	#secondary img {
		min-width: 330px !important;
	}
}*/
div.sidebar-main aside.widget .wp-block-group {
	padding:20px;
}
@media (min-width: 922px) {
	.ast-right-sidebar #secondary {
		background: #ffffff;
		padding: 20px;
		margin-top: 50px;
		background-color: #f3f3f3;
	}
}
/* spacing between ad images */
aside.widget.widget_media_image {
	margin-bottom: 0px;
}
aside.widget.widget_media_image .wp-block-image {
	margin-bottom: 8px;	
}

/* Border around advert images */
aside.widget.widget_media_image img {
	border: solid 1px #000;
}

/* HEADER */
/* Remove 1 pixel border displayed (cant's find in astra options) */
/* @media (min-width: 922px) */
.main-header-bar {
    border-bottom-width: 0;
}
/*}*/

/* Make header sticky */
/* resource: https://cgscomputer.com/how-to-create-a-sticky-header-with-the-free-astra-wordpress-theme/ */
@media screen and (min-width: 922px) {
	.site-header {
	    position: fixed;
	    top: 0;
	    width: 100%;
	}
}
/*Adjust Content Padding*/
.site-content {
    padding-top: 30px;
}
/*Adjust Content Padding for Mobile (tablet)*/
@media screen and (max-width: 921px) and (min-width: 545px) {
    /*.site-content {
        padding-top: 90px;
    }*/
	/*Stick the Off-Canvas Navigation Menu - Adjust Top Margin for your Layout*/
	/*.main-navigation {
		position: fixed;
		margin-top: 0px;
	}*/
}
/*Adjust Content Padding for Mobile (phone)*/
@media screen and (max-width: 544px) {
    /*.site-content {
        padding-top: 90px;
    }*/
	/*Stick the Off-Canvas Navigation Menu - Adjust Top Margin for your Layout*/
	/*.main-navigation {
		position: fixed;
	}*/
}

/* Header background image */
.main-header-bar {
	/*background: #f4c842;box-shadow: 0px 3px 3px #b8b8b8;*/
	background: url(https://africamexam.co.za/wp-content/uploads/Banner-raw-file-1500x300-1.jpg) black;box-shadow: 10px 10px 10px -2px rgb(0 0 0 / 14%);
}


/* CONTENT AREA */

/* Entry header */
.entry-header {margin-top: 20px;}

/* Bottom margin to ensure all the ads can be seen when scrolling (when there's less content on page) */
@media screen and (min-width: 922px) {
	/*p.margin-below-content-area-to-display-ads {
		margin-bottom: 300px;
	}*/
	.site-content {
		margin-bottom:110px;
	}
}


/* FOOTER */
/* Fixed position footer */
@media screen and (min-width: 922px) {
	.site-footer {
		position: fixed;
		bottom: 0;
		width: 100%;
	}
}

/* Footer background image */
.site-footer .site-above-footer-wrap {
	/*background: #f4c842;box-shadow: 0px 3px 3px #b8b8b8;*/
	background: url(https://africamexam.co.za/wp-content/uploads/Banner-raw-file-1500x80-1.jpg) black;box-shadow: 10px 10px 10px -2px rgb(0 0 0 / 14%);
	min-height: 60px !important;
}

