/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 26 janv. 2022, 14:33:01
    Author     : dina
*/
@font-face {
    font-family: "Poppins-Regular";
    src: url('../fonts/Poppins-Regular.ttf');
}
@font-face {
    font-family: "OneSignature";
    src: url('../fonts/OneSignature.ttf');
}
body {
    font-family: "Poppins-Regular" !important;
    caret-color: transparent;
}
nav.navbar {
    position: fixed;
    width: 100%;
    z-index: 100;
}
#wrapper {
    padding-top: 70px;
}
input[type="search"], input[type="text"], input[type="number"] {
    caret-color: auto;
}
a {
    color: inherit;
}
a:hover {
    text-decoration: none;
}
.menu-icon-bar, .menu-home {
    width: 40px;
}
/*.menu-home {
    position: fixed;
    bottom: 10px;
}*/
img.menu-icon {
    width: 24px;
}
.sidebar a.nav-link .bulle {
    border-radius: 50%;
    display: inline-block;
    border: 2px solid #036FC7;
    padding: 6px;
    box-shadow: 0 0px 4px white;
    transition: all ease-in-out 0.3s;
}
.sidebar a.nav-link:hover .bulle {
    box-shadow: 0 0px 4px black;
    transform: rotate(360deg);
}
.sidebar a.nav-link .bulle.active {
    background-color: #036FC7;
}
.sidebar .nav-item .nav-link span {
    font-size: 14px !important;
    color: black;
}
.sidebar.toggled .nav-item .nav-link span {
    display: none !important;
}
.sidebar .nav-item .nav-link[data-toggle="collapse"].collapsed::after, .sidebar .nav-item .nav-link[data-toggle="collapse"]::after{
    padding-top: 8px;
    color: black;
}
.sidebar #sidebarToggle::after {
    display: none;
}
.page-title {
    text-transform: uppercase;
    margin-top: 3rem;
    color: #036FC7;
}
#logo {
    left: 10px;
    top: 18px;
    font-weight: bold;
    font-size: 25px;
    letter-spacing: 1px;
    cursor: default;
    color: #026EC7 !important;
    position: relative
}
.bottom {
    position: fixed;
    bottom: 0;
}
/*.sidebar-toggled .sidebar .bottom {
    margin-left: 92px !important;
}*/
.sidebar-toggled .sidebar.toggled .bottom {
    margin-left: 0 !important;
}
#menu-admin {
    max-height: 300px;
    overflow-y: scroll;
}
#userDropdown span{
    color: #858796;
}
#userDropdown:hover span{
    color: #5a5c69;
}
div.toolbar {
    padding-top: 2px;
}
@media (max-width: 767px) {
    .sidebar .nav-item .nav-link {
        font-size: 12px;
    }
}
/* ancien style utiles */
    .box {
        padding: 6px 10px;
    }
    table.dataTable {
        border-spacing: 0 4px !important;
    }
    .dataTables_scrollBody {
        margin-top: -8px;
    }
    table.dataTable.display tbody tr {
        box-shadow: none !important;
    }
    table.dataTable.display tbody tr td{
        border-bottom: 1px solid #ddd;
    }
    table.dataTable.display tbody tr td:first-child, table.dataTable.display tbody tr td.border-lft {
        border-left: 1px solid #ddd;
        border-top-left-radius: 6px;
        border-bottom-left-radius: 6px;
    }
    table.dataTable.display tbody tr td.action, table.dataTable tbody tr td.dataTables_empty, table.dataTable tbody tr td.child {
        border-right: 1px solid #ddd;
        border-top-right-radius: 6px;
        border-bottom-right-radius: 6px;
    }
    .dataTables_wrapper.no-footer .dataTables_scrollBody {
        border-bottom: none !important;
    }
    table.dataTable.display tbody tr:first-child td {
        border-top: 1px solid #ddd !important;
    }
    .search-title {
        font-variant: all-petite-caps;
        font-weight: bold;
    }
    tr.odd {
        background-color :#ffffff !important;
    }
    tr.odd:hover, tr.even:hover {
        background-color :#f6f6f6 !important;
    }
