.line-primary{
  width: 80vw;
  height: 2px;
  background-color: var(--color-primary);
  margin: 0 auto;
  margin-top: 20px;
}
.ecl1-title {
  color: var(--color-primary);
  font-size: 28px;
  margin-bottom: 15px;
  margin-top: 20px;
}
.ecl1-desc{
  font-size: 18px;
  color: #B2B2B2;
   margin-bottom: 40px;
}
body {
  background-color: black !important;
}
.ecl1-event__card{
  display: flex;
  gap: 10px;
  flex-direction: column;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.ecl1-event__wrapper{
  display: flex;
  justify-content: center;
  gap: 100px;
  align-items: baseline;
}
.ecl1-event__btn{
  background-color: #353537;
  color: #B2B2B2;
  text-align: center;
  font-size: 14px;
  padding: 10px 0;
  border-radius: 15px;
  cursor: pointer;
  width: 100%;
}
.selected .ecl1-event__btn{
  background-color: var(--color-primary);
  color: black;
}
.country-logo__xl{
      height: 80px;
}
.country-logo__container__middle{
  width: 280px;
}
.paragraph-group{
  color: white;
}
.paragraph-group h1{
  font-size: 20px;
  font-weight: bold;
}
.paragraph-group{
  margin-bottom: 15px;
}
.paragraph-group p{
  font-size: 12px;
  color: #cecece;
}
.past-record {
  display: grid;
  grid-template-columns: repeat(4, calc(25% - 15px));
  gap: 20px;
  width: 1154px;
}
.past-record__item {
  border-radius: 16px;
  width: 271px;
}
.past-record__header {
  background-color: #E76A68;
  color: #fff;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 14px;
  min-height: 52.5px;
}
.past-record__header--hints {
  font-size: 12px;
  font-weight: normal;
}
.past-record__body {
  position: relative;
  background-color: #fff;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;

}
.past-record__avatar {
  border: 1px solid #CC3633;
  border-radius: 50%;
  margin: auto;
  display: block;
  transform: translate3d(-50%, 0 ,0);
  width: 76px;
  top: -36px;
  left: 50%;
  position: absolute;
  height: 76px;
  margin-bottom: 0;
  background-color: #ffffff;

}
.past-record__avatar--img {
  width: 40px;
  height: 40px;
  margin: 18px auto;
  display: block;
}
.past-record__avatar--title {
  font-weight: bold;
  font-size: 16px;
  padding: 46px 10px 0;
  text-align: center;
}
.past-record__avatar--date {
  color: #B2B2B2;
  font-size: 14px;
  text-align: center;
}
.past-record__prize {
  display: grid;
  grid-template-columns: repeat(2, 50%);
}
.past-record__prize--item {
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
  margin: 10px 0;
}
.past-record__prize--item:nth-child(1) {
    border-right: 1px solid #B2B2B2;
}
.past-record__prize--item:nth-child(2) {
    border-left: 1px solid #B2B2B2;
}
.past-record__prize--item--prize {

}
.past-record__prize--item--hints {
  font-size: 12px;
  padding-top: 5px;
}
.past-record__prize--predicted {
  text-align: center;
  padding: 0 0 20px;
}
.date-ended {
  text-align: center;
}
.date-ended__title {
  font-size: 14px;
  color: #B2B2B2;
  margin-bottom: 5px;
}
.date-ended__suffix {

}
.date-ended__value {
  padding: 14px 14px 12px;
  border-radius: 15px;
  background: #EBEBEB;
  width: 80%;
  margin: auto;
  display: inline-block;
  height: 45px;
}
.date-ended__suffix {
  vertical-align: top;
  font-size: 10px;
}
.btn_list {

  padding: 20px 0;
}
.btn-rules {
  width: 179px;
  height: 41px;
  background: #353537;
  color: #FFF;
  width: 70%;
  margin: 0 auto 10px;
}
.btn-check {
  border-radius: 15px;
  background: #FABB2E;
  width: 179px;
  height: 41px;
  color: #18191A;
  width: 70%;
  margin: auto;
  display: block;
}
.ended-btn {
  background-color: #CC3633;
  border-radius: 50px;
  padding: 0;
  width: 100px;
  height: 25px;
  line-height: 25px;
  margin: 10px auto 5px;
  display: block;
}
.rules_modal {
  width: 1125px !important;
  max-width: 1125px;
  min-height: 472px;
}

.rules_modal--wrapper {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 30px;
}

.ranking-rules_ul {
  list-style: disc !important;
}
.ranking-rules_ul li {
  //list-style-position: inside;
}

.ranking-rules_ul .child-ranking-rules_ul {
  list-style: none !important;
}
.ranking-rules_ul .child-ranking-rules_ul li {
  list-style-position: inside;
}


.table-rules {
  margin: 30px 0 !important;
}

.num-ref-list {
  padding: 30px 0;
  display: grid;
  grid-template-columns: repeat(2, calc(50% - 15px));
  grid-gap: 30px;
}
.num-ref-list img {
  width: 100%;
}
.how-to-win-title {
  font-weight: bold;
  font-size: 16px;
  padding: 30px 0;
}

.text-red {
  color: #CC3633;
}
.text-yellow {
  color: #FABB2E;
}
.text-white {
  color: #fff;
}
.text-green {
  color: #289D82;
}
.table-faq {
  border: 0 !important;
}
.table-faq tr {
  background-color: transparent !important;
}
.table-faq tbody td {
  color: #B2B2B2 !important;
  vertical-align: baseline;
}
.past-record-detail{
  width: 100%;
}

/* 1ecl */
.e1ecl-top__wrapper{
  position: absolute;
  top: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.e1ecl-customer-service-box{
  background-color: #ffffff29;
  border: 1px solid white;
}
.e1ecl-top__logo {
  width: 20vw;
}
.e1ecl-top__logo-ecl {
  width: 154px;
  margin-bottom: 2vw;
}
.e1ecl-top__title{
  color: white; 
  text-align: center;
}
.e1ecl-how-to-play{
  text-align: center;
  color: var(--color-primary);
  margin-bottom: 16px;
  font-size: 20px;
}
.e1ecl-img1__wrapper{
  display: flex;
  align-items: center;
  justify-content: center;
}
.e1ecl-footer__card{
  display: flex;
  color: white;
  padding: 80px 1px;
  border-bottom: 1px solid white;
  gap: 50px;
}
.e1ecl-footer__left{
  flex: 1;
  display: flex;
  align-items: end;
}
.e1ecl-footer__right{
  flex: 1;
}
.e1ecl-footer__left-number{
  font-size: 250px;
  color: var(--color-primary);
  display: block;
  line-height: 190px;
}
.e1ecl-footer__left-paragraph{
  display: block;
  font-size: 29px;
  width: 70%;
}
.e1ecl-footer__left-grap{
  display: flex;
  align-items: end;
  margin-bottom: 30px;
}
.e1ecl-footer__special{

}
.e1ecl-footer__left-slash{
  font-size: 38px;
}
.e1ecl-text-justify{
  text-align: justify;
}
@media(max-width: 768px) {
  .ranking-rules_ul{
    padding-left: 1rem;
  }
.past-record {
  display: block;
  margin: 0 10px;
  width: auto;
}

.past-record__item {
  width: 100%;
  margin: 0 0 1rem 0;
}
.rules_modal {
  width: 100%;
}
.rules_modal .deposit-first__modal-body {
  padding: 20px !important;
}
.num-ref-list {
  display: block;
}
.num-ref-item {
  margin-bottom: 35px;
}
.table-rules thead tr th {
  padding: 12px;
  font-size: 11px;
}
.table-rules tbody tr td{
  font-size: 11px;
}
}

@media(max-width: 768px) {
  .country-logo__container__middle{
      display: none;
  }
  .country-logo__xl{
      height: 55px;
  }
  .ecl1-event__wrapper{
      gap: 18px;
  }
  .line-primary{
    width: 100%;
  }
  .ecl1-select-country{
    margin: 10px 0;
    font-size: 16px;
    color: white;
  }
  .ecl1-title{
    font-size: 24px;
  }
  .e1ecl-how-to-play{
    margin-top: 0vw;
  }
  .e1ecl-top__logo{
    width: 72%;
  }
  .e1ecl-footer__container-mobile__header{
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    align-items: end;
  }
  .e1ecl-footer__container-mobile__index{
    color: var(--color-primary);
    font-size: 50px;
    line-height: 41px;
  }
  .e1ecl-footer__container-mobile{
    color: white;
    margin-top: 30px;
  }
  .e1ecl-footer__container{
    margin-bottom: 20px;
  }
}
