/*Write your custom css in this file.*/


* {
    scrollbar-width: thin;
    scrollbar-color: #0d6efd #fff;
}


.avatar img {
    height: 33px;
    width : 33px;
}

.sidebar {
    width: 265px;
    font-size: 14px;
    background: #1d2632;
}

.navbar-expand.navbar-custom {
    left: 265px;
}

.navbar-expand.navbar-custom.guest-user {
    left: 0px;
}

.sidebar-brand {
    padding: 0.9rem 2.9rem;
    width: 265px;
}


#dashboards-color-tags a:nth-child(2) .color-tag:not(.border-circle) {
    animation: zoom-in-out 2s ease-out infinite;
}

.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    background-color: var(--primary-disabled-bg);
    border-color: var(--primary-disabled-border-color);
}

.full-screen-image {
    border-radius: 5px;
    border: 4px solid #e4e8f1;
}

#ajax-data-table .full-screen-image {
    border: 1px solid #e4e8f1;
}

.page-wrapper {
    padding: 20px;
    /* min-height: 250px; */
}

.page-container {
    margin-left: 265px;
}


.sidebar-brand {
    /* width             : 250px;
    height            : 65px; */
    position          : fixed;
    text-align        : center;
    z-index           : 999;
    background-color  : #fff;
    box-shadow        : 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
    -webkit-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.sidebar-brand.brand-logo-mini {
    width  : 70px;
    padding: 0px !important;
}


.brand-logo-mini img {
    height: 40px;
    margin-top: 10px;
}

.sidebar-scroll {
    margin-top: 65px;
    background: #FFF;
}

.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3), 
.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control, 
.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select, 
.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.input-group.append-group input {
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.input-group.append-group .input-group-addon.prepend-addon .input-group-text {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.input-group.append-group .input-group-addon.prepend-addon .input-group-text {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.input-group.append-group .input-group-addon.prepend-addon {
    width: 36px !important;
    border-top-right-radius: 5px;
    cursor: pointer;
}

@keyframes zoom-in-out {
    0% {
        transform: scale(1, 1);
    }
    50% {
        transform: scale(1.8, 1.8);
    }
    100% {
        transform: scale(1, 1);
    }
}

.left-sidebar .sidebar-scroll {
    height    : 300px;
    position  : relative;
    overflow-y: auto !important;
}

.sidebar-scroll, #timeline .post-content .post-date span {
    background: #212529;
}

.sidebar-menu li.active > a {
    background-color: var(--primary-color);
}

.sidebar #sidebar-menu {
    max-height: calc(100% - 80px);
}

.input-group-text {
    height: 100%;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

form textarea.form-control {
    height: 100px;
}

.account-list #ajax-data-table thead th:first-child, 
.supplier-adjustment-list #ajax-data-table thead th:first-child 
{
    min-width: 147px;
}


.account-list #ajax-data-table tbody tr td:first-child {
    text-align: left !important;
}

.action-option, 
#ajax-data-table_wrapper td .action-buttons a, 
#dynamic-table_wrapper .action-buttons a {
    cursor        : pointer;
    min-width     : 28px;
    background    : #fff;
    color         : #a1a3a5;
    border-radius : 50%;
    display       : inline-block;
    position      : relative;
    vertical-align: middle;
    text-align    : center;
    margin        : 0 5px;
    padding       : 2px 0 2.5px 0;
    border        : 1px solid #e2e7f1;
    font-size     : 14px;
}

.product-display-tbody td .action-buttons a {
    cursor: pointer;
    min-width: 28px;
    background: #fff;
    color: #a1a3a5;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    text-align: center;
    margin: 0 5px;
    padding: 4px 0 2.5px 0;
    border: 1px solid #e2e7f1;
    font-size: 14px;
}

#ajax-data-table_wrapper svg:not(.gantt),
#dynamic-table_wrapper svg:not(.gantt) {
    margin-top: 1px;
}

#ajax-data-table_wrapper td a.edit:hover, 
.external-tickets-embedded-code:hover, 
.action-option:hover, 
.copy-file-link:hover,
#dynamic-table_wrapper .action-buttons a:hover {
    background: var(--primary-color);
    color: #fff;
    border: 1px solid var(--primary-color);
}

#ajax-data-table_wrapper td a.delete:hover,
#dynamic-table_wrapper .action-buttons a.delete:hover {
    background: var(--warning-color);
    color: #fff;
    border: 1px solid var(--warning-color);
}

#ajax-data-table_wrapper td a.info:hover,
#dynamic-table_wrapper .action-buttons a.info:hover {
    background: var(--secondary-color);
    color: #fff;
    border: 1px solid var(--secondary-color);
}

#filter-form .table-sm>:not(caption)>*>* {
    vertical-align: middle;
}

#filter-form tbody, td, tfoot, th, thead, tr {
    border-style: none;
}

#filter-form thead tr th {
    text-align: center;
}

#filter-form tr td:first-child {
    text-align: right;
    padding-right: 20px;
}

.btn-primary {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--primary-color-hover);
    border-color: var(--primary-color-hover);
    color: #fff;
}

.error-message-area .close {
    position: absolute;
    top: 15px;
    right: 10px;
    color: var(--bs-danger);
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s;
    background: transparent;
    border: none;
    line-height: 10px;
}

