.modal-popup.cookie-popup .modal-inner-wrap {
    width: 500px;
    margin-bottom: 0 !important;
}

.modal-popup.cookie-popup .modal-header {
    padding: 20px;
    border-bottom: none;
    background-image: none;
    background-repeat: no-repeat;
    background-position: 10px 10px;
    background-size: 30px 30px;
}

.modal-popup.cookie-popup .modal-header h1 {
    border-bottom: 0;
}

.modal-popup.cookie-popup .modal-content,
.modal-popup.cookie-popup .modal-inner-wrap .modal-content {
    padding: 0;
}

#cookiePopupWrapper #cookiePopupForm {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

#cookiePopupWrapper .tab-item {
    flex-direction: column;
    padding: 0;
}

#cookiePopupWrapper .actions {
    padding: 10px 10px;
    text-align: right;
}

#cookiePopupWrapper .popup-content {
    padding-left: 0;
    display: flex;
    flex-direction: row;
}

#cookiePopupWrapper #cookiePopupContentArea {
    display: flex;
    flex-flow: column;
    max-width: 100%;
    justify-content: flex-start;
    align-items: center;
    -webkit-text-size-adjust: 100%;
    --swiper-theme-color: #007aff;
    --swiper-navigation-size: 44px;
    color: #000;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 1.42857143;
    font-size: 1.4rem;
    box-sizing: border-box;
    min-height: 300px;
    width: 100%;
    margin: 0 auto;
}

#cookiePopupWrapper #cookie-popup-tabs-wrapper {
    -webkit-text-size-adjust: 100%;
    --swiper-theme-color: #007aff;
    --swiper-navigation-size: 44px;
    color: #000;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 1.42857143;
    font-size: 1.4rem;
    box-sizing: border-box;
    clear: both;
    grid-area: details;
}

#cookiePopupWrapper .tab-content-wrapper {
    -webkit-text-size-adjust: 100%;
    --swiper-theme-color: #007aff;
    --swiper-navigation-size: 44px;
    color: #000;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 1.42857143;
    font-size: 1.4rem;
    list-style: none none;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    margin-bottom: 20px;
    padding-left: 1%;
    position: relative;
    z-index: 1;
}

#cookie-popup-tabs .item.title {
    -webkit-text-size-adjust: 100%;
    --swiper-theme-color: #007aff;
    --swiper-navigation-size: 44px;
    color: #a2a2a2;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 1.42857143;
    font-size: 1.4rem;
    list-style: none none;
    box-sizing: border-box;
    float: left;
    width: 33%;
    border-bottom: 1px solid #d6d6d6;
}

#cookie-popup-tabs .item.title .switch {
    position: relative;
    display: flex;
    flex: 0 0 24.1%;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1em;
    list-style: none none;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    z-index: 2;
    line-height: 20px;
    text-decoration: none;
    border: 0;
    color: #a2a2a2;
    font-size: 1.6rem;
    text-align: center;
    transition: ease-in-out 250ms all;
    font-weight: 600;
    -webkit-text-size-adjust: 100%;
    --swiper-theme-color: #007aff;
    --swiper-navigation-size: 44px;
}

#cookie-popup-tabs .item.title.active .switch {
    border-color: transparent;
    border-bottom: 1px solid #000;
    color: #000;
}

#cookie-popup-tabs .item.content {
    -webkit-text-size-adjust: 100%;
    --swiper-theme-color: #007aff;
    --swiper-navigation-size: 44px;
    color: #000;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 1.42857143;
    list-style: none none;
    display: block;
    margin: 0 0 5px;
    box-sizing: border-box;
    float: right;
    margin-left: -100%;
    width: 100%;
    background: #fff;
    border: none;
    font-size: 1.6rem;
    margin-top: 60px;
    padding: 25px 20px;
}

#cookiePopupWrapper .actions {
    display: flex;
    flex-direction: column;
    min-width: 18%;
}

#cookiePopupWrapper #cookieAllowAll {
    background-color: #5c5c5c;
    color: #ffffff;
    border: 2px solid #5c5c5c;
    border-radius: 4px;
    display: block;
    font-weight: 600;
    padding: 15px;
    margin: 7px;
    text-align: center;
    user-select: none;
    cursor: pointer;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 1.6rem;
    outline: 0;
    vertical-align: baseline;
    touch-action: manipulation;
    -webkit-appearance: none;
}

