:root {
    --themecolor: #556b2f;
}

::selection {
    background: var(--themecolor);
    color: #fff;
}

body {
    overflow-x: hidden;
}

a {
    color: var(--themecolor);
    text-decoration: none;
}

.theme-color {
    color: var(--themecolor) !important;
}

.bg-theme {
    background-color: var(--themecolor);
}

.btn-theme {
    color: #fff;
    background-color: var(--themecolor);
    border-color: var(--themecolor)
}

.btn-theme:hover {
    color: #fff;
    background-color: #485d23;
    border-color: #485e22
}

.btn-check:focus+.btn-theme,
.btn-theme:focus {
    color: #fff;
    background-color: #485d23;
    border-color: #485e22;
    box-shadow: 0 0 0 .25rem rgba(60, 62, 69, 0.5)
}

.btn-check:checked+.btn-theme,
.btn-check:active+.btn-theme,
.btn-theme:active,
.btn-theme.active,
.show>.btn-theme.dropdown-toggle {
    color: #fff;
    background-color: #485e22 !important;
    border-color: #485e22 !important;
}

.btn-check:checked+.btn-theme:focus,
.btn-check:active+.btn-theme:focus,
.btn-theme:active:focus,
.btn-theme.active:focus,
.show>.btn-theme.dropdown-toggle:focus {
    box-shadow: 0 0 0 .25rem rgba(60, 62, 69, 0.5)
}

.btn-theme:disabled,
.btn-theme.disabled {
    color: #fff;
    background-color: var(--themecolor);
    border-color: var(--themecolor)
}

.content .navbar .navbar-nav .nav-link:hover,
.content .navbar .navbar-nav .nav-link.active {
    color: var(--themecolor);
}

.nav-custom {
    z-index: 999;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, .1);
    margin-left: 1rem;
    margin-right: 1rem;
    position: fixed;
    top: 1rem;
    display: block;
    transition: top 0.3s;
    width: calc(100% - 2rem);
}

.top-nav-p {
    padding-top: 6rem;
    padding-bottom: 2rem;
    background-color: #fff;
}

@media (max-width: 992px) {
    .top-nav-p {
        padding-top: 3rem;
        padding-bottom: 0rem;
    }

    .nav-custom {
        border-radius: 0;
        border: 1px solid rgba(0, 0, 0, .1);
        margin-left: 0;
        margin-right: 0;
        top: 0;
        width: 100%;
    }

    #content-in {
        min-height: 100vh;
        box-shadow: none !important;
        border: 0 !important;
        background-color: #fff !important;
    }

    /* .nav-custom {
        border-radius: 5px;
    } */
}

.dropdown-in {
    position: absolute !important;
    top: 0 !important;
    left: 100% !important;
}

@media (max-width: 992px) {
    .dropdown-in {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
    }

    /* .nav-max-height {
        max-height: 90vh;
        overflow: auto;
    } */
    #navbarNavDropdown {
        display: none;
    }
}

.pagination>li>a,
.pagination>li>span {
    color: var(--themecolor) !important;
    border-color: var(--themecolor) !important;
}

.pagination>li.active>a,
.pagination>li.active>span {
    background-color: var(--themecolor) !important;
    color: #fff !important;
    box-shadow: none;
}

/* CUSTOM CSS */

.table-custom tr th {
    /* font-size: 1rem !important; */
    /* background-color: rgba(0, 0, 0, .05); */
    vertical-align: middle;
}

.table-custom tr td {
    /* font-size: 1rem !important; */
    vertical-align: middle;
}

.dataTables_filter input,
.dataTables_length select,
.dataTables_filter input:focus,
.dataTables_length select:focus {
    /* border-radius: 10px !important; */
    outline: none;
}

.paginate_button {
    /* border-radius: 10px !important; */
}

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--themecolor);
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}

