/* GLOBAL CSS */

.text-primary-red {
    color: #D40511;
}

.font-delivery-bold {
    font-family: "Delivery";
    font-weight: bold;
    font-style: normal;
}

.font-delivery-normal {
    font-family: "Delivery", sans-serif;
    font-weight: normal;
    font-style: normal;
}

.font-delivery-condensed-normal {
    font-family: "Delivery Condensed";
    font-weight: normal;
}

.font-delivery-condensed {
    font-family: "Delivery Condensed";
    font-weight: 900;
}

.pyf-sec-heading {
    font-size: 36px;
    text-transform: capitalize;
    color: #212529;
}

.pb-135 {
    padding-bottom: 135px !important;
}

.text-center {
    text-align: center;
}

a.pfv-desktop-btn {
    text-decoration: none;
}

.pfv-header-btn-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pyf-mobile-lg-btn {
    padding: 15px 0px;
    text-align: center;
    border-radius: 5px;
    width: 100%;
    display: block;
}

.pyf-mobile-btn-outline-dark {
    background-color: transparent;
    border: 1px solid #cccccc;
    color: #4b5055;
}

.pfv-desktop-btn {
    padding: 9px 28px;
    font-size: 13px;
    border-radius: 5px;
    
}

.pfv-desktop-btn-sm {
    padding: 3px 5px;
    font-size: .9rem;
    border-radius: 5px;
}

.pfv-btn-solid-red {
    background-color: #D40511;
    color: #ffffff;
    transition: .3s ease-in-out;
    border: 1px solid transparent;
}

.pfv-btn-solid-red:hover {
    background-color: #fff;
    color: #D40511;
    border: 1px solid #D40511;
}

.pfv-btn-outline-dark {
    background-color: transparent;
    border: 1px solid #c9c9c9;
    color: #4b5055;
}

.pfv-btn-outline-dark-grey {
    background-color: transparent;
    border: 1px solid #cccccc;
    color: #71767a;
}

/* CUSTOM CSS */

.pyf-mobile-wrapper .back-to-feed {
    padding: 12px 12px 12px 20px;
}

.pyf-mobile-wrapper .back-to-feed a {
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 13px;
}

.pyf-mobile-wrapper .pyf-header-text {
    font-size: 24px;
    padding: 13px 0px 27px 24px;
    font-family: "Delivery Condensed";
    font-weight: 900;
    font-style: normal;
}

.pyf-mobile-wrapper .pyf-accordion-item {
    background-color: #fff;
}

