html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video, select, input, textarea {
    font-family: 'Arial', sans-serif !important;
}

* {
    font-size: 14px;
    background: white;
}

body, html{
    background:rgb(250, 250, 250) !important;
}


button {
    display:flex;
    justify-content: center;
    align-items: center;
    border:none;
    cursor:pointer;
}

p {
    line-height: 16.8px
}

#main_section{
    margin:16px;
    border:1px solid #ccc;
    padding:14px;
    border-radius: 5px;
}

.first_section_div, .first_section_div_child2, .first_section_div_child3, .first_section_div_child3bis, .first_section_div_child4, .second_section_div_child4 {
    border-bottom: 1px solid #ccc;
    padding:8px;
    margin: 5px 0;
}

.first_section_div_child4, .second_section_div_child4 {
    border:inherit;
}

.section_div_h1, .first_section_div_child2 p, .first_section_div_child3 p {
    margin: 5px 0;
}

.first_section_div_child2 {
    display:flex;
    justify-content: space-between;
}
.first_section_div_child2 p {
    width: 50%;
}
.first_section_div_child2 img {
    width: 120px;
    height: 36px;
}

.first_section_div_child3 span:nth-child(2) {
    font-weight: bold;
}

.first_section_div_child4 h3, .second_section_div_child4 h3 {
    font-size: 18px;
    margin: 5px 0;
}

.first_section_div_child5 {
    margin: 35px 0;
}

.first_section_div_child5 i {
    color: white;
    height: 24px;
    width: 24px;
    font-size: 14px;
    background-color: grey;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 35px;
    float: left;
    margin-right:10px;
}

.first_section_div_child5 p {
    font-size: 11px;
}


#main_section_first_section, 
#main_section_second_section,
#main_section_third_section,
#main_section_fourth_section {
    border:none;
    border-bottom: 1px solid #ccc;
    border-radius:0
}

.first_section_div_child4, 
.first_section_div_child5, 
.second_section_div_child4 {
    border:none;
}

label {
    display:none;
}

form input, form select, form textarea, .second_section_div_child4 div select {
    width: 100%;
    padding:7px 0;
    margin-bottom: 1.25em;
    background:rgb(246, 244, 244);
    border:none;
    text-indent: 1rem;
}

.second_section_div_child4 div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.second_section_div_child4 div select {
    width: 50%
}

.second_section_div_child4 div img {
    width: 110px
}
form textarea {
    resize: vertical;
}

.div-data-nom-prenom {
    display:flex;
}
.second_section_div_child4 {
    display:flex;
    flex-direction: column;
}
.second_section_div_child4 button.copyData {
    background: rgb(123, 0, 231);
    color:white;
    padding:10px 20px;
    border:none;
    margin:auto;
    font-size:12px;
    font-weight: bold;
    transition: 150ms;
}
.second_section_div_child4 button.copyData:hover {
    background:#6C00CB;
    transition: 150ms;
    color:rgb(230, 230, 230)
}

.second_section_div_child5 p, .second_section_div_child5 span{
    margin: 20px 0;
    font-size: 12px;
}

.second_section_div_child5 div {
    display:flex;
    justify-content: flex-start;
    align-items: center;
}

.second_section_div_child5 div span {
    margin-right:20px;
}

.second_section_div_child5 p a {
    color:#039be5;
    text-decoration: none;
}

.second_section_div_child5 p a:hover {
    text-decoration: underline;
}

input[type="file"] {
    background:#f3f3f3;
    padding:25px;
    border:2px solid #bababa;
    width: 50%;
    margin: 10px auto 50px auto;
}




/* RECAPTCHA */
.grecaptcha-badge {
    width: 256px;
    height: 60px;
    display: block;
    transition: right 0.3s;
    position: fixed;
    bottom: 14px;
    right: -186px;
    box-shadow: gray 0px 0px 5px;
    border-radius: 2px;
    overflow: hidden;
    transition: 300ms;
}

footer p {
    font-size: 12px;
    margin: 0 0 20px 0;
}

footer p:nth-child(2), footer p:nth-child(3){
    text-align: center;
    font-size: 14px;
}

footer p:nth-child(3) {
    text-decoration: underline;
    cursor: pointer;
}

footer h5 {
    font-size: 14px;
    text-align: center;
}

.grecaptcha-badge:hover {
    right: 0px;
    transition: 300ms;
}

.display_none {
    display: none !important;
}

.display_block {
    display: block !important;
}

.overlay-with-mentions {
    position:fixed;
    width:100%;
    height:100%;
    top:0;
    left:0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    background:rgba(0,0,0,0.5)
}

