﻿/*   POLICE AJOUTEES  VIA GOOGLE 
    https://fonts.googleapis.com/css?family=Acme|Raleway&display=swap

    Utilisation 
    font-family: 'Raleway', sans-serif;
    font-family: 'Acme', sans-serif;
*/
:root {
    --color-text1: white;
    --color-text2: black;
    --color-bg1: aquamarine;
    --color-bg2: white;
    --color1: #6c6c6c;
    --police-titre: 'Acme', sans-serif;
    --police-corps: 'Raleway', sans-serif;
    --largeur-stick: 5vw;
}

body {
    font-family: var(--police-corps);
    background-color: var(--color-bg1);
    color: var(--color-text1);
    font-size: 14pt;
    line-height: 15pt;
}

@media (max-width: 1000px) {
    body {
        font-size: 28pt;
        line-height: 30pt;
    }
}


h1, h2, h3, h4, h5, h6, h7, h8, h9 {
    font-family: var(--police-titre);
}

h4, h5, h6, h7, h8, h9 {
    font-size: 1.1em;
    line-height: 1.1em;
}

h3 {
    font-size: 1.2em;
    line-height: 1.2em;
}

h2 {
    font-size: 1.3em;
    line-height: 1.3em;
}

h1 {
    font-size: 1.4em;
    line-height: 1.4em;
}


input[type=text], input[type=password], input[type=email], textarea, select {
    width: 100%;
    font-size: inherit;
    line-height: inherit;
}

button, select {
    font-size: inherit;
    line-height: inherit;
}

.p_witout_margin p {margin:0}

.loader-modal {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,.5);
    z-index: 30;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-container {
    width: 90vw;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(64, 66, 98,.5);
}

    .loader-container .content {
        display: flex;
        justify-content: center;
        align-items: center;
    }

.loaderFaceCarre {
    position: relative;
    width: clamp(20rem, 30vw, 70rem);
    height: clamp(20rem, 30vw, 70rem);
    margin: auto;
    transform-style: preserve-3d;
    animation: loaderFaceCarre-rotate 2s linear infinite;
}

    .loaderFaceCarre:before,
    .loaderFaceCarre:after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
    }

    .loaderFaceCarre:before {
        border-top: 4px solid white;
        border-bottom: 4px solid white;
    }

    .loaderFaceCarre:after {
        border-left: 4px solid white;
        border-right: 4px solid white;
    }

@keyframes loaderFaceCarre-rotate {
    from {
        transform: rotateX(0deg) rotateY(0deg);
    }

    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}





.loaderCube {
    position: relative;
    width: clamp(20rem, 30vw, 70rem);
    height: clamp(20rem, 30vw, 70rem);
    margin: auto;
    transform-style: preserve-3d;
    animation: loaderCube-rotate 2s linear infinite;
}

    .loaderCube .face {
        position: absolute;
        width: clamp(20rem, 30vw, 70rem);
        height: clamp(20rem, 30vw, 70rem);
        border: 4px solid white;
    }

        .loaderCube .face:nth-child(1) {
            transform: rotateY(0deg) translateZ(clamp(10rem, 15vw, 35rem));
        }

        .loaderCube .face:nth-child(2) {
            transform: rotateY(90deg) translateZ(clamp(10rem, 15vw, 35rem));
        }

        .loaderCube .face:nth-child(3) {
            transform: rotateY(180deg) translateZ(clamp(10rem, 15vw, 35rem));
        }

        .loaderCube .face:nth-child(4) {
            transform: rotateY(-90deg) translateZ(clamp(10rem, 15vw, 35rem));
        }

        .loaderCube .face:nth-child(5) {
            transform: rotateX(-90deg) translateZ(clamp(10rem, 15vw, 35rem));
        }

        .loaderCube .face:nth-child(6) {
            transform: rotateX(90deg) translateZ(clamp(10rem, 15vw, 35rem));
        }

@keyframes loaderCube-rotate {
    from {
        transform: rotateX(0deg) rotateY(0deg);
    }

    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}



/*
    Pour la page start.html
*/

.button {
    padding: .5vw;
    background-color: var(--color-bg1);
    color: var(--color-text1);
    border: none;
    cursor: pointer;
}

a.button {
    display: inline-block;
    padding: .5vw 1vw .5vw 1vw;
    background-color: var(--color-bg1);
    color: white !important;
}

