:root {
    --link-color: #C2B30F;
    --link-color-hover: #AFA108;
}

#overlay-cookies {
	z-index: 100000 !important;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0,0,0,0.8);
}
#overlay-cookies.ccb--hidden {
	display: none !important;
}
#cconsent-bar{
    top: auto;
    left: auto;
    right: auto;
	bottom: auto;
	z-index: 9999999999 !important;
} 
#cconsent-bar.ccb--hidden{
	display:none !important;
}
#cconsent-modal{
	z-index: 99999999999 !important;
}
#cconsent-bar .ccb__wrapper {
	display: grid !important;
}

.ccm__content__heading h2 {
    margin-bottom: 1em !important;
}
.ccb__button {
    width: 100%;
    display: flex !important;
    /*flex-direction: row-reverse;*/
    justify-content: flex-end;
    margin-top: 1em;
    margin-bottom: 0.5em;
}
.ccb__button * {
    margin-left: 0.5em !important;
    margin-right: 0.5em !important;
}
.ccb__button button {
    min-width: 8em;
}
.ccb__button a {
    line-height: normal;
    font-size: 14px !important;
    border: none;
    padding: 10px 10px;
    border-radius: 3px;
    /*background-color: #009BDB !important;*/
    text-decoration: none !important;
    display: inline-block;
    text-align: center;
    margin-top: auto;
}
.ccm__list {
	display: none;
}

/*cconsent-bar*/
#cconsent-bar {
    padding: 2em !important;
    max-width: 500px;
    max-height: 380px !important;

    top: inherit !important;
    bottom: 0em !important;
    left: 0em !important;

    border-radius: 10px;
    box-shadow: 0 0 4px 0px rgba(0,0,0,0.3);

    background: url("../images/cookieheader.png") no-repeat #fff !important;
    background-size: 10em !important;
    background-position: center 1em !important;

    color: #222 !important;

    font-family: inherit !important;
    font-size: 15px !important;
    text-align:justify;
}
.ccm__content {
    min-height: unset !important;
}
.ccm__switch-component * {
    word-break: keep-all !important;
}

@media only screen and (min-width: 40em) {
    #cconsent-bar {
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        margin: auto;
        height: fit-content;
        max-height: inherit !important;
    }
}
@media only screen and (max-width: 40em) {
    #cconsent-bar {
        padding: 2em 1em !important;
    }
    #cconsent-bar .ccb__wrapper {
        display: block !important;
    }
    #cconsent-bar {
        max-height: inherit !important;
    }
}

/* Links and buttons */
.cc-text a, #cconsent-bar a {
    color: var(--link-color) !important;
    text-decoration: none !important;
}
.cc-text a:hover, #cconsent-bar a:hover {
    color: var(--link-color-hover) !important;
}
#cconsent-bar button, #cconsent-modal .ccm__footer button {
    border-radius: 3px !important;
    background-color: var(--link-color) !important;
}
#cconsent-bar button:hover, #cconsent-modal .ccm__footer button:hover {
    background-color: var(--link-color-hover) !important;
}
/* Popup settings */
#cconsent-bar .ccb__wrapper {
    padding-top: 7em;
}
#cconsent-bar .ccb__left {
    margin: 0 0 15px;
}
#cconsent-bar .ccb__right {
    margin-right: 0 !important
}

@media only screen and (max-width: 40em) {
    #cconsent-bar {
        max-width: unset;    
    }
}