#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, #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: 13px !important;
    border: none;
    padding: 10px 10px;
    border-radius: 3px;
    text-decoration: none !important;
    display: inline-block;
    text-align: center;
    margin: auto 0;
}
.ccm__list {display: none;}

#return-bar.ccb--hidden {
    display: none !important;
  }

/*cconsent-bar*/
#cconsent-bar {
    padding: 2em !important;
    max-width: 30em !important;
    width: 90% !important;

    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;

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

    background: url("/modules/custom/semic_cookies/css/../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;

	z-index: 9999999999 !important;
}
.ccm__content {
    min-height: unset !important;
}
.ccm__switch-component * {
    word-break: keep-all !important;
}

/* Links and buttons */
.cc-text a, #cconsent-bar a {
    /* color: var(--link-color) !important; */
    text-decoration: none !important;
}
.ccb__button button:hover {
  opacity: 80%;
}
.ccb__button button:active {
  opacity: 50%;
}
#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 {
  opacity: 80%;
}
#cconsent-bar button:active, #cconsent-modal .ccm__footer button:active {
  opacity: 50%;
}
/* Popup settings */
#cconsent-bar .ccb__wrapper {padding-top: 7em;}
#cconsent-bar .ccb__left {margin: 0 0 15px;}
#cconsent-bar .ccb__edit {padding: 9px 0 !important;}
#cconsent-bar .ccb__right {margin-right: 0 !important}

#cconsent-bar button, #cconsent-modal .ccm__footer button {
     margin-left:10px !important;
     margin-right:0px !important;
     padding: 8px 13px !important;
}

/* button reconfigure cookies */
.return-cookies {
	background: white;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
	padding: 10px;
	border-radius: 20px;
  cursor: pointer;
}

@media only screen and (max-width: 40em) {
    #cconsent-bar .ccb__wrapper {
        display: block !important;
    }
    #cconsent-bar .ccb__edit {
        align-self: center;
    }
      #cconsent-bar {
        max-width: unset;
    }
    .ccb__button , #cconsent-modal .ccm__footer  {
        flex-direction: column;
    }
    .ccb__button , #cconsent-modal .ccm__footer button  {
        flex-direction: column;
        margin-bottom: 10px;
        margin-left:0;
        width: 100%;
        text-align: center;
    }
    #cconsent-bar button, #cconsent-modal .ccm__footer button {
        margin:5px 0 !important ;
    }
    /* .ccb__button button {
        margin-top: 10em;
    } */

}
