/*
 Theme Name:     MARSURADECO
 Description:    Made by Elipte with <3
 Author:         Elipte Sarl
 Author URI:     https://elipte.com/
 Template:       Divi
 Version:        1.0.0
*/

/* -------------------------------------------------------------------------------------------------------- */
/* @GLOBAL                                                                                                  */
/* -------------------------------------------------------------------------------------------------------- */
html, body {
	overflow-x: hidden;
}

img {
	-webkit-user-drag: none; /* Chrome, Safari */
	-khtml-user-drag: none;  /* Konqueror */
	-moz-user-drag: none;    /* Firefox (ancien) */
	-o-user-drag: none;      /* Opera (ancien) */
	user-drag: none;         /* standard (pas encore largement supporté) */
}

/* Conteneur flex avec retour à la ligne si nécessaire */
.pa-inline-contact-form .et_pb_contact_form {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between; /* Répartit l'espace sans débordement */
}

/* Tous les champs sur une ligne avec 24% pour 4 champs = 96%, le 4% restant pour les petits écarts */
.pa-inline-contact-form p.et_pb_contact_field {
	width: 24%;
	padding: 0;
	box-sizing: border-box;
	margin: 0 0 0 0; /* Supprime les marges inutiles */
}

/* Supprime toute marge sur le dernier champ */
.pa-inline-contact-form p.et_pb_contact_field:last-of-type {
	margin-right: 0;
}

/* Conteneur du bouton sur une nouvelle ligne */
.pa-inline-contact-form .et_contact_bottom_container {
	width: 100%;
	margin-top: 20px;
}

/* Bouton pleine largeur */
.pa-inline-contact-form .et_pb_contact_submit {
	width: 100%;
	margin: 0 !important;
}

/* Supprimer marges globales sur le formulaire et les champs */
.et_pb_contact_form {
	margin-left: 0;
}

p.et_pb_contact_field {
	margin-bottom: 0;
}

@media (max-width: 768px) {
	.pa-inline-contact-form p.et_pb_contact_field {
		width: 48%;
		margin-bottom: 20px;
	}
}
@media (max-width: 480px) {
	.pa-inline-contact-form p.et_pb_contact_field {
		width: 100%;
	}
}



/*** Change Mobile Columns ***/

/* 2 Columns Mobile */
@media all and (max-width: 767px) {
    html .et-db .two-col-mob .et_pb_column {
        width:47.25% !important;
    }
    
html .et-db .two-col-mob .et_pb_column:nth-last-child(-n+2) {
        margin-bottom:0;
    }

    html .et-db .two-col-mob .et_pb_column:not(:nth-child(2n)) {
            margin-right:5.5% !important;
    }
}

/* 3 Columns Mobile */
@media all and (max-width: 767px) {
    html .et-db .three-col-mob .et_pb_column {
        width:29.6667% !important;
    }

    html .et-db .three-col-mob .et_pb_column:nth-last-child(-n+3) {
        margin-bottom:0;
    }

    html .et-db .three-col-mob .et_pb_column:not(:nth-child(3n)) {
        margin-right:5.5% !important;
    }
}

/* 4 Columns Mobile */
@media all and (max-width: 767px) {
    html .et-db .four-col-mob .et_pb_column {
        width:20.875% !important;
    }

html .et-db .four-col-mob .et_pb_column:nth-last-child(-n+4) {
        margin-bottom:0;
    }

    html .et-db .four-col-mob .et_pb_column:not(:nth-child(4n)) {
        margin-right:5.5% !important;
    }
}

/* 5 Columns Mobile */
@media all and (max-width: 767px) {
    html .et-db .five-col-mob .et_pb_column {
        width:15.6% !important;
    }

    html .et-db .five-col-mob .et_pb_column:nth-last-child(-n+5) {
        margin-bottom:0;
    }

    html .et-db .five-col-mob .et_pb_column:not(:nth-child(5n)) {
        margin-right:5.5% !important;
    }
}

/* 6 Columns Mobile */
@media all and (max-width: 767px) {
    html .et-db .six-col-mob .et_pb_column {
        width:12.083% !important;
    }

    html .et-db .six-col-mob .et_pb_column:nth-last-child(-n+6) {
        margin-bottom:0;
    }

    html .et-db .six-col-mob .et_pb_column:not(:nth-child(6n)) {
        margin-right:5.5% !important;
    }
}

/*** Change Tablet Columns By VictorDuse.com.com ***/

/* 1 Column Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
    html .et-db .one-col-tab .et_pb_column {
        margin-right:0 !important;
        width:100% !important;
    }
    
        html .et-db .one-col-tab .et_pb_column:not(:last-child) {
        margin-bottom:30px !important;
    }
}

/* 2 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
    html .et-db .two-col-tab .et_pb_column {
        width:47.25% !important;
    }

.two-col-tab .et_pb_column:nth-last-child(-n+2) {
        margin-bottom:0;
    }

    html .et-db .two-col-tab .et_pb_column:not(:nth-child(2n)) {
        margin-right:5.5% !important;
    }
}

/* 3 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
    html .et-db .three-col-tab .et_pb_column {
        width:29.6667% !important;
    }

html .et-db .three-col-tab .et_pb_column:nth-last-child(-n+3) {
        margin-bottom:0;
    }

    html .et-db .three-col-tab .et_pb_column:not(:nth-child(3n)) {
        margin-right:5.5% !important;
    }
}

/* 4 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
    html .et-db .four-col-tab .et_pb_column {
        width:20.875% !important;
    }

html .et-db .four-col-tab .et_pb_column:nth-last-child(-n+4) {
        margin-bottom:0;
    }

    html .et-db .four-col-tab .et_pb_column:not(:nth-child(4n)) {
        margin-right:5.5% !important;
    }
}

/* 5 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
    html .et-db .five-col-tab .et_pb_column {
        width:15.6% !important;
    }

.five-col-tab .et_pb_column:nth-last-child(-n+5) {
        margin-bottom:0;
    }
    
    html .et-db .five-col-tab .et_pb_column:not(:nth-child(5n)) {
        margin-right:5.5% !important;
    }
}

/* 6 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
    html .et-db .six-col-tab .et_pb_column {
        width:12.083% !important;
    }

    html .et-db .six-col-tab .et_pb_column:nth-last-child(-n+6) {
        margin-bottom:0;
    }

    html .et-db .six-col-tab .et_pb_column:not(:nth-child(6n)) {
        margin-right:5.5% !important;
    }
}