#cookiePopupWrapper #cookieAllowAll:hover {
    opacity: .85;
    color: #ffffff;
    border: none;
    box-shadow: 0 0 4px -1px #000000;
}

#cookiePopupWrapper .cookieSaveChoice {
    background-color: #ffffff;
    color: #5c5c5c;
    border: 2px solid #a2a2a2;
    border-radius: 4px;
    display: block;
    margin: 7px;
    padding: 15px;
    font-family: inherit;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    user-select: none;
    cursor: pointer;
    box-sizing: border-box;
    outline: 0;
    vertical-align: baseline;
    touch-action: manipulation;
    -webkit-appearance: none;
}

#cookiePopupWrapper .cookieSaveChoice:hover {
    opacity: .85;
    box-shadow: 0 0 4px -1px #000000;
}

#cookiePopupWrapper .sm-modal-title {
    padding: 10px;
    background-color: #EEEEEE;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
    font-size: 1.2em;
}

#cookiePopupWrapper .sm-modal-body {
    clear: both;
}

#cookiePopupWrapper .sm-modal-footer {
    padding: 10px;
    background-color: #eee;
    border-top: 1px solid #ccc;
    text-align: right;
    clear: both;
}

#cookiePopupWrapper .tab-header>li {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    list-style-type: none;
    margin-bottom: 0;
}

#cookiePopupWrapper .tab-header>li a {
    display: block;
    color: #999;
}

#cookiePopupWrapper .tab-header .more-info-link {
    list-style-type: none !important;
}

#cookiePopupWrapper .tab-header>li.active {
    background-color: #DDD;
}

#cookiePopupWrapper .tab-header>li.active a {
    color: #333;
    font-weight: bold;
}

#cookiePopupWrapper .tab-item-header {
    margin-bottom: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    flex-direction: column;
    color: #333333;
}

#cookiePopupWrapper .tab-item-header input[type=checkbox] {
    height: 0;
    width: 0;
    visibility: hidden;
    transition: 0.3s;
}

#cookiePopupWrapper .tab-item-header label {
    cursor: pointer;
    width: 48px;
    height: 23px;
    display: block;
    border-radius: 100px;
    position: relative;
}

#cookiePopupWrapper .tab-item-header label:after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 90px;
    transition: 0.3s;
}

#cookiePopupWrapper .tab-item-header input:checked+label:after {
    left: calc(100% - 3px);
    transform: translateX(-100%);
}

#cookiePopupWrapper .tab-item-header label span {
    position: absolute;
    right: 6px;
    top: 1px;
    color: #fff;
    font-size: 13px;
    transition: .2s;
    user-select: none;
}

#cookiePopupWrapper .tab-item-header input+label span:first-child {
    opacity: 0;
    right: auto;
    left: 6px;
}

#cookiePopupWrapper .tab-item-header input+label span:last-child {
    opacity: 1;
}

#cookiePopupWrapper .tab-item-header input:checked+label span:first-child {
    opacity: 1;
}

#cookiePopupWrapper .tab-item-header input:checked+label span:last-child {
    opacity: 0;
}

#cookiePopupWrapper .tab-item-header input:disabled+label {
    opacity: .4;
    pointer-events: none;
}

#cookiePopupWrapper .sm-modal-footer button {
    padding: 2px 5px;
}

#cookiePopupWrapper .choice-list-wrapper {
    margin-top: 20px;
}

#cookiePopupWrapper .choice-list-wrapper .choice-list-header {
    font-weight: bold;
}

#cookiePopupWrapper .choice-list-wrapper .choice-list {
    border-top: 1px solid #ccc;
    padding-left: 0;
}

#cookiePopupWrapper .choice-list-wrapper .choice-list li {
    border-bottom: 1px solid #ccc;
    list-style-type: none;
    margin-bottom: 0;
}

#cookiePopupWrapper .checkbox-container {
    position: relative;
    cursor: pointer;
    float: right;
    min-width: 40px;
}

#cookiePopupWrapper .checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

#cookiePopupWrapper .tab-item-header .always-text {
    float: right;
    font-weight: normal;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .modal-popup.cookie-popup .modal-inner-wrap {
        width: 92%;
    }

    #cookiePopupWrapper ul.tab-header {
        width: 100%;
        float: none;
    }
}

