/*  
Theme Name: Switch
Theme URI: https://afterglow-web.agency
Author: Afterglow
Author URI: https://afterglow-web.agency
Description: A WordPress theme developed specifically for Switch On Paper
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: flexible-width, custom-header, custom-menu, editor-style, featured-images, post-formats, sticky-post, translation-ready
Text Domain: afg-blog
*/


*:focus {
	outline: 0;
}

img::selection {
    background-color:transparent;
} 

img {
	width: 100%;
	height: auto;
}

svg {
	max-width:100%;
	max-height:100%;
	height:100%;
	width:100%;
	display: block;
}

div, figure, figcaption, article {
	box-sizing: border-box;
}

a, a:hover {
	text-decoration: none;
	color:#000;
}

ul, li {
	list-style-type: none;
	margin:0;
	padding:0;
}

button:focus {outline:0;}

body {
	font-family: 'Rubik', sans-serif;
	font-weight:400;
	color:#000;
}

html {
	margin-top:0!important;
}

b, strong {
    font-weight: 700;
}


#main-content {
	padding-top: 100px;
}

.single-post #main-content {
	padding-top: 0;
}


body.archive h1, body.search h1 {
    padding: 30px 20px;
    text-align: center;
    margin: 0;
    font-size: 30px;
    line-height: 36px;
    font-weight: 900;
    text-align: center;
}

body.page #main-content > .h1 {
    padding: 60px 0 30px;
    font-size: 22px;
}

body.page h1 {
    padding: 0 0 10px;
    margin-bottom: 0;
    text-align: center;
    margin: 0;
    font-size: 30px;
    line-height: 36px;
    font-weight: 900;
    text-align: center;
}

.afg-page-subtitle {
    line-height: 32px;
    text-align: center;
    margin-bottom: 0;
}

/**
* Blog Grid
*/
.grid-wrapper {
	padding:60px 100px;
	margin-right: -15px;
    margin-left: -15px;
}

body.logged-in .grid-wrapper#post-grid-block_6110080f5f837 {
	padding-top: 0;
}

.grid-wrapper .sticky-grid-item {
		display: none;
}

.grid {
}

.grid .grid-item,.grid-sizer {
	width:47%;
}

.grid .grid-item.intro > p {
	font-size: 48px;
	font-weight: 900;
	line-height: 56px;
	margin-bottom: 10px;
}

.grid .grid-item.intro > div {
	font-family: 'Libre Baskerville',serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 29px;
	letter-spacing: 0.02em;
	margin-bottom: 25px;
}

.grid .grid-item.intro > div p:last-of-type {
	margin-bottom: 0;
}

.grid .grid-item {
	position: relative;
}

.grid .grid-item:last-of-type {
	margin-bottom:0;
}

.afg-opacity-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	top:0;
	left:0;
	background-color: rgba(0,0,0,.15);
	pointer-events: none;
	opacity: 0;
	transition: all .3s;
}

.grid-item:hover .afg-opacity-overlay,
.sticky-grid-item:hover .afg-opacity-overlay{
	opacity: 1;
}

.grid .afg-sixteen-nine img,
.grid .afg-sixteen-nine .afg-opacity-overlay {
	height:calc((58vw - 200px) / 2);
}

.grid .afg-four-third-landscape img,
.grid .afg-four-third-landscape .afg-opacity-overlay {
	height:calc((73vw - 200px) / 2);
}

.grid .afg-four-third-portrait img,
.grid .afg-four-third-portrait .afg-opacity-overlay {
	height:calc((130vw - 200px) / 2);
}

.grid .afg-square img,
.grid .afg-square .afg-opacity-overlay {
	height:calc((93vw - 200px) / 2);
}

.gutter-sizer {
	width:6%;
}

.grid-item a img {
	width:100%;
	height:auto;
	object-fit: cover;
}

figure, figcaption {
	margin:0;
}

.grid-item figure {
	position: relative;
}

.afg-meta-type {
	display: block;
	position: absolute;
	top:5px;
	right:5px;
	height:25px;
	padding:9px 11px;
	line-height: 11px;
	letter-spacing: 2px;
	z-index: 1;
}

.afg-meta-wrapper {
	font-size: 25px;
	font-weight: 700;
	line-height: 34px;
	margin-top: 25px;
}

.afg-meta-wrapper span {
	display: inline-block;
	margin-right: .6ex;
}

.afg-meta-wrapper span:last-child {
	margin-right: 0;
}

section[id^="post-grid"] .grid-item h2 {
	padding-bottom: 30px;
	border-bottom: 1px solid #BFBFC2;
	margin-bottom: 80px;
}

.afg-meta, .grid-item a:hover, .sticky-grid-item h2 a:hover, .afg-sticky-post-wrapper h2 a:hover {
	color:var(--second-color);
}

.grid figcaption {
	display: block;
}

.grid .afg-meta {
	flex:0 0 100%;
}

.afg-post-link {
	align-items: center;
}

.grid-item-title {
	font-size: 36px;
	font-weight: 700;
	line-height: 44px;
}

.afg-grid-right {
	transform: translateX(100px);
}

.afg-grid-left {
	transform: translateX(-100px);
}

.cta-grid-item {
	width: 100%;
}

/**
* Infinite Scroll
*/
.page-load-status {
	display: none;
}

.infinite-scroll-request {
	height:50px;
	width: 50px;
	margin: 50px auto;
}

.afg-loader {
	-webkit-animation: loader 1s infinite; /* Safari 4+ */
	-moz-animation: loader 1s infinite; /* Fx 5+ */
	-o-animation: loader 1s infinite; /* Opera 12+ */
	animation: loader 1s infinite;
}

@-webkit-keyframes loader {
  0%   { transform: rotate(-80deg); }
  100% { transform: rotate(100deg); }
}
@-moz-keyframes loader {
  0%   { transform: rotate(-80deg); }
  100% { transform: rotate(100deg); }
}
@-o-keyframes loader {
  0%   { transform: rotate(-80deg); }
  100% { transform: rotate(100deg); }
}
@keyframes loader {
  0%   { transform: rotate(-80deg); }
  100% { transform: rotate(100deg); }
}


/**
* Cta Grid Item - Newsletter
*/
.cta-grid-item > div > div {
	padding:30px;
}

.newsletter-item-content div p {
    color: #000;
    margin:0;
}

.newsletter-item-content div > p:first-child {
    margin-bottom:20px;
}

.newsletter-item-content input {
	width: 100%;
	height: 50px;
}

.newsletter-item-content input[type="email"] {
	background-color: transparent;
	border:1px solid var(--second-color);
	color:var(--second-color);
	text-align: center;
	margin:40px 0 10px;
}

.newsletter-item-content input[type="submit"] {
	display: none;
}

.newsletter-item-content input::placeholder {
	color:var(--second-color);
	opacity: 1;
}

.newsletter-item-content input:-ms-input-placeholder {
	color:var(--second-color);
}

.newsletter-item-content input::-ms-input-placeholder {
	color:var(--second-color);
}

.newsletter-item-content label[for="cta-grid-submit"] {
	position: relative;
}

.submit-button-loader {
	display: none;
} 

.newsletter-item-content #cta-grid.afg-active .submit-button-loader {
	width: 30px;
    height: 30px;
    margin-left:20px;
    right: 40px;
    top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    fill:#fff;
}

.newsletter-item-content #cta-grid.afg-active .submit-button-loader svg {
	flex:0 0 40px;
}


/**
* Cta Grid Item - Table of content link
*/
.summary-link-item-content {
    color: #fff;
}

.summary-link-item-content .afg-second-color-background {
	display: block;
	align-items: center;
	justify-content: center;
	position: relative;
	padding-top:100%;
	color:#fff!important;
}

.afg-second-color-background .afg-logo-line {
	position: absolute;
	left:22.5%;
	top:calc(50% - 10px);
	width:55%;
}

.afg-second-color-background .afg-logo-line svg {
	fill:#fff;
	transform: rotate(-80deg);
	transform-origin: center;
	transition: all .3s;
}

.summary-link-item-content .cta-content {
	display: block;
	position: absolute;
	left:30px;
	top:30px;
	width:calc(100% - 60px);
    opacity: 0;
    transition: all .3s;
}

