#cookie-notice {
display: none;
position: fixed; bottom:20px;
height: auto;
z-index: 100000;
font-size: 12px;
line-height: 20px;
right: 20px;
text-align: center;
width: calc(100% - 40px);
transition: transform 1s;
will-change: transform;
}
#cookie-notice a{
color: inherit;
text-decoration: inherit;
}
#cookie-notice a:visited{
color: inherit;
}
#cookie-notice.from-bottom{
transform: translateY(150%);
}
.cookie-notice-container {
text-align: center;
}
.cookie-notice-buttons{
display: flex;
flex-direction: row;
margin-top: 10px;
border-top: 1px solid white;
justify-content: space-between;
}
.cookie-notice-buttons a{
flex-grow: 1;
padding: 10px;
}
#cn-notice-text{
display: block;
padding: 10px;
}
.cn-left {
left: 20px;
}
.cn-right {
right: 20px;
}
.cn-save-settings.cn-set-cookie{
border: none;
width: auto;
padding: 10px 20px;
color: #FFFFFF;
margin-top: 10px;
}
.cn-save-settings.cn-set-cookie:hover{
cursor: pointer;
}
.cn-set-cookie {
width: 50%;
background: rgb(0, 143, 24);
transition: all 0.3s;
}
.cn-set-cookie:hover{
background: rgb(27, 180, 52);
}
#cookie-notice a.cn-properties{
text-decoration:underline;
}
#cn-modal{
pointer-events: none;
display: none;
position: fixed;
bottom:0px;
width:100%;
height: 100%;
z-index: 1000000;
right: 0;
left:0;
background-color: rgba(0,0,0,0.8);
}
#cn-modal.active{
pointer-events: all;
display: flex !important;
flex-direction: column;
justify-content: center;
}
.cn-modal__container{
margin: 0 auto;
background: white;
padding: 30px;
max-height: 90vh;
overflow-y: auto;
width: calc(100% - 40px);
max-width: 800px;
}
.cn-modal__container h4{
margin-bottom:10px;
font-size: 16px;
font-weight:bold;
}
.cn-settings-text{
margin:10px 0;
}
.cn-variable{
display: flex;
flex-direction: row;
margin-bottom:10px;
}
.cn-variable h5{
margin-top: 0;
margin-bottom: 0;
font-size: 14px;
font-weight: bold;
}
.cn-left{
margin-top: auto;
margin-bottom: auto;
margin-right:20px;
}
.cn-right{
margin-top: auto;
margin-bottom:auto;
}
.cn-switch {
position: relative;
display: inline-block;
width: 34px;
height: 20px;
}
.cn-switch input {display:none;}
.cn-slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: .4s;
transition: .4s;
border-radius: 10px;
}
.cn-slider:before {
position: absolute;
content: "";
height: 15px;
width: 15px;
left: 3px;
bottom: 3px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
border-radius: 50%;
}
.cn-switch input:checked + .cn-slider {
background-color: rgb(27, 180, 52);
}
.cn-switch input:focus + .cn-slider {
box-shadow: 0 0 3px rgb(27, 180, 52);
}
.cn-switch input:checked + .cn-slider:before {
-webkit-transform: translateX(13px);
-ms-transform: translateX(13px);
transform: translateX(13px);
}
@media screen and (min-width: 568px){
#cookie-notice{
max-width: 400px;
width: 50vw;
}
.cn-modal__container h4{
font-size: 18px;
}
.cn-variable h5{
font-size: 18px;
}
}
@media screen and (min-width: 1240px){
#cookie-notice{
width:25vw;
}
.cn-modal__container h4{
margin-bottom:20px;
font-size: 24px;
}
.cn-variable h5{
font-size: 18px;
}
}