/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

*, *::after, *::before {
    outline: none !important;
}

body {
    min-height: 100dvh;
}

p:empty {
    display: none !important;
}

/* dashboard */

#site_manager_sites_wrapper .dt-layout-table {
    margin: 0;
}

#site_manager_sites_wrapper #site_manager_sites {
    width: 100%;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-secondary);
}

#site_manager_sites_wrapper #site_manager_sites thead, #site_manager_sites_wrapper #site_manager_sites tbody, #site_manager_sites_wrapper #site_manager_sites tfoot {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

#site_manager_sites_wrapper #site_manager_sites thead tr {
    background-color: var(--bg-secondary);
}

#site_manager_sites_wrapper #site_manager_sites thead tr, #site_manager_sites_wrapper #site_manager_sites tbody tr, #site_manager_sites_wrapper #site_manager_sites tfoot tr {
    padding-inline: 20px;
    display: flex;
    width: 100%;
    border-bottom: 1px solid var(--border-secondary);
}

#site_manager_sites_wrapper #site_manager_sites thead tr th,
#site_manager_sites_wrapper #site_manager_sites tbody tr td,
#site_manager_sites_wrapper #site_manager_sites tfoot tr td {
    width: 16.67%;
    margin: 0;
    padding: 13px 20px 13px 24px !important;
    text-align: left;
    border: none;
}

#site_manager_sites_wrapper #site_manager_sites tbody tr td,
#site_manager_sites_wrapper #site_manager_sites tfoot tr td {
    padding: 16px 20px 16px 24px !important;
}

#site_manager_sites_wrapper #site_manager_sites tbody tr td:first-child,
#site_manager_sites_wrapper #site_manager_sites tfoot tr td:first-child,
#site_manager_sites_wrapper #site_manager_sites thead tr th:first-child {
    padding-left: 0px !important;
}

#site_manager_sites_wrapper #site_manager_sites thead tr th {
    display: flex;
    justify-content: flex-start;
    position: relative;
    gap: 7.5px;
}

#site_manager_sites_wrapper #site_manager_sites thead tr th .dt-column-order {
    position: relative;
    inset: auto;
    display: inline-block;
    width: 8px;
    height: 100%;
    transition: var(--base-transition);
}

#site_manager_sites_wrapper #site_manager_sites thead tr th[aria-sort] .dt-column-order,
#site_manager_sites_wrapper #site_manager_sites thead tr th .dt-column-title:hover+.dt-column-order,
#site_manager_sites_wrapper #site_manager_sites thead tr th .dt-column-order:hover {
    -webkit-filter: invert(49%) sepia(7%) saturate(545%) hue-rotate(182deg) brightness(90%) contrast(82%);
    filter: invert(49%) sepia(7%) saturate(545%) hue-rotate(182deg) brightness(90%) contrast(82%);
}

#site_manager_sites_wrapper #site_manager_sites thead tr th:has(.dt-column-order:hover) .dt-column-title {
    color: #535862;
}

#site_manager_sites_wrapper #site_manager_sites tbody tr td {
    display: flex;
    align-items: center;
    transition: var(--base-transition);
}

#site_manager_sites_wrapper #site_manager_sites tbody tr td:hover {
    background: var(--bg-secondary);
}

#site_manager_sites_wrapper #site_manager_sites tbody tr td .site_title_wrap {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
}

#site_manager_sites_wrapper #site_manager_sites tbody tr td .site_title_wrap img {
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    object-position: center;
    width: 40px !important;
}

#site_manager_sites_wrapper #site_manager_sites tbody tr td .site_title_wrap .site_title_inner {
    width: calc(100% - 50px);
}

#site_manager_sites_wrapper #site_manager_sites tbody tr td .site_title_wrap .site_title_inner h4 {
    font-size: var(--text-sm);
    font-weight: 500;
    line-height: var(--line-height-text-sm);
    white-space: nowrap;
}

