/*
Theme Name: Cassel France
Description: Theme conçu pour CASSEL FRANCE
Author: Paul Lefizelier
Author URI: https://paul-lefizelier.fr
Template: Divi
Version: 1.1
*/



/*
** CENTRER DU CONTENU VERTICALEMENT
** Voir tuto : https://www.divi-community.fr/snippets-divi/centrer-du-contenu-verticalement
*/

.dc-centrer-verticalement {
	display: flex;
	flex-direction: column;
	justify-content: center;
  	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	 -moz-box-orient: vertical;
	 -moz-box-direction: normal;
	  -ms-flex-direction: column;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-moz-box-pack: center;
	-ms-flex-pack: center;
}


/*
** INVERSER LE SENS DES COLONNES SUR MOBILE
** Voir tuto : https://www.divi-community.fr/snippets-divi/inverser-ordre-des-colonnes-sur-mobile
*/

@media only screen and (max-width : 980px) {
	.dc-inverser-colonnes--section .dc-inverser-colonnes--ligne {
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		-webkit-flex-direction: column-reverse;
		-ms-flex-direction: column-reverse;
		flex-direction: column-reverse;
	}
}


/*
** MENU MOBILE : en pleine largeur et le hamburger devient une croix pour fermer
*/

.et_mobile_menu {
	margin-left: -30px;
	padding: 5%;
	width: calc( 100% + 60px);
}

.mobile_nav.opened .mobile_menu_bar:before {
	content: "\4d";
}


/*
** AUGMENTER LA LARGEUR CHAMP RÉSULTAT CAPTCHA
** Parfois, suivant la taille du texte, certains chiffres du résultat sont masqués
*/
.et_pb_contact_right p input {
	max-width: 50px;
}


/*
** METTRE EXPOSANTS ET INDICES À LA BONNE TAILLE
** Généralement, ils sont bien trop gros…
*/
sup, sub {
    font-size: 70%;
}


/**** Nesting Menu ****/

/* when mobile menu is open, change hamburger icon to x icon */

#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
		content: '\4d';
}
/* makes sub sub menu icon be right arrow instead of down arrow */

#top-menu .menu-item-has-children .menu-item-has-children > a:first-child::after,
#et-secondary-nav .menu-item-has-children .menu-item-has-children > a:first-child::after {
		content: '5';
}
/* - mobile menu toggling elements, injected via jQuery - */
/* make menu list item be relative, to be able to position toggle within this item */

#main-header #mobile_menu.et_mobile_menu .menu-item-has-children {
		position: relative;
}
/* the new toggle element, which is added via jQuery */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle {
		position: absolute;
		z-index: 1;
		width: 36px;
		height: 36px;
		line-height: 36px;
		border-radius: 50%;
		top: 5px;
		right: 30px;
		cursor: pointer;
		text-align: center;
}
/* the new toggle element when popped */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped {
		background-color: rgba(255,255,255, 0.2);
}
/* toggle icon */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle::before {
		font-family: "ETmodules" !important;
		font-weight: normal;
		font-style: normal;
		font-variant: normal;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		line-height: 36px;
		font-size: 24px;
		text-transform: none;
		speak: none;
		content: '\33';
		color: #da1755;
}
/* toggle icon when triggered */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped::before {
		content: '\32';
}
/* hide sub menus by default */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle ~ ul.sub-menu {
		display: none !important;
		padding-left: 0;
}
/* show sub menu when triggered via jQuery toggle, and add slight bg color */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped ~ ul.sub-menu {
		display: block !important;
}
/* remove sub menu list item left padding, since padding will be on anchors */

#main-header #mobile_menu.et_mobile_menu li li {
		padding-left: 0;
}
/* adjust mobile menu anchors side paddings */

#main-header #mobile_menu.et_mobile_menu li a {
		padding-left: 20px;
		padding-right: 20px;
}
/* indent sub sub menus further */

#main-header #mobile_menu.et_mobile_menu li li li a {
		padding-left: 60px;
		padding-right: 20px;
}

#main-header #mobile_menu.et_mobile_menu .menu-item-has-children > a {
		background-color: transparent;
		font-weight: inherit;
}
/* make the current page's mobile menu link be different */

