/*// animation when ajax is loading*/
.loading-ajax {
    pointer-events: none;
    position: relative;
}

.loading-ajax::before {
    content: "";
    position: absolute;
    background-color: rgba(29, 41, 62, 0.69);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.loading-ajax::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    z-index: 200;
    border: 5px solid white;
    border-radius: 50%;
    animation: loader-scale 1s ease-out infinite;
    -webkit-animation: loader-scale 1s ease-out infinite;
}

@keyframes loader-scale {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

@-webkit-keyframes loader-scale {
    0% {
        -webkit-transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        -webkit-transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}


.ibox-title h5 {
    display: inline-block;
    font-size: 14px;
    margin: 0 0 7px;
    padding: 0;
    text-overflow: ellipsis;
    float: left;
}

.ibox-title .label {
    float: left;
    margin-left: 4px;
}

.ibox-title.flex {
    display: flex;
    justify-content: space-between;
    position: relative;
}
.ibox-title.flex .ibox-tools {
    display: flex;
}

.ibox-tools {
    display: block;
    float: none;
    margin-top: 0;
    padding: 0;
}

.ibox-tools .tool {
    display: block;
    position: relative;
    margin-top: 0;
    padding: 0;
}

.ibox-tools a {
    cursor: pointer;
    margin-left: 15px;
    color: #888;
}

.ibox-tools a.btn-primary {
    color: #fff;
}

.ibox-tools .dropdown-menu > li > a {
    padding: 4px 10px;
    font-size: 12px;
}

.ibox .ibox-tools.open > .dropdown-menu {
    text-align: left;
    left: auto;
    right: 0;
}

.tool.initial{
    position: initial;
}



/* TABLES */
.table-bordered {
    border: 1px solid #EBEBEB;
}

.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {
    background-color: #F5F5F6;
    border-bottom-width: 1px;
}

.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
    border: 1px solid #e7e7e7;
}

.table > thead > tr > th {
    border-bottom: 1px solid #DDDDDD;
    vertical-align: bottom;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    border-top: 1px solid #e7eaec;
    line-height: 1.42857;
    padding: 8px;
    vertical-align: top;
}

.ibox-tools .dropdown-menu ul {
    display: block;
    list-style: none;
}

.ibox-tools .dropdown-menu ul li {
    display: inline-block;
    width: 180px;
}

.ibox-tools .dropdown-menu ul li:first-child {
    display: block;
    width: 100%;
    padding-top: 20px;
    margin-bottom: 5px;
    border-bottom: 1px solid #f4f4f4;
}

.ibox-tools .dropdown-menu ul li label {
    font-size: 12px;
}

.i-checks {
    padding-left: 0;
}

.float-e-margins .btn {
    margin-bottom: 5px;
}


@media print {
    nav.navbar-static-side {
        display: none;
    }

    body {
        overflow: visible !important;
    }

    #page-wrapper {
        margin: 0;
    }
    .ibox-tools{
        display: none !important;
    }
    .ibox,
    .ibox-content {
        border: none;
    }
}