@media print
{
    @page {
        size: A4; /* DIN A4 standard, Europe */
        margin:0;
    }
    body {
        padding:10mm 15mm;
    }
}
.navbar-brand {
    padding-top: 10px;
    padding-bottom: 10px;
}
.navbar-brand img {
    height: auto;
}
.dataTables_length {
    float: left;
}
.dataTables_filter {
    float: right;
    padding-right: 1.5em;
}
.dataTables_info {
    padding-left: 1.5em;
}
.dataTables_paginate {
    margin: 0 1.25rem 1.25rem 1.25rem;
}
.table td, .table th {
    padding: .75rem 1rem;
}
.table td .badge {
    width: 100%;
 }
.badge_size{
    font-size: 14px;
    text-transform: uppercase;
    padding: 6px;
}
.btn_radio {
    padding: .4375rem .875rem;
}
form#formAddEmployee {
    position: relative;
}
.dateIcon {
    position: absolute;
    right: 0;
    z-index: 5;
    border-left: 1px solid #ccc;
}
.icon_right {
    position: relative;
}
.daterangepicker,.input-datepicker .icon_right {
    position: relative;
    z-index: 0;
}
.daterangepicker i,.input-datepicker i,.icon_right i {
    position: absolute;
    right: .75rem;
    top: .60rem;
    bottom: .62502rem;
    color: #999;
}
.input-daterange input {
    text-align: left;
}
.alert_show_hide{
    position: fixed;
    top: 13%;
    right: 10px;
    max-width: 400px;
}
.input-group>.custom-file, .input-group>.custom-select, .input-group>.form-control {
    width: auto;
}
.p_left {
    margin-left: 15px;
}
#furloughs_datatable{
    width: 100% !important;
}
.loading{
    display: none;
}
.close_modal {
    cursor: pointer;
}
.dataTable {
    border-bottom: 1px solid #dedede;
    margin-bottom: 15px;
}

/* ROUNDED ONE */
.inline{
    display: inline-block;
}
.inline + .inline{
    margin-left:10px;
}
.radio{
    color:#999;
    font-size:15px;
    position:relative;
}
.radio label{
    position:relative;
    padding-left:20px;
}
.radio label:after{
    content:'';
    width: 16px;
    height: 16px;
    border: 2px solid;
    position: absolute;
    left: 0;
    top: 2px;
    border-radius:100%;
    -ms-border-radius:100%;
    -moz-border-radius:100%;
    -webkit-border-radius:100%;
    box-sizing:border-box;
    -ms-box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
}
.radio input[type="radio"]{
    cursor: pointer;
    position:absolute;
    width:100%;
    height:100%;
    z-index: 1;
    opacity: 0;
    filter: alpha(opacity=0);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"
}
.radio input[type="radio"]:checked  label{
    color:#0B8;
}
.radio input[type="radio"]:checked  +label:before{
    content: '';
    width: 8px;
    height: 8px;
    position: absolute;
    background: #0B8;
    left: 4px;
    top: 6px;
    border-radius: 100%;
    -ms-border-radius: 100%;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
}
img.logo_login {
    width: 100%;
}
table th:last-child,table td:last-child{
    text-align: center;
}
.form-control:disabled, .form-control[readonly] {
    background-color: #eeee;
}
.card-dashboard {
    border-radius: .55rem;
    background: #fff;
    transition: .5s;
    border: 0;
    margin-bottom: 20px;
    position: relative;
    width: 100%;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);
}
.card-dashboard .body {
    color: #444;
    padding: 15px;
    font-weight: 400;
}
.top_counter .icon {
    float: left;
    width: 50px;
    height: 50px;
    border: 1px solid #eee;
    border-radius: .55rem;
    text-align: center;
}
.top_counter .icon i {
    font-size: 20px;
    line-height: 49px;
}
.top_counter .content_counter {
    padding-left: 60px;
}
.selected_row{
    cursor: pointer;
}
.datatable-employees-authorization tbody tr,.datatable-authorization tbody tr{
    cursor: pointer;
}
.chartz_dashboard .card{
    height: 100%;
}
.nav-group-sub .nav-link {
    padding: .625rem 1.25rem .625rem 2.5rem;
}
/* Base for label styling */
[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    position: absolute;
    left: -9999px;
}
[type="checkbox"]:not(:checked) + label,
[type="checkbox"]:checked + label {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
}

/* checkbox aspect */
[type="checkbox"]:not(:checked) + label:before,
[type="checkbox"]:checked + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0px;
    width: 20px;
    height: 20px;
    border: 1px solid #0B8;
    background: #f8f8f8;
    border-radius: 3px;
    box-shadow: inset 0 1px 3px rgba(5, 74, 249, 0.3);
}
/* checked mark aspect */
[type="checkbox"]:not(:checked) + label:after, [type="checkbox"]:checked + label:after {
    font: normal normal normal 14px/1 FontAwesome;
    content: '\f00c';
    position: absolute;
    top: 3px;
    left: 3px;
    font-size: 14px;
    color: #0B8;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    transition: all .2s;
}
/* checked mark aspect changes */
[type="checkbox"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
}
[type="checkbox"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}
/* disabled checkbox */
[type="checkbox"]:disabled:not(:checked) + label:before,
[type="checkbox"]:disabled:checked + label:before {
    box-shadow: none;
    border-color: #bbb;
    background-color: #ddd;
}
[type="checkbox"]:disabled:checked + label:after {
    color: #999;
}
[type="checkbox"]:disabled + label {
    color: #aaa;
}


