
@font-face {
    font-family: 'Jura';
    src: url('fonts/Jura-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Jura';
    src: url('fonts/Jura-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Jura';
    src: url('fonts/Jura-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

:root {
    --primary-color: #2352a4;
    --secondary-color: #009FE3;
    --thirdary-color: #00FFDA;
}
html, body, input {
    font-family: "Jura", Helvetica, Arial, sans-serif;
    font-weight: normal;
    color: var(--primary-color);
    font-size: small;
}
.sidebar{
    font-weight: bold;
}
main{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
}
table{
    font-family: "Jura", Helvetica, Arial, sans-serif;
    font-weight: bold;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    margin: auto;
}
.hidden {
    display: none !important;
}
.display {
    display: block !important;
}
table>thead {
    font-size: larger;
}
tr {
    vertical-align: baseline !important;
}

#Header-banner{
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    align-items: center;
    font-weight: bold !important;
}
#header-title{
    font-weight: bolder;
}
#header-refs{
    width: 90%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.commande {
    cursor: pointer;
}

.commande:hover, .commande.selected {
    background-color: #1b6ec2;
    color: white;
}

.ClientBtn {
    cursor: pointer;
} 
.ClientBtn:hover{     
    background-color: var(--primary-color);
    color: white; 
}

#custom-refs{
    width: fit-content;
    border-color: linear-gradient(270deg, var(--primary-color), var(--secondary-color));
    border-radius: 25px;
    padding: 25px;
    border-width: 2px; 
    border-style: solid;
    border-image: linear-gradient(100deg, var(--primary-color), var(--secondary-color));
    border-image-slice: 1;
}
#CommandSearch{
    margin-top: 15px;
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.AdminBanner{
    margin: auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
#AdminCommandSearch{
    width: 40%;
    margin-top: 15px;
    color: var(--primary-color);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
#AdminSearchBanner{
    width: 60%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;;
}
#orderRef{
    margin: auto;
    width: 90%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-top: 30px;
    align-items: center;
}
#orderDetails{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--primary-color)!important;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid var(--primary-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--secondary-color);
}
.btn-primary:hover {
    color: #fff;
    background-color: var(--secondary-color);
    border-color: linear-gradient(100deg, var(--primary-color), var(--secondary-color));
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--secondary-color);
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9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ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}
.container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.screen {
    background: linear-gradient(90deg, var(--thirdary-color), var(--secondary-color));
    position: relative;
    height: 600px;
    width: 360px;
    box-shadow: 0px 0px 24px var(--primary-color);
}

.screen__content {
    z-index: 1;
    position: relative;
    height: 100%;
}

.screen__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
}

.screen__background__shape {
    transform: rotate(45deg);
    position: absolute;
}

.screen__background__shape1 {
    height: 520px;
    width: 520px;
    background: #FFF;
    top: -50px;
    right: 120px;
    border-radius: 0 72px 0 0;
}

.screen__background__shape2 {
    height: 220px;
    width: 220px;
    background: var(--primary-color);
    top: -172px;
    right: 0;
    border-radius: 32px;
}

.screen__background__shape3 {
    height: 540px;
    width: 190px;
    background: linear-gradient(270deg, var(--primary-color), var(--secondary-color));
    top: -24px;
    right: 0;
    border-radius: 32px;
}

.screen__background__shape4 {
    height: 400px;
    width: 200px;
    background: var(--primary-color);
    top: 420px;
    right: 50px;
    border-radius: 60px;
}

.login {
    width: 320px;
    padding: 30px;
    padding-top: 156px;
}

.login__field {
    padding: 20px 0px;
    position: relative;
}

.login__input {
    border: none;
    border-bottom: 2px solid var(--thirdary-color);
    background: none;
    padding: 10px;
    padding-left: 24px;
    font-weight: 700;
    width: 75%;
    transition: .2s;
}

.login__input:active,
.login__input:focus,
.login__input:hover {
    outline: none;
    border-bottom-color: var(--primary-color);
}

.login__submit {
    background: #fff;
    font-size: 14px;
    margin-top: 30px;
    padding: 16px 20px;
    border-radius: 26px;
    border: 1px solid #D4D3E8;
    text-transform: uppercase;
    font-weight: 700;
    display: flex;
    align-items: center;
    width: 100%;
    color: var(--primary-color);
    box-shadow: 0px 2px 2px var(--primary-color);
    cursor: pointer;
    transition: .2s;
}

.login__submit:active,
.login__submit:focus,
.login__submit:hover {
    border-color: var(--primary-color);
    outline: none;
}
#login-icon{
    width: 117px;
    position: absolute;
    z-index: -2;
    top: 45px;
    left: 30px;
}
.custom-select-container {
    position: relative;
}

.custom-select {
    width: 100%;
    padding: 8px;
    color: var(--primary-color)!important;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    background-size: 16px;
}