/*    table.dataTable.display tbody tr.even > .sorting_1, table.dataTable.order-column.stripe tbody tr.even > .sorting_1, 
    table.dataTable.display tbody tr.odd > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
        background-color: white !important;
    }*/
    table.dataTable thead th, table.dataTable thead td, table.dataTable.no-footer {
        border-bottom: none !important;
        border-top: none !important;
    }
    .dataTables_length {
        display: none;
    }
    #bt-Ajout:hover, #bt-AjoutSection:hover, #bt-Add:hover, a:hover{
        text-decoration: none;
    }
    .list-container table div.dropleft.dropleft .dropdown-toggle::before {
        display: none;
    }
    #bt-Ajout, #bt-Add, #bt_add_tractage, #btn-add-ges-cht, #addIpAdress, #bt-orderSection, #bt_add_new_request {
        color: #026ec7;
        text-transform: uppercase;
        cursor: pointer;
        font-size: 14px;
        font-weight: bold;
        padding-left: 2px !important;
    }
    #bt-Ajout .fa-plus, #bt-Add .fa-plus, #bt_add_tractage .fa-plus, #btn-add-ges-cht .fa-plus, #addIpAdress .fa-plus, #bt-orderSection .fa, #bt_add_new_request .fa-plus  {
        margin-right: 5px;
        display: inline-block;
        width: 2.4em;
        height: 2.4em;
        border-radius: 50%;
        line-height: 2.4em;
        text-align: center;
        text-decoration: none;
        background-color: #026ec7;
        color: white;
        font-size:14px;
    }
    input[type="search"] {
        -webkit-appearance: auto;
        border: 1px solid #ccc;
        padding: 6px 10px;
        border-radius: 6px;
        width: 250px;
    }
    .select2 > input[type="search"] {
        width: 100%;
    }
    .select2-dropdown {
        min-width: 150px;
    }
    .pignose-calendar-unit-date a, .pignose-calendar-top-month {
        color: black !important;
    }
    .pignose-calendar-unit-active a {
        color: white !important;
    }
    .pignose-calendar .pignose-calendar-top .pignose-calendar-top-nav.pignose-calendar-top-next {
        margin-right: 0.6rem !important;
    }
    .pignose-calendar .pignose-calendar-top .pignose-calendar-top-nav.pignose-calendar-top-prev {
        margin-left: 0.6rem !important;
    }
    #wrapper #content-wrapper {
        background-color: #F5F7F8 !important
    }
    
    .select2-container--default .select2-selection--single {
        height: 38px!important;
        padding: 0.375rem 0.75rem;
    }
    .select2-container--default .select2-selection--multiple {
        padding: 0.375rem 0.75rem;
    }
    .select2-container--default .select2-selection--multiple .select2-search__field {
        width: 100% !important;
    }
    .atlwdg-trigger {
        z-index: 9;
    }
    .page-content .ui-state-active {
        background-color: #036FC7 !important;
        border: 1px solid #036FC7 !important;
        color: white !important;
    }
    .page-content .ui-accordion .ui-accordion-content {
        padding: 0.5em 1em !important;
    }
    .page-content .ui-accordion {
        border: 1px solid #ddd !important;
        margin-bottom: 4px;
        border-radius: 4px;
    }
/* end ancien style utiles */

@media screen and (max-width: 767px) {
    .sidebar .nav-item .nav-link span {
        font-size: 12px !important;
    }
    .sidebar .nav-item .nav-link {
        padding: 0.5rem 0.2rem !important;
    }

}
@media (min-width: 406px) and (max-width: 649px) {
    input[type="search"] {
        margin-top: 20px !important;
    }

}
@media (min-width: 300px) and (max-width: 405px) {
    input[type="search"] {
        margin-top: 10px !important;
    }
    .dataTables_wrapper .dataTables_filter {
        margin-top: 2.5em !important;
    }

}

/*.page-content .ui-state-default,*/
.page-content .ui-widget-content .ui-state-default,
.page-content .ui-widget-header .ui-state-default,
.page-content .ui-button,
.page-content .ui-button.ui-state-disabled:hover,
.page-content .ui-button.ui-state-disabled:active {
    border: 1px solid #c5c5c5;
    background: #f6f6f6;
    font-weight: normal;
    color: #454545;
}
#tableMainList {
    width: 100% !important;
}
#tableMainList_wrapper {
    overflow: auto !important;
}
@media (max-width: 780px) {
    .mt-responsive {
        margin-top: 0 !important;
    }
}

/* Notification d'erreur ajax' */
#toast {
    visibility: hidden;
    /* max-width: 50px; */
    height: 50px;
    width:auto;
    /*margin-left: -125px;*/
    margin: auto;
    background-color:#B22C2C;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    position: fixed;
    z-index: 40000;
    right: 10px;
    bottom: 30px;
    font-size: 17px;
    white-space: nowrap;
    -webkit-box-shadow: 4px 4px 20px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 4px 4px 20px 0px rgba(0,0,0,0.75);
    box-shadow: 4px 4px 20px 0px rgba(0,0,0,0.75);
}

