html {
    position: relative;
    min-height: 100%;
}
body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}
select{
    max-width:100%;
}
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 60px;
    background-color: #f5f5f5;
}
/* Show Hide CSS
-------------------------------------------------- */
.ddcbox
{
    vertical-align: middle;
    margin: 10px !important;

}
@media (max-width: 767px)
{
    .ddcbox {
        margin: 0px !important;
    }
    .ddlbl
    {
        margin-left: 20px;
    }
}



/* Custom page CSS
-------------------------------------------------- */
body > .container-fluid {
    padding: 60px 15px 0;
}
.container-fluid .text-muted {
    margin: 20px 0;
}

.footer > .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.avatar {
    border-radius: 100%;
    vertical-align: middle;
    margin-top: -10px;
    margin-bottom: -10px;
    height: 30px;
    margin-right: 5px;
}

.disableselect
{
    bkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

td.mdetails {
    bkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    /*background: url('../img/collapse.png') no-repeat center center;*/
    cursor: pointer;
}
tr.shown td.mdetails {

    bkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;

    /*background: url('../img/expand.png') no-repeat center center;*/
}

#datatables
{
    min-width: 1000px !important;
}

.collapseword{

    max-width: 80px;
    white-space: nowrap;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 767px)
{
    .table-wrapper {
        width: 100%;
        overflow-y: hidden;
        overflow-x: scroll;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        -webkit-overflow-scrolling: touch;
    }
}

.cascading-dropdown-loading {
    cursor: wait;
    background: url('../plugins/jquery-cascading-dropdown/ajax-loader.gif') 85% center no-repeat transparent !important;
}

.dataTables_info{
    font-size: 75%;
}
.table{
    background-color: #ffffff;
}
#tabs > li {
    width: 17%;

}
#tabs > li > a {
    background-color: #de0009;
    color: #f5f5f5;
    border-radius: 8px 8px 0 0;
    border: 1px solid #969695;

}
#tabs > li.active > a {
    background-color: #f4f0ea;
    color: #404040;
    border: 1px solid #969695;
    border-bottom-color: #f4f0ea;
}
#tabs > li.active > a, #tabs > li.active > a:focus, #tabs > li.active > a:hover {

    cursor: default;
    background-color: #f4f0ea;
    color: #404040;
    border: 1px solid #969695;
    border-bottom-color: #f4f0ea;
}
#tabs > li > a:focus, #tabs > li > a:hover {

    cursor: hand;
    background-color: #f4f0ea;
    color: #404040;
    border: 1px solid #969695;
    border-bottom-color: #f4f0ea;
}
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    padding: 5px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.col-sm-3 select{
    max-width: 300px;
}

.gap{
    height: 10px;
}

.gap50{
    height: 50px;
}

.small{
    font-size: 12px;
    padding-top: 7px;
}

.mid{
    font-size: 15px;
}

.customerDetail{
    color: #888;
    font-size: 0.85em;
    font-weight: 300;
    line-height: 1.8em;
}

.input-group .form-control{
    z-index: 1 !important;
}

#errorBox{
    display: none;
}

.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    padding: 10px;
}
.thead-inverse{
    background-color: #d9edf7;
}

.row{
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.date-range{
    margin-bottom: 5px;
}

.btn{
    margin-bottom: 5px;
}

/*
Override size of info icon
*/
.fa-info-circle{
    font-size: 1.2em !important;
}

@media only screen and (max-width: 800px) {

    #datatables
    {
        min-width: 100% !important;
    }

    /* Force table to not be like tables anymore */
    #no-more-tables table,
    #no-more-tables thead,
    #no-more-tables tbody,
    #no-more-tables th,
    #no-more-tables td,
    #no-more-tables tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    #no-more-tables thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #no-more-tables tfoot tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #no-more-tables tr { border: 1px solid #ccc; }

    #no-more-tables td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 40%;
        white-space: normal;
        text-align:left;
    }

    #no-more-tables td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 0;
        left: 0;
        width: 35%;
        padding-top: 5px;
        padding-left: 20px;
        white-space: nowrap;
        text-align:left;
        font-weight: bold;
        height: 100%;
        background-color: #d9edf7;
    }

    /*
    Label the data
    */
    #no-more-tables td:before { content: attr(data-title); }
}