/* ************************************************************ */
/*     Styles de base                                           */
/* ************************************************************ */

#troc-form-contact {
    position: relative;
    padding: 10px;
    font-size: 14px;
    color: #333;
}

#troc-form-contact.form-sending:after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(50, 50, 50, 0.2);
}

#troc-form-contact .form-titre {
    margin: -10px -10px 10px -10px;
    padding: 20px 0px 20px 0px;
    color: #FFDE00;
    font-size: 1.8em;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    background: url('/images/contact/bg-title.gif') bottom center;
}

#troc-form-contact .etape {
    padding: 10px;
}

#troc-form-contact .hidden {
    display: none;
}

#troc-form-contact .etape .contenu {
    padding: 10px;
}

#troc-form-contact .etape.minimisee .contenu {
    padding: 0px;
}

#troc-form-contact .etape .titre-wrapper {
    margin: 20px -10px 20px -10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #DEDEDE;
}

#troc-form-contact .etape .titre {
    font-size: 1.3em;
    text-align: center;
}

#troc-form-contact .etape .reponse {
    display: none;
}

/* ************************************************************ */
/*   Styles associées au champs du formulaire                   */
/* ************************************************************ */

#troc-form-contact .input-radio {
    position: absolute;
    width: 30px;
    height: 30px;
    opacity: 0;

    /* Reset de tout ce qui peut modifier les dimensions */
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
}

#troc-form-contact .input-radio + label {
    position: relative;
    font-weight: normal;
    padding-right: 10px;
}

#troc-form-contact .input-radio + label:before {
    content: " ";
    display: inline-block;
    position: relative;
    top: 10px;
    width: 30px;
    height: 30px;
    margin-right: 10px;
    border: 2px solid #AAA;
    border-radius: 50%;
    background: #FFF;
}

#troc-form-contact .input-radio:focus + label:before,
#troc-form-contact .input-radio:checked:focus + label:before {
    border-color: #666;
}

#troc-form-contact .input-radio:checked + label:after {
    content: "";
    position: absolute;
    top: 13px;
    left: 3px;
    display: inline-block;
    width: 24px;
    height: 24px;
    vertical-align: top;
    margin-right: 10px;
    border-radius: 50%;
    background: #959595;
}

#troc-form-contact .input-radio:hover,
#troc-form-contact .input-radio + label:hover {
    cursor: pointer;
}

#troc-form-contact .groupe-champs {
    position: relative;
    margin-top: 30px;
}

#troc-form-contact .groupe-champs:first-child {
    margin-top: 20px;
}

#troc-form-contact .groupe-champs-titre {
    display: none;
}

#troc-form-contact .champ-label {
}

#troc-form-contact .champ-aide {
    float: right;
    font-size: 0.9em;
    color: #666666;
}

#troc-form-contact .champ-input {
    position: relative;
    margin-top: 10px;
}

#troc-form-contact .champ-input input,
#troc-form-contact .champ-input select,
#troc-form-contact .champ-input textarea {
    width: 100%;
    height: inherit;
    padding: 6px 10px;
    font-size: 1em;
    color: #555;
    border: 2px solid #e9ebef;
    border-radius: 2px;
}

#troc-form-contact .champ-input select {
    padding: 5px 10px;
}


#troc-form-contact .champ-input.required:before {
    content: "*";
    position: absolute;
    top: 2px;
    left: 0px;
    font-size: 1.3em;
    color: #D84141;
}

#troc-form-contact .champ-input input[type=file] {
}

#troc-form-contact .champ-input textarea {
    height: 200px;
}

#troc-form-contact .champ-input input[readonly] {
    background: #F3F3F3;
    color: #666;
}

#troc-form-contact .champ-captcha {
    justify-self: start;
    align-self: end;
}

#troc-form-contact .champ-btn-submit {
    text-align: right;
    padding-top: 26px;
}

/* ************************************************************ */
/*   Styles buttons                                             */
/* ************************************************************ */

