/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0.2
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.is-divider {
	display: none;
}

#footer .widget-title {
	display: block;
	margin-bottom: 20px;
	border-bottom: 1px solid #888;
	padding-bottom: 10px;
	font-weight: normal;
	font-size: 1.2em;
	color: white;
}

.before-after-fixed img {
	height: 500px!important;
	object-fit: cover;
}

.object-fit-contain, 
.object-fit-contain img {
	object-fit: contain;
}

.object-position-top-center,
.object-position-top-center img{
	object-position: top center;
}

.single-swimming-pool-spas .page-wrapper, .single-swimming-pool-spas .entry-content,
.single-bbc-templates .page-wrapper, .single-bbc-templates .entry-content,
.single-swimming-pool-styles .page-wrapper, .single-swimming-pool-styles .entry-content,
.post-template-single-full-width .entry-content {
	padding-top: 0;
}

.swiper-slide .wpcp-single-item {
	opacity: 1 !important;
	border: none !!important;
}

.swiper-slide.swiper-slide-active {
	z-index: 9999;
}

.wpcpro-wrapper .wpcp-carousel-section .wpcp-prev-button, .wpcpro-wrapper .wpcp-carousel-section.nav-vertical-on-hover:hover .wpcp-prev-button, .wpcpro-wrapper .wpcp-carousel-section.nav-vertical-center-inner .wpcp-prev-button {
	left: calc(50% - 200px);
	top: calc(50% + 15px)!important;
}

.wpcpro-wrapper .wpcp-carousel-section .wpcp-next-button, .wpcpro-wrapper .wpcp-carousel-section.nav-top-right .wpcp-next-button, .wpcpro-wrapper .wpcp-carousel-section.nav-vertical-center .wpcp-next-button, .wpcpro-wrapper .wpcp-carousel-section.nav-bottom-right .wpcp-next-button {
	right: calc(50% - 200px);
	top: calc(50% + 15px)!important;
}

.secondary-menu-item {
	background: #111;
	color: white;
	line-height: 90px;
	padding: 0 15px !important;
	margin: 0 !important;
	border-left: 1px solid white;
	min-width: 130px;
	text-align: center;
}

.secondary-menu-item a {
	color: white!important;
}

li.current-dropdown>.nav-dropdown {
	padding: 0;
}

.blog-posts-badge-left .box-text {
	padding: 10% 0px 10% 0px;
	width: 45%;
	height: 100%;
	transform: none !important;
	bottom: 0;
}

body.single-post h1.entry-title {
	margin-bottom: 0;
	font-size: 2.7em;
}

.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"] {
	font-weight: 200;
	height: 50px;
	color: #969696;
	font-size: 26px;
	font-family: inherit;
	border: 1px solid;
	padding: 32px 26px;
	width: 100%;
	line-height: 1.3;
	background-color: #fff;
	margin-bottom: 0;
}

.wpcf7-form input[type="checkbox"] {
	height: 20px;
	width: 20px;
	margin-bottom: 0;
	vertical-align: bottom;
}

.wpcf7-form input[type="submit"] {
	background-color: #2670c3;
	color: #ffffff;
	font-size: 17px;
	font-family: 'Roboto', sans-serif;
	height: 60px;
	border-width: 0px;
	padding: 0 50px;
	line-height: 1 !important;
	border-radius: 8px !important;
	cursor: pointer;
	margin: 30px 0;
}

.wpcf7-form label {
	font-weight: 200;
	font-size: 16px;
	line-height: 20px;
	padding: 0 15px 0 10px;
	color: #969696;
}

.wpcf7-form textarea {
	font-weight: 200;
	height: 50px;
	color: #969696;
	font-size: 26px;
	font-family: inherit;
	border: 1px solid;
	padding: 32px 26px;
	width: 100%;
	line-height: 1.3;
	background-color: #fff;
}

.header-main > .container {
	margin-right: 0;
	padding-right: 0;
}

.mfp-content {
	font-size: 1.2em;
}

.mfp-content .nav-vertical a {
	color: #333;
	font-weight: 500;
}

.bbc-kieu-dang-form-list > .col {
	cursor: pointer;
}

#footer a {
	color: #969696;
}

#footer a:hover {
	color: white;
}

.ez-toc-widget-sticky-list {
	padding: 0!important;
	margin-top: 10px!important;
}

.header-search .nav-dropdown {
	padding-top: 10px !important;
}

.header-nav-main {
	flex-wrap: nowrap;
    white-space: nowrap;
}

.header-nav-main .menu-item-has-children > a {
	flex-wrap: nowrap;
}

.wpcf7-form .wpcf7-list-item * {
	cursor: pointer;
}

.wpcf7-form .wpcf7-list-item input[type="checkbox"] {
	margin-right: 2px;
}

.wpcf7-form .wpcf7-list-item-choice:after {
	content: "\2714";
	font-size: 22px;
	line-height: 32px;
	color: #ffffff;
	background: var(--primary-color, #066aab);
	opacity: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -16px 0 0 -16px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	transition: all 0.5s;
}

.wpcf7-form .wpcf7-list-item .wpcf7-list-item-label {
	color: #333;
	position: relative;
	top: 1px;
}

.wpcf7-list-item-choice.checked:after {
	opacity: 1;
}

.wpcf7-list-item-choice.checked > .col-inner {
	box-shadow: 0 3px 6px -4px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23);
}

@media only screen and (max-width: 1390px) {
	.header-main > .container {
		padding-right: 15px;
	}

	.secondary-menu-item {
		display: none!important;
	}
}
@media only screen and (min-width: 1391px) {
	.header-vertical-menu {
		display: none!important;
	}
}

@media only screen and (max-width: 48em) {
	/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.wpcf7-form .wpcf7-list-item {
		width: 50%;
		margin-right: 0 !important;
		white-space: nowrap;
		text-align: left;
	}
}