/*General*/
small {
    text-transform: none;
}
/*Loader*/
.loader {
    position: relative;
    pointer-events: none;
}
.loader:before,
.loader:after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
}

.iti{
    width:inherit;
}


.blog-name-div{
    min-height: 3.5rem;
}
.blog-more{
    display:none;
}
.blog-name{
    display:flex;
    padding-left: 50px;
    padding-right: 50px;
}

.blog-all-div:hover .blog-more {
    display: flex;
    color: var(--primary);
    padding-left: 50px;
    padding-right: 50px;
}
.blog-all-div:hover .blog-name {
    display: none;
}


.error-border{
    border:1px solid red !important;
}









.btn.loader:before,
.btn.loader:after {
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
}
.btn.btn-b-width-2.loader:before,
.btn.btn-b-width-2.loader:after {
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
}
.input-group-append .btn.loader::before,
.input-group-append .btn.loader::after {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.loader:before {
    content: "";
    background-color: rgba(255,255,255,0.7);
}
.loader:after {
    content: "";
    -webkit-animation:la-spin 2s infinite linear;
    animation:la-spin 2s infinite linear;
    color: var(--primary);
    width: 30px;
    height: 30px;
    margin: auto;
    background-image: url('/public/images/loader.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}



body.loader:before,
body.loader:after {
    position: fixed;
    z-index: 1000;
}
/* Pagination */
.pagination .page-item {
    box-sizing: border-box;
    display: inline-block;
    min-width: 1.5em;
    margin-left: 2px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    color: #333 !important;
    border: 1px solid transparent;
    border-radius: 2px;
}

.page-item .page-link {
    min-width: 40px;
    width: 40px;
    height: 40px;
    margin-left: 5px;
    cursor: pointer;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: grid;
    place-items: center;
    padding: 0px !important;
}

.page-item .page-link:hover {
    z-index: 3;
    color: #fff;
    background-color: #6045e2;
    border-color: transparent;
}

.page-item .page-link:focus {
    color: #333;
    border: 1px solid #ddd;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #6045e2;
    border-color: transparent;
}

.page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
}

.page-item:last-child .page-link {
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
}

/* form input */
.form-control {
    min-width: 120px;
}

.filter-area {
    gap: 10px;
    flex-wrap: wrap;
}

.filter-area .theme-input-style {
    width: unset;
}
.terms-page img {
    height: 0.96em;
}
@media (max-width: 575px) {
    .filter-area .theme-input-style {
        width: 100%;
    }
}

/**Datatable**/
table.dataTable.no-footer,
table th {
    border-color: #dee2e6;
}

.dataTables_scrollBody {
    overflow: hidden !important;
}

/* input */
.invalid-input {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545;
}

/* //Dark Light Switcher */
.floating-mode-switcher-wrap {
    position: fixed;
    right: 22px;
    bottom: 50px;
    z-index: 9999;
}

/* Switchers */
.dl-switch {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 24px;
    cursor: pointer;
    user-select: none;
}

.dl-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.dl-switch .dl-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    border: 1px solid rgb(0 0 0 / 70%);
    transition: 0.4s;
    border-radius: 50px;
    box-shadow: 3px 3px 30px rgb(0 0 0 / 3%);
}

.dl-light,
.dl-dark {
    position: absolute;
    left: 10px;
    font-size: 12px;
    font-family: inherit;
    font-weight: 500;
    text-transform: uppercase;
    color: #3b3b3b;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.4s;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.dl-light {
    left: auto;
    right: 10px;
}

.dl-dark {
    opacity: 0;
    visibility: hidden;
}

.dl-switch .dl-slider:before {
    position: absolute;
    content: "";
    height: 30px;
    width: 30px;
    left: 0px;
    top: -4px;
    background-color: #040e29;
    transition: 0.4s;
    border-radius: 50%;
    z-index: 1;
    background-image: url("../img/svg/dark.svg");
    background-repeat: no-repeat;
}

.dl-switch input:checked+.dl-slider:before {
    background-color: #fb9426;
    background-image: url("../img/svg/light.svg");
    background-repeat: no-repeat;
}

.dl-switch input:checked~.dl-light {
    opacity: 0;
    visibility: hidden;
}

.dl-switch input:checked~.dl-dark {
    opacity: 1;
    visibility: visible;
}

.dl-switch input:checked+.dl-slider:before {
    transform: translateX(50px);
}

/*email template iframe*/
.et-iframe {
    min-height: 300px;
    resize: auto;
    border: none;
}

.resize-verticle {
    resize: vertical;
}

/*Designing pre element*/
.code-toolbar pre {
    background-color: #f0f0f0;
    border: none;
}

/*customized image in table*/
.img-45 {
    width: 45px;
    height: auto;
}

.img-70 {
    width: 70px;
    height: 70px;
}

.img-80 {
    width: 80px;
    height: 80px;
}

.img-100 {
    width: 100px;
    height: 100px;
}

.gap-10 {
    gap: 10px;
}

.time {
    min-width: fit-content;
}
.agent-card-img-res {
    position: relative;
    padding-top: 135%;
    overflow: hidden;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}
.agent-title{
    font-size: 60px;
}
.card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); /* Custom shadow */
}
.lower-card-body{
    min-height: 10%;
}

