ul{
    list-style: none;
}
ul li{
    list-style: none;
}
ul li img{
    max-width: 100px;
    max-height: 100px; 
}

[style*="--aspect-ratio"] {
  background: lightgrey;
  position: relative;
  padding-bottom: calc(100% / (var(--aspect-ratio)));  
}
.aspect_ratio{
    background-color: #fff;
    position: relative;
    width: 100%;
    aspect-ratio: 27/16;
    /* padding-top: 56.25%; */
}

[style*="--aspect-ratio"] > :first-child {
  /*position: absolute;
  top: 0;
  left: 0;
  height: 100%;*/
}  
.as_rt_45{
    width: 100%;
    aspect-ratio: 5/6;
    background-color: white;
}
.covers{
    width:100%;
    height: 100%;
    display: flex;
}
.covers div{
    aspect-ratio: 5/6;
    width: 100%;
    /* box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; */
    position: relative;
    overflow: hidden;
    text-align: center;
    /* padding-top: 30%; */
}
.covers div img{
    width: 100%;
    height: 100%;
    z-index: 1;
    position: relative;
}

.covers div .cvr{
    position: absolute;
    width: auto;
    max-height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
}

#imgs:hover{
    cursor: pointer;
}

#imgs:hover::before{
    border: 2px dashed aqua;
    content: '';
    display: inline-block;
    position: absolute;
    width: 100%;
    height: -webkit-fill-available;
    position: absolute;
    z-index: 999;
}

.covers div.active::before{
    border: 2px dashed aqua;
    content: '';
    display: inline-block;
    position: absolute;
    width: 100%;
    height: -webkit-fill-available;
    position: absolute;
    z-index: 999;
}


#cover-label, #back-label{
      position: relative;
      width: 100%;
      height: 100%;
      background: #fff;
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
      display:flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0px 1px 7px rgba(105, 110, 232, 0.54);
      /* border-radius: 10px; */
      flex-direction: column;
      gap: 15px;
      user-select: none;
      cursor: pointer;
      color: #207ed1;
      transition: all 1s;
      overflow: hidden;
      background-size: cover;
    background-position: center center;
}

#cover-label #icon_upload, #back-label #icon_upload{
    object-fit: unset;
    width: 68px;
    height: 68px;
    overflow: auto;
    margin: 0;
    padding: 0;
    margin-top: 50px;
}

#cover-label p, #back-label p{
    font-size: 12px;
    text-align: center;
    padding: 0px 20px;
    width: 100%;
    color: blueviolet;
}

.betweens{
    display:flex;justify-content: space-between;
}
.betweens img{
    width: 50px;
    margin-right: 15px;
}
.betweens span{
    margin-top: 0;
}
.order_btn{
    display: flex;
    align-items: center;
    justify-content: center;
}
.order_btn img{
    width: 18px;
    margin-right: 5px;
}
label {
    font-weight: 500 !important;
    margin-bottom: .1rem;
}
.betweens form button{
    margin-right: 10px;
}
#order_add_btn{
    /* margin-right: 10px; */
}


.sml_covrs{
    width: 200px; 
    height:119px;
    position:relative;
    float:left;
    margin-right: 10px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}
.sml_covrs p{
    font-size:12px;
    text-align:center;
}
img.sml_covr{
    width: 200px; 
    height:119px;
    z-index: 1;
    position: relative;
}
.cover_contnr{
    position: absolute;
    width:200px;
    height:119px;
    background-color:#030f1e;
    top:0;
    left:0;
    z-index:0;
    display:flex;
}
.cover_pages{
    width:50%;
    height:100%;
    background-size:cover;
    background-position:center center;
}

.float_btn{
    position: fixed;
    right: 0;
    bottom: 10px;
    z-index: 5;
    width: 200px;
    height: 99px;
    border-radius: 5px;
    background: #fff;
    /* box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; */
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.float_btn span.badge{
    background-color: #2c7be5;
    width: 100%;
    font-size: 16px;
    align-content: center;
}
@media only screen and (max-width: 1000px) {
    .float_btn{
        width:100%;
        display: flex;
        height: 50px;
    }
    .sml_covrs{
        margin-bottom: 25px;
    }
    #order_add_btn{
        margin-bottom: 15px;
        margin-right: 0;
        height: 100%;
    }
    .betweens form{
        width: 100%;
    }
    .betweens form button{
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    .betweens span{
        margin-top: 0;
    }
    .betweens img{
        width: 20px;
        margin: unset;
        margin: auto;
    }
    .betweens{
        display:grid;
        justify-content:baseline;
    }
    #cover-label #icon_upload, #back-label #icon_upload{
        object-fit: unset;
        width: 38px;
        height: 38px;
        overflow: auto;
        margin: 0;
        padding: 0;
    }

    #cover-label p, #back-label p{
        font-size: 8px;
        line-height: 10px;
        text-align: center;
        padding: 0px 20px;
        width: 100%;
    }
}

#cover-label img, #back-label img{
    object-fit: cover;
    max-height: 100%;
}

#cover-label::before{
    content: "";
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    background-image: url("../../cover.png");
    position: absolute;
    background-size: cover;
}
#back-label::before{
    content: "";
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    background-image: url("../../back.png");
    position: absolute;
    background-size: cover;
}
