body {
  background: #222;
  font-family: "Helvetica"
}

.kf-cookieconsent-dialog {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  overflow: visible;
  z-index: 2001;
}

.kf-cookieconsent-dialog-content {
  padding: 20px;
  margin: 20px auto;
  width: 700px;
  font-size: 13px;
  position: relative;
  background: white;
}

@media (max-width: 740px) {
  .kf-cookieconsent-dialog-content {
    left: 10px;
    right: 10px;
    position: absolute;
    width: auto;
  }
}


.kf-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  min-width: 50px;
}

.kf-switch input {
  display: none !important;
}

.kf-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.kf-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.kf-slider {
  background-color: #5196F3;
}

input:focus+.kf-slider {
  box-shadow: 0 0 1px #5196F3;
}

input:checked+.kf-slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

/* Rounded sliders */

.kf-slider.kf-round {
  border-radius: 28px;
}

.kf-slider.kf-round:before {
  border-radius: 50%;
}

.kf-toggles p {
    margin: 0;
    font-weight: bold;
    font-size: 1.2em;
    padding-top: 0px;
    width: 110px;
    max-width: 110px;
    min-width: 110px;
}
.kf-toggles {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border: 1px solid #bbb;
  margin: 2px;
  /* clear: both !important; */
}

.kf-toggles small {
    /* max-width: 70%; */
    line-height: 1em;
    padding-right: 16px;
    text-align: left;
}

.kf-toggles-desc {
    position: relative;
    display: flex;
    justify-content: initial;
    width: 100%;
}
@media (max-width: 639px) {
  .kf-toggles-desc {
    flex-wrap: wrap;
  }  
  .kf-toggles small {
    margin-top: 5px; 
  }
}

.kf-footer-buttons {
    display: flex;
}

.kf-state-highlight {
  border: 1px solid #fcd3a1;
  background: #fbf8ee;
  color: #444;
}
button.kf-button,
button.kf-cookieconsent-dialog-cancel, 
button.kf-cookieconsent-dialog-close  {
  background-color: #5196F3;
  color: #fff;
  padding: 8px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 10px;
}

.cookieconsent-popup {
    background: #fff;
    left:0;
}

.kf-dialog-footer {
  display: flex;
  justify-content: space-between;
}

div.kf-cookieconsent-permission-panels {
  overflow: hidden;
}

div.kf-cookieconsent-permission-panel-disallowed,
div.kf-cookieconsent-permission-panel-allowed {
  margin-top: 15px;
  /*width: 49%;*/
}

div.kf-cookieconsent-permission-panel-disallowed {
  /*float: left;*/
}

div.kf-cookieconsent-permission-panel-allowed {
  /*float: right;*/
}

.kf-cookieconsent-permission-panel-title {
  font-size: 1.1em;
  font-weight: bold;
}

.kf-allways-on {
  text-align: center;
  display: flex;
  white-space: nowrap;
  background: #5196F3;
  color: #FFF;
  height: 26px;
  border-radius: 24px;
  border: none;
  min-height: 26px;
  padding: 0 10px;
  align-items: center;
  justify-content: center;
  cursor: not-allowed;
}

a.cookieconsent-cookie-policy-link {
    margin-top: 10px;
}

h2.kf-dialog-header{
  margin-top: 0;
}
.kf-cookieconsent-dialog-content h2{
  margin-top:0;
  text-indent: -38px;
  padding-left: 38px;
}
.kf-cookieconsent-dialog-content h2:before{
    content: "";
    background-image: url(shield-lock_32.png);
    display: inline-block;
    background-size: 32px 32px;
    width: 32px;
    height: 32px;
    margin-right: 6px;
    vertical-align: -8px;
}



/* edit settings dialog */
.cookieconsent-overlay {
	position:fixed;
	z-index:8000;
    background: #00000080;
    width: 100%;
    height: 100%;
    display: block;
    left: 0;
    top: 0;    
}
.cookieconsent-dialog {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	overflow:visible;
	z-index:8001;
}
.cookieconsent-dialog-content {
	padding:20px;
	margin:20px auto;
	width:700px;
	font-size:13px;
	position:relative;
}
.cookieconsent-dialog-close {
	position:absolute;
	top:5px;
	right:5px;
}
.cookieconsent-dialog-content h1 {
	font-size:23px;
	border-bottom:1px solid;
	border-color:inherit;
	margin:0 0 20px 0;
	line-height:1.6em;
}
.cookieconsent-dialog-content .cookieconsent-logo-link {
	position:absolute;
	bottom:3px;
	right:3px;
	background-color:#efefef;
	padding:0 5px;
	display:block;
}

