.dt-bootstrap .row:nth-of-type(2) {
    margin: 0;
}

.dt-bootstrap .col-sm-12 {
    padding: 0;
    z-index: 8;
}

.content-header {
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

/*.content-header h1 {
	flex: 0 0 175px;
}*/

.content-header h1 {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

.content-header span {
    flex: 0 0 calc(100% - 190px);
    margin-top: 0 !important;
    float: unset;
    padding: 10px !important;
}

.content-header span button {
    margin-bottom: 10px;
}

.toggle {
    display: none;
}

.box-body table {
    table-layout: fixed;
    overflow-x: hidden;
}

.box-body table td {
    width: auto !important;
}

.box-body table td,
.box-body table th {
    text-align: left !important;
}

.box-body table .input-group .input-group .row {
    margin-left: 0;
    margin-right: 0;
}

.box-body table .input-group .input-group .row .input-group-prepend {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.box-body table .input-group .input-group .row .input-group-prepend label {
    flex: 0 0 95px;
    max-width: 95px;
}

.box-body table .input-group .input-group .row .input-group-prepend select {
    flex: 0 0 calc(100% - 95px);
    max-width: calc(100% - 95px);
}

.box-body table .btn,
.box-body table .input-group {
    min-width: unset !important;
    max-width: unset !important;
    width: 100% !important;
    white-space: unset !important;
}

.box-body table a.btn {
    width: auto !important;
}

table.table-bordered.dataTable tbody th,
table.table-bordered th,
table.table-bordered td,
table.table-bordered.dataTable tbody td {
    overflow-wrap: break-word;
    white-space: unset !important;
}

table.table-bordered.dataTable td button {
    margin: 5px 0;
    margin-left: 0 !important;
}

table select {
    width: 50%;
}

.dashboard-table {
    table-layout: fixed;
}

.view-action {
    position: relative;
}

.view-action button {
    background: transparent;
}

.view-action button i {
    margin-left: 5px;
}

.view-action .show-action {
    box-shadow: 0 2px 8px 2px #e2dede;
    padding: 13px;
    max-width: 200px;
    position: relative;
    top: 7px;
    z-index: 9;
    background: #fff;
    left: 45px;
    transition: 0.5s all;
    display: none;
}

.view-action .show-action.show-dropdown {
    display: block;
}

.view-action .view-btn.active i {
    transform: rotateX(180deg);
}

.view-action .view-btn.active {
    box-shadow: none !important;
}

.view-action .show-action li {
    text-align: center;
    list-style-type: none;
}

.view-action .show-action li .btn {
    box-shadow: unset !important;
    color: #000 !important;
    min-width: 145px !important;
    width: auto !important;
}

.view-action button:focus,
.view-action button:active:focus {
    background: transparent !important;
    outline: 0 !important;
}

.view-action .show-action li .btn:hover {
    background-color: #e4e4e4 !important;
}

@media only screen and (max-width: 1200px) {
    .box-body .table-wrapper {
        overflow-x: auto;
        width: 100%;
    }

    .box-body .table-wrapper .table {
        max-width: unset;
        width: 1220px;
    }

    table.dataTable {
        width: 1220px !important;
    }
}

@media only screen and (max-width: 767px) {
    .fixed .wrapper {
        background: #ecf0f5 !important;
    }

    .wrapper .content-header > h1 {
        font-size: 20px;
        margin: 0 0 10px 0 !important;
        flex: 0 0 140px;
        max-width: 140px;
    }

    .skin-white .main-header .navbar {
        flex: 0 0 110px;
        max-width: 110px;
    }

    .fixed .main-header {
        display: flex;
        display: -webkit-flex;
        align-items: center;
    }

    .fixed .main-header .toggle {
        cursor: pointer;
        display: inline-block;
        width: 36px;
        font-size: 22px;
        background: #cfd8dc;
        padding: 9px;
    }

    .skin-white .main-header .logo {
        float: unset;
        flex: 0 0 calc(100% - 146px);
        max-width: calc(100% - 146px);
    }

    .skin-white .main-header .user-menu.username {
        margin: 0;
    }

    .skin-white .main-header .user-menu.sign-out {
        margin-right: 5px;
    }

    .main-sidebar.active {
        transform: translate(0, 0);
    }

    .main-sidebar.active .close-btn {
        color: #b8c7ce;
        font-size: 14px;
        width: 12px;
        display: inline-block;
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 999;
    }

    .box-body {
        padding-bottom: 10px !important;
    }

    .box-body .table-wrapper .table {
        max-width: unset;
        width: 100%;
    }

    .box-body .table-wrapper .table tr {
        display: flex;
        display: -webkit-flex;
        flex-wrap: wrap;
    }

    .box-body .table-wrapper .table th,
    .box-body .table-wrapper .table td {
        max-width: 49%;
        flex: 0 0 49%;
        padding: 10px !important;
    }

    .box-body table .input-group {
        display: inline-block;
    }

    .box-body table {
        /*! table-layout: unset; */
    }

    #pie-chart {
        overflow-x: auto;
    }

    .skin-white .main-header .logo b {
        font-size: 16px;
    }

    .box-body .table-wrapper table tr th,
    .box-body .table-wrapper table tr td {
        border: 0;
        padding: 10px;
    }
}

@media only screen and (max-width: 575px) {
    /*.content-header h1 {
        flex: 0 0 130px;
    }*/
    .content-header span {
        flex: 0 0 calc(100% - 140px);
        float: unset;
        margin-top: 0 !important;
        max-width: calc(100% - 140px);
    }

    .box-body .table-wrapper table .input-group .input-group .row .input-group-prepend {
        display: block;
    }

    .box-body .table-wrapper table .input-group .input-group .row .input-group-prepend select {
        display: inline-block;
        max-width: unset;
        width: 200px;
    }

    table select {
        width: 100%;
    }
}

