.has-scroll {
  position: fixed !important;
  top: 0;
  right: 0;
  left: 0;
  box-shadow: 0px 2px 5px 0px #00000080;
  animation: menuSlideInDown 0.5s ease-out;
}

@keyframes menuSlideInDown {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
  }

  100% {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* Hvr Underline */
.hvr-underline {
  display: inline;
}

.hvr-underline {
  background: linear-gradient(90deg, transparent, transparent),
    linear-gradient(90deg, #1f1c17, #1f1c17);
  background-size: 100% 1px, 0 1px;
  background-position: 100% calc(100% - 3px), 0 calc(100% - 3px);
  background-repeat: no-repeat;
  transition: background-size 0.3s;
}

.hvr-underline:hover {
  background-size: 0 1px, 100% 1px;
}

/* Hvr Double Box */
.hvr-double-shape {
  overflow: hidden;
  position: relative;
  display: block;
}

.hvr-double-shape:before,
.hvr-double-shape:after {
  opacity: 0.25;
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  display: inline-block;
  background: #fff;
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.hvr-double-shape:hover:before,
.hvr-double-shape:hover:after {
  transform: scaleX(1);
}

.hvr-double-shape:before {
  top: 0;
  bottom: 50%;
  transform-origin: 100% 0%;
}

.hvr-double-shape:hover:before {
  transform-origin: 0% 100%;
}

.hvr-double-shape:after {
  top: 50%;
  bottom: 0;
  transform-origin: 0% 100%;
}

.hvr-double-shape:hover:after {
  transform-origin: 100% 0%;
}

/* Hvr Double Box */
.hvr-double-box {
  overflow: hidden;
  position: relative;
  display: block;
}

.hvr-double-box:before {
  -webkit-opacity: 1;
  -khtml-opacity: 1;
  -moz-opacity: 1;
  -ms-opacity: 1;
  -o-opacity: 1;
  opacity: 1;
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.5);
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}

.hvr-double-box:after {
  -webkit-opacity: 1;
  -khtml-opacity: 1;
  -moz-opacity: 1;
  -ms-opacity: 1;
  -o-opacity: 1;
  opacity: 1;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.5);
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}

.hvr-double-box:hover:before,
.hvr-double-box:hover:after {
  -webkit-opacity: 0;
  -khtml-opacity: 0;
  -moz-opacity: 0;
  -ms-opacity: 0;
  -o-opacity: 0;
  opacity: 0;
  height: 100%;
  width: 100%;
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
  -webkit-transition-duration: 1.3s;
  -moz-transition-duration: 1.3s;
  -ms-transition-duration: 1.3s;
  -o-transition-duration: 1.3s;
  transition-duration: 1.3s;
}

/* Hvr Float Shadow */
.hvr-float-shadow {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  box-shadow: 0 0 1px transparent;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}

.hvr-float-shadow:before {
  opacity: 0;
  position: absolute;
  content: "";
  top: 100%;
  left: 5%;
  z-index: -1;
  width: 90%;
  height: 10px;
  background: -webkit-radial-gradient(center,
      ellipse,
      rgba(0, 0, 0, 0.35) 0,
      transparent 80%);
  background: radial-gradient(ellipse at center,
      rgba(0, 0, 0, 0.35) 0,
      transparent 80%);
  -webkit-transition-property: transform, opacity;
  transition-property: transform, opacity;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  pointer-events: none;
}

.hvr-float-shadow:active,
.hvr-float-shadow:focus,
.hvr-float-shadow:hover {
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
}

.hvr-float-shadow:active:before,
.hvr-float-shadow:focus:before,
.hvr-float-shadow:hover:before {
  opacity: 1;
  -webkit-transform: translateY(5px);
  transform: translateY(5px);
}

/* Hvr Flash Shape */
.hvr-flash-shape {
  overflow: hidden;
  position: relative;
}

.hvr-flash-shape:before {
  content: "";
  position: absolute;
  top: 0;
  left: -85%;
  z-index: 10;
  display: block;
  width: 50%;
  height: 100%;
  background: -webkit-linear-gradient(left,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.3) 100%);
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.3) 100%);
  -webkit-transform: skewX(-25deg);
  transform: skewX(-25deg);
}

.hvr-flash-shape:hover:before {
  transition: 1s;
  left: 130%;
}

/* Hvr Flash Box */
.hrv-flash-box {
  overflow: hidden;
  position: relative;
  display: block;
}

.hrv-flash-box:hover:before {
  top: 0;
  left: 0;
}

.hrv-flash-box:before {
  top: -100%;
  left: -100%;
}

.hrv-flash-box:after {
  right: -100%;
  bottom: -100%;
}

.hrv-flash-box:before,
.hrv-flash-box:after {
  display: block;
}

.hrv-flash-box:before,
.hrv-flash-box:after {
  content: "";
  position: absolute;
  z-index: 8;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3) none repeat scroll 0 0;
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}

.hrv-flash-box:hover img {
  -webkit-transform: scale(1.2, 1.2);
  -moz-transform: scale(1.2, 1.2);
  -o-transform: scale(1.2, 1.2);
  -ms-transform: scale(1.2, 1.2);
  transform: scale(1.2, 1.2);
}

.hrv-flash-box img {
  transition: 0.7s;
}

.hrv-flash-box:hover:after {
  right: 0;
  bottom: 0;
}

/* Scale Img */
.scale-img {
  overflow: hidden;
  display: block;
}

.scale-img img {
  -webkit-transition: 0.3s ease-out !important;
  -moz-transition: 0.3s ease-out !important;
  -ms-transition: 0.3s ease-out !important;
  -o-transition: 0.3s ease-out !important;
  transition: 0.3s ease-out !important;
  -webkit-transform: scale(1, 1);
  -moz-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  -o-transform: scale(1, 1);
  transform: scale(1, 1);
}

