/************************************
LAYOUT 
************************************/
:root{
    --body-panel-py:25px;
    --body-panel-px:40px;

    /* --body-content-area-py:50px; */
    --body-content-area-py:0 20px;
    --body-content-area-px:40px;
    --layout-spacing-if-no-gb:0px;
}
body:is(.path-products, .path-wpc-diary-form){
    --layout-spacing-if-no-gb:51px;
}
@media screen and (max-width:1280px){
    :root{
        --body-panel-py:25px;
        --body-panel-px:30px;
    
        --body-content-area-py:30px;
        --body-content-area-px:30px;
    }
}
@media screen and (max-width:767px){
    :root{
        --body-panel-py:15px;
        --body-panel-px:20px;
    
        --body-content-area-py:15px;
        --body-content-area-px:15px;
    }
}
body, main {
    background-color: #EAEAEA;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
}
body:not(.path-admin){
    padding: 0 !important;
    margin: 0 !important;
}
.toolbar-tray-open.toolbar-vertical.toolbar-fixed {
    margin-inline-start: 0 !important;
}
div{
    font-family: "Montserrat", sans-serif;
}
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button{
    font-family: "Montserrat", sans-serif !important;
}
b, strong {
    font-weight: 700;
}
main{
    position: relative;
    font-family: "Montserrat", sans-serif;
    min-height: calc(100vh - var(--header-height));
}
.content-body{
    width: calc(100% - var(--sidebar-width));
    padding-block: var(--body-content-area-py);
    padding-inline: var(--body-content-area-px);
    transition: all 0.6s;
    position: relative;
    left: var(--sidebar-width);
}
.region-content .block-system-main-block{
    background: var(--white) !important;
    padding-block: 0 !important;
    padding-inline: var(--body-panel-px) !important;    
    box-shadow: 4px 5px 6px rgba(0, 0, 0, 0.16);
}
body:is(.custom-scrollbar-enable) .region-content .block-system-main-block{
    overflow-y: auto;
    height: calc(100vh - var(--header-height) - (var(--body-content-area-py) * 2));
}
.region-content #block-wpctheme-content{
    margin-top: 20px;
    padding-block: var(--body-panel-py) !important;
    height: calc(100vh - var(--header-height) - var(--body-panel-py) - 67px + var(--layout-spacing-if-no-gb));
}
/*only for product dashboard*/
body:is(.path-product-dashboard, .path-view-details) .region-content #block-wpctheme-content:has(.nested-tabs){
    height: calc(100vh - var(--header-height) - var(--body-panel-py) - 96px);
}
.block-page-title-block{
    margin-bottom: 16.5px;
}
/*FIXED PAGINATION IN THE BOTTOM*/
@media screen and (min-width:1281px){
    :root{
        --table-wrap-height:calc(100vh - 441px);
    }   
    .dataTables_wrapper:has(.user-table, .listing-table, .company-table, .contact-table, .products-table){
        width: 100%;
        min-height: var(--table-wrap-height);
        display: flex;
        flex-direction: column;
    }
    .dataTables_wrapper:has(.user-table, .listing-table, .company-table, .contact-table, .products-table) table{
        margin-top: 5px !important;
    }
}
/************************************
SCROLLBAR
************************************/
.simplebar-track.simplebar-vertical {
    width: 12px;
}
.simplebar-scrollbar:before {
    background-color: var(--green);
    border-radius: 8px;
}
.simplebar-scrollbar.simplebar-visible:before{
    opacity: 1 !important;
}
/************************************
LISTING TABLE FILTER BAR
************************************/
.search-and-filter-container{
    display: flex;
    flex-wrap: wrap;
    grid-gap: 15px 15px;
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
}
.search-and-filter-container .form-item-search-by-name,
.search-and-filter-container .form-item-search-by-contact-name{
    width:100%;
    max-width: 220px;
    margin-bottom: 0 !important;
}
.search-and-filter-container .form-item-industry-filter{
    width:100%;
    max-width: 180px;
    margin-bottom: 0 !important;
}
.search-and-filter-container :where(.form-control, .select2-container){
    margin-block:0 0 !important;
}
.search-and-filter-container .form-item.form-item-search-by-display-name input{
    max-width: 220px;
}
.search-and-filter-container .form-item-industry-filter .select2-container{
    max-width: 180px;
}
/**/
.search-and-clear-buttons-container{
    float: left;
    display: flex;
    flex-wrap: wrap;
    grid-gap: 15px 15px;
    margin-bottom: 15px;
}
/**/
.search-and-clear-buttons-container .clear-icon-container input{
    border: 0 !important;
    padding-inline: 0 !important;
    background-color: transparent !important;
    color: var(--text-grey) !important;
}
/**/
@media screen and (max-width:991px){
    #edit-company-link-wrapper, #edit-user-link-wrapper, #edit-contact-link-wrapper{
        width: 100%;
        margin-bottom: 15px;
    }
}
@media screen and (max-width:525px){
    #edit-company-link-wrapper, #edit-user-link-wrapper, #edit-contact-link-wrapper{
        margin-block: 10px 15px;
        text-align: left !important;
    }
}
/************************************
MOBILE SEARCH AND FILTER
************************************/
.search-and-filter-bar {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}
.search-and-filter-panel .close-filter{
    display: none;
}
.filter-toggle-btn{
    display: none !important;
}
@media screen and (max-width:991px) {
    body.open-mobile-filter{
        overflow: hidden;
    }
    .search-and-filter-panel {
        width: calc(100% - var(--sidebar-width));
        max-width: 375px;
        position: fixed;
        right: 0;
        inset-block: var(--header-height) 0;
        background-color: #fafafa;
        z-index: 999;
        padding-block: 60px 30px;
        padding-inline: 30px;
        border-left: 1px solid #c9c8c8;

        transform: translateX(100%);
        transition: all 0.3s;
    }
    body.open-mobile-filter .search-and-filter-panel{
        transform: translateX(0);
    }
    .search-and-filter-panel .close-filter {
        display: block;
        font-size: 25px;
        position: absolute;
        top: 5px;
        right: 30px;
        color: var(--text-grey);
    }
    .filter-right-buttons {
        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .filter-toggle-btn{
        display: inline-block !important;
        padding-block: 4.5px !important;
        margin-block: 0 auto !important;
        background-color: var(--dark-grey) !important;
        border-color: var(--dark-grey) !important;
    }  
    .filter-right-buttons #edit-company-link-wrapper{
        width: auto;
    }
    /*FILTER ITEMS*/
    .search-and-filter-container {
        float: none;
        margin-right: 0;
    }
    .search-and-filter-container .form-item{
        width: 100%;
    }
    .search-and-filter-container .form-item-search-by-name {
        max-width: unset;
    }
    .search-and-filter-container .form-item-industry-filter {
        max-width: unset;
    }
    .search-and-filter-container :is(.form-item-industry-filter, .form-item-department-filter) .select2-container{
        width: 100% !important;
        max-width: unset;
    }
    .search-and-filter-container .form-item.form-item-search-by-display-name input{
        width: 100%;
        max-width: unset;
    }
    .search-and-clear-buttons-container{
        width: 100%;
        position: relative;
    }
    .search-and-clear-buttons-container .ajax-progress{
        padding: 0;
        position: absolute;
        left: 0;
        bottom: -30px;
    }
}
/************************************
LISTING TABLE CHECK ACTION
************************************/
body.path-company #company-table-title-one-wrapper {
    position: relative;
}
.listing-table-action-bar{
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 2px;
    padding-left: 58px;
}
.listing-table-action-bar .listing-table-action-inner{
    min-height: 36px;
    background-color: var(--light-grey);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    grid-gap: 5px 15px;
    position: relative;
    z-index: 1;
} 
.listing-table-action-bar .lTab-btn{
    display: flex;
    align-items: center;
    grid-gap: 5px;
}
.listing-table-action-bar .lTab-btn i {
    font-size: 14px;
    color: var(--green);
}
.listing-table-action-bar .button{
    all:unset !important;
    cursor: pointer !important;
}
.listing-table-action-bar :is(.button, .row-selected-count) {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--text-grey) !important;
    padding-block: 6px !important;
}
@media screen and (max-width:1280px){
    .listing-table-action-bar {
        position: unset;
        width: 100%;
        margin-bottom: -15px;
        padding-left: 0;
    }
    .listing-table-action-bar .listing-table-action-inner{
        padding-inline: 15px;
    }
}
/************************************
MODAL
************************************/
:root{
    --modal-width:772px;
    --modal-py:15px;
    --modal-px:44px;
    --modal-header-height:70px;
    --modal-footer-height:71px;
    --modal-btn-spacing:20px;
}
@media screen and (max-width:1280px){
    :root{
        --modal-px:30px;
    }
}
@media screen and (max-width:767px){
    :root {
        --modal-py: 15px;
        --modal-footer-height: 71px;
        --modal-btn-spacing:10px;
    }
}
@media screen and (max-width:480px){
    :root{
        --modal-px:15px;
    }
}
body .ui-dialog{
    position: fixed !important;
    width: 100% !important;
    max-width: var(--modal-width);
    height: 100vh !important;
    inset-block: 0 !important;
    inset-inline: auto 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding-inline: 0 !important;
    background-color: #fff !important;
    box-shadow: unset !important;
}
/*translate*/
.ui-dialog:is(.user-add-form-modal, .user-edit-form-modal, .contact-add-form-modal, .product-add-form-modal ){
    transform: translateX(100%);
    transition: transform 0.6s;
}
.ui-dialog:is(.user-add-form-modal, .user-edit-form-modal, .contact-add-form-modal, .product-add-form-modal ).active-open{
    transform: translateX(0);
}
/**/
.ui-dialog .ui-dialog-titlebar {
    background: unset !important;
    padding: 0 !important;
    border: 0 !important;
}
.ui-dialog .ui-dialog-titlebar:not(.ui-datepicker-header)::before{
    display: none !important;
}
.ui-dialog .ui-dialog-title{
    display: none !important;
    margin-block: 0 !important;
}
.ui-dialog .ui-dialog-titlebar button{
    width: 25px !important;
    height: 25px !important;
    position: absolute !important;
    top: 22px !important;
    left: unset !important;
    right: 34.5px !important;
    margin: 0 !important;
    z-index: 999 !important;
    padding: 0 !important;
    background-image: unset !important;
    opacity: 1 !important;
    text-indent: -40px !important;
    overflow: hidden !important;
    color: transparent !important;
    transform: unset !important;
    border: 0 !important;
}
.ui-dialog .ui-dialog-titlebar button:is(:hover, :focus) {
    color: transparent !important;
}
.ui-dialog .ui-dialog-titlebar button span{
    display: none;
}
.ui-dialog .ui-dialog-titlebar button::before{
    display: none !important;
}
.ui-dialog .ui-dialog-titlebar button::after{
    content: '\f00d' !important;
    display: block !important;
    font-size: 30px !important;
    font-family: "Font Awesome 6 Sharp" !important;
    font-weight: 100 !important;
    color: var(--white) !important;
    position: absolute !important;
    inset: 0 !important;
    text-indent: 0 !important;
    line-height: normal !important;
    transform: unset !important;
    border: 0 !important;
}
.ui-dialog:not(.company-add-form-modal) .ui-dialog-content {
    padding-block: var(--modal-header-height) var(--modal-footer-height) ;
    padding-inline: 0 !important;
    position: relative;
    height: 100% !important;
    max-height: unset !important;
    overflow: hidden;
}
.ui-dialog .ui-dialog-content + .nicescroll-rails{
    left: unset !important;
    right: 0;
}
.ui-dialog .company-add-form-modal #ajax-form-wrapper{
    max-height: calc(99.9vh - var(--modal-header-height) - var(--modal-footer-height));
    overflow-y: auto;
    padding-inline: var(--modal-px);
}
.ui-dialog #ajax-form-wrapper form.form-add-company-form{
    margin-block: 0 54.9px;
}