#troc-form-contact .btn-form {
    cursor: pointer;
    padding: 8px 12px;
    color: #444;
    text-shadow: 0px 0px 3px #fff;
    border: 1px solid #DEDEDE;
    border-radius: 5px;
    background: -webkit-gradient(linear, left top, left bottom, from(#F8F8F8), to(#EFEFEF));
    background: -o-linear-gradient(#F8F8F8, #EFEFEF);
    background: linear-gradient(#F8F8F8, #EFEFEF);
}

#troc-form-contact .btn-form:hover,
#troc-form-contact .btn-form:focus,
#troc-form-contact .btn-form:active {
    border-color: #CECECE;
    border-width: 2px;
}

#troc-form-contact .btn-afficher-form-contact:hover,
#troc-form-contact .btn-retour:hover,
#troc-form-contact .btn-afficher-form-contact:focus,
#troc-form-contact .btn-retour:focus,
#troc-form-contact .btn-afficher-form-contact:active,
#troc-form-contact .btn-retour:active {
    margin: -1px;
}

#troc-form-contact .btn-retour {
    font-size: 0.9em;
    line-height: 1em;
}

#troc-form-contact .btn-submit {
    position: relative;
    height: 50px;
    width: 150px;
    font-size: 1.15em;
    font-weight: bold;
    text-transform: uppercase;
    border-color: #FFED00;
    background: -webkit-gradient(linear,left top, left bottom,from(#ffed00),to(#fdca10));
    background: -o-linear-gradient(#ffed00,#fdca10);
    background: linear-gradient(#ffed00,#fdca10);
}

#troc-form-contact .btn-submit:hover,
#troc-form-contact .btn-submit:focus {
    border-color: #dbcc00;
}

#troc-form-contact .btn-submit:active {
    border-color: #ccbe00;
    background: -webkit-gradient(linear,left top, left bottom,from(#ffed00),to(#fdca10));
    background: -o-linear-gradient(#ffed00,#fdca10);
    background: linear-gradient(#ffed00,#fdca10);
}

#troc-form-contact.form-sending .btn-submit:before {
    content: "";
    display: block;
    position: absolute;
    left: -40px;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: url('/images/contact/loader.gif');
    border-radius: 50%;
}

/* ************************************************************ */
/*   Styles messages du formulaire                              */
/* ************************************************************ */

#troc-form-contact .form-message {
    margin-top: 20px;
    padding: 14px 10px;
    font-size: 1.2em;
    text-align: center;
    border: 2px solid;
    border-radius: 6px;
}

#troc-form-contact .form-success {
    color: #2b9217;
    border-color: #d3ecce;
}

#troc-form-contact .form-error {
    color: #D84141;
    border-color: #ffc1c1;
}

#troc-form-contact .modal-message {
    background: rgba(50, 50, 50, 0.2);
}

#troc-form-contact .modal-message .modal-body {
    padding-bottom: 0px;
}

#troc-form-contact .modal-message .modal-footer {
    border: none;
    padding-top: 0px;
}

#troc-form-contact .modal-message .modal-footer-mini {
    padding-top: 5px;
    font-size: 0.9em;
    color: #666666;
}

/* ************************************************************ */
/*   Styles textes d'aide (FAQ) avant de remplir le formulaire  */
/* ************************************************************ */

#troc-form-contact .aide {
    font-size: 1.1em;
}

#troc-form-contact .aide p {
    margin-bottom: 10px;
}

#troc-form-contact .aide h2 {
    font-size: 1.25em;
    margin-bottom: 1.3em;
}

#troc-form-contact .aide ol {
    counter-reset: aide;
    margin-left: 3.75em;
}

#troc-form-contact .aide li {
    list-style: none;
    counter-increment: aide;
    margin-bottom: 2em;
    text-indent: -3.7em;
}

#troc-form-contact .aide li:before {
    content: counter(aide);
    margin-right: 2%;
    padding: 1% 1.7%;
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    text-shadow: 0px 0px 3px #fff;
    vertical-align: bottom;
    border: 1px solid #f9e700;
    border-radius: 50%;
    background: -webkit-gradient(linear,left top, left bottom,from(#ffed00),to(#fdca10));
    background: -o-linear-gradient(#ffed00,#fdca10);
    background: linear-gradient(#ffed00,#fdca10);
}

/* ************************************************************ */
/*   Styles textes d'aide (FAQ) avant de remplir le formulaire  */
/* ************************************************************ */

#troc-form-contact .lien-reponse-wrapper {
    margin-top: 30px;
    text-align: center;
}

#troc-form-contact .lien-reponse {
    font-size: 1.8em;
    color: #F47020;
}

#troc-form-contact .lien-reponse:hover {
    color: #7D7D7D;
}