.scale-img:hover>img {
  -webkit-transition: 0.3s ease-out !important;
  -moz-transition: 0.3s ease-out !important;
  -ms-transition: 0.3s ease-out !important;
  -o-transition: 0.3s ease-out !important;
  transition: 0.3s ease-out !important;
  -moz-transform: scale(1.1, 1.1);
  -webkit-transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
  -o-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
}

.duongcheosang {
  transform: scale(1, 1);
  overflow: hidden;
  transition: width 2s, height 2s, transform 2s;
  cursor: pointer;
}

.duongcheosang:hover:before {
  transform: scale3d(2.2, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0, 120%, 0);
}

.duongcheosang:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  content: "";
  z-index: 10;
  transition: transform 0.6s;
  transform: scale3d(2.2, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0, -120%, 0);
}

.duongcheosang2 {
  overflow: hidden;
  position: relative;
}

.duongcheosang2:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  background: rgba(67, 69, 113, 0);
  transition: all 0.6s ease-in-out;
  -moz-transition: all 0.6s ease-in-out;
  -ms-transition: all 0.6s ease-in-out;
  -o-transition: all 0.6s ease-in-out;
}

.duongcheosang2:after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(67, 69, 113, 0);
  transition: all 0.6s ease-in-out;
  -moz-transition: all 0.6s ease-in-out;
  -ms-transition: all 0.6s ease-in-out;
  -o-transition: all 0.6s ease-in-out;
}

.duongcheosang2:hover:before {
  right: 50%;
  left: 50%;
  width: 0;
  background: rgba(255, 255, 255, 0.5);
}

.duongcheosang2:hover:after {
  height: 0;
  top: 50%;
  bottom: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.duongcheosang3 {
  position: relative;
  overflow: hidden;
}

.duongcheosang3::before {
  content: "";
  background: rgba(255, 255, 255, 0.5);
  bottom: 0;
  left: 0;
  position: absolute;
  transform: rotate(90deg);
  -khtml-opacity: 1;
  -o-opacity: 1;
  -ms-opacity: 1;
  -webkit-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
  width: 0;
  height: 0;
  z-index: 1;
}

.duongcheosang3::after {
  content: "";
  background: rgba(255, 255, 255, 0.5);
  top: 0;
  right: 0;
  position: absolute;
  transform: rotate(90deg);
  -khtml-opacity: 1;
  -o-opacity: 1;
  -ms-opacity: 1;
  -webkit-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
  width: 0;
  height: 0;
  z-index: 2;
}

.duongcheosang3:hover::before,
.duongcheosang3:hover::after {
  transform: rotateY(180deg);
  transition-duration: 1.3s;
  -khtml-opacity: 0;
  -o-opacity: 0;
  -ms-opacity: 0;
  -webkit-opacity: 0;
  -moz-opacity: 0;
  opacity: 0;
  height: 100%;
  width: 100%;
}

/*phone xoay tron*/
.quick_contact {
  position: fixed;
  bottom: 5% !important;
  left: 60px;
  z-index: 20;
}

.quick_contact a {
  display: block;
  position: relative;
  font-size: 18px;
  color: #fff;
  padding: 0 20px 0 35px;
  height: 45px;
  line-height: 45px;
  text-decoration: none;
  border-radius: 0 40px 40px 0;
}

.quick_contact a span {
  display: block;
  width: 45px;
  height: 45px;
  line-height: 40px;
  border-radius: 50%;
  text-align: center;
  position: absolute;
  left: -25px;
  top: -2.5px;
  border: solid 5px #fff;
}

.button_gradient {
  background-image: linear-gradient(90deg, #e51c23 0%, #ee1d23 100%);
  border: 2px #fff solid;
}

.quick_contact a span:before {
  content: "";
  position: absolute;
  top: -30px;
  left: -27px;
  width: 95px;
  height: 95px;
  background: url(../images/contact_rotate.png) center no-repeat;
  animation: rotate 3s linear infinite;
}

.quick_contact a span .fa {
  font-size: 26px;
  color: #fff;
}

.contact-phone {
  float: left;
  width: 100%;
  text-align: center;
  font-size: 18px;
  height: 45px;
  font-weight: bold;
  animation-duration: 500ms;
  animation-name: calllink;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  line-height: 45px;
}

@-webkit-keyframes rotate {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg)
  }

  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg)
  }
}

@keyframes rotate {
  from {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg)
  }

  to {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg)
  }
}

@keyframes calllink {
  0% {
    color: #eba11e;
  }

  50% {
    color: #fff;
  }

  100% {
    color: #ebfa48;
  }
}

/* Blink */
.blink {
  -webkit-animation-name: blink;
  -webkit-animation-duration: 1s;
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-name: blink;
  -moz-animation-duration: 1s;
  -moz-animation-timing-function: linear;
  -moz-animation-iteration-count: infinite;
  animation-name: blink;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-webkit-keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes shake-anim {
  0% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
    transform: rotate(0) scale(1) skew(1deg);
  }

  10%,
  30% {
    -moz-transform: rotate(-25deg) scale(1) skew(1deg);
  }

  20%,
  40% {
    -moz-transform: rotate(25deg) scale(1) skew(1deg);
  }

  100%,
  50% {
    -moz-transform: rotate(0) scale(1) skew(1deg);
  }
}

@-webkit-keyframes shake-anim {

  0%,
  100%,
  50% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
  }

  10%,
  30% {
    -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
  }

  20%,
  40% {
    -webkit-transform: rotate(25deg) scale(1) skew(1deg);
  }
}