
/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* ------------------ GENERAL ------------------ */
h1, h2, h3, h4, h5, h6 {
	margin: 0;
}

/* Transition */
.cpbs-link, .cpbs-link * {
	transition: all .3s ease;
}

.cpbs-link-underline:hover, .cpbs-link-underline .elementor-icon-box-title:hover {
	text-decoration: underline;
}

/* Button */
.cpbs-btn .elementor-button-link {
	transition: all .3s ease;
}

.cpbs-btn .elementor-button-link:hover {
	transform: scale(1.05);
}

.cpbs-btn.cpbs-btn-arrow .elementor-button-content-wrapper, .cpbs-btn.cpbs-btn-arrow-large .elementor-button-content-wrapper {
	flex-direction: row;
	display: flex;
	align-items: center;
	gap: 20px;
}

.cpbs-btn.cpbs-btn-arrow .elementor-button-icon {
	width: 75px;
	display: flex;
}

.cpbs-btn.cpbs-btn-arrow-small .elementor-button-icon {
	width: 40px;
	display: flex;
}

.cpbs-btn.cpbs-btn-arrow-large .elementor-button-icon {
	width: 150px;
	display: flex;
}

.cpbs-btn.cpbs-btn-arrow .elementor-button-icon svg, .cpbs-btn.cpbs-btn-arrow-small .elementor-button-icon svg, .cpbs-btn.cpbs-btn-arrow-large .elementor-button-icon svg {
	width: 100%;
}

.cpbs-btn .elementor-button-icon svg path {
	transition: all .3s ease;
}

.cpbs-btn .elementor-button-icon svg path {
	fill: white !important;
}

.cpbs-btn .elementor-button-link:hover .elementor-button-icon svg path {
	fill: var(--e-global-color-acef8e4) !important;
}

/* Dots details*/
.cpbs-dots-y-centered {
	height: 100% !important;
}

.cpbs-dots-y-centered .elementor-widget-container {
	display: flex !important;
	align-items: center !important;
}

/* Remove extra space below image */
.cpbs-flex-image>.elementor-widget-container {
	display: flex !important;
}

/* ------------------ HEADER ------------------ */

/* Logo */
.cpbs-header-logo svg {
	width: 100px !important;
	height: auto !important;
}

.cpbs-header-logo .elementor-icon svg path, .cpbs-header-logo .elementor-icon svg rect {
	transition: all .3s ease !important;
}

.cpbs-header-logo .elementor-icon:hover svg path, .cpbs-header-logo .elementor-icon:hover svg rect {
	fill: var(--e-global-color-secondary);
}

/* Top menu */
.cpbs-header-menu .jet-mega-menu-item__inner, .cpbs-header-menu .jet-mega-menu-item__title, .cpbs-header-menu .jet-mega-menu-item__dropdown {
	border-radius: 20px !important;
	transition: all .3s ease !important;
}

/* Submenu */
.cpbs-header-menu .jet-mega-menu-sub-menu {
	min-width: min-content !important;
	top: calc(100% + 10px) !important;
}

.cpbs-header-menu .jet-mega-menu-sub-menu>ul {
	border-radius: 20px;
	padding: 0px 10px !important;
}

.cpbs-header-menu .jet-mega-menu-sub-menu .jet-mega-menu-item__inner {
	display: flex;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	padding: 0 !important;
}

.cpbs-header-menu .jet-mega-menu-sub-menu .jet-mega-menu-item__link {
	padding: 20px !important;
	width: 100% !important;
	justify-content: center !important;
}

.cpbs-header-menu .jet-mega-menu-sub-menu .jet-mega-menu-item:not(:last-child) {
	border-bottom: 1px solid #ddd;
}

/* Megamenu */
.cpbs-header-menu .jet-mega-menu-mega-container {
	border-radius: 60px !important;
	top: calc(100% + 10px) !important;
	left: -90% !important;
}

.cpbs-header-menu .jet-mega-menu-mega-container__inner {
	padding: 0 !important;
	border-radius: 30px !important;
	overflow: hidden !important;
}