.m2s-cookie-consent-cookienotice {
    bottom: 0;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding: 5px;
    transition-duration: 200ms;
    box-shadow: 1px 2px 8px 0 rgba(0, 0, 0, 0.2);
    background: #FFFFFF;
    position: fixed;
    line-height: 0;
    cursor: pointer;
    z-index: 99999;
    font-size: 0;
    color: #999;
    left: 10px;
    display: flex;
    flex-direction: row;
    opacity: 0.7;
}

.m2s-cookie-consent-cookienotice.js-cookie-settings {
    font-size: 11px;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 600;
    font-family: 'Open Sans', Arial, 'Trebuchet MS', 'Segoe UI', 'Helvetica', sans-serif;
    overflow: hidden;
    transition-duration: 500ms;
    white-space: nowrap;
    padding-right: 0;
    color: #2d2d2d;
}

.m2s-cookie-consent-disabled {
    pointer-events: none;
    opacity: 0.4;
}


.confirm.cookie-popup.cookie-preferences .modal-inner-wrap {
    display: flex;
    width: calc(100% - 16px);
    height: auto;
    max-width: 900px;
    left: 50%;
    right: auto;
    top: 50%;
    margin: 0 auto;
    transform: translate(-50%, -50%);
    transition: all .5s ease;
    transition-property: width, max-width, top, bottom, left, opacity;
}

#cookiePopupForm ul {
    list-style-type: none;
    list-style-position: inside;
    padding: 0;
    width: 100%;
    background: transparent;
    box-sizing: border-box;
    color: inherit;
    font-family: inherit;
    font-size: 15px;
    margin: 0;
    outline: 0;
    vertical-align: baseline;
    display: block
}

#cookiePopupForm li {
    padding: 1.125em 0 1.5em;
    border-bottom: 1px solid #d6d6d6;
    background: transparent;
    box-sizing: border-box;
    color: inherit;
    font-family: inherit;
    font-size: 15px;
    margin: 0;
    outline: 0;
    vertical-align: baseline;
    border: 0;
    display: list-item
}

.popup-form-card {
    background: transparent;
    box-sizing: border-box;
    color: inherit;
    font-family: inherit;
    font-size: 15px;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
    border: 0;
    display: block;
    list-style-position: inside;
}

.popup-form-card-header {
    background: transparent;
    box-sizing: border-box;
    color: inherit;
    font-family: inherit;
    font-size: 15px;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
    display: flex;
    justify-content: space-between;
    border: 0;
}

.popup-form-card-button {
    cursor: pointer;
    border: 1px solid transparent;
    font-weight: 700;
    line-height: 1.5em;
    padding-right: 0.75em;
    user-select: none;
    background: transparent;
    box-sizing: border-box;
    color: inherit;
    font-family: inherit;
    font-size: 15px;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}

.popup-form-card-button:hover {
    background: transparent;
    border: none;
    color: #000;
}

.popup-form-card-button-label {
    cursor: pointer;
    background: transparent;
    box-sizing: border-box;
    color: inherit;
    font-family: inherit;
    font-size: 15px;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
    border: 0;
    font-weight: 700;
    line-height: 1.5em;
    user-select: none;
}

.popup-form-card-intro {
    padding-top: 1em;
    background: transparent;
    box-sizing: border-box;
    color: inherit;
    font-family: inherit;
    font-size: 15px;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
    border: 0;
    display: block;
}

.cookie-popup .actions .popup-content {
    align-items: stretch;
    flex: 1;
    flex-direction: row;
    justify-content: flex-end;
    display: flex;
    width: 100%;
    background: transparent;
    box-sizing: border-box;
    color: inherit;
    font-family: inherit;
    font-size: 15px;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}

.cookie-popup .actions button:not(:last-child) {
    display: none;
    margin-bottom: 0;
    width: 33%;
    margin-right: 0.5em;
}

.cookie-popup .actions button:last-child {
    display: none;
    margin-bottom: 0;
    width: 33%;
}

.confirm.cookie-popup.cookie-preferences .modal-inner-wrap .action-close {
    padding: 10px;
}

#cookiePopupContent {
    display: flex;
    flex-basis: 100%;
    min-height: 100px;
    flex-direction: column;
    margin-bottom: 25px
}

#cookiePopupContent .cookie-popup-title {
    font-weight: 600;
    letter-spacing: .25px;
    line-height: 1.6em;
    margin-bottom: 0.5em;
}


#newsletter-validate-detail .m2s-cookie-consent_privacy_consent_newsletter label {
    position: relative;
}

