#cookie-popup button {
	cursor: pointer;
}

.body-no-scroll {
    overflow: hidden;
    /* This will prevent scrolling */
    height: 100%;
    /* You can also use 'vh' units if necessary */
    width: 100%;
}

#cookieHead {
    display: none;
}

/* chevron animation css  */
.chevron {
    display: inline-block;
    vertical-align: middle;

}

.chevron {
    width: 18px;
    height: 15px;
}

.chevron__group {
    transform: translateY(0);
    transition: transform 0.1s linear;
}

.chevron__box--left,
.chevron__box--right {
    transform: rotate(0) translateY(0);
    transition: transform 0.1s linear;
}

.chevron__box--left {
    transform-origin: 1px 1px;
}

.chevron__box--right {
    transform-origin: 7px 1px;
}

.chevron--flip .chevron__box--left {
    transform: rotate(-90deg) translateY(0);
}

.chevron--flip .chevron__box--right {
    transform: rotate(90deg) translateY(0);
}

.chevron--flip .chevron__group {
    transform: translateY(3px);
}


/* cookie popup css  */

@media (max-width: 767px) {
    #more-options {
        max-height: calc(100%);
        padding-bottom: 80px;
        height: auto;
    }
}


.privacyHeading {
    font-size: 22px !important;
    font-weight: 700 !important;
    font-family: 'Red Hat Display', sans-serif !important;
    color: #333333 !important;
}

.sheethausLogo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.cookie-popup {
    position: fixed;
    align-items: end;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent background */
    z-index: 9999;
    display: none;
    /* change to initially hidden */
}

@supports (height: 100dvh) {
    .cookie-popup {
        height: 100dvh;
    }
}

.popup-content {
    background-color: #fff;
    border-radius: .25rem;
    width: 100%;
    /* Adjust the max-width as needed */
    z-index: 1001;
    /* max-height: 580px; */
    font-family: 'Red Hat Display', 'sans-serif' !important;
    padding: 32px;
    overflow-y: auto;
    display: flex;
    align-items: center;
    gap: 20px;

}

.cookieIntro {
    font-size: 14px;
    font-family: 'Red Hat Display', 'sans-serif' !important;
    color: black !important;
    max-width: 65%;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex: 1;
}

.acceptRejectButtons {
    display: none;
    justify-content: end;
    margin-bottom: 1rem;

}

.acceptAllBtn,
.rejectAllBtn {
    text-decoration: underline !important;
    border: none !important;
    color: black !important;
    font-family: "Red Hat Display", sans-serif;
	font-size: 16px;
	background: transparent;

}

.acceptAllBtn:hover,
.rejectAllBtn:hover {
    background-color: white !important;
}

.acceptAllBtn:focus,
.rejectAllBtn:focus {
    background-color: white !important;
}

.moreOptionsBtn {
    background-color: transparent !important;
    color: black !important;
    border: 1px solid black !important;
    transition: 0.3s ease-in-out;
}

.moreOptionsBtn:hover {
    background-color: #065397 !important;
    color: white !important;
}

.agreeBtn {
    background-color: #4BB543 !important;
    color: white !important;
    border: none !important;
    transition: 0.3s ease-in-out;
}

.agreeBtn:hover {
    background-color: #2f712a !important;
}

.buttons .moreOptionsBtn,
.buttons .agreeBtn {
    min-width: 40%;
    border-radius: 5px;
    padding: 12px 16px !important;
    /*   font-weight: 600; */
    font-family: "Red Hat Display", sans-serif;
    white-space: nowrap;
}

.list-group {
    overflow-y: auto;
    max-height: 250px;
	padding: 0;
	margin: 0;
	list-style-type: none;
}

.list-group-item {
    border: none !important;
    border-bottom: 1px solid black !important;
    padding: 8px;
}

.list-group-item:last-child {
    border-radius: 0 !important;
}

.listExpand {
    list-style-type: none;
    /* Remove bullets */
    padding-left: 0;
    /* Align text to the left */
    text-align: left;
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.infoExpand {
    padding-left: 6px;
    padding-right: 6px;
    width: 85%;
}

.infoExpand p {
    font-size: 14px;
    font-family: 'Red Hat Display', 'sans-serif' !important;
}

.innerSpan {
    text-align: left;
    margin-right: 8px;
}

#storingPartners,
#storing,
#personalised,
#personalisedPartners,
#essential,
#essentialPartners,
#performance,
#performancePartners,
#functional,
#functionalPartners,
#analytics,
#analyticsPartners,
#thirdParty,
#thirdPartyPartners,
#specialFeatures,
#specialFeaturesPartners {
    display: none;
}