.cpbs-megamenu-services-list .elementor-grid-item, .cpbs-megamenu-res-services-list .elementor-grid-item {
	transition: opacity .3s ease, transform .3s ease !important;
}

.cpbs-megamenu-services-list .elementor-grid-item:hover, .cpbs-megamenu-res-services-list .elementor-grid-item:hover {
	opacity: .5;
}

/* Show and hide content */
.cpbs-megamenu-services-list {
	display: none;
}

#comm-services-tab1 {
	display: block;
}

/* Style the buttons */
.cpbs-megamenu-tab {
	cursor: pointer;
}

.cpbs-megamenu-tab.active-tab {
	background-color: var(--e-global-color-primary) !important;
}

.cpbs-megamenu-tab.active-tab>.e-con-inner>.e-con {
	border-color: transparent !important;
}

.cpbs-megamenu-tab.active-tab .elementor-heading-title, .cpbs-megamenu-tab.active-tab .elementor-icon {
	color: var(--e-global-color-accent) !important;
}

/* ------------------ FOOTER ------------------ */

/* Form section */
.cpbs-footer-form .cpbs-col:nth-child(1) {
	width: 40%;
}

.cpbs-footer-form .cpbs-col:nth-child(2) {
	width: 60%;
}

.cpbs-form .elementor-field-type-submit {
	position: absolute !important;
	bottom: 0 !important;
	right: 0 !important;
	width: auto !important;
}

/* Footer section */

/* Logo */
.cpbs-footer-logo svg {
	width: 220px !important;
	height: auto !important;
}

.cpbs-footer-logo .elementor-icon svg path, .cpbs-footer-logo .elementor-icon svg rect {
	transition: all .3s ease !important;
}

.cpbs-footer-logo .elementor-icon:hover svg path, .cpbs-footer-logo .elementor-icon:hover svg rect {
	fill: var(--e-global-color-secondary);
}

/* Columns */

/*
.cpbs-footer .cpbs-col:nth-child(1) {
    width: 300px;
}

.cpbs-footer .cpbs-col:nth-child(2) {
    width: calc(100% - 300px);
}

.cpbs-footer .cpbs-col:nth-child(2) .cpbs-sub-col:nth-child(1)  {
    width: 150px;
}

.cpbs-footer .cpbs-col:nth-child(2) .cpbs-sub-col:nth-child(2)  {
    width: 300px;
}

.cpbs-footer .cpbs-col:nth-child(2) .cpbs-sub-col:nth-child(3)  {
    width: 350px;
}
*/
.cpbs-footer-contact-icons .elementor-icon-list-item, .cpbs-footer-contact-icons .elementor-icon-list-item a {
	align-items: flex-start !important;
}

.cpbs-footer-contact-icons .elementor-icon-list-item .elementor-icon-list-icon {
	padding-top: 5px;
}

/* ------------------ BLUE CTA SECTION ------------------ */
.cpbs-cta-person-section .cpbs-col:nth-child(1) {
	width: calc(100% - 400px);
}

.cpbs-cta-person-section .cpbs-col:nth-child(2) {
	width: 400px;
}

.cpbs-cta-person-section .cpbs-absolute-img {
	position: absolute !important;
}

/* ------------------ HOME ------------------ */

/* Landing Slider */
.cpbs-home-slider-container, .cpbs-home-slider .swiper-slide {
	min-height: 600px !important;
	max-height: 1200px !important;
}

.cpbs-home-slider-container .swiper-slide {
	height: calc(100vh - 45px) !important;
}

.cpbs-home-slider-container .eicon-chevron-left:before {
	content: url("https://cdn-ildgdcl.nitrocdn.com/jdIyewCvzNirxcBgvBhLkZlYpxyVaKzT/assets/images/optimized/rev-e2b140c/codybuildingservices.com/wp-content/uploads/2023/04/cpbs_icon_circled_arrow_left.svg") !important;
}

.cpbs-home-slider-container .eicon-chevron-right:before {
	content: url("https://cdn-ildgdcl.nitrocdn.com/jdIyewCvzNirxcBgvBhLkZlYpxyVaKzT/assets/images/optimized/rev-e2b140c/codybuildingservices.com/wp-content/uploads/2023/04/cpbs_icon_circled_arrow_right.svg") !important;
}