/* ************************************************************ */
/*     Styles options de réponse                                */
/* ************************************************************ */

#troc-form-contact .option-reponse {
    position: relative;
    line-height: 2em;
    margin-bottom: 0.5em;

    font-size: 1.2em;
    background: -webkit-gradient(linear,left top, left bottom,from(#FFF),to(#EEE));
    background: -o-linear-gradient(#FFF,#EEE);
    background: linear-gradient(#FFF,#EEE);
    border: 1px solid #E0E0E0;
    border-radius: 10px;
}

#troc-form-contact .option-reponse:hover {
    background: #f6f6f6;
    border-left: 4px solid #ffde00;
}

#troc-form-contact .option-reponse .input-radio + label {
    display: inline-block;
    width: 100%;
    margin: 0px;
    padding: 10px;
    padding-top: 1px;
    text-align: left;
    line-height: unset;
}

#troc-form-contact .option-reponse .input-radio + label:before {
}

#troc-form-contact .option-reponse .input-radio:checked + label:after {
    top: 14px;
    left: 13px;
}

/* ************************************************************ */
/*     Styles particuliers pour les options de réponse          */
/* ************************************************************ */

#troc-form-contact .question-client .reponses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 5%;
    padding: 0% 15%;
}

#troc-form-contact .question-client .option-reponse {
    color: #fff;
    background-color: #333;
    background: -webkit-gradient(linear,left top, left bottom,from(#505050),to(#333));
    background: -o-linear-gradient(#505050,#333);
    background: linear-gradient(#505050,#333);
    border: none;
    border-radius: 15px;
}

#troc-form-contact .question-client .option-reponse:hover {
    background: -webkit-gradient(linear,left top, left bottom,from(#666),to(#393939));
    background: -o-linear-gradient(#666,#393939);
    background: linear-gradient(#666,#393939);
    border: none;
}

#troc-form-contact .question-client .option-reponse .input-radio + label {
    padding: 30px 12px;
    text-align: center;
    font-size: 1.2em;
}

#troc-form-contact .question-client .option-reponse .input-radio + label:before {
    position: absolute;
    top: 30px;
    left: 15px;
}

#troc-form-contact .question-client .option-reponse .input-radio:checked + label:after {
    top: 33px;
    left: 18px;
}

/* ************************************************************ */
/*     Styles étape active                                      */
/* ************************************************************ */

#troc-form-contact .etape.active {
    margin-top: 10px;
    border-top: 2px solid #CCC;
}

#troc-form-contact .etape.active:first-child {
    border-top: none;
}

/* ************************************************************ */
/*     Styles étape minimiséee                                  */
/* ************************************************************ */

#troc-form-contact .etape.minimisee {
    background: #FAFAFA;
}

#troc-form-contact .etape.minimisee .btn-retour,
#troc-form-contact .etape.minimisee .reponses {
    display: none;
}

#troc-form-contact .etape.minimisee .titre-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: baseline;
        align-items: baseline;
    margin: 0px;
    padding: 0px;
    border: none;
}

#troc-form-contact .etape.minimisee .titre {
    -webkit-box-flex: 2;
        flex: 2;
    text-align: left;
}

#troc-form-contact .etape.minimisee .reponse {
    display: block;
    -webkit-box-flex: 1;
        flex: 1;
    text-align: right;
}

/* ************************************************************ */
/*     Animations                                               */
/* ************************************************************ */

/*
 * Animation pour la minimisation d'une étape.
 */
@-webkit-keyframes minimisee {
    from {
        min-height: 80px;
        margin-top: 6px;
        background: none;
    }
    to {
        margin-top: 0px;
        min-height: 0px;
        background: #FAFAFA;
    }
}
@keyframes minimisee {
    from {
        min-height: 80px;
        margin-top: 6px;
        background: none;
    }
    to {
        margin-top: 0px;
        min-height: 0px;
        background: #FAFAFA;
    }
}

