/* Icons */
.wpcn-icon-close:before, .wpcn-icon-close:after {
    position: absolute;
    left: 0;
    content: " ";
    height: 20px;
    width: 2px;
    background-color: #333;
}

.wpcn-icon-close:before {
    transform: rotate(45deg);
}

.wpcn-icon-close:after {
    transform: rotate(-45deg);
}

.wpcn-arrow-down,
.wpcn-arrow-up {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.wpcn-arrow-down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

/* Modal */
.wp-cookie-notice {
    display: none;
    position: absolute;
    z-index: 9999;
    font-size: 14px;
    line-height: 1.5;
}

.wp-cookie-notice .wpcn-modal-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(85, 85, 85, 0.8);
}

.wp-cookie-notice .wpcn-modal {
    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    max-width: 800px;
    margin: 0 auto;
    padding: 15px;
    color: #000;
    background: #fff;
    overflow-y: scroll;
    height: 100vh;
    box-sizing: border-box;
}

.wp-cookie-notice .wpcn-modal a {
    color: inherit;
    text-decoration: none;
}

.wp-cookie-notice .wpcn-modal a:hover {
    opacity: 0.8;
	text-decoration: underline !important;
}

.wp-cookie-notice .wpcn-modal .wpcn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
    color: #999;
}

.wp-cookie-notice .wpcn-modal .wpcn-close:hover {
    opacity: 0.7;
}

.wp-cookie-notice .wpcn-modal .wpcn-notice-error {
    margin: 10px 0 0 0;
    padding: 10px 15px;
    background: #ffd5d8;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
}

.wp-cookie-notice .wpcn-modal .wpcn-notice-error a {
    font-weight: bold;
}

.wp-cookie-notice .wpcn-modal .wpcn-title {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: bold;
}

.wp-cookie-notice .wpcn-modal .wpcn-options {
    margin: 20px 0;
    display: grid;
    grid-gap: 5px;
    grid-template-columns: 1fr;
}

.wp-cookie-notice .wpcn-modal .wpcn-options .container-checkbox {
    display: flex;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 18px;
    user-select: none;
}

.wp-cookie-notice .wpcn-modal .wpcn-options .container-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.wp-cookie-notice .wpcn-modal .wpcn-options .container-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

.wp-cookie-notice .wpcn-modal .wpcn-options .container-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.wp-cookie-notice .wpcn-modal .wpcn-options .container-checkbox:hover input ~ .checkmark {
    background-color: #ccc;
}

.wp-cookie-notice .wpcn-modal .wpcn-options .container-checkbox input:checked ~ .checkmark {
    background-color: #B1B900;
}

.wp-cookie-notice .wpcn-modal .wpcn-options .container-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.wp-cookie-notice .wpcn-modal .wpcn-imprint-and-details-toggle {
    margin: 0 0 20px 0;
    display: grid;
    grid-gap: 5px;
    grid-template-columns: 1fr;
}

.wp-cookie-notice .wpcn-modal .wpcn-imprint-and-details-toggle .wpcn-details-toggle {
    cursor: pointer;
}

.wp-cookie-notice .wpcn-modal .wpcn-imprint-and-details-toggle .wpcn-details-toggle i {
    margin-left: 10px;
    color: #999;
}

.wp-cookie-notice .wpcn-modal .wpcn-details {
    display: none;
    margin-bottom: 20px;
    padding: 20px 20px 10px 20px;
    background: #f6f6f6;
}

.wp-cookie-notice .wpcn-modal .wpcn-details .cookie-info {
    margin-bottom: 10px;
}

.wp-cookie-notice .wpcn-modal .wpcn-details .cookie-info .wpcn-details-headline {
    font-weight: bold;
}

.wp-cookie-notice .wpcn-modal .wpcn-buttons {
    text-align: right;
}

.wp-cookie-notice .wpcn-modal .wpcn-buttons button {
    display: inline-block !important;
    padding: 7px 10px;
    font-size: 16px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    width: auto;
    cursor: pointer;
}

.wp-cookie-notice .wpcn-modal .wpcn-buttons button:hover {
    opacity: 0.7;
}

.wp-cookie-notice .wpcn-modal .wpcn-buttons .wpcn-button-accept-custom {
    margin: 0 0 10px 0;
    color: #999;
    background: none;
    border: none;
}

.wp-cookie-notice .wpcn-modal .wpcn-buttons .wpcn-button-accept-all {
    color: #fff;
    background: #B1B900;
}

/* Colors */
.wp-cookie-notice.blue .wpcn-modal .wpcn-options .container-checkbox input:checked ~ .checkmark {
    background: #0066b3;
}

.wp-cookie-notice.blue .wpcn-modal .wpcn-buttons .wpcn-button-accept-all {
    background: #0066b3;
    border-color: #0066b3;
}

.wp-cookie-notice.red .wpcn-modal .wpcn-options .container-checkbox input:checked ~ .checkmark {
    background: #ff0000;
}

.wp-cookie-notice.red .wpcn-modal .wpcn-buttons .wpcn-button-accept-all {
    background: #ff0000;
    border-color: #ff0000;
}

.wp-cookie-notice.green .wpcn-modal .wpcn-options .container-checkbox input:checked ~ .checkmark {
    background: #009960;
}