.cookieconsent-button-wrap {
	text-align:right;
	margin: 10px 20px;
    width:100%;
    margin-top:28px;
}
.cookieconsent-button-wrap button {
	margin-left:3px;
}

.cookieconsent-level-changer {
	overflow:visible;
	margin:0 auto;
	text-align:center;
}
.cookieconsent-level-changer a {
	display:inline-block;
	height:150px;
	cursor:pointer;
	cursor:hand;
	position:relative;
	border:5px solid #b5b5b5;
	max-width:150px;
	text-decoration:none !important;
}
.cookieconsent-level-changer a:hover {
	filter: alpha(opacity=90);
	opacity:0.9;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(50, 180, 50, 0.3);
	box-shadow: 0px 0px 5px 0px rgba(50, 180, 50, 0.3);
}
.cookieconsent-level-changer a span.cookieconsent-level-button-icon {
	display:block;
	position:absolute;
	top:11px;
	left:10%;
	right:13%;
	height:75px;
}
.cookieconsent-level-changer a span.cookieconsent-level-button-icon div {
	display:block;
	background-color:#d1e0e9;
	position:absolute;
	bottom:0px;
	border:1px solid #fff;
}

.cookieconsent-level-changer a span.cookieconsent-level-button-title {
	display:block;
	position:absolute;
	bottom:0px;
	left:0px;
	right:0px;
	height:45px;
	padding-top:10px;
	background-color:#b5b5b5;
	color:#fff;
	font-size:15px;
}
.cookieconsent-level-changer a.activated {
	border-color:#66a0c5;
}
.cookieconsent-level-changer a.activated span.cookieconsent-level-button-title {
	background-color:#66a0c5;
}
.cookieconsent-level-changer a.activated span.cookieconsent-level-button-icon div.activated {
	background-color:#66a0c5;
}

.cookieconsent-permission-panels {
	overflow:hidden;
	clear:both;
	margin-top:10px;
	border-top:1px solid #b5b5b5;
	padding-top:10px;
}
.cookieconsent-permission-panel-disallowed {
	float:left;
	width:49%;
}
.cookieconsent-permission-panel-allowed {
	float:right;
	width:49%;
}
.cookieconsent-permission-panel-title {
	font-size:16px;
	padding:10px 15px;
	font-weight:normal;
	text-align:center;
}
.cookieconsent-permission-panels ul {
	padding:15px;
	margin:0;
	list-style:circle;
}
.cookieconsent-permission-panels ul li {
	padding:0 0 4px 0;
	margin:0 0 0 20px;
	font-size:14px;
}

/* cookies warning */
.cookieconsent-popup {
	position:fixed;
	z-index:1999;
	width:50%;
    left:25%;
    top:30%;
	padding: 25px;
	font-size:13px;
	-webkit-box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.4);
	box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.4);
	opacity: 0.9;
}

@media (max-width: 740px) {
  .cookieconsent-popup {
     width:100%;
     left:0%;
  }
}

/* magic button */
.cookieconsent-toggle-magic-button {
	display:block;
	float:right;
	margin:5px 0 10px;
	text-decoration:underline;
}
.cookieconsent-toggle-magic-button .ui-icon {
	float:left;
	margin: 4px 2px 0 0;
}
.cookieconsent-magic-button-wrap {
	display:none;
}
.cookieconsent-magic-button-wrap .ui-state-highlight {
	margin:0 0 15px;
	padding:15px;
}
.cookieconsent-magic-button-wrap iframe {
	height:137px;
	width:100%;
}

/* policy links */
.cookieconsent-popup .cookieconsent-cookie-policy-link {
	/*display:block;
	float:left;*/
	clear:both;
	margin:5px 0 10px;
	text-decoration:underline;
}
.cookieconsent-edit-settings .cookieconsent-cookie-policy-link {
}

.cookieconsent-wrapper {
    display: flex;
	flex-wrap: wrap;
}

.cookieconsent-popup-notice {
    /*flex: 1;*/
	margin: 10px 20px;
	min-width: 279px;
}