.processing {
    background-color: rgba(255, 255, 255, 0);
    backdrop-filter: blur(2px);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 99;
    cursor: not-allowed;
    border-radius: .5rem;
    text-align: center;
    font-weight: bold;
}

.processing td {
    height: 100vh;
    width: 100vw;
    vertical-align: middle;
}

.processing img {
    width: 100px;
    margin-bottom: 1rem;
}

/* Chrome, Safari, Edge, Opera */

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */

input[type=number] {
    -moz-appearance: textfield;
}

.cursor-pointer {
    cursor: pointer;
}

.select-none {
    user-select: none;
}

button:focus {
    outline: 1px dashed #252525 !important;
}

table .dropstart button.dropdown-toggle {
    text-transform: uppercase !important;
}


.dropdown-item:focus {
    background-color: var(--themecolor);
    color: #fff;
}

div.dataTables_processing {
    background-color: rgba(0, 0, 0, 0);
    border: none;
}

div.dataTables_processing>div:last-child>div {
    background: var(--themecolor);
}

.offcanvas-menu .btn:focus {
    box-shadow: none;
    outline: 0;
}

.bottom-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
}

.bottom-fixed .btn-lg-square {
    width: 60px;
    height: 60px;
}

.form-check-input[type="checkbox"] {
    border-radius: 0;
}

.form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0;
    margin-right: .3rem;
}

.no-resize {
    resize: none;
}

.text-black-75 {
    color: rgba(0, 0, 0, 0.75) !important
}

.border-bottom-2 {
    border-bottom: 2px solid rgba(0, 0, 0, 0.3) !important;
}

.viewcard-desc {
    color: rgba(0, 0, 0, .75);
    font-weight: bold;
}

@media (max-width: 992px) {
    .viewcard-desc {
        color: rgba(0, 0, 0, .5);
        font-weight: normal;
    }
}

.col-notify {
    display: none;
    width: auto;
    min-width: 250px;
    position: fixed !important;
    top: 0;
    right: 0;
    padding: 1rem;
    z-index: 9999 !important;
}

.col-notify {
    padding: 1rem;
    top: inherit;
    bottom: 0 !important;
    left: 0;
    right: 0;
}

.col-notify .col-notify-in p {
    color: rgba(255, 255, 255, .8);
    margin-bottom: 0;
    text-align: center;
}

.col-notify .col-notify-in {
    display: block;
    background-color: #212529;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

@media (max-width: 767px) {
    .col-notify {
        padding: 1rem;
        top: inherit;
        bottom: 0 !important;
        left: 0;
        right: 0;
    }

    .col-notify .col-notify-in p {
        text-align: center;
    }
}

.btn:active,
.btn:focus,
.btn.active,
.btn:active:focus,
.navbar-toggler:active,
.navbar-toggler:focus,
.navbar-toggler.active,
.navbar-toggler:active:focus,
.accordion-button:active,
.accordion-button:focus,
.accordion-button.active,
.accordion-button:active:focus {
    background-image: none !important;
    outline-style: solid !important;
    outline-color: rgba(0, 0, 0, .2) !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.switch-branch {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
    transition: .5s;
}

.switch-branch a {
    border-radius: 0 0 0 1rem;
    padding: .3rem .7rem .5rem .9rem;
}

.switch-branch a span {
    margin-left: 5px;
    display: inline-block;
}

@media (max-width: 992px) {
    .switch-branch {
        top: inherit;
        bottom: 0;
        right: inherit;
        left: 0;
    }

    .switch-branch a {
        border-radius: 0 50% 0 0;
        padding: .7rem .8rem .4rem .5rem;
    }

    .switch-branch a span {
        margin-left: 0;
        display: none;
    }
}

.dropdown-item-block {
    padding: 0.4rem 1rem 0.25rem;}
.dropdown-item-block .small {
    font-size: .7rem !important;
}

.btn-switch-branch{
    color: #212529 !important;
    border-color: rgba(0,0,0,0.1);
}