﻿.pull-right {
    float: right !important;
}

.btn-group, .btn-group-vertical {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

body .btn {
    min-width: 5rem !important;
}

.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.btn-group > .btn:first-child {
    margin-left: 0;
}

.btn-default.active, .btn-default.focus, .btn-default:active, .btn-default:focus, .btn-default:hover, .open > .dropdown-toggle.btn-default {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

.btn.active, .btn:active {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

button, select {
    text-transform: none;
}

button {
    overflow: visible;
}

button, input, optgroup, select, textarea {
    margin: 0;
    font: inherit;
    color: inherit;
}

.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
    border-radius: 0;
}

.btn-group .btn + .btn, .btn-group .btn + .btn-group, .btn-group .btn-group + .btn, .btn-group .btn-group + .btn-group {
    margin-left: -1px;
}

.btn-group-vertical > .btn, .btn-group > .btn {
    position: relative;
    float: left;
}

.ng-isolate-scope .ng-scope {
    min-height: 40px;
}

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.btn-group > .btn:last-child:not(:first-child), .btn-group > .dropdown-toggle:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-right: 15px;
}

.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #337ab7;
    border-color: #337ab7;
}

.pagination > li > a:focus, .pagination > li > a:hover, .pagination > li > span:focus, .pagination > li > span:hover {
    color: #23527c;
    background-color: #eee;
    border-color: #ddd;
}

.pagination > li > a, .pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

/*a:focus, a:hover {
    color: #23527c;
    text-decoration: underline;
}*/

a:active, a:hover {
    outline: 0;
}

a {
    text-decoration: none;
    background-color: transparent;
}

.pagination > li {
    display: inline;
}

    .pagination > li:first-child > a, .pagination > li:first-child > span {
        margin-left: 0;
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
        margin-left: 15px;
    }

    .pagination > li:last-child > a, .pagination > li:last-child > span {
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
    }

.ng-scope.ng-isolate-scope {
    padding-bottom: 10px;
    max-height: 400px;
    overflow: auto;
}

.col-redcustom {
    color: darkred !important;
    font-weight: 400;
    line-height: 24px;
}

#left-menu table.table.ng-scope.ng-table {
    font-family: inherit;
    font-size: 12px !important;
    line-height: 1.42857143 !important;
}

div#tableSummary_filter {
    margin-top: 10px;
}

div#tableSummary_length {
    margin-top: 10px;
    margin-left: 15px;
}

table th {
    color: #444;
    margin-bottom: 0;
    margin-top: 0;
    font-weight: 400 !important;
    font-size: 16px;
}

th.sorting_asc {
    color: #666;
    margin-bottom: 0;
    margin-top: 0;
    font-weight: 400 !important;
    font-size: 16px;
}

th.sorting_desc {
    color: #666;
    margin-bottom: 0;
    margin-top: 0;
    font-weight: 400 !important;
    font-size: 16px;
}

div#tableSummary_paginate {
    margin-bottom: 15px;
    margin-right: 5px;
}

div#tableSummary_info {
    margin-left: 10px;
    font-size: 18px;
}

.title-head-table {
    color: #444;
    margin-bottom: 0;
    margin-top: 0;
    font-weight: 400 !important;
    font-size: 16px;
}

tbody tr.odd, tbody tr.even {
    font-size: 15px;
}

.dataTables_wrapper .dt-buttons a.dt-button, .dataTables_wrapper .ColVis a.dt-button {
    background-color: #fff;
    padding: 8px 15px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    border: none;
    font-size: 15px;
    outline: none;
    overflow: visible !important;
}

a.dt-button {
    background: transparent;
}

/*.dataTables_wrapper svg {
    fill: #c21b17 !important;
}*/

.dataTables_wrapper .dt-buttons {
    position: relative;
    box-shadow: none;
    text-align: right;
    margin-bottom: 6px;
    vertical-align: middle;
    max-width: 450px;
    float: right;
}

.dt-buttons svg:hover {
    background-color: #e0e0e0;
}

div.dt-button-collection {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    margin-top: 3px;
    padding: 8px 8px 12px 8px;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,0.4);
    background-color: white;
    overflow: hidden;
    z-index: 2002;
    border-radius: 5px;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.3);
    z-index: 2002;
    -webkit-column-gap: 8px;
    -moz-column-gap: 8px;
    -ms-column-gap: 8px;
    column-gap: 8px;
    text-align: center;
}

.dt-button-collection {
    width: 280px !important;
    left: auto !important;
    right: 0px;
}

    .dt-button-collection:before, ul.ColVis_collection::before {
        content: 'Chọn cột hiển thị';
        font-size: 15px;
        text-transform: uppercase;
        font-weight: 400;
        padding-left: 13px;
        color: #333
    }

a.dt-button.buttons-columnVisibility.active {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 18px 0;
}

a:hover {
    background: transparent;
    background-image: none;
    /*text-decoration: none;*/
}