.ui-dialog :where(#form-navigation, .add_relationship_off_canvas, .modal-form-action){
    position: absolute;
    width: 100%;
    inset-inline: 0;
    bottom: 0;
    padding-block: var(--modal-py);
    padding-inline: var(--modal-px);
    min-height: var(--modal-footer-height);
    background-color: var(--light-grey) !important;
    border-top: 1px solid var(--green);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    grid-gap: 15px var(--modal-btn-spacing);
}
.ui-dialog :where(#form-navigation, .add_relationship_off_canvas, .modal-form-action){
    position: fixed;
    max-width: var(--modal-width) !important;
    inset-inline: auto 0;
}
.ui-dialog .modal-header {
    padding-block: 20px !important;
    padding-inline: var(--modal-px) !important;
    background-color: var(--green);
    color: var(--white);
    min-height: var(--modal-header-height);
    position: absolute;
    top: 0;
    inset-inline: 0;
}
/************************************
CHANGE MODAL
************************************/
/*HEADER*/
.ui-dialog .ui-dialog-titlebar:not(.ui-datepicker-header){
    padding-block: 20px !important;
    padding-inline: var(--modal-px) !important;
    background-color: var(--green) !important;
    color: var(--white) !important;
    min-height: var(--modal-header-height) !important;
    margin: 0 !important;
}
.ui-dialog .ui-dialog-titlebar .ui-dialog-title{
    display:block !important;
    font-size: 20px !important;
    line-height: 27.31px !important;
    font-weight: 400 !important;
    margin: 0 !important;
    font-family: "Montserrat", sans-serif !important;
}
/*CUSTOM HEADER*/
.ui-dialog:is(.company-add-form-modal) .ui-dialog-titlebar {
    padding-block: 0 !important;
    padding-inline: 0 !important;
    min-height: unset !important;
}
.ui-dialog:is(.company-add-form-modal) .ui-dialog-titlebar .ui-dialog-title{
    display: none !important;
}
/*BODY*/
.ui-dialog:not(.company-add-form-modal) .ui-dialog-content{
    max-height: calc(100vh - var(--modal-header-height) - var(--modal-footer-height)) !important;
    overflow-y: auto !important;
    padding-block: 44px !important;
    padding-inline: var(--modal-px) !important;
    font-family: "Montserrat", sans-serif !important;
}
/**/
.ui-dialog .ui-dialog-buttonpane{
    width: 100%;
    padding-block: var(--modal-py) !important;
    padding-inline: var(--modal-px) !important;
    min-height: var(--modal-footer-height);
    background-color: var(--light-grey) !important;
    border: 0 !important;
    border-top: 1px solid var(--green) !important;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: row-reverse;
    grid-gap: 15px 20px;
}
/************************************
IMAGE CROP PANEL
************************************/
.croppie-container{
    height: auto !important;
}
.croppie-container .cr-boundary{
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 684/507;
}
.croppie-container .cr-viewport{
    width: 381px !important;
    height: 381px !important;
}
.croppie-container .cr-resizer, 
.croppie-container .cr-viewport{
    box-shadow: 0 0 2000px 2000px rgb(0 0 0 / 40%) !important;
}
/************************************
RANGE SLIDER
************************************/
.cr-slider-wrap {
    width: 100% !important;
    max-width: 462px;
    height: 36px !important;
    margin: 55px auto 27px !important;
    position: relative;
}
.cr-slider-wrap input[type=range] {
    display: block !important;
    width: 100%;
    height: 2px !important;
    background-color: #c9c8c8 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    padding: 0 !important;
    outline: 0 !important;
    border: 0 !important;
    line-height: 0 !important;
}
.cr-slider-wrap input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 36px !important;
    height: 36px !important;
    background: var(--green) !important;
    border: 2px solid #c9c8c8 !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    position:relative;
    top: -12px;
}
.cr-slider-wrap input[type=range]::-moz-range-thumb {
    width: 36px !important;
    height: 36px !important;
    background: var(--green) !important;
    border: 2px solid #c9c8c8 !important;
    border-radius: 50% !important;
    cursor: pointer !important;
}
/************************************
PROGRESS BAR
************************************/
.progress-bar-container{
    /* margin-top: 44px; */
    display:flex;
    justify-content: space-between;
    text-align:center;
    position: relative;
}
body:is(.path-company) .progress-bar-container{
    margin-top: 44px;
}
.progress-bar-container::after{
    content:'';
    display:block;
    width:100%;
    height:1px;
    background-color:var(--dark-grey);
    position: absolute;
    top: calc((24px / 2) + 1px);
    z-index: -1;
}
.progress-bar-container .step-container{
    position:relative;
}
.progress-bar-container .step-container:first-child::before{
    content:'';
    display:block;
    width: 50%;
    height:1px;
    background-color: var(--white);
    position: absolute;
    top: calc((24px / 2) + 1px);
    z-index: 1;
}
.progress-bar-container .step-container:last-child::after{
    content:'';
    display:block;
    width: 50%;
    height:1px;
    background-color: var(--white);
    position: absolute;
    top: calc((24px / 2) + 1px);
    right:0;
    z-index: 1;
}
.progress-bar-container .progress-step{
    width: 27px;
    height: 27px;
    background-color: var(--white);
    color: transparent;
    border-radius: 50%;
    border: 1px solid var(--dark-grey);
    margin-inline: auto;
    position:relative;
    z-index: 2;
    user-select: none;
}
.progress-bar-container .progress-step.current{
    background-color: var(--green);
}
.progress-bar-container .progress-step-label{
    font-size: 14px;
    margin-top: 14px;
}
.progress-bar-container .progress-step.current + .progress-step-label{
    color: var(--green);
}
@media screen and (max-width:525px){
    .progress-bar-container .progress-step{
        width: 20px;
        height: 20px;
    }
    .progress-bar-container .progress-step-label {
        font-size: 10px;
        margin-top: 5px;
    }
}
/************************************
HIDE ELEMENTS
************************************/
body:is(.path-company, .path-user, .path-contact, .path-products, .path-bundle, .path-wpc-diary-list, .path-wpc-diary-form, .path-product-dashboard, .path-view-details) .region-breadcrumb{
    display: none;
}
body:is(.path-company, .path-user, .path-contact, .path-products, .path-bundle, .path-wpc-diary-list, .path-wpc-diary-form, .path-product-dashboard, .path-view-details) #toolbar-administration{
    display: none;
}
body:is(.path-company, .path-user, .path-contact, .path-products, .path-bundle, .path-wpc-diary-list, .path-wpc-diary-form, .path-product-dashboard, .path-view-details).toolbar-tray-open.toolbar-vertical.toolbar-fixed{
    margin-left: 0 !important;
}
/************************************
TABS
************************************/
.nav-tabs,
.vertical-tabs__menu{
    margin-top: 23.8px;
    display: flex;
    position: relative;
}
.nav-tabs::after,
.vertical-tabs__menu::after{
    content: "";
    display: block;
    height: 1px;
    background-color: var(--border-grey);
    position: absolute;
    left: -44px;
    right: -44px;
    bottom: -1px;
    z-index: -1;
}
.nav-tabs::after,
.content-body .vertical-tabs__menu::after{
    inset-inline: calc(var(--body-panel-px) - var(--body-panel-px) * 2);
    z-index: 1;
}
.nav-tabs .nav-item,
.vertical-tabs__menu .vertical-tabs__menu-item{
    margin-block: 0 !important;
    margin-left: -1px;
    position: relative;
    z-index: 11;
}
.nav-tabs .nav-item .nav-link,
.vertical-tabs__menu .vertical-tabs__menu-item a{
    display: block;
    font-weight: 500;
    font-size: 12px;
    line-height: unset;
    text-align: center;
    color: #99999A;
    text-decoration: none;
    border: 1px solid var(--border-grey) !important;
    padding: 9.5px 16px 9.5px;
    background-color: var(--light-grey);
    border-radius: 0;
}
.nav-tabs .nav-item .nav-link.active,
.vertical-tabs__menu .vertical-tabs__menu-item.is-selected a{
    background-color: var(--white);
    border-bottom-color: var(--white) !important;
    color: var(--text-grey);
}
.vertical-tabs__menu .vertical-tabs__menu-item.is-selected a *{
    color: inherit;
}
.nav-tabs .nav-item .nav-link:is(:hover, :focus, :active) *,
.vertical-tabs__menu .vertical-tabs__menu-item a:is(:hover, :focus, :active) *{
    text-decoration: none;
}
@media screen and (max-width:640px){
    .nav-tabs .nav-item .nav-link,
    .vertical-tabs__menu .vertical-tabs__menu-item a{
        font-size: 11px;
        padding: 9.5px 7px 9.5px;
    }
}
/* ADD/EDIT USER*/
:where(.user-edit-form-modal, .form-add-user-form, .bundle-edit-form-modal) .nav-tabs{
    margin-bottom: 37.7px !important;
}
/************************************
MANUALLY RESULT DROPDOWN
************************************/
:is(#address-autocomplete-results, #user-address-autocomplete-results, #individual-contact-address-autocomplete-results, .partnership-contact-address-autocomplete, #partnership-contact-address-autocomplete-results-applicant_1, #partnership-contact-address-autocomplete-results-main_applicant, #suggestions){
    display: none;
    width: calc(100% - 23px);
    position: absolute;
    background-color: var(--white);
    top: 71px;
    z-index: 999999;
    border: 1px solid var(--green);
}
:is(#address-autocomplete-results, #user-address-autocomplete-results, #individual-contact-address-autocomplete-results,.partnership-contact-address-autocomplete, #partnership-contact-address-autocomplete-results-applicant_1, #partnership-contact-address-autocomplete-results-main_applicant) button,
#suggestions .suggestion-item{
    width: 100%;
    padding: 6px 13.3px;
    background: #fff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
}
:is(#address-autocomplete-results, #user-address-autocomplete-results, #individual-contact-address-autocomplete-results,.partnership-contact-address-autocomplete, #partnership-contact-address-autocomplete-results-applicant_1, #partnership-contact-address-autocomplete-results-main_applicant) button:is(:hover, .active),
#suggestions .suggestion-item:is(:hover, .active){
    background-color: var(--light-grey) !important;
    color: var(--text-grey) !important;
}
:is(#address-suggestion-msg){
    font-size: 12px;
    line-height: normal;
    margin-bottom: 10px;
    color: #dc3545 !important;
}
/**/
.suggestions-dropdown{
    width: 100% !important;
    top: calc(100% - 1px) !important;
    max-height: 250px;
    overflow-y: auto;
    border-color: var(--border-grey) !important;
}
.suggestions-dropdown:has(.suggestion-item){
    display: block !important;
}
/************************************
DATA TABLE PAGINATION
************************************/
.dataTables_wrapper .dataTables_paginate {
    padding-top: 29px;
    margin-block: auto 0;
    width: 100%;
    display: flex;
    justify-content: center;
    grid-gap: 5px 17px;
  }
  
  .dataTables_wrapper .dataTables_paginate .paginate_button:is(.previous, .next) {
    display: flex !important;
    align-items: center;
    line-height: initial;
    font-weight: 500;
    font-size: 13px;
    color: var(--text-grey) !important;
    cursor: pointer;
    padding: 0;
    margin: 0 !important;
    background-image: unset !important;
    border: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
  }
  .dataTables_wrapper .dataTables_paginate .paginate_button:is(.previous){
    width: 60px;
    color: transparent !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:is(.previous):hover{
    color: transparent !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:is(.previous)::after{
    content:"Prev";
    color: var(--text-grey) !important;
    margin-left: -58px;
}
  .dataTables_wrapper .dataTables_paginate .paginate_button.previous::before {
    content: "\f104";
    font-size: 30px;
    font-family: "Font Awesome 6 Pro";
    font-weight: 300;
    margin-right: 12px;
    color: var(--green);
  }
  
  .dataTables_wrapper .dataTables_paginate .paginate_button.next::after {
    content: "\f105";
    font-size: 30px;
    font-family: "Font Awesome 6 Pro";
    font-weight: 300;
    margin-left: 12px;
    color: var(--green);
  }
  
  .dataTables_wrapper .dataTables_paginate span {
    display: flex;
    flex-wrap: wrap;
    grid-gap: 5px 17px;
  }
  
  .dataTables_wrapper .dataTables_paginate span .paginate_button {
    width: auto;
    min-width: 30px;
    height: 30px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-grey) !important;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.9px;
    line-height: 29px;
    color: var(--text-grey) !important;
    border-radius: 0 !important;
    background-image: unset !important;
    text-decoration: none !important;
    padding-inline: 8px;
  }
  
  .dataTables_wrapper .dataTables_paginate span .paginate_button:is(:hover, .current) {
    background-color: var(--green) !important;
    color: var(--white) !important;
    border-color: var(--green) !important;
  }
  
  .dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: 0.5;
  }
  .dataTables_info{
    display: none;
  }
  @media screen and (max-width:1280px) {
    .dataTables_wrapper .dataTables_paginate {
      margin-top: 30px;
    }
  }
  
  @media screen and (max-width:767px) {
    .dataTables_wrapper .dataTables_paginate {
      grid-gap: 5px 10px;
    }
  
    .dataTables_wrapper .dataTables_paginate span {
      grid-gap: 5px 10px;
    }
  
    .dataTables_wrapper .dataTables_paginate .paginate_button.previous::before {
      font-size: 24px;
      margin-right: 5px;
    }
  
    .dataTables_wrapper .dataTables_paginate .paginate_button.next::after {
      font-size: 24px;
      margin-left: 5px;
    }
  }

