/* Tableau des déclarations chantiers/chargements/divers/frais... dans administratif */
.thead_declared {
    background-color: #5a425c;
}

.table_declared {
    width: 90%;
    margin: auto;
    padding: 0;
    border: 1px solid #5a425c3a;
}

.table_declared th {
    padding: 13px;
    color: white;
}

.table_declared tbody tr:hover {
    background-color: rgba(192, 190, 190, 0.26);
}

.table_declared td {
    border-right: 1px solid #5a425c1e;
    padding-bottom: 10px;
}

/*Augmente la taille du timepicker (pause dans chantier)*/
.hours,
.minutes {
    height: 10em !important;
}

/*Change la couleur de l'onglet date dans administratif*/
.vue-tabs .nav-tabs>li.active>a,
.vue-tabs .nav-tabs>li.active>a:hover,
.vue-tabs .nav-tabs>li.active>a:focus {
    color: white !important;
    background-color: #787878 !important;
}

/*FORMULAIRE CONNEXION*/
.box {
    width: 500px;
    padding: 40px;
    /* position: absolute;
    top: 50%;
    left: 50%; */
    background: #ffffffa8;
    text-align: center;
    transition: 0.25s;
    margin-top: 200px;
    border-radius: 5px;
}

.box input[type="email"],
.box input[type="password"],
#email {
    border: 0;
    background: none;
    display: block;
    margin: 20px auto;
    text-align: center;
    border: 2px solid #5d1849;
    padding: 10px 10px;
    width: 250px;
    outline: none;
    color: white;
    border-radius: 24px;
    transition: 0.25s;
}

.box h1 {
    color: white;
    text-transform: uppercase;
    font-weight: 500;
}

.box input[type="email"]:focus,
.box input[type="password"]:focus {
    width: 300px;
    border-color: #fff;
}

.box input[type="submit"] {
    border: 0;
    background: none;
    display: block;
    margin: 20px auto;
    text-align: center;
    border: 2px solid #5d1849;
    padding: 14px 40px;
    outline: none;
    color: white;
    border-radius: 24px;
    transition: 0.25s;
    cursor: pointer;
}

.box input[type="submit"]:hover {
    background: #5d1849;
}

.forgot {
    text-decoration: underline;
}

/* ------------------------- CALENDRIER ------------------------- */

/* Style des bontons switch mois calendrier*/
#previousMonth,
#nextMonth,
#previousWeekKm,
#nextWeekKm {
    padding: 10px 15px;
    color: white;
    background-color: #463047;
    border-radius: 50%;
}

.btn_style {
    font-weight: bold !important;
    color: white !important;
    width: 100%;
    font-size: 1.5em !important;
}

#btn_plus {
    background-color: #fe7b4d;
    padding: 15px 25px;
    font-size: 2em;
    color: white;
    border-radius: 50px;
    position: fixed;
    bottom: 75px;
    right: 5px;
    z-index: 3;
}

#transition_content {
    position: fixed;
    bottom: 50px;
    height: 100%;
    width: 100%;
    padding-top: 60px;
    z-index: 3;
    left: 0;
    background-color: white;
}

.btn_menu {
    height: 100%;
    width: 100%;
}

.btn_chantier {
    background-color: #fe7b4d;
}

.btn_route {
    background-color: #787878;
}

.btn_liaison {
    background-color: #9518dc;
}

.btn_chargement {
    background-color: #4d65fe;
}

.btn_frais {
    background-color: #e9c222;
}

.btn_divers {
    background-color: #fe8b8d;
}

.content_btn {
    height: 100%;
}

#btn_close_content {
    background-color: #fe7b4d;
    width: 50px;
    height: 60px;
    border-radius: 30px 30px 0 0;
    z-index: -1;
}

.btn_close_btn {
    color: white !important;
    font-weight: bold !important;
    padding-left: 18px !important;
    font-size: 1.2em !important;
}

#total_card_content {
    display: none;
}

#total_all_content {
    display: block;
}

.fa-clock {
    font-size: 1.5em;
}

#date_format h4 {
    color: #5a425c;
    font-size: 2em;
}

#date_format {
    background-color: #dfdfdf;
    width: 100%;
    height: 200px;
}

#date_format .fa-pen {
    color: #5a425c;
}

#calendar_info {
    position: relative;
}

#calendar_info .tabs-component-tabs {
    display: flex;
    padding: 0;
    height: 70px;
    border: none;
    border-radius: none;
    margin: 0;
}

#calendar_info .tabs-component-tab {
    height: 70px;
    width: 50%;
    background-color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin: 0 1px !important;
}

#calendar_info .tabs-component-tabs a {
    font-size: 1.3em;
    text-decoration: none;
    padding: 0;
    height: 70px;
}

#calendar_info .tabs-component-panels {
    padding: 1em 0 70px 0;
    background-color: white;
}

#calendar_info .tabs-component-tabs a img {
    margin: 0 5px;
}