.summary-link-item-content a:hover {
	color:#fff!important;
}

.summary-link-item-content:hover .afg-logo-line svg {
	transform: rotate(0deg);
}

.summary-link-item-content:hover .cta-content {
	opacity: 1;
}

@media screen and (max-width:1666px) {
	.cta-content {
		font-size:40px;
		line-height: 50px;
	}
}

@media screen and (max-width:1420px) {
	.cta-content {
		font-size:30px;
		line-height: 40px;
	}
}

@media screen and (max-width:1170px) {
	.cta-content {
		font-size: 25px;
    	line-height: 35px;
	}
}

@media screen and (max-width:1040px) {
	.cta-content {
		font-size: 14px;
    	line-height: 25px;
	}
}

.view-more-button, .infinite-scroll-last, .infinite-scroll-error {
	margin:60px auto 120px;
}

.afg-pitch-block {
	padding:140px 0;
	line-height: 52px;
}

.afg-pitch-block > div {
	font-size:22px;
	line-height: 30px;
}

.logo-line-wrapper {
	position: absolute;
    top: 46%;
    left: -300px;
    fill: #000;
    transform: rotate(-80deg);
    transform-origin: center;
}

/**
* Login block
*/
.afg-login-button-before {
	padding-top: 100px;
	text-align: center;
}

.afg-login-button-wrapper {
	margin:90px auto;
}
.afg-login-button-wrapper .afg-button-1 {
	margin: 0 30px;
}

.pmpro_login_wrap {
	max-width: 500px;
	margin: 0 auto;
}


/**
* Partners Page
*/
.afg-marker {
	height: 12px;
	width: 12px;
	flex-basis: 12px!important;
	margin-right: 3px;
}

/**
* Single - Main content
*/
.afg-main-content {
	flex-basis: calc(75% - 360px);
	max-width: calc(75% - 360px);
	font-size: 16px;
	line-height: 29px;
	padding:110px 60px 120px;
}

.afg-form-wrapper {
	flex-basis: calc(75% - 360px);
	max-width: calc(75% - 360px);
}

aside {
	padding:110px 60px 0 90px;
}

.single-partners > p:first-child {
	font-size: 17px;
	font-weight: 700;
	line-height: 24px;
	text-align: center;
}

.is-style-afg-main-content {
	margin-left:auto;
	margin-right:auto;
	line-height: 30px;
	max-width: 60%;
	padding-top:0;
	padding-bottom: 0;
	padding-left:10%;
}

/*.afg-main-content sub,
.afg-main-content sup,
.is-style-afg-main-content sub,
.is-style-afg-main-content sup {
    position: relative;
    font-size: 100%;
    line-height: initial;
    vertical-align: baseline;
    top:auto;
}*/

.afg-main-content p a,
#main-content > p a,
.is-style-afg-main-content a {
	display: inline;
	font-family: 'Rubik',sans-serif;
	font-weight:900;
	margin:0 .5ex;
	word-break: keep-all;
} 




.afg-main-content h2, 
#main-content > h2,
h2.is-style-afg-main-content {
	font-family: 'Rubik';
	font-size: 35px;
	font-weight: bold;
	color: rgba(0, 0, 0, 1);
	letter-spacing: 0.03em;
	line-height: 42px;
	margin-bottom:50px;
	word-break: break-word;
}

.afg-main-content h3, 
.afg-main-content h4,
#main-content > h3, 
#main-content > h4, 
h3.is-style-afg-main-content,
h4.is-style-afg-main-content {
	font-family: 'Rubik';
	font-size: 17px;
	font-weight: 700;
	color: rgba(0, 0, 0, 1);
	letter-spacing: 0.05em;
	margin-bottom:20px;
	text-transform: uppercase;
	word-break: break-word;
}


.afg-main-content h5, 
.afg-main-content h6, 
#main-content > h5,
#main-content > h6,
h5.is-style-afg-main-content,
h6.is-style-afg-main-content {
	font-family: 'Rubik';
	font-size: 17px;
	font-weight: 700;
	color: rgba(0, 0, 0, 1);
	margin-bottom:15px;
	word-break: break-word;
}

.afg-main-content > p + h2,
.afg-main-content > div + h2, 
.afg-main-content > blockquote + h2,
.is-style-afg-main-content + h2 {
	margin-top:110px;
}


.afg-main-content > p + h3,
.afg-main-content > p + h4,
.afg-main-content > div + h3,
.afg-main-content > div + h4,
.is-style-afg-main-content + h3,
.is-style-afg-main-content + h4 {
	margin-top:50px;
}

.afg-main-content > p + h5,
.afg-main-content > p + h6,
.afg-main-content > div + h5,
.afg-main-content > div + h6,
.is-style-afg-main-content + h5,
.is-style-afg-main-content + h6 {
	margin-top:15px;
}

.afg-main-content h6, 
#main-content > h6,
h6.is-style-afg-main-content {
	font-size: 10px;
	font-weight: normal;
}

.afg-main-content blockquote {
	font-family: 'Libre Baskerville',serif;
	font-weight:400;
	font-size: 23px;
	line-height: 38px;
}

.afg-main-content blockquote:before {
	content:'«';
	width: 100%;
	font-size: 100px;
    height: 100px;
    line-height: 88px;
    text-align: center;
    display: block;
}

.afg-main-content blockquote:after {
	content:'»';
	width: 100%;
	font-size: 100px;
    height: 100px;
    line-height: 88px;
    text-align: center;
    display: block;
}


body.single .wp-caption {
	width: 100%;
	margin: 60px 0;
}


body.single .wp-caption figcaption {
	font-size: 11px;
	font-weight: 400;
	line-height: 16px;
	margin-top: 7px;
}

body.single .wp-caption img {
	height: auto;
}

body.single .wp-caption p:last-child {
	margin:0;
	text-align: left;
}

