.block_empty{
  position: relative;
}

.block_empty .empty {
    position: absolute;
    bottom: 5px;
    right: 24px;
    font-size: 30px;
    cursor: pointer;
    color: gray;
    display: none;
}

.block_empty input.none_empty + .empty{
  display: inline;
}

.hide{
  display: none !important;
}

.email_hide .main__col:nth-of-type(1){
  width:100%;
}


.email_hide .main__col:nth-of-type(2){
  display: none;
}

.fields-form-gen{
        counter-reset: iter;
}

.fields-form-gen  .main__col:not(.main__col_text) .main__label:not(.main__label-text):before {
    counter-increment: iter;
    Content: counter(iter)".";
    margin: 0 7px 0 0;
    font-size: inherit;
}

.hidden { display: none; }
.line-slide {
  min-height: 80px;
  padding: 10px 14px 10px 24px;
  border-radius: 16px;
  border: 1px solid #e4dffb;
  background: #fff;
      margin-bottom: 16px;
  }
.line-slide.highlight {
  border-color: rgba(0, 150, 255, 1);
 }

.ah-main-block-generation__item-name input {
    border: none;
    outline: none;
    width: 100%;
    max-width: 450px;
}

.popuperFD{
      z-index: 9999999999;
}

.file > span:before{
   display: none;
}

.file.upload  span:before {
    background: url(https://simpleslide.ru/img/close-red.svg) no-repeat;
    background-size: 14px;
    background-position: center;
}

.file span span.ellipsis:nth-of-type(2){
  display: none;
}

.file.upload span:hover span.ellipsis:nth-of-type(1){
  display: none;
}
.file.upload span:hover span.ellipsis:nth-of-type(2){
  display: inline-block;
}
/* .file.upload  > span:hover span:after{
  Content:"Удалить файл";
  position: absolute;
  background: #e1e1ff;
   left:74px;
    display: inline-block;
    width:275px;
    box-sizing: border-box;
} */

.file span .ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    justify-content: unset;
    padding: 0px;
    width: 100%;
    justify-content: center;
}

.file.upload span .ellipsis{
  justify-content: flex-start;
}

.file span:hover .ellipsis {
    background: #e1e1ff;
}

.clearenterText{
  position: relative;
}

.clearenterText button {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 15px;
    cursor: pointer;
    text-decoration: none;
    color: #36364a;
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    padding: 2px 10px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #fff;
    box-shadow: 0 2px 6px 0 rgba(18, 7, 143, 0.08), 0 1px 2px 0 rgba(14, 9, 72, 0.08), 0 0 0 1px rgba(14, 9, 72, 0.08);
    border-color: #7462f3;
}

.clearenterText button:hover{
  border-color: #fff;
}


.count_day_1:before{
  display: none;
}

.container-payment {
  position: fixed;
  display: none;
  align-items: center;
  justify-content: center;
  top: 0px;
  left: 0px;
  z-index: 100000000000;
  width: 100%;
  height: 100%;

  background: rgba(255, 255, 255, 0.9); }
  .container-payment .close {
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    color: gray;
    font-weight: bold;
  }

  #generatePresentationForm.premium .count__title span,
  #generatePresentationForm.premium .select__item span,
  #generatePresentationForm.premium .select__value span,
  #generatePresentationForm.premium .templates__name span,
  #generatePresentationForm.premium .count__highlighted
  {
    display: none !important;
  }





  a.active {
    background: #6664ef;
    color: #fff;
}

.ah-main-block-generation__item-name{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ah-main-block-generation__item-name .selectType {
    color: black;
    font-size: 14px;
    background: #f0f0ff;
    border-radius: 15px;
    padding: 2px 10px;
    font-weight: normal;
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
}

.ah-main-block-generation__item-name .selectType:hover {
    background: #dedef7;
}

.selectTypes {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 57px;
    z-index: 999;
    right: 51px;
    font-size: 13px;
    font-weight: normal;
    background: white;
    padding: 10px;
    color: gray;
    gap: 8px;
    border-radius: 12px;
    line-height: 1;
    box-shadow: 0px 0px 12px 0px rgba(131, 130, 255, 0.1), 0px 1px 20px 0px rgba(131, 130, 255, 0.1);
    animation: fadeIn 0.2s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@media (max-width: 767.98px) {

.selectTypes {
    top: 39px;
    right: 35px;

    animation: fadeIn 0.2s ease forwards;
}
}

.selectTypes label{
  color:black;
  font-size: 16px;
}

.selectTypes label.disabled{
  text-decoration: line-through;
}

.selectTypes label input{
  -webkit-appearance: auto;
    width: auto;
}


.ah-main-block-generation__item.waitLoad{
      pointer-events: none;
    opacity: 0.5;
}
.ah-main-block-generation__item.waitLoad::before {
    content: " ";
    width: 48px;
    height: 48px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #6666f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    left: calc(50% - 22px);
    top: calc(50% - 22px);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
    