#site_manager_sites_wrapper #site_manager_sites tbody tr td .site_title_wrap .site_title_inner a {
    font-size: var(--text-sm);
    font-weight: 400;
    line-height: var(--line-height-text-sm);
    color: var(--text-tertiary-600);
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    overflow: hidden;
}

#site_manager_sites_wrapper #site_manager_sites tbody tr td .indexing_status {
    font-size: var(--text-xs);
    line-height: var(--text-lg);
    display: inline-flex;
    position: relative;
    border: 1px solid var(--utility-gray-200);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    align-items: center;
    gap: 5px;
    background-color: var(--utility-gray-50);
}

#site_manager_sites_wrapper #site_manager_sites tbody tr td p:not(#site_manager_sites_wrapper #site_manager_sites tbody tr td p:has(.indexing_status)) {
    font-size: var(--text-xs);
    line-height: var(--text-lg);
    display: inline-flex;
    position: relative;
    border: 1px solid var(--utility-gray-200);
    padding: 2px 6px 2px 4px;
    border-radius: var(--radius-sm);
    align-items: center;
    gap: 5px;
    background-color: var(--utility-gray-50);
    white-space: nowrap;
}

#site_manager_sites_wrapper #site_manager_sites tbody tr td .indexing_status::before {
    content: "";
    width: 6px;
    height: 6px;
    display: inline-block;
    background-color: var(--utility-gray-500);
    border-radius: 50%;
}

#site_manager_sites_wrapper #site_manager_sites tbody tr td .indexing_status.active {
    color: var(--utility-success-700);
    border-color: var(--utility-success-200);
    background-color: var(--utility-success-50);
}

#site_manager_sites_wrapper #site_manager_sites tbody tr td .indexing_status.active::before {
    background-color: var(--utility-success-500);
}

/* #site_manager_sites tbody tr td p:not(#site_manager_sites_wrapper #site_manager_sites tbody tr td p:has(.indexing_status))::before  */
#site_manager_sites tbody tr td:not(.status-column) p::before {
    content: "";
    width: 12px;
    height: 12px;
    display: inline-flex;
    background-image: url("/wp-content/uploads/2024/12/google.svg");
    background-repeat: no-repeat;
    background-size: cover;
}

#site_manager_sites_wrapper #site_manager_sites tbody tr td p.no_update::before {
    background-image: url("/wp-content/uploads/2024/12/green_reload.svg") !important;
}

#site_manager_sites_wrapper #site_manager_sites tbody tr td p.has_update::before {
    background-image: url("/wp-content/uploads/2024/12/reload.svg") !important;
}

#site_manager_sites_wrapper #site_manager_sites tbody tr td p.good::before {
    background-image: url("/wp-content/uploads/2024/12/green_shield.svg") !important;
}

#site_manager_sites_wrapper #site_manager_sites tbody tr td p.critical::before {
    background-image: url("/wp-content/uploads/2024/12/red_shield.svg") !important;
}

#site_manager_sites_wrapper #site_manager_sites tbody tr td p.maintained {
    background-color: #ECFDF3 !important;
    border-color: #ABEFC6 !important;
    color: #067647 !important;
}

#site_manager_sites_wrapper #site_manager_sites tbody tr td p.not_maintained {
    background-color: #FEF3F2 !important;
    border-color: #FECDCA !important;
    color: #B42318 !important;
}

#site_manager_sites_wrapper #site_manager_sites tbody tr td p.maintained::before {
    background-image: url("/wp-content/uploads/2024/12/green_smily_face.svg") !important;
}

#site_manager_sites_wrapper #site_manager_sites tbody tr td p.not_maintained::before {
    background-image: url("/wp-content/uploads/2024/12/red_sad_face.svg") !important;
}

#site_manager_sites_wrapper #site_manager_sites thead tr th .dt-column-order::before, #site_manager_sites_wrapper #site_manager_sites thead tr th .dt-column-order::after {
    background-image: url("/wp-content/uploads/2024/12/Icon.svg");
    font-size: 0;
    opacity: 1 !important;
    background-repeat: no-repeat;
    background-size: 8px;
    background-position: center;
    display: block;
    width: 100%;
    height: 7px;
}

