.module-container:has(.container-content .lege-wip-widget),
.module-container.col-md-12:has(.container-content .lege-wip-widget) {
    padding: unset;
}

.container-content:has(.lege-wip-widget) {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.lege-wip-main-container:not(:has(lege-card)):not(:has(.lege-wip-banner)) {
    border: 6px solid #D4D7DC;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    position: absolute;
    left: 50%;
    padding: 0;
    margin: 100px auto auto auto;
}

.lege-wip-main-container.no-found:not(:has(lege-card)):not(:has(.lege-wip-banner)) {
    border: none;
    animation: none;
}

.lege-wip-widget-padding {
    padding: 0;
}

.lege-wip-widget-padding:has(lege-card) {
    padding: 10px 0;
}

.lege-wip-widgets-for-pk.lege-wip-widgets-scroll .lege-wip-widget-padding:has(lege-card),
.lege-wip-widgets-for-pk.lege-wip-widgets-scroll .lege-wip-widget-padding:has(.lege-wip-banner) {
    padding: 10px;
}

.lege-wip-widgets {
    top: 0;
}

.lege-wip-widgets-scroll {
    z-index: 999;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: #66719A transparent;
    position: fixed !important;
    margin: 10px 0;
}

.lege-wip-widgets-absolute {
    position: absolute !important;
}

.lege-wip-widgets-scroll::-webkit-scrollbar {
    background: #66719A;
    width: 8px;
}

.lege-wip-widgets-scroll::-webkit-scrollbar-thumb {
    background: transparent;
}

.lege-wip-widgets-fixed {
    scrollbar-color: #66719A #D4D7DC;
    margin: 0 0 10px 0;
}

.lege-wip-widgets-fixed .lege-wip-widget-padding:has(lege-card) {
    padding: 0 0 10px 0;
}

.lege-wip-widgets-fixed .lege-wip-widget-padding:has(lege-card).lege-wip-widget-last {
    padding: 0;
}

.lege-wip-widget .lege-wip-banner {
    width: 100%;
    padding: 24px 24px 36px 24px;
    background-color: #0077C0;
    border-radius: 24px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    display: inline-flex
}

.lege-wip-widgets-scroll .lege-wip-widget-padding .lege-wip-banner {
    padding: 14px 24px 26px 24px;
}

.lege-wip-widget .lege-wip-banner img.lege-wip-top-banner-img {
    width: 100%;
    max-width: 380px;
}

.lege-wip-widget .lege-wip-flex-start {
    justify-content: flex-start;
    align-items: flex-start;
    display: inline-flex
}

.lege-wip-widget .lege-wip-flex-center {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: flex;
}

.lege-wip-widget .lege-wip-gap-12 {
    gap: 12px;
}

.lege-wip-widget .lege-wip-text {
    font-family: Poppins, sans-serif;
    text-align: center;
    color: white;
    word-wrap: break-word;
}

.lege-wip-widget .lege-wip-text .lege-wip-text-standard {
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    margin: 0;
}

.lege-wip-widget .lege-wip-text .lege-wip-text-big {
    font-size: 28px;
    font-weight: 800;
    line-height: 41px;
    margin: 0;
}

.lege-wip-widget .lege-wip-link-box .lege-wip-link {
    padding: 8px 20px 8px 12px;
    border-radius: 16px;
    border: 2px white solid;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    display: flex;
    font-size: 12px;
    font-family: Poppins, sans-serif;
    font-weight: 600;
}

.lege-wip-widget .lege-wip-link-box .lege-wip-link.lege-wip-link-leftText {
    padding: 8px 12px;
}

.lege-wip-widget .lege-wip-link-box .lege-wip-link.lege-wip-link-blue {
    background-color: #0077C0;
    color: #fff;
}

.lege-wip-widget .lege-wip-link-box .lege-wip-link.lege-wip-link-blue:hover {
    background-color: #1C3B6F;
}

.lege-wip-widget .lege-wip-link-box .lege-wip-link.lege-wip-link-blue svg {
    fill: #fff;
}

.lege-wip-widget .lege-wip-link-box .lege-wip-link.lege-wip-link-white {
    background-color: #fff;
    color: #0077C0;
}

.lege-wip-widget .lege-wip-link-box .lege-wip-link.lege-wip-link-white:hover {
    color: #1C3B6F;
}

.lege-wip-widget .lege-wip-link-box .lege-wip-link.lege-wip-link-white svg {
    fill: #0077C0;
}

.lege-wip-widget .lege-wip-link-box .lege-wip-link.lege-wip-link-white:hover svg {
    fill: #1C3B6F;
}

.lege-wip-banners-yellow-btn .lege-wip-widget .lege-wip-link-box .lege-wip-link.lege-wip-link-white {
    background-color: #EECF44;
    color: #0F0636;
    border: 2px #EECF44 solid;
}

.lege-wip-banners-yellow-btn .lege-wip-widget .lege-wip-link-box .lege-wip-link.lege-wip-link-white:hover {
    background-color: #c5aa39;
}

.lege-wip-banners-no-icons .lege-wip-widget .lege-wip-link-box .lege-wip-link {
    padding: 8px 12px;
    font-size: 16px;
}

.lege-wip-banners-no-icons .lege-wip-widget .lege-wip-link-box .lege-wip-link.lege-wip-link-blue svg,
.lege-wip-banners-no-icons .lege-wip-widget .lege-wip-link-box .lege-wip-link.lege-wip-link-white svg {
    display: none;
}

.lege-wip-widgets-scroll .lege-card {
    box-shadow: none !important;
}

.lege-wip-widgets-for-pk.lege-wip-widgets-scroll .lege-card {
    box-shadow: 1px 2px 14px #00000029 !important;
}

.lege-wip-mobilePopup-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.16);
    justify-content: center;
    align-items: center;
    z-index: 999;
    display: none;
}