.button_negatif {
    padding: .5vw;
    background-color: var(--color-text1);
    color: var(--color-bg1);
    border: none;
    cursor: pointer;
}

a.button_negatif {
    display: inline-block;
    padding: .5vw 1vw .5vw 1vw;
    background-color: var(--color-text1);
    color: var(--color-bg1) !important;
}

.button_disabled {
    padding: .5vw;
    background-color: #6c6c6c;
    color: white;
    border: none;
}

.button_selected {
    padding: .5vw;
    background-color: #ffdf00;
    color: black;
    border: none;
    cursor: pointer;
}


.button_helper {
    padding: .5vw;
    background-color: #a2a2a2;
    color: black;
    border: none;
    cursor: pointer;
}

.button_save {
    padding: .5vw;
    background-color: green;
    color: white;
    border: none;
    cursor: pointer;
}

.button_cancel {
    padding: .5vw;
    background-color: orange;
    color: white;
    border: none;
    cursor: pointer;
}

.button_return {
    padding: .5vw;
    background-color: cornflowerblue;
    color: white;
    border: none;
    cursor: pointer;
}

.little_spinner {
    margin: 0px;
    height: 2vw;
    width: 2vw;
    animation: rotate .8s infinite linear;
    border: 6px solid #000;
    border-right-color: transparent;
    border-radius: 50%;
    display: inline-block;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* TABLEAU */
.table_none table {
    border-collapse: collapse;
    border: none;
}

.table_none th {
    border: none;
    padding: .5px .3px .5px .3px;
}

.table_none td {
    border: none;
    padding: .5px .3px .5px .3px;
}

.table_none thead {
    font-weight: bold;
}
/*.table_none tbody tr:hover{background-color:#333;}*/
.table_none tfoot {
    font-weight: bold;
}

.table_standard > table {
    border-collapse: collapse;
    border: solid .1px #000;
}

.table_standard > th {
    border-bottom: solid .1px #000;
    border-right: dashed .1px #CCC;
    padding: .5px .3px .5px .3px;
}

.table_standard > td {
    border-bottom: solid .1px #000;
    border-right: dashed .1px #CCC;
    padding: .5px .3px .5px .3px;
}

.table_standard > thead {
    font-weight: bold;
}

.table_standard > tbody tr:hover {
    background-color: rgba(0,0,0,.2);
}

.table_standard > tfoot {
    font-weight: bold;
}

.table_standard_with_input table {
    border-collapse: collapse;
    border: solid .1px #000;
}

.table_standard_with_input th {
    border-bottom: solid .1px #000;
    border-right: dashed .1px #CCC;
    padding: .5px .3px .5px .3px;
}

.table_standard_with_input thead td {
    padding: .5px .3px .5px .3px;
}

.table_standard_with_input tfoot td {
    padding: .5px .3px .5px .3px;
}
/*
    --------------------------------------------------

    Pour la zone de login 

     --------------------------------------------------
    */

.icon-product {
    display: inline-block;
    width: calc(var(--largeur-stick)*0.8);
    height: calc(var(--largeur-stick)*0.8);
    background-image: url('/img/columns-gap.svg');
    background-size: contain;
    background-repeat:no-repeat;
}

.icon-box {
    display: inline-block;
    width: calc(var(--largeur-stick)*0.8);
    height: calc(var(--largeur-stick)*0.8);
    background-image: url('/img/box.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-cadenas {
    display: inline-block;
    width: calc(var(--largeur-stick)*0.8);
    height: calc(var(--largeur-stick)*0.8);
    background-image: url('/img/unlock.svg');
    background-size: contain;
    background-repeat: no-repeat;
}


.icon-users {
    display: inline-block;
    width: calc(var(--largeur-stick)*0.8);
    height: calc(var(--largeur-stick)*0.8);
    background-image: url('/img/people.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-user {
    display: inline-block;
    width: calc(var(--largeur-stick)*0.8);
    height: calc(var(--largeur-stick)*0.8);
    background-image: url('/img/person-circle.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-plus-circle {
    display: inline-block;
    width: calc(var(--largeur-stick)*0.8);
    height: calc(var(--largeur-stick)*0.8);
    background-image: url('/img/plus-circle.svg');
    background-size: contain;
    background-repeat: no-repeat;
    fill: var(--color-text1) !important;
}



.login {
/*    position: absolute;
    width: 50vw;
    min-width: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -70%);
*/
max-width:600px;
margin:auto;

}

    .login .form {
        background-color: var(--color-bg2);
        color: var(--color-text2);
        padding: 2vw;
        border-radius: 5vw;
    }

    .login .out_input {
        position: relative;
        border: var(--color1) solid 1vw;
        border-radius: 100vw;
        padding: 1vw;
        margin-bottom: 2vw
    }

    .login .form label {
        position: absolute;
        top: -1.2vw;
        left: 5vw;
        background-color: var(--color-bg2);
        padding-left: .5vw;
        padding-right: .5vw;
    }

    .login .form input[type=text], .login .form input[type=password], .login .form input[type=email] {
        border: none;
        background-color: transparent;
        text-align: center;
    }

    .login .form button[type=submit] {
        border: var(--color1) solid 1vw;
        border-radius: 100vw;
        background-color: var(--color1);
        color: var(--color-bg1);
        font-family: var(--police-titre);
        padding: 1vw;
        text-align: center;
        cursor: pointer;
    }




.left_stick {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--largeur-stick);
    height: 100%;
    background-color: rgba(255,255,255, .9);
}

    .left_stick .icons {
        margin-top: .5vw;
        display: flex;
        gap: 1vw;
        flex-direction: column;
        justify-content: center;
    }

/*.left_stick .icons > * {
            text-align:center;
        }*/

.img-modal {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,.5);
    z-index: 30;
}

.img-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .img-container .content {
        width: calc(100% - 10vw);
        height: calc(100% - 10vw);
        border: 2vw solid white;
        margin: 5vw;
        background-color: white;
    }

    .img-container .image {
        width: 100%;
        max-height: calc(100% - 2em);
        object-fit:cover;
    }

    .img-container .text {
        font-family: var(--police-titre);
        color:black;
        display: flex;
        justify-content: space-between;
        /*padding: 1em;*/
    }

    .img-container .left {
        width: calc(90% - 1em);
    }

    .img-container .right {
        width: calc(10% - 1em);
    }




.modal {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,.5);
    z-index:10;
}

.right_modal {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    bottom: 0;
    background-color: var(--color-bg2);
    color: var(--color-text2);
    padding: 3vw 3vw 5vw 3vw;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 20;
}

    .right_modal .close {
        position: absolute;
        top: 0;
        right: 1vw;
        cursor: pointer
    }

    .right_modal .input_zone {
        margin-bottom: 3vw;
        display: inline-block;
    }

    .right_modal label {
        margin-bottom: 1vw;
    }

    .right_modal input[type=text], .right_modal input[type=email], .right_modal input[type=tel], select {
        text-align: center;
    }

    .right_modal .pj {
        margin: 1vw;
        padding:1vw;
        cursor:pointer;
    }

    .right_modal .pj:hover {
        background-color:rgba(0,0,0,0.1);
    }

    .right_modal .pj_top {
        margin: 1vw;
        padding: 1vw;
        cursor: pointer;
        background-color: rgba(255,255,0,0.1);
    }

    .right_modal .pj_top:hover {
        background-color: rgba(255,255,0,0.3);
    }


.border_like_input {
    border: solid black 1px
}

.main {
    padding-left: var(--largeur-stick);
}

@media (max-width: 1000px) {
    .right_modal {
        width: 100%;
    }
}


.les_trucs {
}

.le_truc {
    display: inline-block;
    background-color: rgba(255,255,255,0.95);
    border-radius: 2vw;
    border: 2vw solid rgb(255,255,255);
    color: var(--color-text2);
    min-width: 20vw;
    min-height: 10vw;
    margin-left: 1vw;
    margin-right: 1vw;
    cursor: pointer;
}

    .le_truc .parent {
        display: table;
        min-width: inherit;
        min-height: inherit;
    }

    .le_truc .child {
        display: table-cell;
        vertical-align: middle;
        text-align: center;
    }
    .le_truc .child_50_per_cent {
        display: table-cell;
        vertical-align: middle;
        text-align: center;
        width:50%
    }


.le_truc_barre {
    position: relative;
    display: inline-block;
    background-color: rgba(255,255,255,0.95);
    border-radius: 2vw;
    border: 2vw solid rgb(255,255,255);
    color: gray;
    min-width: 20vw;
    min-height: 10vw;
    margin-left: 1vw;
    margin-right: 1vw;
    cursor: pointer;
}

    .le_truc_barre:before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50%;
        border-top: 2px solid red;
        transform-origin: center;
        transform: rotate(347deg);
    }