.dataTables_wrapper .dt-buttons a.buttons-columnVisibility {
    padding: 18px 0px !important;
}

div.dt-button-collection button.dt-button, div.dt-button-collection div.dt-button, div.dt-button-collection a.dt-button {
    position: relative;
    left: 0;
    right: 0;
    width: 100%;
    display: block;
    float: none;
    margin-bottom: 4px;
    margin-right: 0;
}

a.dt-button.buttons-columnVisibility {
    height: 27px;
}

a.dt-button.buttons-columnVisibility {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

div.dt-button-collection .dt-button {
    border-radius: 0;
    position: absolute;
}

div.dt-button-collection a.dt-button.active:before {
    display: inline-block;
    content: url('../../img/app/check3.png');
    padding-right: 6px;
}

div.dt-button-collection a.dt-button:before {
    display: inline-block;
    content: url('../../img/app/check2.png');
    padding-right: 6px;
}

div.dt-button-collection a.dt-button.disabled:before {
    content: url('../img/app/check1.png');
}

a.dt-button.buttons-columnVisibility span {
    /* width: 200px !important; */
    position: absolute;
    /* top: 10px; */
    white-space: pre-wrap;
    /* right: -25px; */
}



.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0 !important;
    color: #555 !important;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 18px;
    margin-right: 10px;
    padding-top: 0.755em;
    padding-right: 6px;
}


table.dataTable thead th, table.dataTable thead td {
    border-bottom: 1px solid #ddd;
}


.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 1px solid #ddd;
}

.form-group .btn .custom {
    height: 2.5rem;
    min-width: 80px;
    width: 100%;
    max-width: 315px;
    margin: 0 auto;
    display: block
}

.icon-icn-search:before {
    font-size: 130% !important;
}

input[type="search"], select {
    outline: none;
}

input[type="search"] {
    border-radius: 15px;
    border: 1px solid #ccc;
    padding: 6px 0px 5px 10px;
    height: 30px;
    font-size: 14px;
}

    input[type="search"]:not(.select2-search__field) {
        width: 240px !important;
    }

.search-condition .x-button {
    background-color: #2d3749;
    width: 31px;
    border-radius: 5px;
    height: 31px;
    Cursor: pointer;
}

.search-condition p {
    border: 1px solid;
    border-radius: 5px;
    background-color: #2d3749;
    color: white;
    padding: 0 8px;
    font-size: 15px;
}

    .search-condition p > span {
        line-height: 2;
    }

.hidden {
    display: none !important;
}

.dt-button-collection {
    font-family: inherit;
    font-size: 16px;
}

button.dt-button.buttons-columnVisibility.active {
    background-color: #fff;
    text-align: left;
    border: none;
    box-shadow: none
}

    button.dt-button.buttons-columnVisibility.active::before {
        content: url('../../img/app/check3.png');
        padding-right: 6px;
    }

button.dt-button.buttons-columnVisibility {
    background: white;
    text-align: left;
    border: none;
    box-shadow: none
}

    button.dt-button.buttons-columnVisibility > span {
        position: absolute;
    }

    button.dt-button.buttons-columnVisibility::before {
        content: url('../../img/app/check2.png');
        padding-right: 6px;
    }

.dt-button.buttons-collection.buttons-colvis, .ColVis_Button.ColVis_MasterButton {
    background-color: #fff;
    border: 0;
}

table.dataTable.no-footer {
    white-space: nowrap;
}

.ColVis_Button:hover, ul.ColVis_collection li:hover {
    border: 0;
    background: #fff;
}

div.dt-button-collection button.dt-button, div.dt-button-collection div.dt-button, div.dt-button-collection a.dt-button {
    padding: 4px 0;
}

.dt-button {
    border: none;
    background-color: transparent;
    margin-right: 20px !important;
}

.dt-button.buttons-print > span > a > svg {
    margin-bottom: 10px;
}

input[type='checkbox'].inDatatable {
    opacity: 1;
}

button.dt-button.someCustomCssClass {
    position: absolute;
    top: 15px;
    border: none;
    background-color: transparent;
    margin-right: 20px !important;
    cursor: pointer;
}

button.dt-button.donvitinh {
    float: left;
    border: none;
    background-color: transparent;
    margin-right: 20px !important;
    width: 150px;
    margin-top: 10px;
}

.dataTables_filter {
    padding-right: 20px !important;
    padding-top: 3px !important;
    border-right: 1px solid #ddd !important;
}

.someCustomCssClass.active::before {
    content: url('../../img/app/check3.png');
    padding-right: 5px;
}

.someCustomCssClass::before {
    content: url('../../img/app/check2.png');
    padding-right: 5px;
}

.table-customer-field {
    font-size: 16px;
}

.table-customer-field > span {
    display: block;
    padding: 3px;
}

.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

i.fa.fa-phone-square:before {
    content: "\f098";
}