@import "../../css/fonts.css";

.input-group-copy .input-group-btn::before {
    content: 'Copied!';
    display: block;
    padding: 0px 4px;
    font-size: 12px;
    line-height: 20px;
    width: 54px;
    text-align: center;
    background-color: #222;
    color: #fff;
    border-radius: 4px;
    position: absolute;
    top: -30px;
    left: 50%;
    margin-left: -50px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: 0.3s all ease;
    -moz-transition: 0.3s all ease;
    transition: 0.3s all ease;
    position: absolute;
    z-index: 9999;
}

.input-group-copy .form-control {
    width: -webkit-calc( 100% - 60px );
    width: -moz-calc( 100% - 60px );
    width: calc( 100% - 60px );
    background-color: transparent;
}

.input-group {
    display: flex !important;
}

.input-group-btn:last-child>.btn, .input-group-btn:last-child>.btn-group {
    z-index: 99 !important;
}

.input-group-copy .input-group-btn {
    display: inline;
}

.input-group-copy .form-control:focus + .input-group-btn::before {
    opacity: 1;
    visibility: visible;
}

.input-group-copy .btn-copy {
    height: 34px;
    width: 60px;
    text-align: center;
    cursor: pointer;
    float: right;
    font-family: 'Proxima';
}


@keyframes tonext {
    75% {
      left: 0;
    }
    95% {
      left: 100%;
    }
    98% {
      left: 100%;
    }
    99% {
      left: 0;
    }
  }

  @keyframes tostart {
    75% {
      left: 0;
    }
    95% {
      left: -300%;
    }
    98% {
      left: -300%;
    }
    99% {
      left: 0;
    }
  }

  @keyframes snap {
    96% {
      scroll-snap-align: center;
    }
    97% {
      scroll-snap-align: none;
    }
    99% {
      scroll-snap-align: none;
    }
    100% {
      scroll-snap-align: center;
    }
  }

  body {
    margin: 0 auto;
    overflow-x: hidden;
  }

  * {
    box-sizing: border-box;
    scrollbar-color: transparent transparent; /* thumb and track color */
    scrollbar-width: 0px;
  }

  *::-webkit-scrollbar {
    width: 0;
  }

  *::-webkit-scrollbar-track {
    background: transparent;
  }

  *::-webkit-scrollbar-thumb {
    background: transparent;
    border: none;
  }

  * {
    -ms-overflow-style: none;
  }

  ol, li {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .carousel {
    position: relative;
    padding-top: 43%;
    perspective: 100px;
  }

  .carousel__viewport {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    overflow-x: scroll;
    counter-reset: item;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
  }

  .carousel__slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    background-color: #fff;
    counter-increment: item;
  }

  .carousel__slide:nth-child(even) {
    background-color: #fff;
  }

  .carousel__slide:before {
    content: counter(item);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%,-40%,70px);
    color: #fff;
    font-size: 2em;
  }

  .carousel__snapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    scroll-snap-align: center;
  }

  @media (hover: hover) {
    .carousel__snapper {
      animation-name: tonext, snap;
      animation-timing-function: ease;
      animation-duration: 4s;
      animation-iteration-count: infinite;
    }

    .carousel__slide:last-child .carousel__snapper {
      animation-name: tostart, snap;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .carousel__snapper {
      animation-name: none;
    }
  }

  .carousel:hover .carousel__snapper,
  .carousel:focus-within .carousel__snapper {
    animation-name: none;
  }

  .carousel__navigation {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center;
  }

  .carousel__navigation-list,
  .carousel__navigation-item {
    display: inline-block;
  }

  
  .carousel__navigation-item:active {
    width: 1.5rem;
    height: 1.5rem;
    background: rgba(234, 234, 234, 1);
    background-clip: content-box;
    border: 0.25rem solid transparent;
    border-radius: 50%;
  }

  .carousel__navigation-item::before {
     background: rgba(234, 234, 234, 1)
  }

  .carousel__navigation-button:active {
    width: 1.5rem;
    height: 1.5rem;
   
    background-clip: content-box;
    border: 0.25rem solid transparent;
    border-radius: 50%;
  }

  .carousel__navigation-button {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background: rgba(234, 234, 234, 1);
    background-clip: content-box;
    border: 0.25rem solid transparent;
    border-radius: 50%;
    font-size: 0;
    transition: transform 0.1s;
  }

  .carousel::before,
  .carousel::after,
  .carousel__prev,
  .carousel__next {
    position: absolute;
    top: 0;
    margin-top: 37.5%;
    width: 4rem;
    height: 4rem;
    transform: translateY(-50%);
    border-radius: 50%;
    font-size: 0;
    outline: 0;
  }

  .carousel::before,
  .carousel__prev {
    left: -1rem;
  }

  .carousel::after,
  .carousel__next {
    right: -1rem;
  }

  .carousel::before,
  .carousel::after {
    content: '';
    z-index: 1;
    pointer-events: none;
  }

  .form-group {
    font-size: 14px;
    font-weight: 600;
    line-height: 21px;
    letter-spacing: 0em;
    text-align: left;
    color: #000;
    margin-bottom: 0px !important;
  }

  .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    background: rgba(245, 248, 253, 1) !important;
    border:none !important;
  }

  .btn-default {
    background: rgba(245, 248, 253, 1) !important;
    border:none !important;
    color :rgba(252, 132, 60, 1) !important;
  }


  .form-control {
    box-shadow: none !important;
  }

  .wrp-text {
      display: flex;
      justify-content: space-between;
      padding-top: 12px;
  }

  .title-text-all {
    color :rgba(252, 132, 60, 1) !important;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    margin-right: 10px; 
  }

  a.more-detail {
    color :rgba(252, 132, 60, 1) !important;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px; 
    margin-top: 12px;
    font-family: 'Proxima';
  }

  a.more-detail:hover, a.title-text-all:hover{
    text-decoration: none;
  }
  .wrp-text-all {
    width: 95px;
  }

  .title-promo {
    font-family: 'Proxima';
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 21px;
    margin-bottom: 12px;
    height: 40px;
}