.on,
.off {
    display: none;
}

.switchToggle {
    margin-right: 14px;
}

.toggleContentBtn {
    background-color: transparent !important;
    color: #344343 !important;
    border: none !important;
    text-decoration: underline !important;
    padding: 0 !important;
    margin: 12px 0 !important;
}

.toggleSwitch {
    width: 60px;
    height: 30px;
    border-radius: 50px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 1px !important;
    padding-right: 1px !important;
    border: 0 !important;
    background-color: #06539763 !important;
    position: relative;
    cursor: pointer;
}

.toggleSlider {
    width: 28px;
    height: 28px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 1px;
    transition: left 0.3s ease-in-out;
}

.toggleSwitch:hover {
    background-color: #2f712a !important;
}

.toggleSwitch:focus {}

.toggleSwitch[aria-checked="true"] .toggleSlider {
    left: 31px;

}

.toggleSwitch[aria-checked="true"] {
    background-color: #2f712a !important;

}

.toggleOuterButton {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    border: none !important;
    background-color: transparent;
    color: black !important;
    padding-left: 6px !important;
}

.toggleOuterButton:hover {
    background-color: white !important;
}

.toggleOuterButton:active {
    background-color: white !important;
}

.toggleOuterButton:focus {
    background-color: white !important;
}

.innerButtonDiv {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-right: 8px;
	padding: 8px 0;
}

.saveOptionsDiv {
    display: flex;
    justify-content: end;
    margin-top: 1rem;
    box-shadow: 0px -3px 5px -3px rgba(0, 0, 0, 0.1);
}

.btn.saveOptionsBtn {
    display: none;
    color: white;
    background-color: #065397;
    min-width: 20%;
    border-radius: 8px;
    padding: 12px 16px;
    border: none !important;
    font-family: "Red Hat Display", sans-serif;
    transition: 0.3s ease-in-out;

}

.offOnBtn {
    font-family: "Red Hat Display", sans-serif;

}

.btn.saveOptionsBtn:hover {
    background-color: #05447b;
    border: 1px solid black;
    color: white;

}

.popupContent-high {
    /*     height: 95%!important; */
    flex-direction: column;
    display: block !important;
}




@media (min-width: 576px) and (max-width: 1119px) {
    .cookieIntro {
        max-height: 150px;
        /* Set a max height to whatever you prefer */
        overflow-y: scroll;
        /* Adds a scrollbar if content overflows */
        scrollbar-width: thin;
        /* Optional: Makes the scrollbar thinner */
        scrollbar-color: #888 #e0e0e0;
        /* Optional: styles the scrollbar */
    }

    .list-group {
        max-height: 250px;
        -webkit-overflow-scrolling: touch;
    }

    .popupContent-high {
        height: auto !important;
    }

    .popup-content {
        overflow-y: auto;
        max-height: 95%;
        padding: 20px !important;
        padding-bottom: calc(1em + constant(safe-area-inset-bottom)) !important;
        padding-bottom: calc(1em + env(safe-area-inset-bottom)) !important;
    }
}

@media (min-width: 576px) and (max-width: 1119px) and (orientation: landscape) {
    .cookieIntro {
        max-height: 75px;
        /* Set a max height to whatever you prefer */
    }

    .list-group {
        max-height: 250px;

    }

    .btn.saveOptionsBtn {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767px) {
    .buttons {
        flex-direction: column;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .popup-content {
        height: auto;
        width: 100%;
        padding: 20px !important;
        box-sizing: border-box;
        overflow-y: auto;
        flex-direction: column;
        gap: 8px !important;
        padding-bottom: calc(1em + constant(safe-area-inset-bottom)) !important;
        padding-bottom: calc(1em + env(safe-area-inset-bottom)) !important;
    }

    .cookieIntro {
        max-height: 100px;
        /* Set a max height to whatever you prefer */
        overflow-y: scroll;
        /* Adds a scrollbar if content overflows */
        scrollbar-width: thin;
        /* Optional: Makes the scrollbar thinner */
        scrollbar-color: #888 #e0e0e0;
        /* Optional: styles the scrollbar */
        margin-bottom: 1rem !important;
        max-width: 100%;
        width: 100%;
    }

    .innerSpan {
        white-space: normal;

    }

    .list-group {
        max-height: 300px;
        -webkit-overflow-scrolling: touch;
    }

    .saveOptionsDiv {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding-left: 5%;
        padding-right: 5%;

    }

    .offOnBtn {
        display: flex;
        align-items: center;
    }

    /* Styles for the button within saveOptionsDiv for better control */
    .btn.saveOptionsBtn {
        width: 100%;
        margin-bottom: 1rem;
    }

}