.cookie-consent-shadow-bg {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999999998;
  pointer-events: none; /* отключает реакцию на мышь */
}

#cookie-consent-cookie-bar-center {
  z-index: 999999999;
  background-color: white;
  max-width: 800px;
  padding: 20px 40px;
  border-radius: 8px;
  bottom: 0;
  left: 50%;
  position: fixed;
  height: auto;
  overflow: auto;
  transform: translate(-50%, 100%);
  width: calc(100% - 15%);
  min-width: 210px;
  max-height: calc(100% - 16px);
  opacity: 0;
  transition: transform 0.4s ease-out, opacity 0.3s ease-out;
  box-shadow: 0 0px 20px rgba(0, 0, 0, 0.3);
  pointer-events: all;
}

#cookie-consent-cookie-bar-center.visible {
  opacity: 1;
  transform: translate(-50%, -3%);
}

.cookie-consent-primary {
  display: inline-flex;
  align-items: center;
}

.cookie-consent-primary-img {
  margin-right: 10px;
  padding-bottom: 10px;
  width: 25px;
  height: 100%;
  box-sizing: content-box;
}

.cookie-consent-cookie-bar p {
  /* margin-top: 1em; */
  margin-bottom: 1em;
}

#cookie-consent-shadow-bg .cookie-consent-cookie-bar p {
  font-size: 14px;
}

.cookie-consent-cookie-bar .cookie-consent-title {
  text-transform: none;
  padding-bottom:10px !important;
  font-weight:bold !important;
  line-height: normal;
}

#cookie-consent-cookie-bar-center h3.cookie-consent-title {
  font-size: 22px;
  text-align: left;
  margin: 0;
  padding: 0;
}

.cookie-consent-cookie-bar button {
  cursor: pointer;
  border: none;
  color: white;
  padding: 15px 32px;
  font-size: 14px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

.cookie-consent-approve-all {
  background-color: #00bb00;
  float: right;
}

.cookie-consent-approve-all:hover {
  background-color: #009900;
}

.cookie-consent-cookie-settings {
  background-color: #b1b3b1;
  float: left;
}

.cookie-consent-cookie-settings[disabled] {
  cursor: not-allowed;
}

.cookie-consent-cookie-bar .cookie-consent-reject {
  color: grey;
  float: left;
  margin-left: 10px;
}

.cookie-consent-cookie-bar .cookie-consent-reject:hover {
  color: #ffffff;
  background-color: #3b4151;
}


@media only screen and (max-width: 600px) {
  #cookie-consent-cookie-bar-center {
    padding: 20px;
  }

/*   .cookie-consent-primary {
    flex-direction: column;
  } */
  .cookie-consent-primary-img {
    width: 25px;
    min-width: 22px;
  }

  .cookie-consent-cookie-bar .cookie-consent-reject,
  .cookie-consent-cookie-bar .cookie-consent-approve-all,
  .cookie-consent-cookie-bar .cookie-consent-cookie-settings,
  .cookie-consent-cookie-bar .cookie-consent-reject {
    width: 100%;
    float: none;
    margin-left: 0;
  }
  
  #cookie-consent-shadow-bg .cookie-consent-cookie-bar p {
    font-size: 10px;
}

#cookie-consent-cookie-bar-center h3.cookie-consent-title {
    font-size: 18px;
}
}