/************************************
DELETE CONFIRMATION SCREEN
************************************/
.delete-confirmation-panel {
    display: flex;
    background-color: #fafafa;
    border: 1px solid var(--border-grey);
    padding-block: 42px;
    padding-inline: 42px;
}
.delete-confirmation-panel .delete-confirmation-text{
    width: calc(100% - 110px);
    padding-right: 15px;
}
.delete-confirmation-panel .delete-confirmation-text .h1 {
    max-width: 255px;
    color: var(--text-grey) !important;
    line-height: 32px !important;
    margin: 0 !important;
}
.delete-confirmation-panel .delete-confirmation-image{
    width: 110px;
}
.delete-confirmation-panel .delete-confirmation-image i{
    font-size: 90px;
    color: var(--green);
}
.delete-confirmation-panel .button-group{
    margin-top: 32px;
}
@media screen and (max-width:767px) {
    .delete-confirmation-panel {
        padding-block: 30px;
        padding-inline: 30px;
    }
    .delete-confirmation-panel .delete-confirmation-text{
        width: calc(100% - 90px);
    }
    .delete-confirmation-panel .delete-confirmation-text .h1 {
        line-height: 29px !important;
    }
    .delete-confirmation-panel .delete-confirmation-image {
        width: 90px;
    }
    .delete-confirmation-panel .button-group {
        margin-top: 20px;
    }
}
@media screen and (max-width:480px) {
    .delete-confirmation-panel {
        padding-block: 15px;
        padding-inline: 15px;
    }
    .delete-confirmation-panel .delete-confirmation-text{
        width: calc(100% - 60px);
        padding-right: 10px;
    }
    .delete-confirmation-panel .delete-confirmation-text .h1 {
        line-height: 24px !important;
    }
    .delete-confirmation-panel .delete-confirmation-image {
        width: 60px;
    }
}
/************************************
LOGIN PAGE
************************************/
body:is(.path-user):not(.user-logged-in){
    background-color: var(--green);
}
body:is(.path-user):not(.user-logged-in) main {
    margin-block: auto;
    background-color: transparent;
    display: flex;
    align-items: center;
    grid-gap: 30px;
    min-height: calc(100vh - var(--header-height) - 60px);
}
body:is(.path-user):not(.user-logged-in) main::before {
    content: '';
    flex-grow: 1;
    width: 100%;
    height: 427px;
    display: block;
    background-image: url(../images/login-page-img.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
body:is(.path-user):not(.user-logged-in) header {
    padding: 0;
    background-color: transparent;
}
body:is(.path-user):not(.user-logged-in) header .site-logo img{
    content: url('../images/webpro-white.png');
}
body:is(.path-user):not(.user-logged-in) header .header-navbar,
body:is(.path-user):not(.user-logged-in) .sidebar,
body:is(.path-user):not(.user-logged-in) nav.tabs{
    display:none;
}
body:is(.path-user):not(.user-logged-in) .dialog-off-canvas-main-canvas {
    width: 100%;
    max-width: 1920px;
    margin-inline: auto;
    padding-block: 100px;
    padding-inline: 140px;
}
body:is(.path-user):not(.user-logged-in) .content-body{
    padding: 0;
    width: 100%;
    left: 0;
    background-color:#fff;
    max-width: 610px;
    margin-block: auto;
    margin-inline: auto 0;
    box-shadow: 15px 25px 25px rgba(0, 0, 0, 0.16);
    padding: 48px 53px;
}
body:is(.path-user):not(.user-logged-in) .content-body .block-system-main-block{
    all: unset !important;
}
body:is(.path-user):not(.user-logged-in) .content-body .region-content{
    padding: 0 !important;
    min-height: unset;
    box-shadow: unset;
    background-color: transparent !important;
}
body:is(.path-user):not(.user-logged-in) #user-login-form{
    width:100%;
    margin: 0;
}
body:is(.path-user):not(.user-logged-in) .block-page-title-block {
    margin: 0 0 52px;
    text-align: center;
}
body:is(.path-user):not(.user-logged-in) .block-page-title-block h1 {
    font-size: 36px !important;
    color: #535354 !important;
}
body:is(.path-user):not(.user-logged-in) main :is(p, .terms-wrapper){
    font-size: 16px;
    font-weight: 400;
    color: #535354;
}
body:is(.path-user):not(.user-logged-in) main :is(.terms-wrapper, .terms-privacy) a{
    text-decoration: none;
    color: var(--green);
}
body:is(.path-user):not(.user-logged-in) main :is(.terms-wrapper, .terms-privacy) a:hover{
    color: inherit;
}
/*form element*/
body:is(.path-user):not(.user-logged-in) form .form-item{
    margin-bottom: 26px !important;
}
body:is(.path-user):not(.user-logged-in) form .form-item.form-item-remember-me {
    display: flex;
    flex-wrap: wrap;
    grid-gap: 15px;
    position: relative;
    z-index: 1;
    user-select: none;
}
body:is(.path-user):not(.user-logged-in) form .form-item label {
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #535354 !important;
    margin-bottom: 10px !important;
}
body:is(.path-user):not(.user-logged-in) form .form-control{
    border: 1px solid #BABABA !important;
    height: 56px !important;
    margin: 0 !important;
    font-size: 16px !important;
    color: #535354 !important;
    padding: 15px 19px !important;
}
body:is(.path-user):not(.user-logged-in) form .form-control::placeholder{
    color: #535354 !important;
}
body:is(.path-user):not(.user-logged-in) form .form-actions{
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}
body:is(.path-user):not(.user-logged-in) form .form-actions input[type="submit"]{
    width: 180px;
    height: 50px;
    background-color: #99999A !important;
    border-color: #99999A !important;
    font-size: 18px !important;
}
body:is(.path-user):not(.user-logged-in) form .form-actions input[type="submit"]:not(.add-another-btn, .no-btn, .clear-phone, .remove-phone, .clear-email, .clear-social, .remove-social-media, .remove-email, #edit-clear-submit, .manual-address-btn, .user-manual-address-btn, [id*="edit-manual-address-button"], [name="edit_company_logo_remove_button"], [data-drupal-selector="edit-dynamic-user-logo-remove-button"]).btn.form-submit:is(:hover){
    background-color: var(--green) !important;
    color: #fff !important;
}
/*checkbox*/
body:is(.path-user):not(.user-logged-in) form .form-check-input[type=checkbox]{
    all: unset;
    width: 22px;
    height: 22px;
    border: 1px solid #BABABA;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
body:is(.path-user):not(.user-logged-in) form .form-check-input[type=checkbox]::after{
    content:'\f00c';
    font-family: "Font Awesome 6 Duotone";
    color:#BABABA;
    opacity:0;
}
body:is(.path-user):not(.user-logged-in) form .form-check-input[type=checkbox]:checked::after{
    opacity:1;
}
/*password*/
body:is(.path-user):not(.user-logged-in) form .form-item.form-item-pass:has(.view-pass) {
    position: relative;
}
body:is(.path-user):not(.user-logged-in) form .form-item.form-item-pass .view-pass {
    width: 35px;
    position: absolute;
    right: 16px;
    bottom: 0;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 27px;
    color: #707070;
    cursor: pointer;
}
body:is(.path-user):not(.user-logged-in) form .form-item.form-item-pass:has(.view-pass) input{
    padding-right: 60px !important;
}
/*forgot button*/
body:is(.path-user):not(.user-logged-in) form .forgot{
    position: relative;
    top: -103px;
    text-align: right;
}
body:is(.path-user):not(.user-logged-in) form .forgot a {
    font-size: 16px;
    font-weight: 400;
    color: #535354;
    text-decoration: none;
    position: relative;
    z-index: 1;
}
body:is(.path-user):not(.user-logged-in) form .forgot a:hover{
    color:var(--green)
}
/*login page only*/
/* body:is(.path-user):not(.user-logged-in) form.user-login-form .terms-privacy{
    display: none;
} */
 /* forgot password page*/
 body:is(.path-user):not(.user-logged-in) form #button-wrappers {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    grid-gap: 15px;
}
 body:is(.path-user):not(.user-logged-in) .return-to-login a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    font-weight: var(--btn-font-weight) !important;
    line-height: var(--btn-line-height) !important;
    padding-block: var(--btn-py) !important;
    padding-inline: var(--btn-px) !important;
    color: var(--white) !important;
    border: 1px solid var(--green) !important;
    background-color: #99999A !important;
    border-color: #99999A !important;
    font-size: 18px !important;
    text-align: center;
    text-decoration: none;
 }
 body:is(.path-user):not(.user-logged-in) .return-to-login a{
    background-color: var(--green) !important;
    border-color: var(--green) !important;
    color: #fff !important;
 }
 body:is(.path-user):not(.user-logged-in) .return-to-login a:hover{
    background-color: var(--dark-grey) !important;
    border-color: var(--dark-grey) !important;
    color: #fff !important;
 }
 /*error message*/
 body:is(.path-user):not(.user-logged-in) form .form-control.invalid{
    border-color: #DB2D2D !important;
}
 body:is(.path-user):not(.user-logged-in) form .text-danger{
    display: block;
    margin-top: -15px;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #DB2D2D !important;
 }
 /*reset password page*/
 body:is(.path-user):not(.user-logged-in) main form.user-pass :is(p, .terms-wrapper){
    margin-top: 40px;
 }
 body:is(.path-user):not(.user-logged-in) form.user-pass #button-wrappers {
    padding-left: 190px;
}
 body:is(.path-user):not(.user-logged-in) form.user-pass .form-actions {
    margin-top: -50px;
    justify-content: flex-start;
    padding-left: 65px;
}
@media screen and (max-width:1280px){
    body:is(.path-user):not(.user-logged-in) main{
        margin-top: 30px;
        flex-direction:column;
        justify-content: center;
        align-items: center;
    }
    body:is(.path-user):not(.user-logged-in) main::before{
        max-width: 610px;
        margin-inline: auto;
        height: auto;
        aspect-ratio: 648 / 427;
    }
    body:is(.path-user):not(.user-logged-in) .content-body{
        margin-inline:auto;
    }
}
@media screen and (max-width:767px){
    body:is(.path-user):not(.user-logged-in) .dialog-off-canvas-main-canvas{
        padding-block: 30px;
        padding-inline: 30px;
    }
    body:is(.path-user):not(.user-logged-in) form .form-item {
        margin-bottom: 15px !important;
    }
    body:is(.path-user):not(.user-logged-in) form .forgot{
        margin-top: 15px;
        top: 0;
        text-align: left;
    }
}
@media screen and (max-width:525px){
    body:is(.path-user):not(.user-logged-in) .content-body{
        padding: 30px 30px;
    }
}
/************************************
INPUT WITH ACTION BUTTON
************************************/
.input-with-action-btn {
    display: flex;
    flex-wrap: wrap;
    grid-gap: 15px 40px;
}
.input-with-action-btn > *:nth-child(1){
    width: 50%;
    max-width: 336px;
}
.input-with-action-btn input {
    margin: 0 !important;
}
.input-with-action-btn .btn i{
    font-size: 20px;
}
.input-with-action-btn .or{
    margin-inline: -20px;
    display: flex;
    align-items: center;
    font-size: 12px;
}
@media screen and (max-width:767px){
    .input-with-action-btn > *:nth-child(1){
        width: 100%;
        max-width: 260px;
    }
}
/************************************
CUSTOM AUTOCOMPLETE
************************************/
.custom-autocomplete-container{
    display: none;
    width: 100%;
    position: absolute;
    background-color: var(--white);
    top: calc(100% - 1px);
    z-index: 999999;
    border: 1px solid var(--green);
}
.custom-autocomplete-container:has(*){
    display: block;
}
.custom-autocomplete-item{
    width: 100%;
    padding: 6px 13.3px;
    background: #fff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
}
.custom-autocomplete-item:hover{
    background-color: var(--light-grey);
    color: var(--text-grey);
}
.custom-autocomplete-container p{
    width: 100%;
    padding: 6px 13.3px;
    background: #fff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
}