#calendar_info .tabs-component-tab .is_active {
    color: #463047;
}

#calendar_info .tabs-component-tab {
    color: #999;
    font-size: 14px;
    font-weight: 600;
    margin-right: 0;
    list-style: none;
}

#calendar_info .tabs-component-tab:hover {
    color: #666;
}

#calendar_info .tabs-component-tab.is-disabled * {
    color: #cdcdcd;
    cursor: not-allowed !important;
}

.tabs-component-tabs {
    border: solid 1px #ddd;
    border-radius: 6px;
    margin-bottom: 5px;
}

/* ==================================================================== */
/* MODAL DETAILS ADMINISTRATION */
/* ==================================================================== */

#myTab {
    background-color: white !important;
}

.modal_title {
    color: #463047;
}

/*MOBILE*/
@media (min-width: 700px) {
    .tabs-component-tabs {
        border: 0;
        align-items: stretch;
        display: flex;
        justify-content: flex-start;
        margin-bottom: -1px;
    }
}

.tabs-component-tab {
    color: #999;
    font-size: 14px;
    font-weight: 600;
    margin-right: 0;
    list-style: none;
}

.tabs-component-tab:hover {
    color: #666;
}

.tabs-component-tab.is-active {
    color: #000;
}

.tabs-component-tab.is-disabled * {
    color: #cdcdcd;
    cursor: not-allowed !important;
}

@media (min-width: 700px) {
    .tabs-component-tab {
        background-color: #fff;
        border: solid 1px #ddd;
        border-radius: 3px 3px 0 0;
        margin-right: 0.5em;
        transform: translateY(2px);
        transition: transform 0.3s ease;
    }

    .tabs-component-tab.is-active {
        border-bottom: solid 1px #fff;
        z-index: 2;
        transform: translateY(0);
    }
}

.tabs-component-tab-a {
    align-items: center;
    color: inherit;
    display: flex;
    padding: 0.75em 1em;
    text-decoration: none;
}

.tabs-component-panels {
    padding: 4em 0;
}

.btn_edit_mobile {
    display: none !important;
}

@media (min-width: 700px) {
    .tabs-component-panels {
        border-top-left-radius: 0;
        background-color: #fff;
        border: solid 1px #ddd;
        border-radius: 0 6px 6px 6px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
        padding: 4em 2em;
    }
}

.total_text,
.hours_text {
    font-size: 1.2em;
    font-weight: bold;
}

.hours_text {
    color: #787878;
}

.total_card {
    width: 300px;
    border-radius: 10px;
    height: 60px;
    position: relative;
    left: 40px;
    top: 10px;
    padding: 10px 30px;
}

.chantier {
    color: #fe7b4d;
}

.chantier_card {
    border: 1px dashed #fe7b4d;
}

.chargement {
    color: #4d65fe;
}

.chargement_card {
    border: 1px dashed #4d65fe;
}

.divers_card {
    border: 1px dashed #fe8b8d;
}

.divers {
    color: #fe8b8d;
}

.route {
    color: #787878;
}

.liaison {
    color: #9518dc;
}

.frais {
    color: #e9c222;
}

.all {
    color: #44bcfa;
}

.km {
    color: #0090ff;
}

.km_card {
    border: 1px dashed #0090ff;
}

.route_card {
    border: 1px dashed #787878;
}

.liaison_card {
    border: 1px dashed #9518dc;
}

.frais_card {
    border: 1px dashed #e9c222;
}

.all_card {
    border: 1px dashed #44bcfa;
    height: 120px;
}

/*MENU MOBILE*/
#footer_menu {
    visibility: hidden;
}

#mobile_brand {
    visibility: hidden;
}

/*Km partie mobile*/
#card_km {
    display: none;
}

.btn_add_km {
    background-color: #0090ff !important;
    color: white !important;
    border-radius: 12px !important;
    font-weight: bold !important;
    margin-top: 20px;
}

