/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.06
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.text > p:last-of-type {
	margin-bottom: 0;
}
.wpcf7 .wpcf7-form p {
	display: inline-block;
	width: 32%;
	margin-right: 1%;
	vertical-align: middle;
}
.wpcf7 .wpcf7-form input, .wpcf7 .wpcf7-form select {
	border-radius: 20px;
}
.wpcf7 .wpcf7-form input[type="submit"] {
	background-color: #222;
}
.frm-fluent-form input {
	border-radius: 30px !important;
    border: 1px solid #b1b1b1 !important;
	box-shadow: none;
}
#bao-gia .wpcf7 .wpcf7-form p {
	display: block;
	width: 100%;
	margin: 0;
}
#bao-gia .wpcf7 .wpcf7-form  {
	text-align: left;
	margin: 0;
}
#bao-gia .wpcf7 .wpcf7-form .wpcf7-checkbox .wpcf7-list-item {
	width: 48%;
	margin-right: 4%;
}
#bao-gia .wpcf7 .wpcf7-form .wpcf7-checkbox .wpcf7-list-item:nth-child(even) {
	margin-right: 0;
}
#bao-gia .wpcf7 .wpcf7-form .wpcf7-checkbox .wpcf7-list-item label {
	margin: 0;
}
#bao-gia .wpcf7 .wpcf7-form input[type="submit"] {
	width: 100%;
}

.nav-line-grow>li.active>a:before {
	width: 0;
}
.nav-line-grow>li:hover>a:before {
	width: 100%;
}

#footer .absolute-footer {display: none;}

.pdf-img .icon-box-text {
	align-items: center;
    display: flex;
}
.btn-fixed {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 999;
}
.btn-zalo {
    background: #0068ff;
    padding: 2px 25px 2px 60px !important;
    box-shadow: 0 0 24px rgb(0 104 255 / 40%);
}
.btn-zalo:before {
	content: '';
	width: 50px;
	height: 50px;
	background: url(../../uploads/Icon_Zalo.png) no-repeat center;
	background-size: contain;
	position: absolute;
	left: -10px;
    top: -4px;
	animation-name: swing;
    animation-delay: 0s;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}
.btn-bao-gia {
    padding: 2px 25px 2px 60px !important;
    box-shadow: 0 0 24px rgb(248 141 43 / 40%);
}
.btn-bao-gia:before {
	content: '';
	width: 50px;
	height: 50px;
	background: url(../../uploads/direct-download.png) no-repeat center;
	background-size: contain;
	position: absolute;
	left: -10px;
    top: -4px;
	animation-name: swing;
    animation-delay: 0s;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}
@keyframes swing {
    20% {
		-webkit-transform: rotate(15deg);
		-ms-transform: rotate(15deg);
		transform: rotate(15deg);
	}
	40% {
		-webkit-transform: rotate(-10deg);
		-ms-transform: rotate(-10deg);
		transform: rotate(-10deg);
	}
	60% {
		-webkit-transform: rotate(5deg);
		-ms-transform: rotate(5deg);
		transform: rotate(5deg);
	}
	80% {
		-webkit-transform: rotate(-5deg);
		-ms-transform: rotate(-5deg);
		transform: rotate(-5deg);
	}
	100% {
		-webkit-transform: rotate(0);
		-ms-transform: rotate(0);
		transform: rotate(0);
	}
}

.mfp-close {
    color: #ff2f2f;
    background: #ffffff;
    border-radius: 50%;
	mix-blend-mode: normal;
}
.mfp-ready .mfp-close {
    opacity: .8;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.wpcf7 .wpcf7-form p {
	display:block;
	width: 100%;
	margin-right: 0;
}
	

	body main {
		padding-bottom: 48px;
	}
	.btn-fixed {
		bottom: 0;
		left: 0;
		right: 0;
	}
	.btn-fixed a {
		display: block;
		border-radius: 0 !important;
        padding: 4px !important;
		box-shadow: none !important;
	}
	.btn-fixed a:before {
		position: static;
		display: inline-block;
		vertical-align: middle;
		width: 28px;
    	height: 28px;
		margin-right: 10px;
	}
	.btn-fixed a span {
		vertical-align: middle;
	}
}