.pyf-mobile-wrapper .pyf-accordion-header {
    background-color: #ffffff;
    color: #fff;
    padding: 15px 28px;
    cursor: pointer;
    border-top: 1px solid #e2e2e2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}

.pyf-mobile-wrapper .pyf-accordion-header.pyf-accordion-active {
    background-color: #f5f5f5;
}

.pyf-mobile-wrapper .pyf-accordion-header > img {
    transform: rotate(0deg);
    transition: .2s ease-in;
}

.pyf-mobile-wrapper .pyf-accordion-header p {
    color: #212529;
    font-size: 1rem;
    margin-bottom: 0px;
}

.pyf-mobile-wrapper .pyf-accordion-content {
    display: none;
    padding: 15px 28px;
}

.pyf-mobile-wrapper .pyf-accordion-header.pyf-accordion-active:not(.pyf-accordion-header-active) > img {
    transform: rotate(90deg);
}

.pyf-mobile-wrapper .pyf-accordion-content .pyf-accordion-body .pyf-checkbox-group .pyf-checkbox-group-header {
    color: #212529;
    font-size: 1rem;
    line-height: 1rem;
    padding: 10px 0px;
    border-bottom: 0.25px solid #D40511;
}

.pyf-mobile-wrapper .pyf-accordion-content .pyf-accordion-body .pyf-checkbox-control {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0px;
    border-bottom: 0.25px solid #cccccc;
}

.pyf-mobile-wrapper .pyf-accordion-content .pyf-accordion-body .pyf-checkbox-control:last-child {
    border-bottom: 0px;
}

.pyf-mobile-wrapper .pyf-accordion-content .pyf-accordion-body .pyf-checkbox-control .pyf-checkbox-label {
    font-size: 16px;
    line-height: 16px;
    color: #212529;
    margin-bottom: 0px;
}

.pyf-mobile-wrapper .pyf-accordion-content .pyf-accordion-body .pyf-checkbox-control input[type="checkbox"] {
    display: none;
}

.pyf-mobile-wrapper .pyf-accordion-content .pyf-accordion-body .pyf-checkbox-control .pyf-custom-checkbox {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: transparent;
    border-radius: 5px;
    border: 1px solid #71767a;
    position: relative;
    cursor: pointer;
}

.pyf-mobile-wrapper .pyf-accordion-content .pyf-accordion-body .pyf-checkbox-control .pyf-custom-checkbox::before {
    content: ""; /* Remove any default content */
    background-image: url('https://lot.dhl.com/wp-content/themes/logistics-of-things-2021-v3/img/user-personalisation/checked.svg'); /* URL to your SVG image */
    background-size: cover; /* Adjust size as needed */
    background-repeat: no-repeat;
    display: inline-block;
    position: absolute;
    width: 12px;
    height: 9px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease-in-out;
}

.pyf-mobile-wrapper .pyf-accordion-content .pyf-accordion-body .pyf-checkbox-control input[type="checkbox"]:checked + .pyf-custom-checkbox::before {
    transform: translate(-50%, -50%) scale(1);
}

.pyf-mobile-wrapper .pyf-accordion-content .pyf-accordion-body .pyf-checkbox-control input[type="checkbox"]:checked + .pyf-custom-checkbox {
    background-color: #D40511;
    border: 1px solid #D40511;
}

.pyf-accordion-submit-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 66px 24px 24px 24px;
    background: rgba(255,255,255,0 );
    background: linear-gradient(180deg, 
    rgba(255,255,255,0 ) 0.00%, 
    #ffffff 38.91%, 
    #ffffff 100.00%);
    z-index: 999;
}

.pyf-accordion-submit-wrapper .pyf-accordion-submit-btn {
    width: 100%;
    padding: 15px 0px;
    background-color: #D40511;
    border-radius: 6px;
    font-size: 1rem;
    line-height: 20px;
    color: #ffffff;
    border: none;
    outline: none;
    cursor: pointer;
}

/* --------- Personalise your Feed Desktop Version Css ----------- */


.pyf-feeds-checkboxes-wrapper {
    display: flex;
    align-items: center;
    gap: 28px;
}

.pyf-feeds-checkbox-container {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pyf-feeds-checkbox-container > span {
    font-size: 17px;
    color: #212529;
}

.pyf-feeds-checkbox {
    width: 22px;
    height: 22px;
    background-color: transparent;
    border: 1px solid rgba(33,37,41,0.3 );
    border-radius: 2px;
    display: grid;
    place-items: center;
}

.pyf-feeds-checkbox > img {
    opacity: 0;
    transition: .1s ease-out;
}

.pyf-feeds-checkbox.checked {
    /* background: #D40511; */
}

.pyf-feeds-checkbox.checked > img {
    opacity: 1;
}

.pyf-feeds-selected-tags-wrapper {
    
    width: 100%;
    
    border: 1px solid #707070;
    border-radius: 5px;
    margin-top: 24px;
    padding: 11px 21px 11px;
}

.pyf-feeds-all-tags-wrapper,
.pyf-selected-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.pyf-feeds-all-tags-wrapper {
    margin-top: 12px;
}

.pyf-feeds-selected-tags {
    padding: 9px 22px;
}

.pyf-feeds-active-tags {
    padding: 9px 15px;
}

.pyf-feeds-selected-tags,
.pyf-feeds-active-tags
 {
    font-size: 13px;
    border: 1px solid #4b5055;
    border-radius: 5px;
    cursor: pointer;
}

.pyf-feeds-active-tags.selected-tag {
    background-color: #D40511;
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pyf-feeds-active-tags.selected-tag > .cancel-select-btn {
    display: unset;
    cursor: pointer;
}

.pyf-feeds-desktop-submit-btn-wrapper {
    display: flex;
    align-items: center;
    gap: 33px;
    margin-top: 50px;
}

.pyf-feeds-tabs-submit-btn {
    background-color: #D40511;
    border-radius: 5px;
    color: #ffffff;
    padding: 19px 66px;
    font-size: 20px;
    border: none;
    outline: none;
    cursor: pointer;
}

.pyf-feeds-tabs-skip-for-now {
    text-decoration: none;
    color: #D40511;
    font-size: 20px;
}

.no-feed-selected-mobile {
    display: none;
}

.no-feed-selected-desktop {
    display: block;
}

.no-feed-selected-text {
    font-size: 36px;
    color: #212529;
    line-height: 40px;
    margin-bottom: 66px;
}

.no-feed-selected-btn-gorup {
    display: flex;
    align-items: center;
    gap: 21px;
}

.no-feed-selected-pfv-desktop-btn {
    padding: 19px 35px;
    font-size: 20px;
    border-radius: 5px;
}

.no-feed-selected-return-home-page-text {
    font-size: 20px;
    color: #D40511;
}
/* -------- Feed Not Selected ---------- */

.fns-mobile-wrapper {
    width: 100%;
    height: 88vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fns-mobile-wrapper .fns-header-text {
    font-size: 30px;
    line-height: 28px;
    padding: 13px 0px 27px 24px;
}

.fns-mobile-wrapper .fns-content {
    padding: 0 24px 48px 24px;
}

.fns-mobile-wrapper .fns-content .fns-content-header {
    font-size: 28px;
    line-height: 32px;
    color: #212529;
    text-transform: initial;
    padding: 0 20px;
}

.fns-mobile-wrapper .fns-content .fns-content-desc {
    margin-top: 12px;
    font-size: 20px;
    color: #4b5055;
    line-height: 28px;
    margin-bottom: 79px;
}

.fns-mobile-wrapper .fns-content .fns-btn-col-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fns-mobile-wrapper .fns-content .fns-btn-col-group a {
    text-decoration: none;
    outline: none;
}

.fns-mobile-wrapper .fns-content .fns-btn-col-group a.fns-personalize-feed-btn {
    width: 100%;
    padding: 15px 0px;
    background-color: #D40511;
    border-radius: 6px;
    font-size: 1rem;
    line-height: 20px;
    color: #ffffff;
    border: none;
    outline: none;
    cursor: pointer;
    text-align: center;
}

.fns-mobile-wrapper .fns-content .fns-btn-col-group a.fns-back-to-home-btn {
    width: 100%;
    padding: 15px 0px;
    background-color: #ffffff;
    border-radius: 5px;
    font-size: 1rem;
    line-height: 20px;
    color: #4b5055;
    border: 1px solid #ccc;
    outline: none;
    cursor: pointer;
    text-align: center;
}


/* --------- Post Feed View ----------- */

/* desktop dashboard design css */

.up-desktop-wrapper {
    position: relative;
    /* isolation: isolate; */
    width: 100%;
}

.up-desktop-wrapper::before {
    content: '';
    position: absolute;
    z-index: -2;
    left: 0;
    top: 0;
    width: 100%;
    background: linear-gradient(180deg,#fc0 0,#fc0 30%,#faeebb);
    height: 200px;
}

.up-desktop-wrapper::after {
    content: '';
    position: absolute;
    z-index: -1;
    right: 0;
    top: 0;
    width: 50%;
    background-color: #ffffff;
    height: 217px;
}

.up-desktop-container {
    display: flex;
    align-items: flex-start;
}

.up-desktop-left {
    flex: 0 0 30%;
}

.up-desktop-right {
    flex: 1;
    /* height: 700px; */
    background-color: #ffffff;
    width: 100%;
    padding: 59px 0px 59px 95px;
    /* filter: drop-shadow(0px -3px 5px rgba(0,0,0,0.16 )); */
    box-shadow: -3px -3px 5px rgba(0,0,0,0.10);
    position: relative;
}

.up-user-wrap {
    width: 100%;
}

.up-user-container {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    /* padding-bottom: 27px; */
    margin-top: 130px;
}

.up-user-img img {
    width: 60px;
    height: 60px;
    border-radius: 100vmin;
    object-fit: cover;
    object-position: center;
}

.up-user-title {
    margin-bottom: 0px;
    font-size: 20px;
    color: #212529;
}

.up-user-options-wrap {
    width: 100%;
    background-color: #ffffff;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    margin-top: 19px;
    min-height: 450px;
}

.up-user-options-container {
    padding-right: 46px;
    width: 100%;
}

.up-user-options-list {
    display: flex;
    flex-direction: column;
}

.up-user-option {
    padding: 25px 0px;
    border-bottom: 0.25px solid rgba(112, 112, 112, 0.30);
}

.up-user-option a {
    text-decoration: none;
    color: #212529;
    font-family: "Delivery";
    font-weight: bold;
    font-size: 18px;
    font-style: normal;
}

.up-user-option.up-user-option-active > a {
    color: #D40511;
}


/* profile feed view custom css */

.pfv-header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.pfv-header-wrapper h1 {
    text-transform: uppercase;
    color: #D40511;
    font-size: 46px;
    margin-bottom: 0px;
    margin-top: 0px;
    font-family: 'Delivery Condensed';
    font-weight: 900;
}

.pfv-goto-btn-wrapper {
    padding-bottom: 65px;
}

.feed-posts-container {
    margin-top: 15px;
}

.feed-post-card-wrapper {
    padding: 25px 0px;
    border-bottom: 1px solid rgba(112, 112, 112, 0.30);
}

.feed-post-card {
    display: flex;
    flex-direction: row;
    gap: 35px;
}

.feed-post-card .feed-post-card-left img {
    width: 200px;
    height: 165px;
    object-fit: cover;
    object-position: center;
}

.feed-post-card .feed-post-card-right .feed-post-category-title {
    font-family: "Delivery Condensed";
    font-weight: 900;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #D40511;
    padding-top: 16px;
    font-size: 16px;
    line-height: 24px;
}

.feed-post-card .feed-post-card-right .feed-post-title {
    font-family: "Delivery Condensed";
    font-weight: 900;
    color: #212529;
    margin-top: 14px;
    font-size: 18px;
    line-height: 20px;
    text-decoration: none;
}

.feed-post-card .feed-post-card-right .feed-post-content {
    color: #212529;
    font-size: 16px;
    line-height: 26px;
    margin-top: 14px;
}

.feed-post-card-footer {
    display: none;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 20px;
}

.feed-post-card-footer-btn-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.bookmark-toggle    {
    border: 0 none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}
.bookmark-toggle:focus  {
    outline: none;
}

.bookmark-toggle img {
    width: 14px;
    height: 16px;
}

/* Default (unbookmarked) */
.bookmark-toggle img.pfv-bookmark-not-selected {
    display: block;
}
.bookmark-toggle img.pfv-bookmark-selected {
    display: none;
}

/* bookmarked */
.bookmark-toggle.bookmarked img.pfv-bookmark-not-selected   {
    display: none;
}
.bookmark-toggle.bookmarked img.pfv-bookmark-selected   {
    display: block;
}

/* loading */

.bookmark-toggle .bookmark-loading-state {
    display: none;
}

.bookmark-toggle.loading .bookmark-loading-state {
    display: block;
}

.bookmark-toggle.bookmarked.loading img {
    display: none;
}

.bookmark-toggle.loading img {
    display: none;
}


/* ------------ pyf pagination css --------------- */

.pyf-pagi-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}


/* -------- new csss --------- */

a.new-personalise-btn {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: normal;
    min-width: 235px;
    color: #71767a;
    border: 1px solid #b5b5b5;
    transition: .3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.up-desktop-right-wrap .dhl-filter-dropdown .dropdown-toggle {
    font-weight: normal !important;
    color: #71767a !important;
}


a.new-personalise-btn:hover {
    background-color: #D40511;
    color: #fff;
}

a.new-personalise-btn:hover > img {
    filter: brightness(0) invert(1);
}

a.new-personalise-btn img {
    width: 7px;
    height: 13px;
}
/* profile feed view mobile responsive */

/* no feed selected mobile css */

.no-feed-selected-mobile {
    flex-direction: column;
    justify-content: space-between;
    height: calc(100vh - 100px);
}

.no-feed-selected-top-box {
    text-align: center;
}

.no-feed-selected-mobile img {
    width: 50vw;
    margin: 0 auto;
}

.no-feed-selected-mobile p {
    font-family: "Delivery";
    font-weight: bold;
    font-style: normal;
    font-size: 24px;
    line-height: 22px;
    margin-bottom: 8px;
    text-align: center;
}

.no-feed-selected-mobile span {
    font-family: "Delivery";
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    text-align: left;
    color: #212529;
    line-height: 26px;
    text-align: center;
}

.no-feed-selected-btn-gorup-mobile {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.no-feed-selected-btn-mobile-red {
    padding: 15px 0px;
    text-align: center;
    border-radius: 5px;
    width: 100%;
    display: block;
    background-color: #D40511;
    color: #ffffff;
    transition: .3s ease-in-out;
    border: 1px solid transparent;
}

.no-feed-selected-btn-mobile-red:hover {
    background-color: #fff;
    color: #D40511;
    border: 1px solid #D40511;
}

.no-feed-selected-btn-mobile-white {
    padding: 15px 0px;
    text-align: center;
    border-radius: 5px;
    width: 100%;
    display: block;
    background-color: #fff;
    color: #000000;
    transition: .3s ease-in-out;
    border: 1px solid rgba(112, 112, 112, 0.30);
}

.no-feed-selected-btn-mobile-white:hover {
    background: #D40511;
    color: #ffffff;
}

.pyf-accordion-submit-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.pyf-accordion-submit-mobile a {
    color: #D40511;
    font-family: "Delivery";
    font-weight: bold;
}

@media only screen and (max-width: 720px) {

    .pyf-desktop-wrapper {
        display: none;
    }

    .up-desktop-left {
        display: none;
    }

    .up-desktop-wrapper::before,
    .up-desktop-wrapper::after {
        display: none;
    }

    .up-desktop-right {
        /* padding: 16px 14px 16px 14px; */
        padding: 16px 6px 16px 6px;
    }

    .page-template-tpl-bookmarks .up-desktop-right {
        padding: 0px 6px 16px 6px;
    }

    .up-desktop-right-wrap > h2 {
        font-size: 36px;
        color: #212529;
        margin-top: 41px;
    }

    .pfv-header-wrapper {
        margin-bottom: 16px;
    }

    .pfv-header-wrapper h1 {
        font-size: 30px;
        line-height: 28px;
    }

    .pfv-header-wrapper a {
        display: none;
    }

    .pfv-header-wrapper .my-profile-actions-wrapper .dropdown-menu a {
        display: block !important;
    }


    .pfv-header-btn-group > a {
        font-size: 12px;
        flex: 1;
        text-align: center;
    }

    .feed-posts-container {
        margin-top: 0px;
    }

    .feed-post-card-wrapper {
        padding: 18px 0px;
    }

    .feed-post-card {
        flex-direction: column;
        gap: 9px;
    }

    .feed-post-card .feed-post-card-left {
        height: 131px;
    }

    .feed-post-card .feed-post-card-left img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .feed-post-card .feed-post-card-right .feed-post-category-title {
        font-size: 10px;
        font-family: "Delivery Condensed", sans-serif;
        font-weight: 900;
    }

    .feed-post-card .feed-post-card-right .feed-post-title {
        font-family: "Delivery Condensed", sans-serif;
        font-size: 14px;
        line-height: 18px;
        font-weight: 900 !important;
        margin-top: 7px;
        
    }

    .feed-post-card .feed-post-card-right .feed-post-content {
        margin-top: 9px;
        font-weight: 300 !important;
        font-size: 11px;
        line-height: 18px;
    }

    .feed-post-card-footer {
        display: flex;
        margin-top: 12px;
    }

    .pfv-desktop-btn-sm {
        font-size: 12px !important;
        padding: 3px 4px;
    }

    a.new-personalise-btn {
        min-width: 159px;
    }

    .no-feed-selected-mobile {
        display: flex;
    }

    .no-feed-selected-desktop {
        display: none;
    }

}

@media only screen and (min-width: 721px) {
    .pyf-mobile-wrapper {
        display: none;
    }

    .pyf-accordion-submit-mobile {
        display: none;
    }
}


/* custom pagination css */

.pyf-pagination-wrapper {
    padding-top: 24px;
    padding-bottom: 24px;
}

.pyf-pagination {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pyf-pagination a {
    font-family: "Delivery";
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
    font-style: normal;
    text-decoration: none;
}

.pyf-pagination a:not(.pyf-pagination-next-btn) {
    flex: 1 1 auto;
    text-align: center;
    color: #4b5055;
    padding: 6px 10px;
    border: 1px solid #cccccc;
    border-radius: 5px;
}

.pyf-pagination a.pyf-pagination-active {
    border: 1px solid #D40511;
    color: #D40511;
}