.cpbs-home-slider-container .elementor-swiper-button {
	width: 100% !important;
	max-width: 1660px !important;
	justify-content: flex-start !important;
	position: absolute !important;
	bottom: 8px !important;
	z-index: 99 !important;
	right: 0 !important;
	top: auto !important;
	margin: auto !important;
	transform: translateY(-50%) !important;
}

.cpbs-home-slider-container .elementor-swiper-button-prev {
	left: 0px !important;
}

.cpbs-home-slider-container .elementor-swiper-button-next {
	left: 90px !important;
}

.cpbs-home-slider-container .elementor-swiper-button-prev, .cpbs-home-slider-container .elementor-swiper-button-next {
	transition: all .3s ease !important;
}

.cpbs-home-slider-container .elementor-swiper-button-prev i, .cpbs-home-slider-container .elementor-swiper-button-next i, .cpbs-home-slider-container .swiper-pagination-bullet {
	transition: all .3s ease !important;
}

.cpbs-home-slider-container .elementor-swiper-button-prev i:hover, .cpbs-home-slider-container .elementor-swiper-button-next i:hover {
	opacity: .75 !important;
	transform: scale(1.05) !important;
}

.cpbs-home-slider-container .swiper-pagination-bullet:hover {
	opacity: .75 !important;
	transform: scale(1.25) !important;
}

.cpbs-home-slider-container .swiper-pagination {
	width: 1660px;
	position: absolute;
	bottom: 40px !important;
	left: 200px !important;
	right: 0;
	margin: auto;
	transform: translateY(-50%);
	display: flex;
	z-index: 999 !important;
}

/* Services Slider */
.cpbs-home-comm-service-btn .elementor-button-link {
	width: 100% !important;
}

.cpbs-home-services-slider .elementor-main-swiper {
	overflow-x: hidden !important;
	padding-bottom: 60px;
}

.cpbs-home-services-slider article:nth-child(even)>div>div {
	margin-top: 30px !important;
}

.cpbs-home-services-slider article:nth-child(odd)>div>div {
	margin-top: 0 !important;
}

.cpbs-home-services-slider .elementor-swiper-button-prev, .cpbs-home-services-slider .elementor-swiper-button-next {
	position: absolute !important;
	top: auto !important;
	bottom: -20px !important;
	cursor: pointer !important;
	z-index: 99 !important;
}

.cpbs-home-services-slider .elementor-swiper-button-prev i, .cpbs-home-services-slider .elementor-swiper-button-next i {
	height: auto !important;
	border: solid 2px var(--e-global-color-secondary);
	padding: 5px 15px !important;
	border-radius: 100px;
	transition: all .3s ease !important;
	background-color: transparent !important;
}

.cpbs-home-services-slider .elementor-swiper-button-prev i:hover, .cpbs-home-services-slider .elementor-swiper-button-next i:hover {
	transform: scale(1.05);
	opacity: .5;
}

.cpbs-home-services-slider .elementor-swiper-button-prev i:before {
	content: url("https://cdn-ildgdcl.nitrocdn.com/jdIyewCvzNirxcBgvBhLkZlYpxyVaKzT/assets/images/optimized/rev-e2b140c/codybuildingservices.com/wp-content/uploads/2023/03/cpbs_icon_long_arrow_yellow_left.svg");
}

.cpbs-home-services-slider .elementor-swiper-button-next i:before {
	content: url("https://cdn-ildgdcl.nitrocdn.com/jdIyewCvzNirxcBgvBhLkZlYpxyVaKzT/assets/images/optimized/rev-e2b140c/codybuildingservices.com/wp-content/uploads/2023/03/cpbs_icon_long_arrow_yellow_right.svg");
}

/* In action section */
.cpbs-in-action-section .cpbs-col:nth-child(1) {
	width: 450px;
}

.cpbs-in-action-section .cpbs-col:nth-child(2) {
	width: calc(100% - 450px);
}