.m2s-cookie-consent-attention-message {
    color: red;
}


.m2s-cookie-consent-cookienotice .message span.cookie-title {
    color: #FFF8C7;
}

.m2s-cookie-consent-cookienotice .message a {
    color: #FFFFFF;
}


.m2s-cookie-consent-cookienotice .message {
    max-width: none;
    margin: 0 auto;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 14px;
}

.m2s-cookie-consent-cookienotice .message .text {
    font-size: 16px;
    line-height: 1.5;
}

.m2s-cookie-consent-cookienotice .message span {
    margin-left: 0;
}

.m2s-cookie-consent-cookienotice .message a:hover {
    text-decoration: none;
}

.m2s-cookie-consent-cookienotice .message .close a {
    font-size: 16px;
    text-decoration: none;
    font-weight: bold;
}

.m2s-cookie-consent-cookienotice .message .close a:hover {
    text-decoration: underline;
}

.m2s-cookie-consent-disabled {
    pointer-events: none;
    opacity: 0.4;
}

.bottom-position {
    position: fixed;
    width: 100%;
    z-index: 1000;
    bottom: 0;
    left: 0;
}

#js-cookienotice {
    display: block;
    clear: both;
}

#js-cookienotice .message {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 5px 0;
}

#js-cookienotice .js-cookie-settings>svg {
    width: 40px;
    height: auto;
}

#js-cookienotice p {
    float: left;
    padding-left: 30px;
    text-align: center;
}

#js-cookienotice .text {
    float: left;
    width: 70%;
    text-align: left;
}

#js-cookienotice .accept a {
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    padding: 10px 20px;
    background-color: #32D248;
    color: #FFFFFF;
    text-decoration: none;
    border: 2px solid #fff;
}

@media screen and (max-width: 635px) {
    #js-cookienotice p {
        width: 100%;
        margin-top: 5px;
        margin-bottom: 25px;
    }
}

.modal-popup.cookie-popup .modal-header {
    color: #0A075C;
    background-color: #FFFFFF;
}

.modal-popup.cookie-popup .modal-footer {
    display: none;
}

.modal-popup.cookie-popup .modal-inner-wrap {
    border: 1px solid #EEEEEE;
}


#cookiePopupWrapper .actions {
    border-top: none;
    color: #333333;
    background-color: #FFFFFF;
}

.modal-popup.cookie-popup .modal-header {
    border-bottom-color: #FFFFFF;
}

#cookiePopupWrapper ul.tab-header>li.active {
    background-color: #DDDDDD;
}

#cookiePopupWrapper ul.tab-header>li.active a {
    color: #333333;
}

#cookiePopupWrapper .tab-item-header input+label {
    background: #d6d6d6;
}

#cookiePopupWrapper .tab-item-header input:checked+label {
    background: #3b3b3b;
}

@media screen and (max-width: 768px) {
    .modal-popup.cookie-popup .modal-header {
        position: sticky;
        top: 0;
        background-color: rgba(255, 255, 255, 0);
        z-index: 9;
        pointer-events: none;
    }

    .modal-popup.cookie-popup .modal-header .action-close {
        pointer-events: all;
    }

    #cookiePopupWrapper .actions .popup-content {
        padding-left: 0;
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
    }

    #cookiePopupWrapper #cookieAllowAll,
    #cookiePopupWrapper .cookieSaveChoice {
        margin: 0;
        padding: 8px 4px;
        font-size: 1.4rem;
        font-weight: 400;
    }

    #cookiePopupWrapper #cookiePopupContentArea {
        position: relative;
        width: 100%;
        overflow: auto;
    }

    #cookiePopupWrapper #cookie-popup-tabs-wrapper {
        width: 100%;
    }

    .confirm.cookie-popup.cookie-preferences .modal-inner-wrap {
        max-height: 80vh;
        overflow: auto;
    }

    #js-cookienotice .message {
        display: block;
    }

    #js-cookienotice .text {
        width: 100%;
        float: none;
    }

    #js-cookienotice p {
        width: 50%;
        margin-top: 5px;
        margin-bottom: 5px;
        padding-left: 0;
    }

    #cookiePopupWrapper .actions {
        position: sticky;
        bottom: 0px;
        top: auto;
        background-color: rgba(255, 255, 255, 0.7);
        z-index: 9;
    }
}

.modal-popup {
    pointer-events: none;
    touch-action: none;
}