/* IMPORT FONTS */

@font-face {
    font-family: 'Sans-Francisco Regular';
    src: url('fonts/sanfranciscotext-regular.otf') format('opentype');
  }
  
@font-face {
    font-family: 'Oswald Stencil';
    src: url('fonts/Oswald-Stencil.ttf') format('opentype');
}
  
@font-face {
    font-family: 'SomethingWild Regulat';
    src: url('fonts/somethingwild-regular.otf') format('opentype');
}

@font-face {
    font-family: 'Futura';
    src: url('fonts/futuraStd-heavy.otf') format('opentype');
}

/* VARIABLES */

:root {
    --primary: #B92515;
    --disabled: #A6A6A6; 
}

/* Changement de police pour toute la page */
body {
    font-family: Arial, Helvetica, sans-serif;
}

/* title */

#title {
    padding-left: 140px;
}

#title p {
    margin-right: 50px;
    font-family: 'Futura';
    text-align: left;
}

h1, h3 {
    color: #fff;
    font-family: 'Oswald Stencil';
    display: inline-block;
    padding: 0 10px;
    background-color: var(--primary);
}

h2 {
    font-family: 'Oswald Stencil';
    font-size: 2em;
    margin: 5px 0;
}

h4 {
    font-family: 'Oswald Stencil';
    font-size: 1.5em;
    margin: 5px 0;
}

/* Logo en haut a droite & bouton en bas a droite */

/* logo */

#logo {
    width: 120px;
    left: 0;
    top: 0;
    margin-left: 0;
    position: absolute;
    z-index: 3;
}
.logo-container {
    position: relative;
}

.logo-container::before {
    content: '';
    position:absolute;
    width: 80px;
    height: 80px;
    /* border-radius: 40px 40px 40px 40px; */
    box-shadow: 0 20px 60px 0 rgba(0,0,0,.2);
    bottom: 30px;
    /* left: 50%; */
    /* margin-left: -40px; */
    z-index: -1;
}

.logo-desktop {
    display: block;
    background-color: #fff;
    padding: 10px 10px 0;
}

.logo {
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

#btn_add_tool {
    position: fixed;
    bottom: 0;
    right: 0;
}

#btn_add_tool > img {
    cursor: pointer;
    display: block;
    width: 80px;
    margin-right: 20px;
    margin-bottom: 20px;
}

#btn_del_tool {
    position: fixed;
    bottom: 0;
    left: 0;
}

#btn_del_tool > img {
    cursor: pointer;
    display: block;
    width: 80px;
    margin-left: 20px;
    margin-bottom: 20px;
}

#btnadd {
    height: 25px;
    margin-top: -2;
    margin-left: 5px;
    cursor: pointer;
    visibility: hidden;
}

#liste_tag, #list_ean13, #list_tag, #liste_email {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    font-family: 'Futura';
}

.ean13, .tag{
    display: none;
    padding:2px;
    border-radius: 10px;
    cursor: pointer;
}

.ean13:hover, .tag:hover{
    color: red;
}


/* Liste des outils */

#liste_liens {
    display: flex;
    margin: auto 8%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

a {
    text-decoration: none;
    color: inherit;
}

.balise_outil {
    margin: 10px;
    border-radius: 10px;
    padding: 10px;
    width: 300px;
    text-align: center;
    box-shadow: 7px 5px 12px 0.1px rgba(0,0,0,0.60);
    background-color: #fff;
}

.balise_outil h2, .balise_outil button {
    font-size: 1.2em;
}


.bg-wave {
    background-image: url('img/vague_grise.png');
    background-size: cover;
    min-width: 3em; /* Ensure the footer spans the width of the screen */
    height: auto; /* Adjust the height to fit your background image */
    position: relative; /* Position relative for content alignment */
    background-position: inherit; /* Adjust as needed */
    background-repeat: no-repeat;
}

.balise_outil:hover {
    -ms-transform: scale(1.1); /* IE 9 */
    -webkit-transform: scale(1.1); /* Safari 3-8 */
    transform: scale(1.1);
}

button {
    background-color: #B92515;
    color: white;
    width: auto;
    font-family: 'Oswald Stencil';
    font-size: 2em;
    border: none;
    cursor: pointer;

    transition: transform .1s;
}

button:hover {
    transform: scale(1.2);
}
  

button:active {
    transform: translateY(2px);
    box-shadow: 0 1px #666;
}

button:disabled {
    background-color: #A6A6A6;
    cursor: not-allowed;
}

/* Modal ajout d'un outil */


.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal_display {
    display: block;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}
  
.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 10px;
    width: 50%;
}
.modal-content > img, .modal-content > a > img {
    height: 30px;
    cursor: pointer;
}

#retour_script {
    text-align: center;
    font-size: 1.5em;
}

.str_green {color: green;}
.str_orange{color: orange;}

.str_red {color: var(--primary);}

#liste_email #liste_tag {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    margin: 0;
    margin-left: 15px
}

#liste_email > li, #liste_tag > li {
    display: flex;
    flex-direction: row;
    margin: auto;
}

#liste_email > li > img, #liste_tag > li > img {
    height: 15px;
    margin-top: 19px;
    margin-right: 5px;
    cursor: pointer;
}

#liste_email > div > p, #liste_tag > div > p {
    font-size: 10px;
    margin: auto;
}

#traca_complet, #ref_alt_add {
    width: 30px;
    margin-left: 2em;
    margin-right: 10px;
}

#label_complet {
    margin: auto 0;
    font-size: 2em;
}


input[type="text"] {
    display: block;
    width: 40%;
    padding: 0;
    border: none;
    border-bottom: 2px solid #ccc;
    font-size: 16px;
    transition: border-bottom-color 0.3s;
    margin-bottom: 7px;
}

input[type="text"]:focus {
    outline: none;
    border-bottom-color: #b92216;
}


#form_batch, .mail_form, .searchbarean13 {
    margin: auto;
    width: 40em;
}

.form_input, .condition_form {
    margin: 20px 10%;
}

.form_input h2 {
    font-family: 'Oswald Stencil';
    font-size: 2em;
}

.form_input b {
    color: #B92515;
}

.form_input input {
    background-color: transparent;
    border: none;
    border-bottom: 3px solid #B92515;
    text-align: left;
    text-transform: uppercase;
    font-family: 'Futura';
    width: 100%;
    font-size: 1em;
}

.select_database {
    background-color: transparent;
    border: none;
    border-bottom: 3px solid #B92515;
    text-align: left;
    text-transform: uppercase;
    font-family: 'Futura';
    font-size: 1em;
    text-align: center;
}


.form_input select {
    background-color: transparent;
    border: none;
    border-bottom: 3px solid #B92515;
    text-align: left;
    text-transform: uppercase;
    font-family: 'Futura';
    width: 100%;
    font-size: 1em;
}

.flex {
    display: flex;
    flex-direction: row;
}

.redirection_restore_bdd {
    font-family: 'Futura';
    text-align: center;
}

.redirection_restore_bdd:hover {
    color: #B92515;
}

.resultats {
    margin: auto;
    width: 40em;
}

.resultats > h2 {
    text-align: center;
}
.resultats hr {
    background-color: #B92515;
    height: 3px;
}

.resultats a {
    text-decoration: underline;
}

.resultats a:hover { color: black;}

.infos_bottom {
    text-align: center;
    font-family: 'Futura';
    margin-top: 35px;
}

#temps_du_script, strong {color: #B92515;}

.form_input > #select_liste_bdd {
    margin-bottom: 20px;
}