@media screen and (max-width: 640px) {
    .box {
        margin-top: 0px;
    }

    .account_title {
        color: white;
    }

    .account_user {
        color: white;
    }

    .modal_title {
        color: white;
    }

    .tabs-component {
        margin: 1em 0;
        position: absolute;
        top: -130px;
        width: 100%;
        z-index: 1;
    }

    .position_card {
        position: relative;
    }

    /*Info sous calendrier*/
    .img_card {
        position: absolute;
        z-index: 1;
        left: 20px;
    }

    .img_chantier {
        top: -7px;
    }

    .img_chargement {
        top: -7px;
    }

    .img_divers {
        top: -7px;
    }

    .img_route {
        top: -7px;
    }

    .img_liaison {
        top: -7px;
    }

    .img_frais {
        top: -7px;
    }

    .img_all {
        top: -7px;
    }

    .btn_edit_mobile {
        display: block !important;
    }

    .year {
        color: white !important;
        font-size: 20px !important;
    }

    .month {
        color: white;
    }

    #layoutSidenav_content {
        background-color: #5a425c;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        min-height: calc(100vh - 150px) !important;
        width: 100%;
        padding: 0 !important;
        margin: 0 !important;
    }

    .container {
        margin: 0 !important;
        padding: 0 !important;
    }

    .month p {
        margin: 0 !important;
        font-size: 20px !important;
    }

    .year p {
        margin: 0 !important;
    }

    .tableHead {
        font-size: 1.5em !important;
        color: #2a192b;
    }

    .isDay {
        font-size: 2em !important;
        height: 49px !important;
        width: 49px !important;
        border: none !important;
        border-radius: none !important;
        color: white !important;
        position: relative;
    }

    .badge-text {
        display: none !important;
    }

    .btn-edit-day {
        display: none !important;
    }

    .divActive {
        background-color: #463047 !important;
        height: 45px;
        width: 45px;
        border-radius: 50% !important;
    }

    #separator {
        width: 80%;
        height: 2px;
        background-color: #463047;
        margin: auto;
    }

    .spanDay {
        width: 30px !important;
        position: absolute;
        top: 45px;
        right: 9px;
    }

    #total_all_content {
        display: none !important;
    }

    #total_card_content {
        display: block !important;
    }

    .details_card {
        position: relative;
    }

    .details_img {
        /*  position: absolute; */
        z-index: 1;
    }

    .details_div {
        width: 300px;
        border-radius: 10px;
        /* height: 115px; */
        position: relative;
        left: 40px;
        top: 10px;
        padding: 10px 18px;
    }

    .text_details {
        font-size: 1.3em;
        color: #787878;
        font-weight: bold;
    }

    .card_title {
        font-size: 1em;
        font-weight: bold;
        /* top: -5px;
        position: absolute; */
        width: 100px;
    }

    .span_details {
        font-size: 1.3em;
        font-weight: bold;
        color: #463047;
    }

    .details_img_chantier {
        top: -5px;
        left: 20px;
    }

    .text_muted {
        color: #efe8ef;
        font-size: 0.9em;
    }

    .meal_text {
        color: #5a425c;
        font-size: 0.9em;
        font-weight: bold;
    }

    .btn_edit_details {
        position: absolute;
        top: 7px;
        right: 85px;
    }

    .btn_delete {
        position: absolute;
        top: -20px;
        right: 165px;
    }

    .btn_edit_details .fa-pen {
        color: #017af2;
    }

    .btn_close_modal {
        font-size: 20px !important;
        font-weight: bold !important;
        color: #d4bed5 !important;
        background-color: #684e69 !important;
        padding: 2px 12px 6px 12px !important;
        border-radius: 50% !important;
    }

    /* Style des modals version mobiles */
    .input_modal {
        background-color: #f7f7f7 !important;
    }

    .label_modal {
        font-size: 1.2em;
        color: #5a425c;
        font-weight: bold;
        margin: 0;
    }

    .header_modal {
        background-color: #5a425c;
        height: 60px;
    }

    .modal_mobile {
        z-index: 1031;
    }

    /*MENU MOBILE*/
    #footer_menu {
        z-index: 999;
        visibility: visible;
        background-color: white;
        height: auto;
        width: 100%;
        position: fixed;
        bottom: 0;
    }

    #footer_menu a {
        color: #acacac;
        font-size: 1.4em;
        padding: 0;
    }

    #mobile_brand {
        visibility: visible;
        height: 50px;
    }

    .sb-nav-fixed #layoutSidenav #layoutSidenav_content {
        top: 0 !important;
        height: auto;
    }

    #footer_menu a.is-active {
        color: #463047;
    }

    /*MENU PC*/
    .sb-topnav {
        visibility: hidden;
    }

    /* KILOMETRE MOBILE */
    .km_title {
        display: none;
    }

    #km_table {
        display: none;
    }

    #card_km {
        display: block;
    }

    #weekKm {
        color: white;
    }

    #km_details {
        background-color: white;
        min-height: calc(80vh - -2px) !important;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    .img_km {
        top: 135px;
        left: 20px;
    }

    .btn_km_form {
        background-color: #0090ff !important;
        color: white !important;
        border-radius: 12px !important;
        font-weight: bold !important;
    }

    /*MODAL*/
    .card-body {
        padding: 0 !important;
    }

    .modal_form {
        padding: 10px;
    }

    .vm--modal {
        min-height: calc(125vh - 200px);
        top: 0 !important;
        max-height: 100% !important;
        overflow-y: auto !important;
    }

    .card {
        border: none !important;
    }

    #app {
        max-height: 320px;
    }

    .badge_edit {
        position: absolute !important;
        left: 160px !important;
        top: 5px !important;
    }

    /*Ajout d'une marge dans le formulaire de liaison pour affichage du bouton valider*/
    #form_liaison {
        padding-bottom: 100px;
    }
}
