
body{
      position: relative;
      z-index:1;
      background: #F4F5F7;
      padding-bottom: 80px;
      height: 100%; min-height: 100vh;
}
body:not(.greybg,.darkbg){ /* ::before  */
      background: #F4F5F7 url('/media/luckystar/img/theme/body-bg.png') repeat-x;

      /*content: ' ';
      position: absolute; z-index:2;
      top: 0; left: 0;
      width: 100%; height: 250px;
      background: #E9CFAC;
      background: linear-gradient(180deg, rgba(237, 209, 169, 1) 0%, rgba(244, 245, 247, 1) 100%);*/
}

/*-- body - theme --*/
body:not(.greybg,.darkbg){ /* ::before  */
      background: #FFD9DD;
      background: linear-gradient(180deg, rgba(255, 217, 221, 1) 0%, rgba(251, 200, 203, 1) 100%);
}
body.pg2{
      background: #FFDCE0;
      background: linear-gradient(180deg, rgba(255, 220, 224, 1) 30%, rgba(251, 200, 203, 1) 100%);
}
body::before{
      content: ' ';
      position: absolute; top: 0; left: 0;
      width: 100%; height: 100%;
      background: url('/media/luckystar/img/theme/pg-header.jpg') top center repeat-x;
}
body.pg2::before{
      background-image: url('/media/luckystar/img/theme/pg2-header.jpg');
}
body::after{
      content: ' ';
      position: absolute; top: 0; left: 0;
      width: 100%; height: 100%;
      background: url('/media/luckystar/img/theme/pg-footer.png') bottom center repeat-x;     
}
/*------------------*/

body.modal-open main{ position: unset; }
header, main, footer{ 
      position: relative; 
      z-index: 3; 
}
.container{
      max-width: 450px !important;
}