#site_manager_sites_wrapper #site_manager_sites thead tr th[aria-sort="ascending"] .dt-column-order::before {
    opacity: 0.4 !important;
}

#site_manager_sites_wrapper #site_manager_sites thead tr th[aria-sort="descending"] .dt-column-order::after {
    opacity: 0.4 !important;
}

#site_manager_sites_wrapper #site_manager_sites thead tr th .dt-column-order::after {
    transform: rotate(180deg);
}

#site_manager_sites_wrapper #site_manager_sites thead tr th .dt-column-title {
    Font-size: var(--text-xs);
    font-weight: 600;
    line-height: var(--line-height-text-xs);
    color: var(--text-quaternary-500);
    transition: var(--base-transition);
}

#site_manager_sites_wrapper #site_manager_sites thead tr th .dt-column-title:hover {
    color: #535862;
}

.processing svg {
    animation: rotate360 1.4s linear infinite;
}

@keyframes rotate360 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#site_manager_sites_wrapper .dt-search {
    max-width: 320px;
    width: 100%;
    position: absolute;
    z-index: 3;
    top: 0;
    transform: translateY(calc(-100% - 25px));
    right: calc(calc(var(--text-sm) * 12) + 36px);
}

#site_manager_sites_wrapper .dt-search label {
    display: none;
}

#site_manager_sites_wrapper .dt-search input {
    border: 1px solid var(--border-tertiary);
    border-radius: var(--radius-md);
    font-size: var(--text-md);
    padding: var(--spacing-md) var(--spacing-lg) var(--spacing-md) var(--spacing-5xl);
    line-height: 1.55;
    margin: 0;
    width: 100%;
    background: var(--bg-primary);
    box-shadow: var(--shadows--shadow-xs);
    font-weight: 400;
    color: var(--text-tertiary-600);
    outline: 2px solid transparent !important;
}

#site_manager_sites_wrapper .dt-search input::placeholder {
    font-weight: 400;
    color: var(--text-placeholder);
}

#site_manager_sites_wrapper .dt-search::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url(/wp-content/uploads/2024/12/search-lg.svg);
    background-size: contain;
    background-position: center;
    left: var(--spacing-lg);
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;

}

#site_manager_sites_wrapper .dt-search input:focus {
    outline-color: var(--border-brand) !important;
}

/* dashboard */


/* Tool Tip */

.table-tooltip__popup {
    color: var(--tooltip-supporting-text);
    background-color: var(--bg-primary-solid);
    padding-top: var(--spacing-lg);
    padding-right: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    padding-left: var(--spacing-lg);
    border-radius: var(--radius-md);
    position: absolute;
    bottom: calc(100% + 4px);
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity .3s ease-in-out, visible .3s ease-in-out;
    z-index: 10;
    white-space: nowrap;
}

.table-tooltip__message {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.table-tooltip__popup.active {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
}

/* Tool Tip */

/********************** Table Pagination **********************/

#site_manager_sites_wrapper .dt-layout-row:nth-child(3) {
    padding: 16px 112px 16px 24px;
    margin: 0;
}

#site_manager_sites_info {
    font-size: var(--text-sm);
    font-weight: 400;
    line-height: var(--line-height-text-sm);
}

#site_manager_sites_wrapper .dt-paging nav {
    display: flex;
    align-items: stretch;
    border: 1px solid #D5D7DA;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadows--shadow-xs);
}

#site_manager_sites_wrapper .dt-paging nav button {
    background: #fff;
    margin: 0;
    border: 0;
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: var(--line-height-text-sm);
    color: #414651 !important;
    padding: 10px 16px;
    min-width: 40px;
    border-left: 1px solid #D5D7DA;
    border-radius: 0;
    transition: all .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 8px;
    box-shadow: unset;
}

