﻿.input-icon > input.input-sm, .input-icon > input {
    padding-left: 6px !important;
}

.stt {
    text-align: center;
}

.glyphicon.glyphicon-search.blue {
    position: absolute !important;
    right: -24px;
    top: 0px;
    background: #5db2ff !important;
    color: #fff !important;
    padding: 8.5px;
}

    .glyphicon.glyphicon-search.blue:hover,
    .glyphicon.glyphicon-search.blue:active {
        border: 1px solid #5db2ff !important;
        box-shadow: inset 0 0 20px #fff, inset 20px 0 40px #fff, inset -20px 0 40px #fff, inset 20px 0 300px #fff, inset -20px 0 300px #fff, 0 0 50px #fff, -10px 0 80px #fff, 10px 0 80px #fff;
        color: #5db2ff !important;
    }


.fc-border-separate thead tr, .table thead tr {
    border-top: 1px solid #ddd;
}

.select2-search-choice-close:before {
    color: #989898;
}

#danhsachthutuc .ui-select-container.select2.select2-container {
    width: 100% !important;
}
/*res*/
@media(max-width:1151px) {
    .buttons-preview a {
        margin-left: 0 !important;
        margin-right: 15px !important;
    }

        .buttons-preview a:nth-child(4) {
            float: none !important;
        }
}

@media(max-width:1007px) {
    .buttons-preview {
        width: 62% !important;
    }
}

@media only screen and (max-width: 800px) {
    .table-responsive table {
        border-top: 1px solid #d5d5d5;
    }

    .widget-body {
        padding: 12px 12px 86px 12px !important;
    }

    .flip-scroll tbody tr {
        display: block !important;
    }

    .flip-scroll thead {
        float: none !important;
    }

    .flip-scroll tbody {
        white-space: normal;
    }

    input[type=checkbox] ~ .text, input[type=radio] ~ .text {
        display: inline-table !important;
    }

    tr td:nth-child(1) input[type=checkbox] ~ .text {
        display: inline-block !important;
    }

    tr td strong {
        display: block;
    }
}

@media screen and (max-width: 767px) {
    .table-responsive > .table > tbody > tr > td {
        white-space: normal;
    }

    .limitshow select {
        width: 50px !important;
    }
}

@media (max-width: 800px) {
    .show-item {
        width: 100% !important;
    }

    .buttons-preview {
        width: 100% !important;
    }

        .buttons-preview a {
            margin-right: 0 !important;
        }

    

    .limitshow {
        padding-left: 0px;
    }

    .searchbox {
        padding-right: 5px;
    }

    /*tr td:nth-child(4), tr td:nth-child(5) {
        text-align: left;
    }

    thead tr td, thead {
        display: none !important;
    }

    tbody tr td, tbody tr td {
        padding: 0;
        float: left;
        margin-top: 4px;
        margin-right: 23px;
        width: 100% !important;
        display: table;
        position: relative;
        margin-bottom: 10px;
        padding-left: 50% !important;
    }
    tbody tr td, tbody tr td {
        border-right: none;
    }

        tbody tr td:before {
            position: absolute;
            left: 6px;
            padding-right: 10px;
            width: 45%;
            float: left;
            content: attr(data-title);
            display: block;
            color: #515151;
            font-size: 12px;
            font-weight: 400;
            text-transform: uppercase;
        }

    tr td strong {
        display: block;
        width: 100%;
    }
    
    tr td:last-child {
        text-align: left !important;
       
    }

    tr td:before {
        text-align: left !important;
    }*/

    .checkbox, .radio {
        margin-top: 0px;
        margin-bottom: 0px;
    }

    
}

@media(max-width:500px) {
    .buttons-preview i {
        display: none !important;
    }

    .input-icon {
        width: 95% !important;
    }
 
    .nav-justified > li > a {
        font-size: 14px;
    }

    .pagination-sm {
        float: left !important;
    }
    
    .pagination > li > a, .pagination > li > span {
        padding: 7px 7px;
    }

    .pagination, .pager {
        float: none !important;
        text-align: center;
    }
}

/*@media screen and (max-width: 360px) {
    .pagination > li > a, .pagination > li > span {
        padding: 6px 10px;
    }
}

@media screen and (max-width: 320px) {
    .pagination > li > a, .pagination > li > span {
        padding: 5px 7px;
    }

    .pagination, .pager {
        float: none !important;
        text-align: center;
    }
}*/