.afg-main-content a[href^="#note"] {
	font-size: 10px;
	font-weight: 300;
	line-height: 12px;
	text-align: center;
	height: 14px;
	width: 14px;
	background-color: var(--main-color);
	border-radius: 100%;
	transform: translateY(-3px);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.afg-notes-wrapper {
	overflow: hidden;
}

.afg-note-modal-wrapper {
	position: absolute;
    width: 220px;
    right: -220px;
	color:var(--main-color);
	transition: all .3s;
	display: flex;
	z-index: 10;
	font-size: 13px;
	font-weight: 300;
	line-height: 15px;
	background-color: #000;
	padding: 20px;
} 

.afg-note-modal-wrapper.afg-active,
.afg-note-modal-wrapper.afg-force-active {
	z-index: 11;
	right: 90px;
}

.notes-number {
	display: inline-block;
	margin-right: 3px;
}

.afg-note-text p:last-of-type {
	margin-bottom:0;
}

.afg-note-text a, 
.afg-note-text a:hover {
	color: var(--main-color);
	word-break: break-all;
	border-bottom: 1px solid;
}

/**
* FAQ
*/
.wp-faq-schema-title {
	margin:35px auto 5px;
	text-align: center;
	font-size: 25px;
	font-weight: 700;
	line-height: 34px;
}
/**
* Single Post - Contact Form
*/
.afg-form-wrapper {
	margin-top:90px;
	margin-bottom: 150px;
	border-top:4px solid #000;
}

.afg-form-title {
	margin:35px auto;
	text-align: center;
	font-size: 25px;
	font-weight: 700;
	line-height: 34px;
}

.pmpro_login_wrap input,
.afg-form-wrapper input, .afg-form-wrapper textarea {
	font-family: 'Rubik',sans-serif;
	font-size:15px!important;
	border:1px solid #EBEBEB!important;
}

.pmpro_login_wrap input::placeholder,
.afg-form-wrapper input::placeholder, 
.afg-form-wrapper textarea::placeholder {
	color:#797373;
	opacity: 1;
}

.pmpro_login_wrap input:-ms-placeholder,
.afg-form-wrapper input:-ms-input-placeholder, 
.afg-form-wrapper textarea:-ms-input-placeholder {
	color:#797373;
}

.pmpro_login_wrap input::-ms-placeholder,
.afg-form-wrapper input::-ms-input-placeholder, 
.afg-form-wrapper textarea::-ms-input-placeholder {
	color:#797373;
}

.afg-form-wrapper textarea.wpforms-field-medium {
    min-height: 290px;
    padding:20px!important;
    color:#000!important;
}

.afg-form-wrapper .wpforms-container-full {
	margin-bottom: 0!important;
}

.afg-form-wrapper .wpforms-submit-container {
	padding:0!important;
}

.afg-form-wrapper .wpforms-submit {
	font-family: 'Rubik',sans-serif;
	font-size:15px!important;
	width: 160px!important;
	margin:0 auto!important;
}

.afg-form-wrapper .wpforms-form .wpforms-field {
	padding:0 0 30px!important;
}

/**
* Single - Post Login 
*/
.post-login {
	padding: 150px 50px 0;
	width: 100%;
}

.login-title {
	font-size: 40px;
    font-weight: 900;
    line-height: 50px;
    text-align: center;
}

.post-login .afg-button-1 {
    margin: 0 30px;
    min-width: 220px;
    font-size: 13px;
    font-weight: 700;
    line-height: 19px;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pmpro_login_wrap input:not([type="checkbox"]) {
	width: 100%;
}

/**
* Single - Post Sidebar
*/
.satellite-title {
	font-size: 22px;
	font-weight: 700;
	line-height: 34px;
	margin-bottom: 30px;
}

.afg-postmodal-link:not(.afg-share):not(.afg-fieldset-title):not(.title-font-12) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding: 7px 17px 7px 69px;
	border: 2px solid #F2F2F4;
	font-size: 16px;
	font-weight: 400;
	line-height: 29px;
	position: relative;
	min-height: 57px;
	margin-bottom: 23px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 70%;
}

.afg-postmodal-link:not(.afg-share):not(.afg-fieldset-title):not(.title-font-12):before {
	content: '';
	position: absolute;
	display: block;
	height: 100%;
	width: 52px;
	left: 0;
	top: 0;
	background-color: #F2F2F4;
}

.afg-postmodal-link span {
	display: block;
	flex-basis: 100%;
	max-width: 100%;
}
.postmodal-link-type {
	font-size: 11px;
	font-weight: 400;
	line-height: 16px;
	letter-spacing: 2px;
	text-transform: uppercase;
	display: block;
}

.afg-postmodal {
	background-color: #fff;
	position: fixed;
	right:-100%;
	color:#000;
	padding:60px 0 0 45px;
	top:0;
	z-index:5000;
	height:100vh;
	transition:all .3s;
}

.afg-postmodal.afg-active {
	right:0;
}

.afg-postmodal-overlay {
	height: 100vh;
	width: 100vw;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index:4990;
	background-color: #000;
	transition: all .3s;
}

.afg-postmodal-overlay.afg-active {
	opacity: .1;
	pointer-events: all;
	cursor: pointer;
}

.afg-postmodal a {
	color:#000;
}

.afg-link-wrapper a {
	display: block;
	margin-bottom: 20px;
}  

.afg-link-wrapper a:before {
	content:'';
	height: 8px;
	width: 8px;
	border-radius: 8px;
	background-color: #000;
	margin-right:20px;
	display:inline-block;
}

.afg-postmodal-scroll {
	overflow-y: scroll;
	height:100%;
	padding-bottom: 45px;
	padding-right: 33.333333%;
} 

.afg-close-modal {
	position: absolute;
	top:30px;
	right:30px;
	width: 30px;
	height:30px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	background-image: url('assets/img/close-blk.svg');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

.afg-close-modal svg {
	display: none;
} 

.afg-standalone-link {
	border-bottom: 1px solid #fff;
	line-height: 24px;
    display: inline-block;
}

#afg-author-modal .afg-standalone-link {
	margin-top:20px;
}

.afg-postmodal-title {
	font-size: 25px;
	font-weight: 700;
	line-height: 34px;
}

.afg-postmodal-content-title {
	font-family: 'Rubik',sans-serif;
	font-weight: 700;
}

.afg-postmodal-content {
    font-family: Libre Baskerville,serif;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.02em;
}

/**
* Single Post - Partners
*/
.partners-bottom {
	padding: 40px 110px;
	background-color: #F2F2F4;
	font-size: 16px;
	line-height: 29px;
}

.partners-bottom-title {
	font-size: 48px;
	font-weight: 700;
	line-height: 56px;
	text-align: center;
	margin-bottom: 30px;
}

/**
* Accordion
*/
body .ui-accordion {
	margin-left: -15px;
	margin-right: -15px;
}

body .ui-accordion-header {
	font-family: Rubik;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 29px;
	letter-spacing: 0px;
	text-align: left;
	border: unset;
	color: #000;
	background-color: transparent!important;
	padding:35px 0 0!important;
	margin: 0!important;
}

body .ui-accordion-header .ui-accordion-header-icon {
	display: inline-block;
	margin-right: 27px;
	height: 23px;
	width: 23px;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	background-image: url('assets/img/arrow-right-blk.svg')!important;
	transition: all .3s;
}

body .ui-accordion-header.ui-state-active .ui-accordion-header-icon {
	transform: rotate(90deg);
}

body .ui-accordion-content {
	font-family: Rubik;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 29px;
	color: #737375;
	border: unset;
	background-color: transparent!important;
	padding: 20px 0 0 50px!important;
}

/**
 * CTA Variable
*/
.afg-temporary-announce {
	background-color:var(--main-color);
	color:#000;
	padding: 50px 110px;
}

.afg-temporary-announce .afg-text-wrapper {
	font-size: 16px;
	font-weight: 400;
	line-height: 29px;
}

.afg-temporary-announce .afg-text-wrapper h2 {
	font-size: 36px;
	font-weight: 700;
	line-height: 44px;
}

.afg-buttons-wrapper {
	align-items: center;
	justify-content: flex-end;
}

.afg-buttons-wrapper a {
	max-width: 220px;
	font-size: 11px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 2px;
	text-align: center;
	text-transform: uppercase;
}



.afg-temporary-announce .afg-text-wrapper > div p:last-child {
	margin-bottom: 0;
}


/**
* Related Posts
*/
.related-posts-title {
	font-size: 11px;
	font-weight: 400;
	line-height: 16px;
	letter-spacing: 2px;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	margin-top: 7px;
	margin-bottom: 50px;
}

.related-posts-title:after {
	content: '';
	width: 17px;
	height: 17px;
	display: inline-block;
	margin-left: 10px;
	background-image: url('assets/img/arrow-right-blk.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.related-posts-grid .grid-item figure > a {
	padding-top: 100%;
	margin-bottom: 20px;
}

.related-posts-grid .grid-item figure > a img {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.related-posts-grid .grid-item .afg-meta-type,
.related-posts-grid .grid-item .afg-meta-wrapper {
	display: none;
}

.related-posts-grid .grid-item h2 {
    padding-bottom: 20px;
    border-bottom: 1px solid #000;
    margin-bottom: 35px;
}

.related-posts-grid .grid-item h2 span {
	display: block;
	font-size: 17px;
	font-weight: 700;
	line-height: 24px;
}

/**
* Favorite
*/
.afg-favorite svg {
	fill:none;
}

.afg-favorite.is-favorite svg {
	fill:#000;
}

/**
* Summary Page
*/
body.archive h1, body.search h1 {
	padding:120px 0 70px;
	text-align: center;
	margin: 0;
}

body.archive h1 {
	padding:120px 0 30px;
}

body.search h1, body.afg-my-archives h1 {
    padding: 100px 0 30px;
}

body.archive .flex-360 + .col-lg-9 {
	flex-basis: calc(100% - 360px);
	max-width: calc(100% - 360px);
}

.afg-summary-page {
	margin-top:60px;
}

.afg-filter-title {
	margin-bottom:50px;
} 

.afg-summary-wrapper.afg-tax-summary .afg-filter-title {
	text-align: center;
	font-size: 22px;
    font-weight: 700;
    line-height: 34px;
    margin-bottom: 30px;
}

.afg-summary-wrapper { 
    padding-left: 16.666667%;
    margin-bottom: 140px;
}

.afg-summary-wrapper.afg-tax-summary {
	padding-left: 15px;
}

.afg-summary-wrapper article {
	display: flex;
	align-items: flex-start;
	padding:30px 0;
	border-bottom:1px solid #000;
}

.afg-summary-wrapper section:first-of-type article:first-of-type {
	border-top:1px solid #000;
}

.afg-summary-wrapper article > div:first-child {
	flex:0 0 16.666667%;
}

.afg-summary-wrapper article > div:last-child {
	flex:0 0 33.333333%;
}

.afg-summary-wrapper article > h2 {
	flex:0 0 50%;
	padding-right:15px;
	line-height: 25px;
}

.afg-summary-wrapper article > div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-right:15px;
	line-height: 20px;
}

.afg-summary-wrapper article .tag {
	display: block;
}

.afg-summary-wrapper article .afg-tag-separator {
	display: none;
}

.summary-section-title {
	position: absolute;
	left: 0;
	line-height: 36px;
}

.summary-section-title span {
	display: block;
}

.afg-summary-wrapper.afg-tax-summary .summary-section-title {
	left: -25%;
}

body.tax-corpus .afg-summary-wrapper.afg-tax-summary .summary-section-title {
	position: relative;
	left: auto;
}

/**
* Corpus Block
*/
.afg-corpus-block-wrapper {
	padding-left:8.666666%;
}

.afg-corpus-block-wrapper > p{
	margin-bottom: 50px;
} 

.afg-corpus-block-wrapper h2 {
	padding:15px 0;
	border-top:4px solid #000;
	margin-top:20px;
}

.afg-corpus-block-wrapper img {
	height:15.45vw;
	object-fit: cover;
}

.afg-corpus-item {
	margin-bottom:35px;
}

/***
* Filters
*/
.afg-posts-filters {
	padding-bottom:10px;
}

.afg-posts-filters .afg-fieldset {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	width: 100%;
	margin-bottom:20px;
}

.afg-fieldset .afg-legend {
	display: inline;
	margin-right: 20px;
}

.afg-fieldset input, .afg-posts-filters input[type="submit"] {
	display: none;
}

.afg-fieldset label {
	margin:0 30px 0 0;
	display: inline-block;
	position: relative;
	cursor: pointer;
}

.afg-fieldset input:checked + label:after {
	content: '';
	width: 100%;
	height: 1px;
	position: absolute;
	left:0;
	bottom:-2px;
	background-color: #000;
}

.afg-fieldset#types-selector input:checked + label:before {
	position: relative;
    height: 10px;
    width: 10px;
    display: inline-block;
    margin-right: 5px;
    top: 1px;
    background-image: url(assets/img/close-blk-strong.svg);
    content: '';
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.afg-posts-filters .afg-close-modal {
	background-image: url(assets/img/close-wht.svg);
} 



/**
* Tax pages
*/
.wp-video {
	width: 100%!important;
	margin:80px 0;
}

.afg-tax-subtitle {
	text-align: center;
}

/**
* Gutenberg Blocks
*/
/**
* Video
*/
.wp-block-embed__wrapper {
	position: relative;
	width: 100%;
	padding-top:70%;
}

.wp-block-embed__wrapper iframe {
	position: absolute;
	width: 100%;
	height: 100%;
	top:0;
	left:0;
}

body.archive iframe {
    width: 100%;
    margin: 50px 0;
}


/**
* Authors Page
*/
.afg-page-intro-wrapper p:last-child {
	margin-bottom:0;
}

.afg-alpha-menu-wrapper {
	display: flex;
	margin:80px 0 60px;
	align-items: center;
    justify-content: center;
}

.afg-alpha-menu-wrapper span{
	color:#b5b5b5;
}

.afg-alpha-menu-wrapper a, .afg-alpha-menu-wrapper span {
	display: block;
	margin:0 12px;
}

.afg-list {
	display: flex;
	margin-bottom:80px;
}


.afg-list-title-wrapper {
	padding-left: 8.333333%;
}

.afg-list-title-wrapper h2{
    margin-bottom: 15px;
}

.afg-list-content-wrapper {
	padding-right:50px;
	line-height: 20px;
}

.afg-list-content-wrapper .afg-postmodal-link {
	display: inline-block;
}

.afg-list-link-wrapper {
	line-height: 25px;
}

.afg-list-link-wrapper a {
	display: block;
}

.afg-list-link-wrapper a span{
	display: inline;
	border-bottom: 1px solid #000;
}

.afg-letter-index {
	position: absolute;
	left:0;
	line-height: 30px;
}

.afg-list-wrapper .afg-list-index-wrapper {
	line-height: 20px;
	margin-bottom:80px;
}

.afg-list-wrapper .afg-list-description.special-font-24 {
	line-height: 35px;
}

.afg-list-wrapper .afg-list-description {
	margin-bottom:80px;
}




/**
* List Style 2
*/
section[id^="list-template-2"] .col-lg-7.p-0.pt-30 {
	border-top: 1px solid;
}
    

section[id^="list-template-2"] .content-font-400-12.lh-20 p:last-of-type,
section[id^="list-template-2"] .list-element.mb-30:last-of-type,
section[id^="list-template-2"] .list-element.mb-30:last-of-type .mb-12:last-child {
	margin-bottom:0;
}

section[id^="list-template-2"] .has-text .col-lg-7.p-0.pt-30 {
	border-top: unset;
	padding-top:0!important;
}

section[id^="list-template-2"] .has-text .list-element {
	padding-top:30px;
	border-top: 1px solid;
	margin-bottom:100px;
}

section[id^="list-template-2"] .has-text .content-font-400-12.lh-20 {
	padding-right: 15%;
}

section[id^="list-template-2"] .has-text .list-element:last-of-type {
	margin-bottom:0;
}

section[id^="list-template-2"] .has-text .special-font-20 {
	font-size: 26px;
}

section[id^="list-template-2"] .has-text .content-font-400-11.afg-uppercase.lts-1 {
	font-size: 13px;
}

section[id^="list-template-2"] .afg-button-2 {
    max-width: 250px;
    margin-top: 30px;
}



/**
* List Style 1
*/

section[id^="list-template-block"] {
	padding-bottom: 60px
}

section[id^="list-template-block"] .afg-alpha-menu-wrapper {
	display: none!important;
}

section[id^="list-template-block"] .afg-list-block {
	padding:50px 0 150px;
	border-top: 1px solid #000;
}

section[id^="list-template-block"] .afg-list-block:first-of-type {
	margin-top:100px;
}

section[id^="list-template-block"] .afg-list-block:last-of-type {
	padding-bottom:100px;
}

section[id^="list-template-block"] .afg-list-intro {
	line-height: 20px;
}

section[id^="list-template-block"] .afg-thumbnail-grid {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
}

section[id^="list-template-block"] .afg-thumbnail-item {
	display: block;
	flex-basis:25%;
	padding-left:30px;
	margin-bottom: 30px;
}

section[id^="list-template-block"] .afg-thumbnail-item > span {
	display: block;
}

section[id^="list-template-block"] .afg-thumbnail-item > span.afg-meta {
	margin:20px 0 12px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

section[id^="list-template-block"] .afg-thumbnail-item > span.afg-title {
	padding-top:12px;
	border-top:4px solid #000;
}

section[id^="list-template-block"] .afg-thumbnail-wrapper {
	width: 100%;
	padding-top: 100%;
	position:relative;
}

section[id^="list-template-block"] .afg-thumbnail-wrapper img {
	position: absolute;
	height: 100%;
	width: 100%;
	object-fit: cover;
	top:0;
	left: 0;
}

section[id^="featured-block"] .afg-featured-wrapper .afg-featured-block:nth-child(even) {
	flex-direction: row-reverse;
}

section[id^="featured-block"] .afg-image {
	position: relative;	
}

section[id^="featured-block"] .afg-logo {
	top:0;
	left:0;
	position: absolute;
	height: 100%;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

section[id^="featured-block"] .afg-logo img {
	width: 33%;
	height: auto;
}

section[id^="featured-block"] .afg-content {
	padding-left:8.666666vw!important;
    line-height: 20px;
    display: flex;
    align-items: center;
}

section[id^="featured-block"] .afg-postmodal-link {
	display: inline;
	font-size: .86vw;
    line-height: 1.3vw;
}

section[id^="featured-block"] .afg-content-inner {
	max-width: 66%;
	font-size: .86vw;
    line-height: 1.3vw;
}

section[id^="featured-block"] .afg-content-inner *:not(.content-font-700-26):not(.title-font-12):not(.afg-meta-type) {
	font-size: .86vw;
    line-height: 1.3vw;
    font-weight: 400;
}

section[id^="featured-block"] .afg-content-inner .afg-meta-type {
	position: relative;
	background-color: #fff;
    display: inline-block;
    font-size: .7vw;
    top: auto;
    right: auto;
    height: 2vw;
    padding: 0 11px;
    align-items: center;
    display: inline-flex;
    letter-spacing: 2px;
    margin-bottom:15px;
}

section[id^="featured-block"] .afg-content-inner h2.content-font-700-26 {
	font-size: 2.1vw;
}

@media screen and (max-width: 1440px) {
	section[id^="featured-block"] .afg-content-inner,
	section[id^="featured-block"] .afg-content-inner *:not(.content-font-700-26):not(.afg-meta-type) {
		font-size: 1vw;
	    line-height: 1.5vw;
	}

	section[id^="featured-block"] .afg-content-inner h2.content-font-700-26 {
		font-size: 2.2vw;
	}

	section[id^="featured-block"] .afg-content-inner .afg-meta-type {
	    font-size: .8vw;
	}
} 

@media screen and (max-width: 1140px) {
	section[id^="featured-block"] .afg-content-inner,
	section[id^="featured-block"] .afg-content-inner *:not(.content-font-700-26):not(.afg-meta-type) {
		font-size: 1.1vw;
	    line-height: 1.6vw;
	}

	section[id^="featured-block"] .afg-content-inner h2.content-font-700-26 {
		font-size: 2.3vw;
	}

	section[id^="featured-block"] .afg-content-inner .afg-meta-type {
	    font-size: .9vw;
	}
} 

.afg-modal-featured .afg-postmodal-content {
	line-height: 24px;
}

.afg-postmodal-content img {
	height: 100%;
	width:100%;
	object-fit: cover;
}

.afg-modal-featured .afg-postmodal-content .wp-caption,
.afg-modal-featured .afg-postmodal-content img {
	width: 100%!important;
	height: auto;
	margin-top:40px;
}

.afg-tax-image .wp-caption-text {
	font-family: 'Rubik',sans-serif;
	font-size: 12px;
	line-height: 14px;
	margin-top: 3px;
}

.afg-modal-featured .afg-postmodal-content .wp-caption-text {
	font-family: 'Rubik',sans-serif;
	font-size: 12px;
	line-height: 14px;
	margin:20px 0 50px;
}


.afg-modal-featured .afg-postmodal-content h2,
.afg-modal-featured .afg-postmodal-content h3,
.afg-modal-featured .afg-postmodal-content h4,
.afg-modal-featured .afg-postmodal-content h5,
.afg-modal-featured .afg-postmodal-content h6 {
    font-family: 'Rubik', sans-serif;
    font-weight: 900;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 0;
    line-height: 24px;
}

.afg-modal-featured .afg-postmodal-content p + h2,
.afg-modal-featured .afg-postmodal-content p + h3,
.afg-modal-featured .afg-postmodal-content p + h4,
.afg-modal-featured .afg-postmodal-content p + h5,
.afg-modal-featured .afg-postmodal-content p + h6 {
    margin-top:100px;
}

.afg-modal-featured .afg-postmodal-links {
	position: absolute;
	top:90px;
	right: 45px;
	width: 16.666666%;
}

.afg-modal-featured .afg-postmodal-links .afg-link-wrapper {
	display: block;
    margin-bottom: 20px;
}

.afg-modal-featured .afg-postmodal-links a {
	display: inline;
    border-bottom: 1px solid #fff;
}

.afg-modal-featured .afg-postmodal-links .afg-link-wrapper a:before  {
	display: none;
}


/**
* List style 4
*/
.afg-list-item {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	margin-bottom: 50px;
}

.afg-filters {
	display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.afg-tax-summary .afg-filter-title {
	display: block;
}


.afg-list-item > div {
	padding-left:15px;
	padding-right:15px;
}

.afg-list-item .afg-letter {
	flex-basis: 8.666666%;
	line-height: 50px;
}

.afg-list-item .afg-name {
	flex-basis: 25%;
}

.afg-list-item .afg-content {
	flex-basis: 21%;
	font-size:14px;
	padding-top:39px;
}

.afg-list-item .afg-content .afg-postmodal-link {
	display: inline-block;
}

.afg-list-item .afg-video {
	flex-basis: 33%;
	padding-top:39px;
}

.afg-list-item .afg-video .wp-video {
    margin: 0;
}

.mejs-controls {
	opacity: 0;
}

.mejs-overlay-button {
    background: url('assets/img/play.svg') no-repeat!important;
    background-position: 15px 0!important;
    height: 80px;
    width: 80px;
}

/*filters on list*/
.afg-filters > a {
	margin:0 15px;
	padding-bottom: 3px;
}

.afg-filters > a.afg-active {
	border-bottom:1px solid var(--second-color);
}

.afg-arrow {
	height: 10px;
	width: 10px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	display: none;
	line-height: 0;
	margin-left:5px;
}

.afg-arrow.afg-active {
	display: inline-block;
}

.arrow-asc {
	background-image:url('assets/img/arrow-down-blk.svg');
}

.arrow-desc {
	background-image:url('assets/img/arrow-up-blk.svg');
}


/**
* Single Author Page
*/
body.author .afg-author-meta {
	text-align: center;
	margin-bottom:70px;
}

body.author .afg-standalone-link {
	margin:140px 0 70px;
	border-color: #000;
}

body.author .afg-related-post {
	padding-bottom:80px;
}

body.author .afg-related-post .afg-meta, body.author .afg-related-post .grid-item a:hover {
	color:#000;
}

body.author .afg-related-post .uptitle-separator, body.author .afg-related-post .subtitle-separator {
    border-color: #000;
}

.afg-h3 {
	margin-bottom:20px;
}


/**
* Audio Player
*/
.wptpa_cvr_wrapper {
	display: none;
}

.wrapper.wptpa_wrapper {
    margin-bottom: 20px;
}

.wptpa_player {
   background: transparent!important;
   padding:0!important;
}

.wptpa_player .wptpa_seek, .wptpa_volume_seek:before {
	background-color: #000!important;
}

.wptpa_btn .wptpa_icon {
    fill: #000!important;
}

.wptpa_song_infrmtn {
	color:#000!important;
}

.wptpa_heading.scrll:before, .wptpa_heading.scrll:after {
	display: none!important;
}

body:not(.buddypress) .wptpa_pllst_itm {
	display: flex!important;
	border-bottom: 1px solid var(--third-color)!important;
} 

body:not(.buddypress) .wptpa_pllst_itm:before {
	display: none!important;
}

body:not(.buddypress) .wptpa_pllst_itm .wptpa_song {
	padding-left: 10px!important;
}

body:not(.buddypress) .wptpa_pls_toggle.wptpa_btn {
	display: none;
}


/**
* Inter and Ajax Loading Screen
*/
.afg-inter {
	top: 0;
	left: 0;
	position: fixed;
	height: 100vh;
	width:100vw;
	z-index:5000;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events:none;
	display: flex;
	transition: all .3s;
}


.afg-inter.afg-active {
	opacity: 1;
	pointer-events:all;
}


.afg-inter-header {
	position: absolute;
	top:0;
	left:0;
	width: 100%;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
    letter-spacing: 2px;
}

.afg-inter-header .afg-loader {
	width: 88px;
    height: 80px;
    position: absolute;
    left: 98px;
    top: 10px;
	background-image: url('assets/img/logo-line.svg');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

.afg-inter-logo {
	width: 8.666666%;
}



/**
* Tabs Jquery UI
*/
.ui-tabs-nav {
	margin-top:60px;
	display: flex;
	height: 70px;
	align-items: center;
	justify-content: space-between;
}

.ui-tabs-nav li {
	flex-basis:24.4%;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.ui-tabs-nav li h2 {
	margin:0;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	flex-basis:100%;
}

.ui-tabs-nav li h2 a {
	flex-basis:100%;
	height: 100%;
	display: flex;
    align-items: center;
    justify-content: center;
}

.ui-tabs-nav li.ui-state-default {
	background-color: #fff;
}

.ui-tabs-nav li.ui-tabs-active {
	background-color: var(--main-color);
}


/**
* Buttons - V2
*/
.pmpro_btn, 
.pmpro_btn:link, 
.pmpro_checkout input[type="button"], 
.pmpro_login_wrap .button.button-primary {
    background-color: var(--main-color)!important;
    border: unset!important;
    border-radius: 0!important;
    color: var(--second-color)!important;
    font-weight: 400!important;
    font-size:15px!important;
    font-family: 'Rubik',sans-serif!important;
    display: inline-flex!important;
   	align-items: center!important;
   	padding: 0 20px!important;
   	justify-content: center;
   	min-height: 40px;
   	text-decoration: none!important;
   	cursor: pointer;
   	transition: transform .3s;
}

.pmpro_btn:hover, 
.pmpro_btn:link:hover, 
.pmpro_checkout input[type="button"]:hover, 
.pmpro_login_wrap .button.button-primary:hover {
	transform: translateX(10px);
}

.afg-button-1, .wpforms-submit {
	width: 100%;
	background-color: var(--second-color)!important;
    border: 1px solid var(--second-color)!important;
    color: #fff!important;
    text-align: center!important;
    min-height: 50px!important;
    display: inline-flex!important;
    align-items: center!important;
    justify-content: center!important;
    cursor: pointer;
    transition: transform .3s;
}

.afg-button-1 {
    display: flex;
}

.wpforms-submit {
    display: flex!important;
}

.afg-button-1:hover, .wpforms-submit:hover {
    color: #fff;
    transform: translateX(10px);
}

.afg-button-2 {
	width: 100%;
    background-color: transparent;
    border: 1px solid var(--second-color);
    color: var(--second-color);
    text-align: center;
    min-height: 40px;
    line-height: 40px;
    transition: transform .3s;
}

.afg-button-2:hover {
    color: var(--second-color);
    transform: translateX(10px);
}


.afg-button-3 {
	background-color: var(--second-color);
    color: #fff;
    width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    position: absolute;
    bottom: -20px;
    left: calc(50% - 65px);
    transition: transform .3s;
}

.afg-button-3:hover {
	color:#fff;
	transform: translateX(10px);
}

.afg-button {
	background-color: var(--main-color);
	display: inline-flex;
	justify-content: center;
	align-items: center;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 2px;
	line-height: 19px;
	text-align: center;
	text-transform: uppercase;
	padding: 16px 30px;
	border: unset;
	transition: transform .3s;
} 

.afg-button:hover {
	transform: translateX(10px);
}

.afg-button.big {
	min-height: 70px;
	max-width: 330px;
	width: 100%;
} 

.afg-button.invert {
	background-color: var(--second-color);
	color: #fff;
}

/**
* Loader - V2
*/
.afg-loader {
	height: 30px;
	width: 30px;
	background-image: url('assets/img/loader.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}


form.afg-active {
	position: relative;
}

form.afg-active .afg-loader {
	display: block;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}



/**
* Offers - V2
*/
#offers-intro h2 {
	margin-bottom: 1.5em;
	font-weight: 700;
}

#offers-intro p {
	line-height: 32px;
}

body:not(.buddypress) ul:not(.ui-tabs-nav):not(.afg-inline-menu-inner) li {
	position: relative;
	padding-left: 15px;
	margin-bottom: 10px;
}

body:not(.buddypress):not(.pmpro-account) ul:not(.ui-tabs-nav):not(.afg-inline-menu-inner) li:before {
	content: '';
	display: block;
	position: absolute;
	width: 8px;
	height: 8px;
	left: 0px;
	top: 8px;
	border-radius: 100%;
	background-color: var(--second-color);
}

.afg-offer {
	max-width: 380px;
}

.afg-offer.afg-full-height > .wp-block-group {
	height: 100%;
}

.afg-offer.afg-full-height > .wp-block-group .wp-block-group__inner-container {
	display: flex;
    height: 100%;
    justify-content: space-between;
    flex-direction: column;
}

.afg-offer .afg-button {
 margin: 10px auto 0;
} 

/**
* Offers - V2 Inline Menu
*/
.afg-inline-menu {	
	position: sticky;
	top: 100px;
	background-color: #fff;
	z-index: 50;
	transition: all .3s;
}

.afg-inline-menu-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.afg-inline-menu li:before {
	display: none;
}

.afg-inline-menu li {
	position: relative;
	padding-right: 11px;
	padding-left: 0;
} 

.afg-inline-menu li:after {
	content: '';
	position: absolute;
	top: 6px;
	right: 5px;
	height: 12px;
	width: 1px;
	background-color: var(--second-color);
	display: block;
}

.afg-inline-menu li:last-child {
	padding-right: 0;
}

.afg-inline-menu li:last-child:after {
	display: none;
}

.afg-inline-menu li a {
	font-size: 11px;
	font-weight: 400;
	letter-spacing: .02em;
	text-transform: uppercase;
}

.afg-inline-menu li a.afg-active {
	font-weight: 700;
}

/**
* Gutenberg Newsletter V2
*/
form[id^="afg_mailchimp-block"] label {
	text-align: center;
}

/**
* PMP Login
*/
.pmpro-login #main-content,
.error404 #main-content {
	text-align: center!important;
}

.pmpro-login .pmpro_message {
	
	display: inline-block!important;
	margin-left: auto;
	margin-right: auto;
}

form[id^="afg_mailchimp-block"] input[type="email"],
.pmpro_login_wrap input:not([type="checkbox"]) {
	border: 1px solid var(--second-color);
	min-height: 50px;
	text-align: center;
	width: 100%;
	border-radius: 0;
	background-color: transparent;
	color: var(--color-2);
	font-size: 11px;
}

.pmpro_login_wrap input:not([type="checkbox"]) {
	background-color: #fff;
	max-width: 100%!important;
	text-align: left;
	padding: 0 15px!important;
	margin-top: 10px!important;
}

form[id^="afg_mailchimp-block"] input[type="email"]::placeholder {
	color: var(--color-2);
	opacity: 1;
}

form[id^="afg_mailchimp-block"] label {
	display: none;
}

.afg-button {
	margin: 10px auto 40px;
}





/**
* confirmation Page
*/

.pmpro_confirmation_wrap {
	padding:140px 0;
	max-width: 66.666666%;
	margin:0 auto;
}

.pmpro_confirmation_wrap li strong, .pmpro_invoice_details strong {
	font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 400!important;
}

.pmpro_confirmation_wrap h3, .pmpro_invoice-total p strong {
    font-size: 26px;
    margin-bottom: 10px!important;
    text-transform: none;
    letter-spacing: 0;
}

.pmpro_confirmation_wrap h3, .pmpro_confirmation_wrap ul, .pmpro_invoice_details {
	max-width: 66%;
	margin:0 auto;
} 

.pmpro_confirmation_wrap hr {
	display: none;
}

.pmpro_confirmation_wrap li,
#pmpro_account-profile li,
.pmpro_billing_wrap li {
	padding:15px 0;
	font-size: 14px;
	border-top: 2px solid rgba(0,0,0,.03);
	margin-bottom: 0!important;
	margin-left: 0!important;
}

.pmpro_confirmation_wrap li:before,
#pmpro_account-profile li:before,
.pmpro_billing_wrap li:before {
	display: none!important;
}

.pmpro_invoice_details {
	padding:15px 0 40px;
}

.pmpro_invoice_details p {
	margin:0;
	font-size:14px;
}
.pmpro_confirmation_wrap li:last-of-type,
#pmpro_account-profile li:last-of-type,
.pmpro_billing_wrap li:last-of-type {
	border-bottom: 2px solid rgba(0,0,0,.03);
}

body.pmpro-confirmation h1 {
	padding:0 0 40px;
	margin:0 auto;
}

.afg-confirmation-tick {
	height:40px;
	width: 40px;
	border-radius: 50px;
	margin:0 auto;
	background-color: #599F6C;
	display: flex;
	align-items: center;
	justify-content: center;
}

.afg-confirmation-tick svg {
	height:21px;
	width: 21px;
}

.afg-confirmation-text {
	text-align: center;
	margin:10px 0 30px;
}

.afg-confirmation-text em {
	margin-right: .5ex;
	display: inline-block;
	font-style: normal;
}

.afg-confirmation-button {
	max-width: 66%;
	margin-bottom:140px!important;
}

.pmpro_actionlinks {
	font-size: 0;
}

.afg-button-5,
.pmpro_confirmation_wrap .pmpro_actions_nav a,
.pmpro_actionlinks a,
.pmpro_member_log_out a,
.pmpro_member_display_name a,
.pmpro_table a {
	min-height: 50px;
	background-color: var(--main-color);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size:15px;
	line-height: 20px;
	font-weight: 400;
	color:#000;
	padding: 5px 15px;
	margin: 20px 0;
}

.pmpro_confirmation_wrap .pmpro_actions_nav a {
	width: auto;
	padding:0 30px;
	max-width: 66%;
	margin:30px auto 0;
}

.pmpro_actionlinks a {
	margin-right: 30px;
	transition: transform .3s;
}

.pmpro_actionlinks a:hover {
	margin-right: 30px;
	transform: translateX(10px);
}

.afg-button-5 {
	margin:auto 0;
}


.afg-display-block {
	display: block!important;
}

.pmpro_a-print {
	display: none!important;
}


/**
* Account Pages
*/
body.pmpro-account h1, body.pmpro-cancel h1, body.pmpro-billing h1{
    padding: 60px 0 40px;
}

#pmpro_account, #pmpro_cancel, .pmpro_billing_wrap {
	max-width: 50%;
	margin:0 auto;
	padding-bottom:140px;
}

#pmpro_cancel, .pmpro_billing_wrap {
	padding-bottom:60px;
}

/*#pmpro_account .afg-plan-remember > p,
#pmpro_account .afg-plan-remember > ul,
#pmpro_account .afg-plan-remember .afg-absolute,
#pmpro_account-membership tr th:nth-child(3),
#pmpro_account-membership tr td:nth-child(3) {
	display: none;
} */

#pmpro_account-membership tr th {
	padding:0 0 15px;
	border-bottom: 2px solid rgba(0,0,0,.03);
}

#pmpro_account-membership tr td {
	vertical-align: top;
} 
.pmpro_account-membership-levelname {
	font-size: 26px;
}

#pmpro_actionlink-update-billing {
	border-bottom:1px solid #000;
	font-size: 14px;
}

#pmpro_account #pmpro_actionlink-levels {
	display: none;
}

