/* To Dropdown navbar dropdown on hover */
.navbar-nav > li:hover > .dropdown-menu {
    display: block;
}
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

label.lb-required::before{
    content: "※";
    color: red;
    margin-right: 4px;
}

label.lb-hidden::before{
    content: "※";
    visibility: hidden;
    margin-right: 4px;
}

.pick-date {
    max-width: 110px;
}

.form-inline .row {
    margin-bottom: 5px;
}

.middle-collumn {
    vertical-align: middle;
}

.td-right-label {
    padding-right: 0px;
    text-align: right;
}

.td-left-text {
    padding-left: 5px;
    text-align: left;
}

.form-group {
    margin-bottom: 5px;
}

.form-control {
    height: 30px;
}

.form-horizontal .form-group {
    margin-right: 0px;
    margin-left: 0px;
}

.suggest-value {
    padding-top: 7px;
    margin-bottom: 0;
}

.table-header>thead {
    background-color: #b3e6ff;
}

.table-header>thead>tr>th {
    vertical-align: top;
}

.table-header>tbody>tr>td {
    white-space: nowrap;
}

table>tbody>tr.active>td {
    background-color: antiquewhite !important;
}

table>tbody>tr.delete>td {
    background-color: grey !important;
}

table>tbody>tr.error>td {
    background-color: #ff4c4c !important;
}

table>tbody>tr.tr-color-red>td {
    color: #dd4b39 !important;
}

table>tbody>tr.tr-parent>td {
    background-color: #00b0f0 !important;
}

.border-line {
    border-top: 2px solid black !important;
}

.table-borderless>tbody>tr>td {
    border-top: none;
}

.form-text {
    padding-top: 7px !important;
}

.has-error .help-block {
    color: #dd4b39;
}

.has-error .control-label {
    color: #dd4b39;
}

.has-error .form-control {
    border-color: #dd4b39;
    box-shadow: none;
}

.row {
    margin-right: 0px;
    margin-left: 0px;
}

.treegrid-indent {
    width: 0px;
    height: 16px;
    display: inline-block;
    position: relative;
}

.skin-blue .main-header .navbar {
    background-color: #d2d6de;
}

.skin-blue .main-header .navbar .nav>li>a, .skin-blue .main-header .navbar .nav>li>a:hover {
    color: #3c65bc;
}

button.navbar-toggle {
    height: 60px !important;
}

.dropdown-menu>li>a {
    color: #333!important;
}

@media (min-width: 768px) {
    a.dropdown-toggle {
        padding-top: 20px !important;
    }

    .a-menu {
        font-size: small !important;
    }

    a.dropdown-toggle {
        height: 60px !important;
    }
}

@media (max-width: 768px) {
    .navbar-nav > li {
        width: 98%;
    }
}

.color-sortable {
    color: #337abe;
}

.color-sortable i {
    color: #333;
}

.dash {
    padding-right: 0px;
    padding-left: 0px;
    text-align: center;
    width: 3.3333%;
    vertical-align: middle;
    margin: 5px 0px;
}

.form-control {
    padding-top: 3px;
    padding-bottom: 3px;
}

.text-red {
    color: #dd4b39;
}

.text-error {
    color: #dd4b39;
}

.color-blue {
    color: blue;
}

/*================================================
* loading-spin */
.loading-spin {
    margin: 20px auto 40px;
    font-size: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: relative;
    text-indent: -9999em;
    transform: translateZ(0);
    box-shadow: 0em -2.6em 0em 0em #4d4c4d, 1.8em -1.8em 0 0em #4d4c4d, 2.5em 0em 0 0em #4d4c4d, 1.75em 1.75em 0 0em #4d4c4d, 0em 2.5em 0 0em #4d4c4d, -1.8em 1.8em 0 0em #4d4c4d, -2.6em 0em 0 0em #4d4c4d, -1.8em -1.8em 0 0em #4d4c4d;
}

.loading-spin.is-loading {
    animation: load5 1.1s infinite ease;
}

.loading-spin.is-loaded {
    display: none;
}

