.t-popup-custom-post .gallery_tb, .t-popup-custom-post .tb-box{
	height: 100%;
}
.t-popup-custom-post .popup-content{
	overflow: hidden
}
.t-popup-custom-post .gallery_tb .tb-box{
	overflow: auto;
	padding: 1.5625rem;
}
.t-popup-custom-post .gallery_tb .tb-box a{
	display:block;
	width: 100%;
	height: 100%;
}
.t-popup-custom-post .fa-light.fa-xmark{
	width: 1.5625rem;
	height: 1.5625rem;
	border-radius: 100px;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 1px solid #2d2d2d;
	background-color: white;
	position: absolute;
	z-index: 100;
	right: 0.9375rem;
	top: 0.9375rem;
	cursor: pointer
}
.t-popup-custom-post .fa-light.fa-xmark:hover{
	background-color: var(--theme-color2);
	color: white;
	border-color: var(--theme-color);
}
.pop-countdown {
	display: flex;
	gap: 0.625rem;
	justify-content: center
}
.pop-countdown-item{
	min-height: 4.6875rem;
	min-width: 4.6875rem;
	background-color: #2d2d2d;
	border-radius: 0.3125rem;
	text-align: center;
	display: flex;	
	justify-content: center;
	align-items: center;
	gap: 0.3125rem;
	padding: 0.625rem 0;
	flex-wrap: wrap
}
.pop-countdown-item *{
	color: white !important;
	width: 100%;
}
.pop-countdown-item .pop-countdown-number{
	font-size: 1.5rem;
	font-family: var(--medi);
	display: block;	
	line-height: 1
}
.pop-countdown-item .pop-countdown-txt{
	font-size: 0.8125rem;
}
.t-popup-custom-post .pop-tieude{
	font-size: 1.125rem;
	text-align: center;
	font-family: var(--bold);
	margin: 0.9375rem 0
}
.t-popup-custom-post textarea{
	min-height: 3.75rem;
}
.t-popup-custom-post button{
	margin: auto;
	border-radius: 0.3125rem;
	font-weight: 100;
	display: block;
	padding: 0 2.1875rem;
}
.t-popup-custom-post form, .t-popup-custom-post button{
	margin-bottom: 0;
	box-shadow: none !important
}
.t-popup-custom-post input, .t-popup-custom-post textarea{
	box-shadow: none !important;
	border: none !important;
	border-radius: 0.3125rem;
}
.t-popup-custom-post .wpcf7-spinner{
	display: none;
}
.btn-has-animation{
	position: relative;
	border: 0;
	box-shadow: inset 0 0 0 0.125rem white;
	background-color: white;
	color: var(--theme-color);
	border: 1px solid var(--theme-color);
	overflow: hidden
}
.btn-has-animation span{
	position: relative;
	z-index: 1;
	font-size: 0.9375rem;
}

.btn-has-animation:before {
	content: "";
	position: absolute;
	margin: 0 auto;
	inset: 0;
	width: 100%;
	background: linear-gradient(89.05deg, #FFDA4E 5.29%, #EDBA29 35.28%, #D8A517 69.08%, #F6BE21 99.08%);
	height: 3.75rem;
	animation: rotate360 4s linear infinite;
	transition: all 0.2s linear;
	z-index: 0;
	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	pointer-events: none;
	-webkit-animation: rotate360 4s linear infinite;
}
.btn-has-animation:after {
	content: "";
    position: absolute;
    background: white;
    inset: 0.25rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-border-radius: 0.25rem;
    -moz-border-radius: 0.25rem;
    -ms-border-radius: 0.25rem;
    -o-border-radius: 0.25rem;
}
@keyframes rotate360 {
	from {transform: rotate(0deg);}
	to {    
	transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);}
}
.btn-has-animation:hover:after{
	background-color: var(--theme-color)
}