/*.rounded{
      border-radius: 10px !important;
}*/
.rounded-top{ border-top-left-radius:10px !important; border-top-right-radius:10px !important; }
.rounded-bottom{ border-bottom-left-radius:10px !important; border-bottom-right-radius: 10px !important; }
.rounded-10{ border-radius: 10px !important; }
.rounded-more{ border-radius: 20px !important; }
.btn-secondary{
      background: #b8b8ba !important;
      background: linear-gradient(90deg, #b8b8ba 0%, #afafaf 100%) !important;
      border: 0;
}
.modal-content{ border-radius: 1rem; }
.modal-header{ padding: .5rem 1rem; border-bottom: transparent; }
.modal-header-spacer{ display: flex; flex:.5; }
.modal-title{ font-weight:600; flex: 2; text-align: center; /*text-wrap-mode: nowrap;*/ }
.modal-header-btn{ display: flex; flex: .5; justify-content: end; }
.modal-header .close{ margin: unset; padding: 1rem 0; }
.modal-body{ 
      font-size: 14px;
      max-height: 55vh;
      overflow-y: auto;
}
.modal-footer{ justify-content: center; border-top: transparent; }
.modal-footer .btn{
      /*background: #fc8d21;
      background: linear-gradient(90deg, #fc8d21 0%, #fd28ce 100%);
      color: white;
      border-radius: 20px;
      padding: .25rem 1rem;
      */min-width: 100px;
      font-size: 1.4rem !important;
      padding: .5rem 1rem !important; border-radius: 2rem !important;
}
.modal-medium .modal-content{ min-height: 250px; }
.modal-medium .modal-body{ display: flex; flex-direction: column; }
.modal-style1 {
      & .modal-dialog{ margin-top: 4rem; }
      & .modal-content{
            /*background: linear-gradient(white, white) padding-box, 
                  linear-gradient(to right, rgba(220, 120, 97, 1), rgba(211, 52, 171, 1)) border-box;*/
            background: #FDC6CB;
            background: linear-gradient(180deg, rgba(253, 198, 203, 1) 0%, rgba(255, 226, 229, 1) 35%, rgba(255, 222, 225, 1) 70%, rgba(250, 199, 202, 1) 100%);
            border-radius: 1rem;
            border: 5px solid white;
      }
      & .modal-header-ico-wrapper{ 
            display: flex; 
            justify-content: center; 
            align-items: center; 

            & .modal-header-ico{ max-width: 130px; margin-top: -70px;}
      }

      & .modal-header-btn{ margin-top: -50px; }
      & .modal-title{ color: #b55451; font-size: 1.2rem; font-weight: 400;}
      & .modal-footer .btn{ margin-bottom: 1.5rem; }
}
.modal-style2{
      & .modal-content{ padding: 1rem 0; }
      & .modal-title{ color: #d23c3b; font-size: 22px;}
}


.opacity-0{ opacity: 0; }
.rounded-sm{ border-radius: 5px; }
.bg-light{ background-color: #eee !important; }
.bg-white-opacity-70{
      background: rgba(255,255,255,0.7);
}
.carousel-inner{ border-radius: 10px !important; }

/* === Header === */
header{
      /*background: white;*/
}
.header-ico{
      padding: 5px;
      background: #fff4f2;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      
}
.header-ico img{
      /*width: 40px; max-width: 40px;
      height: 40px;*/
}

/* === Main === */
main{
      position: relative;
      max-width: 450px !important;
      margin: 0 auto;
      overflow: hidden;
      padding: 0 0.5rem;
}

/* --- Scroller --- */
.scroller{
      color: #545454;
}

.product-item{
      margin-top: .5rem;
      background: white;
      border-radius: 10px;
      height: 100px;
      width: 100%;
}
.product-item-wrapper{
      padding: 10px;
}

.prod-item{
      padding: .75rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      background: rgba(255,255,255,0.7);
      border-radius: 10px;
      margin-bottom: 10px;
}
.prod-item-img{
      width: 100%;
      overflow: hidden;
      border-radius: 10px;
      position: relative;
      /* margin-right: 10px; */
      max-width: 130px;
}
.prod-item-img-id{
      padding: .1rem .25rem ;
      position: absolute; top: .5rem; left: .5rem;
      background: #EECEC1;
      background: linear-gradient(90deg, rgba(238, 206, 193, 1) 0%, rgba(234, 169, 139, 1) 100%);
      font-size: 11px;
      font-weight: 500;
      color: #8b5338;
      border-radius: 5px;
}
.prod-item-img > img{
      /*object-fit: cover;
      width: 100%;
      height: 100%;*/
}
.prod-label{
      background: #DC7861;
      background: linear-gradient(90deg, rgba(220, 120, 97, 1) 0%, rgba(211, 52, 171, 1) 100%);
      color: white;
      text-transform: uppercase;
      font-size: 9px;
      display: inline-block;
      padding: .15rem .35rem;
      position: absolute;
      top: 0;
      left: 0;
      border-bottom-right-radius: 5px;
}
.prod-content{
      margin: 0 1rem;
      width: calc(100% - 2rem);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      max-width: 200px;
}
.prod-content-top{
      display: flex;
      justify-content: space-between;
      width: 100%;
      font-size: 13px;
      font-weight: 500;
}
.prod-countdown{
      color: #b9909b;
      text-align: right;
      font-size: .8rem;
}

.prod-content-title{
      font-weight: 500;
      font-size: 1rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
}
.prod-content-btm{
      display: flex;
      justify-content: space-between;
      align-items: center;
}
.prod-content-percent{
      width: 100%;
      margin-right: 10px;
}
.progress {
      background-color: #fdc385;
      border-radius: 10px;
      position: relative;
      height: .7rem;
}
.progress-percent-val{
      font-weight: bold;
      color: #545454;
}
.progress-txt{
      position: absolute;
      top: 0; left: 0;
      padding: 0 .5rem;
      width: calc(100% - 1rem); height: 16px;
      display: flex;
      align-items: center;
      justify-content: start;
      font-size: 10px; font-weight: 500; color: #8b5338;
}
.progress-bar{
      /*background: #EECEC1;
      background: linear-gradient(90deg, rgba(238, 206, 193, 1) 0%, rgba(234, 169, 139, 1) 100%);  */
      background: #fa89b2; color: #545454;
      border-top-right-radius: 10px;
      border-bottom-right-radius: 10px; 
}
.prod-content-btn{
      display: flex;
      align-items: center;
      max-width: 75px;
}
.btn-mysticstar, .prod-content-btn > .btn, .modal-footer .btn{
      background: #FDC77F;
      background: linear-gradient(90deg, rgba(253, 199, 127, 1) 0%, rgba(255, 163, 173, 1) 50%, rgba(237, 68, 189, 1) 100%);
      text-transform: uppercase;
      border-radius: 1rem;
      color: white;
      font-weight: 500;
      line-height: 14px;
      font-size: 13px;
      padding: .25rem .5rem;
}
.btn-mysticstar.btn-lg{ 
      font-size: 1.2rem;
      padding: .5rem;
      border-radius: 2rem;
}
.prod-winner-item{
      display: flex;
      justify-content: flex-start;
      align-items: center;
      color: #545454;
      font-size: 0.8rem;
}
.prod-winner-item img{
      margin-right: .5rem;
      width: 15px; height: auto;
}


/* === Form === */
h1.title{
      font-size: 22px;
      font-weight: 600;
      text-align: center;
}
form label:not(.form-check-label){ font-weight: 600; }
.form-check-label{ font-size: 14px; }
.greyForm{ padding: 1rem; }
.greyForm .form-control{
      border-radius: 18px;
      border: transparent;
      background: #eaeff2;
}
.greyForm .input-group .intl-tel-input .form-control {
  border-top-left-radius: 4px;
  border-top-right-radius: 0;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 0;
}
.iti__selected-country-primary{ padding-left: 15px !important; }
.iti{ display: block !important; }
.form-control.iti__tel-input{ padding-left: 90px !important; }
.inputGroupLink{
      padding: 0 15px;
      background: #eaeff2;
      border-top-right-radius: 18px;
      border-bottom-right-radius: 18px;
      display: flex;
      align-items: center;
      text-decoration: none !important;
}
.btn.btn-theme {
      background: #fc8d21;
      background: linear-gradient(90deg, #fc8d21 0%, #fd28ce 100%);
      color: white;
      border-radius: 20px;
      min-width: 100px;
      font-weight: 600;
}
.form-control:disabled, .form-control[readonly]{ background-color: #f5f5f5; }
.pg-sel-item{
      margin-bottom: .75rem;
      padding: .25rem 0;
      text-align: center;
      background: transparent;
      border-radius: 5px;
      border: solid 1px transparent;
      font-size: 20px;
      cursor: pointer;
}
.pg-sel-item:hover{
      border-color: #383838;
}
.pg-sel-item.active{
      color: white;
      background: #383838;
}

/* === Page === */
.pg-title{ 
      display: flex; 
      padding: 1rem 0;
      height: 36px;
      box-sizing: content-box;
      line-height: 36px;
}
.pg-title.shadow{
      -webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.025) !important;
      -moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.025) !important;
      box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.025) !important;
}
.pg-title-arrow{
      padding-left: 1rem;
      display: flex;
      flex: 1;
      justify-content: flex-start;
      align-items: center;
      font-weight: 600; font-size: 1.2rem; color: var(--secondary);
}
.pg-title-arrow a{ display: flex; }
.pg-title-arrow img{ width: 25px; height: auto; }
.pg-title-txt{ 
      display: flex; align-items: center;
      flex: 1; 
      text-align: center; text-wrap-mode: nowrap; }
.pg-title-txt > h1.title{ 
      font-size: 1.2rem;
      color: white;
      text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
      text-transform: uppercase;
      font-weight: bold;
}
.pg-title-spacer{ display: flex;  flex: 1; }

.pg-subtitle{ position: relative; padding: 1rem; background: white;}
.pg-subtitle::before{ 
      content: ' ';
      position: absolute;
      background: #383838;
      width: 100%;
      height:70%;
      top: 0;
      left: 0;
}

.pg-subtitle-content{
      position: relative;
      display: flex;
      flex-direction: column;
      padding: 1.5rem 1.5rem 2.5rem 1.5rem;
      border-radius: 10px;
      border-top-right-radius: 50px;
      background: #EFE6D5;
      background: linear-gradient(142deg, rgba(239, 230, 213, 1) 0%, rgba(251, 201, 106, 1) 100%);
      -webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.1);
      -moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.1);
      box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.1);
}
.pg-subtitle .pg-subtitle-content::before{
      content: ' ';
      position: absolute;
      
      background-size: contain;
      background-position: center center;
      background-repeat: no-repeat;
}
.pg-subtitle.luckyStar .pg-subtitle-content::before{
      width:180px; height:177px; 
      right: -15px; top: -15px;   
      background-image: url('/media/luckystar/img/theme/ico-star-smiley.png');
}
.pg-subtitle.luckyCoins .pg-subtitle-content::before{
      width:220px; height:173px; 
      right: -25px; top: -25px;   
      background-image: url('/media/luckystar/img/theme/ico-coin-smiley.png');
}
.curr_star{
      font-size: 45px;
      font-weight: 600;
}

