/*
Theme Name: Prestaccueil
Author: Maxime Beyria
Description: Thème pour le site Prest'accueil
Requires at least: 6.6
Tested up to: 6.6
Requires PHP: 7.0
Version: 1.0
Text Domain: prestacceuil
*/


/* ----------------------------------------------------------
    DÉBUT DU FORMULAIRE
---------------------------------------------------------- */
.wpcf7-form label, 
.wpcf7-form input, 
.wpcf7-form textarea {
    box-sizing: border-box;
    display: block;
    font-family: "Roboto";
    width: 100%;
    font-size: 1rem;
}
.wpcf7-form input {
    padding: .5rem;
    border-radius: .25rem;
}
.wpcf7-form input[type="submit"] {
    padding: 1rem;
    font-weight : bold;
    background-color: #ff8500;
    cursor: pointer;
    border: none;
    border-radius: 30px;
    padding: 1rem .5px;
    width: 50%;
    margin: 1.5rem auto;
}
.wpcf7-form input[type="submit"]:hover {
    background-color: #ffb25f;
}
.wpcf7-form input[type="submit"]:active {
    background-color: #ffd9b1;
}

@media screen and (min-width: 800px) {
    .wpcf7-form > div {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .wpcf7-form input[type="submit"] {
        width: 25%;
    }
}


/*  acceptance-cgu */
.wpcf7-form .wpcf7-acceptance > span {
    margin-left: 0;
}
.wpcf7-form .wpcf7-acceptance > span > label{
    margin-left: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.wpcf7-form .wpcf7-acceptance > span > label > input[type="checkbox"] {
    width: unset;
    margin-right: 1rem;
}

/* ----------------------------------------------------------
    FIN DU FORMULAIRE
---------------------------------------------------------- */

/* ----------------------------------------------------------
    DÉBUT DES BOUTONS
---------------------------------------------------------- */
:root :where(.wp-block-button__link:hover) {
    background-color: #ffb25f;
    border: none;
}

:root :where(.wp-block-button__link:active) {
    background-color: #ffd9b1;
    border: none;
}

/* ----------------------------------------------------------
    FIN DES BOUTON
---------------------------------------------------------- */

/* ----------------------------------------------------------
    DÉBUT DES LIENS DE LA NAV
---------------------------------------------------------- */

:root :where(.wp-block-navigation a:where(:not(.wp-element-button))) {
    box-sizing: border-box;
    display: inline-block;
    text-decoration: none;
    padding-bottom: .375rem;
    background-repeat: no-repeat;
    background-position: bottom left;
    background-image: linear-gradient(to right, #ffb25f, #ffb25f);
    background-size: 0% 0.25rem;
    transition: background-size .3s ease-out;
}
:root :where(.wp-block-navigation a:where(:not(.wp-element-button)):hover) {
    background-size: 100% 0.25rem;
}
/* ----------------------------------------------------------
    FIN DES LIENS DE PAGE DE LA NAV
---------------------------------------------------------- */