.form-group {
    font-family: 'Proxima';
}

.notif {
  font-family: 'Proxima';
  font-size: 11px;
  color: #3B3B3B;
}

.input-group {
  margin: 30px 0px 5px !important;
}

.wrp-notif {
  border-radius: 4px;
  display: flex;
  padding: 12px;
  align-items: flex-start;
  background: rgba(232, 246, 255, 1);
}

.title-text-insert {
  font-family: 'Proxima Semi Bold';
  font-size: 16px;
}

.input-group .form-control::selection{
    background-color: #F5F8FD !important;
    color: #0064D2 !important;
}

.x-scroll .element {
float: left;
}

@supports(scroll-snap-type: y mandatory) {
.no-support {
    display: none;
    }
}

.x-scroll .wrapper {
    width: 1000px;
}
.example-wrapper {
    text-align: center;
    width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.container {
    width: 340px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    overflow: scroll;
    position: relative;
}

.container-shop {
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    overflow: scroll;
    position: relative;
    }


.element {
    width: 272px;
    height: 155px;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    display: flex;
    justify-content: center;
    box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.12);
    background-color: #fff;
    margin:10px 0px 5px 20px;
    padding: 16px 16px;
    border-radius: 4px;
    align-items: flex-start;
    gap: 12px;
}

.element-detail {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    justify-content:left;
    box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.12);
    background-color: #fff;
    margin:10px 5px 20px 5px;
    padding: 16px 16px;
    border-radius: 4px;
    align-items: flex-start;
    gap: 12px;
}

.x-mandatory {
    scroll-snap-type: x mandatory;
}

.x-proximity {
    scroll-snap-type: x proximity;
}