/* ------------------ ABOUT ------------------ */
.cpbs-about-we-take-care .cpbs-col:nth-child(1) {
	width: 500px;
}

.cpbs-about-we-take-care .cpbs-col:nth-child(2) {
	width: calc(100% - 500px);
}

.cpbs-about-100-satisfaction .cpbs-col:nth-child(1) {
	width: 250px;
}

.cpbs-about-100-satisfaction .cpbs-col:nth-child(2) {
	width: calc(100% - 250px);
}

.cpbs-about-safety-first .cpbs-col:nth-child(1) {
	width: 400px;
}

.cpbs-about-safety-first .cpbs-col:nth-child(2) {
	width: calc(100% - 400px);
}

/* ------------------ CONTACT ------------------ */
.cpbs-contact-section .cpbs-col:nth-child(1) {
	width: calc(100% - 500px);
}

.cpbs-contact-section .cpbs-col:nth-child(2) {
	width: 500px;
}

/* ------------------ LOCATIONS ------------------ */
.cpbs-location-info .cpbs-col:nth-child(1) {
	width: calc(100% - 500px);
}

.cpbs-location-info .cpbs-col:nth-child(2) {
	width: 500px;
}

/* ------------------ SERVICES ------------------ */
.cpbs-back-to-services-btn a {
	color: var(--e-global-color-accent) !important;
}

.cpbs-back-to-services-btn .elementor-widget-container {
	transition: all .3s ease !important;
}

.cpbs-back-to-services-btn .elementor-widget-container:hover {
	opacity: .75;
}

.cpbs-locations-for-service ul:before {
	text-align: center;
	color: var(--e-global-color-accent);
	font-family: var(--e-global-typography-60dd4b6-font-family), Sans-serif;
	font-size: var(--e-global-typography-60dd4b6-font-size);
	font-weight: var(--e-global-typography-60dd4b6-font-weight);
	line-height: var(--e-global-typography-60dd4b6-line-height);
	letter-spacing: var(--e-global-typography-60dd4b6-letter-spacing);
	word-spacing: var(--e-global-typography-60dd4b6-word-spacing);
	content: "We offer this service in the following regions:";
}

:lang(fr) .cpbs-locations-for-service ul:before {
	content: "Nous proposons ce service dans les régions suivantes :";
}

.cpbs-locations-for-service ul {
	display: flex;
	list-style-type: none;
	gap: 5px;
	padding-inline-start: 0px;
	justify-content: center;
}

.cpbs-locations-for-service li h4 {
	transition: all .3s ease;
	font-weight: 700;
}

.cpbs-locations-for-service li h4:hover {
	opacity: .75;
}

.cpbs-locations-for-service li:not(:last-child) h4:after {
	content: ",";
}

.cpbs-service-gallery .swiper-slide img {
	height: 250px;
	width: 100%;
	object-fit: cover;
}

.cpbs-service-gallery .elementor-swiper-button-prev, .cpbs-service-gallery .elementor-swiper-button-next {
	position: absolute;
	top: auto !important;
	bottom: -60px !important;
	cursor: pointer !important;
}

.cpbs-service-gallery .elementor-swiper-button-prev svg, .cpbs-service-gallery .elementor-swiper-button-next svg {
	height: auto !important;
	width: 135px !important;
	border: solid 2px var(--e-global-color-secondary);
	padding: 5px 15px !important;
	border-radius: 100px;
	transition: all .3s ease !important;
}

.cpbs-service-gallery .elementor-swiper-button-prev:hover svg, .cpbs-service-gallery .elementor-swiper-button-next:hover svg {
	background-color: var(--e-global-color-secondary);
	transform: scale(1.1);
}

.cpbs-service-gallery .elementor-swiper-button-prev svg path, .cpbs-service-gallery .elementor-swiper-button-next svg path {
	transition: fill .3s ease !important;
	fill: var(--e-global-color-secondary);
}

.cpbs-service-gallery .elementor-swiper-button-prev:hover svg path, .cpbs-service-gallery .elementor-swiper-button-next:hover svg path {
	fill: var(--e-global-color-acef8e4);
}

