/*
Theme Name: Twenty Twenty-Five child
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: Florence Clavier
Author URI: https://laj.video91.fr
Description: Twenty Twenty-Five child
Template: twentytwentyfive
Version: 1.0.0

*/


/* @import "./custom.css"; */

footer.wp-block-template-part {
    margin-block-start: 0 !important;
}


/* Champ de formulaire type Bootstrap, adapté à Twenty Twenty-Five */

.form-control {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--wp--preset--color--foreground, #212529);
    background-color: var(--wp--preset--color--background, #fff);
    background-clip: padding-box;
    border: 1px solid var(--wp--preset--color--contrast-3, #ced4da);
    border-radius: 0.375rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    box-sizing: border-box;
}


/* Au focus */

.form-control:focus {
    color: var(--wp--preset--color--foreground, #212529);
    background-color: var(--wp--preset--color--background, #fff);
    border-color: var(--wp--preset--color--primary, #007251);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 114, 81, 0.25);
}


/* Placeholder */

.form-control::placeholder {
    color: #6c757d;
    opacity: 1;
}


/* Désactivé ou readonly */

.form-control:disabled,
.form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}


/* Select */

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2rem;
}


/* Textarea */

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}


/* Bouton principal façon Bootstrap */

.btn,
button[type="submit"],
input[type="submit"] {
    display: inline-block;
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
    background-color: var(--wp--preset--color--primary, #007251);
    border: 1px solid var(--wp--preset--color--primary, #007251);
    padding: 0.5rem 1rem;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}


/* Effet au survol */

.btn:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background-color: #006147;
    border-color: #006147;
}


/* Effet au focus */

.btn:focus,
button[type="submit"]:focus,
input[type="submit"]:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(0, 114, 81, 0.3);
}


/* Désactivé */

.btn:disabled,
button[type="submit"]:disabled,
input[type="submit"]:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}
