/*
Theme Name: Guitar Techshop
Author: CWillai
Author URI: https://www.divi-community.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";
}
/*
** METTRE EXPOSANTS ET INDICES À LA BONNE TAILLE
** Généralement, ils sont bien trop gros…
*/
sup, sub {
    font-size: 70%;
}
/*
** CWILLAI
*/
#top-menu .rdv-menu > a{
    color:#bd0926;
    font-weight:bold;
}

.et-pb-controllers {
    bottom: 0px;
}

#footer-bottom {
    background-color: #222222;
}
/* Footer principal */
#main-footer {
    position: relative; /* nécessaire pour position absolute desktop */
    padding: 10px 20px;
    width: 100%;
    box-sizing: border-box;
}
/* Conteneur du footer */
#footer-info {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* texte à gauche */
    width: 100%;
}
/* Texte à gauche */
.footer-left {
    font-size: 14px;
}
/* Liens à droite */
.footer-right {
    display: flex;
}
/* Espacement entre liens via margin */
.footer-right a {
    text-decoration: none;
    font-size: 14px;
    margin-left: 15px;
}
.footer-right a:first-child {
    margin-left: 0;
}

/* Desktop : liens collés au bord droit */
@media (min-width: 601px) {
    .footer-right {
        position: absolute;
        right: 20px; /* distance par rapport au bord de la page */
        top: 50%;
        transform: translateY(-50%);
    }
}

/* Mobile (<600px) : texte centré, liens empilés verticalement */
@media (max-width: 600px) {
    #footer-info {
        flex-direction: column; /* texte et liens empilés */
        align-items: center;    /* centré horizontalement */
        gap: 10px;              /* espace entre texte et liens */
    }
    .footer-left {
        text-align: center;
        font-size: 12px;
    }
    .footer-right {
        position: static;       /* abandonne absolute */
        flex-direction: column; /* liens empilés verticalement */
        align-items: center;
    }
    .footer-right a {
        font-size: 12px;
        margin-left: 0;
        margin-bottom: 6px;
        padding: 4px 0; /* zone cliquable confortable */
    }
    .footer-right a:last-child {
        margin-bottom: 0;
    }
}

