/* EOF FORM VALIDATION STATES */
.form-control.error,
.bootstrap-select.error>button {
    border-color: #F04E51;
}

label.error,
label.valid {
    border: 1px solid #F04E51;
    background-color: #F04E51 !important;
    border-radius: 3px;
    color: #FFFFFF;
    padding: 2px 5px;
    margin-bottom: 0px;
    line-height: 20px;
    margin-top: 3px;
    font-size: 11px;
    font-weight: bold;
    width: 100%;
}

.form-control.valid,
.bootstrap-select.valid>button {
    border-color: #76AB3C;
}

label.valid {
    color: #76AB3C;
}

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

.margin-5 {
    margin: 5px;
}

.margin-10 {
    margin: 15px;
}

.margin-20 {
    margin: 20px;
}

.margin-30 {
    margin: 30px;
}

.margin-40 {
    margin: 40px;
}

.border {
    padding: 20px;
    border: 1px solid #DBE0E4;
}

.border-dotted {
    padding: 20px;
    border: 1px dotted #DBE0E4;
}

.border-dashed {
    padding: 20px;
    border: 1px dashed #DBE0E4;
}

.border-bottom {
    border-bottom: 1px solid #DBE0E4;
}

.border-bottom-dotted {
    border-bottom: 1px dotted #DBE0E4;
}

.border-bottom-dashed {
    border-bottom: 1px dashed #DBE0E4;
}

.border-bottom-dot-dash {
    border-bottom: 1px dot-dash #DBE0E4;
}

/*ScrollBar*/
.scroll-style-1::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

.scroll-style-1::-webkit-scrollbar {
    width: 12px;
    background-color: #F5F5F5;
}

.scroll-style-1::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #555;
}

.scroll-style-2::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

.scroll-style-2::-webkit-scrollbar {
    width: 12px;
    background-color: #F5F5F5;
}

.scroll-style-2::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #D62929;
}

.scroll-style-3::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
}

.scroll-style-3::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}

.scroll-style-3::-webkit-scrollbar-thumb {
    background-color: #5bc0de;
}

.scroll-style-4::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
}

.scroll-style-4::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}

.scroll-style-4::-webkit-scrollbar-thumb {
    background-color: #000000;
}

.dropzone.h300 {
    min-height: 300px !important;
}

/*.app .app-container .app-content.app-header-fixed > .app-header {*/
/*z-index: 1000 !important;*/
/*}*/

.btn span.fa {
    font-size: 18px;
}

.leaflet-top,
.leaflet-bottom {
    z-index: 500 !important;
}

.trans-table>thead>tr>th,
.trans-table>tfoot>tr>td {
    line-height: 15px !important;
    padding: 10px !important;
    vertical-align: middle !important;
    /* font-size: 11px; */
}

.trans-table>tbody>tr>td {
    /* line-height: 2px !important; */
    line-height: 1.2em !important;
    padding: 1px 12px 1px 12px !important;
    vertical-align: middle !important;
    font-size: 13.5px;
    font-weight: 600;
    white-space: normal;
    word-break: break-word;
}

.trans-table>tfoot>tr>td {
    line-height: 1.2em !important;
    padding: 1px 12px 1px 12px !important;
    vertical-align: middle !important;
    /* font-size: 10px; */
    white-space: normal;
    word-break: break-word;
}

.trans-table>tbody>tr>td[colspan] {
    line-height: normal !important;
    padding: 8px 12px !important;
    /* font-size: 12px !important; */
    text-align: center;
}

.trans-table td .form-control {
    width: 100% !important;
    min-width: 60px;
    /* optional biar ga terlalu kecil */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.5s;
}

.list-group.list-group-root {
    padding: 0;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.list-group.list-group-root .list-group {
    margin-bottom: 5px;
}

.list-group.list-group-root .list-group-item {
    border: 0;
    padding: 5px 10px;
}

.list-group.list-group-root>.list-group-item:first-child {
    border-top-width: 0;
}

.list-group.list-group-root>.list-group>.list-group-item {
    padding-left: 40px;
}

.list-group.list-group-root>.list-group>.list-group>.list-group-item {
    padding-left: 70px;
}

.list-group.list-group-root>.list-group>.list-group>.list-group>.list-group-item {
    padding-left: 100px;
}

.custom-scroll::-webkit-scrollbar {
    width: 1px;
    /* kecilkan lebar scrollbar */
}

.custom-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* Firefox */
.custom-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

.glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -webkit-animation: spin .7s infinite linear;
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Default */
.modal-extra-lg {
    width: 90% !important;
    max-width: 1400px;
}

/* Laptop / tablet landscape */
@media (max-width: 1200px) {
    .modal-extra-lg {
        width: 92% !important;
        margin: 30px auto;
    }
}

/* Tablet portrait */
@media (max-width: 992px) {
    .modal-extra-lg {
        width: 95% !important;
        margin: 20px auto;
    }
}

/* Phone */
@media (max-width: 768px) {
    .modal-extra-lg {
        width: 98% !important;
        margin: 10px auto;
    }
}