/*--------------------------------------------------------------------------
|  Header
--------------------------------------------------------------------------*/
.topbar {
    font-size: 15px;
}

.phone-section i {
    font-size: 23px;
}

.social-section {
    margin-right: 10px;
    padding-right: 10px;
    border-right: 1px solid;
}

.social-section>a {
    margin-right: 5px;
}

.social-section>a:last-child {
    margin: 0;
}

.contact-section {
    display: inline-block;
    background: var(--color-main);
    color: white;
    padding: 8px 10px;
    border-radius: 5px;
    margin-left: 10px;
}

.setting-menu .menu-container {
    float: right;
    width: calc(100% - 50px);
}

.logo-section img {
    max-height: 80px;
}

/*--------------------------------------------------------------------------
|  Main
--------------------------------------------------------------------------*/
.search-text .left-t {
    font-size: 35px;
}

.search-text .right-t {
    font-size: 18px;
}

.inner-image {
    border-radius: 10px;
    overflow: hidden;
}

.type-1 .first-article .article-title {
    font-size: 26px;
    line-height: 1.7;
}

.type-1 .view-small .article-item {
    border: 0;
}

.type-1 .view-small .article-item .article-title a {
    font-size: 20px;
}

.search-html-maxwidth {
    width: 100% !important;
}

/*--------------------------------------------------------------------------
|  Footer
--------------------------------------------------------------------------*/
.bg-reg-email {
    background: #0072BC;
    background: -moz-linear-gradient(top, var(--color-main) 50%, var(--color-highlight) 50%);
    background: -webkit-linear-gradient(top, var(--color-main) 50%, var(--color-highlight) 50%);
    background: linear-gradient(to bottom, var(--color-main) 50%, var(--color-highlight) 50%);
    padding: 30px 0;
}

.block-form-reg {
    border: 2px dashed #e4e4e4;
    padding: 30px;
}


/*Button Contact Fixed*/
.contact-fixed {
    z-index: 999;
    right: 20px;
    bottom: 20px;
    position: fixed;
    height: 60px;
    width: 60px;
    background: var(--color-highlight);
    border-radius: 50%;
    cursor: pointer;
}

.contact-fixed__button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    color: var(--white);
    font-size: 10px;
    line-height: 11px;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-transition: ease-in .12s all;
    -o-transition: ease-in .12s all;
    transition: ease-in .12s all;
}

.contact-fixed__button.show {
    -webkit-transform: rotate(0) scale(1);
    -ms-transform: rotate(0) scale(1);
    transform: rotate(0) scale(1);
}

.contact-fixed__button i {
    font-size: 24px;
    margin-bottom: 2px;
}

.contact-fixed__pulsation {
    width: 84px;
    height: 84px;
    background-color: var(--color-highlight);
    border-radius: 50px;
    position: absolute;
    left: -12px;
    top: -12px;
    z-index: -1;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-animation: arcontactus-pulse 2s infinite;
    animation: arcontactus-pulse 2s infinite;
}

.contact-fixed__pulsation:nth-child(2n) {
    -webkit-animation-delay: .5s;
    animation-delay: .5s;
}

.contact-fixed__close {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    color: var(--white);
    font-size: 24px;
    -webkit-transform: rotate(180deg) scale(0);
    -ms-transform: rotate(180deg) scale(0);
    transform: rotate(180deg) scale(0);
    -webkit-transition: ease-in .12s all;
    -o-transition: ease-in .12s all;
    transition: ease-in .12s all;
}

.contact-fixed__close.show {
    -webkit-transform: rotate(-45deg) scale(1);
    -ms-transform: rotate(-45deg) scale(1);
    transform: rotate(-45deg) scale(1);
}

.contact-fixed__list {
    background: center no-repeat var(--white);
    box-shadow: 0 0 10px rgb(0 0 0 / 60%);
    width: 235px;
    position: absolute;
    bottom: 80px;
    right: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    padding: 14px 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 7px;
    -webkit-transform-origin: 80% 105%;
    -ms-transform-origin: 80% 105%;
    transform-origin: 80% 105%;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-transition: ease-out .12s all;
    -o-transition: ease-out .12s all;
    transition: ease-out .12s all;
    z-index: 10000;
}

.contact-fixed__list:before {
    position: absolute;
    bottom: -7px;
    right: 25px;
    left: auto;
    display: inline-block!important;
    border-right: 8px solid transparent;
    border-top: 8px solid #FFF;
    border-left: 8px solid transparent;
    content: '';
}

.contact-fixed__list.show {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.contact-fixed__item {
    display: flex;
    align-items: center;
    padding: 8px 20px;
    width: 100%;
}

.contact-fixed__item:hover {
    background-color: #eeeeee;
    color: var(--color-text);
}

.contact-fixed__item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 12px;
    background-color: var(--color-highlight);
    border-radius: 50%;
    padding: 8px;
}

.contact-fixed__item-icon img {
    filter: brightness(0) invert(1);
}

.search-flex {
    display: flex;   
    width: auto;
}

.form-search {
    max-width: 100%;
}


@keyframes arcontactus-pulse {
	0% {
		-webkit-transform:scale(0);
		transform:scale(0);
		opacity:1
	}
	50% {
		opacity:.5
	}
	100% {
		-webkit-transform:scale(1);
		transform:scale(1);
		opacity:0
	}
}
/*End Button Contact Fixed*/

/*--------------------------------------------------------------------------
|  Responsive
--------------------------------------------------------------------------*/
@media (max-width: 568px) {
    .is-mobile .search-text .left-t {
        font-size: 28px;
        margin-bottom: 10px !important;
    }
    
    .justify-content-end {
        justify-content: center !important;
    }
    
    .margin-tl{
        margin: 10px 0 5px;   
    }
    
    .title-footer {
        min-height: 40px;
    }
    .input-group {
        margin-top: 10px;
    }

}



.top-header>.container>.row>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mid-header>.container>.row>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

[data-custom] {
  cursor: pointer;
}
.custom-tooltip {
  position: absolute;
  display: none;
  max-width: 700px;
  padding: 6px 10px;
  background: #ffffe0;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  font-size: 0.9em;
  z-index: 10000;
  word-wrap: break-word;
  white-space: normal;
  max-height: 300px; /* Giới hạn chiều cao tối đa */
  overflow-y: auto;
}

.custom-tooltip::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 10px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent #ffffe0 transparent;
}

.custom-tooltip .close-btn {
    position: absolute;
    top: 2px;
    right: 6px;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    color: #3c2a2a;
    display: none;
    font-weight: bold;
}

.custom-tooltip .tooltip-content {
  padding-right: 15px; /* Để chừa chỗ cho nút đóng */
} 
.custom-tooltip .click-hint {
  display: block; /* Đảm bảo hiển thị */
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #623413;
  font-size: 13px;
  color: #bbb;
  font-style: italic;
  text-align: center;
} 