.pg-content{
      position: relative;
      padding: 0.75rem;
      background: white;
}
.number-input-group{ width: 200px; }
.input-group-text{
      background: transparent;
      cursor: pointer;
}
.pg-btm-btn{
      position: fixed; z-index: 999;
      bottom: 0;
      padding: .75rem;
      width: 100%;
      max-width: 434px;
      background: white;
}
/*--- nav-pills @ account-transaction-records ---*/
.scroll-nav-pills-wrapper{
      display: block;
      /*width: 430px;*/ height: 55px;
      overflow-x: auto; overflow-y: hidden;
      background: white;

      & .pg-content-nav-pills{
            /*display: grid;
            grid-template-columns: repeat(3, 1fr);
            grid-template-rows: 1fr;
            grid-column-gap: 0px;
            grid-row-gap: 0px;*/
            display: flex; justify-content: flex-start; flex-wrap: unset;
            width: 100%;

            &.twopills{ grid-template-columns: repeat(2, 1fr); }

            & li{
                  position: relative;
                  padding: .25rem .75rem;
                  display: flex; justify-content: center; align-items: center;
                  font-size: 15px; line-height: 18px; text-align: center; white-space: nowrap;
                  background: white;

                  & a{
                        position: relative;
                        padding: .75rem 0;
                        text-decoration: none; 
                        color: #545454; 
                        font-weight: 500;

                        &.active{
                              color: #f550a0;

                              &::before{
                                    position: absolute;
                                    content: ' ';
                                    width: 60%;
                                    height: 3px;
                                    background: var(--dark);
                                    border-radius: 1.5px;
                                    bottom: 0;
                                    left: 20%;
                              }
                        }
                  }
            }
      }
}

