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

/**
* Login
*/
.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;
}


/**
* Single Header
*/
.single-header {
	position: relative;
}

.single-header .inner-row:first-of-type {
	position: sticky;
	top: 100px;
	left: 0;
	height: 100vh;
	width: 100%;
	overflow: hidden;
}

.single-header .inner-row:nth-child(2) {
	position: sticky;
	top: 230px;
	z-index: 2;
}

.single-header .inner-row:nth-child(2) > div {
	width: 100%;
}

.single-header .inner-row:nth-child(3) {
	position: relative;
}

.article-main-content {
	position: relative;
	z-index: 3;
}

.single-header .inner-row {
	width: 100%;
}

.single-header .meta-wrapper {
	padding: 22px 10px;
	background-color: #F2F2F4;
	font-size: 11px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.flex-360 {
	max-width: 360px;
    flex-basis: 360px;
}

.single-header .meta-wrapper + .col-lg-9 {
	flex-basis: calc(100% - 360px);
	max-width: calc(100% - 360px);
}

.single-header .meta-wrapper .afg-flex-between {
	border-bottom: 2px solid;
	padding-bottom: 8px;
	flex-wrap: wrap;
}

.single-header .meta-wrapper .share {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 25px;
}

.single-header .meta-wrapper .afg-share,
.single-header .meta-wrapper .afg-favorite {
    margin: 0 20px;
}

.single-header .title-wrapper {
	display: flex;
    align-items: center;
    background-color: rgba(255,238,119,.9);
	min-height: calc(100vh - 325px);
    padding: 50px 20px;
    margin-top: 25px;
}

.single-header .title-inner-wrapper {
	
}

.single-header .share {
	position: relative;
}

.single-header .share .edition-share {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	transform: unset;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #F2F2F4;
}

.single-header .share .edition-share .afg-close-modal {
	display: flex!important;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	background-image: url('../img/close-blk.svg');
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
	cursor: pointer;
}

.single-header .excerpt-wrapper {
	font-family: Libre Baskerville;
	font-size: 20px;
	font-weight: 700;
	line-height: 34px;
	letter-spacing: 0.02em;
	padding: 110px 60px;
	background-color: #f7f7f7;
	pointer-events: all;
	flex-basis: calc(100% - 360px);
	max-width: calc(100% - 360px);
	padding-left: calc(50% - 300px);
}

.single-header figure img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.single-header h1 span {
	display: block;
}

.single-header h1 span.uptitle,
.single-header h1 span.subtitle {
	font-size: 25px;
	font-weight: 400;
	line-height: 30px;
}

.single-header h1 span.uptitle {
	margin-bottom: 5px;
	font-size: 25px;
}

.single-header h1 span.subtitle {
	margin-top: 5px;
	font-size: 25px;
}

.single-header h1 span.title {
	font-size: 40px;
	font-weight: 700;
	line-height: 50px;
	letter-spacing: 1px;
}

.single-header h1 + p {
	font-size: 25px;
	font-weight: 400;
	line-height: 30px;
}

.single-header h1 span.uptitle:after,
.single-header h1 span.subtitle:before,
.single-header h1 + p:before {
	content: '';
	display: block;
	margin-bottom: 8px;
	margin-top: 8px;
	height: 3px;
	width: 100px;
	background-color: var(--second-color);
}

.afg-back {
	display: flex;
	height: 70px;
	width: 100%;
	align-items: center;
	justify-content: center;
	background-color: #F2F2F4;
}

.afg-back span {
	font-size: 11px;
	font-weight: 400;
	line-height: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
	display: flex;
	align-items: center;
}

.afg-back span:before {
	content: '';
	height: 15px;
	width: 15px;
	display: inline-block;
	margin-right: 10px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	background-image: url('../img/arrow-left-blk.svg');
}

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

.afg-main-content + .col-lg-3 {
	overflow: hidden;
}

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

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

aside.col-lg-3 {
	padding:110px 15px 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:40px;
	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;
    left: -240px;
	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;
	left: 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;
}

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

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

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

.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;
}

/**
* 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%;
	line-height: 18px;
}
.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-postmodal-content ul li,
.afg-link-wrapper a {
	display: block;
	margin-bottom: 20px;
}  

.afg-link-wrapper a:before,
.afg-postmodal-content ul li: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('../img/close-blk.svg');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

.afg-standalone-link {
	border-bottom: 1px solid #000;
	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;
}

.afg-postmodal-content .afg-display-none {
	display: block!important;
}

/**
* 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;
}

@media (max-width: 992px) {
	.single .afg-main-content {
	    padding-right: 5px;
	    padding-left: 5px;
	}

    .single .article-main-content :nth-child(1) { order: 2; }
    .single .article-main-content :nth-child(2) { order: 1; }
    .single .article-main-content :nth-child(3) { order: 3; }
    .single .article-main-content :nth-child(4) { order: 4; }
    .single .article-main-content :nth-child(5) { order: 5; }

    .single-header .title-wrapper {
    	min-height: unset;
    	margin-top: 0;
    }

    .single-header h1 span.uptitle,
	.single-header h1 span.subtitle {
		font-size: 25px;
		line-height: 30px;
	}

	.single-header h1 span.uptitle {
		margin-bottom: 3px;
	}

	.single-header h1 span.subtitle {
		margin-top: 3px;
	}

	.single-header h1 span.title {
		font-size: 30px;
		line-height: 40px;
		letter-spacing: 1px;
	}

	.single-header h1 + p {
		font-size: 20px;
		line-height: 25px;
	}

	.single-header h1 span.uptitle:after,
	.single-header h1 span.subtitle:before,
	.single-header h1 + p:before {
		content: '';
		display: block;
		margin-bottom: 5px;
		margin-top: 5px;
		height: 2px;
		width: 50px;
		background-color: var(--second-color);
	}
}