#pmpro_account .pmpro_box {
	border-top:unset;
}

#pmpro_account .pmpro_box > h3  {
	font-size: 26px;
	font-weight: 400;
	margin-bottom:10px;
}

#pmpro_account #pmpro_account-profile .pmpro_actionlinks {
	display: flex;
}

#pmpro_account #pmpro_account-profile .pmpro_actionlinks a {
	display: flex;
    padding: 0 20px;
    max-width: 100%;
    margin-right: 30px;
}

#pmpro_account-invoices th, #pmpro_account-invoices td {
	padding:15px 0;
}

#pmpro_account-invoices td {
	border-top: 2px solid rgba(0,0,0,.03);
	border-bottom: 2px solid rgba(0,0,0,.03);
}

#pmpro_cancel {
	text-align: center;
}

#pmpro_cancel .pmpro_actionlinks {
	max-width: 66.666666%;
	margin:0 auto 60px;
}

#pmpro_cancel .pmpro_actionlinks a {
	margin:0 auto 40px;
}

.pmpro_billing_wrap > p {
	display: none;
}

.pmpro_billing_wrap ul {
	margin-bottom: 40px;
}

div[align="center"] {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.pmpro_billing_wrap div[align="center"] input {
	margin-bottom:40px;
	max-width: 300px;
}

/**
* My Archives & Search Page
*/
.search .afg-main-content,
.afg-my-archives .afg-main-content {
	flex-basis: 100%;
	max-width: unset;
	padding:0 15px 120px;
}


.afg-my-archives {
	background-color: rgba(0,0,0,.9)!important;
	
}

.afg-my-archives .afg-related-post-wrapper {
	background-color: transparent;!important;
	padding-top: 30px;	
}

.afg-my-archives #main-content {
	color:#fff;
} 

