/*
Template Name: Hybrix - Admin & Dashboard Template
Author: Themesbrand
Website: https://themesbrand.com/
Contact: support@themesbrand.com
File: Custom Css File
*/

@media (max-width: 575.98px) {
    .br-sm::after {
        content: "\A";
        white-space: pre;
    }
}
@media (max-width: 575.98px) {
    .flex-wrap-mobile {
        flex-wrap: wrap !important;
    }
}
.w-xxl {
    min-width: 200px;
}

.w25 {
    width: 25px !important;
}

.w50 {
    width: 50px !important;
}

.w75 {
    width: 75px !important;
}

.w100 {
    width: 100px !important;
}

.w150 {
    width: 150px !important;
}

.w200 {
    width: 200px !important;
}

.w250 {
    width: 250px !important;
}

.w300 {
    width: 300px !important;
}

.w350 {
    width: 350px !important;
}

.w400 {
    width: 400px !important;
}

.bg-primary {
    --tb-bg-opacity: 1;
    background-color: rgba(0,140,80,0.7) !important;
}
#page-topbar {
    top: 0px;
}
.navbar-menu{
    top: 0px
}
.navbar-header {
    height: 54px;
}
.header-item {
    height: 54px;
}
.page-content {
    padding: calc(54px + 1.5rem) calc(1.5rem* .7) 48px calc(1.5rem* .5);
}
[data-layout=vertical][data-sidebar-size=sm] .navbar-brand-box {
    top: 0px;
}
.page-content {
    padding: calc(54px + 1.5rem) calc(1.5rem * .7) 60px calc(1.5rem * .5);
}
.footer {
    font-size: 10pt;
    padding: 6px calc(1.5rem * .5);
    height: 32px;
}
.btn-iapmo {
    --tb-btn-color: #fff;
    --tb-btn-bg: #4cae84;
    --tb-btn-border-color: #4cae84;
    --tb-btn-hover-color: #fff;
    --tb-btn-hover-bg: #53c594;
    --tb-btn-hover-border-color: #53c594;
    --tb-btn-focus-shadow-rgb: 77,211,136;
    --tb-btn-active-color: #fff;
    --tb-btn-active-bg: #4ac791;
    --tb-btn-active-border-color: #4ac791;
    --tb-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --tb-btn-disabled-color: #fff;
    --tb-btn-disabled-bg: #4cae84;
    --tb-btn-disabled-border-color: #4cae84
}
.text-iapmo {
    --tb-text-opacity: 1;
    color: #4cae84!important;
}

.avatar-xxl {
    width: 192px;
}

.error {
    --tb-text-opacity: 1;
    color: rgba(var(--tb-danger-rgb),var(--tb-text-opacity)) !important;
}

.form-control:disabled, .form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
    border: 1px solid #e3e0e0;
}

.select2-container {
    width: 100% !important;
}

.select2-container .select2-selection--single {
    height: 40px;
    padding-top: 10px;
}

.form-control-sm + .select2-container--bootstrap .select2-selection--single {
    height: calc(1.7rem + 2px);
    padding: 0.4rem 0.5rem;
    font-size: 0.765625rem;
    line-height:  1.5;
}

.form-control-sm + .select2-container--bootstrap .select2-selection--multiple {
    height: calc(1.7rem + 2px);
    font-size: 0.765625rem;
    line-height:  1.5;
}

.form-check-input {
    border: 1px solid gray;
}

.form-check-input-sm {
    width: 0.8em;
    height: 0.8em;
    margin-top: .4em;
}
.form-check-label-sm {
    margin-left: -5px
}

.custom-file {
    position: relative;
    display: inline-block;
    height: calc(2.25rem + 2px);
    margin-bottom: 0;
}

.custom-file-input {
    position: relative;
    z-index: 2;
    width: 100%;
    height: calc(2.25rem + 2px);
    margin: 0;
    overflow: hidden;
    opacity: 0;
}

.custom-file-label {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: calc(2.25rem + 2px);
    padding: 0.375rem 0.75rem;
    overflow: hidden;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #eff2f7;
    border-radius: 0.25rem;
    box-shadow: none;
}

tr.selected {
    background-color: #A2D3F6;
}

.page-title-box {
    padding: 0 0 14px;
}
/* ---------------------------------------------------
    loading animation
----------------------------------------------------- */
.loading {
    position: absolute;
    top: 8%;
    left: 45%;
    z-index: 99;
}
.loading img {
    height: 100px !important;
    width: 100px !important;
}
#loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999999;
    font-family: inherit;
    overflow: hidden;
    background-color: #0000001c;
}

.table-scroll {
    height: 300px;
    max-height: 300px;
    overflow: auto;
    display: inline-block;
    width: 100%;
}

/* ---------------------------------------------------
    dropdown select full text
----------------------------------------------------- */
td select {
    width: 100% !important;
    min-width: 200px !important;
    white-space: normal !important;
}

input[type=checkbox] {
    border: 1px solid gray;
}


/*fixed column*/
@media (min-width: 768px) {

    .sticky-col {
        position: -webkit-sticky;
        position: sticky !important;
        background-color: white !important;
    }

    .first-col {
        width: 120px;
        min-width: 120px;
        max-width: 120px;
        padding-right: 10px !important;
        left: 0px;
    }

    .first-col-sm {
        width: 80px;
        min-width: 80px;
        max-width: 80px;
        padding-right: 10px !important;
        left: 0px;
        z-index: 999;
    }

    .first-col-lg {
        width: 160px;
        min-width: 160px;
        max-width: 160px;
        padding-right: 10px !important;
        left: 0px;
    }

    .second-col {
        padding-right: 10px !important;
        left: 120px;
    }

    .second-col-sm {
        padding-right: 10px !important;
        left: 100px;
        z-index: 999;
    }

    .second-col-lg {
        padding-right: 10px !important;
        left: 1600px;
    }
}