#showCookieNoticeBanner {
    cursor: pointer;
}

#body-bottom .mod_ixcnb_cookie_notice,
#cookieNoticeBox.mod_ixcnb_cookie_notice {
    display: none;
}

#body-bottom .mod_ixcnb_cookie_notice.show,
#cookieNoticeBox.mod_ixcnb_cookie_notice.show {
    display: block;
    position: relative;
}

#body-bottom .mod_ixcnb_cookie_notice.show .notice-wrapper,
#cookieNoticeBox.mod_ixcnb_cookie_notice.show .notice-wrapper {
    background: #ffffff;
    position: fixed;
    top: 10%;
    left: 50%;
    z-index: 2147483646;
    width: 100%;
    max-width: 70vw;
    margin-bottom: 20px;
    overflow-y: scroll;
    min-height: 200px;
    max-height: 90vh;
    height: auto;
    padding: 15px;
    box-shadow: 0 0 3px 0 rgba(0,0,0,0.3);
    transform: translateX(-50%);
}

.notice-wrapper .layout-row {
    display: flex;
    flex-direction: row;
    margin: 0;
    margin-bottom: 10px;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.notice-wrapper .layout-row.details {
    justify-content: flex-start;
}

.notice-wrapper .layout-row.buttons {
    justify-content: flex-end;
}

.notice-wrapper .layout-row.buttons button {
    margin-left: 2rem;
    font-size: 1rem;
}

.layout-row .checkBoxOption {
    min-width: 150px;
    min-height: 30px;
    margin: 10px 0;
    width: 25%;
}

.checkBoxOption label {
    position: relative;
    font-size: 1rem;
    line-height: 1.2;
    padding-left: 35px;
    color: #666666;
}

.checkBoxOption label:hover {
    cursor: pointer;
    color: #666666;
    color: var(--mainColor);
}

.checkBoxOption label .greyed-text {
    color: #cccccc;
}

.checkBoxOption input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkBoxOption .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border-radius: 4px;
    border: 2px solid #666666;
}

.checkBoxOption .checkmark:focus {
    outline: none;
}

.checkBoxOption input:checked ~ .checkmark {
    background-color: #666666;
    border-color: #666666;
}

.checkBoxOption .greyed-text input:checked ~ .checkmark {
    background-color: #cccccc;
    border-color: #cccccc;
}

.checkBoxOption .checkmark::after {
    content: "";
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    box-sizing: inherit;
    position: absolute;
    display: none;
}

.checkBoxOption input:checked ~ .checkmark::after {
    display: block;
}

.layout-row.detail .toggler {
    cursor: pointer;
    padding-left: 35px;
}

.layout-row.details > p {
    padding-right: 13px;
}

.toggleIcon {
    padding-top: 4px;
    padding-left: 13px;
    display: inline-block;
    transform: rotate(180deg);
    margin-left: 2px;
    position: relative;
    width: 12px;
    height: 20px;
    top: 5px;
    transition: 200ms ease all;
}

.toggleIcon.collapsed {
    transform: none !important;
}

.toggleIcon:before {
    content: "";
    border-left: 2px solid #666666;
    border-bottom: 2px solid #666666;
    width: 8px;
    height: 8px;
    float: left;
    transform: rotate(-45deg);
    margin-top: 2px;
}

.checkBoxOption .ui-accordion-header-active .toggleIcon:before {
    transform: rotate(135deg);
    margin-top: 4px;
}

.mod_ixcnb_cookie_notice .btn-primary-hover-secondary {
    display: block;
    font-weight: 600;
    padding: 10px;
    cursor: pointer;
    transition: all .3s;
}

.mod_ixcnb_cookie_notice .btn-primary-hover-secondary:hover {
    color: #000;
    background: transparent;
}

@media screen and (max-width: 900px) {
    #body-bottom .mod_ixcnb_cookie_notice.show .notice-wrapper,
    #cookieNoticeBox.mod_ixcnb_cookie_notice.show .notice-wrapper  {
        bottom: 0;
        max-width: 100vw;
        padding: 10px;
        max-height: 85vh;
        top: auto;
        margin-bottom: 0;
    }

    .mod_ixcnb_cookie_notice h1,
    .mod_ixcnb_cookie_notice h2 {
        font-size: 1.5rem;
        margin: 0;
    }

    .mod_ixcnb_cookie_notice p {
        font-size: .88rem;
        line-height: 1.3;
    }

	.mod_ixcnb_cookie_notice.show .notice-wrapper {
        top: 3%;
        width: 90%;
        height: auto;
        max-height: 85vh;
        margin-bottom: 0;
        padding: 15px;
        overflow-y: scroll;
    }

    .layout-row .checkBoxOption {
        width: 100%;
        margin: 5px;
        position: relative;
    }

    .toggleIcon {
        padding-left: 4px;
    }

    .cnb-details {
        padding-top: 8px;
    }

    .layout-row .checkBoxOption .toggler > p {
        position: absolute;
        top: -5px;
        right: 0;
    }

    .notice-wrapper .layout-row.buttons button {
        width: 100%;
        margin-left: 0;
    }

    #cn-selectAllCheckboxes {
        order: 1;
    }

    #cn-selectSpecific-Popup {
        order: 2;
    }
    #cn-selectAllCheckboxes,
    #cn-selectSpecific-Popup {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
}
