:root {
    --theme-color: #b51f24;
    --theme-color-pink: #ff7366;
    --theme-color-gray: #a2a2a2;
    --theme-color-dark-gray: #808080;
    --theme-color-black: #000000;
    --theme-color-white: #FFFFFF;
    --theme-color-light-pink: #ffebdb;
}

body {
    background-color: #edf1f5;
}

.layui-table-cell {
    height: auto;
}

/*.layui-laydate-footer {*/
/*    display: none;*/
/*}*/

.input-group-addon {
    background: var(--theme-color);
}

.layui-form-select dl dd.layui-this {
    background-color: var(--theme-color);
    color: #fff;
}

.layui-none {
    display: none;
}

.layui-table-tips-c:before {
    right: 1px;
    top: -3px;
}

.layui-layer-btn .layui-layer-btn0 {
    border-color: var(--theme-color) !important;
    background-color: var(--theme-color) !important;
    color: #fff !important;
}

.btn {
    cursor: pointer;
}

.btn-theme {
    color: #fff;
    background-color: var(--theme-color);
    border-color: var(--theme-color);
}

.btn-outline-theme {
    color: var(--theme-color);
    background-color: transparent;
    background-image: none;
    border-color: var(--theme-color);
}

.btn-outline-theme:hover {
    color: #fff;
    background-color: var(--theme-color);
    border-color: var(--theme-color);

}

.color-bg-theme{
    background-color: var(--theme-color);
    color: white;
}

.color-theme{
    color: var(--theme-color);
}

.card {
    border: 0;
    border-radius: 0;
    box-shadow: 1.5px 2.6px 79px 0 #b51f2426;
}

.navbar.navbar-primary {
    background: var(--theme-color);
}

.page-title {
    color: var(--theme-color);
}

.content-wrapper {
    background: #edf1f5;
    min-height: 1vh;
}

.flex-row-center {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.grid-margin {
    margin-bottom: 0rem;
}

.nav-link-active {
    color: var(--theme-color) !important;
}

.img-add {
    max-width: 200px;
    max-height: 200px;
}

.icon {
    max-width: 100px;
    border-radius: 50%;
}

.inline-block {
    display: inline-block;
}

.w-auto {
    width: auto !important;
}

.bg-filter {
    background-color: #edf1f5;
    padding: 10px 20px 0 20px;
    border-radius: 5px;
}

input[type=checkbox] {
    width: 24px;
    height: 24px;
    position: relative;
    top: 7px;
    left: 5px;
}

.stat-unit{
    padding: 0 5px;
    border-radius: 5px;
}

@media screen and (max-width: 916px) {
    #sidebar {
        display: none;
    }

    .active > #sidebar {
        display: block;
    }

    .grid-margin {
        margin-bottom: 1rem;
    }

    .bg-filter {
        padding: 20px;
    }

    .content-wrapper , .card-body{
        padding: 10px !important;
    }
}

