﻿/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
}

html {
    background-color: unset;
}

body {
    background-color: #efefef;
    height: unset;
    padding: 20px;
}

#div_enquete_content {
    margin-left: auto;
    margin-right: auto;
    max-width: 1024px;
    /*display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;*/
}

#div_titre_enquete {
    text-align: center;
    font-size: 30px;
    margin-top: 10px;
    margin-bottom: 25px;
    white-space: pre-wrap;
}

#div_introduction {
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    font-size: 18px;
    white-space: pre-wrap;
}
.div_page {
    display: none;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    position: relative;
    margin-top: 15px;
    box-shadow: 1px 1px 5px 4px rgba(143,143,143,0.76);
    -webkit-box-shadow: 1px 1px 5px 4px rgba(143,143,143,0.76);
    -moz-box-shadow: 1px 1px 5px 4px rgba(143,143,143,0.76);
}
    .div_page.current {
        display: block;
    }

    .div_page .div_page_number {
        position: absolute;
        top: -14px;
        left: 10px;
        border-bottom: 2px solid #2ea9dd;
        font-size: 12px;
        font-style: italic;
        right: 10px;
        color: #2ea9dd;
        text-align: center;
    }

    .div_page .div_item {
        box-shadow: 1px 1px 5px 1px rgba(143,143,143,0.76);
        -webkit-box-shadow: 1px 1px 5px 1px rgba(143,143,143,0.76);
        -moz-box-shadow: 1px 1px 5px 1px rgba(143,143,143,0.76);
        padding: 10px;
        margin: 10px;
        border-radius: 5px;
        white-space: pre-wrap;
    }

        .div_page .div_item.section {
            margin-top: 25px;
        }
            .div_page .div_item.section[data-show="0"] {
                display: none;
            }
            .div_page .div_item.section .section_titre {
                font-size: 23px;
            }
            .div_page .div_item.section .section_description {
                font-size: 16px;
                color: #93cae1;
                margin-top: 10px;
                margin-left: 25px;
            }

        .div_page .div_item.question {
            margin-bottom: 25px;
        }
            .div_page .div_item.question[data-show="0"] {
                display: none;
            }

            .div_page .div_item.question[data-obligatoire="1"] .question_titre::after {
                content: " (obligatoire)";
                color: gray;
                font-style: italic;
                font-size: 10px;
                vertical-align: middle;
                margin-left: 5px;
            }

            .div_page .div_item.question[data-obligatoire="1"][data-enerreur="0"] .question_titre {
                
            }

            .div_page .div_item.question[data-obligatoire="1"][data-enerreur="1"] .question_titre {
                color: red;
            }

            .div_page .div_item.question .question_titre {
                font-size: 20px;
                margin-bottom: 15px;
                border-bottom: 2px solid #2ea9dd;
            }
            .div_page .div_item.question .question_image {
            }
                .div_page .div_item.question .question_image img {
                    max-height: 300px;
                }
            .div_page .div_item.question .txta_question_reponse {
                width: 100%;
            }
            .div_page .div_item.question .input_question_reponse {
            }

            .div_page .div_item.question .options {
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
            }
                .div_page .div_item.question .options .option {
                    flex-grow: 1;
                    text-align: center;
                }
                    .div_page .div_item.question .options .option img {
                        max-width: 200px;
                        max-height: 200px;
                        vertical-align: middle;
                    }

                    .div_page .div_item.question .options .option label {
                        vertical-align: middle;
                    }

                    .div_page .div_item.question .options .option .inp_autre_texte {
                        margin-left: 5px;
                        font-size: 12px;
                        visibility: hidden;
                    }

    .div_page .div_page_buttons {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
    }

#div_remerciement {
    display: none;
    background-color: white;
    padding: 10px;
    border-radius: 0px 0px 10px 10px;
    white-space: pre-wrap;
}