/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
/* Globel Styles */
:root {
  --box-shadow: 0px 8px 15px -3px rgba(0,0,0,0.1);
}
/* Header + IMG Image Shadow */
#masthead {
    position: relative;
    box-shadow: var(--box-shadow);
}
#mobile-header {
    position: relative;
    box-shadow: var(--box-shadow);
}
.single-post .entry-content img{
	border-radius: 10px;
	margin-bottom: 25px;
	box-shadow: var(--box-shadow);
}
.single-post .entry-content figcaption {
	font-size: .8rem;
	margin-top: -14px;
	text-align: center;
	font-style: italic;
}
@media (max-width: 768px) {
	.gb-container.gb-container-8a25fc79 > .gb-inside-container {
		flex-wrap: wrap;
		justify-content: center;
    }
}
@media (max-width: 768px) {
	.pagehero_title {
		flex-wrap: wrap;
		justify-content: center;
    }
}
	/* Disbale Sidebar For Mobile Devices */
@media(max-width: 768px) {
	#right-sidebar, #left-sidebar {
		display: none;
    }
}
/* Primary Navigation Button */
.main-navigation .main-nav ul li.nav-button a {
	border: 3px solid var(--base);
	border-width: 2.5px;
	border-radius: 10px;
	line-height: 40px;
}
.main-navigation .main-nav ul li.nav-button:hover a {
	border: 3px solid var(--accent);
	border-width: 2.5px;
	color: var(--accent) !important;
	box-shadow: var(--box-shadow);
}
.hd-infograph:hover {
	box-shadow: var(--box-shadow);
}
/* Archive Posts Shadow + Hover */
.archive-posts {
	box-shadow: var(--box-shadow);
	margin-bottom: 25px;
	transition: transform .4s ease;
}
.archive-posts:hover {
	transform: scale(1.03);
}
/* Author Archive Shadow */
.author-image {
	box-shadow: var(--box-shadow);
	border-radius: 50%;
	transition: transform .4s ease;
}
.author-image:hover {
	transform: scale(1.03);
}
.author-details {
	box-shadow: var(--box-shadow);
}
/* Comment Name Box ERROR + SUBMIT Button */
	.comment-form input[name="author"] {
    border-color: var(--base) !important;
    color: var(--contrast);
    background-color: var(--base-2);
    border: 1px solid;
    border-radius: 0;
    padding: 10px 15px;
    max-width: 100%;
}
#submit{
	background-color: var(--base);
	border-radius: 5px;
}
#submit:hover{
	background-color: var(--accent);
}
/* BlockQuote Quote Block */
blockquote {
    background-color: var(--base-2);
    border-radius: 10px;
	padding: 2rem 1rem 2rem 1rem;
    border: none;
	box-shadow: var(--box-shadow);
}
blockquote::before {
    content: "“";
    position: absolute;
    color: var(--base);
    font-size: 10rem;
    z-index: 1;
    font-family: 'Arial';
    line-height: 0.5;
}
blockquote p {
    position: relative;
	text-align: center;
	margin-bottom: 14px;
	font-size: 1.4rem;
    z-index: 2;
}
blockquote cite {
	color: var(--contrast-2);
	font-size: 1.2rem;
}
/* Making YouTube Videos Responsive */
.iframe-container{
	position: relative;
	width: 100%;
	padding-bottom: 56.25%; 
	height: 0;
	margin-bottom: 24px;
}
.iframe-container iframe{
	position: absolute;
	top:0;
	left: 0;
	border-radius: 10px;
	width: 100%;
	height: 100%;
	box-shadow: var(--box-shadow);
}
/* target=_Blank Out Icon */
.entry-content p a[target='_blank']:after {
	content: url("data:image/svg+xml,%3Csvg width='13' height='13' viewBox='0 0 15 15' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' xmlns:serif='http://www.serif.com/' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;'%3E%3Cg transform='matrix(0.375,0,0,0.375,-1.5,-1.5)'%3E%3Cpath d='M36,24C34.8,24 34,24.8 34,26L34,38C34,39.2 33.2,40 32,40L10,40C8.8,40 8,39.2 8,38L8,16C8,14.8 8.8,14 10,14L22,14C23.2,14 24,13.2 24,12C24,10.8 23.2,10 22,10L10,10C6.6,10 4,12.6 4,16L4,38C4,41.4 6.6,44 10,44L32,44C35.4,44 38,41.4 38,38L38,26C38,24.8 37.2,24 36,24Z' style='fill-rule:nonzero;'/%3E%3C/g%3E%3Cg transform='matrix(0.375,0,0,0.375,-1.5,-1.5)'%3E%3Cpath d='M43.8,5.2C43.6,4.8 43.2,4.4 42.8,4.2C42.6,4 42.2,4 42,4L30,4C28.8,4 28,4.8 28,6C28,7.2 28.8,8 30,8L37.2,8L18.6,26.6C17.8,27.4 17.8,28.6 18.6,29.4C19,29.8 19.4,30 20,30C20.6,30 21,29.8 21.4,29.4L40,10.8L40,18C40,19.2 40.8,20 42,20C43.2,20 44,19.2 44,18L44,6C44,5.8 44,5.4 43.8,5.2Z' style='fill-rule:nonzero;'/%3E%3C/g%3E%3C/svg%3E ");
	margin: 0 4px;
}
/* HELPFUL Plugin */
.helpful-pro {
	border-left: 1px solid #e5e5e5 !important;
	border-bottom: 2px solid var(--global-color-8) !important;
}
.helpful-contra {
	border-left: 1px solid #e5e5e5 !important;
	border-bottom: 2px solid var(--global-color-9) !important;
}
.helpful .helpful-content .helpful-button, .helpful>.helpful-controls>div>.helpful-button, .helpful .helpful-feedback-controls .helpful-button {
	font-size: 1.1rem;
}
.helpful img {
		border-radius: 0px !important;
	animation-name: heart-animation;
  animation-duration: 2s;
	animation-iteration-count: infinite;
}
@keyframes heart-animation {
  0%   {transform: scale(1);}
  100% {transform: scale(1.6);}
}
/* Custom Rank Math FAQ Block */
.custom-faq {
	position: relative;
    clear: both;
    margin: 2.3rem 0rem 1.7rem 0rem;
    border: solid .0625rem var(--accent);
	border-radius: 10px;
    padding: 1.1rem 1.2rem;
	padding-top: 1.5rem;
	padding-bottom: 0px;
    width: 100%;
}
.custom-faq h3 {
	font-size: 1.5rem;
    line-height: 1.125;
}
.faq-heading {
	display: table;
	position: absolute;
	transform: translate(0rem,-2.7rem);
	padding: 0 .75rem;
	margin-bottom: 11px;
    font-size: 1.9rem;
    line-height: 1.125;
    color: var(--accent);
    background-color: #fff;
}
/* Custom KEYPOINTS Block */
ul.no-margin {
  margin: 0;
}
.key-points {
	color: var(--contrast-2);
	padding: 0.7rem;
	background-color: var(--base-3);
	box-shadow: var(--base) 0px 0px 0px 2px inset, rgb(255 255 255) 8px 8px 0px -3px, var(--accent) 8px 8px;
	border-radius: 10px;
	padding-bottom: 1.5rem;
	margin: 2rem 0.4rem 2rem 0rem;
}
.key-points p{
	font-size: 1.4rem;
	font-weight: 350;
	margin: 10px;
	margin-bottom: 8px !important;
}
.no-margin li {
	color: var(--contrast-2);
	display: flex;
	flex-wrap: wrap;
	font-size: 1.3rem;
	font-weight: 100;
	line-height: 1.2em;
	padding-left: 1.2rem;
	padding-right: 1.2rem;
	margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
	.no-margin li {
		display: block;
	}
}
/********** Zain Mailchimp Form **********/
.lead-box {
	max-width: 34rem;
	height: auto;
	border: 1px solid var(--base);
	border-radius: 10px;
	margin: auto;
	margin-bottom: 14px;
}
.lead-box-content {
	display: flex;
	padding: 20px 20px 20px 20px;
	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
}
.lead-tagline {
	padding: 0px 0px 15px 0px;
	text-align: left;
	color: var(--global-color-10);
}
.lead-form {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 14px;
	border-radius: 5px;
	background: #fffcfd;
	flex-wrap: wrap;
	box-shadow: var(--box-shadow);
}
.lead-form input {
	font-size: 16px;
	color: var(--contrast-3);
	padding: 15px 15px !important;
	border-radius: 5px;
	margin-bottom: 5px;
	border: none;
	outline: none;
	background: rgba(250, 169, 135, 0.19) !important;
	color: var(--accent) !important;
}
.lead-form button {
	color: var(--base-3);
	padding: 10px 20px;
	font-size: 18px;
	margin-top: 5px;
	margin-left: 15px;
	margin-bottom: 5px;
	border: none;
	border-radius: 5px;
	background: var(--base);
	cursor: pointer;
	transition: .3s;
}
.lead-form button:hover {
	background: var(--accent);
}
#img_f{
	box-shadow: none;
	height: 100px; width: fit-content;
}
.img_f{
	box-shadow: none;
}
@media (max-width: 768px) {
	.lead-form {
	width: 90%;
	margin-left: 14px;
	}
.lead-tagline {
			text-align: center;
		}
}