.title-text {
    font-size: 22px;
}
.agent-position {
    font-size: 18px;
    margin-top: 4px;
}
.agent-card-email {
    margin-bottom: 5px;
}
.upper-card-body {
    border-bottom: 2px solid rgba(0, 0, 0, .1);
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.info-text{
    font-size: 18px;
}
.sticky-menu a:hover {
    color: var(--primary) !important;
}
@media (max-width: 575px) {
    .details-item {
        flex-direction: column;
    }

    .details-item .text {
        margin: 0;
    }
}

/*Global classes*/
.media_preview_image {
    max-block-size: 71vh;
}


.image_download_icon{
    position: absolute;
    display: flex;
    justify-content: center;
    background-color: #ffffff !important;
    top: 0;
    left: 0;
    cursor: pointer;
    align-items: center;
    max-width: 16px;
    max-height: 16px;
    font-size: 12px;
    padding: 1px;
}

.select-all-images , .unselect-all-images{
    cursor: pointer;
}
.select-all-images:hover , .unselect-all-images:hover{
    color:var(--primary);
}

.download_multi_btn{
}

.image-error-text{
    height: 25px;
}

.visibility-hidden{
    visibility: hidden;
}

.image_download_switch{
    position: absolute;
    display: flex;
    justify-content: center;
    /*background-color: #ffffff !important;*/
    background-color: transparent !important;
    bottom: 0;
    left: 2px;
    cursor: pointer;
    align-items: center;
    max-width: 16px;
    max-height: 16px;
    font-size: 12px;
    padding: 1px;
}

.image_download_switch .switch .control {
    position: absolute;
    top: 0;
    left: 0;
    height: 15px !important;
    width: 26px !important;
    -webkit-transition: background-color 0.15s ease-in;
    -o-transition: background-color 0.15s ease-in;
    transition: background-color 0.15s ease-in;
}

.image_download_switch .switch .control:after {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    width: 15px !important;
    height: 15px !important;
    -webkit-transition: left 0.15s ease-in;
    -o-transition: left 0.15s ease-in;
    transition: left 0.15s ease-in;
}

.image_download_switch .switch input:checked~.control:after {
    left: 11px !important;
}



.word-break {
    word-break: break-all;
}

.max-content {
    width: max-content;
}

.attachment-info .thumbnail img {
    object-fit: contain;
}

div#filtered_media {
    max-block-size: 53vh;
    overflow-y: auto;
    margin-block-start: 20px;
    padding: 5px;
}

.all-attachments ul {
    margin-block-start: 0px;
}

.all-attachments ul li {
    max-block-size: 133px;
    overflow: hidden;
}

.attachment-info {
    min-height: 130px;
}

/*Custom btn*/
.custom-btn {
    padding: 5px 12px;
    font-weight: 500;
    line-height: 1;
    font-size: 14px;
    position: relative;
    cursor: pointer;
    color: #ffffff;
    border: none;
    text-transform: capitalize;
    outline: 0 !important;
    -webkit-box-shadow: 0 5px 10px rgb(4 0 252 / 20%) !important;
    box-shadow: 0 5px 10px rgb(4 0 252 / 20%) !important;
    border-radius: 0px;
}

/*Tree view css*/
.tree-branch>.contents .branch-wrapper {
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 0px;
    box-shadow: none;
}

