﻿/* Validate message style*/
.help-inline {
    color: red;
}

/* Datatable footer */
.DTTTFooter {
    border: none !important;
}

/* Dropdown checkbox */
.dropdown-check-list {
    display: inline-block;
}

.dropdown-check-list .anchor {
    position: relative;
    cursor: pointer;
    display: inline-block;
    padding: 5px 50px 5px 10px;
    border: 1px solid #ccc;
}

.dropdown-check-list .anchor:after {
    position: absolute;
    content: "";
    border-left: 2px solid black;
    border-top: 2px solid black;
    padding: 5px;
    right: 10px;
    top: 20%;
    -moz-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

.dropdown-check-list .anchor:active:after {
    right: 8px;
    top: 21%;
}

.dropdown-check-list ul.items {
    padding: 2px;
    margin: 0;
    border: 1px solid #ccc;
    border-top: none;
}

.dropdown-check-list ul.items li {
    list-style: none;
}

th, td {
    white-space: nowrap;
}

div.container {
    width: 80%;
}

.form-control, select {
    padding: 0px !important;
}

.alignCenter {
    text-align: center;
}

.alignRight {
    text-align: right;
}

.fixtab td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.navbar .navbar-inner {
    /*background-color: #f2f2f2 !important;*/
    background-color: #fff !important;
    border-bottom: 1px solid #dddddd !important;
}

.navbar .sidebar-collapse .collapse-icon {
    color: gray !important;
}

.login-container .loginbox {
    width: 440px !important;
}

.login-container {
    max-width: 440px !important;
}

.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;
}

.table-bordered > thead > tr {
    background-color: #eee;
    background-image: linear-gradient(to bottom, #f1f1f1 0px, #fafafa 100%);
}

.pagination > li > a, .pagination > li > span{
    padding: 4px 8px;
}

.table-bordered > tbody > tr {
    min-height: 30px;
}

.widget.no-margin {
    margin: 0px;
}

.td-text-long {
    text-overflow: ellipsis;
    overflow: hidden;
}

.disabled.btn.load, [disabled].btn.load {
    cursor: pointer;
}

.control-label {
    font-weight: 600;
}

.modal-dialog.auto-size {
    position: relative;
    display: table;
    overflow-y: auto;
    overflow-x: auto;
    width: auto;
    min-width: 300px;
}

.highlight {
    color: blue !important;
    border-color: blue !important;
}

/*hilight for checkbox*/
 input[type=checkbox]:checked.highlight ~.text::before {
    color: blue !important;
    border-color: blue !important;
}

/*hilight for checkbox text*/
input[type=checkbox]:checked.highlight ~.text {
    color: blue !important;
    border-color: blue !important;
}

select {
    border-radius: 0 !important;
}

.form-detail {
    position: absolute;
    bottom: 3px;
    right: 3px;
}

.custom-icon {
    margin-left:7px;
    min-width: 24px !important;
    width: 15px;
    height: 15px;
    background-size: 15px 15px;
    background-repeat:no-repeat;
}

.scroll-icon {
    background-image:url('../Images/i-scroll.svg');
}

li.active a i.scroll-icon,
.menu-dropdown:hover i.scroll-icon {
    background-image:url('../Images/i-scroll-hover.svg') !important;
}

.menu-text {
    white-space: nowrap;
}

/*fix firefox bug*/
@-moz-document url-prefix() {
    .dataTables_wrapper {
        padding-top: 5px;
    }
}
