body.home {
  padding-top: 0 !important;
}

ul li {
  list-style: none;

}

.container {
  padding-left: 20px;
  padding-right: 20px;
}

#custom-header .ehp-header__elements-container {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

header.has-behavior-onscroll-always {
  min-height: 60px;
}

.home header.has-behavior-onscroll-always:not(.scroll-down)
  img.ehp-header__site-logo {
  filter: brightness(0) invert(1);
  -webkit-filter: brightness(0) invert(1);
}

body:not(.home) header.has-behavior-onscroll-always .ehp-header__navigation ul li .ehp-header__item,
header.has-behavior-onscroll-always.scroll-down
  .ehp-header__navigation
  ul
  li
  .ehp-header__item {
  color: #333;
}

header.has-behavior-onscroll-always.scroll-down
  .ehp-header__navigation
  ul
  li
  .ehp-header__item:hover {
  color: #6125f0;
}

header.has-behavior-onscroll-always.header-hidden {
  height: 0;
  opacity: 0;
  min-height: 0;
}

.margin-zero p {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  header.has-behavior-onscroll-always.scroll-down .ehp-header__navigation ul li .ehp-header__item:hover {
    color: #001014;
  }

  .ehp-header__side-toggle {
    align-items: center;
  }
  .ehp-header__side-toggle .ehp-header__button-toggle {
    background-color: #6125f0 !important;
    color: #fff !important;
    min-width: 40px;
    height: 40px;
  }
  .ehp-header__side-toggle .ehp-header__button-toggle svg {
    fill: #fff !important;
  }
  .ehp-header__button-toggle .ehp-header__toggle-icon--close {
    color: #fff !important;
  }

  .ehp-header__navigation {
    background-color: #6125f0 !important;
    padding: 25px 0 !important;
  }

  .ehp-header__navigation .ehp-header__menu .menu-item .ehp-header__item {
    color: #fff;
  }

  .q-section-banner .slick-arrow {
    top: auto;
    bottom: 30px;
    transform: translateY(0);
  }

  header.has-behavior-onscroll-always.scroll-down
    .ehp-header__navigation
    ul
    li
    .ehp-header__item {
    color: #fff;
  }

  .ehp-header__navigation a.ehp-header__button {
    background-color: #fff !important;
    color: #6125f0 !important;
  }

  .ehp-header__navigation {
    display: none;
    height: 0;
    min-height: 0;
  }

  .ehp-header__navigation[aria-hidden="false"] {
    display: block;
    min-height: 400px;
  }

  .ehp-header__button-toggle[aria-expanded="false"]
    .ehp-header__toggle-icon--open {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 499px) {
  #popmake-632 textarea {
    max-height: 80px;
  }
}

#popmake-632 form label {
  width: 100%;
  font-weight: 600;
  text-transform: uppercase;
}

#popmake-632 form p {
  margin-bottom: 25px;
}

#popmake-632 [type="button"], #popmake-632  [type="submit"], #popmake-632  button {
  background-color: #6125F0;
  color: #fff;
  border: #6125F0;
}

#popmake-632  [type="submit"] {
  width: 100%;
}

#popmake-632 [type="button"]:hover, 
#popmake-632  [type="submit"]:hover, 
#popmake-632  button:hover {
  background-color: #1B0047;
}

#popmake-632 .pum-title.popmake-title {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
  margin-top: 10px;
}

.pum-theme-624 #popmake-632.pum-container {
  border: 0px solid #6125F0;
}

#popmake-632 .wpcf7-form-control-wrap {
  margin-top: 7px;
  display: inline-block;
  width: 100%;
}

@media (min-width: 1199px) {
  .pum-theme-624 #popmake-632.pum-container {
    padding: 50px;
  }
}
.cf7-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cf7-row {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1rem;
}
.cf7-col {
  flex: 1 1 48%;
}
.cf7-col-full {
  flex: 1 1 100%;
}
.wpcf7-form input, .wpcf7-form select, .wpcf7-form textarea { 
  border: 1px solid #ccc!important; 
}
.wpcf7-form .wpcf7-not-valid-tip{
    text-transform: none;
    padding-top: 5px;
    font-size: .9em
}
.cf7-mg0 p{
    margin: 0!important;
}
.cf7-mg1 p{
    margin-bottom: 16px!important;
}
.agree-row .wpcf7-list-item{
    margin: 0!important;
}
.agree-row .wpcf7-form-control-wrap{
    margin-top: 3px!important;
}
.agree-row{
    display: flex;
    gap: 10px;
}
.checkbox-agree input[type=checkbox]{
    width: 16px;
    height: 16px;
}
.wpcf7-acceptance .wpcf7-list-item-label{
    font-weight: normal!important;
    text-transform: none!important;
}
.intl-tel-input{
    width: 100%;
}
.cf7-grid input[type=date], 
.cf7-grid input[type=email], 
.cf7-grid input[type=number], 
.cf7-grid input[type=password], 
.cf7-grid input[type=search], 
.cf7-grid input[type=tel], 
.cf7-grid input[type=text], 
.cf7-grid input[type=url], 
.cf7-grid select, 
.cf7-grid textarea{
    border-width: 0 0 1px 0!important;
    outline: none!important;
    padding-left: 0;
    padding-right: 0;
    background: none;
}
.cf7-grid input[type=date]:focus, 
.cf7-grid input[type=email]:focus, 
.cf7-grid input[type=number]:focus, 
.cf7-grid input[type=password]:focus, 
.cf7-grid input[type=search]:focus, 
.cf7-grid input[type=tel]:focus, 
.cf7-grid input[type=text]:focus, 
.cf7-grid input[type=url]:focus, 
.cf7-grid select:focus, 
.cf7-grid textarea:focus{
    border-width: 0 0 1px 0!important;
    outline: none!important;
}
.cf7-grid label{
    position: relative;
}
.cf7-grid label .label{
    color: #66696e;
    bottom: 0;
    left: 0;
    line-height: calc(3rem + 2px);
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    transform: translateY(0) scale(1);
    transform-origin: left top;
    transition: color, transform .13s ease;
    text-transform: none;
    font-weight: normal;
	overflow: hidden;
}
.cf7-grid label .your-tel + .label{
    transform: translateX(52px) translateY(0) scale(1);
}
.cf7-grid label.focused .label,
.cf7-grid label.filled .label{
    transform: translateY(calc(-1.6rem - 1px));
	font-size: 0.8em;
}
.cf7-grid label.focused .your-tel + .label,
.cf7-grid label.filled .your-tel + .label{
    transform: translateX(0) translateY(calc(-1.6rem - 1px)) scale(.8);
}
.cf7-grid label:after{
    content: "";
    width: 100%;
    height: 2px;
    background: #6125F0;
    position: absolute;
    bottom: 0;
    left: 0;

    /* Hiệu ứng scale để tạo animation */
    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.3s ease, background 0.3s ease;
}
.cf7-grid label.focused:after{
    transform: scaleX(1);
}
.cf7-grid label.focused .wpcf7-not-valid-tip{
    display:none;
}
.cf7-grid label .your-tel input::placeholder {
  color: transparent;
}
.wpcf7 form .wpcf7-response-output{
    margin-top: 0!important;
}
@media (max-width: 768px) {
  .cf7-row {
    flex-direction: column;
    gap: 1rem;
  }
  .cf7-col {
    flex: 1 1 100%;
    }
    .pum-container.pum-responsive{
        max-width: 85%!important;
    }
}