/* 
Theme Name: Ackerman
Theme URI: https://www.ackerman.fr
Description: Thème WordPress du site Ackerman
Author: Ackerman
Author URI: https://www.ackerman.fr
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

html {
	font-size: 10px;
}

body {
	font-size: 14px;
	line-height: 1.42857143;
	overflow-x: hidden;
}

/* Global */

a {
	text-decoration: none !important;
}

ul {
	padding-left: 0;
}

li {
	list-style: none;
}

* {
	box-sizing: border-box;
}

::selection {
	background-color: #EBEBF2;
	color: #83828D;
}


/* Header */

.ackerman-wrapper {
	overflow-x: hidden;
	overflow-y: scroll;
}

.header-wrap {
	background-color: #2b2e38;
	position: fixed;
	top: 0;
	left: 0;
	height: 0;
	width: 100%;
	margin-left: 100vw;
	font-size: 1em;
	/* font-weight: 700; */
	/*overflow: auto;*/
	transition: .25s;
	z-index: 10;
	/*    overflow-x: hidden; */
	/*    overflow-y: scroll;*/
	-webkit-overflow-scrolling: touch;
	/*    max-height: 665px;*/
}

.menu-show {
	margin-left: 0;
	box-shadow: 4px 2px 15px 1px #B9ADAD;
	height: auto;
}

.menu-sidebar {
	margin: 75px 0 80px 10px;
	position: relative;
	top: 70px;
}

.menu-sidebar li {
	padding: 18px 22px 0;
}

.menu-sidebar li>a {
	color: #f3f3f3;
	font-size: 1.18em;
	position: relative;
}

.menu-sidebar li>a::after {
	content: "";
	display: block;
	height: 0.15em;
	position: absolute;
	top: 100%;
	width: 100%;
	left: 50%;
	transform: translate(-50%);
	background-image: linear-gradient(to right, transparent 50.3%, #FFFA3B 50.3%);
	transition: background-position .2s .1s ease-out;
	background-size: 200% auto;
}

.menu-sidebar li>a:hover::after {
	background-position: -100% 0;
}

.menu-sidebar .menu-item-has-children {
	position: relative;
}

.menu-sidebar .menu-item-has-children .sub-menu {
	display: none;
}

.sidebar-menu-arrow::after {
	content: "\f107";
	font-family: 'FontAwesome';
	padding: 10px;
	color: #FFFA3B;
	position: relative;
}

.sidebar-menu-arrow:hover::after {
	cursor: pointer;
	color: #fff;
}

.sidebar-menu-arrow:active::after {
	top: 2px;
}

section#menu-ackerman {
	width: 100% !important;
	position: absolute !important;
	top: 0;
	left: 0;
	inset-inline-start: 0 !important;
	z-index: 1000;
}

/*Hamburger Button*/

.toggle-button {
	position: fixed;
	width: 64px;
	height: 64px;
	top: 30px;
	padding: 4px;
	transition: .25s;
	z-index: 15;
	-webkit-border-radius: 10px;
	-moz-border-radius: 100px;
	-ms-border-radius: 100px;
	-o-border-radius: 100px;
	border-radius: 100px;
	background-color: #36332E;
}

.toggle-button:hover {
	cursor: pointer;
}

.toggle-button .menu-bar {
	position: absolute;
	border-radius: 2px;
	width: 70%;
	left: 10px;
	transition: .5s;
}

.toggle-button .menu-bar-top {
	border: 4px solid white;
	border-bottom: none;
	top: 20px;
}

.toggle-button .menu-bar-middle {
	height: 4px;
	background-color: white;
	/* margin-top: 7px; */
	/* margin-bottom: 7px; */
	top: 31px;
}

.toggle-button .menu-bar-bottom {
	border: 4px solid white;
	border-top: none;
	top: 42px;
}

.button-open .menu-bar-top {
	border-color: #fff;
	transform: rotate(45deg) translate(8px, 8px);
	transition: .5s;
}

.button-open .menu-bar-middle {
	background-color: #fff;
	transform: translate(230px);
	transition: .1s ease-in;
	opacity: 0;
}

.button-open .menu-bar-bottom {
	border-color: #fff;
	transform: rotate(-45deg) translate(7px, -7px);
	transition: .5s;
}



/* Text Block */
.wrapper {
	width: 40%;
	margin: 100px auto 0;
	color: #83828D;
}

.wrapper .text {
	padding: 30px;
}

.wrapper .text .heading {
	margin-bottom: 40px;
	font-size: 2em;
}

.wrapper .text p {
	line-height: 1.6em;
}

.wrapper .text .buttons {
	margin-top: 40px;
}

/* Buttons Ackerman */
.wrapper .buttons .button {
	display: inline-block;
	margin-right: 20px;
	padding: 20px 25px;
	border-radius: 2em;
	background-color: #70CE64;
	color: #fff;
	font-size: .9em;
	font-weight: 700;
	transition: background-color .3s;
}

.wrapper .buttons .button-secondary {
	background-color: #FF6746;
}

.wrapper .buttons .button-primary:hover {
	background-color: #84D07A;
}

.wrapper .buttons .button-secondary:hover {
	background-color: #FF7D60;
}

/*Active state for the buttons*/
.wrapper .buttons .button-primary:active {
	background-color: #70CE64;
}

.wrapper .buttons .button-secondary:active {
	background-color: #FF6746;
}

/*Icons*/
.wrapper .buttons .button span {
	position: relative;
	display: inline-block;
	padding-right: 20px;
}

.wrapper .buttons .button span::after {
	position: absolute;
	font-family: "FontAwesome";
	right: -3px;
	font-size: 14px;
	top: 0;
	transition: top .3s, right .3s;
}

.wrapper .buttons .button-primary span::after {
	content: "\f019";
}

.wrapper .buttons .button-secondary span::after {
	content: "\f178";
}

/*Slight icons animation*/
.wrapper .buttons .button-primary:hover span::after {
	top: 4px;
}

.wrapper .buttons .button-secondary:hover span::after {
	right: -6px;
}

/* ackerman button logo */
.homepage-button {
	position: fixed;
	display: block;
	width: 64px;
	height: 64px;
	top: 110px;
	right: 40px;
	padding: 4px;
	transition: .25s;
	z-index: 15;
	-webkit-border-radius: 10px;
	-moz-border-radius: 100px;
	-ms-border-radius: 100px;
	-o-border-radius: 100px;
	border-radius: 100px;
	background-color: #36332E;
}

.ackerman-button {
	width: 100%;
	height: 100%;
	-webkit-border-radius: 10px;
	-moz-border-radius: 100px;
	-ms-border-radius: 100px;
	-o-border-radius: 100px;
	border-radius: 100px;
	background: url(/wp-content/themes/ackerman/asset/img/courone-white.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100% auto;
}



@media only screen and (max-width: 1250px) {
	.toggle-button {
		right: 8px !important;
		top: 10px;
	}

	.homepage-button,
	.fa-search {
		visibility: hidden;
	}

	.button-open {
		right: 39px;
	}
}

@media only screen and (min-width: 1250px) {
	.toggle-button {
		right: 40px;
	}
}

/* Header */

li.bold-title a {
	color: white !important;
	font-weight: 500 !important;
	font-size: 1.8rem !important;
}

.btn-menu a {
	color: black;
}

.btn-menu a:hover {
	text-decoration: none;
}

.header-flag .wpml-ls-flag {
	display: none !important;
}

.home .wpml-ls-flag {
	display: inline !important;
}