#site_manager_sites_wrapper .dt-paging nav button:hover,
#site_manager_sites_wrapper .dt-paging nav button.current {
    background: #FAFAFA;
}

#site_manager_sites_wrapper .dt-paging nav button:first-child {
    border: 0;
}

#site_manager_sites_wrapper .dt-paging nav button.previous::before,
#site_manager_sites_wrapper .dt-paging nav button.next::after {
    width: 20px;
    content: "";
    height: 20px;
    background-image: url("/wp-content/uploads/2024/12/arrow-right-light.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

#site_manager_sites_wrapper .dt-paging nav button.previous::before {
    transform: scaleX(-1);
}


/* #site_manager_sites_wrapper .dt-layout-row:nth-child(1) .dt-layout-end {
    display: none;
} */

#site_manager_sites_wrapper .dt-layout-row:nth-child(1) {
    margin: 0;
}

#site_manager_sites_wrapper .dt-length {
    z-index: 4;
    position: absolute;
    bottom: 0;
    padding-block: 16px;
    right: 24px;
}

#site_manager_sites_wrapper .dt-length label {
    display: none;
}

#site_manager_sites_wrapper .dt-length select {
    border: 1px solid #D5D7DA;
    border-radius: var(--radius-md);
    box-shadow: var(--shadows--shadow-xs);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: var(--line-height-text-sm);
    color: #414651 !important;
    min-height: 41px;
    padding: 10px 34px 10px 12px;
    appearance: none;
    background-image: url("/wp-content/uploads/2024/12/chevron-down-light.svg");
    background-size: 20px;
    background-position: calc(100% - 12px) center;
    min-width: 72px;
}

/********************** Table Pagination **********************/

/********************** Google Btn **********************/

#brx-content .nsl-container.nsl-container-block .nsl-container-buttons {
    display: flex;
    width: 100%;
    padding: 0;
}

#brx-content .nsl-container.nsl-container-block .nsl-container-buttons a {
    margin: 0;
}

#brx-content .nsl-container .nsl-button-google[data-skin="light"] {
    font-size: var(--text-md);
    font-weight: 600;
    line-height: var(--line-height-text-md);
    color: var(--text-secondary-700);
    padding-top: 0.625em;
    padding-right: var(--spacing-xl);
    padding-bottom: 0.625em;
    padding-left: var(--spacing-xl);
    gap: var(--spacing-lg);
    border: 1px solid var(--border-tertiary);
    border-radius: var(--radius-md);
    transition: var(--base-transition);
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

#brx-content .nsl-container .nsl-button-google[data-skin="light"] .nsl-button-svg-container {
    padding: 0;
}

#brx-content .nsl-container .nsl-button-default div.nsl-button-label-container {
    margin: 0;
    padding: 0;
    flex: unset;
}

#brx-content .nsl-container .nsl-button-default div.nsl-button-label-container {
    font-size: inherit;
    color: inherit;
    font-weight: inherit;
    line-height: inherit;
    font-family: inherit;
}

#brx-content .nsl-container .nsl-button-google[data-skin="light"]:hover {
    color: var(--text-secondary_hover) !important;
    background-color: var(--bg-primary_hover) !important;
}


#brx-content .nsl-container .nsl-button-default div.nsl-button-label-container b {
    font-weight: inherit;
}

/********************** Google Btn **********************/

/********************** Header **********************/

.user-info {
    position: relative;
}

.user-info__header-img {
    width: 40px;
    cursor: pointer;
}

.user-info__header-img img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
    outline-offset: 2px;
    outline: 2px solid transparent !important;
    border: 0.75px solid #00000014;
    transition: var(--base-transition);
}

.user-info.active .user-info__header-img img,
.user-info__header-img:hover img {
    outline-color: #9E77ED !important;
}

