﻿/*----------------------- Preloader -----------------------*/

/* -------------------------------------*/
.m-login.m-login--2 .m-login__wrapper {
    padding: 3% 2rem 1rem 2rem;
}

    .m-login.m-login--2 .m-login__wrapper .m-login__container .m-login__logo {
        margin: 0 auto 3rem auto;
    }

    .m-login.m-login--2 .m-login__wrapper .m-login__container .m-login__form {
        margin: 3rem auto;
    }

.validation-summary-errors ol, ul, dl {
    margin-top: 0;
    margin-bottom: 0;
}

.dataTable tbody tr:hover td {
    background-color: #f4f3fb !important;
}

.dataTable thead tr {
    height: 47px;
    background-color: #f4f3fb;
}

.m-menu__item--active {
    background: #6D7683 !important;
}

    .m-menu__item--active .m-menu__link-icon, .m-menu__item--active .m-menu__link-text {
        color: white !important;
    }

    .m-menu__item--active .m-menu__link-bullet--dot span {
        background: white !important;
    }

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

div#clients_length {
    margin-top: 9px;
    margin-left: 10px;
}

@media (min-width: 993px) {
    .m-form .m-form__group {
        padding-bottom: 10px !important;
    }
}

@media (min-width: 993px) {
    .m-login__form .m-form__group {
        padding-bottom: 0px !important;
    }
}

.nav-item .m-badge {
    margin-left: 5px;
}

.m-portlet.m-portlet--white.m-portlet--head-solid-bg .m-portlet__head {
    background-color: white;
    border-bottom: 1px solid #ebedf2;
}

    .m-portlet.m-portlet--white.m-portlet--head-solid-bg .m-portlet__head .m-portlet__head-text {
        color: #575962;
    }

    .m-portlet.m-portlet--white.m-portlet--head-solid-bg .m-portlet__head .m-portlet__head-icon {
        color: #b2b1c5;
    }

.m-list-timeline__items .m-list-timeline__item .m-list-timeline__time {
    width: 30%;
}

.m-list-timeline__items .username {
    font-size: 1rem;
    font-weight: 500;
    display: block;
}

.rowwithmargin .row > div:last-child {
    padding-bottom: 0px;
}

@media screen and (max-width: 600px) {
    .rowwithmargin .row > div {
        padding-bottom: 15px;
    }
}

.m-form .m-form__group {
    padding-top: 0px;
    padding-bottom: 10px;
}

.m-portlet__head-text .m-checkbox {
    margin-bottom: 16px;
}

.m-login.m-login--1 .m-login__wrapper {
    padding: 10px 2rem 0px 2rem;
}

    .m-login.m-login--1 .m-login__wrapper .m-login__form .m-login__form-action {
        margin: 2rem 0 3rem 0;
    }

.m-form .m-form__actions {
    padding: 10px 30px 10px 30px;
}

.m-portlet .m-portlet__foot:not(.m-portlet__no-border).m-portlet__foot--top {
    border-top: 1px solid #ebedf2;
    border-bottom: 1px solid #ebedf2;
    margin-bottom: 15px;
    padding: 0px;
}

.m-portlet.m-portlet--head-sm .m-portlet__foot, .m-portlet.m-portlet--head-sm .m-portlet__body {
    padding-top: 10px;
    padding-bottom: 5px;
}

.ticket-profil {
    height: 40px;
    width: 40px;
    display: inline-block;
    text-align: center;
    position: relative;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    text-align: center;
    vertical-align: middle;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    -o-border-radius: 100%;
    border-radius: 100%;
    background-color: #34bfa3;
}

    .ticket-profil span {
        line-height: 0;
        font-weight: 600;
        font-size: 1.3rem;
        text-transform: uppercase;
        color: white;
    }

.m-portlet .m-portlet__body {
    padding: 1rem 1rem;
}

.m-form .m-form__section {
    margin-bottom: 10px;
}

.dataTables_length {
    margin-top: 9px;
    margin-left: 10px;
}

.m-aside-menu.m-aside-menu--skin-dark .m-menu__nav > .m-menu__item > .m-menu__heading .m-menu__link-text, .m-aside-menu.m-aside-menu--skin-dark .m-menu__nav > .m-menu__item > .m-menu__link .m-menu__link-text {
    color: #b7b9ca;
}

.m-aside-menu.m-aside-menu--skin-dark .m-menu__nav > .m-menu__item > .m-menu__heading .m-menu__link-icon, .m-aside-menu.m-aside-menu--skin-dark .m-menu__nav > .m-menu__item > .m-menu__link .m-menu__link-icon {
    color: #b7b9ca;
}

.m-form__heading-title {
    margin-top: 10px;
}

.gcontrol {
    height: 20px !important;
    width: 80%
}

.modaldelete {
    text-align: center;
    padding: 0 !important;
}

    .modaldelete:before {
        content: '';
        display: inline-block;
        height: 100%;
        vertical-align: middle;
        margin-right: -4px;
    }

    .modaldelete .modal-dialog {
        display: inline-block;
        text-align: left;
        vertical-align: middle;
    }