/*hide table option temporary*/
.batch-actions-container{
    display: none;
}
.link-company-edit .modal-header{
    display: none !important;
}
/************************************
GLOBAL SEARCH
************************************/
.block-company-global-search-block {
    min-height: 43px;
    display: flex;
    justify-content: flex-end;
    padding-right: 48px;
    position: relative;
    z-index: 1;
}
.block-company-global-search-block form {
    position: absolute;
    right: 34px;
    padding-block: 15px 0;
    padding-inline: 15px;
    max-width: 507px;
    max-height: calc(100vh - var(--header-height) - 25px);
    display: flex;
    flex-direction: column;
}
.block-company-global-search-block form .row {
    margin: 0;
    position: unset !important;
}
.block-company-global-search-block form input.global-clr-find-search{
    all: unset !important;
    display: block !important;
    width: 32px !important;
    height: 32px !important;
    background-image: url(../images/close-global-search.png) !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 20px !important;
    margin: 0 !important;
    font-size: 0 !important;
    color: transparent !important;
    position: absolute !important;
    top: 15px !important;
    right: 8px !important;
    cursor: pointer !important;
}
.block-company-global-search-block form .ajax-progress {
    position: absolute;
    font-size: 11px;
    top: calc(100% + 3px);
    right: 0;
}
.block-company-global-search-block form:has(#company-global-search-results ul) .ajax-progress{
    top: 0;
}
.block-company-global-search-block .global-search-filters .ajax-progress{
    top: -17px;
    right: unset;
    left: 0;
}
/*after open*/
.block-company-global-search-block:has(form #company-global-search-results ul) {
    z-index: 99;
}
.block-company-global-search-block form:has(#company-global-search-results ul){
    background-color: #fff;
    border: 1px solid var(--green);
    padding-right:48px;
    right: 0;
}
.block-company-global-search-block form:has(#company-global-search-results ul) div[data-drupal-selector="edit-search-wrapper"] {
    max-width: 446px !important;
}
/*search before open*/
.block-company-global-search-block div[data-drupal-selector="edit-search-wrapper"]{
    max-width: 296px !important;
    position: relative;
    margin-block: 0 !important;
    margin-inline: auto 0 !important;
}
.block-company-global-search-block div[data-drupal-selector="edit-search-wrapper"] .row {
    grid-gap: 0 !important;
    margin: 0 !important;
}
.block-company-global-search-block div[data-drupal-selector="edit-search-wrapper"] :where(.form-item){
    margin:0 !important;
}
.block-company-global-search-block div[data-drupal-selector="edit-search-wrapper"] input.form-control{
    width:100% !important;
    margin:0 !important;
    padding-right: 30px;
}
.block-company-global-search-block div[data-drupal-selector="edit-search-wrapper"] :where(.col, .col-auto){
    padding:0 !important;
    flex: unset;
    width: auto;
    position: unset !important;
}
.block-company-global-search-block div[data-drupal-selector="edit-search-wrapper"] #edit-search-btn-col{
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    height: 100% !important;
}
.block-company-global-search-block div[data-drupal-selector="edit-search-wrapper"] .global-search-icon-main{
    all: unset !important;
    position: absolute !important;
    display: block !important;
    width: 40px !important;
    height: 100% !important;
    top: 0 !important;
    right: 0 !important;
    background-image: url(../images/search-green.png) !important;
    background-position: center right 6.5px !important;
    background-repeat: no-repeat !important;
    background-size: 16px !important;
}
/*filter button*/
.global-search-filters {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    grid-gap: 10px;
    position: relative;
}
.global-search-filters .button:not(.more-global-search-filter-btn) {
    all: unset;
    font-size: 11px;
    line-height: 1;
    padding: 7px 11px;
    background-color: var(--light-grey);
    border: 1px solid var(--border-grey);
    color: var(--text-grey);
    cursor: pointer;
}
.global-search-filters .button:not(.more-global-search-filter-btn):hover{
    background-color: var(--green);
    color: #fff;
    border-color: var(--green);
}
.global-search-filters .more-global-search-filter-btn{
    all: unset;
    font-size: 11px;
    color: var(--text-grey);
    line-height: 1;
    position: relative;
    padding: 7px 11px 7px 23px;
    cursor: pointer;
    background-image: url(../images/green-filter-icon.png) !important;
    background-position: left center !important;
    background-repeat: no-repeat !important;
    background-size: 18px !important;
}
.global-search-filters .more-global-search-filter-btn:focus,
.global-search-filters .more-global-search-filter-btn:active{
    background-color: transparent !important;
    color: var(--text-grey);
}
/*filter items*/
.global-search-results-wrapper {
    margin-top: 5px;
    width: auto;
    margin-inline: -15px -48px;
    overflow-y: auto;
}
.global-search-results-wrapper h3 {
    padding-inline: 16px;
    font-size: 14px !important;
    font-weight: 700 !important;
    margin-bottom: 18px !important;
}
.global-search-result-items{
    margin-bottom: 22px !important;
}
.global-search-result-item {
    display: flex;
    align-items: center;
    grid-gap: 15px;
    padding: 5px 16px;
    position: relative;
}
.global-search-result-item:hover{
    background-color: var(--light-grey);
}
.global-search-result-item :where(img, .search-result-thumb){
    flex-shrink: 0;
    width: 51px;
    height: 35px;
    object-fit: contain;
    border: 1px solid var(--border-grey);
    border-radius: 0 !important;
    padding: 5px 5px;
}
.global-search-result-item > div:not(.search-result-thumb) {
    flex: 1;
    font-size: 11px;
    color: var(--text-grey);
    font-weight: var(--medium);
}
.global-search-result-item .search-result-thumb{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 11px;
    color: var(--text-grey);
    font-weight: var(--medium);
    background-color: var(--light-grey);
}
.global-search-result-item a {
    color: var(--green);
}
/************************************
GLOBAL SEARCH - QUICK ADD
************************************/
.block-company-global-quick-edit-block {
    margin-top: -28px;
    display: flex;
    justify-content: flex-end;
    height: 32px;
    position: relative;
}
.global-quick-edit-form form {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 9;
}
.global-quick-edit-form .global-quick-tgl-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background-color: var(--green);
    z-index: 1;
    position: absolute;
    top: -32px;
    right: 0;
    cursor: pointer;
    font-size: 16px;
}
.global-quick-edit-form .global-quick-tgl-btn i{
    color: #fff;
}
.global-quick-edit-form .global-quick-tgl-btn input{
    all: unset !important;
    position: absolute !important;
    inset: 0 !important;
    opacity: 0 !important;
}
.global-quick-edit-form .global-quick-tgl-btn .c_CloseIcon{
    display: none;
}
.global-quick-edit-form .global-quick-tgl-btn:has(input.toggle-quick-edit-x) .c_CloseIcon{
    display: block;
}
.global-quick-edit-form .global-quick-tgl-btn:has(input.toggle-quick-edit-x) .c_OpenIcon{
    display: none;
}
.global-quick-edit-form form h3 {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #fff;
}
/*buttons*/
.global-quick-edit-items {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    grid-gap: 20px;
    position: relative;
}
.global-quick-edit-items .button {
    width: 100px;
    aspect-ratio: 1 / 1;
    margin: 0;
    padding: 15px;
    font-size: 11px;
    font-weight: 500;
    color: #fff;
    display: flex;
    grid-gap: 15px;
    background-color: #535354;
    border-radius: 0;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.10);
}
.global-quick-edit-items .button i {
    font-size: 24px !important;
}
.global-quick-edit-items .button:hover,
.global-quick-edit-items .button:focus,
.global-quick-edit-items .button:active{
    background-color: #fff;
    color: var(--green);
}
/*open popup*/
.global-quick-edit-form form:has(#quick-edit-buttons-wrapper:not(.d-none)) {
    background-color: var(--green);
    padding: 20px;
}
.global-quick-edit-form > div[data-once="contextual-render"]{
    display: none;
}
.global-quick-edit-form form .ajax-progress {
    position: absolute;
    font-size: 11px;
    top: calc(100% + 3px);
    right: 0;    
}

:where(.block-company-global-quick-edit-block, .block-company-global-search-block) .contextual{
    display:none;
}

