/*
Theme Name: OnePress Child
Description: Theme enfant de OnePress. Vous pouvez maintenant effectuer vos modifications en toute sécurité.
Author: Atelier dépan'info - Bernard de Ferrière
Author URI: https://atelier-depan-info.fr
Template: onepress
Version: 1.0
Text Domain: onepress-child
*/

/*@import url("../openpress/style.css");*/


/* Ajout des polices personnalisées */
/*
@font-face {
    font-family: 'Adobe Garamond Italic';
    src: url("https://stluc.atelier-depan-info.fr/wp-content/themes/onepress-child/fonts/AGaramondPro-Italic.woff2");
    font-style: italic;
    font-weight: 400;
    font-display: swap;
}

* {
    font-family: 'Adobe Garamond Italic';
}
*/

/*
 * Variables CSS
 */
:root {
    --color-noir: black;
    --color-blanc: white;
    --color-marron: #321F13;
    --color-taupe: #B7A194;
    --color-orange: #F99F1C;
    --color-beige: #E5DED9;
    --color-rouge: #A74E60;
    --color-bleu: #56C6D0;
    --font-ubuntu: "ubuntu";
    --font-eb-garamond: "EB Garamond";
    --font-rouge-script: "Rouge script";
}


a:focus {
    color: var(--color-taupe); /*Taupe*/
    text-decoration: none;
}


/*************
 * Ninja forms
 *************
 */

/* Champ titres, type radio checked */
.nf-field-element input[type="radio"]:checked {
    /*accent-color: var(--color-orange);*/
    /*background-color: var(--color-orange);*/
    outline-color: var(--color-orange);
}
.nf-field-element ul li {
    padding-left: 50px; /* Ne fonctionne pas */
}
/* Champ titre inline */
.nf-field-element li {
    display: inline-block;
}


.nf-field-element input[type="radio"] {
}

/* Champs text, email, textarea */
.nf-field-element input[type="text"], .nf-field-element input[type="email"], .nf-field-element textarea {
    border-color: white;
    border-bottom-color: var(--color-taupe);
    background-color: white!important;
}


.nf-before-form-content {
    font-size: smaller;
    font-style: italic;
    margin-bottom: 30px;
    /*visibility:hidden;*/
}

/* Label des champs */
.nf-field-label label {
    font-size: smaller;
    color: var(--color-marron);
    /*visibility: hidden;*/
}


/* RGPD */
.adiw-nj-rgpd {
    font-size: smaller;
}

/* Champs obligatoires */
.nf-form-fields-required {
    color: var(--color-taupe);
}

/* '*' Champs requis */
.nf-form-fields-required .ninja-forms-req-symbol {
    color: var(--color-rouge);
}

/* Message d'erreur pour champ requis */
.nf-error-msg.nf-error-required-error, .nf-error-msg .nf-error-field-errors, .nf-field-label .ninja-forms-req-symbol, .nf-error-msg, .ninja-forms-req-symbol {
    font-size: smaller;
    font-style: italic;
    color: var(--color-rouge)!important;
}

.nf-error .ninja-forms-field, .nf-error.listimage-wrap .nf-field-element ul {
    border: 1px dotted var(--color-rouge);
}


/*--------------------*/

/* Page Contact, titre h2 */
.contact-h2 {
    font-variant: small-caps;
}