.lege-wip-mobilePopup {
    margin: auto;
    width: 100%;
    max-width: 398px;
    height: 100%;
    max-height: 405px;
    padding: 24px 24px 32px;
    box-shadow: 1px 2px 48px rgba(0, 0, 0, 0.16);
    border-radius: 24px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 32px;
    display: inline-flex;
    background-color: #fff;
    position: relative;
}

.lege-wip-mobilePopup-close {
    position: absolute;
    top: 24px;
    right: 24px;
    cursor: pointer;
}

.lege-wip-mobilePopup-top {
    margin: 0;
    padding: 0;
}

.lege-wip-mobilePopup-top svg {
    fill: #B3D6EC;
    width: 62px;
    height: 52px;
}

.lege-wip-mobilePopup-top svg * {
    fill: #B3D6EC;
}

.lege-wip-mobilePopup-middle {
    /*margin: 32px auto;*/
}

.lege-wip-widgets .lege-wip-text.lege-wip-mobilePopup-middle {
    color: #001356;
    font-size: 16px;
    text-align: center;
}

.lege-wip-mobilePopup-info {
    width: 100%;
    height: 100%;
    padding: 8px 16px;
    background: rgba(226, 240, 255, 0.30);
    border-radius: 12px;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    display: inline-flex;
    color: #0077C0;
    font-size: 14px;
    font-family: Poppins, sans-serif;
    font-weight: 500;
    line-height: 20px;
    word-wrap: break-word;
    position: relative;
}

.lege-wip-mobilePopup-info p {
    padding: 0 0 0 26px;
}

.lege-wip-mobilePopup-info:before {
    content: "i";
    position: absolute;
    top: 8px;
    left: 16px;
    width: 16px;
    height: 16px;
    background-color: #0077C0;
    color: #fff;
    font-size: 12px;
    text-align: center;
    border-radius: 50%;
}

.lege-wip-mobilePopup-bottom {
    display: block;

}

.lege-wip-mobilePopup-bottom .lege-wip-mobilePopup-checkbox, .icheckbox_square-grey {
    padding: 7px;
    border-radius: 6px;
    border: 1px rgba(0, 19, 86, 0.60) solid;
}


.lege-wip-mobilePopup-bottom .lege-wip-mobilePopup-label {
    color: rgba(0, 19, 86, 0.60);
    font-size: 12px;
    font-family: Poppins, sans-serif;
    font-weight: 500;
    line-height: 14px;
    word-wrap: break-word
}

.lege-wip-loader-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lege-wip-loader {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.8);
    border-top-color: #66719A;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

.lege-wip-main-container .dispensary-container .expert-container-content figure .btn {
    margin-right: auto;
}
