/* Hero */
.ct-search-box.hero_find button{
  border-radius: 8px !important;
}
.ct-search-box.hero_find input{
  border-radius: 8px;
}
@media screen and (min-width: 601px) {

  .ct-search-box.hero_find {
    position: relative;
  }

  .ct-search-box.hero_find input {
    width: 100%;
    height: 56px !important;
    padding: 8px 8px 8px 20px !important; 
    border-radius: 8px;
  }

  .ct-search-box.hero_find button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    height: 40px !important;
    padding: 16px !important;
    border-radius: 8px !important;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 144px !important;
    flex-direction: row-reverse;
  }

  .ct-search-box.hero_find button::after {
    content: "Tìm kiếm";
    font-size: 16px;
    font-weight: 600;
    line-height: 150%;
    white-space: nowrap;
  }
}

/* Custom category - Website dành riêng cho bạn */

.custom-cate .ct-query-template-grid {
    display: flex;
  flex-wrap: wrap;
  justify-content: center !important;
  max-width: 1296px;
}

.custom-cate .wp-block-term {
  
  white-space: nowrap;
}



/* count down */
.gs-countdownwrap{
  display: inline;
}

.gs-countdown__item_wrap:first-child .gs-countdown__item {
  margin-left: 0  ;
}

.gs-countdown__colon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 7px;
  height: 56px;
}

.gs-countdown__colon-item {
  font-size: 24px;
  font-weight: 700;
  line-height: 135%;
  letter-spacing: 0.01em;
  color: var(--theme-palette-color-3);
  opacity: 0.12;
  text-align: center;
}



/* Form top footer */


.form_top_footer .ff-t-container {
  position: relative !important;
}

.form_top_footer .ff-t-column-1 {   
  position: relative;
}

.form_top_footer .Input_mail_footer input[type="email"] {
  width: 100%;
  padding: 8px 8px 8px 24px ; 
  border-radius: 8px;
  border: 1px solid #EEEEEE !important  ;
  min-height: 64px;
}


.form_top_footer .ff-t-column-2 {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  flex-basis: auto;
  width: auto;
}


.form_top_footer .button_mail_footer {
  margin: 0;
}


.form_top_footer .button_mail_footer .ff-btn-submit {
  padding: 12px 24px;
  border-radius: 8px ;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 144px ;
  font-size: 16px;
  line-height: 150%;
  font-weight: 600;
}


@media (min-width: 768px) {
  .form_top_footer .ff-t-container {
    display: block ;
    gap: 0 ;
  }
}


/* -------------- */



@media screen and (max-width: 1295px) {
  .custom-cate .wp-block-term {
    min-width: calc((100% - 5 * 16px) / 6);
  }
}

@media screen and (max-width: 1000px) {
  .ct-search-box.hero_find{
    width: 80%;
  }
}

/* @media screen and (max-width: 1101px) {
 .gs-counter.countfinished{
  font-size: 20px;
 }
 .gs-counterlabel{
  font-size: 12px;
 }
} */

@media screen and (max-width: 1024px) {
  .custom-cate .wp-block-term {
    min-width: calc((100% - 3 * 16px) / 4);
  }
  
}

@media screen and (max-width: 768px) {
  .custom-cate .wp-block-term {
    min-width: calc((100% - 1 * 16px) / 2);
  }
}

/* @media screen and (max-width: 690px) {
 #gspb_col-id-gsbp-e3f0f98 .t-btn-container {
    position: static;  
    top: auto;
    left: auto;
    z-index: auto;
  }
} */




@media screen and (max-width: 480px) {
  .custom-cate .wp-block-term {
    min-width: 100%;
  }
}