#troc-form-contact .etape.minimisee {
    -webkit-animation: minimisee 0.5s ease-out;
            animation: minimisee 0.5s ease-out;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}

/*
 * Animation pour afficher l'étape suivante.
 * On va agrandir le div depuis le bas et aficher doucement les réponses.
 */
@-webkit-keyframes scroll-up {
    from {
        -webkit-transform-origin: 100% 100%;
                transform-origin: 100% 100%;
        -webkit-transform: scaleY(0.8);
                transform: scaleY(0.8);
        opacity: 0;
    }
    to {
        -webkit-transform-origin: 100% 100%;
                transform-origin: 100% 100%;
        -webkit-transform: scaleY(1);
                transform: scaleY(1);
        opacity: 1;
    }
}
@keyframes scroll-up {
    from {
        -webkit-transform-origin: 100% 100%;
                transform-origin: 100% 100%;
        -webkit-transform: scaleY(0.8);
                transform: scaleY(0.8);
        opacity: 0;
    }
    to {
        -webkit-transform-origin: 100% 100%;
                transform-origin: 100% 100%;
        -webkit-transform: scaleY(1);
                transform: scaleY(1);
        opacity: 1;
    }
}

@-webkit-keyframes scroll-up-reponses {
    0% { opacity: 0; }
    90% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes scroll-up-reponses {
    0% { opacity: 0; }
    90% { opacity: 0; }
    100% { opacity: 1; }
}

#troc-form-contact .etape.scroll-up {
    -webkit-animation: scroll-up 0.3s ease-out;
            animation: scroll-up 0.3s ease-out;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}

#document .reponses {
    padding: 0;
    list-style: none;
}

#troc-form-contact .etape.scroll-up .reponses {
    -webkit-animation: scroll-up-reponses 0.3s ease-out;
            animation: scroll-up-reponses 0.3s ease-out;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}

/*
 * Animation pour le retour à l'étape précédente.
 * On va agrandir le div depuis le haut et aficher doucement les réponses.
 */
@-webkit-keyframes scroll-down {
    from {
        -webkit-transform-origin: 0 0;
                transform-origin: 0 0;
        -webkit-transform: scaleY(0.2);
                transform: scaleY(0.2);
    }
    to {
        -webkit-transform-origin: 0 0;
                transform-origin: 0 0;
        -webkit-transform: scaleY(1);
                transform: scaleY(1);
    }
}
@keyframes scroll-down {
    from {
        -webkit-transform-origin: 0 0;
                transform-origin: 0 0;
        -webkit-transform: scaleY(0.2);
                transform: scaleY(0.2);
    }
    to {
        -webkit-transform-origin: 0 0;
                transform-origin: 0 0;
        -webkit-transform: scaleY(1);
                transform: scaleY(1);
    }
}

@-webkit-keyframes scroll-down-reponses {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scroll-down-reponses {
    from { opacity: 0; }
    to { opacity: 1; }
}

#troc-form-contact .etape.scroll-down {
    -webkit-animation: scroll-down 0.4s ease-out;
            animation: scroll-down 0.4s ease-out;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}

#troc-form-contact .etape.scroll-down .reponses {
    -webkit-animation: scroll-down-reponses 0.4s ease-out;
            animation: scroll-down-reponses 0.4s ease-out;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}

@media (max-width:768px) {
    #troc-form-contact .question-client .reponses {
        grid-template-columns: auto;
        grid-column-gap: 0%;
        padding: 0;
    }
    #troc-form-contact .etape .contenu,
    #troc-form-contact .etape {
        padding: 0;
    }
    #troc-form-contact .question-client .option-reponse .input-radio + label:before {
        display: block;
        margin: 0 auto 15px;
        top: 0px;
        left: auto;
        right: auto;
        position: inherit;
        
    }
}/*====================
*
* APP
*
====================*/
/*=====
PAGES
=====*/

/*# sourceMappingURL=contact.css.map*/