.afg-my-archives #main-content {
	color:#fff;
}

.afg-my-archives #main-content a,
.afg-my-archives #main-content a:hover {
	color:#fff;
}

.afg-my-archives #main-content h2 a,
.afg-my-archives #main-content h2 a:hover,
.afg-my-archives .grid-item h2 a,
.afg-my-archives .grid-item h2 a:hover,
.afg-my-archives .sticky-grid-item h2 a, 
.afg-my-archives .sticky-grid-item h2 a:hover,
.afg-my-archives .afg-sticky-post-wrapper h2 a, 
.afg-my-archives .afg-sticky-post-wrapper h2 a:hover {
	color:#fff;
	font-size: 20px;
	line-height: 25px;
}

.afg-my-archives #main-content .grid-item .afg-meta-wrapper {
	margin-top: 7px;
	margin-bottom: 5px;
}

.afg-my-archives #main-content .grid-item .afg-meta-wrapper,
.afg-my-archives #main-content .grid-item .afg-meta,
.afg-my-archives #main-content .grid-item .afg-meta a,
.afg-my-archives #main-content .grid-item .afg-meta a:hover {
	font-family: 'Rubik', sans-serif;
	font-size: 13px;
	line-height: 16px;
	text-transform: uppercase;
	color:#fff;
}

