/* *******************************************************************/
/* 3 ********************** Mobile ***********************************/
/* *******************************************************************/
@media all and (max-width:992px) {

	.content-font-400-11 {
		font-size:10px;
	}

	.content-font-400-13 {
	    font-size: 11px;
	}

	.content-font-400-17 {
	    font-size: 16px;
	    line-height: 28px;
	}

	.content-font-400-26 {
	    font-size: 20px;
	}

	.content-font-700-26 {
	    font-size: 20px;
	}

	.content-font-700-30 {
	    font-family: 'Rubik', sans-serif;
	    font-weight: 700;
	    font-size: 25px;
	}

	.content-font-700-50,
	.content-font-400-50 {
		font-size: 25px;
	}

	.content-font-400-60 {
	    font-size: 32px;
	    line-height: 40px;
	}

	.title-font-40 {
		font-size: 26px;
	}


	.special-font-23 {
		font-size: 17px;
	} 

	.special-font-24 {
		font-size: 18px;
	} 

	.px-100 {
		padding-left: 25px;
		padding-right: 25px;
	}

	.lts-1 {
	    letter-spacing: 0.05em;
	}

	.lts-2 {
	    letter-spacing: 0.1em;
	}

	/**
	* Header Visible Row
	*/
	#header, #afg-user-item, #afg-burger, .afg-logo-wrapper, .afg-user-menu-link, .afg-search-item {
		height:80px;
	}

	.afg-user-menu-link {
	    margin: 0 15px;
	}

	#header .afg-flex-end {
		justify-content: flex-end!important;
	}

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

	.afg-logo-wrapper > span {
		height: 100%;
	}

	.afg-tagline-wrapper {
	    flex-basis: 90px;
	    max-width: 90px;
	    padding: 0 5px;
	}

	.afg-image-wrapper {
	    flex-basis: 75px;
	    max-width: 75px;
	}

	.afg-logo-wrapper img {
	    max-height: 40px;
	    width: 60px;
	   } 

	.afg-tagline {
	    line-height: 11px;
	    font-size: 8px;
	}

	#afg-burger {
		width:60px;
	}

	#afg-user-picto {
		height: 25px;
		width: 25px;
	}
	.afg-search-item {
		margin-top: 0;
	}
	.afg-search-item svg {
		height: 20px;
		width: 20px;
	}


	.login-item {
		margin: 0;
	}


	#afg-user-item {
		padding-right: 25px!important;
	}

	header .lrm-login {
		border-left: unset;
		justify-content: flex-end;
		margin-right: 15px;
	} 

	header .lrm-login svg {
		height:25px;
		width: 25px;
	} 

	#afg-user-item #afg-user-picto {
	    margin-right:0;
	}

	.logged-in #afg-user-item {
	    justify-content: flex-end;
	    border-left: unset;
	}


	#modal-user-menu {
	    position: fixed;
	    right: 0;
	    top: -100vh;
	    height: 100vh;
	    width: 100%;
	    background-color: rgba(0,0,0,.9);
	    border-top: unset;
	    transition: all .3s;
	    z-index: 2;
	}

	#modal-user-menu.afg-show {
		top:0;
	} 


	#modal-user-menu .afg-modal-header {
	    height: 80px;
	    border-bottom: 1px solid #797373;
	    display: flex;
	    align-items: center;
	    padding:0 25px;
	    font-size:11px;
	}

	#modal-user-menu .afg-user-menu-link {
	    height: 80px;
	}

	#modal-user-menu .afg-user-menu-link #afg-user-picto {
		margin-right: 0!important;
	}

	#modal-user-menu > a {
		font-size:26px;
		font-weight: 400;
		padding:12px 25px;
	}

	#modal-user-menu a:nth-child(3) {
	    padding-top: 20px;
	}

	#modal-user-menu #afg-logout-link {
	    padding: 18px 25px;
	}

	#modal-user-menu .arrow-link {
	    height: 32px;
	    width: 25px;
	    margin-left: 20px;
	}

	#modal-user-menu a:last-child {
    	padding-left: 50px;
   	} 

	#modal-user-menu a:last-child:before {
		left: 20px;
	    top: 20px;
	    height: 20px;
	    width: 20px;
	}





	/**
	* Header Menu
	*/
	#afg-navigation {
		top: calc(-100vh + 80px);
		height: calc(100vh - 80px);
		padding: 30px 0;
		z-index: -1;
		overflow: auto;
		pointer-events: none;
		transition: all .3s;
		align-items: flex-start;
	}

	#afg-navigation.afg-active {
		top: 80px;
		pointer-events: all;
	} 

	.afg-image-separator {
		max-width: 15px;
		flex-basis: 15px;
	}

	.afg-image-separator img {
	    max-height: 70px;
	    height: 70px;
	    margin: 0;
	    width: 15px;
	}

	#lang-selector-wrapper-mobile {
		padding: 0 30px;
		color:#fff;
		align-items: center;
	}

	#lang-selector-wrapper-mobile li {
		margin-left:30px;
		margin-bottom: 0;
		font-family: 'Libre Baskerville', serif;
    	font-weight: 400;
    	font-size: 15px;
	}

	#lang-selector-wrapper-mobile li.lang-active {
		border-bottom: 1px solid #fff;
	}

	#lang-selector-wrapper-mobile a {
		color:#fff;
	} 

	#main-menu {
		padding: 0 30px;
		margin: 40px 0;
		font-size:26px;
	}  

	.navbar-nav {
	    justify-content: left;
	    text-align: left;
	}

	.cta-menu-wrapper {
		padding: 0 30px;
	}

	.cta-menu-wrapper, .cta-menu-wrapper ul {
		margin:0!important;
	}

	.cta-menu-wrapper ul {
		width: 100%;
	    display: flex;
	    justify-content: space-between;
	}

	.cta-menu-wrapper ul li {
		width: auto;
		margin:0;
		flex: 0 0 144px;
	}

	.cta-menu-wrapper ul li a {
		line-height: 0;
	}

	header .searchform {
		position: fixed;
		top: 0;
		left: 0;
		height: 80px;
	}

	header .searchform.afg-active {
		position: fixed;
		top: 0;
		left: 0;
		height: 80px;
		background-color: var(--second-color);
	}

	header .searchform .afg-close,
	header .searchform button {
		margin: 0 15px;
		height: 25px;
		width: 25px;
	} 

	header .searchform input {
	    width: calc(100% - 110px);
	}

	header .afg-social-bar-wrapper {
		justify-content: center;
		align-items: center;
		width: 100%;
		max-width: 100%;
		padding: 30px 0 0;
	}

	header .afg-social-bar-wrapper .afg-social-bar {
		justify-content: center;
		align-items: center;
		width: 100%;
		display: flex!important;
	}

	header .afg-social-bar-wrapper .afg-social-bar a {
	    height: 25px;
	    width: 25px;
	    display: inline-block;
	    margin: 0 20px;
	}


	.afg-close-menu, .afg-close-modal {
		top:27.5px;
		right:30px;
		height:25px;
		width: 25px;
		left: auto;
    	bottom: auto;
    	cursor: pointer;
    	position: absolute;
	}

	.afg-close-menu {
		top: 25px;
	}

	
	/**
	* Home Header row
	*/
	#main-content .afg-logo-wrapper, .admin-bar #main-content .afg-logo-wrapper {
		height: 180px;
	    flex-wrap: wrap;
	    padding: 30px 25px 17px;
	    justify-content: center;
	}

	#main-content .afg-logo-wrapper a {
		align-items: flex-start;
		margin-bottom: 30px;
	}

	.afg-logo-wrapper a svg {
		width: 90px;
	}

	.afg-tagline-2 {
		flex:0 0 100%;
	    position: relative;
	    width: 100%;
    	padding: 0;
    	bottom:auto;
    	left:auto;
    	text-align: center;
    }


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

	.grid .grid-item {
	    padding-bottom: 50px;
	}

	.afg-grid-left {
	    margin-left: 0;
	    padding-right:0; 
		transform: translateX(0);
	}

	.afg-grid-right {
	    margin-left: 0;
	    padding-left: 0;
	    transform: translateX(0);
	}

	.grid .afg-sixteen-nine img {
		height:58vw;
	}

	.grid .afg-four-third-landscape img {
		height:73vw;
	}

	.grid .afg-four-third-portrait img {
		height:130vw;
	}

	.grid .afg-square img {
		height:93vw;
	}

	.view-more-button, .infinite-scroll-last, .infinite-scroll-error {
	    margin:50px 25px 70px;
	}

	.uptitle-separator, .subtitle-separator {
	    display: inline-block;
	}



	/**
	* Cta Grid Element
	*/
	.cta-content {
		font-size:40px;
		line-height: 50px;
	}

	.summary-link-item {
		//display: none;
	}


	/**
	* Pitch Block
	*/
	.afg-pitch-block {
		display: none;
		padding-right:25px;
		padding-left:25px;
	}


	/**
	* Footer
	*/
	#footer{
		position: relative;
		padding:160px 25px 20px!important;
	} 
	#footer > .row:first-child{ 
		flex-direction: column-reverse;
	}

	#footer .afg-logo-wrapper {
		position: absolute;
	    top: 30px;
	    left: 0;
	    padding: 0;
	    justify-content: center;
	    /* text-align: center; */
	    display: flex;
	}

	#footer .cta-menu-wrapper {
	    padding: 0;
	}

	#footer .cta-menu-wrapper ul {
	    justify-content: space-around;
	}

	.widget-title {
		font-size: 17px;
	}

	.widget_afg_mailchimp {
	    margin:40px auto 50px;
	}

	#footer .navbar-nav {
  		columns: 140px;
  		display: block;
  		margin-bottom: 40px;
	}

	#footer .navbar-nav li {
		-webkit-column-break-inside: avoid;
	}

	#footer .nav-wrapper .navbar-nav li {
		font-size: 17px;
	}

	footer .afg-social-bar-wrapper {
	    justify-content: center;
	    text-align: center;
	}

	#afg-footer-menu-wrapper {
		margin:40px auto 20px;
		justify-content: center;
	}

	#legal-row {
	   padding: 0 auto 20px;
	}

	#legal-row, #afg-copyright {
		font-size: 11px;
	}

	#afg-legal-numbers p {
		text-align: center;
	}

	#afg-legal-numbers p .afg-separator {
	    opacity: 0;
	    display: block;
	    flex-wrap: wrap;
	    align-items: flex-start;
	}



	/**
	* Login Modals
	*/
	.lrm-user-modal {
	    padding:0;
	    visibility: visible!important;
    	opacity: 1;
    	top: -100%;
    	bottom: auto;
    	//transition: all .3s;
	}

	.lrm-user-modal.is-visible {
		top: 0;
	}

	.lrm-user-modal-container {
	    max-width: 100%;
	    width: 100%;
	    height: 100vh;
	    margin: 0;
	    display: block;
	    padding-top: 0;
	}

	#modal-addons {
		display: block;
		flex-basis:auto;
		width: 100%;
		flex-wrap: wrap;
	}

	#logo-modal {
		position: relative;
		width: 100%;
	    height: 80px;
	    padding: 10px 15px;
	    display: flex;
	} 

	#logo-modal svg {
	    width: 56px;
	}

	.lrm-close-form {
	    top: 0!important;
	    right: 0!important;
	    width: 80px;
	    height: 80px;
	    background: no-repeat center/34% url('../img/close.svg')!important;
	}

	.lrm-signin-section, .lrm-reset-password-section {
	    padding-right: 0;
	    width: 100%;
	}

	.lrm-user-modal-container-inner {
		width: 100%;
		padding:0 25px;
	}

	#text-modal {
		max-width: 220px;
		line-height: 30px;
		margin-bottom:40px;
	}

	.lrm-form .fieldset {
		margin:0 0 20px;
	}


	#modal-addons-2 {
		height: 120px;
	}

	#modal-addons-2 .afg-button-2 {
	    max-width: 180px;
	}

	.lrm-form-message {
		margin-bottom: 12px;
	}


	/**
	* Inter Modal
	*/
	.afg-inter-header {
		height: 80px
	}

	.afg-inter-logo {
		width: 90px;
	}

	.afg-inter-header .afg-loader {
	    width: 80px;
	    height: 80px;
	}

	.afg-inter-header .afg-loader svg {
	    flex: 0 0 30px;
	}


	/**
	* Single Post - Header
	*/
	.single-header .inner-row:first-of-type {
		position: relative;
		height: auto;
		display: block;
		top: 0;
		left: 0;
		margin-top: 80px;
		width: 100%;
		overflow: hidden;
	}

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

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

	.article-main-content {
		position: relative;
		top: 0;
	}

	.flex-360, .afg-main-content {
		max-width: 100%;
	    flex-basis: 100%;
	}

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

	.single-header .title-wrapper {
		height: auto;
		padding: 35px 20px;
	}

	.single-header .title-wrapper .title {
		font-size: 30px;
    	line-height: 35px;
	}

	.single-header .excerpt-wrapper {
	    padding: 35px 20px;
	    flex-basis: 100%;
	    max-width: 100%;
	    padding-left: 20px;
	}


	.afg-login-button-before {
		line-height: 35px;
	}

	.afg-login-button-wrapper {
		margin:30px;
	}

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


	/**
	* Single - Main content
	*/
	.afg-main-content {
		padding-right: 20px;
		padding-left: 20px;
		padding-bottom: 70px;
		padding-top: 0;
	}

	aside  {
	    padding: 35px 20px 0 20px!important;
	}

	body.single .wp-caption {
	    position: relative;
	    left: auto;
	    max-width: 100vw;
	    padding-left: 0;
	    width: 100vw!important;
	    margin: 30px -20px 0;
	    padding-bottom: 50px;
	}

	/**
	* Single - Notes
	*/
	.afg-notesmodal-overlay {
		position: fixed;
		z-index: 9;
		background-color: rgba(0,0,0,.1);
		height: 100vh;
		width: 100vw;
		top: 0;
		left: 0;
		pointer-events: none;
		opacity: 0;
		transition: all .3s;
	}

	.afg-note-modal-wrapper {
	    position: fixed;
	    width: 100vw;
	    left: 0;
	    bottom:0;
	    opacity: 0;
	    pointer-events: none;
	    transition: all .3s;
	}

	.afg-notesmodal-overlay.afg-active,
	.afg-note-modal-wrapper.afg-active {
		opacity: 1;
	    pointer-events: all;
	    left: 0;
	}


	.afg-main-content p a:not([href^="#note"]), 
	#main-content > p a:not([href^="#note"]), 
	.is-style-afg-main-content a:not([href^="#note"]) {
	    border-bottom: 1px solid;
	}

	.afg-main-content h2,
	#main-content > h2,
	h2.is-style-afg-main-content {
	    font-size: 26px;
	    line-height: 31px;
	    margin-bottom: 20px;
	}

	.afg-main-content h3, 
	.afg-main-content h4, 
	.afg-main-content h5, 
	#main-content > h3, 
	#main-content > h4, 
	#main-content > h5,
	h3.is-style-afg-main-content,
	h4.is-style-afg-main-content,
	h5.is-style-afg-main-content {
		font-size: 11px;
		letter-spacing: 0.05em;
		margin-bottom:20px;
	}

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


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

	.wp-caption-text {
		padding:20px 25px;
	}

	.afg-tax-image .wp-caption-text {
		padding: 0;
	}


	.afg-main-content blockquote {
	    font-size: 17px;
    	line-height: 28px;
	}

	.afg-main-content blockquote:before {
	    content: '«';
	    font-size: 50px;
	    height: 50px;
	    line-height: 44px;
	}

	.afg-main-content blockquote:after {
	    content: '»';
	    font-size: 50px;
	    height: 50px;
	    line-height: 44px;
	}

	.afg-form-wrapper {
	    margin-top: 60px;
	    border-top: 4px solid #000;
	}

	.afg-form-title {
		font-size: 26px;
	}

	.afg-form-wrapper textarea.wpforms-field-medium {
	    min-height: 180px;
	}

	.afg-related-post-wrapper {
		padding:50px 0 20px;
	}

	.afg-related-post-wrapper > p {
	    font-size: 26px;
	}

	.afg-related-post .grid-item {
	    flex: 0 0 80%;
	    /*padding: 0 0 0 25px;*/
	}


	.afg-postmodal {
	    width:calc(100vw - 25px);
	    top:80px;
	    padding: 60px 25px 0;
	    transition: all .3s;
	}

	body.afg-scroll-down .afg-postmodal {
		top:0;
	}

	.afg-postmodal-scroll {
	    padding-right: 0;
	}


	.afg-related-post.afg-wrap-content .grid-item {
	    padding: 0!important;
	    flex:0 0 100%;
	}

	.afg-related-post .grid-item figcaption, .afg-related-post .sticky-grid-item figcaption {
	    padding: 0;
	}


	/**
	* Plans / Offers Page
	*/

	body.page #main-content > .h1 {
	    padding: 30px 40px 20px;
	}

	body.afg-plans-page h1 {
	    padding: 30px 40px 20px!important;
	}

	body.afg-plans-page #main-content > p:first-of-type {
	    margin-bottom: 30px;
	}

	.tabs > ul {
		width: calc(100vw - 50px);
		margin:0 auto;
		padding-bottom:25px;
	}

	.tabs >  ul li {
		width:100%;
		background-color: var(--main-color);
		display: flex;
		align-items: center;
		justify-content: center;
		height: 70px;
		margin-bottom: 20px;
	}

	.tabs > ul li h2 {
		margin:0;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.tabs > ul li a {
		font-size: 13px;
		font-weight: 400;
		text-transform: uppercase;
		letter-spacing: .05em;
	}

	.afg-plan-block {
	    padding: 0;
	    flex: 0 0 100%;
	    max-width: 100vw;
	}

	.afg-plan-header {
	    position: relative;
	    top: auto;
	    left: auto;
	    height: auto;
	    padding: 40px 30px 50px;
	    width: calc(100vw - 50px);
	    margin:0 auto;
	}

	.afg-plan-header h3 > span.content-font-400-50 {
		display: none;
	}

	.afg-plan-header h3 > span.afg-rate .content-font-400-50 {
		font-size:50px;
	}


	.afg-mobile-tabs .ui-tabs-nav ul {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		justify-content: center;
	}

	.afg-mobile-tabs .ui-tabs-nav li {
		flex-basis: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.afg-mobile-tabs li a, .afg-mobile-tabs li a span {
		font-size: 15px;
		font-family: 'Rubik',sans-serif;
		font-weight: 700;
		text-align: center;
	} 


	.afg-tab {
		position: fixed;
		height: 100vh;
		width: 100vw;
		right: -100vw;
		top:0;
		transition: all .3s;
		background-color: var(--main-color);
		z-index:5000;
		overflow: scroll;
	}

	.afg-tab.afg-show {
		right: 0;
	}

	.afg-tab.afg-show > .afg-plan-block {
		overflow: scroll;
		height:100vh;
	}

	.ui-tabs-nav {
		width: 100vw;
		padding:0 25px;
		margin: 0;
	}


	.ui-tabs-nav li.ui-state-default {
	    background-color: var(--main-color);
	    border:1px solid #fff;
	}

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

	.afg-mobile-plan-header {
		height: 80px;
		color:#fff;
		display: flex;
		align-items: center;
		padding:0 25px;
		justify-content: space-between;
	}

	.afg-mobile-plan-header svg {
		height: 25px;
		width: 25px;
		stroke-width:2;
	} 

	.afg-tab-intro {
		padding:0;
	}

	.afg-tab-intro p {
		padding: 30px 25px;
		margin:0;
	} 

	.afg-plan-attributs{ 
		background-color: var(--third-color);
		margin:0;
		padding-top:60px;
	}

	.afg-plan-attributs li {
	    width:calc(100vw - 50px);
	    margin:0 auto;
	}

	.afg-plan-attributs blockquote {
	    background-color: var(--main-color);
	    font-size: 14px;
	    font-family: 'Rubik',sans-serif;
	    font-weight: 700;
	    margin: 0 auto 30px;
	    width:calc(100vw - 50px);
	}

	.pmpro_btn, .pmpro_btn:link, .pmpro_checkout input[type="button"] {
		margin: 0 auto 30px;
		width:calc(100vw - 50px);
	}

	body.afg-plans-page #main-content > p:last-of-type {
	    display: none;
	}

	.afg-plan-policy  {
		margin:0 auto;
		padding-bottom:30px;
		width:calc(100vw - 50px);
		text-align: center;
	}

	section[id^="cta-fullwidth-block"] {
	    margin-top:0;
	    padding: 30px 0;
	}

	.afg-cta-footer-uptitle {
	   margin-bottom: 20px;
	}

	.afg-cta-footer-title {
	    line-height: 40px;
	    font-size:32px;
	    padding:0 30px;
	}


	


	/**
	* Confirmation Page
	*/
	.pmpro_confirmation_wrap {
	    padding: 100px 10px;
	    max-width: 100%;
	    margin: 0;
	}

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

	.pmpro_confirmation_wrap h3, .pmpro_confirmation_wrap ul, .pmpro_invoice_details {
	    max-width: 100%;
	}

	.pmpro_invoice-total {
	    text-align: center;
	    margin-top: 40px;
	}

	/**
	* Account Page
	*/
	#pmpro_account, #pmpro_cancel, .pmpro_billing_wrap {
	    max-width: 100%;
	    padding: 0 10px 70px;
	}

	#pmpro_account .afg-plan-remember > h3 {
	    padding: 0 10px 50px!important;
	    width: auto;
	}

	#pmpro_account .pmpro_account-membership-levelname {
		line-height: 35px
	}

	#pmpro_actionlink-update-billing {
		display: inline;
		line-height: 0;
	} 

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

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


	/**
	* Cancel Page
	*/
	#pmpro_cancel .pmpro_actionlinks {
	    max-width: 100%;
	    margin: 0 auto;
	}


	/**
	* Update Billing Page
	*/
	.pmpro_billing_wrap .pmpro_checkout-fields {
	    padding:0;
	}

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

	.pmpro_billing_wrap div[align="center"] {
	    flex-wrap: wrap;
	}

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

	/**
	* Authors Page
	*/
	body.page h1, body.archive h1, body.search h1 {
	    padding: 30px 0;
	    text-align: center;
	    margin: 0;
	}

	.afg-px-100, .px-55 {
	    padding-left: 25px;
	    padding-right: 25px;
	}

	.afg-alpha-menu {
		display: none;
	}

	.afg-page-intro-wrapper {
		padding-bottom: 30px;
	}


	.afg-letter-index {
	    position: relative;
	    left: auto;
	    text-align: center;
	    margin-bottom: 30px;
	    width: 100%;
	}

	.afg-list-title-wrapper {
		padding:0;
	}

	.afg-author-work {
		display: block;
		margin-bottom: 10px;
	}

	.afg-author-work:last-of-type {
		margin-bottom:0;
	}

	.afg-list {
	    margin-bottom: 50px;
	}

	.afg-list:last-of-type {
	    margin-bottom: 80px;
	}

	.afg-list p, .afg-list h2 {
	    margin-bottom: 0;
	}

	.afg-list h2 a {
		position: relative;
		padding-right: 22px;
	}

	.afg-author .afg-separator {
		display: none;
	}

	.afg-picto {
		height:12px;
		width: 12px;
		position: absolute;
		right:0px;
		top:calc(50% - 5px);
		stroke:#000;
	}


	/**
	* Archive page
	*/
	body.archive .flex-360 + .col-lg-9 {
	    flex-basis: 100%;
	    max-width: 100%;
	}


	/**
	* Summary Page
	*/
	.afg-summary-page {
	    margin-top: 20px;
	}

	.afg-summary-page .ui-tabs-nav {
		padding:0;
		height: auto;
	}

	.afg-summary-page .ui-tabs-nav li.ui-state-default {
	    background-color: transparent;);
	    border:unset;
	}

	.afg-summary-page .ui-tabs-nav li.ui-tabs-active {
	    background-color: transparent;
	}

	.afg-summary-page.afg-mobile-tabs li a {
	    font-size: 11px;
	    font-weight: 900;
	    line-height: 20px;
	}

	.afg-summary-page .ui-tabs-nav li.ui-tabs-active a {
	    border-bottom: 1px solid #000;
	}

	.afg-summary-page .ui-tabs-nav li {
	    justify-content: flex-start; 
	}

	.afg-summary-page .ui-tabs-nav li:last-of-type {
	    justify-content: center; 
	}

	.afg-filter-title {
	    display: none;
	}

	form.afg-posts-filters {
		position: fixed;
		z-index: 101;
		left:0;
		bottom:0;
		height: 40px;
		width: 100vw;
		background-color: var(--main-color);
		display: flex;
		align-items: center;
		justify-content: center;
		padding-bottom: 0;
		opacity: 1;
		transition: all .3s;
	}

	form.afg-posts-filters.afg-hide {
		opacity: 0;
		pointer-events: none;
	}

	.afg-fieldset-wrapper {
		flex-basis: 50%;
		text-align: center;
		height: 100%;
	    display: flex;
	    align-items: center;
	    justify-content: center;
	}

	.afg-fieldset-title {
		height: 100%;
		width: 100%;
	    display: flex;
	    align-items: center;
	    justify-content: center;
	}

	.afg-fieldset {
		display: block!important;
		position: fixed;
		right: -100vw;
		color:#fff;
		top:0;
		width: 100vw;
		height: 100vh;
		background-color: rgba(0,0,0,.9);
		transition: all .3s;
		z-index:101;
	}

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

	.afg-fieldset .afg-legend {
		display: flex;
		align-items: center;
		height: 80px;
		background-color: #000;
		width: 100vw;
		font-weight: 400;
		font-size: 11px;
		text-transform: uppercase;
    	letter-spacing: .2em;
    	border-bottom: 1px solid #707070;
    	padding:0 25px;
    	margin:0;
	}

	.afg-fieldset label {
	    margin: 0 0 20px;
	    display: block;
	    font-size: 26px;
	    padding:0 25px;
	    text-transform: initial;
    	text-align: left;
	}

	.afg-fieldset label:first-of-type {
	    margin-top: 20px;
	}

	.afg-summary-wrapper {
	    padding: 0;
	    margin-bottom: 70px;
	}

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

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

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

	.afg-summary-wrapper article > h2 {
	    flex: 0 0 100%;
	    padding-right: 0px;
	    line-height: 22px;
	    margin: 10px 0;
	}

	.afg-summary-wrapper article > div {
	    display: flex;
	    flex-direction: row;
	   	flex-wrap: wrap;
	    justify-content: space-between;
	    padding-right: 0px;
	}

	.summary-section-title {
	    position: relative;
	    left: auto;
	    margin-top: 50px;
	}

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


	.afg-fieldset input:checked + label:after {
	    width:0;
	    height: 0;
	    background-color: transparent;
	}

	.afg-fieldset input:checked + label span {
		display: inline-block;
		position: relative;
	}

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


	.afg-corpus-block-wrapper > p {
	    display: none;
	}

	.afg-corpus-block-wrapper {
		padding:40px 0 30px;
	}
	
	.afg-corpus-block-wrapper img {
	    height: 66vw;
	}
	

	/**
	* Tax / Corpus Page
	*/
	.afg-summary-wrapper.afg-tax-summary .summary-section-title {
	    left: auto;
	}

	.wp-video {
	    width: 100%!important;
	    margin:30px 0;
	}


	/**
	* Partners Page
	*/

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

	section[id^="list-template-block"] .afg-list-content-wrapper {
	    padding-right: 0;
	    padding-left: 0;
	}

	section[id^="list-template-block"] .afg-list p, 
	section[id^="list-template-block"] .afg-list h2 {
	    margin-bottom: 10px;
	    line-height: 20px;
	}

	section[id^="list-template-block"] .afg-list h2,
	section[id^="list-template-block"] .afg-list-wrapper .afg-list-description.special-font-24 {
	    line-height: 25px;
	}

	 section[id^="list-template-block"]  .afg-list-wrapper .afg-list-description {
	    margin-bottom: 30px;
	}

	section[id^="list-template-block"] .afg-list-wrapper .afg-list-index-wrapper {
	    margin-bottom: 30px;
	    line-height: 32px;
	    padding:0;
	}

	section[id^="list-template-block"] .afg-list-link-wrapper {
	    padding:0;
	}


	/**
	* Common Pages
	*/
	.is-style-afg-main-content {
	    max-width: 100%;
	    padding-left: 0;
	    line-height: 25px;
	}


	/**
	* My Archives page
	*/
	.afg-my-archives .afg-related-post .grid-item {
	    flex: 0 0 100%;
		position: relative;
		padding:0 12.5px;
		min-width: auto;
		margin-bottom: 30px;
	}


	/**
	* Search Page
	*/
	#main-content .searchform-wrapper {
	    padding:0 25px;
	}

	#main-content .searchform-wrapper .input-wrapper {
		margin-bottom: 20px;
	}


	/**
	* Contact Page
	*/
	body.contact .wpforms-container {
		max-width: 100%;
		margin:0 auto;
	}

	body.contact  #main-content {
		padding-left: 25px;
	    padding-right: 25px;
	}

	body.contact div.wpforms-container-full .wpforms-form button[type=submit] {
	    width: 100%!important;
	    margin: 10px auto 0!important;
	}

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


	/**
	* Buddypress
	*/
	#buddypress {
		max-width: 100%;
		padding: 0 10px 70px;
	}

	#buddypress div.item-list-tabs ul li a, #buddypress div.item-list-tabs ul li span {
	    padding-left: 0;
	}



	/**
	* Featured Block
	*/
	body.partenaires h1 {
		padding-bottom: 30px;
	}


	section[id^="list-template-block"] .afg-list-block {
		padding:20px 0 50px;
	}

	section[id^="list-template-block"] > .col-lg-12 {
		padding:0 15px!important;
	}

	section[id^="list-template-block"] .col-lg-4 > .content-font-700-26 {
	    font-size: 26px;
	    margin-bottom:15px;
	}

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

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

	section[id^="list-template-block"] .afg-list-intro {
	    margin-bottom: 40px;
	}


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

	section[id^="list-template-block"] .afg-thumbnail-item:nth-child(odd) {
		padding-right: 15px;
	}

	section[id^="list-template-block"] .afg-thumbnail-item:nth-child(even) {
		padding-left: 15px;
	}

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

	section[id^="list-template-block"] .afg-thumbnail-item > span.afg-meta {
		margin:12px 0 10px;
	}

	section[id^="list-template-block"] .afg-thumbnail-item > span.afg-title {
		line-height: 18px;
		padding-top: 10px;
	}


	/**
	* List Style 2
	*/
	section[id^="list-template-2"] .pt-70 {
		padding-top: 40px;
		}
	section[id^="list-template-2"] .pb-100 {
		padding-bottom: 60px;
	}

	section[id^="list-template-2"] .content-font-400-11 {
		font-size: 11px;
	}

	section[id^="list-template-2"] .content-font-700-26 {
		padding-top:0;
		padding-bottom: 10px;
		text-align: center;
		font-size: 26px;
	}

	section[id^="list-template-2"] .col-lg-5 .content-font-400-11.afg-uppercase.lts-1 {
		text-align: center;
	}

	section[id^="list-template-2"] .col-lg-5 {
		padding-bottom: 20px!important;
	}

	section[id^="list-template-2"] .content-font-400-11.afg-uppercase.lts-1.mb-12 {
		margin-bottom: 30px;
	}

	section[id^="list-template-2"] .has-text .list-element {
		margin-bottom:60px;
	}

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

	section[id^="list-template-2"] .content-font-700-26 #organisation {
		margin-bottom: 12px;
	}



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

	section[id^="featured-block"] .afg-image {
		margin-bottom: 30px;
	}


	section[id^="featured-block"] .afg-content {
		padding-left:25px!important;
		padding-right:25px!important;
	}

	section[id^="featured-block"] .afg-postmodal-link {
		font-size: 12px;
	    line-height: 20px;
	}

	section[id^="featured-block"] .afg-content-inner {
		max-width: 100%;
		font-size: 12px;
	    line-height: 20px;
	    margin-bottom: 60px;
	}

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

	section[id^="featured-block"] .afg-content-inner .afg-meta-type {
	    height: 25px;
	    font-size: 10px;
	}

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

	section[id^="featured-block"] .afg-content-inner .title-font-12 {
		font-size: 12px!important;
	}


	.afg-modal-featured .afg-postmodal-links {
		position: relative;
		top:auto;
		right: auto;
		width: 100%;
		margin:20px 0 50px;
	}

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

	#wp-admin-bar-wpseo-menu {
		display: none!important;
	}

	/**
	* List style 4
	*/
	.afg-list-item {
	}

	.afg-filters a {
		margin-bottom:15px;
	}

	.afg-list-item > div {
		padding:0;
	}

	.afg-list-item .afg-letter {
		flex-basis: 20%;
		font-size: 50px;
	}

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

	.afg-list-item .afg-content {
		flex-basis: 100%;
		padding-top:15px;
	}

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

	.afg-list-item .afg-video .wp-video {
		width:calc(100vw - 50px);
	}

	.afg-tax-subtitle {
		font-size:20px;
	}

	.afg-single-title-wrapper .afg-meta {
	    justify-content: flex-start;
	}

	/**
	* Offers page - V2
	*/
	.afg-button {
		margin: 10px auto;
		font-size: 11px;
		min-width: 168px;
	}

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

	.afg-offer {
	    margin-bottom: 60px;
	}

	.afg-offer.afg-full-height {
		height: auto!important;
	}

	.afg-offer:last-of-type {
	    margin-bottom: 0;
	}

	/**
	* Offers page - V2
	*/
	.afg-m-text-center {
		margin-bottom: 0;
	} 

	/**
	* Offers - V2 Inline Menu
	*/
	.afg-inline-menu {	
		top: 80px;
		background: #f2f2f4;
	}

	.afg-inline-menu-inner {
		width: 100%;
		overflow: scroll;
		flex-wrap: nowrap;
		justify-content: flex-start;
	}

	.afg-inline-menu-inner li {
		flex-shrink: 0;
		padding: 0 20px;
	}

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

	/**
	* Partenaires
	*/
	#partners {
		padding-top: 30px!important;
		padding-bottom: 0!important;
	}

	body:not(.user-is-authorised) #partners {
		padding-bottom: 40px!important;
	}

	#partners .afg-title-font {
		font-size: 22px!important;
		line-height: 30px!important;
		margin-bottom: 20px;
	}

	#partners .afg-boxed-1 {
		padding-left: 20px;
		padding-right: 20px;
	}

	#partners .afg-title-font + p {
		font-size: 15px;
		line-height: 22px;
	}

	#partners .wp-block-columns {
		justify-content: center;
		margin-bottom: 30px;
	}

	#partners .wp-block-column {
		flex-basis: 110px;
		max-width: 110px;
		margin: 0 20px;
	}

	#partners .wp-block-column:nth-child(3) {
		flex-basis: 75px;
		max-width: 75px;
		align-items: center;
		display: flex;
	}

	#partners .wp-block-column:nth-child(4),
	#partners .wp-block-column:nth-child(5) {
		margin: 0;
	}

	#partners .wp-block-image {
		margin-bottom: 0;
	}

	#partners .wp-block-spacer {
		display: none;
	}

	/**
	* Nos collections
	*/
	.section-title {
	    font-size: 30px;
	    line-height: 36px;
	    text-align: center;
	    margin-bottom: 35px;
	    padding-right: 20px;
	    padding-left: 20px;
	}

	/**
	* Featured Posts
	*/
	.grid.afg-boxed-2.px-15 {
		padding-left: 20px;
		padding-right: 20px;
	}

	.grid .grid-item.intro > p {
		font-size: 30px;
		line-height: 36px;
		text-align: center;
		margin-bottom: 35px;
	}

	.grid .grid-item.intro > div {
		font-size: 14px;
		line-height: 28px;
		margin-bottom: 0;
	}

	.grid .grid-item {
		padding-bottom: 30px;
	}

	.grid .grid-item, .grid-sizer {
	    width: calc(100% - 40px);
	}

	.grid .grid-item .afg-meta-wrapper {
		font-size: 20px;
		line-height: 28px;
	} 

	.grid-item-title {
		font-size: 24px;
		line-height: 28px;
	}

	.grid-item h2 {
	    margin-bottom: 0;
	}

	/**
	* Manifesto
	*/
	#manifesto {
		padding-bottom: 0;
	}

	#manifesto .afg-title-font:nth-child(1) {
		font-size: 38px!important;
		line-height: 46px;
		padding-left: 20px;
		padding-right: 20px;
	}

	#manifesto .afg-title-font:nth-child(2) {
		font-size: 30px!important;
		line-height: 38px;
		padding-left: 20px;
		padding-right: 20px;
	}

	#manifesto .has-medium-font-size {
		font-size: 13px!important;
		line-height: 20px;
		padding-left: 20px;
		padding-right: 20px;
	}

	#manifesto .wp-block-column p {
		text-align: center;
	}

	.afg-button.big {
		width: 250px;
		height: 50px;
		font-size: 11px;
		line-height: 17px;
		margin-top: 0;
		margin-bottom: 45px!important;
	}

	/**
	* Free post
	*/
	section[id^="free-post"] .afg-image-wrapper {
		position: relative;
		width: 100%;
		flex-basis: 100%;
		max-width: 100%;
		height: 280px;
	}

	section[id^="free-post"] .free-post-banner {
		width: calc(100% - 40px);
		height: 50px;
		top: -25px;
		left: 20px;
		font-size: 20px;
		line-height: 28px;
		transform: unset;
	}
	section[id^="free-post"] .edition-post-title {
		font-size: 14px;
		line-height: 20px;
	}

	section[id^="free-post"] .post-type, section[id^="free-post"] .post-cat {
	    margin-bottom: 30px;
	}

	section[id^="free-post"] .col-lg-6 {
		padding-left: 20px;
		padding-right: 20px;
		padding-bottom: 0;
	} 

	section[id^="free-post"] .subtitle,
	section[id^="free-post"] .edition-meta {
		font-size: 15px;
		line-height: 22px;
	}

	section[id^="free-post"] .edition-meta {
		margin-bottom: 30px;
	}

	section[id^="free-post"] .edition-excerpt {
		font-size: 13px;
		line-height: 20px;
	}

	section[id^="free-post"] .edition-excerpt p:last-child {
	    margin-bottom: 30px;
	}

	section[id^="free-post"] .afg-free-post {
		position: absolute;
    	height: 50px;
	    width: 250px;
	    bottom: -25px;
	    left: 50%;
	    transform: translateX(-50%);
	}

	/**
	* Bookmarks
	*/
	section[id^="bookmarks"] .empty {
	    border-left: unset;
	    border-right: unset;
	}

	/**
	* Newsletter modal form
	*/
	.afg-modal.newsletter input[type="email"] {
		width: 100%;
		margin-bottom: 30px;
	}

	.afg-modal.newsletter input[type="submit"] {
		width: 100%;
		margin-left:0;
	}

	.afg-modal.newsletter .afg-close-modal {
		top: 25px;
	    right: 15px;
	    height: 30px;
	    width: 30px;
	}	

	.afg-inter-header .afg-loader {
	    width: 52px;
	    height: 50px;
	    top: 16px;
    	left: 56px;
	}

	.afg-inter .afg-inter-header {
    	padding-left: 140px;
    	padding-right: 20px;
	}

	.afg-inter-header {
	    padding-left: 95px;
	    padding-right: 60px;
	}
	    
	/**
	* Single - Partners bottom
	*/
	.partners-bottom {
		margin-top: 30px;
		padding: 40px 20px;
	}

	/**
	* Single - Bottom CTA
	*/
	.afg-temporary-announce {
		margin-top: 50px;
		padding: 40px 20px;
	}

	.afg-buttons-wrapper {
		justify-content: center;
		padding-top: 45px;
	}

	/**
	* Single -  FAQ - Accordion
	*/
	.afg-form-wrapper {
	    flex-basis: 100%;
	    max-width: 100%;
	    padding-left: 20px;
	    padding-right: 20px;
	}

	body .ui-accordion {
	    margin-left: 0;
	    margin-right: 0;
	}

	body .ui-accordion-content {
	    padding: 0!important;
	}

	/**
	* Single - Modal
	*/
	.afg-close-modal {
		top:20px;
		right:20px;
	}

	.afg-postmodal {
	    padding: 60px 20px 0;
	}

	.afg-postmodal-content {
		padding: 0 5px;
	}

	.satellite-title, .related-posts-title {
		text-align: center;
	}

	/**
	* Single - Post Login 
	*/
	.post-login {
		padding: 0 20px 0;
	}

	.login-title {
		font-size: 28px;
    	line-height: 34px;
	}


}

@media (min-width: 2000px) {
	body.single .wp-caption {
    	left: calc(-33.333333% - 30px - 30vw + 100px + 16.333333%);
    	transition: all .3s;
    	    max-width: 40vw;
	}

	body.single .wp-caption:hover {
	    left: calc(-33.333333% - 30px);
	    z-index:11;
	}
}

@media screen and (max-width: 340px) {
	
	.afg-user-menu-link {
	    margin: 0 10px;
	}

	#afg-burger {
	    width: 55px;
	}
}

@media screen and (max-height: 568px) {
	#main-menu {
	    margin: 20px 0;
	}
} 