:root{

    --primary-color: #333;

    --second-bg-color: #d0d5d2;

    --font-color: #333;

    --main-bg-color: #fff;

}

.erizo-consent-bar {

    position: fixed;

    z-index: 99999999999999;

    width: 440px;

    bottom: 40px;

    left: 40px;

    background: var(--main-bg-color);

    padding: 20px 26px;

    box-shadow: 0 -1px 10px 0 #acabab4d;

    border-radius: 6px;

    border: none;

    color: var(--font-color);

}

.erizo-consent-bar.hidden{

    display: none;

}

.erizo-consent-bar .erizo-title {

    font-weight: 700;

    font-size: 18px;

    margin: 0 0 12px 0;

    word-break: break-word;

}

.erizo-consent-bar .erizo-btn-wrapper {

    display: flex;

    justify-content: flex-start;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 16px;

}

.erizo-consent-bar .erizo-btn-wrapper button.erizo-btn,

.erizo-preference-box .erizo-btn-wrapper button.erizo-btn{

    flex: auto;

    max-width: 100%;

    font-size: 14px;

    font-family: inherit;

    line-height: 24px;

    padding: 8px;

    font-weight: 500;

    border-radius: 2px;

    cursor: pointer;

    text-align: center;

    text-transform: none;

    min-height: 0;

    border: 2px solid var(--primary-color);

    background-color: var(--primary-color);

    transition: .3s;

    color: var(--main-bg-color);

    font-weight: 600;

} 

.erizo-consent-bar .erizo-btn-wrapper button.erizo-btn:hover,

.erizo-preference-box .erizo-btn-wrapper button.erizo-btn:hover{

    opacity: 80%;

}

.erizo-consent-bar .privacy-policy-btn,
.erizo-preference-box .privacy-policy-btn{
    margin-top: 15px;
    color: #000;
    font-weight: 700;
    display: block;
}

.erizo-consent-bar .erizo-btn-wrapper button.erizo-btn.erizo-border-btn,

.erizo-preference-box .erizo-btn-wrapper button.erizo-btn.erizo-border-btn{

    background-color: transparent;

    color: var(--primary-color);

}

.erizo-preference-box {

    box-shadow: 0 32px 68px rgba(0, 0, 0, 0.3);

    margin: 0 auto;

    position: fixed;

    max-width: 100%;

    background: var(--main-bg-color);

    top: 50%;

    box-sizing: border-box;

    border-radius: 6px;

    z-index: 999999999;

    color: var(--font-color);

    -webkit-transform: translate(-50%, 100%);

    -moz-transform: translate(-50%, 100%);

    -ms-transform: translate(-50%, 100%);

    -o-transform: translate(-50%, 100%);

    transform: translate(-50%, 100%);

    visibility: hidden;

    transition: all 0s ease;

}

.erizo-preference-box.opened{

    display: flex;

    visibility: visible;

    -webkit-transform: translate(-50%, -50%);

    -moz-transform: translate(-50%, -50%);

    -ms-transform: translate(-50%, -50%);

    -o-transform: translate(-50%, -50%);

    transform: translate(-50%, -50%);

    top: 50%;

    left: 50%;

    transition: all 1s ease;

}

.erizo-preference-box .erizo-p-center{

    max-height: 79vh;

    overflow: hidden;

    width: 845px;

    overflow: hidden;

    flex: 1 1 0;

    display: flex;

    flex-direction: column;

    border-radius: 6px;

}

.erizo-preference-box-overlay {

    background: #000000;

    opacity: 0.4;

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    z-index: 99999999;

    display: block;

    transition: .3s;

}

.erizo-preference-box-overlay.hidden {

    display: none;

    opacity: 0;

}

.erizo-preference-box .erizo-p-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 22px 24px;

    font-weight: 700;

}

.erizo-preference-box .erizo-p-header .erizo-close-btn {

    cursor: pointer;

}

.erizo-preference-box .erizo-p-wrapper{

    padding: 0 24px;

    flex: 1;

    overflow: auto;

    box-sizing: border-box;

}

.erizo-preference-box .erizo-btn-wrapper {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    align-items: center;

    justify-content: center;

    padding: 22px 24px;

}

.erizo-switch-ui  {

    cursor: pointer;

}

.erizo-switch-ui input[type="checkbox"]{

    position: relative;

    width: 44px;

    height: 24px;

    margin: 0;

    background: var(--second-bg-color);

    -webkit-appearance: none;

    border-radius: 50px;

    cursor: pointer;

    outline: 0;

    border: none;

    top: 0;

}

.erizo-switch-ui input[type="checkbox"]:before {

    position: absolute;

    content: "";

    height: 20px;

    width: 20px;

    left: 2px;

    bottom: 2px;

    border-radius: 50%;

    background-color: var(--main-bg-color);

    -webkit-transition: 0.4s;

    transition: 0.4s;

    margin: 0;

}

.erizo-switch-ui input[type="checkbox"]:checked {

    background: var(--primary-color);

}

.erizo-switch-ui input[type="checkbox"]:checked::before{

    -webkit-transform: translateX(20px);

    -ms-transform: translateX(20px);

    transform: translateX(20px);

}

.erizo-preference-box .erizo-accordion-wrapper .erizo-accordion-item .erizo-item-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 10px;

}

.erizo-preference-box .erizo-accordion-wrapper .erizo-accordion-item .erizo-item-header .erizo-title {

    font-weight: 700;

}

.erizo-preference-box .erizo-accordion-wrapper {

    margin: 15px 0;

}

.erizo-preference-box .erizo-accordion-wrapper .erizo-accordion-item + .erizo-accordion-item {

    margin-top: 20px;

}

.erizo-cookie-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--primary-color);

    width: 45px;

    height: 45px;

    border-radius: 50%;

    position: fixed;

    z-index: 9999;

    cursor: pointer;

    bottom: 15px;

    left: 15px;

}

.erizo-cookie-icon img {

    position: absolute;

    width: 60%;

    object-fit: contain;

    object-position: center;

    left: 0;

    top: 0;

    bottom: 0;

    right: 0;

    margin: auto;

}

.erizo-cookie-icon.hidden {

    display: none;

}



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

    .erizo-consent-bar{

        max-width: calc(100% - 80px);

    }

}