.afg-my-archives #main-content .grid-item .afg-meta-type a {
	color: var(--second-color);
}

.afg-archive-intro {
	text-align: center;
}

.afg-archive-intro svg {
	height: 25px;
	width: 25px;
	display: inline;
}

.afg-my-archives .afg-related-post .grid-item {
    flex: 0 0 33%;
	position: relative;
	padding:0 12.5px;
}

.afg-my-archives .afg-related-post .grid-item .afg-favorite-archive {
	display: block;
	position: absolute;
	left:-7.5px;
	top:-12.5px;
}

.afg-my-archives .afg-related-post .grid-item .afg-favorite-archive svg {
	width: 25px;
	height: 25px;
	stroke-width: 2;
}

.afg-my-archives .afg-related-post {
    flex-wrap: wrap;
    overflow: visible;
    width: auto;
}


/**
* Audio Player
*/
.wptpa_volume_modal,
.wptpa_share_modal {
	display: none;
} 


/**
* Wp Forms
*/
.wpforms-confirmation-container-full, div[submit-success] > .wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
    background: var(--main-color)!important;
    border: unset!important;
    text-align: center!important;
}

body.contact .wpforms-container {
	max-width: 50%;
	margin:0 auto;
}

body.contact .is-style-afg-main-content {
    padding-left: 0;
    line-height: 24px;
    font-size: 17px;
    margin-bottom: 30px;
}

