/*
Theme Name: NGUYÊN NINH
Description: This is a child theme for Flatsome Theme
Author: trungquandev@gmail.com
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
#header {
  .header-top {
    padding: 5px 0;
    .icon-box {
      display: flex;
      align-items: center;
      img {
        padding: 0;
        height: 18px;
        object-fit: contain;
      }
      .icon-box-text {
        font-size: 0.8em;
        color: #fff;
        padding-left: 8px;
      }
    }
  }
}
.title_main {
  &.text_white {
    h1 {
      color: #fff;
    }
    p {
      color: #fff;
    }
  }
  h1 {
    font-size: 2.5em;
    color: var(--primary-color);
  }
  p {
    color: #717171;
    font-size: 0.9em;
  }
}
.home_intro {
  h1 {
    > strong {
      color: var(--primary-color);
      font-weight: 500;
    }
  }
  .img {
    border-radius: 16px;
    overflow: hidden;
  }
}
p {
  margin-bottom: 10px;
}
.product-small {
  .box-image {
    img {
      border-radius: 16px;
      overflow: hidden;
    }
  }
  .box-text {
    .product-title {
      > a {
        font-weight: 700;
        font-size: 1.1em;
        color: #141212;
      }
    }
    .price-wrapper {
      margin: 10px 0;
      .woocommerce-Price-amount {
        color: var(--primary-color);
      }
    }
    .box-excerpt {
      font-size: 0.9em;
      color: #717171;
    }
    .add-to-cart-button {
      > a {
        background-color: var(--primary-color);
        color: #fff;
        padding: 0px 20px;
        height: 38px;
        border-radius: 30px;
        line-height: 34px !important;
        margin-top: 1em;
        font-size: 0.9em !important;
        text-transform: unset !important;
      }
    }
  }
}
.home_form {
  .evf-field {
    input,
    textarea {
      min-height: 45px;
      border: none;
      box-shadow: none;
    }
  }
  .evf-submit-container {
    .evf-submit {
      background-color: var(--primary-color) !important;
      width: 100%;
      border: none !important;
      color: #fff !important;
    }
  }
}
#logo > a {
  font-family: Pacifico, sans-serif;
  font-size: 25px;
  text-transform: unset;
}
.contact_main {
  .evf-field {
    input,
    textarea {
      min-height: 45px;
      box-shadow: none;
    }
  }
  .evf-submit-container {
    padding: 0 !important;
    .evf-submit {
      background-color: var(--primary-color) !important;
      width: 100%;
      border: none !important;
      color: #fff !important;
    }
  }
}
#footer {
  h1 {
    margin-bottom: 30px;
    color: var(--primary-color);
  }
  .ux-menu {
    .ux-menu-link__link {
      color: #fff;
    }
  }
}
.absolute-footer {
  display: none;
}
.hotline-phone-ring-wrap {
  position: fixed;
  bottom: 50px;
  left: 0;
  z-index: 999999;
}
.hotline-phone-ring {
  position: relative;
  visibility: visible;
  background-color: transparent;
  width: 110px;
  height: 110px;
  cursor: pointer;
  z-index: 11;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transition: visibility 0.5s;
  left: 0;
  bottom: 0;
  display: block;
}
.hotline-phone-ring-circle {
  width: 85px;
  height: 85px;
  top: 10px;
  left: 10px;
  position: absolute;
  background-color: transparent;
  border-radius: 100%;
  border: 2px solid #81d742;
  -webkit-animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
  animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
  transition: all 0.5s;
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  opacity: 0.5;
}
.hotline-phone-ring-circle-fill {
  width: 55px;
  height: 55px;
  top: 25px;
  left: 25px;
  position: absolute;
  background-color: #81d742ab;
  border-radius: 100%;
  border: 2px solid transparent;
  -webkit-animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
  animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
  transition: all 0.5s;
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
}
.hotline-phone-ring-img-circle {
  background-color: #81d742;
  width: 33px;
  height: 33px;
  top: 36px;
  left: 36px;
  position: absolute;
  background-size: 20px;
  border-radius: 100%;
  border: 2px solid transparent;
  -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
  animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.hotline-phone-ring-img-circle .pps-btn-img {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.hotline-phone-ring-img-circle .pps-btn-img img {
  width: 20px;
  height: 20px;
}
.hotline-bar {
  position: absolute;
  background-color: #81d742ab;
  border-radius: 3px;
  padding: 0 15px 0 0;
  background-size: 100%;
  cursor: pointer;
  transition: all 0.8s;
  -webkit-transition: all 0.8s;
  z-index: 9;
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.25),
    0 10px 10px rgba(0, 0, 0, 0.1);
  border-radius: 50px !important;
  /* width: 175px !important; */
  left: 33px;
  bottom: 37px;
}
.hotline-bar > a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  text-indent: 50px;
  display: block;
  letter-spacing: 1px;
  line-height: 40px;
  font-family: Arial;
}
.hotline-bar > a:hover,
.hotline-bar > a:active {
  color: #fff;
}
@-webkit-keyframes phonering-alo-circle-anim {
  0% {
    -webkit-transform: rotate(0) scale(0.5) skew(1deg);
    -webkit-opacity: 0.1;
  }
  30% {
    -webkit-transform: rotate(0) scale(0.7) skew(1deg);
    -webkit-opacity: 0.5;
  }
  100% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
    -webkit-opacity: 0.1;
  }
}
@-webkit-keyframes phonering-alo-circle-fill-anim {
  0% {
    -webkit-transform: rotate(0) scale(0.7) skew(1deg);
    opacity: 0.6;
  }
  50% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
    opacity: 0.6;
  }
  100% {
    -webkit-transform: rotate(0) scale(0.7) skew(1deg);
    opacity: 0.6;
  }
}
@-webkit-keyframes phonering-alo-circle-img-anim {
  0% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
  }
  10% {
    -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
  }
  20% {
    -webkit-transform: rotate(25deg) scale(1) skew(1deg);
  }
  30% {
    -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
  }
  40% {
    -webkit-transform: rotate(25deg) scale(1) skew(1deg);
  }
  50% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
  }
  100% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
  }
}
.zalo-link-wrap {
  position: fixed;
  bottom: 150px;
  left: 25px;
  z-index: 999999;
  animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
}
