[data-omcookie-panel-show] {
  cursor: pointer;
}

.om-cookie-panel {
  display:none;
  width:0;
  height:0;

 /*transition: all .5s ease-in-out;*/
/*transition: transform 0.5s ease;*/
}
.om-cookie-panel .om-cookie-modal {
  display:none;

}
.om-cookie-panel.active {
  position: fixed;
  z-index: 9999;
  width: 100%;
  height:100%;
  left: 0;
  top:0;
  background-color: rgba(0,0,0,.5);
  display:flex;
  justify-content: center;
  align-items: center;
}

.om-cookie-panel.active .om-cookie-modal {
  /*
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

   */
  display:block;
  max-width: 400px;
  max-height: calc(100vh - 170px);
  width: 90%;
  min-height: 295px;
  margin: auto;
  padding: 1em;
  background-color: #fff;
  overflow-y: auto;
  box-sizing: border-box;
  /*box-shadow: 0 0 5px #000;*/
  border-radius: 5px;

}

.om-cookie-panel h3 {
  display:block;
  text-align: center;
  font-weight: 700;
  font-size: 22px;
}
.om-cookie-panel p {

}

.cookie-panel__selection form {
  display:flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom:20px;
}

.cookie-panel__checkbox-wrap {
  padding-right: 19px;
  padding-bottom:20px;
  display:inline-block;
}
.om-cookie-panel .cookie-panel__checkbox {
  display: none;
}
.om-cookie-panel .cookie-panel__checkbox + label {
  cursor: pointer;
  line-height: 1.1;
  font-weight: 400;
  display: block;
}
.om-cookie-panel .cookie-panel__checkbox + label::before {
  width: 15px;
  height: 15px;
  border-radius: 5px;
  border: 2px solid #a1bd41;
  background-color: #fff;
  display: block;
  content: "";
  float: left;
  margin-right: 5px;
}
.om-cookie-panel .cookie-panel__checkbox:checked + label::before {
  box-shadow: inset 0 0 0 3px #fff;
  background-color: #a1bd41;
}
.om-cookie-panel .cookie-panel__checkbox--state-inactiv + label::before {
  border-color: #666;
}
.om-cookie-panel .cookie-panel__checkbox--state-inactiv:checked + label::before {
  background-color: #666;
}
.om-cookie-panel .cookie-panel__control {
  text-align:center;
}
.om-cookie-panel .cookie-panel__link {
  padding-top: 1em;
  text-align:center;
}
.om-cookie-panel .cookie-panel__button {
  background: #8cad2d;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 3px;
  display: block;
  width: 100%;
  cursor: pointer;
  font-size: 1.1em;
  margin-bottom:20px;
}
.om-cookie-panel .cookie-panel__button + .cookie-panel__button {
  margin-top: 15px;
}

.om-cookie-panel .cookie-panel__button--color--green {
  background-color: #8cad2d;
}

.om-cookie-info table {
  border: 1px solid black;
  border-collapse: collapse;
}
.om-cookie-info table th,
.om-cookie-info table td {
  padding: 10px 5px;
  border: 1px solid black;
}
.om-cookie-info table p {
  margin-top: 0;
}
.om-cookie-info table p:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}
.cookie-panel__description a {
  color: #8cad2d;
}
.cookie-panel__description a:hover {
  text-decoration:underline;
}