body.contact div.wpforms-container-full .wpforms-form input.wpforms-field-medium,
body.contact div.wpforms-container-full .wpforms-form select.wpforms-field-medium,
body.contact div.wpforms-container-full .wpforms-form .wpforms-field-row.wpforms-field-medium {
    max-width: 100%!important;
}

.wpforms-field-label {
    font-size: 13px!important;
    text-transform: uppercase!important;
    letter-spacing: .05em!important;
    font-weight: 400!important;
    margin-bottom: 10px!important;
}

div.wpforms-container-full .wpforms-form input[type=text],
div.wpforms-container-full .wpforms-form input[type=email],
body.contact div.wpforms-container-full .wpforms-form textarea {
    color: #000!important;
    height: 50px!important;
    background-color: #fff!important;
    border: 1px solid #EBEBEB!important;
    padding-left: 20px!important;
    padding-right: 20px!important;
    font-size: 15px!important;
    border-radius: 0!important;
}

body.contact div.wpforms-container-full .wpforms-form textarea {
    height: 300px!important;
}

body.contact div.wpforms-container-full .wpforms-form button[type=submit] { 
	width: 300px!important;
	margin:20px auto 70px!important;
}

/**
* WP E-mail - Email in Posts
*/
#wp-email-popup {
	background-color: var(--third-color);
	font-weight: 400;
}