/* ------------------ RESPONSIVE ------------------ */

/* ---------- Laptop - 1440px to 1799px ---------- */
@media only screen and (max-width : 1799px) {
	.cpbs-home-slider .elementor-swiper-button {
		width: min-content !important;
		margin: 0px !important;
	}
	
	.cpbs-home-slider .elementor-swiper-button-prev {
		left: 40px !important;
	}
	
	.cpbs-home-slider .elementor-swiper-button-next {
		left: 90px !important;
	}
	
	.cpbs-home-slider .swiper-pagination {
		left: 140px !important;
	}
}

/* ---------- Container Size - 1660px ---------- */
@media only screen and (max-width : 1660px) {}

/* ---------- Tablet Extra - 1024px to 1439px ---------- */
@media only screen and (max-width : 1439px) {
	.cpbs-footer-form .elementor-field-type-submit {
		position: relative !important;
	}
	
	.cpbs-footer .cpbs-col:nth-child(1), .cpbs-footer .cpbs-col:nth-child(2) {
		width: 100% !important;
	}
}

/* ---------- Tablet - 768px to 1023px ---------- */
@media only screen and (max-width : 1023px) {
	.cpbs-cta-person-section .cpbs-col {
		width: 100% !important;
	}
	
	.cpbs-footer-form .cpbs-col {
		width: 100% !important;
	}
	
	.cpbs-col-100-tablet {
		width: 100% !important;
	}
	
	.cpbs-footer .cpbs-col:nth-child(2) .cpbs-sub-col {
		width: 100% !important;
	}
	
	.cpbs-footer-menu .elementor-nav-menu {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
}

/* ---------- Mobile Extra - 425px to 767px ---------- */
@media only screen and (max-width : 767px) {
	.cpbs-col {
		width: 100% !important;
	}
	
	.cpbs-home-slider-container, .cpbs-home-slider .swiper-slide {
		min-height: 300px !important;
		max-height: 600px !important;
	}
	
	.cpbs-home-slider .elementor-swiper-button-prev {
		left: 20px !important;
	}
	
	.cpbs-home-slider .elementor-swiper-button-next {
		left: 70px !important;
	}
	
	.cpbs-home-slider .swiper-pagination {
		left: 130px !important;
	}
	
	.cpbs-location-contact-btns .elementor-button-text {
		display: none !important;
	}
	
	.cpbs-location-contact-btns .elementor-button-icon {
		margin-right: 0px !important;
	}
}

/* ---------- Mobile - 320px to 424px ---------- */
@media only screen and (max-width : 424px) {
	.cpbs-btn.cpbs-btn-arrow .elementor-button-icon, .cpbs-btn.cpbs-btn-arrow-small .elementor-button-icon, .cpbs-btn.cpbs-btn-arrow-large .elementor-button-icon {
		display: none !important;
	}
}

@media only screen and (max-width : 767px) {
	.list-blogs .elementskit-post-image-card {
		display: block !important;
	}
	
	.list-blogs .elementskit-entry-header a {
		width: 100% !important;
	}
	
	br {
		display: none;
	}
	
	.micon-none span.elementor-button-icon {
		display: none !important;
	}
	
	.single-text h3 {
		font-size: 1.2rem;
	}
}

/* cpbs-home-services-slider-grid */
.cpbs-home-services-slider-grid .elementor-swiper-button {
	transform: translateY(-33px) !important;
}

.cpbs-home-services-slider-grid .elementor-swiper-button-prev {
	left: 60px !important;
}

.cpbs-home-services-slider-grid .elementor-swiper-button-next {
	right: 60px !important;
}

.cpbs-home-services-slider-grid .e-loop-item:nth-child(even) {
	transform: translateY(-30px);
}

.cpbs-home-services-slider-grid .swiper-wrapper {
	padding-top: 30px;
}

@media only screen and (max-width : 549px) {
	.cpbs-home-services-slider-grid .elementor-swiper-button-prev {
		left: 0px !important;
	}
	
	.cpbs-home-services-slider-grid .elementor-swiper-button-next {
		right: 0px !important;
	}
}