.dataTables_wrapper .dataTables_processing {
    position: absolute;
    top: 46%;
    left: 0;
    width: 100%;
    height: 50px;
    text-align: center;
    font-size: 1.2em;
    background-color: #efefef;
    border: 1px solid #ececec;
    margin: 30px auto;
    right: 0;
    opacity: 0.9;
    border-right: none;
    border-left: none;
    padding-top: 14px;
}
.col-filter{
    display: inline-block;
    vertical-align: top;
    max-width: 225px;
    width: 100%;
}
.icon-coin-tnd:before {
    content: "TND" !important;
}
.list-icons-btn {
    padding: 8px;
    border: 1px;
    line-height: 1;
    cursor: pointer;
    border-radius: 2px;
    margin: 0 1px;
}
.input-select-employees{
    max-width: 300px;
}
.selected_row:hover {
    -webkit-box-shadow: inset 1px 0 0 #dadce0, inset -1px 0 0 #dadce0, 0 1px 2px 0 rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
    box-shadow: inset 1px 0 0 #dadce0, inset -1px 0 0 #dadce0, 0 1px 2px 0 rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
    z-index: 1;
}
#employee_document_demand_filter_select {
    width: 50% !important;
}

.width-auto{
    width: auto;
}

.photo-employee {
    width: 160px;
    height: 160px;
    border-radius: 8px;
}

.red-color {
    color: red;
}

.input-upload-filename {
    padding-left: 0.3rem;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.btn-upload-photo {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.pending-furlough {
    background-color: #FF8000;
}

.pending-sick-furlough {
    background-color: #a97bf2;
}

.validated-furlough {
    background-color: #46A24A;
}

.validated-sick-furlough {
    background-color: #438df5;
}

.furloughs-planning-border {
    border-bottom: 2px solid #324148 !important;
}

.select-col-6 {
    padding-left: 0.5rem;
}

.header-projects {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.header-projects__add-div {
    padding-right: 1.5em;
}

.project-planning-filter-btn {
    bottom: 24%;
}

.planning-table {
    text-align: left;
    margin-left: auto;
    margin-right: auto;

    th .date {
        height: 4rem;
        width: 5rem;
    }

    td {
        height: 2rem;
        width: 30rem;
    }
}

.planning-weekend {
    background-color: #acabab;
}

.planning-holiday {
    background-color: #ffe5c7;
}

.planning-furlough {
    background-color: #619e61;
}

.planning-today {
    background-color: #00bcd4 !important;
}

.planning-furlough-pending {
    border-color: orange !important;
    border-width: 2px !important;
}

.planning-must-be-filled {
    border-color: red !important;
    border-width: 2px !important;
}

.planning-resources-table {
    text-align: left;
    margin-left: auto;
    margin-right: auto;

    th .date {
        height: 4rem;
        width: 5rem;
    }

    td {
        padding: 0 .5rem 0 .5rem;
        height: 2rem;
        width: 30rem;
    }

}

button#edition-mode-btn {
    min-width: 170px;
    max-width: 170px;
}
.visible {
    visibility: visible;
}
.invisible {
    visibility: hidden;
}

@media screen and (max-width: 1200px) {
    .dataTables_wrapper {
        max-width: 992px;
        width: 100%;
        overflow: scroll;
    }
    .dataTable thead th {
        font-size: 12px;
        line-height: 16px;
        padding: 15px 5px;
        margin: 0;
    }
    .dataTable tbody td {
        font-size: 12px;
        line-height: 16px;
        padding: 10px 5px;
        margin: 0;
    }
    .dataTable tbody td>i {
        display: none;
    }
    .p_left {
        margin-left: 10px;
    }
    .form-group [class*=col-xl-]:not([class*=col-form-label])+[class*=col-xl-] {
        margin-top: 0rem;
    }
    .sidebar {
        width: 14.875rem;
    }
}

@media screen and (max-width: 992px) {
    .btn-add-employee {
        margin-top: 0px;
    }
}

@media screen and (max-width: 768px) {
    .dataTables_length,.dataTables_filter {
        float: none!important;
        text-align: left;
        margin-left: 0;
        padding: 0 15px;
    }
    .daterangepicker {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    #navbar-footer {
        text-align: center;
    }
    .hidden-sm {
        display: none;
    }
    .col-filter {
        display: block;
        max-width: none;
        width: 100%;
        margin-bottom: 0px;
    }
    .btn-add-employee {
        display: block;
    }
}

@media screen and (max-width: 500px) {
    #print-info ,#re-send-password{
        margin: 5px !important;
    }
    .nav-link {
        display: block;
        padding: .625rem 0.8rem;
    }
    .nav-sidebar .nav-link {
        font-size: 12px;
        font-weight: 400 !important;
    }
    .dataTables_filter>label:after {
        display: none;
    }
    .hidden-xs {
        display: none;
    }
    .nav-tabs .nav-item {
        display: block;
        width: 100%;
        border-bottom: 1px solid #d8d5d5;
    }
}