.swal2-styled.swal2-cancel {
    background-color: #fff !important;
    border: 1px solid #f2f4f6;
    color: #595959;
}

.swal2-styled.swal2-cancel:hover {
    background-color: #E6E6E6;
    border-color: #E6E6E6;
}

.swal2-styled.swal2-confirm {
    border: 0;
    border-radius: .25em;
    background: initial;
    background-color: #3085d6;
    color: #fff;
    font-size: 1.0625em;
    border-color: var(--warning-color);
    background-color: var(--warning-color) !important;
}

.swal2-styled.swal2-confirm:hover{
    background-color: var(--warning-color-hover);
    border-color: var(--warning-color-hover);
    color: #fff;
}

#page-content .nav-tabs.title li a {
    padding: 20px 15px;
    font-size: 16px;
    font-weight: 700;
}

table.dataTable thead th, table.dataTable tbody td {
    font-size: 14px;
}

.pointer {
    cursor: pointer;
}

.w-25 {
    width: 25px !important;
}

.checkbox label {
    width: calc(100% - 25px);
}

.select2-choice {
    border-color: #ced4da !important;
    background-color: #f6f8f9 !important;
}

.payment-method-row svg {
    color: red;
    cursor: pointer;
    margin-top: 8px;
}

.total-calculation-fields .payment-section td .payment-method-row input[type="number"] {
    text-align: right;
}

.payment-method-container {
    max-height: 250px;
    overflow-y: auto;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: red;
    font-size: 20px;
    font-weight: bold;
    transition: 0.3s;
    border: none !important;
    background: transparent;
}

.form-control {
    line-height: 1.7;
}

.product-display-tbody tr td span.remove-row {
    margin-top: 8px;
    display: inline-block;
    cursor: pointer;
    color: red;
}

#left-menu-toggle-mask {
    background-color: #e4e8f1;
}

.item-detail-table thead tr {
    background: #1d2632; 
    color: white
}

.quick-create-modal form .modal-body .input-group-addon {
    width: 130px !important;
}

.dropdown-container .dropdown-results .dropdown-button {
    display: block;
    width: 100%;
    padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
    clear: both;
    font-weight: 400;
    color: var(--bs-dropdown-link-color);
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.dropdown-container .dropdown-results .dropdown-item .btn.btn-primary,
.dropdown-container .dropdown-results .dropdown-button .btn.btn-primary {
    color: white;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
}

form .input-group .border-radius-right-none {
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.swal2-styled.swal2-confirm {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: var(--primary-color) !important;
}

.attachment-view-detail {
    display: inline-block;
    margin-top: 8px !important;
}

.float-left {
    float: left;
}


.jquery-data-table .dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 8px;
}

.jquery-data-table .dataTables_wrapper .dataTables_paginate .paginate_button a {
    border: 0;
    border-right: 0px !important;
}

.jquery-data-table .dataTables_wrapper .dataTables_paginate .paginate_button:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.jquery-data-table .dataTables_wrapper .dataTables_paginate .paginate_button:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.jquery-data-table .dataTables_wrapper .dataTables_paginate .paginate_button.active {
    background: #5cb85c !important;
}

.jquery-data-table .dataTables_wrapper .dataTables_paginate .paginate_button.active a {
    background: #5cb85c !important;
    color: white !important;
}

input[readonly] {
    background: #e9ecef73;
}

.search-product-dropdown-results .dropdown-item .product-name {
    font-weight: 600;
    color: var(--primary-color);
}

span.input-group-addon.br-none.input-group-text,
span.input-group-addon.br-none 
.br-none {
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.btn-success {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-success:hover, .btn-success:active, .btn-success:focus {
    background: var(--primary-color-hover);
    border-color: var(--primary-color-hover);
    color: white;
}

.dropdown-container {
    position: relative;
    width: 100%;
}

.dropdown-results {
    position: absolute;
    z-index: 1000;
    background: white;
    border: 1px solid #ccc;
    width: 100%;
    max-height: 350px;
    overflow-y: auto;
    display: none;
}

.dropdown-results .dropdown-item {
    padding: 10px;
    cursor: pointer;
}

.dropdown-results .dropdown-item:hover,
.dropdown-results .dropdown-item.active {
    background: #f1f1f1;
}

table.product-description-dropdown tr th, table.product-description-dropdown tr td {
    font-size: 13px;
}

.pagination .page-item svg:not(.gantt) {
    margin-top: 2px;
    pointer-events: none;
}

.dropdown-results p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}


@media (min-width: 991px) {
    .sidebar-toggled .sidebar-menu li.active:hover {
        background-color: #0d6efd;
    }
}



@media screen and (max-width: 425px) {
    .grid-button .tab-title, .grid-button .page-title, .grid-button .title-tab:not(.my-tasks):not(.all-tasks-kanban):not(.leads-title-section) {
        width: 100%;
        margin-bottom: 20px;
    }
}
@media (max-width: 990px) {
    .navbar-expand.navbar-custom {
        left: 0;
    }
}

@media (min-width: 991px) {
    .sidebar-toggled .navbar-custom {
        left: 70px !important;
    }
}

/* Styles for laptop screens */
@media (min-width: 1024px) and (max-width: 1440px) {

    .sidebar-scroll {
        height: calc(100% - 65px) !important;
        background: #212529;
    }
}

