html, body {
    font-family: 'Helvetica', sans-serif, Arial;
    background: #eee;
}

* {
    margin: 0;
}

body:not(.gdpr-notice-page) .gdpr-notice-form {
    display: inline-block;
    min-width: 320px;
    width: 320px;
    position: fixed;
    z-index: 2000;
}

body:not(.gdpr-notice-page) .gdpr-notice-form .privacy-notice {
    margin-top: 0;
    max-height: calc(100vh - 30px);
    overflow: auto;
}

body.admin-bar .gdpr-notice-form .privacy-notice {
    margin-top: 32px;
    max-height: calc(100vh - 62px);
}

.privacy-notice-link-wrapper a {
    cursor: pointer;
}

.privacy-notice {
    background: #fafafa;
    margin: 0 auto;
    max-width: 600px;
    margin-top: 50px;
    -webkit-box-shadow: 0px 0px 100px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 0px 100px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 100px 0px rgba(0, 0, 0, 0.3);
    padding: 24px;
    border-radius: 3px;
}

.privacy-notice h1 {
    margin: 0;
    padding: 0;
    font-size: 24px;

}

.privacy-notice-link-wrapper {
    margin-top: 12px;
}

.privacy-notice-input-wrapper {
    margin: 24px 0;
    text-align: right;
}

.privacy-notice-content {
    margin-top: 24px;
    font-weight: 100;
}

.privacy-notice-input-wrapper input {
    background: none;
    border: solid 1px gray;
    border-radius: 2px;
    box-shadow: lightgray 1px 1px 2px;
    padding: 8px 20px;
    color: #2E9CF3;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    margin-left: 10px;
}

.privacy-notice input.reject {
    color: #d12300;
}

.privacy-notice article.expired {
    margin-bottom: 20px;
    color: #d12300;
}

.privacy-notice article.rejected {
    color: #d12300;
}

.privacy-notice .message, .privacy-notice .link-list {
    margin-bottom: 10px;
}

#gdpr-post-content {
    margin: 0 auto;
    max-width: 800px;
    margin-top: 24px;
    background: #fafafa;
    -webkit-box-shadow: 0px 0px 100px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 0px 100px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 100px 0px rgba(0, 0, 0, 0.3);
    padding: 24px;
    border-radius: 3px;
    display: none;
    position: relative;
}

#gdpr-post-content .close {
    position: absolute;
    width: 16px;
    height: 16px;
    line-height: 16px;
    border-radius: 8px;
    background: #434343;
    color: white;
    top: 8px;
    right: 8px;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
}

body:not(.gdpr-notice-page) #gdpr-post-content {
    background: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    margin: 75px auto;
    max-height: calc(100vh - 150px);
}

body:not(.gdpr-notice-page) #gdpr-post-content::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

body:not(.gdpr-notice-page) #gdpr-post-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fafafa;
    border-radius: 3px;
    z-index: -1;
}

body:not(.gdpr-notice-page) #gdpr-post-content .response {
    max-height: calc(100vh - 198px);
    overflow-y: auto;
}

.privacy-notice a {
    color: #2E9CF3;
    text-decoration: none;
}

.privacy-notice a.required::after {
    content: '*';
    margin-left: 3px;
    color: red;
}

.privacy-notice ul.link-list {
    padding-left: 20px;
    list-style: none;
}

.privacy-notice-link-wrapper ul {
    padding: 0;
}

.privacy-notice-link-wrapper ul li {
    line-height: 24px;
    margin-bottom: 5px;
}

.privacy-notice-link-wrapper ul li.required {
    color: #d12300;
}

.privacy-notice-link-wrapper ul li:last-child {
    margin-bottom: 0;
}

.privacy-notice-link-wrapper ul li > * {
    vertical-align: middle;
}

.privacy-notice label {
    width: 80px;
    height: 26px;
    cursor: pointer;
    background: whitesmoke;
    margin: 0px 10px 0px 5px;
    display: inline-block;
    position: relative;
    border-radius: 50px;
    box-shadow: inset 1px 1px 5px rgba(0, 0, 0, 0.5), 1px 1px 1px rgba(255, 255, 255, 0.2);
}

.privacy-notice label span.off {
    color: orangered;
    position: absolute;
    right: 10px;
    z-index: 0;
    font: 12px/26px Arial, sans-serif;
    font-weight: bold;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
}

.privacy-notice label span.on {
    color: dodgerblue;
    position: absolute;
    left: 10px;
    z-index: 0;
    font: 12px/26px Arial, sans-serif;
    font-weight: bold;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
}

.privacy-notice label span.knob {
    display: block;
    width: 34px;
    height: 20px;
    position: absolute;
    top: 3px;
    left: 3px;
    z-index: 1;
    background: #fcfff4;
    background: linear-gradient(#929292 0%, #7b7b7b 40%, #444842 100%);
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
}

.privacy-notice input[type=checkbox] {
    display: none;
}

.privacy-notice input[type=checkbox]:checked + label span.knob {
    left: 43px;
}

.privacy-notice input[type=checkbox]:disabled + label {
    cursor: default;
    box-shadow: inset 1px 1px 5px rgba(0, 0, 0, 0.25), 1px 1px 1px rgba(255, 255, 255, 0.2);
}

.privacy-notice input[type=checkbox]:disabled + label span.on,
.privacy-notice input[type=checkbox]:disabled + label span.off {
    opacity: 0.5;
}

.privacy-notice input[type=checkbox]:disabled + label span.knob {
    background: linear-gradient(#e1e1e1 0%, #d0d0d0 40%, #9aa097 100%);
}

@media only screen and (max-width: 750px) {
    .privacy-notice body form {
        width: 100%;
    }
}