﻿input[type=checkbox] {
    margin-right: 5px;
    position: relative;
}

textarea:focus, input:focus {
    outline: none;
    box-shadow: none !important;
}

.btn-xs {
    height: 26px;
    padding-top: 0 !important;
    padding-bottom: 0;
    font-size: .8rem;
    line-height: 1.4rem !important;
}

.btn-icon {
    height: 2.15em;
    line-height: 1.15em;
}

.btn {
    outline: none;
    box-shadow: none !important;
    padding: .375rem .75rem;
}

label {
    margin-bottom: 1px !important;
    padding-left: 2px !important;
    line-height: .8em;
}

.form-group {
    margin-bottom: 6px !important;
}

.form-control::-webkit-input-placeholder {
    opacity: .4;
}

.form-control::-moz-placeholder {
    opacity: .4;
}

.form-control:-ms-input-placeholder {
    opacity: .4;
}

.form-control::placeholder {
    opacity: .4;
}

input.form-control {
    padding-top: 4px;
    padding-bottom: 4px;
    vertical-align: top;
    line-height: 1.5em;
    height: calc(1.5em + .75rem + 2px);
}

.slick-drop-down .btn {
    padding: 4px 8px 4px 8px;
}

.input-group-text {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

.h-100 {
    height: 1px;
    min-height: 100%;
    max-height: 100%;
    overflow-y: auto;
}

.table-bordered thead tr:not(:first-child) td:not(:last-child):not(:first-child),
.table-bordered thead tr:not(:first-child) td:not(:last-child):not(:first-child) .resize_column_left,
.table-bordered thead tr:not(:first-child) td:not(:last-child):not(:first-child) .resize_column_right {
    border-right: none;
    border-left: none;
}

.table-bordered thead tr:not(:first-child) td:not(:last-child),
.table-bordered thead tr:not(:first-child) td:not(:last-child) .resize_column_left {
    border-right: none;
}

.table-bordered thead tr:not(:first-child) td:not(:first-child),
.table-bordered thead tr:not(:first-child) td:not(:first-child) .table-bordered {
    border-left: none;
}

.table-bordered tbody td:not(:last-child) {
    border-right: none !important;
}

.table-bordered tbody td:not(:first-child) {
    border-left: none;
}

.table-no-padding tr,
.table-no-padding tr td {
    padding: 0;
}

.table thead tr td {
    vertical-align: bottom !important;
    line-height: 20px !important;
}

.slick-tab-headers .btn-primary,
.slick-tab-headers .btn-primary:hover {
    color: var(--bs-primary) !important;
}


.slick-tab .badge {
    font-weight: 100;
    background: var(--bs-info);
    color: white !important;
    font-size: 12px;
    position: relative;
    padding-left: .30rem;
    padding-right: .30rem;
    padding-top: .15rem;
    padding-bottom: .15rem;
    line-height: 10px;
}

@-moz-document url-prefix() {
    .slick-tab .badge {
        padding-left: .3rem;
        padding-right: .3rem;
        padding-top: .25rem;
        padding-bottom: .1rem;
    }
}

.btn {
    font-family: 'Roboto', sans-serif !important;
}


/* Danger buttons (exclude .no-custom) */
.btn-danger:not(.no-custom),
.btn-outline-danger:not(.no-custom) {
    background: rgb(from var(--bs-danger) r g b / .1);
    border: 1px solid rgb(from var(--bs-danger) r g b / .2);
    color: var(--bs-danger);
}

    .btn-danger:not(.no-custom):hover,
    .btn-outline-danger:not(.no-custom):hover {
        background: rgb(from var(--bs-danger) r g b / .2);
        border: 1px solid rgb(from var(--bs-danger) r g b / .3);
        color: var(--bs-danger);
    }

/* Primary buttons (exclude .no-custom) */
.btn-primary:not(.no-custom),
.btn-outline-primary:not(.no-custom) {
    background: rgb(from var(--bs-primary) r g b / .1);
    border: 1px solid rgb(from var(--bs-primary) r g b / .2);
    color: var(--bs-primary);
}

    .btn-primary:not(.no-custom):hover,
    .btn-outline-primary:not(.no-custom):hover {
        background: rgb(from var(--bs-primary) r g b / .2);
        border: 1px solid rgb(from var(--bs-primary) r g b / .3);
        color: var(--bs-primary);
    }

/* Success buttons (exclude .no-custom) */
.btn-success:not(.no-custom),
.btn-outline-success:not(.no-custom) {
    background: rgb(from var(--bs-success) r g b / .1);
    border: 1px solid rgb(from var(--bs-success) r g b / .2);
    color: var(--bs-success);
}

    .btn-success:not(.no-custom):hover,
    .btn-outline-success:not(.no-custom):hover {
        background: rgb(from var(--bs-success) r g b / .2);
        border: 1px solid rgb(from var(--bs-success) r g b / .3);
        color: var(--bs-success);
    }


.slick-tabs .slick-tab-headers {
    margin-bottom: 2px;
    background: rgb(from var(--bs-primary) r g b / .1);
    width: fit-content;
    align-items: center;
    border-radius: 6px;
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
    border: 1px solid rgb(from var(--bs-primary) r g b / .4);
    transition: margin .2s ease-in-out;
    color: var(--bs-primary);
}

    .slick-tabs .slick-tab-headers .slick-tab.btn {
        top: 0;
        align-items: center;
        margin-right: 0;
        border-radius: 4px;
        transition: background 0.2s, color 0.2s;
        position: relative;
        height: 28px;
        line-height: 20px;
        font-size: 14px;
    }

    .slick-tabs .slick-tab-headers .slick-tab.btn-primary,
    .slick-tabs .slick-tab-headers .slick-tab.btn-primary:hover {
        color: white !important;
        background: rgb(from var(--bs-primary) r g b / .8) !important;
        border: 1px solid var(--bs-primary);
        transition: all .4s ease;
    }

    .slick-tabs .slick-tab-headers .slick-tab.btn-secondary {
        color: var(--bs-body-text);
        background: none !important;
        border: 1px solid rgb(from var(--bs-primary) r g b / 0);
    }

        .slick-tabs .slick-tab-headers .slick-tab.btn-secondary:hover {
            color: var(--bs-body-text);
            background-color: rgb(from var(--bs-primary) r g b / .1) !important;
            transition: background-color .3s ease-in;
        }



.slick-dialog .slick-dialog_header .header-left {
    padding-left: 0 !important;
}


    .slick-dialog .slick-dialog_header .header-left {
        width: calc(100% - 20px);
    }
    .slick-dialog .modal-header {
        background-color: var(--bs-modal-bg);
    }

.btn-group {
    border: 1px solid rgb(from var(--bs-primary) r g b / .4);
    background-color: var(--bg-body) !important;
    color: var(--bs-body-text);
}

.btn-group .btn-primary {
    color: white !important;
    background: rgb(from var(--bs-primary) r g b / .8) !important;
}

    .btn-group .btn-outline-primary {
        background-color: var(--bg-body) !important;
    }

    slick-grid tbody tr td {
        line-height: 2rem;
    }