.overlay-with-mentions div {
    width: 90%;
    max-width: 550px;
    height: 550px !important;
    background: white;
    padding: 24px;
    overflow-y: auto;
}


.overlay-with-mentions h3 {
    font-size: 16px;
    margin: 15px 0;
    font-weight: 400;
}

.overlay-with-mentions h1 {
    margin-top:20px;
    font-size: 24px;
    font-weight: 400;
}

.overlay-with-mentions h1:hover {
    text-decoration: underline;
    cursor: pointer;
}

.overlay-with-mentions i {
    float: right; 
    font-size: 30px; 
    cursor: pointer
}

.overlay-with-mentions p {
    font-size: 12px;
    margin: 15px;
    color: #a5a5a5;
    font-family: Arial;
}

.overlay-with-mentions ul {
    list-style: disc;
    margin-left: 50px;
}

.overlay-with-mentions ul  li{
    font-size: 12px;
    margin: 15px;
    color: #a5a5a5;
    font-family: Arial;
    line-height: 16.8px;
}

button.close_mentions {
    font-family: Roboto, "Helvetica Neue", sans-serif !important;
    display: block;
    margin: 15px auto;
    min-width: 88px;
    font-size: 14px;
    border:none;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 1px -2px, rgba(0, 0, 0, 0.14) 0px 2px 2px 0px, rgba(0, 0, 0, 0.12) 0px 1px 5px 0px;
    cursor: pointer;
    font-weight: 500;
    line-height: 36px;
    color:(0,0,0, 0.87)
}

#validateButton:disabled {
    color:white;
    background-color: #cfcfcf!important;
    display:flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    min-width: 88px;
    display: flex;
    margin: 0 auto;
    cursor: not-allowed;
}

#validateButton {
    color:white;
    background-color: rgb(123, 0, 231) !important;
    display:flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    min-width: 88px;
    display: flex;
    margin: 0 auto;
    cursor: pointer;
}

.material-icons {
    background: transparent;
    margin-right:10px;
}

/* Copie de la transformation style Angular6 material design */

form div {
    position: relative;
}

.input-data-span {
    position:absolute;
    top:8px;
    left:8px;
    pointer-events:none;
    color:#717070;
    background:transparent;
    font-size: 14px;
    transition:200ms;
}

span.data-prenom {
    margin-left: calc(50% + 8px);
}

.floating-span {
    top: -5px;
    font-size: 11px;
    transition:200ms;
}

.color-red {
    color: red !important;
}

#specialite, #commandeSelect {
    pointer-events: none;
}


#listSpecialites, #listCommande {
    position:absolute;
    transform: translate(-4%, -4%);
    z-index:6000;
    top:0;
    left:0;
    height:256px;
    box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12); 
    width:108%;
    overflow-y: auto;
}

#listSpecialites {
    height:256px;
}

#listCommande {
    height: 144px;
}

#listSpecialites ul {
    width: 100%;
    background:rgb(250, 250, 250)
}


#listSpecialites ul li, #listCommande ul li {
    text-indent: 1rem;
    line-height: 3em;
    font-size: 24px;
}

#listSpecialites ul li:hover, #listCommande ul li:hover {
    cursor:pointer;
    background:rgb(200, 200, 200);
}

#specialite-click-overlay, #commande-click-overlay {
    position: absolute;
    background: transparent;
    height: 100%;
    z-index: 5000;
    cursor: pointer;
    width: 100%;
}

#specialite-click-overlay {
    transform: translateY(-100%);
}

#LaunchingWaitingSpinner {
    position:fixed;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top:0;
    left:0;
    bottom:0;
    right:0;
    background:white;
    z-index:999999999;
    transition: opacity 500ms;
    opacity:1;
}

#LaunchingWaitingSpinner img {
    width:250px;
    height:auto
}

.vanish {
    opacity:0 !important;
    pointer-events: none;
    transition: opacity 500ms;
}


.spinner-svg {
    animation: spin 800ms ease-in-out infinite;
    margin: 20px auto;
    display: block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* */
/* Remove de l'outline pour tout les element- attention au RGAA - necessaire au design cependant*/

input:focus, select:focus, textarea:focus {outline: none;}

/* Alternative : personnaliser la bordure de focus au lieu de la supprimer */
/* input:focus {outline: none;border: 2px solid #007bff;} */

/* Ou avec box-shadow pour un effet plus moderne */
/* input:focus {outline: none;box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);} */


@media screen and (min-width: 960px) {
    body {
        margin: auto 12%;
    }

    #main_section_first_section, 
    #main_section_second_section,
    #main_section_third_section,
    #main_section_fourth_section {
        margin: 0 auto;
        padding: 0 25%;
    }
}
