@media only screen and (min-width: 500px) {
  .cookie-container .cookie-checkboxes {
    display: flex;
  }
  
  .cookie-container .cookie-checkboxes .cookies-help-text {
    min-width: 400px;
  }
  
  #matomo-help-text {
    left: -65%
  }
  
  #linkedin-help-text {
    right: -85%;
  }
  
  #twitter-help-text {
    right: -5%;
  }
}

@media only screen and (max-width: 659px) {
  .cookieactivatebtn {
    left: 0px;
    top: unset !important;
    width: 90%;
    margin-left:5% !important;
    margin-right:5% !important;
    transform: none !important;
  }
  
  .cookieconfbtn {
    left: 0px;
    top: unset !important;
    width: 90%;
    margin-left:5% !important;
    margin-right:5% !important;
    transform: none !important;
  }
}

@media only screen and (min-width: 660px) {
  .button-container {
    display: flex;
    justify-content: center;
  }
}

@media only screen and (min-width: 700px) {
  .cookie-container .cookie-checkboxes .cookies-help-text {
    min-width: 500px;
  }
  
  #linkedin-help-text {
    right: -175%;
  }
  
  #twitter-help-text {
    right: -105%;
  }
}

@media only screen and (min-width: 710px) {
  .cookie-container .cookie-buttons {
    flex-direction: row !important;
  }
  
  .cookie-container .cookie-buttons button {
    width: auto !important;
    margin-right: 15px;
    margin-bottom: 0;
  }
}

@media only screen and (min-width: 965px) {
  .cookie-container .cookie-checkboxes .cookies-help-text {
    min-width: 700px;
  }
  
  #linkedin-help-text {
    right: -350%;
  }
  
  #twitter-help-text {
    right: -295%;
  }
}

@media only screen and (min-width: 1200px) {
  .cookie-container .cookie-checkboxes {
    float: left;
  }
  
  .cookie-container .cookie-buttons {
    float: right;
    padding-top: 10px;
  }
}

@media only screen and (max-width: 1400px) {
  .alertdiv {
    width: 50% !important;
  }
}

.cookie-container button{
  width:100%;
}
  
.cookie-checkboxes>div{
      margin-right:0px !important;
}    
  
.cookie-container {
  position: fixed;
  width:90%;
  max-height: 90%;
  overflow: auto;
  left: 0;
  right: 0;
  bottom: 0;
  z-index:99999999;
  margin-left:auto;
  margin-right:auto;
  margin-bottom:25px;
  visibility:hidden;
  background: #B5C6E1;
  color: #003263 !important;
  padding: 15px;
  box-shadow: 0 -2px 16px rgba(47, 54, 64, 0.39);
  transition: 400ms;
  border-radius:20px;
  box-shadow:0 7px 27px rgba(0,0,0,.6);
}

.cookie-container a {
    text-decoration: underline;
    color: #003263;
}

.cookie-container .btn-cancel {
  top: 5px;
  width: 30px;
}

.cookie-container.active {
    visibility:visible;
}

.cookie-container .cookie-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cookie-container .cookie-buttons button {
  width: 275px;
}



.cookie-btn-accept,.cookie-btn-conf,.cookie-btn-deny {
  background: #003263;
  border: 0;
  color: #f5f6fa;
  padding: .8rem 3rem;
  font-size: 14px;
  margin-bottom: 16px;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  float: right;
  right: 0;
  border:3px solid #003263;
}

.cookie-btn-conf, .cookie-btn-deny, .cookie-btn-accept {
  margin-top: 0px;
  text-transform: none;
}

.cookie-btn-conf:hover, .cookie-btn-deny:hover, .cookie-btn-accept:hover:enabled {
  border:3px solid #003263;
  color:#003263;
}

.btn:hover:disabled, .btn-primary:hover:disabled {
  background-color: #003263 !important;
  border-color: #003263;
  transform: none;
}

.btn-cancel {
  position: absolute;
  top: 5px;
  right: 15px;
  background-color: #003263;
  border: 1px solid #003263;
  color: #FFFFFF;
  padding: 1px 6px;
  margin-top: 0px;
  font-size: inherit;
}

.btn-cancel:hover {
  background-color: #FFFFFF;
  color:#003263;
}

.alertdiv {
  padding: 15px;
  opacity:1 !important;
  width:40%;
  top: 50%;
  left:0px;
  position:fixed;
  margin-left:30%;
  margin-right:30%;
  background: #B5C6E1;
  border-radius: 20px;
  z-index:9999999999;
  box-shadow: 0 11px 35px rgba(47, 54, 64, 0.5);
  pointer-events: all !important;
}

.alertdiv p {
  padding-bottom: 15px;
  color: #003263 !important;
}

.btn.cookieinstantbtn {
  min-width: 195px;
  max-width: 275px;
  margin-top: 0;
  margin-left:20px;
  margin-bottom: 15px;
}

.btn.cookieinstantbtn:hover {
  border: 3px solid #003263;
  background-color: #FFFFFF !important;
  color: #003263;
}

.btn.cookieinstantbtn.cookiecancelbtn {
  position: absolute;
  font-size: 21px;
  top: 0;
  right: 0;
  border-radius:0px;
  font-weight: bold;
  padding: 0px 10px;
  transform:none;
}

.overlay {
  position:absolute;
  width:100%;
  height:100%;
  opacity:0.5;
  background: #cccccc;
  top:0;
  z-index:999999999;
}

.cookie-checkboxes {
  padding-top: 15px;
  padding-bottom: 15px;
}

.cookie-buttons {
  padding: 15px;
}

.cookie-checkboxes label {
  font-weight: normal;
  margin-top: 1px;
  margin-left: 3px;
  margin-bottom: 0px;
}

.cookie-checkboxes input:nth-child(1), 
.cookie-checkboxes label:nth-child(1) {
  filter: grayscale(1);
}

.cookies-help-text {
  visibility: hidden;
  width: auto;
  min-width: 200px;
  background-color: #003263;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 10px;
  font-size: 14px;
  position: absolute;
  z-index: 1;
  bottom: 20px;
}

#essentialscheckbox {
  filter: grayscale(1);
}

.alertdiv .pair-left {
  float: left;
  width: 85%;
}

.alertdiv .pair-right {
  float: right;
  width: 10%;
}

.social-media-sharing>.alertdiv{
  width: 70% !important;
  position: fixed;
  top: 100px;
  left: 0px;
  margin-left: 15%;
  margin-right: 15%;
}