#main-header {
	position: fixed;
	z-index:100;
	opacity: 1;
	transition: all .3s;
	top:0;
}

#header {
	height:100px;
	align-items: center;
	color:#fff;
	position: relative;
}

#header a {
	color:#fff;
}

body.afg-scroll-down #main-header {
	opacity: 0;
	pointer-events: none;
}

body.afg-scroll-down #main-header.afg-active,
body.afg-scroll-down.pmpro-levels #main-header {
	opacity: 1;
	pointer-events: all;
}

/**
* Logo + Tagline
*/
header .afg-logo-wrapper,
#tunnel-header .afg-logo-wrapper {
	height: 100%;
	max-width: 100px;
	flex-basis: 100px;
	color: #fff;
}

#tunnel-header .afg-logo-wrapper {
	background-color: #000;
}

/**
* Logo
*/
.afg-image-wrapper {
	flex-basis: 100px;
	max-width: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-right: 1px solid #797373;
}

.afg-logo-wrapper img {
	max-height: 50px;
    width: 70px;
}

/*
* Line
*/
.afg-image-separator {
	flex-basis: 30px;
	max-width: 30px;
	display: flex;
    align-items: center;
    display: none;
}
.afg-image-separator img {
	max-height: 90px;
	height: 90px;
	margin: 0 10px;
}

/*
* Tagline
*/
.afg-tagline-wrapper {
	display: flex;
	align-items: center;
	padding-left: 15px;
	padding-right: 15px;
	justify-content: flex-end;
}

.afg-tagline {
	color: var(--third-color);
	font-size: 14px;
	line-height: 20px;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 1px;
} 

/**
 * Burger
 */
#afg-burger svg {
	height:40px;
	width:40px;
	cursor: pointer;
}

.afg-search-item svg {
	height :30px;
	width:30px;
	cursor: pointer;
}

#afg-burger {
	height:100px;
	width:100px;
	justify-content: center;
}

#afg-burger svg line {
	stroke: #fff;
}

/**
* Search
*/
.afg-search-item {
	height: 100px;
	justify-content: flex-start;
	position: relative;
}


#main-content .searchform {
    position: relative;
    top: auto;
    left: auto;
    height: auto;
   	opacity: 1;
   	display: block;
}

#main-content .searchform button {
    width: 40px;
}


#main-content .searchform-wrapper {
	align-items: center;
	font-size: 17px;
}

.afg-before-search {
	margin-right:20px;
}

#main-content .searchform.afg-second-color-background {
    background-color: transparent;
}

header .searchform {
	display: flex!important;
	transition: all .3s;
	pointer-events: none;
	position: absolute;
	top:0;
	left:0;
	height: 100%;
	align-items: center;
	opacity: 0;
}

header .searchform.afg-active {
	position: absolute;
	width: 100%;
	opacity: 1;
	pointer-events: all;
}

.searchform .afg-close {
	display: none;
	height: 30px;
	width: 30px;
	background-image: url('../img/close.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    font-size: 0;
    margin-right: 30px;
    cursor: pointer;
}

header .searchform .afg-close {
	display: block;
}

.searchform label {
	display: none;
}

.searchform input, .searchform button {
	background-color: transparent;
	border:unset;
	color:#fff;
  	-webkit-appearance: none;
  	border-radius: 0;
}

input[type="search"] {
  -webkit-appearance: none;
}

header .searchform .input-wrapper {
	width: 100%;
}

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

.searchform button {
    width: 30px;
    height: 30px;
    margin: 0 30px;
    background-image: url('../img/search-yellow.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    font-size: 0;
}

input::placeholder {
	color:#fff;
	opacity: 1;
}

input:-ms-input-placeholder {
	color:#fff;
}

input::-ms-input-placeholder {
	color:#fff;
}

.searchform input {
	border-bottom: 1px solid #fff;
}

/**
* Payment tunnel Header
*/
#tunnel-header {
	z-index:50000;
	position: fixed;
    width: 100%;
    margin: 0;
    border-bottom: 1px solid #797373;
}

#tunnel-header li {
	list-style-type: none;
	margin-bottom: 0!important;
}

#tunnel-header li:before {
	display: none;
}

#tunnel-header .afg-button-4 {
	margin-right: 30px;
}

#afg-tunnel-breadcrumb li:first-of-type {
	margin-left: 50px;
}

