#cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}


#cookie-modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 900px;
    border-radius: 10px;
    padding: 0px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    height: 100%;
    max-height: 500px;
    font-family: sans-serif;
}


.tabs {
    display: flex;
    border-bottom: 2px solid #eee;
    margin: 10px 0px 10px 0px;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    cursor: pointer;
    font-weight: bold;
    border-bottom: 2px solid transparent;
    font-weight: 600;
    font-size: 15px;
}

.tab.active {
    border-bottom: 2px solid #007BFF;
    color: #007BFF;
}


.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    height: 74%;
}


.toggleButtonContainer .toggle {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    align-items: center;
    flex-direction: column;
    border-right: 1px solid #D6D6D6
}

.toggleButtonContainer .toggle:last-child {
    border-right: none;
}

.toggleButtonContainer .toggle label {
    font-size: 15px;
    margin-bottom: .75em;
    margin-top: 5px;
}

.toggleButtonContainer .toggle input {
    appearance: none;
    width: 60px;
    height: 30px;
    background: #ccc;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    outline: none;
    transition: background 0.3s;
    top: 0px !important;
    margin-bottom: 10px;

}

.toggleButtonContainer .toggle input:checked {
    background: #007BFF;
}

.toggleButtonContainer .toggle input:disabled {
    background: dimgrey !important;
}

.toggleButtonContainer .toggle input:before {
    content: "";
    position: absolute;
    width: 28px;
    height: 28px;
    background: #fff;
    border-radius: 50%;
    top: 0px;
    left: 0px;
    transition: transform 0.3s;
}

.toggleButtonContainer .toggle input:checked:before {
    transform: translateX(30px);
}

#cookie-modal-content .buttons {
    display: flex;
    justify-content: end;
    padding: 0px 15px;
    margin: 7px 0px;
}

#cookie-modal-content .buttons button {
    padding: 0px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

#cookie-modal-content .buttons .reject {
    background-color: #ccc;
    color: #333;
    margin-right: 15px;
}

#cookie-modal-content .buttons .accept {
    background-color: #007BFF;
    color: white;
}

.toggleButtonContainer {
    display: grid;
    grid-template-columns: repeat(auto-fill, 25%);
    border: 1px solid #D6D6D6;
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.tab-content .tab-content-div {
    font-size: 15px;
    padding: 20px;
}

#tab-consent {
    position: relative;
}

#tab-about {
    font-size: 16px;
}

#tab-about #tab-about-content {
    padding: 20px;
}

#openCookieSettings {
    width: 50px;
    position: fixed;
    bottom: 0px;
    left: 5px;
    pointer-events: none;
    z-index: 1000000000;
}

#openCookieSettings span {
    cursor: pointer;
    pointer-events: all;

}

.category-container {
    padding: 10px;
}

.category-container .cookie-category {
    margin-left: 35px;
    margin-bottom: 20px;
}

.category-container .cookie-category-name {
    margin-bottom: 20px;
    padding-bottom: 5px;
    /* width: 200px; */
    border-bottom: 1px solid #D6D6D6;
    cursor: pointer;
}

.category-container .cookie-category-name label {
    cursor: pointer;
}

.category-container .cookie-category-name span {
    background-color: #D6D6D6;
    border-radius: 5em;
    display: inline-block;
    font-size: .8em;
    font-weight: 700;
    letter-spacing: .25px;
    line-height: 1.2em;
    margin-left: .5em;
    padding: .25em .5em;

}

.category-container .cookies {
    margin-left: 100px;
}

.category-container .cookies .cookie-item {
    background-color: rgba(0, 0, 0, 0.05);
    border: 1px solid #D6D6D6;
    border-radius: 1em;
    padding: 1.5em;
    max-width: 660px;
    margin-bottom: 10px;
}

.category-container .cookies .cookie-item .details {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    margin: 15px 0px 0px 0px;
}

.category-container .cookies .cookie-item strong {
    font-size: 15px;
}

.category-container .cookies .cookie-item p {
    margin-bottom: 15px;
}

.category-container .cookie-category-description {
    margin-left: 35px;
    font-size: 15px;
}

.category-container .cookie-category-name::before {
    top: .25em;
    border-style: solid;
    border-width: .15em .15em 0 0;
    content: "";
    display: inline-block;
    height: .5em;
    left: 0;
    margin-right: 1.875em;
    position: relative;
    /*  transform: rotate(-45deg); */
    transform: rotate(-225deg);
    vertical-align: top;
    width: .5em;
}

@media only screen and (max-width: 965px) {
    .category-container .cookies {
        margin-left: 30px;
    }
}

@media only screen and (max-width: 580px) {
    .category-container .cookies {
        margin-left: 10px;
    }

    .category-container .cookie-category {
        margin-left: 5px;
    }

    .tab-content .tab-content-div {
        max-height: 250px;
        overflow: auto;
    }
}

@media only screen and (max-width: 520px) {
    .toggleButtonContainer .toggle label {
        font-size: 10px;
    }
}

@media only screen and (max-width: 465px) {
    #cookie-modal-content .buttons button {
        height: 100%;
    }
}