.menu-item-settings {
    border: 1px solid #eee;
    max-width: 450px;
    padding: 15px;
    border-block-start-width: 0px;
}

/**area disabled*/
.area-disabled,
.area-disabled * {
    opacity: 0.8;
    pointer-events: none;
}

.w-20 {
    width: 20px;
}

@media (max-width: 780px) {
    .menu-management-frame {
        display: grid;
        grid-template-columns: 1fr !important;
    }

    .add-menu-item {
        margin-bottom: 30px;
    }
}

/* .select2-container {
    width: 300px !important;
} */

@media (max-width: 545px) {
    .menu-sm-colunm {
        flex-direction: column;
    }

    .menu-name-label {
        align-self: flex-start;
        margin-bottom: 10px;
    }

    .select2 {
        margin-bottom: 20px;
    }
}

/* Order details page */
.payment-status {
    gap: 15px;
}

.img-50 {
    height: 50px;
    width: 50px;
}

.product-info {
    gap: 10px;
}

.shipping-info {
    gap: 5px;
}


.product-select-box {
    border: 1px dotted;
    padding: 5px 8px;
}

/* order Status  */
.pending {
    color: #ddd;
    background-color: #ffc107;
}

.delivered {
    color: #ddd;
    background-color: #28a745;
}

.processing {
    color: #ddd;
    background-color: #007bff;
}

.shipped {
    color: #ddd;
    background-color: #6c757d;
}

.cancelled {
    color: #ddd;
    background-color: #ff1100;
}

.paid {
    color: #ddd;
    background-color: #28a745;
}

.unpaid {
    color: #ddd;
    background-color: #ff1100;
}

.color-picker {
    width: 50px !important;
    height: 40px !important;
}

.c-scrollbar::-webkit-scrollbar {
    width: 4px;
    background: #1e1e2d;
    border-radius: 3px;
}
.c-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.c-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}
.c-scrollbar {
    scrollbar-color: rgba(255, 255, 255, 0.2);
    scrollbar-width: thin;
}

.c-scrollbar-light::-webkit-scrollbar,
.uppy-Dashboard-files::-webkit-scrollbar,
.bootstrap-select .dropdown-menu .inner::-webkit-scrollbar {
    width: 4px;
    background: rgba(24, 28, 41, 0.08);
    border-radius: 3px;
}
.c-scrollbar-light::-webkit-scrollbar-track,
.uppy-Dashboard-files::-webkit-scrollbar-track,
.bootstrap-select .dropdown-menu .inner::-webkit-scrollbar-track {
    background: transparent;
}
.c-scrollbar-light::-webkit-scrollbar-thumb,
.uppy-Dashboard-files::-webkit-scrollbar-thumb,
.bootstrap-select .dropdown-menu .inner::-webkit-scrollbar-thumb {
    background: rgba(24, 28, 41, 0.1);
    border-radius: 3px;
}
.c-scrollbar-light,
.uppy-Dashboard-files,
.bootstrap-select .dropdown-menu .inner {
    scrollbar-color: rgba(24, 28, 41, 0.08);
    scrollbar-width: thin;
}

.no-scrollbar::-webkit-scrollbar {
    width: 0;
}
.no-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.no-scrollbar::-webkit-scrollbar-thumb {
    background: transparent;
}

.sidebar {
    overflow-x: hidden;
    overflow-y: auto;
}

.btn-circle {
    padding: 5px;
}

.dataTable .btn-circle {
    padding: 5px;
    width: 30px;
    height: 30px;
    font-size: 12px;
}
.dataTable .btn-circle::after {
    display: none;
}

.attachment-preview,
.attachment-preview .thumbnail,
.attachment-preview .thumbnail img {
    width: 100%;
    height: 100%;
    min-height: 131px;
    object-fit: contain;
}

@-webkit-keyframes la-spin {
    0% {
        -webkit-transform:rotate(0);
        transform:rotate(0);
    }
    100% {
        -webkit-transform:rotate(360deg);
        transform:rotate(360deg);
    }
}
@keyframes la-spin {
    0% {
        -webkit-transform:rotate(0);
        transform:rotate(0);
    }
    100% {
        -webkit-transform:rotate(360deg);
        transform:rotate(360deg);
    }
}