.empty-content{
      padding: 5rem 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      color: var(--secondary);
}
.empty-content img{ margin-bottom: 1rem; max-width: 120px; }

.trans-list{
      padding: 1rem 0;

      & .trans-row{
            padding: .75rem 1rem;
            border-bottom: solid 1px #ccc;
      }
}     

/*--- formStyle1 @ account-delivery-address.html ---*/
.formStyle1 .form-group{
      margin:0; padding: .25rem .5rem;
      background: rgba(255,255,255,0.7);
      display: flex; justify-content: space-between; align-items: center;
      width: 100%; height: 50px;
      border-bottom: solid 1px rgba(0,0,0,.125);
}
.formStyle1 label{ 
      color: #545454; 
      font-weight: 400 !important;
      font-size: 14px;
}
.formStyle1 input, .formStyle1 select{
      border-color: transparent;
      text-align: right;
}
.formStyle1 .form-check-input{
      width: 20px; height:20px;
      border-radius: 100% !important;
}

/*--- @ lucky-algorithm ---*/
.pg-subtitle2{
      position: relative;
      background: rgba(249, 181, 168, 0);
      background: linear-gradient(90deg, rgba(249, 181, 168, 0) 0%, rgba(249, 181, 168, 1) 50%, rgba(249, 181, 168, 0) 100%);
      padding: .5rem;
      display: inline-flex;
      font-weight: bold;
}

.ol-listStyle1{ 
      margin: 1rem 0; 

      &>li{
            position: relative;
            padding-left: 15px;

            &::before{
                  content: ' ';
                  background: #e52a23;
                  width: 25px;
                  height: 25px;
                  border-radius: 12.5px;
                  position: absolute;
                  top: 0;
                  left: -23px;
                  z-index: -1;
            }

            &::marker{
                  color: white;
                  font-size: 14px;
            }
      }

      & ul{
            list-style-type: disc;
      }
}

/* === Footer ===  */
footer{
      position: fixed;
      bottom: 0;
      width: 100%;
      margin-bottom: 10px;
}
footer>.container{
      padding:0 0.5rem;
}
.footer-navbar{
      background: rgba(255, 255, 255, 0.7);
      border-radius: 10px;
      width: 100%;
      backdrop-filter: blur(10px);
}
footer .nav-link-txt{
      color: #545454;
      font-size: 0.9rem;
}
footer .navbar-nav{
      flex-direction: row;
}
footer .nav-link{
      display: flex;
      flex-direction: column;
      text-align: center;
      align-items: center;
}
footer .nav-link > img{
      width: 30px; height: auto;
}
.nav-item.active .nav-link img{ }
.nav-item.active .nav-link .nav-link-txt{
      color: #f550a0 !important;
      font-weight: 500;
}