@keyframes load5 {
    0%,
    100% {
        box-shadow: 0em -2.6em 0em 0em #4d4c4d, 1.8em -1.8em 0 0em rgba(77, 76, 77, 0.2), 2.5em 0em 0 0em rgba(77, 76, 77, 0.2), 1.75em 1.75em 0 0em rgba(77, 76, 77, 0.2), 0em 2.5em 0 0em rgba(77, 76, 77, 0.2), -1.8em 1.8em 0 0em rgba(77, 76, 77, 0.2), -2.6em 0em 0 0em rgba(77, 76, 77, 0.5), -1.8em -1.8em 0 0em rgba(77, 76, 77, 0.7);
    }
    12.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(77, 76, 77, 0.7), 1.8em -1.8em 0 0em #4d4c4d, 2.5em 0em 0 0em rgba(77, 76, 77, 0.2), 1.75em 1.75em 0 0em rgba(77, 76, 77, 0.2), 0em 2.5em 0 0em rgba(77, 76, 77, 0.2), -1.8em 1.8em 0 0em rgba(77, 76, 77, 0.2), -2.6em 0em 0 0em rgba(77, 76, 77, 0.2), -1.8em -1.8em 0 0em rgba(77, 76, 77, 0.5);
    }
    25% {
        box-shadow: 0em -2.6em 0em 0em rgba(77, 76, 77, 0.5), 1.8em -1.8em 0 0em rgba(77, 76, 77, 0.7), 2.5em 0em 0 0em #4d4c4d, 1.75em 1.75em 0 0em rgba(77, 76, 77, 0.2), 0em 2.5em 0 0em rgba(77, 76, 77, 0.2), -1.8em 1.8em 0 0em rgba(77, 76, 77, 0.2), -2.6em 0em 0 0em rgba(77, 76, 77, 0.2), -1.8em -1.8em 0 0em rgba(77, 76, 77, 0.2);
    }
    37.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(77, 76, 77, 0.2), 1.8em -1.8em 0 0em rgba(77, 76, 77, 0.5), 2.5em 0em 0 0em rgba(77, 76, 77, 0.7), 1.75em 1.75em 0 0em #4d4c4d, 0em 2.5em 0 0em rgba(77, 76, 77, 0.2), -1.8em 1.8em 0 0em rgba(77, 76, 77, 0.2), -2.6em 0em 0 0em rgba(77, 76, 77, 0.2), -1.8em -1.8em 0 0em rgba(77, 76, 77, 0.2);
    }
    50% {
        box-shadow: 0em -2.6em 0em 0em rgba(77, 76, 77, 0.2), 1.8em -1.8em 0 0em rgba(77, 76, 77, 0.2), 2.5em 0em 0 0em rgba(77, 76, 77, 0.5), 1.75em 1.75em 0 0em rgba(77, 76, 77, 0.7), 0em 2.5em 0 0em #4d4c4d, -1.8em 1.8em 0 0em rgba(77, 76, 77, 0.2), -2.6em 0em 0 0em rgba(77, 76, 77, 0.2), -1.8em -1.8em 0 0em rgba(77, 76, 77, 0.2);
    }
    62.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(77, 76, 77, 0.2), 1.8em -1.8em 0 0em rgba(77, 76, 77, 0.2), 2.5em 0em 0 0em rgba(77, 76, 77, 0.2), 1.75em 1.75em 0 0em rgba(77, 76, 77, 0.5), 0em 2.5em 0 0em rgba(77, 76, 77, 0.7), -1.8em 1.8em 0 0em #4d4c4d, -2.6em 0em 0 0em rgba(77, 76, 77, 0.2), -1.8em -1.8em 0 0em rgba(77, 76, 77, 0.2);
    }
    75% {
        box-shadow: 0em -2.6em 0em 0em rgba(77, 76, 77, 0.2), 1.8em -1.8em 0 0em rgba(77, 76, 77, 0.2), 2.5em 0em 0 0em rgba(77, 76, 77, 0.2), 1.75em 1.75em 0 0em rgba(77, 76, 77, 0.2), 0em 2.5em 0 0em rgba(77, 76, 77, 0.5), -1.8em 1.8em 0 0em rgba(77, 76, 77, 0.7), -2.6em 0em 0 0em #4d4c4d, -1.8em -1.8em 0 0em rgba(77, 76, 77, 0.2);
    }
    87.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(77, 76, 77, 0.2), 1.8em -1.8em 0 0em rgba(77, 76, 77, 0.2), 2.5em 0em 0 0em rgba(77, 76, 77, 0.2), 1.75em 1.75em 0 0em rgba(77, 76, 77, 0.2), 0em 2.5em 0 0em rgba(77, 76, 77, 0.2), -1.8em 1.8em 0 0em rgba(77, 76, 77, 0.5), -2.6em 0em 0 0em rgba(77, 76, 77, 0.7), -1.8em -1.8em 0 0em #4d4c4d;
    }
}

