#cookie-settings-wrapper {
    background-color: rgba(0,0,0,0.5);
    position: fixed;
    z-index: 9999999999;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    overflow-y:auto;
    display:flex;
    align-items: center;
    justify-content: center;
}

#cookie-settings-basic, #cookie-settings-custom {
    width: 90%;
    padding:2em;
    border-radius: 1em;
    background-color: #ffffff;
    text-align: center;
    /*margin:2% auto;*/
    max-height:95%;
}
@media screen and (max-width:512px){
    #cookie-settings-basic {
        overflow-y:auto;
    }
}
#cookie-settings-custom {
    overflow-y:auto;
}
#cookie-settings-buttons {
    text-align:center;
}

#cookie-settings-basic h1 {
    font-size:1.6em;
    margin-bottom:0.5em;
}

#cookie-settings-basic img {
    height:80px;
}
@media screen and (min-width: 768px){
    #cookie-settings-basic, #cookie-settings-custom {
        width: 800px;
    }
    #cookie-settings-basic {
        text-align:left;
    }
    
    #cookie-settings-basic img {
        height:auto;
        width:100%;
    }
}

button.cookie-settings {
    font-size: 16px;
    border-radius: 0.5em;
    padding:0.5em 1em;
    margin: 1em;
}


#cookie-settings-custom label {
    display: block;
    text-align: left;
}
#cookie-settings-custom input {
    /*opacity: 0;*/
    
}

.customizelink {
    position: fixed;
    bottom:1em;
    left:1em;
    border:1px solid #efefef;
    z-index: 1000;
    padding: 0.25em 0.5em;
    background-color:rgba(255,255,255,0.9);
    color:#aaaaaa;
    cursor:pointer;
}

.itemlistelement {
    border-bottom: 1px solid #cccccc;
    padding-bottom: 1em;
    padding-top: 1em;
    text-align:left;
    position:relative;
    display:flex;
}
.itemlistelement .switchtext {
    /*display:inline-block;*/
    text-align: left;
    margin-left: 1em;
    /*position: absolute;*/
    padding:0.35em;
    width:90%;
}
.itemlistelement .switchtext .toggle {
    float:right;
    cursor:pointer;
}
.itemlistelement .switchtext .description {
    display:none;
    max-height:300px;
    overflow:auto;
}
.itemlistelement .switchtext .description p {
	margin-bottom: 0.8em;
}
.itemlistelement .switchtext .description ul {
	list-style-type: disc;
	padding-left:1.5em;
}
.itemlistelement .switchtext .description.show {
    display:block;
}

.flipswitch {
    position: relative;
    width: 62px;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select: none;
    /*display:inline-block;*/
    height:28px;
}
.flipswitch input[type=checkbox] {
    display: none;
}
.flipswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #999999;
    border-radius: 50px;
    text-transform: none;
    margin-bottom: 0;
}
.flipswitch-inner {
    width: 200%;
    margin-left: -100%;
    -webkit-transition: margin 0.3s ease-in 0s;
    -moz-transition: margin 0.3s ease-in 0s;
    -ms-transition: margin 0.3s ease-in 0s;
    -o-transition: margin 0.3s ease-in 0s;
    transition: margin 0.3s ease-in 0s;
}
.flipswitch-inner:before, .flipswitch-inner:after {
    float: left;
    width: 50%;
    height: 28px;
    padding: 0;
    line-height: 28px;
    font-size: 12px;
    color: white;
    font-family: Arial, sans-serif;
    font-weight: bold;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.flipswitch-inner:before {
    content: "on";
    padding-left: 12px;
    background-color: #256799;
    color: #FFFFFF;
}
.flipswitch-inner:after {
    content: "off";
    padding-right: 12px;
    background-color: #EBEBEB;
    color: #888888;
    text-align: right;
}
.flipswitch-switch {
    width: 20px;
    margin: 4px;
    background: #FFFFFF;
    border: 1px solid #999999;
    border-radius: 50px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 32px;
    -webkit-transition: all 0.3s ease-in 0s;
    -moz-transition: all 0.3s ease-in 0s;
    -ms-transition: all 0.3s ease-in 0s;
    -o-transition: all 0.3s ease-in 0s;
    transition: all 0.3s ease-in 0s;
}
.flipswitch-cb:checked + .flipswitch-label .flipswitch-inner {
    margin-left: 0;
}
.flipswitch-cb:checked + .flipswitch-label .flipswitch-switch {
    right: 0;
}

.cookie-setup-blocked-wrapper {
    background-color: #adadad;
    padding: 1em;
    border: 1px solid #aaa;
    color:#efefef;
    text-align:center;
}
.cookie-setup-blocked-wrapper p {
    line-height:1.1 !important;
    margin-bottom:0;
    color:#efefef;
}
.cookie-setup-blocked-wrapper:hover{
    background-color: #333333;
}
.cookie-setup-blocked-wrapper button {
    background-color: #adadad;
    width:100%;
    text-transform:uppercase;
    border-radius:0;
    border:1px solid #d6d6d6;
    color:#efefef;
    font-size:1.3em;
    margin-bottom:0.4em;
    white-space: normal;
}
.cookie-setup-blocked-wrapper button:hover, .cookie-setup-blocked-wrapper button:focus, .cookie-setup-blocked-wrapper button:active, .cookie-setup-blocked-wrapper button:focus:active{
    background-color: #333333;
    border:1px solid #efefef;
}
.cookie-setup-blocked-wrapper a {
    color: #efefef;
}
.cookie-setup-blocked-wrapper a:hover {
    color: #d6d6d6;
    text-decoration:underline !important;
}

.itemlistelement.called {
    background-color:#d4edda;
}

.embed-responsive-16by9 .cookie-setup-blocked-wrapper {
    margin-top:-56.25%;
}

#cookie-settings-wrapper .loader {
    width: 48px;
    height: 48px;
    border: 5px solid #d6d6d6;
    border-bottom-color: transparent;
    border-radius: 50%;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    margin:0 auto 0 auto;
}
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
} 