tr td:last-child {
    text-align: center;
}

tr td {
    vertical-align: middle !important;
}

.badge {
    font-size: 13px !important;
    height: 19px;
    padding: 3px 6px;
    border-radius: 25px !important;
    font-weight: bold;
    margin-left:5px;
}

.nophs{
    width:24px;
    height:24px;
    border-radius:20px;
    display:inline-block;
    border:2px #F94D0C solid;
    background:#F94D0C;
    text-align: center;
    color:#fff;
    cursor:pointer;
}

.nophs:hover{
    background:#fff;
    color:#F94D0C;
}

.search {
    /*width: 97.5%;
    position: absolute;
    top: 15px;
    left: 30px;
    padding-top: 15px;
    z-index: 99;*/
    /* width: 81.5%; */
    position: absolute;
    top: 30px;
    left: 15px;
    margin-left: 0px;
    display: block;
    margin-right: 0px;
    padding-left: 0px;
    padding-right: 20px;
    /* padding-top: 15px; */
    z-index: 99;
    /* right: 19px; */
}

.box-dropdown {
    box-sizing: border-box !important;
    padding-top: 30px;
    border: 1px solid #d5d5d5;
    background: #fff;
    border-top: none !important;
}

.searchbox {
    position: relative;
}

.fa.fa-caret-down {
    position: absolute;
    text-align: right;
    width: 10px !important;
    right: 17px;
    top: 8px;
    text-align: right;
    width: 10px !important;
    display: none;
}

.search-link {
    position: absolute;
    right: 17px;
    top: 5px;
    text-align: right !important;
    width: max-content;
}

.search-link:hover {
    cursor: pointer;
    color: #5db2ff;
}

.tt-tructuyen, .nop-buuchinh {
    text-align: left !important;
}


.flip-scroll.table-responsive {
    width: 100%;
}

.searchbox .fa.fa-times {
    position: absolute;
    right: 17px;
    top: 40px;
    color: #ed4e2a;
}

@media(max-width:991px) {
    .search {
        padding-top: 15px;
        top: 15px;
    }
}

@media(max-width:500px) {
    .fa.fa-caret-down {
        display: initial;
        right: 30px;
    }
    .search-link {
        display: none;
    }
}

@media(min-width:320px) and (max-width:500px) {    

    .input-icon {
        width: 100% !important;
    }

    .fa.fa-caret-down {
        right: 11px;
    }

    .box-dropdown .col-xs-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

.modal-open {
    padding-right: 0 !important;
}

.highlight {
    font-weight: bold;
    color: orangered !important;
}

.checkbox {
    text-align: center;
}

.tbHead th {   
    vertical-align: middle !important;
}

/* AN */
@media(max-width:800px){
     table.table-responsive > thead {
        display: none;
    }

    table.table-responsive > tbody > tr > td {
        width: 100%;
        float: left;
        border: 0;
        text-align: left !important;
    }

        table.table-responsive > tbody > tr > td:last-child {
            border-bottom: 1px solid #ddd;
        }

    table.table-responsive > tbody > tr:last-of-type > td:last-child {
        border-bottom: 0;
    }

    table.table-responsive > tbody > tr > td:before {
        content: attr(data-title);
        font-weight: 700;
        display: block;
        width: 130px;
        float: left;
    }

    table.table-responsive > tbody > tr > td .checkbox {
        margin: 0;
    }

    table.thongtin > tbody > tr > td:first-child {
        display: none;
    }

  
    td.multi-line:before {
        width: 100% !important;
    }
    #danhsachthutuc table.table-responsive > tbody > tr > td{
        padding-left:130px;
    }
        #danhsachthutuc table.table-responsive > tbody > tr > td:before {
            position:absolute;
            left:5px;
        }
}


.goto-child-group {
    background: none;
    border: none;
    box-shadow: none;
    color: rgba(0,0,0,0.5);
    height: 100%;
    line-height: 1;
    margin: 0;
    padding: 8px;
    position: absolute;
    right: 0;
    text-shadow: none;
    top: 0;
    transition: background .2s;
}
    .goto-child-group:hover {
        box-shadow: none;
        background: rgba(0,0,0,.1);
        border: none;
        color: #fff;
    }

.parent-node {
    color: gray;
    /*text-decoration: underline;*/
    cursor: default;
}

.ui-select-choices-group-label {
    font-size: 20px;
    /*background: silver;*/
}
/* end AN*/