/* ----- Global ----- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
}

html,
body {
    height: 100%;
}


/* style Auth*/
.auth_title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10%;
}

.auth_form {
    margin-top: 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn {
    width: -webkit-fill-available;
}

/* end style Auth */


/* Style choosing a company*/
.choosing_a_company_title {
    margin-top: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.choosing_a_company_buttons {
    margin-top: 15em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.company {
    margin-left: 15px;
    font-size: 40px;
    font-weight: bold;
}

.company:hover {
    background: #2cadc0;
    color: white;
    border: 1px solid #2cadc0;
    box-shadow: 0 7px 25px 0 grey;
}

.active {
    color: #1a1e1f !important;
    background-color: white;
    padding: 5px;
    border-radius: 10px;
}

.choosing_a_company {
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    font-size: 15px;
}

.choosing_a_company:hover {
    color: #2cadc0;
}

/* End Style choosing a company*/

/* style Dashboard*/
.navbar_panel_dark {
    background: black;
    padding: 11px;
    box-shadow: 0 3px 36px #000;
}

.navbar_brand_img {
    display: initial;
    width: 15%;
    vertical-align: bottom;
}

.navbar_brand {
    margin-left: 10px;
    color: white;
    text-transform: uppercase;
    font-size: 25px;
    font-weight: 700;
    text-decoration: none;
}

.navbar_logout {
    color: white;
    text-transform: uppercase;
    font-size: 15px;
    text-decoration: none;
    vertical-align: sub;
}

.navbar_brand:hover {
    color: #9d9d9d;
}

.navbar_logout:hover {
    color: #9d9d9d;
}

.logout {
    text-align: end;
}

.elements_navbar {
    display: flex;
    align-items: center;
}

/* end style Dashboard*/


/* style FormOrder */
.dashboard {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.img_ords {
    padding-top: 10%;
    text-align: center;
    padding-bottom: 5%;
}

.img_order {
    width: 15%;
    display: initial;
}

.name_company {
    margin-top: 25px;
    font-weight: 800;
}

.form-control {
    margin-bottom: 2%;
    width: 50%;
}

.form_order {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-control:focus {
    border-color: #f2ce3a;
    box-shadow: 0 0 0 0.25rem rgb(242 206 58 / 28%);
}


.btn-success {
    font-size: 22px;
    color: #fff;
    background-color: #2aadc0;
    border-color: #2aadc0;
    width: 50%;
}

.btn-success:focus, .btn-success:hover {
    background-color: #1d6daf;
    border-color: #1d6daf;
    box-shadow: 0 0 0 0.25rem rgb(29 109 175 / 36%);
}

/* end style FormOrder */


/* Style Cart Product Frontend*/
.section_card {
    display: flex;
    align-items: center;
    flex-direction: row;
    margin-top: 3%;
}

.row_card {
    justify-content: center;
}

.card {
    margin: 10px;
    width: 18rem;
}

.title_order {
    display: flex;
    text-align: left;
    flex-direction: column;
}

.send {
    margin-top: 10px;
    font-size: 23px;
    color: #fff;
    background-color: #2aadc0;
    border-color: #2aadc0;
    width: 100%;
}

.send:focus, .send:hover {
    background-color: #1d6daf;
    border-color: #1d6daf;
    box-shadow: 0 0 0 0.25rem rgb(29 109 175 / 36%);
}

.danger {
    background: red;
    color: white;
    padding: 4px;
    font-size: 25px;
}

.article {
    font-size: 15px;
}

/* End Style Cart Product Frontend*/

/* Media Screen*/
@media screen and (max-width: 1300px) {
    .navbar_brand_img {
        width: 12%;
    }

    .navbar_brand {
        font-size: 20px;
    }

    .navbar_logout {
        font-size: 12px;
    }

    .form-control-lg {
        font-size: 15px;
    }

    .btn-success {
        font-size: 20px;
    }
}

@media screen and (max-width: 1050px) {
    .navbar_brand {
        font-size: 16px;
    }

    .btn-success {
        font-size: 16px;
    }
}


@media screen and (max-width: 500px) {
    .navbar_brand {
        display: none;
    }

    .navbar_brand_img {
        width: 60%;
    }

    .choosing_a_company {
        font-size: 12px;
    }

    .form-control, .btn-success {
        width: 90%;
    }

    .img_order {
        width: 35%;
    }

    .navbar_panel_dark {
        box-shadow: 0 0 0 0;
    }

    h5 {
        font-size: 1rem;
    }

    .title_order {
        text-align: center;
    }

    .company {
        font-size: 30px;
    }
}

/* EndMedia Screen*/


/* Images */

.image {
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.image-switch {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 20;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-switch-item {
    width: 33.33%;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 5px;
}

.image-switch-item::after {
    content: "";
    width: 90%;
    margin: 0 auto;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    z-index: 2;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.switched-image {
    position: absolute;
    left: 50%;
    top: 0;
    opacity: 0;
    z-index: 2;
    transition: all 0.3s ease-in-out;
    width: 100%;
    height: 100%;
    transform: translateX(-50%);
    pointer-events: none;
}

.image:hover .image-switch {
    opacity: 1;
    transition: all 0.3s ease-in-out;
}

.image-switch-item:hover .switched-image {
    transition: all 0.3s ease-in-out;
    opacity: 1;
    z-index: -1;
}

.image-switch-item:hover::after {
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}