#main-header #mobile_menu.et_mobile_menu li.current-menu-item > a {
		font-weight: bolder;
}

/****** Code Style: Menu Slide-In ******/

/* Font Awesome */
.fa {
		margin-right: 15px ;
	}

@media only screen and (max-width: 980px){
#mobile_menu {
		display: block !important;
		min-height: 100vh;
		height: 100%;
		top: 0;
		right: 0;
		position: fixed;
		z-index: 9998;
		overflow: scroll;
		border-top: none;
		padding-top: 60px !important;
}

.et_mobile_menu li a {
		color: #fff !important;
		width: 100%;
		float: left;
		text-align: left;
		border-bottom: 1px solid #ddd;
		margin: 5px;
		transition: .2s;
		text-transform: uppercase;
}
.mobile_nav ul#mobile_menu .current_page_item > a {
		color: #fff !important;
		background-color: rgba(255, 255, 255, 0.1);
}

.mobile_nav.closed #mobile_menu {
		background: rgba(51,51,51,0.9) !important;
		-webkit-transform: translateX(100%);
		-moz-transform: translateX(100%);
		-ms-transform: translateX(100%);
		-o-transform: translateX(100%);
		transform: translateX(100%);
		-webkit-backface-visibility: hidden;
		backface-visibility: hidden;
		-webkit-transition: -webkit-transform 0.4s 0s;
		-moz-transition: -moz-transform 0.4s 0s;
		transition: transform 0.4s 0s;
		background: rgba(51,51,51,0.9) !important;
}

.mobile_nav.opened #mobile_menu {
		background: rgba(0,86,151,0.98) !important;
		-webkit-transform: translateX(0);
		-moz-transform: translateX(0);
		-ms-transform: translateX(0);
		-o-transform: translateX(0);
		transform: translateX(0);
		-webkit-overflow-scrolling: touch;
		-webkit-transition: -webkit-transform 0.4s 0s;
		-moz-transition: -moz-transform 0.4s 0s;
		transition: transform 0.4s 0s;
}

#main-header .container.clearfix.et_menu_container {
		width: 100%;
}

.mobile_menu_bar:before {
		color: #1b1d1e !important;
}
.mobile_nav.opened .mobile_menu_bar:before {
		content: '\4d';
		color: #fff !important;
		z-index: 9999;
}
}

@media only screen and  (max-width: 980px) {
	.et_header_style_split .mobile_menu_bar, .et_header_style_left .mobile_menu_bar {
		z-index: 9999;
	}
	#et-top-navigation {
		padding-right: 5px;
	}
}

@media only screen and (min-width: 481px)  {
	#mobile_menu {
		width: 340px;
		margin-left: calc(100% - 340px);
	}
}
@media only screen and (max-width: 480px)  {
	#mobile_menu {
		width: 290px;
		margin-left: calc(100% - 290px);
	}
}

#mobile_menu .menu-item-5123 {
	margin-top: 30px;
}


#mobile_menu .menu-item-5123, #mobile_menu .menu-item-5124, #mobile_menu .menu-item-5125, #mobile_menu .menu-item-5126 {
	float: left;
}

#mobile_menu .menu-item-5123 a, #mobile_menu .menu-item-5124 a, #mobile_menu .menu-item-5125 a, #mobile_menu .menu-item-5126 a {
	 border-bottom: 0 !important;
 }


.blue_text {
	color: #005697;
}

.orange_text {
	color: #FF6600;
}

.et_pb_more_button:hover {
	background: #fff;
	color: #FF6600;
	border: 2px solid #FF6600 !important;
	transition: 0.8s all;
	-webkit-transition: 0.8s all;
	-moz-transition: 0.8s all;
	-o-transition: 0.8s all;
}

.subtitle {
	font-size:25px;
}

.fa {
    line-height: inherit !important;
}
.fa-ul {
    list-style-type: none !important;
}
.fa-li {
    top: 0px !important;
}

.table_machine tr:nth-child(even){
	background-color: #F7F7F7
}

.table_machine td, .table_machine tr {
	width:unset !important; 
	height: unset !important;
	
}

.table_machine {
	width:100% !important;
	max-width:100%;
}


