#shadow-cookie {
  bottom: 0;
  cursor: pointer;
  height: 100dvh;
  justify-content: flex-end;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  width: 100vw;
  z-index: 50;
  /* background-color: rgb(46,204,113, 0.4);  */
}

.bamperCB-wrap {
  transform: scale(1);
  transition: visibility .25s linear, opacity .25s ease, transform .25s ease;
  background: #525252;    
  color: white;
  bottom: 0px;
  box-shadow: 0 0.625em 1.875em rgba(2,2,3,.28);
  font-family: inherit;
  line-height: normal;
  padding: 16px 24px;
  position: fixed;
  max-width: 880px;
  z-index: 1000;
  border-radius: 15px;
  inset: auto 16px 16px;
  margin: 0 auto;
}
.modal-popup-wrap {
  animation: none;
    background: none;
    border: none;
    border-radius: unset;
    box-shadow: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: inherit;
    float: none;
    font-family: inherit;
    font-size: 1em;
    font-style: inherit;
    font-variant: normal;
    font-weight: inherit;
    height: auto;
    letter-spacing: unset;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    text-align: left;
    text-decoration: none;
    text-transform: none;
    transition: none;
    vertical-align: baseline;
    visibility: unset;
    display: grid;
    grid-template-columns: auto -webkit-min-content;
    grid-template-columns: auto min-content;
    align-items: center;
    gap: 26px;
    box-sizing: border-box;
    margin-inline: auto;
}

.modal-popup-wrap .title {
  font-size: 20px;
    margin-bottom: 0.7em;
    font-weigth: 500;
    color: #000000;
}

.modal-popup-wrap .text {
  font-size: 14px;
    line-height: 20px;
    font-weight: 300;
    color: white;
}

.modal-popup-wrap a {
  color: #5CBAF1;
}

.popup-btns {
  text-align: center;
  max-width: 200px;
      display: grid;
    grid-template-columns: repeat(2, 100px);
    gap: 12px;
}
.persett {
  font-size: 12px;
    color: black;
    text-decoration: underline;
    margin-top: 10px;
    display: block;
}





/******/


.modal-custom {
  position:fixed;
  display: none;
  align-items:center;
  justify-content:center;
  top:0vh;
  left:0px;
  width:100vw;
  height:100vh;
  background: rgb(0,0,0, 0.7);
  border:none;
  box-shadow: 0 0.625em 1.875em #000;
  box-shadow: 0 0.625em 1.875em rgba(2,2,3,.28);
  box-sizing:content-box;
  color:black;   
  z-index: 9999;  
  -webkit-transition: opacity 400ms ease-in;
  -moz-transition: opacity 400ms ease-in;
  transition: opacity 400ms ease-in;  
  pointer-events: none;  
}


.modal-custom.show {
/* opacity: 1; */
display:flex;
pointer-events: auto;
overflow-y: auto;
}
  
.modal-dialog-custom {
position: relative;
width: 75%;
margin: 15%;
}

@media (min-width: 576px) {
  .modal-dialog-custom {
    max-width: 75%;
    margin: 30px auto;
  }  
}

@media (max-width: 767px) {
  .modal-popup-wrap {
    grid-template-columns: auto;
  }

  .popup-btns {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    max-width: 100%;
  }

  .button-success {
    width: 100%;
    max-width: 100% !important;
  }

  .button-cancel {
    width: 100%;
    max-width: 100% !important;
  }
}


.modal-content {
  max-height: 70vh;
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border-radius: 10px;
  outline: 0;
}

@media (min-width: 768px) {
  .modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
  }
}

/* свойства для заголовка модального окна */
.modal-header-custom {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 1px solid #eceeef;
text-decoration:none;
}

.modal-title-custom {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.5;
  font-size: 2rem;
  font-weight: 500;
}

/* свойства для кнопки "Закрыть" */
.close_modal {
  float: left;
  font-family: sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: .5;
  text-decoration: none;
color:black;
}

/* свойства для кнопки "Закрыть" при нахождении её в фокусе или наведении */
.close_modal:focus,
.close_modal:hover {
  color: #000;
  text-decoration: none;
  cursor: pointer;
  opacity: .75;
}



/* свойства для блока, содержащего основное содержимое окна */
.modal-body-custom {
  position: relative;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 15px 30px;
  overflow: auto;
  text-align: left;

}

.check-cust_i {
  margin-top: -2px;
}

.label-text {
  margin-left: 10px;
  font-size: 18px;
}

.button-success {
  max-width: 80px;
  background-color: #2fcc71;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 15px;
}

.button-cancel {
  max-width: 100px;
  padding: 12px 15px;
  color: #2fcc71;
  border: 1px solid #2fcc71;
  background: #525252;
  border-radius: 10px;
}