﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}
.btn-primary {
    color: #fff;
    background-color: #0F4B80 !important;
    border-color: #0F4B80 !important;
}
.btn-primary:hover {
    background-color: #3875b3 !important;
}
។card-primary {
    color: #fff;
    background-color: #0F4B80 !important;
    border-color: #0F4B80 !important;
}

.។card-primary:hover {
    background-color: #3875b3 !important;
}
card-primary:not(.card-outline) > .card-header {
    background-color: #0F4B80 !important;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active, .sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active {
    background-color: #3875b3 !important;
    color:white !important;
}
.nav-treeview > .nav-item > .nav-link.active, .nav-treeview > .nav-item > .nav-link.active:focus, .nav-treeview > .nav-item > .nav-link.active {
    background-color: #3875b3 !important;
    color: white !important;
}
.onpoint-nav-color {
    background-color: #3875b3 !important;
    color: white !important;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.onpointplus-font {
    font-family: 'Khmer OS Battambang' !important;
}

.onpointplus-font-bold {
    font-weight: bold !important;
}

.onpointplus-checkbox {
    margin-top: 5px;
    margin-left: 20px;
}

.imageThumbnail {
    width: 150px;
    height: 140px;
}

.padding-top-10 {
    padding-top: 10px;
}

.onpointplus-preview-control {
    background: none !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-radius: 0px !important;
}

.select2-selection__rendered {
    line-height: 31px;
}

.select2-container .select2-selection--single {
    height: 35px !important;
}

.select2-selection__arrow {
    height: 34px !important;
}

.td-double-allign {
    text-align: right !important;
}
.input-symbol-riel {
    position: relative !important;
    display: block;
}

    .input-symbol-riel:after {
        color: #00000094 !important;
        content: "\17DB";
        font-size: 15pt !important;
        font-weight: 400;
        position: absolute;
        display: block;
        height: 100%;
        top: 4px;
        left: 10px;
    }
.input-symbol-dollar {
    position: relative !important;
    display: block;
}
.input-symbol-dollar:after {
    color: #00000094 !important;
    content: "$";
    font-size: 15pt !important;
    font-weight: 400;
    position: absolute;
    display: block;
    height: 100%;
    top: 4px;
    left: 10px;
}
.input-symbol-percent {
    position: relative !important;
    display: block;
}
.input-symbol-percent:after {
    color: #00000094 !important;
    content: "%";
    font-size: 15pt !important;
    font-weight: 400;
    position: absolute;
    display: block;
    height: 100%;
    top: 4px;
    left: 10px;
}

.content-wrapper{
    background: none!important;
}

.widget-title {
    background: url(smallicon.png) left top no-repeat;
    padding-left: 10px;
}

.arrow-task {
    margin-top: 5px;
    margin-right: 5px;
    font-weight: 700;
}
.arrow-task-white {
    color: white;
    margin-top: 5px;
    margin-right: 5px;
    font-weight: 700;
}
.arrow-background {
    display: inherit;
    float: left;
    width: 500px;
    height: 50px;
    padding-top: 10px;
    padding-left: 10px;
    background-size: cover;
    background-repeat: no-repeat;

}
.preview-icon {
    font-size: 20px;
    color: #3875b3;
}
.edit-icon {
    font-size: 20px;
    color: #0F4B80;
}
.recycle-icon {
    font-size: 20px;
    color: #d11a2a;
}

.cancel-button {
    color: #fff!important;
    background-color: #d11a2a!important;
    border-color: #d11a2a!important;
    box-shadow: none!important;
}
.onpoint-button {
    color: #fff !important;
    background-color: #007d98 !important;
    border-color: #007d98 !important;
    box-shadow: none !important;
}

.onpoint-plus-button {
    color: #fff !important;
    background-color: #0F4B80 !important;
    border-color: #0F4B80 !important;
    box-shadow: none !important;
}
.preview-header {
    padding-left: 40px;
    background-color: #0F4B80;
}

.onpoint-footer {
    width: 250px; 
    height: 45px;
    float: right;
    background-size: cover;
    background-repeat: no-repeat;
}


.onpoint-login {
    background-color: #fff!important;
    height: 60px!important;
    background-image: url(/images/Login.png)!important;
    background-size: cover!important;
    background-repeat: no-repeat!important;
}
.logo-header {
    background-color: #fff !important;  
    background-size: cover !important;
    background-repeat: no-repeat !important;
}
.total-background {
    display: inherit;
    float: right;
    height: 50px;
    width: 250px;
    background-image: url(/images/Total-Footer.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.total-background-last {
    display: inherit;
    float: right;
    height: 50px;
    width: 250px;
    background-image: url(/images/Total-Footer-2.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.total-vat-div-label {
    display: inherit;
    float: left;
    width: 100px;
    height: 40px;
    padding-top: 12px;
    padding-left: 10px;
    text-align: left;
}
.total-vat-div-value {
    display: inherit;
    float: left;
    width: 150px;
    height: 40px;
    padding-top: 12px;
    padding-right: 10px;
}
.total-grand-div-label {
    display: inherit;
    float: left;
    width: 70px;
    height: 40px;
    padding-top: 12px;
}
.total-grand-div-value {
    display: inherit;
    float: left;
    width: 110px;
    height: 40px;
    padding-top: 12px;
}
label:not(.form-check-label):not(.custom-file-label) {
    font-weight: 500!important;
}
.page-item.active .page-link {
    background-color: #0F4B80!important;
    border-color: #0F4B80!important;
    color:white!important;
}
.page-link {
    color: #0F4B80 !important;
}
.card-primary.card-outline {
    border-top: 3px solid #007d98!important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    margin-top: -5px !important;
}

.col-short {
    width: 200px !important;
}

.col-long {
    width: 500px !important;
}

.col-medium {
    width: 300px !important;
}

.loader {
    display: none;
    background-size: 300px 100px;
}
.loaderform {
    display: none;
    background-size: 300px 100px;
}
.loading {
    top: 50%;
    left: 50%;
    margin-left: 155px;
    margin-top: -180px;
    display: grid;
    grid-template-columns: 33% 33% 33%;
    grid-gap: 2px;
    width: 50px;
    height: 50px;
}
.loading > div {
    width: 100%;
    height: 100%;
    background: #007d98;
    transform: scale(0);
    transform-origin: center center;
    animation: loading 1s infinite linear;
}

    .loading > div:nth-of-type(1), .loading > div:nth-of-type(5), .loading > div:nth-of-type(9) {
        animation-delay: 0.4s;
    }

    .loading > div:nth-of-type(4), .loading > div:nth-of-type(8) {
        animation-delay: 0.2s;
    }

    .loading > div:nth-of-type(2), .loading > div:nth-of-type(6) {
        animation-delay: 0.6s;
    }

    .loading > div:nth-of-type(3) {
        animation-delay: 0.8s;
    }

@keyframes loading {
    0% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }

    80% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}