#wp-email-popup #wpadminbar,
#wp-email-required {
	display: none;
}

.wp-email > p {
	margin-bottom:20px;
}

.wp-email em {
	font-style: normal;
	font-size: 11px;
	color:#797373;
}

#wp-email-popup > p:first-of-type {
	text-align: left!important;
	font-size: 26px;
	margin-bottom: 30px;
}

.wp-email label {
    font-weight: 400;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.wp-email input[type="text"],
.wp-email input[type="email"] {
    height: 50px;
	background-color: #fff;
	border:1px solid #EBEBEB;
	width: 100%;
	padding-left:20px;
	padding-right: 20px;
	font-size: 15px;
	border-radius: 0;
}

.wp-email input[type="button"] {
    height: 50px;
	background-color: #000;
	color:#fff;
	border:unset;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	border-radius: 0;
	width:200px;
	margin:20px auto;
}

#wp-email-popup > p a {
	position: absolute;
	top:15px;
	right: 15px;
	content:url('assets/img/close-blk.svg');
	display: block;
	height: 25px;
	width: 25px;
}

.wp-email-loading {
    text-align: center;
    height: 16px;
    margin: 0 auto;
    left: calc(50% - 40px);
    font-size: 15px;
}

.wp-email-loading img {
	height: 16px;
    width: 16px;
} 


/**
* Download pdf button
*/

.col-lg-8.afg-main-content > div:first-child > a[target="_blank"] {
	height: 30px;
	width: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--main-color);
    margin-right: 0;
    margin-left: auto;
} 

/*.col-lg-8.afg-main-content > div:first-child > a[target="_blank"]:before {
	content:'Pdf ';
	font-size: 14px;
	display: inline-block;
} */

.col-lg-8.afg-main-content > div:first-child > a[target="_blank"] img {
	height: 25px!important;
	width: 25px!important;
}

.afg-video-poster {
	width: 100%;
	padding-top:71%;
	position: relative;
	cursor: pointer;
}

.afg-video-poster img {
	width: 100%;
	height:100%;
	position: absolute;
	top:0;
	left:0;
	object-fit: contain;
}

.afg-video-poster .afg-play-button {
	width: 100px;
	height:100px;
	top:50%;
	left:50%;
	position: absolute;
	z-index:2;
	transform: translate(-45%,-50%);
	object-fit: contain;
}

.afg-video-poster video {
	width: 100%;
	height:100%;
	position: absolute;
	top:0;
	left:0;
	z-index:3;
	object-fit: cover;
}

/**
* Gutenberg Columns
*/
@media (min-width: 782px) {
	.wp-block-column:not(:first-child) {
	    margin-left: 60px;
	}
}
/**
* BreadCrumb
*/
.rank-math-breadcrumb {
	padding: 15px 0;
	text-align: right;
}

.rank-math-breadcrumb p {
	margin-bottom: 0;
}

/**
* Home Manifesto
*/
body.user-is-authorised #manifesto {
	display: none;
}

/**
* Slick
*/

.slick-arrow {
	position: absolute;
	height: 100px;
	width: 30px;
	background-color: transparent;
}

.slick-arrow:after {
	height: 100px;
	width: 30px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.slick-arrow.slick-prev {
	left: -45px;
}

.slick-arrow.slick-prev:after {
	background-image: url('assets/img/arrow-left-4.svg');
}

.slick-arrow.slick-next {
	right: -45px;
}

.slick-arrow.slick-next:after {
	background-image: url('assets/img/arrow-right-4.svg');
}

.section-cta-wrapper {
	flex-basis: 100%;
	max-width: 100%;
	width: 100%;
	text-align: center;
}

.section-cta {
	margin: 45px auto 0;
	background-color: var(--main-color);
	font-size: 13px;
	font-weight: 700;
	line-height: 19px;
	letter-spacing: 2px;
	text-align: center;
	text-transform: uppercase;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: auto;
    display: inline-flex;
    padding: 18px 20px;
    height: auto;
    transition: all .3s;
}

.section-cta:hover {
	transform: translateX(10px);
}

@media screen and (max-width: 992px) {
	.section-cta {
	    margin: 40px auto 0;
	    font-size: 11px;
	    line-height: 17px;
	}
}

/**
* Bookmarks block & page
*/
section[id^="bookmarks"] {
	padding-top: 30px;
	padding-bottom: 60px;
}
section[id^="bookmarks"] > div {
	width: 100%;
}

.afg-favorite-title {
	display: inline-block;
	width: 20px;
	margin: 0 5px;
	position: relative;
}

.afg-favorite-title:before {
	content: '';
	position: absolute;
	height: 20px;
	width: 20px;
	display: block;
	top: -14px;
	left: 0;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	font-size: 0;
	background-image: url('assets/img/bookmark-wht.svg');
}

h1 .afg-favorite-title {
	width: 25px;
	margin: 0 10px 0 0;
}

h1 .afg-favorite-title:before {
	height: 25px;
	width: 25px;
	background-image: url('assets/img/bookmark-yellow.svg');
	top: -23px;
}

section[id^="bookmarks"] .empty {
	font-size: 15px;
	line-height: 22px;
	max-width: 500px;
	padding: 20px;
	margin: 30px auto;
	text-align: center;
	border: 1px solid;
	color: #fff;
}

section[id^="bookmarks"] .empty p:last-of-type {
	margin-bottom: 0;
}

body.page-id-7247 #main-content {
	 background-color: #2b2b2b;
}

body.page-id-7247 .rank-math-breadcrumb span,
body.page-id-7247 .rank-math-breadcrumb a,
body.page-id-7247 .rank-math-breadcrumb a:hover,
body.page-id-7247 article figcaption,
body.page-id-7247 article figcaption a,
body.page-id-7247 article figcaption a:hover {
    color: #fff;
}

/**
* Newsletter modal form
*/
.afg-modal.newsletter {
	position: fixed;
	z-index: 1000000;
	height: 100vh;
	width: 100vw;
	top: 0;
	left: 0;
	opacity: 0;
	pointer-events: none;
	transition: all .3s;
}

.afg-modal.newsletter .afg-close-modal {
	top: 30px;
    right: 30px;
    height: 40px;
    width: 40px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	background-image: url('assets/img/close-blk.svg');
	cursor: pointer;
} 

.afg-modal.newsletter.afg-active {
	opacity: 1;
	pointer-events: all;
}

.modal-newsletter {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	padding: 30px;
	transform: translate(-50%,-50%);
}

.afg-inter-header {
    border-bottom: 1px solid;
}

.afg-inter-header:after {
	height: 100px;
	width: 100px;
	border-left: 1px solid var(--main-color);
}

.afg-modal.newsletter .afg-loader {
	-webkit-animation: unset; /* Safari 4+ */
	-moz-animation: unset; /* Fx 5+ */
	-o-animation: unset; /* Opera 12+ */
	animation: unset;
	transform: rotate(-80deg);
}

.afg-modal.newsletter.afg-sending .afg-loader {
	transform: rotate(-80deg);
	-webkit-animation: loader 1s infinite; /* Safari 4+ */
	-moz-animation: loader 1s infinite; /* Fx 5+ */
	-o-animation: loader 1s infinite; /* Opera 12+ */
	animation: loader 1s infinite;
}

.afg-modal.newsletter input[type="email"] {
	background-color: transparent;
	border: unset;
	height: 50px;
	font-size: 20px;
	color: #000;
	border-bottom: 1px solid;
	display: block;
	width: calc(100% - 200px);
	padding-left: 20px;
	padding-right: 20px;
}

.afg-modal.newsletter input[type="email"]::placeholder {
	color: #000;
}

.afg-modal.newsletter input[type="submit"] {
	margin: 0;
	margin-left:30px;
}

.afg-modal.newsletter .newsletter-content {
	padding: 15px 20px 0;
}

.afg-modal.newsletter .newsletter-content p:last-child {
	margin-bottom: 0;
}

.afg-mailchimp-result {
	padding: 0 20px 15px;
	font-weight:900;
	margin-bottom: 0;
	letter-spacing: .02em;
}