.custom-select:focus {
    box-shadow: none;
    color: var(--primary-color);
}

.chevron-icons {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: var(--primary-color);
}

#OrderToAdd{
    width: 15%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#orderCard{
    border: var(--thirdary-color), 2px, solid ;
}

.bloc-waitForValidation{
    width: 100%;
    text-align: center;
    margin-top: 50px;
    font-size: x-large;
}
#nav-bottom-bloc{
    position: absolute;
    bottom: 5%;
}
#password-form-bloc{
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    border-color: linear-gradient(270deg, var(--primary-color), var(--secondary-color));
    border-radius: 25px;
    padding: 25px;
    border-width: 2px;
    border-style: solid;
    border-image: linear-gradient(100deg, var(--primary-color), var(--secondary-color));
    border-image-slice: 1;
}
.password-form-banner{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}
.title-notices{
    text-decoration: underline;
    font-size: xx-large;
}
#bloc-notices{
    margin: auto;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 90%;
}
.banner-notices{
    width: 75%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    margin: auto;
    margin-bottom: 50px;
}
.image-container {
    width: unset;
    position: relative;
    display: inline-block;
    margin-top: 30px;
    cursor:pointer;
    margin: auto;
}

.image-container img {
    transition: opacity 0.5s ease;
}

.image-container:hover img {
    opacity: 0; /* Set opacity to 0 when hovered */
}

.menu {
    width: 50%;
    display: none;
    position: absolute;
    top: 40%;
    left: 5%;
    background-color: transparent;
    padding: 10px;
    border-radius: 5px;
    opacity: 0; /* Initially hidden */
    transition: opacity 1s ease; /* Transition duration adjusted */
}

.image-container:hover .menu {
    display: block; /* Ensure menu is displayed when parent is hovered */
    opacity: 1;
    transition: opacity 1s ease;/* Fade in the menu when parent is hovered */
}
.menu-bloc{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.menu-bloc a{
    margin-bottom: 10px;
}
.btn-notice{
    position: relative;
    background-color: var(--primary-color);
    min-width: 20%;
    padding: 15px;
    border-radius: 25px;
    border-color: var(--secondary-color);
    border-width: 1px;
    border-style: solid;
    cursor: pointer;
    margin: auto;
    &&:hover{
        background-color: var(--secondary-color);
        border-color: var(--primary-color);
    }
}
.btn-notice a{
    color: white;
    text-decoration: none;
    text-align: center;
}
.btn-notice h3{
    margin: unset;
}
.nomade-bloc{
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-bloc{
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    padding-bottom: 0px;
}
.footer-banner{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.contact-bloc{
    width: 30%;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    & h4{
        font-weight: bold;
        font-size: small;
    }
    & p{
        margin-bottom: 5px;
    }
}
.social-bloc{
    display: flex;
    flex-direction: column;
}
.site-bloc{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: auto;
    margin-top: 15px;
    font-weight: bold;
}
.tel-bloc{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 30%;
}
.num-bloc{
    width: 40%;
    font-weight: bold;
    & p{
        margin-bottom: 0px;
    }
}
.footer-subtitle{
    text-align: center;
    font-size: small;
    font-style: oblique;
    font-family: sans-serif;
}

#DetailCommand{
    font-size: medium;
    position: fixed;
    top: 58%;
    left: 57%;
    transform: translate(-50%, -50%);
    width: 80%;
    padding: 20px;
    background-color: white;
    z-index: 1000;
    height: 30%
}

/*//Responsive//*/
@media screen and (max-width: 980px) {
    .screen {
        height: 500px;
        width: 280px;
    }
    .sidebar{
        min-width: 250px;
        min-height: auto;
    }
    .login {
        width: 250px;
        padding-top: 100px;
    }
    #login-icon {
        width: 70px;
    }
}


@media screen and (max-width: 639px) {
    body{
        min-width: 425px;
    }
    .screen {
        height: 400px;
        width: 240px;
    }
    .login {
        padding-top: 115px;
    }
    #login-icon {
        top: 65px;
        left: 10px;
    }
    .navMenu-scrollable{
        display: none;
    }
    .navMenu-scrollable.responsive {
        position: relative;
        display: block;
    }
    #nav-bottom-bloc {
        position: unset;
    }
    .logo-img{
        width: 145px;
    }
    .OFG-img{
        display: none;
    }
    #OrderToAdd{
        width: auto;
    }
    .logo-img{
        width: 300px;
    }
    .title-notices {
        font-size: x-large;
    }
    #bloc-notices {
        align-items: center;
    }
    .banner-notices{
        flex-direction: column;
    }
    .btn-notice {
        margin: 20px auto 20px auto;
    }
    .nomade-bloc {
        width: unset;
    }
}

@media screen and (max-height: 500px){
    #nav-bottom-bloc{
        position: relative;
    }
}