.loading-spin-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.3);
    display: block;
    cursor: wait;
}

.loading-spin-wrapper .loading-spin {
    position: absolute;
    top: 48%;
    left: 50%;
    opacity: 1.5;
    animation: load5 1.1s infinite ease;
}

a:hover, a:active {
    color: #c61a1a;
    text-decoration: underline;
}

.sub-title {
    font-size: 21px;
    margin-left: 20px;
}

.icon {
    background-position: 0% 50%;
    background-repeat: no-repeat;
    padding-left: 20px;
    margin-left: 10px;
}

.icon-add {
    background-image: url('/icon/add.png');
}

.icon-edit {
    background-image: url('/icon/edit.png');
}

.icon-save {
    background-image: url('/icon/save.png');
}

.icon-delete {
    background-image: url('/icon/delete.png');
}

.icon-delete-32 {
    padding-left: 32px;
    padding-bottom: 20px;
    margin-left: 0px;
    background-image: url('/icon/delete-32.png');
}

.icon-clear {
    background-image: url('/icon/clear.png');
}

.icon-cancel {
    background-image: url('/icon/cancel.png');
}

.icon-cancel-gray {
    background-image: url('/icon/cancel-gray.png');
}

.icon-ok {
    background-image: url('/icon/ok.png');
}

.icon-xlsx {
    background-image: url('/icon/xlsx.png');
}

.icon-file {
    background-image: url('/icon/file.png');
}

.text-dark-gray {
    color: gray;
}

.label-authority-setting {
    margin-left: 20px;
    margin-bottom: 10px !important;
}

.totals-label {
    font-weight: normal;
}

.col-padding-right {
    padding-right: 15px;
    padding-left: 0px;
}

.col-padding-left {
    padding-left: 15px;
    padding-right: 0px;
}

.col-padding-top {
    padding-top: 7px;
}

.label-text-left {
    text-align: left !important;
}

.form-label-left .control-label {
    text-align: left;
}

.br-4 {
    border-radius: 4px;
}

.repeater-header {
    background-color: #C3F0F4;
    padding: 5px 5px;
    margin-left: -25px !important;
    margin-top: -10px;
}

.repeater-number {
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: 700;
}

.link-button {
    font-weight: 700;
    padding: 5px;
}

.link-icon {
    font-size: 16px;
    margin-left: 10px;
}

.mgl-30 {
    margin-left: 30px;
}

.right-label label {
    padding-right: 0px;
    text-align: right;
}

.table-order-process dt {
    padding-right: 0px;
    text-align: right;
}

.pd-2 {
    padding: 2px !important;
}

.error-block {
    display: block;
    margin-top: 5px;
    color: #dd4b39;
}

.checkbox-inline input[type="checkbox"]:first-child{
    padding-left: 0px;
}

.horizontal-error {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.top-right-bottom-no-border {
    border-top-style:hidden !important;
    border-right-style:hidden !important;
    border-bottom-style:hidden !important;
}

.left-bottom-no-border {
    border-left-style:hidden !important;
    border-bottom-style:hidden !important;
}

.modal-long-width {
    width: 900px;
}

.modal-background-gray {
    background-color: #ecf0f5;
}