.wp-cookie-notice.green .wpcn-modal .wpcn-buttons .wpcn-button-accept-all {
    background: #009960;
    border-color: #009960;
}

.wp-cookie-notice.orange .wpcn-modal .wpcn-options .container-checkbox input:checked ~ .checkmark {
    background: #ff6600;
}

.wp-cookie-notice.orange .wpcn-modal .wpcn-buttons .wpcn-button-accept-all {
    background: #ff6600;
    border-color: #ff6600;
}

/* Positions */
.wp-cookie-notice.top .wpcn-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    color: #000;
    background: #fff;
    -webkit-transform: none;
    -moz-transform: none;
    transform: none;
}

.wp-cookie-notice.top .wpcn-modal .wpcn-title,
.wp-cookie-notice.top .wpcn-modal .wpcn-content,
.wp-cookie-notice.top .wpcn-modal .wpcn-options,
.wp-cookie-notice.top .wpcn-modal .wpcn-imprint-and-details-toggle,
.wp-cookie-notice.top .wpcn-modal .wpcn-details,
.wp-cookie-notice.top .wpcn-modal .wpcn-buttons {
    max-width: 1000px;
    margin: 0 auto;
}

.wp-cookie-notice.top .wpcn-modal .wpcn-options {
    margin: 20px auto;
}

.wp-cookie-notice.bottom .wpcn-modal {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    color: #000;
    background: #fff;
    -webkit-transform: none;
    -moz-transform: none;
    transform: none;
}

.wp-cookie-notice.bottom .wpcn-modal .wpcn-title,
.wp-cookie-notice.bottom .wpcn-modal .wpcn-content,
.wp-cookie-notice.bottom .wpcn-modal .wpcn-options,
.wp-cookie-notice.bottom .wpcn-modal .wpcn-imprint-and-details-toggle,
.wp-cookie-notice.bottom .wpcn-modal .wpcn-details,
.wp-cookie-notice.bottom .wpcn-modal .wpcn-buttons {
    max-width: 1000px;
    margin: 0 auto;
}

.wp-cookie-notice.bottom .wpcn-modal .wpcn-options {
    margin: 20px auto;
}

/* Shadow */
.wp-cookie-notice.shadow .wpcn-modal {
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.35);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.35);
}

/* Readonly */
.wp-cookie-notice .wpcn-modal .wpcn-options .readonly {
    color: #999;
    cursor: not-allowed !important;
}

.wp-cookie-notice .wpcn-modal .wpcn-options .readonly .container-checkbox {
    cursor: not-allowed !important;
}

.wp-cookie-notice .wpcn-modal .wpcn-options .readonly .container-checkbox input {
    cursor: not-allowed !important;
}

.wp-cookie-notice .wpcn-modal .wpcn-options .readonly .container-checkbox input:checked ~ .checkmark {
    background-color: #B1B900;
}

/* OptOut Box */
.wpcn-optout-box {
    margin-bottom: 10px;
    padding: 10px;
    background: #f0f0f0;
    border: 1px solid #ddd;
}

.wpcn-optout-box a {
    color: inherit;
}


/* Media queries
 * *-------------------------------------------------------------- */
@-ms-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
}

/* Minimum width of 360 pixels. */
@media screen and (min-width: 360px) {
    /* Cookie Notice */
    .wp-cookie-notice .wpcn-modal .wpcn-options {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .wp-cookie-notice .wpcn-modal .wpcn-imprint-and-details-toggle {
        grid-template-columns: 1fr 1fr;
    }

    .wp-cookie-notice .wpcn-modal .wpcn-imprint-and-details-toggle .wpcn-details-toggle {
        justify-self: right;
    }

    .wp-cookie-notice .wpcn-modal .wpcn-buttons .wpcn-button-accept-custom {
        margin-right: 20px;
    }
}

/* Minimum width of 600 pixels. */
@media screen and (min-width: 600px) {
    /* Cookie Notice */
    .wp-cookie-notice .wpcn-modal {
        padding: 30px;
        height: auto;
    }

    .wp-cookie-notice .wpcn-modal .wpcn-options {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Minimum width of 900 pixels. */
@media screen and (min-width: 900px) {
    /* Cookie Notice */
    .wp-cookie-notice .wpcn-options {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Minimum width of 1200 pixels. */
@media screen and (min-width: 1200px) {
    /* Cookie Notice */
    .wp-cookie-notice .wpcn-modal {
        top: 50%;
        left: 50%;
        -webkit-transform: translateX(-50%) translateY(-50%);
        -moz-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);
        overflow: auto;
    }

    .wp-cookie-notice .wpcn-options {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (min-width: 1600px) {
    /* Cookie Notice */
    .wp-cookie-notice .wpcn-modal {
        top: 50%;
        left: 40%;
        -webkit-transform: translateX(-50%) translateY(-50%);
        -moz-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);
        overflow: auto;
    }

    .wp-cookie-notice .wpcn-options {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* Minimum width of 1200 pixels. */
@media screen and (min-width: 2000px) {
    /* Cookie Notice */
    .wp-cookie-notice .wpcn-modal {
        top: 50%;
        left: 30%;
        -webkit-transform: translateX(-50%) translateY(-50%);
        -moz-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);
        overflow: auto;
    }

    .wp-cookie-notice .wpcn-options {
        grid-template-columns: repeat(4, 1fr);
    }
}