#toastSuccess {
    visibility: hidden;
    /* max-width: 50px; */
    height: 50px;
    width:auto;
    /*margin-left: -125px;*/
    margin: auto;
    background-color:rgb(82, 178, 44);
    color: #fff;
    text-align: center;
    border-radius: 2px;
    position: fixed;
    z-index: 40000;
    right: 10px;
    bottom: 30px;
    font-size: 17px;
    white-space: nowrap;
    -webkit-box-shadow: 4px 4px 20px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 4px 4px 20px 0px rgba(0,0,0,0.75);
    box-shadow: 4px 4px 20px 0px rgba(0,0,0,0.75);
}
#toast #img, #toastSuccess #imgSuccess{
    width: 50px;
    height: 50px;
    float: left;
    line-height: 50px;
    /*    padding-top: 16px;
        padding-bottom: 18px;*/
    box-sizing: border-box;
    background-color: #111;
    color: #fff;
}
#toast #desc, #toastSuccess #descSuccess{
    color: #fff;
    font-size: .8rem;
    padding: 16px;
    overflow: hidden;
    white-space: nowrap;
}

#toast.show, #toastSuccess.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, expand 0.5s 0.5s,stay 6s 1s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, expand 0.5s 0.5s,stay 6s 1s, fadeout 0.5s 4.5s;
}

@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;} 
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes expand {
    from {min-width: 50px} 
    to {min-width: 400px}
}

@keyframes expand {
    from {min-width: 50px}
    to {min-width: 400px}
}
@-webkit-keyframes stay {
    from {min-width: 350px} 
    to {min-width: 400px}
}

@keyframes stay {
    from {min-width: 400px}
    to {min-width: 400px}
}
@-webkit-keyframes shrink {
    from {min-width: 400px;} 
    to {min-width: 50px;}
}

@keyframes shrink {
    from {min-width: 400px;} 
    to {min-width: 50px;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;} 
    to {bottom: 60px; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 60px; opacity: 0;}
}


@media (max-width: 864px) {
    .atlwdg-trigger.atlwdg-RIGHT {
        left: 27% !important;
        top: 97% !important;
        -webkit-transform: rotate(0deg) !important;
        /* -webkit-transform-origin: top left; */
        -moz-transform: rotate(0deg) !important;
        -moz-transform-origin: top left !important;
        -ms-transform: rotate(0deg) !important;
        -ms-transform-origin: top left !important;
        /* transform: rotate(90deg); */
        /* transform-origin: top left;*/
    }
}

@media (max-height: 641px)  {
    .atlwdg-trigger.atlwdg-RIGHT {
        left: 27% !important;
        top: 95% !important;
        -webkit-transform: rotate(0deg) !important;
        /* -webkit-transform-origin: top left; */
        -moz-transform: rotate(0deg) !important;
        -moz-transform-origin: top left !important;
        -ms-transform: rotate(0deg) !important;
        -ms-transform-origin: top left !important;
        /* transform: rotate(90deg); */
        /* transform-origin: top left;*/
    }
}
textarea {caret-color: auto;}
table.dataTable>tbody>tr.child td.child {
    max-width: 100%;
    overflow-x: auto;
}
table.dataTable>tbody>tr.child ul.dtr-details>li {
    display: inline-grid;
    padding: 0.5em !important;
    border-left: 1px solid #ddd;
    text-align: center;
    border-bottom: none !important;
}
table.dataTable>tbody>tr.child ul.dtr-details>li:first-child {
    border-left: none !important;
}
table.dataTable>tbody>tr.child ul.dtr-details>li:last-child {
    border-right: 1px solid #ddd;
}
table.dataTable>tbody>tr.child ul.dtr-details>li>span.dtr-data:empty::before {
    content: "_";
    color: transparent;
}
.btn-retour a i {
    position: relative;
    right:0;
    transition: ease-out 0.3s linear;
}
.btn-retour a:hover i {
    right: 4px;
}
#bt-Ajout i.fa-plus, #bt-Add i.fa-plus, #bt_add_tractage i.fa-plus, #bt_add_bagage i.fa-plus, #bt_add_groupe i.fa-plus, #btn-add-ges-cht i.fa-plus, #bt_add_group i.fa-plus, #bt-AjoutSection i.fa-plus, #addIpAdress i.fa-plus {
    transition: transform .1s;
}
#bt-Ajout:hover i.fa-plus, #bt-Add:hover i.fa-plus, #bt_add_tractage:hover i.fa-plus, #bt_add_bagage:hover i.fa-plus, #bt_add_groupe:hover i.fa-plus, #btn-add-ges-cht:hover i.fa-plus, #bt_add_group:hover i.fa-plus, #bt-AjoutSection:hover i.fa-plus, #addIpAdress:hover i.fa-plus {
    -ms-transform: scale(1.04); /* IE 9 */
    -webkit-transform: scale(1.04); /* Safari 3-8 */
    transform: scale(1.04);
}
select[readonly] {
    pointer-events: none;/* désactiver le clic sur un selecteur readonly */
}

.switch-parent {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
}
.all-label-switch-closed { 
    margin-bottom: 0;
}

@media (min-width: 768px) and (max-width: 986px) {
    .switch-parent {
        min-width: 215px;
    }
}