#cookie_banner {
  position: fixed;
  bottom: 0px;
  left: 0px;
  z-index: 99997;
  width: 100%;
  max-height: 100%;
  background-color: #000;
  padding: 15px;
  color: #ffffff;
}

#cookie_banner p {
  line-height:140%;
}

#cookie_banner a {
  color: #ffffff;
  text-decoration: underline;
}

#cookie_banner .btn-default {
  border:1px solid;
}

#cookie_banner_active {
  display: block;
  width: 100px;
  height: 100px;
  color: transparent;
  background-color: rgba(0, 0, 0, 0.8);
  transform: rotate(45deg);
  right: -50px;
  font-size: 0;
  transition: background-color linear .3s;
  bottom: -50px;
  position:fixed;
}

/* Style 1 - Default: Triangle */
#cookie_banner_active a {
  display: block;
  width: 100%;
  height: 100%;
}
#cookie_banner_active:hover{
  background-color: rgba(0, 0, 0, 1);

  transition: background-color linear .3s;
}
#cookie_banner_active a::before {
  content: "";
  display: inline-block;
  color: #fff;
  background: url("../Icons/cogs.png");
  background-size: contain;
  width: 29px;
  margin-top: 38px;
  margin-left: 4px;
  height: 26px;
  background-repeat: no-repeat;
}

/* Style 2 - Square */
#cookie_banner_active.cookieStyleSquare {
  border: 0;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
  color: transparent;
  position: fixed;
  transform: none;
  bottom: 0;
  right: 0;
}

#cookie_banner_active.cookieStyleSquare a{
  padding:13px 2px 0 0;
  margin:0;
}

#cookie_banner_active.cookieStyleSquare a:before{
  margin:0;
}

#cookie_banner_active.cookieStyleSquare:hover{
  background-color: rgba(0, 0, 0, 1);

  transition: background-color linear .3s;
}

/* Style 3 - Circle */
#cookie_banner_active.cookieStyleCircle {
  border: 0;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
  color: transparent;
  transform: none;
  border-radius: 50%;
  right: 0;
  bottom: 0;
  margin: 0 15px 15px 0;
}
#cookie_banner_active.cookieStyleCircle:hover{
  background-color: rgba(0, 0, 0, 1);

  transition: background-color linear .3s;
}
#cookie_banner_active.cookieStyleCircle a{
  padding:13px 2px 0 0;
  border-radius: 50%;
}
#cookie_banner_active.cookieStyleCircle a::before {
  margin: 0;
}

#cookie_settings_frame {
  position: fixed;
  bottom: 0px;
  left: 0px;
  z-index: 99999;
  width: 100%;
  height: 100%;
  max-height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: none;
}

#cookie_banner_settings {
  position: absolute;
  top: 30px;
  left: 20%;
  z-index: 99998;
  width: 60%;
  max-height: 75%;
  background-color: rgb(255,255,255);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  overflow: auto;
}

#cookie_banner_settings div#cb_settings_close {
  position: absolute;
  right: 25px;
  top: 20px;
}

#cookie_banner_settings div#cb_settings_close span {
  font-size: 200%;
  cursor: pointer;
}

#cookie_banner_settings div#cb_settings_content {
  padding: 10px 20px;
}

#cb_settings_content h1 {
  padding-bottom: 20px;
  border-bottom: 1px solid rgb(200,200,200);
  font-weight: bold;
  font-size: 200%;
}

.cookie_categories_list_checkbox {
  float: left;
  width: 50px;
}

.cookie_categories_list_checkbox input[type="checkbox"] {
  display: none;
}

.cookie_categories_list_checkbox input[type="checkbox"] + label {
  width: 40px;
  height: 25px;
  border: 2px solid #ddd;
  background-color: #eee;
  display: inline-block;
  content: '';
  float: left;
  margin-right: 5px;
  -webkit-transition: background-color 0.5s linear;
  -moz-transition: background-color 0.5s linear;
  -ms-transition: background-color 0.5s linear;
  -o-transition: background-color 0.5s linear;
  transition: background-color 0.5s linear;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}

.cookie_categories_list_checkbox input[type="checkbox"] + label:hover {
  cursor: pointer;
}

.cookie_categories_list_checkbox input[type="checkbox"] + label::before {
  width: 20px;
  height: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  background-color: #fff;
  display: block;
  content: '';
  float: left;
  transition: margin 0.1s linear;
  box-shadow: 0px 0px 5px #aaa;
}

.cookie_categories_list_checkbox input[type="checkbox"]:checked+label{
  background-color: #008000;
}
.cookie_categories_list_checkbox input[type="checkbox"]:checked+label::before {
  margin: 0 0 0 15px;
}

.cookie_categories_list_checkbox input[type="checkbox"][disabled]+label {
  background-color: #666;
}

.cookie_categories_list_description {
  float: left;
  width: 90%;
}

.cookie_categories_list_description label {
  margin-bottom:5px;
  cursor: pointer;
}

.cookie_categories_list_description span {
  font-weight: bold;
  color: rgb(0,0,0);
}

.cookie_categories_list_description p {
  font-weight: normal;
  color: rgb(130,130,130);
}

.cookie_categories_list_clear {
  clear: both;
}

.cb_settings_acceptbutton {
  margin: 30px 0;
}

.cb_settings_infotext {
  padding-bottom: 20px;
  padding-top: 20px;
  border-top: 1px solid rgb(200,200,200);
  font-weight: normal;
  color: rgb(130,130,130);
}

.matomo-optin-frame {

}


/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */
@media only screen and (max-width:480px) {

#cookie_banner_settings {
  position: absolute;
  top: 2%;
  left: 5%;
  width: 90%;
  height: 96%;
  max-height: 96%;
}

#cookie_banner {
  width: 100%;
  max-height: 100%;
}

}