#afg-tunnel-breadcrumb .afg-tunnel-separator {
	margin:0 50px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#afg-tunnel-breadcrumb .afg-tunnel-separator svg {
	height: 12px;
	stroke: #000;
    width: 12px;
}

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


/**
* Lang Selector
*/
#lang-selector-wrapper {
	justify-content: flex-end;
}

#lang-selector {
	display: flex;
	color: var(--third-color);
}

#lang-selector > div:first-child {
	margin-right: 15px;
}

#lang-selector-nav-wrapper {
	margin-left:5px!important;
	position: relative;
}

#lang-selector a,
#lang-selector a:hover {
	border-bottom: 1px solid var(--third-color);
	color: var(--third-color);
}

/**
* Logged out User item
*/
.login-item {
	margin: 0 50px;
}

header .login-item a.afg-offers {
	font-size: 18px;
	line-height: 26px;
	font-weight: 700;
	color: var(--main-color)!important;
	letter-spacing: 2px;
}

header .login-item a.lrm-login {
	font-size: 11px;
	line-height: 15px;
	font-weight: 400;
	letter-spacing: 2px;
}

/**
* Logged in User item
*/
#afg-user-item {
	display: flex;
	justify-content: flex-end;
    letter-spacing: .02em;
	height:100px;	
}

.logged-in #afg-user-item {
	justify-content: center;
	border-left: 1px solid #797373;
}

.afg-user-menu-link {
	height: 100px;
	margin: 0 35px;
}

#afg-user-item .lrm-login {
    flex: 1;
    height: 100px;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #797373;
}

#afg-user-item #afg-free-trial {
	height: 100px;
	width:100px;
	background-color: var(--main-color);
	color:var(--second-color);
	justify-content: center;
	align-items: center;
	padding:20px;
	text-align: center;
}

#afg-user-item span:first-child {
	display: inline-block;
	height:16px;
	width:16px;
}

#afg-user-picto {
	height:35px;
	width: 35px;
	border-radius: 100%;
	overflow: hidden;
}

#afg-user-picto img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

/**
* Login Modal
*/
.lrm-user-modal {
	padding: 65px 0;
}

.lrm-user-modal-container {
    max-width: calc(100% - 280px);
    width: calc(100% - 280px);
    height: 500px;
    top: 50%;
    transform: translateY(-50%)!important;
    margin: 0 auto;
    background-color: var(--main-color);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding-top: 160px;
}

.lrm-switcher , .afg-modal-login-addon {
	display: none!important;
}

#modal-addons {
	display: flex;
}

#modal-addons,.lrm-user-modal-container-inner {
	flex-basis: 50%;
	align-items: center;
	justify-content: center;
}

p.lrm-form-bottom-message {
	position: relative;
}

#logo-modal {
	position: absolute;
    top: 0;
    width: 160px;
    height:160px;
    padding:40px 20px;
}

#logo-modal svg {
    fill:#fff;
}

#text-modal {
	text-align: center;
    max-width: 320px;
    margin: 50px auto 0;
    line-height: 47px;
    letter-spacing: .04em;
}


.lrm-user-modal-container-inner {
	padding-right:10%;
}

.lrm-form, .lrm-form .lrm-fieldset-wrap, .lrm-form .fieldset--submit {
	padding:0!important;
}

.lrm-user-modal-container-inner {
	background-color: transparent!important;
}

.lrm-user-modal-container input, .lrm-user-modal-container input:focus {
	border:unset!important;
	background-color: #fff!important;
	color:var(--second-color)!important;
	height:50px!important;
	padding:12px 10px 12px 20px!important;
	font-size: 15px!important;
}

.lrm-user-modal-container input::placeholder {
	color:#797373;
	opacity: 1;
}

.lrm-user-modal-container input:-ms-input-placeholder {
	color:#797373;
}

.lrm-user-modal-container input::-ms-input-placeholder {
	color:#797373;
}

.lrm-form label {
	display: none!important;
}

.lrm-form .hide-password {
	border-left: unset!important;
}

.lrm-close-form {
	top:25px!important;
	right:20px!important;
	height:25px;
	width: 25px;
	background: url('../img/close-blk.svg') no-repeat center center!important;
}

.lrm-font-icomoon .lrm-ficon-eye:before {
    content: "";
    background: url('../img/eye.svg') no-repeat center center!important;
    height: 25px;
    width: 25px;
    display: block;
}