.user-info__body {
    position: absolute;
    background: var(--bg-primary);
    border: 1px solid var(--border-secondary);
    min-width: 248px;
    border-radius: var(--radius-md);
    right: 0;
    top: calc(100% + 8px);
    box-shadow: var(--shadows--shadow-lg);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--base-transition);
}

.user-info.active .user-info__body {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info__row {
    padding: 4px 6px;
}

.user-info__item {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 9px 10px;
    align-items: self-start;
    border-radius: var(--radius-sm);
    transition: var(--base-transition);
}

.user-info__shortcut {
    flex-shrink: 0;
    font-size: var(--text-xs);
    line-height: var(--line-height-text-xs);
    font-weight: 500;
    color: var(--text-quaternary-500);
    padding: 0px 3px;
    border: 1px solid var(--border-secondary);
    border-radius: var(--radius-xs);
}

.user-info__row:not(:first-child) {
    border-top: 1px solid var(--border-secondary);
}

.user-info__property {
    display: flex;
    gap: 0.58em;
    align-items: flex-start;
    font-size: var(--text-sm);
    line-height: var(--line-height-text-sm);
    font-weight: 600;
}

.user-info__property-name {
    margin-block: auto;
}

.user-info__property-icon {
    width: 1.145em;
    flex-shrink: 0;
}

.user-info__property-icon img {
    width: 100%;
    vertical-align: tio;
}

.user-info__item:hover {
    background: var(--bg-primary_hover);
}

.user__detail {
    padding: 8px 10px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.user__detail-left {
    width: 40px;
    flex-shrink: 0;
}

.user__img img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
    border: 0.75px solid #00000014;
}

.user__img {
    position: relative;
}

.user__img::after {
    background: var(--fg-success-secondary);
    content: '';
    position: absolute;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    border: 1.5px solid #fff;
    bottom: 0;
    right: 0;
}

.user__detail-right {
    font-size: var(--text-sm);
    line-height: var(--line-height-text-sm);
    font-weight: 400;
}

.user__name {
    color: var(--text-secondary-700);
    font-weight: 600;
}

/********************** Header **********************/

/* responsive */

@media(max-width:991px) {
    #site_manager_sites_wrapper .dt-layout-table .dt-layout-full {
        overflow: scroll;
        scrollbar-width: none;
    }

    #site_manager_sites_wrapper .dt-layout-table #site_manager_sites {
        width: 1300px !important;
    }
}

@media(max-width:1024px) {
    #site_manager_sites_wrapper .dt-search {
        max-width: 200px;
        transform: translateY(calc(-100% - 24px));
    }
}

@media(max-width:767px) {
    #site_manager_sites_wrapper .dt-search {
        max-width: calc(100% - 32px);
        right: 50%;
        transform: translateY(calc(-100% - 84px)) translateX(50%);
    }

    #site_manager_sites_wrapper .dt-search input,
    #site_manager_sites_wrapper .dt-length select {
        padding-inline: 35px;
    }

    #site_manager_sites_wrapper .dt-layout-row:nth-child(3) {
        flex-direction: column;
        padding-right: 24px;
        padding-bottom: 74px;
        display: flex;
        padding-inline: 16px;
    }

    #site_manager_sites_wrapper .dt-layout-row:nth-child(3) .dt-layout-start {
        margin: 0;
    }

    #site_manager_sites_wrapper .dt-layout-row:nth-child(3) .dt-layout-end {
        width: 100%;
        margin: 0;
        justify-content: center;
    }

    #site_manager_sites_wrapper .dt-length {
        right: auto;
        transform: translateX(-50%);
        left: 50%;
        max-width: 100%;
        width: calc(100% - 32px);
    }

    #site_manager_sites_wrapper .dt-paging nav {
        justify-content: center;
    }

    #site_manager_sites_wrapper .dt-paging nav button.next {
        width: 100%;
        justify-content: flex-end;
    }

    #site_manager_sites_wrapper .dt-paging nav button.previous {
        width: 100%;
        justify-content: flex-start;
    }
}

/* responsive */