﻿:root {
  --fz-14: 14px;
  --fz-15: 15px;
}
.contect-stock {
  box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.07);
  position: fixed;
  z-index: 100001;
  width: 100%;
  max-width: 420px;
  left: 60px;
  bottom: 0;
  background: #fff;
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipInY;
  animation-name: flipInY;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.contect-stock.min {
  display: none;
}

.contect-stock .selectStock {
  padding: 53px 33px 33px 32px;
}
.contect-stock .selectStock .contect-stock-error {
    color: #F64E60;
    margin-bottom: 15px;
    font-weight: 400;
}
.contect-stock .selectStock .contect-stock-close {
  position: absolute;
  top: 33px;
  right: 31px;
  display: block;
  color: #000;
}

/*body:not(.hasSelectStocked) .contect-stock .selectStock .contect-stock-close {
  display: none;
}*/

.contect-stock .selectStock .contect-stock-close svg line:nth-of-type(1) {
  -webkit-clip-path: inset(100% 0 0 0);
  clip-path: inset(100% 0 0 0);
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.contect-stock .selectStock .contect-stock-close svg line:nth-of-type(2) {
  -webkit-clip-path: inset(0 0 0 0);
  clip-path: inset(0 0 0 0);
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.contect-stock .selectStock .contect-stock-close svg line:nth-of-type(3) {
  -webkit-clip-path: inset(100% 0 0 0);
  clip-path: inset(100% 0 0 0);
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

.contect-stock .selectStock .contect-stock-close svg line:nth-of-type(4) {
  -webkit-clip-path: inset(0 0 0 0);
  clip-path: inset(0 0 0 0);
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

.contect-stock .selectStock .contect-stock-close:hover svg line:nth-of-type(1) {
  -webkit-clip-path: inset(0 0 0 0);
  clip-path: inset(0 0 0 0);
  -webkit-transition: 0.3s 0.3s;
  -o-transition: 0.3s 0.3s;
  transition: 0.3s 0.3s;
}

.contect-stock .selectStock .contect-stock-close:hover svg line:nth-of-type(2) {
  -webkit-clip-path: inset(0 0 100% 0);
  clip-path: inset(0 0 100% 0);
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.contect-stock .selectStock .contect-stock-close:hover svg line:nth-of-type(3) {
  -webkit-clip-path: inset(0 0 0 0);
  clip-path: inset(0 0 0 0);
  -webkit-transition: 0.4s 0.6s;
  -o-transition: 0.4s 0.6s;
  transition: 0.4s 0.6s;
}

.contect-stock .selectStock .contect-stock-close:hover svg line:nth-of-type(4) {
  -webkit-clip-path: inset(0 0 100% 0);
  clip-path: inset(0 0 100% 0);
  -webkit-transition: 0.3s 0.2s;
  -o-transition: 0.3s 0.2s;
  transition: 0.3s 0.2s;
}

.contect-stock .selectStock h3 {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 700;
}

.contect-stock .selectStock .choose label {
  position: relative;
  margin: 0;
}

.contect-stock .selectStock .choose label input {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}

.contect-stock .selectStock .choose label span {
  word-spacing: 3px;
  position: relative;
  padding-left: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.contect-stock .selectStock .choose label span:before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border: 1px solid #c7cccf;
  left: 0;
  top: 0;
}

.contect-stock .selectStock .choose label span:after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--c-active);
  left: 4px;
  top: 4px;
  opacity: 0;
  transition: all 0.2s ease;
}

.contect-stock .selectStock .choose label input:checked ~ span:before {
  -webkit-animation: jelly 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: jelly 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 1;
}

.contect-stock .selectStock .choose label input:checked ~ span:after {
  opacity: 1;
  -webkit-animation: jelly 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: jelly 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contect-stock .selectStock .choose {
  margin-bottom: 12px;
}

.contect-stock .btn-success-stock {
  color: #fff;
  background-color: var(--c-active);
  border: 1px solid var(--c-active);
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: auto;
  margin: 0;
  font-size: 12px;
  line-height: 2em;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border-radius: 0;
  outline: 0;
  -webkit-appearance: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out;
  -o-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out;
  padding: 10px 40px;
  cursor: pointer;
  margin-top: 15px;
}

/*View*/
.stock-views {
  cursor: pointer;
}

.stock-views > i {
  background: #fff;
  color: #eb0e10;
  width: 25px;
  height: 25px;
  text-align: center;
  line-height: 25px;
  border-radius: 100%;
  font-size: 14px;
  margin-right: 10px;
}

.stock-views span i {
  padding-left: 5px;
}

.selectStock select {
  margin: 1rem 0;
}

@media (min-width: 768px) {
  .nav-mobile {
    width: 50%;
  }
}

@media (max-width: 767px) {
  .contect-stock {
    left: 0;
    width: 100%;
  }
}

.selectStock.min[data-stitle]:before {
  content: "Điểm hiện tại: " attr(data-stitle);
  display: block;
}

.body-waitAuthen .selectStock.min {
  display: block;
  width: 40px;
  height: 40px;
  left: 8px;
  margin: 0;
  bottom: 55px;
  padding: 0;
}

.body-waitAuthen .selectStock.min[data-stitle]:before {
  content: "\f041" !important;
  display: block;
  font: normal normal normal 14px/1 FontAwesome;
  line-height: 40px;
}

/*************************
      Stock Address End
*************************/

@-webkit-keyframes flipInX {
  0% {
    -webkit-transform: perspective(400px) rotateX(90deg);
    transform: perspective(400px) rotateX(90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotateX(-20deg);
    transform: perspective(400px) rotateX(-20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotateX(10deg);
    transform: perspective(400px) rotateX(10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotateX(-5deg);
    transform: perspective(400px) rotateX(-5deg);
  }

  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}

@keyframes flipInX {
  0% {
    -webkit-transform: perspective(400px) rotateX(90deg);
    transform: perspective(400px) rotateX(90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotateX(-20deg);
    transform: perspective(400px) rotateX(-20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotateX(10deg);
    transform: perspective(400px) rotateX(10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotateX(-5deg);
    transform: perspective(400px) rotateX(-5deg);
  }

  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}

@-webkit-keyframes flipInY {
  0% {
    -webkit-transform: perspective(400px) rotateY(90deg);
    transform: perspective(400px) rotateY(90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotateY(-20deg);
    transform: perspective(400px) rotateY(-20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotateY(10deg);
    transform: perspective(400px) rotateY(10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotateY(-5deg);
    transform: perspective(400px) rotateY(-5deg);
  }

  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}

@keyframes flipInY {
  0% {
    -webkit-transform: perspective(400px) rotateY(90deg);
    transform: perspective(400px) rotateY(90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotateY(-20deg);
    transform: perspective(400px) rotateY(-20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotateY(10deg);
    transform: perspective(400px) rotateY(10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotateY(-5deg);
    transform: perspective(400px) rotateY(-5deg);
  }

  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}

@-webkit-keyframes flipOutY {
  0% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }

  30% {
    -webkit-transform: perspective(400px) rotateY(-15deg);
    transform: perspective(400px) rotateY(-15deg);
    opacity: 1;
  }

  to {
    -webkit-transform: perspective(400px) rotateY(90deg);
    transform: perspective(400px) rotateY(90deg);
    opacity: 0;
  }
}

@keyframes flipOutY {
  0% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }

  30% {
    -webkit-transform: perspective(400px) rotateY(-15deg);
    transform: perspective(400px) rotateY(-15deg);
    opacity: 1;
  }

  to {
    -webkit-transform: perspective(400px) rotateY(90deg);
    transform: perspective(400px) rotateY(90deg);
    opacity: 0;
  }
}

@-webkit-keyframes jelly {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  30% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }

  40% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }

  50% {
    -webkit-transform: scale3d(0.85, 1.15, 1);
    transform: scale3d(0.85, 1.15, 1);
  }

  65% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1);
  }

  75% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1);
  }

  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes jelly {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  30% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }

  40% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }

  50% {
    -webkit-transform: scale3d(0.85, 1.15, 1);
    transform: scale3d(0.85, 1.15, 1);
  }

  65% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1);
  }

  75% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1);
  }

  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.body-waitAuthen.hasSelectStocked .contect-stock.min {
  display: block;
  bottom: 53px;
  left: 5px;
  padding: 0 5px;
  width: auto;
  border-radius: 3px;
}

.body-waitAuthen.hasSelectStocked:not(.showSelectStock)
  .contect-stock.min
  .selectStock {
  display: none;
}
.body-waitAuthen.hasSelectStocked:not(.showSelectStock)
  .contect-stock.min:before,
.body-waitAuthen.hasSelectStocked:not(.showSelectStock)
  .contect-stock.min:after {
  content: "";
  display: inline-block;
  line-height: 32px;
  white-space: nowrap;
}
.body-waitAuthen.hasSelectStocked:not(.showSelectStock)
  .contect-stock.min:before {
  content: "\f041";
  font: normal normal normal 14px/1 FontAwesome;
}
.body-waitAuthen.hasSelectStocked:not(.showSelectStock)
  .contect-stock.min:after {
  display: none;
}
body.showSelectStock .contect-stock.min {
  display: block;
}

.body-waitAuthen.hasSelectStocked:not(.showSelectStock) .contect-stock.min {
  display: block;
  bottom: auto;
  left: auto;
  padding: 0px 17px;
  width: auto;
  border-radius: 3px;
  top: 0;
  right: 0;
  background: no-repeat;
  color: #fff;
  font-size: 2rem;
  background: var(--color-app);
  height: 46px;
  width: 61px;
  text-align: center;
  box-shadow: none;
}
.body-waitAuthen.hasSelectStocked:not(.showSelectStock)
  .contect-stock.min:before {
  content: "\f041";
  font: normal normal normal 14px/1 FontAwesome;
  position: absolute;
  top: 50%;
  margin-top: -7px;
  font-size: 1.2rem;
}
body[data-crsection="section-login"].body-waitAuthen.hasSelectStocked:not(.showSelectStock)
  .contect-stock.min,
body[data-crsection="section-reg"].body-waitAuthen.hasSelectStocked:not(.showSelectStock)
  .contect-stock.min {
  display: none;
}