.lrm-font-icomoon .hide-password--on:before {
	background: url('../img/eye-stroke.svg') no-repeat center center!important;
}

p.lrm-form-bottom-message {
    width: 100%;
    left: 0;
    bottom: auto!important;
    font-size: 13px!important;
    padding:0!important;
    text-align: right;
}

p.lrm-form-bottom-message a {
	color:var(--second-color)!important;
	text-decoration: none!important;
}

.lrm-form .fieldset--submit {
    margin-bottom: 0!important;
}

.lrm-form .fieldset--submit button[type="submit"] {
	font-size:15px!important;
}

.lrm-form-message {
	padding:0;
	font-size: 15px;
	border-left: unset;
}

#modal-addons-2 {
	margin-top: 30px;
	width: 100%;
	flex-basis: 100%;
	text-align: center;
	padding: 25px 0;
	position: relative!important;
}

#modal-addons-2 .afg-button-2 {
	max-width: 220px;
	margin:12px auto 0;
	display: block;
}
/**
* END Login Modal
*/

/**
* User Menu
*/
#modal-user-menu {
    position: absolute;
    right: 0;
    top: -300px;
    width: 300px;
    z-index:-1;
    background-color:var(--second-color);
    border-top: 1px solid #797373;
    transition: all .3s;
}

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

#modal-user-menu a {
	display: block;
	color:#fff;
	padding:6px 20px;
	letter-spacing: .02em;
}

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

#modal-user-menu a:last-child {
    padding-bottom: 18px;
    padding-left: 44px;
    position: relative;
}

#modal-user-menu a:last-child:before {
	content: '';
	display: block;
	position: absolute;
	left: 20px;
	top: 8px;
    height: 15px;
    width: 15px;
    background-image: url('../img/bookmark-wht.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}


#modal-user-menu #afg-logout-link {
	padding:18px 20px;
	border-bottom: 1px solid #797373;
	letter-spacing: .02em;
	position: relative;
	align-items: center;
    display: flex;
}

.arrow-link {
	display: inline-block;
    height: 16px;
    width: 20px;
    margin-left: 20px;
}

/**
* Menu
*/
#afg-navigation {
	background-color: rgba(0,0,0,.93);
	justify-content: center;
	align-items: center;
	flex-wrap:wrap;
	padding:40px 100px 50px;
	position: absolute;
    width: 100%;
    top: -100vh;
    z-index: -1;
    transition: all .3s;
}

#afg-navigation.afg-active {
	top: 100px;
}

#afg-navigation > div {
	flex:0 0 100%;
}

#afg-navigation > div li {
	letter-spacing: .04em;
	padding-left: 0;
	margin-bottom: 0;
}

#afg-navigation > div li:before {
	display: none;
}

.cta-menu-wrapper {
	justify-content: center;
	align-items: center;
	margin:0 auto 35px;
}

.cta-menu-wrapper ul {
	display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.cta-menu-wrapper ul li {
	flex:0 0 160px;
	height:40px;
	line-height: 40px;
	font-weight:900;
	font-size: 13px;
	text-transform: uppercase;
	margin:20px;
	border:1px solid #fff;
	letter-spacing: 1px;
	display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 0!important;
}

.cta-menu-wrapper ul li:first-child {
	background-color: var(--main-color);
	border:1px solid var(--main-color);
}

.cta-menu-wrapper ul li:first-child a {
	color:#000;
}

.afg-social-bar-wrapper {
	justify-content: space-between;
}

.afg-social-bar {
	height:20px;
	width:150px;
	display: block;
	justify-content: space-around;
	justify-content: space-between;
}

.afg-social-bar a {
	height:20px;
	width:20px;
	display: inline-block;
	margin-right:20px;
}

.afg-social-bar a:last-of-type {
	margin-right:0;
}

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

.navbar-nav li a {
	color:#fff;
}

#main-menu {
	margin:0 auto 40px;
}

#main-menu .hide-on-header {
	display: none;
}

#main-menu .navbar-nav li {
	padding:12px 0;
}

#main-menu .navbar-nav li:first-child {
	padding-top: 0;
}

.afg-close-menu {
	position: absolute;
	bottom:40px;
	height: 40px;
	width: 40px;
	left:calc(50% - 20px);
	cursor: pointer;
}
