﻿table.dataTable tbody th, table.dataTable tbody td {
    padding: 6px 8px;
}

tr.bordered {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/*.custom-file-input ~ .custom-file-label::after {
    content: "Button Text";
}*/

option.select-hr {
    border-bottom: 1px dotted #000;
}

.inm-img-upload-src {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    background-image: linear-gradient(180deg, #4e73df 10%, #224abe 100%);
    padding: 5px;
    max-height: 164px;
    object-fit: contain;
}

.custom-file-label::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    height: calc(1.5em + 0.75rem);
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
    color: #6e707e;
    content: none;
    background-color: #eaecf4;
    border-left: inherit;
    border-radius: 0 0.35rem 0.35rem 0;
}

.btn-circle.btn-sm, .btn-group-sm > .btn-circle.btn {
    height: 1.5rem;
    width: 1.5rem;
    font-size: 0.75rem;
}

.preloader-img {
    max-width: 300px;
    position: absolute;
    top: 43%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.preloader {
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    opacity: 1;
    background-color: var(--primary);
    background-image: linear-gradient(180deg, #4e73df 10%, #224abe 100%);
    background-size: cover;
    z-index: 99;
}

    .preloader ul {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        padding: 0;
        display: flex;
    }

        .preloader ul li {
            list-style: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #fff;
            animation: grow 1.6s ease-in-out infinite;
        }

    .preloader.preloader-deactivate {
        visibility: hidden;
        opacity: 0;
        transition: visibility 0s 1s, opacity 1s linear;
    }
/* Define animation */
@keyframes grow {
    0%, 40%, 100% {
        transform: scale(0.2);
    }

    20% {
        transform: scale(1);
    }
}

/* Define li properties */
.preloader ul li:nth-child(1) {
    animation-delay: -1.4s;
    background: #ffff00;
    box-shadow: 0 0 50px #ffff00;
}

.preloader ul li:nth-child(2) {
    animation-delay: -1.2s;
    background: #76ff03;
    box-shadow: 0 0 50px #76ff03;
}

.preloader ul li:nth-child(3) {
    animation-delay: -1s;
    background: #f06292;
    box-shadow: 0 0 50px #f06292;
}

.preloader ul li:nth-child(4) {
    animation-delay: -0.8s;
    background: #4fc3f7;
    box-shadow: 0 0 50px #4fc3f7;
}

.preloader ul li:nth-child(5) {
    animation-delay: -0.6s;
    background: #ba68c8;
    box-shadow: 0 0 50px #ba68c8;
}

.preloader ul li:nth-child(6) {
    animation-delay: -0.4s;
    background: #f57300;
    box-shadow: 0 0 50px #f57300;
}

.preloader ul li:nth-child(7) {
    animation-delay: -0.2s;
    background: #673ab7;
    box-shadow: 0 0 50px #673ab7;
}


/*.form-inline label {
    display: block;
}*/

.flag-text {
    text-indent: 20px;
}

input.decker-top, textarea.decker-top {
    border-bottom-right-radius: 0;
}

input.decker-center, textarea.decker-center {
    border-radius: 0;
    margin-bottom: -1px;
}

input.decker-bottom, textarea.decker-bottom {
    border-top-right-radius: 0;
}

span.decker-top {
    border-bottom-left-radius: 0;
}

span.decker-center {
    border-radius: 0;
}

span.decker-bottom {
    border-top-left-radius: 0;
}

div.decker-center {
    margin-top: -1px;
    margin-bottom: -1px;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before {
    background-color: #e55c00 !important;
}

.inm-btnsave {
    display: flex !important;
}

    .inm-btnsave span.spinner-grow {
        margin-top: 3px;
        margin-right: 5px;
    }

.dropify-wrapper {
    border: 1px solid #d1d3e2 !important;
    border-radius: 0.35rem;
    color: #6e707e !important;
}

    .dropify-wrapper:hover {
        background-image: linear-gradient(-45deg, var(--ct-card-cap-bg) 25%, transparent 25%, transparent 50%, var(--ct-card-cap-bg) 50%, var(--ct-card-cap-bg) 75%, transparent 75%, transparent);
    }

    .dropify-wrapper .dropify-preview {
        background-color: var(--backorange) !important;
    }

.dropify-message > .file-icon {
    color: #6e707e;
}

    .dropify-message > .file-icon p {
        font-size: large;
        color: #6e707e;
    }

.bootstrap-select > .dropdown-toggle:after {
    display: none !important;
}

.iconpicker-popover.popover.bottom,
.iconpicker-popover.popover.bottomRightCorner,
.iconpicker-popover.popover.bottomRight,
.iconpicker-popover.popover.bottomLeft,
.iconpicker-popover.popover.bottomLeftCorner {
    opacity: 1 !important;
    margin-top: 10px;
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item, .sidebar .nav-item .collapsing .collapse-inner .collapse-item {
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    display: block;
    color: #3a3b45;
    text-decoration: none;
    border-radius: 0.35rem;
    white-space: pre-wrap;
}

.zoom-container {
    overflow: hidden;
}

.zoom img {
    padding: 0px;
    margin: 0 auto;
    transform-origin: 65% 75%;
    transition: transform 1s, filter .5s ease-out;
}

    .zoom img:hover {
        transform: scale(1.05); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
    }


.post-container, .na-post-container {
    padding: 0;
    border: none;
    overflow: hidden;
}

.post-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1.5rem !important;
    clear: both;
    font-weight: 400;
    color: #3a3b45;
    text-align: inherit;
    /*white-space: nowrap;*/
    background-color: transparent;
    border: 0;
}

    .post-item:hover, .post-item:focus, .post-item.active, .post-item:active {
        color: var(--orange);
        text-decoration: none;
        background-color: #f8f9fc;
    }

    .post-item.disabled, .post-item:disabled {
        color: #858796;
        pointer-events: none;
        background-color: transparent;
    }

.post-container .post-item .text-truncate {
    max-width: 19.5rem;
}

.na-post-container .post-item .text-truncate {
    max-width: 16.5rem;
}

.post-image {
    position: relative;
    height: 70px;
    width: 70px;
    object-fit: cover;
}

    .post-image img {
        max-width: 100%;
        min-width: 70px;
        min-height: 70px;
        object-fit: cover;
        max-height: 100%;
    }

.post-excerpt {
    overflow: hidden;
    width: 300px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 90%;
}

.na-post-container .post-item .post-excerpt {
    width: 260px;
}

.topbar .navbar-search {
    width: 80rem;
}

.marquee-container {
    height: 30px;
    overflow: hidden;
    line-height: 30px;
}

    .marquee-container .marquee {
        left: 100%;
        width: 100%;
        /*overflow: hidden;*/
        position: relative;
        white-space: nowrap;
        animation: marquee 30s linear infinite;
    }

    .marquee-container .marquee-stop {
        left: 100%;
        width: 100%;
        /*overflow: hidden;*/
        position: relative;
        white-space: nowrap;
        animation: marquee 0s linear infinite;
    }

    .marquee-container .marquee2 {
        animation-delay: 15s;
    }

    .marquee-container b {
        padding-left: 10px;
    }

@keyframes marquee {
    0% {
        left: 100%;
    }

    100% {
        left: -100%;
    }
}

.sweet-alert .sa-icon.sa-success::before {
    top: -18px !important;
}

.nav-brand {
    height: 4.375rem;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 800;
    padding: 1.5rem 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    z-index: 1;
}

.navbar-brand img {
    margin: -130px;
}

.sidebar .sidebar-brand img {
    max-height: 65px;
}

.form-label {
    font-weight: 700;
}

.table thead th {
    font-weight: 600;
}