.totaletat {
    display: inline;
}

    .totaletat::before {
        margin-right: 5px;
        content: '(';
        padding-left: 5px;
    }

    .totaletat::after {
        margin-left: 5px;
        content: ')';
    }

.stathead::before {
    content: '|';
    margin-right: 20px;
}

.stathead {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 15px !important;
}

.statmont {
    color: #6f727d;
    font-size: 12px;
    display: block;
    font-weight: 600;
}

.stats .statmont:first-child:after {
    content: " HT";
    font-size: 10px;
}

.stats .statmont:nth-child(2):after {
    content: " TTC";
    font-size: 10px;
}

.table-responsive {
    width: 100%;
    margin-bottom: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

.m-widget1 {
    padding: 5px 2.2rem;
}

.m-login.m-login--2 .m-login__wrapper .m-login__container .m-login__form .m-form__group .form-control {
    border-radius: 40px;
    border: none;
    padding: 1.5rem 1.5rem;
    margin-top: 1.5rem;
    border: 1px solid #003d89;
}

.m-aside-menu.m-aside-menu--skin-dark .m-menu__nav > .m-menu__item > .m-menu__heading .m-menu__link-icon, .m-aside-menu.m-aside-menu--skin-dark .m-menu__nav > .m-menu__item > .m-menu__link .m-menu__link-icon {
    color: white;
}

.m-aside-menu.m-aside-menu--skin-dark .m-menu__nav > .m-menu__item > .m-menu__heading .m-menu__link-text, .m-aside-menu.m-aside-menu--skin-dark .m-menu__nav > .m-menu__item > .m-menu__link .m-menu__link-text {
    color: white;
}

.m-aside-menu .m-menu__nav {
    background-color: transparent;
}

.img-responsive {
    max-width: 100%;
    height: auto;
    width: 200px;
}

.m-menu__item--active {
    background: #b3303099 !important;
}

.m-aside-menu.m-aside-menu--skin-dark .m-menu__nav > .m-menu__item:not(.m-menu__item--parent):hover {
    background-color: #b3303099;
}

.m-aside-left.m-aside-left--skin-dark {
    background: rgba(135,136,136,1);
    background: -moz-linear-gradient(-45deg, rgba(135,136,136,1) 0%, rgba(135,136,136,1) 52%, rgba(179,48,48,1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(135,136,136,1)), color-stop(52%, rgba(135,136,136,1)), color-stop(100%, rgba(179,48,48,1)));
    background: -webkit-linear-gradient(-45deg, rgba(135,136,136,1) 0%, rgba(135,136,136,1) 52%, rgba(179,48,48,1) 100%);
    background: -o-linear-gradient(-45deg, rgba(135,136,136,1) 0%, rgba(135,136,136,1) 52%, rgba(179,48,48,1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(135,136,136,1) 0%, rgba(135,136,136,1) 52%, rgba(179,48,48,1) 100%);
    background: linear-gradient(135deg, rgba(135,136,136,1) 0%, rgba(135,136,136,1) 52%, rgba(179,48,48,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#878888', endColorstr='#b33030', GradientType=1 );
}

.m-brand.m-brand--skin-dark {
    background: #282a3c;
    background-color: rgb(40, 42, 60);
    background-color: #c20017;
}

.m-aside-menu .m-menu__nav > .m-menu__section {
    margin: 0 0 0 0;
    height: 40px;
    background-color: white;
    color: black;
    font-size: 23px;
    text-align: center;
    border-right: 6px solid #c20017;
    border-left: 5px solid #c20017;
}

.m-aside-left--minimize .m-aside-menu.m-aside-menu--skin-dark .m-menu__nav > .m-menu__item > .m-menu__link > .m-menu__link-icon {
    color: #fcfcfc;
}

.overlay-effect {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 1;
    transition: .5s ease;
    background-color: rgba(259, 67, 95, 0.7);
    overflow: hidden;
}

.m-card-user.m-card-user--skin-dark .m-card-user__details .m-card-user__name {
    color: #fff;
}

.m-topbar .m-topbar__nav.m-nav > .m-nav__item > .m-nav__link .m-topbar__userpic img {
    border: 3px solid #c20017;
    padding: 3px;
}

.m-badge.m-badge--color7 {
    background-color: #991a1a;
    color: #ffffff;
}

.m-badge.m-badge--color8 {
    background-color: #9816f4;
    color: #ffffff;
}

@media (min-width: 768px) {
    .m-dropdown.m-dropdown--align-center.m-dropdown--large .m-dropdown__wrapper {
        right: 0;
        left: auto;
    }
}

.m-topbar .m-topbar__nav.m-nav > .m-nav__item > .m-nav__link .m-nav__link-icon > i::before {
    background: -webkit-linear-gradient(180deg, #ad5beb 25%, #c678db 50%, #da6ea9 75%, #e76e92 100%);
    background: linear-gradient(180deg, #545454 25%, #8b8b8b 50%, #c20017 75%, #c20017 100%);
    background-clip: border-box;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.linknotif {
    margin-top: 5px !important;
}

.m-dropdown.m-dropdown--large .m-dropdown__wrapper {
    width: 500px;
}



.pagination a[disabled] {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}

.pagination span.active {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #c20017;
    border-color: #c20017;
}

.pagination > li > a, .pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #c20017;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

    .pagination > li {
        display: inline;
    }

.m-widget3 .m-widget3__item .m-widget3__header .m-widget3__info {
    padding-left: 0rem;
}

.m-widget3 .m-widget3__item {
    display: inline-block;
    padding: 10px;
}

    .m-widget3 .m-widget3__item:hover {
        text-decoration: none;
        background-color: #f9f7f7;
        border-left: 4px solid #c20017;
    }

.m-widget3 .m-widget3__item {
    margin-bottom: 0rem;
    width: 100%
}

    .m-widget3 .m-widget3__item .m-widget3__header .m-widget3__info .m-widget3__time {
        font-size: 0.90rem;
        color: black;
    }

    .m-widget3 .m-widget3__item .m-widget3__header .m-widget3__info {
        width: 60%;
    }

    .m-widget3 .m-widget3__item .m-widget3__header .m-widget3__status {
        width: 40%;
    }

.notitems a:hover {
    text-decoration: none;
}

.notitems {
    padding-bottom: 15px;
}

html, body {
    font-size: 12px !important;
    font-weight: 300 !important;
}

option:disabled {
    color: lightgray;
}

.m-portlet .m-portlet__body {
    color: #2c2c2f;
}

.etatitem {
    color: white;
    padding: 2px 10px;
    width: 80%;
    white-space: nowrap;
    text-overflow: ellipsis;
    position:relative; 
}
    .etatitem .info {
        position: absolute !important;
        top: -5px;
        right: -5px;
        color: black;
        border: 1px solid black;
        background: white;
        border-radius: 3px;
        height: 12px;
        width: 12px;
        padding: 2px;
        line-height: initial;
    }
    .etatitem .info i {
        padding-top:0px;
    }
.m-tabs-line.m-tabs-line--brand.nav.nav-tabs .nav-link:hover, .m-tabs-line.m-tabs-line--brand.nav.nav-tabs .nav-link.active, .m-tabs-line.m-tabs-line--brand a.m-tabs__link:hover, .m-tabs-line.m-tabs-line--brand a.m-tabs__link.active {
    border-bottom: 2px solid #003D89;
}

.boxcontrat:hover {
    box-shadow: 0 0 11px rgba(33,33,33,.2);
}

.boxcontrat:link {
    margin: 0px;
    border-left-width: 5px !important;
    padding: 5px;
    text-decoration: none;
}

.boxcontrat span {
    text-decoration: none;
}

.m-portlet .m-portlet__body {
    color: black !important;
}

.custom-file2 {
    position: absolute;
    bottom: 15px;
    width: 111px;
}

    .custom-file2 .custom-file-control:after {
        content: "Parcourir" !important;
    }

    .custom-file2 .custom-file-control:before {
        content: none;
    }

    .custom-file2 .custom-file-control {
        padding: 0px !important;
        height: 20px;
        width: 60px;
        bottom: 0px;
        left: 30px;
        top: auto;
    }


#button {
    display: block;
    margin: 20px auto;
    padding: 10px 30px;
    background-color: #eee;
    border: solid #ccc 1px;
    cursor: pointer;
}

#overlay {
    position: fixed;
    top: 0;
    z-index: 100000;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0,0,0,0.6);
}

    #overlay .text {
        color: white;
        margin-top: 14px;
    }

.cv-spinner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px #ddd solid;
    border-top: 4px red solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
}

@keyframes sp-anime {
    100% {
        transform: rotate(360deg);
    }
}

.is-hide {
    display: none;
}
.dataTables_wrapper .dataTables_processing{
    top:10%!important;
    height:100%!important
}


/* General styles for the upload section */
.file-upload-section {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

    /* Label and button alignment */
    .file-upload-section label {
        font-weight: bold;
        margin-bottom: 10px;
        display: block;
    }

    .file-upload-section .btn-primary {
        margin-top: 10px;
    }

/* Uploaded files section */
.uploaded-files-section h5 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}

.list-group {
    padding-left: 0;
    margin-top: 10px;
}

.list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-bottom: 5px;
    border-radius: 3px;
    padding: 10px 15px;
}

    .list-group-item:hover {
        background-color: #f7f7f7;
    }

    .list-group-item .btn-danger {
        font-size: 12px;
        padding: 5px 10px;
    }

/* Responsive adjustments */
@media (max-width: 576px) {
    .list-group-item {
        flex-direction: column;
        align-items: flex-start;
    }

        .list-group-item .btn-danger {
            margin-top: 5px;
        }
}
