* {
    box-sizing: border-box;
}
#ew-cookie-wrap {
    display: none;
    z-index: 5000;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #151515ba;
    background: radial-gradient(circle, #151515ba 0%, #151515b5 64%, #151515cf 100%);
    overflow: auto;
}

#ew-cookie, #ew-cookie-ext {
    margin: 15vh auto;
    padding: 15px;
    width: 360px;
    border: 1px solid black;
    background: white;
    border-radius: 5px;
    box-shadow: 0 0 85px #0000004a, 2px 2px 10px #000000c2;
}

#ew-cookie-ext {
    width: 700px;
    display: none;
}

.ew-cookie-head {
    margin: 20px 10px 5px 10px;
    text-align: center;
}

.ew-cookie-head h1 {
    font-size: 1.2em;
    font-weight: normal;
}

.ew-cookie-head img {
    margin: 0 auto;
}

.ew-cookie-info {
    padding: 10px 0;
    font-size: 0.8em;
}

.ew-cookie-options {
    padding: 10px 5px;
    text-align: center;
}

/* The container */
.ew-cookie-options label {
    display: inline-block;
    position: relative;
    padding: 3px 10px 3px 32px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.ew-cookie-options label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.ew-cookie-options label input:disabled {
    cursor: default;
}

/* Create a custom checkbox */
.ew-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border: 2px solid red;
    border-radius: 5px;
}

/* On mouse-over, add a grey background color */
.ew-cookie-options label:hover input ~ .ew-checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.ew-cookie-options label input:checked ~ .ew-checkmark {
    background-color: #2196F3;
    border: 0;
}

/* Create the checkmark/indicator (hidden when not checked) */
.ew-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.ew-cookie-options label input:checked ~ .ew-checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.ew-cookie-options label .ew-checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

button.ew-button-primary, button.ew-button-secondary {
    box-sizing: border-box;
    width: 100%;
    border-radius: 5px;
    font-size: 1.1em;
    margin: 5px 0;
    padding: 10px 10px;
    border: 0 !important;
    cursor: pointer;
    transition: all ease-in 100ms;
}

button.ew-button-primary {
    background: #1f5ef5;
    color: white;
}

button.ew-button-primary:hover {
    background: #0f49d3;
    color: white;
}

button.ew-button-secondary {
    background: #00000012;
    color: #000000a1;
}

button.ew-button-secondary:hover {
    background: #00000016;
    color: black;
}

.ew-cookie-footer, #ew-cookie-custom {
    text-align: center;
    line-height: 1.3em;
    font-size: 0.8em;
    color: #00000075;
    margin: 12px 5px;
}

.ew-cookie-custom {

}

.ew-cookie-detail-heading {
    font-size: 0.8em;
    text-transform: uppercase;
    opacity: 0.85;
    padding: 15px 5px 0 5px;
    margin: 0;
}

.ew-cookie-footer {
    font-size: 0.7em;
}

.ew-cookie-footer a {
    color: darkblue;
}

.ew-cookie-details {
    padding: 15px 0;
}

.ew-cookie-detail {
    padding: 5px 15px;
    margin: 10px 0;
    background: #f9f9f9;
    border: 1px solid #d5d5d5;
    border-radius: 5px;
}
.ew-cookie-details table {
    font-size: 0.8em;
    opacity: 0.9;
    margin: 5px;
}

.ew-cookie-details td {
    vertical-align: top;
}
.ew-cookie-details tr td:first-child {
    width: 20%;
}

.ew-blur {
    filter: grayscale(0.5) blur(5px);
}
