/* 
Theme Name: Ridojaya
Author: Rico T
Description: Theme for ridojaya.com
Version: 1.0.0
*/

/* Inter */
@font-face {
	font-family: 'Inter';
	src: url('fonts/Inter-VariableFont_opsz,wght.tff') format('truetype');
	font-style: normal;
}

@font-face {
	font-family: 'Inter';
	src: url('fonts/Inter-Italic-VariableFont_opsz,wght.tff') format('truetype');
	font-style: italic;
}


/* Extra Light */
@font-face {
	font-family: 'Poppins';
	src: url('fonts/Poppins-ExtraLight.ttf') format('truetype');
	font-weight: 200;
	font-style: normal;
}

/* Regular */
@font-face {
	font-family: 'Poppins';
	src: url('fonts/Poppins-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'Poppins';
	src: url('fonts/Poppins-Italic.ttf') format('truetype');
	font-weight: 400;
	font-style: italic;
}

/* SemiBold */
@font-face {
	font-family: 'Poppins';
	src: url('fonts/Poppins-SemiBold.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: 'Poppins';
	src: url('fonts/Poppins-SemiBoldItalic.ttf') format('truetype');
	font-weight: 600;
	font-style: italic;
}

/* Bold */
@font-face {
	font-family: 'Poppins';
	src: url('fonts/Poppins-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: 'Poppins';
	src: url('fonts/Poppins-BoldItalic.ttf') format('truetype');
	font-weight: 700;
	font-style: italic;
}

/* Black */
@font-face {
	font-family: 'Poppins';
	src: url('fonts/Poppins-Black.ttf') format('truetype');
	font-weight: 900;
	font-style: normal;
}

@font-face {
	font-family: 'Poppins';
	src: url('fonts/Poppins-BlackItalic.ttf') format('truetype');
	font-weight: 900;
	font-style: italic;
}


:root {
	--primary-color: #0066AE;
	--secondary-color: #D8733A;
	--primary-black: #222222;
	--primary-gray: #B3B4B4;
	--light-gray: #ECECEC;
	
	--wa-color: 29, 193, 62;

	--primary-red: var(--primary-color);

	--text-primary: #000000;
	--text-inv: #FFFFFF;

	--white: #FFFFFF;

	--button-primary-gradient: linear-gradient(to right, #E6A716 0%, #F5EB78 100%);
}

*, *::before, *::after {
    box-sizing: border-box;
    font-family: 'Poppins' !important;
}

html, body {
	margin: 0 !important;
	padding: 0;
	overflow-x: hidden;
}

body {
	overflow-y: hidden;
}

.ehf-header #masthead {
	z-index: 100;
}

#wpadminbar {
	position: fixed;
	display: none;
}

#page {
	width: 100%;

	display: grid;
	grid-template-rows: auto 1fr;
	grid-template-columns: 100%;
	min-height: 100vh;
}


/* Nav */

#nav-logo {
	max-width: 50%;
}

#nav-desktop {
	display: none;
}

#nav-mobile {
	display: block;
}

.hfe-nav-menu-icon {
	display: flex;
}

#nav-mobile div.hfe-nav-menu-icon {
	padding: 0.1em;
}

.elementor-15 .elementor-element.elementor-element-e4db40b h3.elementor-heading-title {
	cursor: pointer;
}

#nav-mobile .hfe-flyout-close svg {
	right: 1.4em;
	top: 1.4em;
	fill: white;
}

.hfe-menu-item {
	text-align: right;
}

#nav-mobile li.menu-item a {
	justify-content: flex-end;
	margin-right: 0.5em;
	position: relative;
	font-size: 1.5em;
}

#nav-desktop li.menu-item a,
#nav-mobile li.menu-item a {
	color: var(--text-inv);
}

/* #nav-desktop li.menu-item.current-menu-item a,
#nav-desktop li.menu-item a:hover {
	color: var(--secondary-color);
} */

#nav-desktop li.menu-item.current-menu-item a::after,
#nav-desktop li.menu-item a:hover::after {
	content: '';
	position: absolute;
	bottom: 0.2em;
	left: 0.5em;
	right: 0.5em;
	color: var(--secondary-color);
	background: var(--secondary-color);
	height: 0.3em;
	z-index: 10;
	opacity: 1 !important;
}

#nav-mobile li.menu-item.current-menu-item a::after,
#nav-mobile li.menu-item a:hover::after {
	content: '';
	position: absolute;
	right: 0em;
	top: 50%;
	transform: translateY(-50%);
	width: 0.3em;
	color: var(--secondary-color);
	background: var(--secondary-color);
	height: calc(100% - 25px);
	z-index: 10;
	opacity: 1 !important;
}

#nav-mobile .hfe-flyout-wrapper .hfe-side {
	right: -300px !important;
	display: block !important;
	transition: right 0.5s ease-in-out 0s;
}

#nav-mobile .hfe-flyout-wrapper .hfe-side.hfe-flyout-show {
	right: 0 !important;
}

#nav-mobile .hfe-flyout-wrapper .hfe-side {
	margin: 0;
}


#nav-mobile .hfe-flyout-wrapper .hfe-side li.menu-item {
	right: 30%;
	opacity: 0;
}

#nav-mobile .hfe-flyout-wrapper .hfe-side li.menu-item:first-child {
	transition: right 0.7s ease-in-out 0s, opacity 0.7s ease-in-out 0s;
}

#nav-mobile .hfe-flyout-wrapper .hfe-side li.menu-item:nth-child(2) {
	transition: right 0.7s ease-in-out 0.15s, opacity 0.7s ease-in-out 0.15s;
}

#nav-mobile .hfe-flyout-wrapper .hfe-side li.menu-item:nth-child(3) {
	transition: right 0.7s ease-in-out 0.3s, opacity 0.7s ease-in-out 0.3s;
}

#nav-mobile .hfe-flyout-wrapper .hfe-side li.menu-item:nth-child(4) {
	transition: right 0.7s ease-in-out 0.45s, opacity 0.7s ease-in-out 0.45s;
}

#nav-mobile .hfe-flyout-wrapper .hfe-side li.menu-item:nth-child(5) {
	transition: right 0.7s ease-in-out 0.6s, opacity 0.7s ease-in-out 0.6s;
}

#nav-mobile .hfe-flyout-wrapper .hfe-side li.menu-item:nth-child(6) {
	transition: right 0.7s ease-in-out 0.75s, opacity 0.7s ease-in-out 0.75s;
}

#nav-mobile .hfe-flyout-wrapper .hfe-side li.menu-item:nth-child(7) {
	transition: right 0.7s ease-in-out 0.9s, opacity 0.7s ease-in-out 0.9s;
}

#nav-mobile .hfe-flyout-wrapper .hfe-side li.menu-item:nth-child(8) {
	transition: right 0.7s ease-in-out 1.05s, opacity 0.7s ease-in-out 1.05s;
}

#nav-mobile .hfe-flyout-wrapper .hfe-side.hfe-flyout-show li.menu-item {
	right: 0;
	opacity: 1;
}

#nav-mobile .hfe-nav-menu {
	margin-top: 3em;
}


#nav-desktop li.menu-item a {
	font-size: 0.75em;
}


.hfe-nav-menu .menu-item.hfe-has-submenu.parent ul.sub-menu {
	width: 100px;
	min-width: 100px;
}

.hfe-nav-menu .menu-item ul.sub-menu > li > a,
#nav-desktop .hfe-nav-menu .menu-item ul.sub-menu > li > a,
#nav-mobile .hfe-nav-menu .menu-item ul.sub-menu > li > a {
	display: grid;
	grid-template-columns: 1.25em 1fr;
	color: black;

	padding: 1.2em;
}

.hfe-nav-menu .menu-item .hfe-has-submenu-container .hfe-menu-toggle i {
	display: none;
}

.hfe-nav-menu .menu-item .hfe-has-submenu-container .hfe-menu-toggle::after {
    content: '';
    display: inline-block;
    margin-left: 1px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid white;
    vertical-align: middle;
}



/* HOME META SLIDER */

#home-metaslider .flexslider {
	margin-bottom: 0;
}

#home-metaslider .metaslider .flex-control-nav {
	bottom: 2.5em;
	z-index: 20;
}

#home-metaslider .flex-control-paging li a {
	background-color: rgb(255, 255, 255, 0.6);
	outline: 1px solid black;
}

#home-metaslider .flex-control-paging li a.flex-active {
	background-color: rgb(255, 255, 255, 0.9);
}

#home-metaslider {
	position: relative;
}

.home-metaslider-info::after,
#home-metaslider .slides li div.overlay {
	content: '';
	position: absolute;
	right: 0;
	bottom: 0;
	top: 0;
	left: 0;
	background-color: var(--primary-black);
	opacity: 0.6;
	z-index: 10;
}

#home-metaslider .slides li {
	position: relative;
}

.home-metaslider-info > * {
	z-index: 11;
}

/* #home-metaslider .flexslider::after {
	content: '';
	position: absolute;
	right: 0;
	bottom: 0;
	height: 4em;
	left: 0;
	background-color: var(--dark-blue);
	opacity: 0.8;
	z-index: 10;
} */

.home-metaslider-info {
	position: absolute;
	right: 0;
	bottom: 0;
	top: 0;
	left: 0;
	width: 100%;
	max-width: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.home-metaslider-info > div {
	width: 100%;
	max-width: none;
}

.home-metaslider-info h1.elementor-heading-title,
.page-title {
	font-size: 8.5vw;
	font-weight: 900;
}

.home-metaslider-info .home-p,
.page-subtitle {
	font-size: 2.75vw;
	padding-top: 0;
}

.home-metaslider-info .button.gradient-yellow {
	margin-top: 0.5em;
}


/* METASLIDER HOME MIN HEIGHT */

#home-metaslider {
	--slider-min-height-mobile: 45vh;
	--slider-min-height-tablet: 60vh;
}

#home-metaslider,
#home-metaslider .flexslider {
	min-height: var(--slider-min-height-mobile);
	max-height: 80vh;
}

#home-metaslider .flex-viewport,
#home-metaslider .flex-viewport ul,
#home-metaslider .flex-viewport li,
#home-metaslider .flex-viewport img {
	min-height: var(--slider-min-height-mobile);
	max-height: 80vh;
}

#home-metaslider .flex-viewport img {
	object-fit: cover;
}

#home-metaslider .flex-viewport .warranty-card img {
	width: 100%;
	height: auto;
	object-fit: contain;
}


.side-paddings {
	padding-left: 30px;
	padding-right: 30px;
}

#home-metaslider .slide-62 img.slide-62 {
	object-position: left;
}

#home-metaslider .slide-83 img.slide-83 {
	object-position: left;
}


#about-us-home p,
#about-us-home ul {
	margin: 0;
}

#about-us-home ul {
	padding-left: 1em;
}

#about-us-home-img img {
	min-height: 22vh;
	max-height: 20em;
	object-fit: cover;
	object-position: top;
}

.hfe-site-logo-container {
	display: flex;
}


/* Buttons */

.button,
.elementor-button-text {
	font-size: 0.8em;
	font-weight: 600;
}

.elementor-button {
	padding: 0.75em 1.2em;
	font-size: 1.2em;
}

.button .elementor-button {
	border-radius: 0.6em;
	border: 2px solid var(--primary-color);
	color: var(--text-inv);
	
	background-color: var(--primary-color);
}

.button.transparent .elementor-button {
	background-color: rgb(0, 0, 0, 0);
}

a.button.gradient-yellow,
.button.gradient-yellow .elementor-button {
	background: var(--button-primary-gradient);
	color: var(--text-primary);
	font-weight: 600;
}

a.button.secondary,
.button.secondary .elementor-button {
	background: var(--secondary-color);
	border: 1px solid var(--secondary-color);
	color: var(--text-inv);
	font-weight: 600;
}

.button.white .elementor-button {
	background-color: white;
	color: var(--text-primary);
	border: 1px solid var(--text-primary);
	font-weight: 600;
}


a.button,
label.button {
	padding: 0.3em 1em;
	border-radius: 0.6em;
	border: 2px solid var(--primary-color);
	color: var(--text-inv);
	background-color: var(--primary-color);
	cursor: pointer;
	font-size: 0.75em;
}

a.button.transparent,
label.button.transparent {
	background-color: rgb(0, 0, 0, 0);
}


.button.with-icon {
    padding: 0.2em 0.6em;

	display: flex;
	align-items: center;
}

.button.with-icon.left.collapse-on-mobile svg,
.button.with-icon.right.collapse-on-mobile svg {
    margin: 0.1em 0 0 0;
}

.button.with-icon.left svg {
	margin-right: 0.4em;
}

.button.with-icon.right svg {
	margin-left: 0.4em;
}

.button.with-icon .button-label {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.08em;
}

.button.with-icon.collapse-on-mobile .button-label {
    display: none;
}

.button.back {
    margin-right: 1em;
    margin-top: 0.5em;
}



/* FORMS */

.form-text-control input.ff-el-form-control {
	border: 2px solid var(--primary-color);
	border-radius: 2em;
}

.form-submit-button button.ff-btn-submit.ff-btn[type=submit] {
	background: var(--button-primary-gradient);
	color: black;
}



/* HOME PAGE */

#why-us .why-us {
	cursor: pointer;
}

#why-us .why-us:hover {
	background-color: var(--secondary-color);
}

#why-us .why-us:hover svg {
	fill: var(--secondary-color);
}

#why-us .why-us:hover .elementor-icon {
	background-color: white;
}


.paint-protection-svg {
	height: 1.7em;
}

.paint-protection-text-mobile {
	display: inline-block;
	font-weight: 900; 
}

.paint-protection-text-desktop {
	display: none;
	font-weight: 900; 
}


.button.gradient-yellow.about-us {
	font-size: 0.9em;
}


#warranty-card-container {
	grid-template-columns: 47% 47%;
	grid-template-rows: 120px;
}


.pelanggan-kami-slide {
	padding: 0 4em;
}

.pelanggan-kami-slide ul.slides {
	display: flex;
	align-items: center;
}

.pelanggan-kami-slide.metaslider .flexslider .flex-direction-nav .flex-prev {
	left: -3em;
}

.pelanggan-kami-slide.metaslider .flexslider .flex-direction-nav .flex-next {
	right: -3em;
}


/* CONTACT US */

#contact-us-form {
	width: 100%;
}


/* SERVICES */

.services-div {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 2em;
}

.services-div .service {
	width: 8em;
	padding: 1.5em 0;
}

.service {
	position: relative;
	text-decoration: none;
	color: var(--primary-color);
	font-weight: bold;

	display: grid;
	grid-template-rows: 10em 4em;
	place-items: center;
	gap: 0.5em;

	cursor: pointer;
	padding: 1em 0.3em;
}

.service:hover,
.services-carousel input[name=services-input]:checked + .service.carousel-slide {
	color: white;
}

.service:hover::after,
.services-carousel input[name=services-input]:checked + .service.carousel-slide::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	height: 0.25em;
	background-color: white;
	width: 50%;
}

.service .service-title {
	text-align: center;
}

.service .services-icon,
.service .services-icon-white {
	object-fit: contain;
}

.service .services-icon {
	display: block;
}

.service .services-icon-white {
	display: none;
}

.service:hover .services-icon,
.services-carousel input[name=services-input]:checked + .service.carousel-slide .services-icon {
	display: none;
}

.service:hover .services-icon-white,
.services-carousel input[name=services-input]:checked + .service.carousel-slide .services-icon-white {
	display: block;
}


.services-carousel input[name=services-input] {
	display: none;
}


#service-background-overlay {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;

	padding: 120px 1em 275px 1em;
	color: white;
	text-align: center;
}

.our-service-title {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.75em;
}

#service-background-overlay .page-title {
	margin-bottom: 0;
	line-height: 1;
}


#service-description-div .service-description {
	width: min(67em, 100%);
	margin: 0 auto;
	height: 100%;
	padding: 1.5em 1em;
}

.service-description div,
.service-description .e-con-inner {
	padding: 0;
}

.service-description h2.elementor-heading-title {
	font-weight: bold;
	color: var(--text-primary);
}


.service-description .description-top,
.service-description .description-top > div.e-con-inner {
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 1.5em 2em;
}

.service-description .description-top img {
	height: 100%;
	object-fit: cover;
}

.service-description .description-top .description-text,
.service-description .description-top .description-text > div.e-con-inner {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 0;
}

.service-description .description-top .description-top-buttons {
	display: flex;
	flex-direction: row;
	gap: 1em;
}

.service-description .supported-by-div {
	gap: 0;
}


.service-description .description-bottom,
.service-description .description-bottom > div.e-con-inner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 3em;

	margin-top: 2em;
	margin-bottom: 2em;
}

.service-description .description-bottom .description-bottom-content-div,
.service-description .description-bottom .description-bottom-content-div > div.e-con-inner {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	flex-wrap: wrap;
	gap: 1em 0.5em;
}

.service-description .description-bottom .description-bottom-content,
.service-description .description-bottom .description-bottom-content > div.e-con-inner {
	width: 12em;
	display: grid;
	place-items: start;
	gap: 0;
	font-size: 0.8em;
}

.service-description .description-bottom .description-bottom-content.with-header,
.service-description .description-bottom .description-bottom-content.with-header > div.e-con-inner {
	place-items: start;
	grid-template-rows: 5.25em 1.75em auto;
}

.service-description .description-bottom .description-bottom-content.with-image-without-number,
.service-description .description-bottom .description-bottom-content.with-image-without-number > div.e-con-inner {
	grid-template-rows: 5.25em auto 1fr;
	gap: 0.25em;
}

.service-description .description-bottom .description-bottom-content.with-image,
.service-description .description-bottom .description-bottom-content.with-image > div.e-con-inner {
	place-items: start center;
	grid-template-rows: 10em 3.5em auto;
}

.service-description .description-bottom .description-bottom-content .elementor-widget-image,
.service-description .description-bottom .description-bottom-content .elementor-widget-image > div {
	padding-bottom: 0.5em;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
}

.service-description .description-bottom .description-bottom-content .elementor-widget-image img {
	object-fit: contain;
	height: 100%;
}

.service-description .description-bottom .number-header-div,
.service-description .description-bottom .number-header-div > div.e-con-inner {
	display: grid;
	grid-template-columns: 2.5em auto;
	gap: 0.75em;
	place-items: center start;
}

.service-description .description-bottom .header-div {
	display: grid;
	grid-template-columns: 1fr;
}

.service-description .description-bottom .header-div h2.elementor-heading-title {
	color: var(--primary-color);
}

.service-description .description-bottom .number-header-div .number {
	border: 2px solid var(--primary-color);
	text-align: center;
	border-radius: 10px;

	display: flex;
	justify-content: center;
	align-items: center;
	width: 1.35em;
	height: 1.35em;

	font-size: 2em;
	font-weight: bold;
}

.service-description .description-bottom .number-header-div h2 {
	color: var(--primary-color);
	font-weight: bold;
	margin: 0;
	font-size: 1.15em;
}

.service-description .description-bottom .description-bottom-content-div .upper-heading,
.service-description .description-bottom .description-bottom-content-div .lower-heading {
	text-align: left;
}

.service-description .description-bottom .description-bottom-content-div .upper-heading {
	font-size: 5em;
}

.service-description .description-bottom .description-bottom-content-div .lower-heading {
	font-size: 1.3em;
}


.service-description .protection-div-section {
	text-align: center;
}

.service-description .protection-div {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

.service-description .protection-div img {
	width: 17em;
	height: 17em;
	object-fit: cover;
}


#service-description-div .decor-abs-left {
	position: absolute;
	left: -250px;
	top: 150px;
}

#service-description-div .decor-abs-right {
	position: absolute;
	transform: rotate(180deg);
	right: -300px;
	top: 0px;
}


#service-description-div {
	position: relative;
	overflow: hidden;
}



/* GALLERY */

.gallery-content p {
	margin: 0.4em 0 0 0;
	word-break: break-word;
}

.gallery-div {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5em;
}

.gallery-image {
	position: relative;

	display: flex;
	justify-content: center;
	align-items: center;
	aspect-ratio: 1 / 1;

	cursor: pointer;
}

.gallery-image:hover .gallery-screen {
	opacity: 0.5;
}

.gallery-screen {
	position: absolute;
	right: 0;
	bottom: 0;
	top: 0;
	left: 0;
	background-color: var(--primary-black);
	opacity: 0;
	z-index: 10;
	border-radius: 1em;

	transition: opacity 0.2s ease-in-out;
}

.gallery-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 1em;
}


.gallery-home-carousel.carousel {
	padding-left: 2em;
	padding-right: 2em;
}

.gallery-home-carousel .carousel-control {
	color: var(--primary-black);
	background-color: var(--primary-color);
	opacity: 1;
}

.gallery-home-carousel .carousel-control:hover {
	color: var(--primary-black);
	background-color: var(--primary-color);
	opacity: 0.8;
}

.gallery-home-carousel .gallery-image {
	padding: 0.25em;
}

.gallery-home-carousel .gallery-image .gallery-screen {
	left: 0.25em;
	top: 0.25em;
	right: 0.25em;
	bottom: 0.25em;
}


/* TESTIMONY */

.star-rating {
	display: inline-block;
	font-size: 2rem; /* Adjust size as needed */
	font-family: 'Arial', sans-serif; /* Ensure your font supports stars */
	line-height: 1;
	position: relative;
}

.star-rating::before,
.star-rating::after {
	content: '★★★★★'; /* Define 5 stars for maximum rating */
	letter-spacing: 0.2em; /* Adjust spacing as needed */
	font-size: 1.5em;
}

.star-rating::before {
	color: lightgray;
}

.star-rating::after {
	color: #D6AE2A;
	position: absolute;
	top: 0;
	left: 0;
	width: calc(var(--stars) / 5 * 100%);
	overflow: hidden;
	white-space: nowrap;
}

.testimony-div {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 2em;

	padding: 1em;
}

.testimony .testimony-profile {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.testimony .testimony-profile .testimony-image {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	overflow: hidden;
}

.testimony .testimony-profile .testimony-image img {
	width: 100%;
	object-fit: cover;
}

.testimony .testimony-profile h4 {
	margin: 0.3em 0 0 0;
	word-break: break-word;
}

.testimony .testimony-body {
	position: relative;
	padding: 1.75em;
	background-color: var(--light-gray);
	border-radius: 1em;
	margin-top: 0.75em;
	height: 14em;
}

.testimony .testimony-body .text {
	height: 100%;
	overflow-y: auto;
}

.testimony .testimony-body p {
	margin: 0;
	word-break: break-word;
}

.testimony .testimony-body svg {
	position: absolute;
	bottom: -3.25em;
	right: -1.2em;
}


/* BLOG */

.single-blog-header-padding {
	width: 100%;
	height: 130px;
	background-color: var(--primary-black);
}

.blog-div {
	width: min(100%, 1040px);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 0.75em;
	padding: 0.5em;
}

.blog-div .blog {
	display: flex;
	flex-direction: column;
	padding: 0.75em;
	border: 1px solid var(--primary-color);
	border-radius: 1em;
	background-color: white;
}

.blog-div .blog img {
	width: 100%;
	height: 10em;
	object-fit: cover;
	border-radius: 0.75em;
}

.blog-div .blog h3 {
	margin: 0.25em 0 0 0;
	text-transform: uppercase;
}

.blog-div .blog p {
	margin: 0.5em 0 1em 0;
	font-size: 0.7em;
}

a.blog {
	text-decoration: none;
	color: var(--text-primary);
}

.blog-div a.blog p {
	margin-bottom: 0;
}

.blog .button.gradient-yellow {
	text-align: center;
	margin: 0.25em 0;
	width: min(12em, 100%);
}


.single-blog-div {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.single-blog-div .featured-img {
	width: 100%;
	max-height: calc((100vh - 130px) / 2);
	object-fit: cover;
}

.single-blog-div .blog-body {
	padding: 1em;
	width: min(100%, 1040px);
	margin: 0 auto;
}

.single-blog-div .title {
	margin-bottom: 0;
	margin-top: 0.5em;
}

.single-blog-div .blog-content p.date {
	margin-top: 0;
	font-style: italic;
	text-indent: 0;
}

.single-blog-div .blog-content p {
	text-align: justify;
}

.single-blog-div .blog-content > p {
	text-indent: 2em;
}


.single-blog-div .blog-latest-div {
	padding: 0;
}

.single-blog-div .separator {
	width: 100%;
	margin: 2em auto;
	height: 1px;
	background-color: var(--primary-black);
	border-radius: 1em;
}

.single-blog-div .blog-latest-heading {
	margin: 0.25em 0;
	font-size: 1.75em;
}


/* Footer */

#copyright-footer p {
	font-weight: 400;
}



.img-object-fit-cover img {
	object-fit: cover;
}

.top-screen img {
	object-fit: cover;
	object-position: top left;
}

.top-screen::after {
	content: '';
	position: absolute;
	right: 0;
	bottom: 0;
	top: 0;
	left: 0;
	background-color: var(--primary-black);
	opacity: 0.6;
}

.top-screen.blue::after {
	background-color: var(--light-gray);
	opacity: 0.7;
}

.top-screen .e-con-inner {
	z-index: 5;
}

.above-top-screen {
	z-index: 10;
}



/* TIMELINE */

/* Timeline Container */
.timeline {
	padding: 1.5em;
	word-break: break-word;
}

.timeline .outer {
	display: flex;
	flex-direction: column;
	justify-items: center;
	align-items: center;
}

/* Card container */
.timeline .card {
	position: relative;
	max-width: 500px;
	padding: 2em 2em 2em 2em;
}

/* Global ::before */
.timeline .card::before {
	content: "";
	position: absolute;
	width: 50%;
	border: solid var(--secondary-color);
}

/* Setting the border of top, bottom, left */
.timeline .card:nth-child(odd)::before {
	left: 0px;
	top: -4.5px;
	bottom: -4.5px;
	border-width: 5px 0 5px 5px;
	border-radius: 50px 0 0 50px;
}

/* Setting the border of top, bottom, right */
.timeline .card:nth-child(even)::before {
	right: 0;
	top: 0;
	bottom: 0;
	border-width: 5px 5px 5px 0;
	border-radius: 0 50px 50px 0;
}

/* Removing the border if it is the first card */
.timeline .card:first-child::before {
	border-top: 0;
	border-top-left-radius: 0;
}

/* Removing the border if it is the last card  and it's odd */
.timeline .card:last-child:nth-child(odd)::before {
	border-bottom: 0;
	border-bottom-left-radius: 0;
}

/* Removing the border if it is the last card  and it's even */
.timeline .card:last-child:nth-child(even)::before {
	border-bottom: 0;
	border-bottom-right-radius: 0;
}

/* Information about the timeline */
.timeline .info {
	display: flex;
	flex-direction: column;
	background: var(--primary-color);
	color: white;
	border-radius: 1em;
	padding: 1.5em;
	gap: 0.5em;

	position: relative;
	z-index: 10;
}

/* Title of the card */
.timeline .title {
	color: white;
	font-weight: 900;
	position: relative;
	margin: 0;
	font-size: 1.75em;
}

/* Timeline dot  */
.timeline .title::before {
	content: "";
	position: absolute;
	width: 1.25em;
	height: 1.25em;
	background: white;
	border-radius: 999px;
	border: 0.25em solid var(--secondary-color);
}

.timeline .info p {
	margin: 0;
}

/* text right if the card is even  */
.timeline .card:nth-child(even) > .info > .title {
	text-align: right;
}

.timeline .card:nth-child(even) > .info {
	text-align: right;
}

/* setting dot to the left if the card is odd */
.timeline .card:nth-child(odd) > .info > .title::before {
	left: -4.5rem;
}

/* setting dot to the right if the card is odd */
.timeline .card:nth-child(even) > .info > .title::before {
	right: -4.5rem;
}




/* CAROUSEL */

.carousel {
    position: relative;
	transition: width 0.2s ease-in-out;
    width: calc(100vw - var(--offset-width, 0));
    margin: 1em 0;
    padding: 0 1.5em;

	word-break: break-word;
}

.carousel-slides-frame {
    overflow: hidden;
	width: 100%;
}

.carousel-slides {
    position: relative;
    display: flex;
	/* align-items: center; */
    width: 100%;
}

.carousel-slides.dragging {
	user-select: none;
}

.carousel-slide {
    flex: 0 0 auto;
    box-sizing: border-box;
	height: 100%;
}

.carousel-slide img {
    width: 100%;
    display: block;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white);
	opacity: 0.5;
    color: var(--text-primary);
    border: none;
	width: 1em;
    padding: 0.75em;
    cursor: pointer;
    z-index: 1;

	display: flex;
	justify-content: center;
}

.carousel-control.prev {
    left: 0;
}

.carousel-control.next {
    right: 0;
}

.carousel-control:hover {
	background-color: var(--white);
	opacity: 0.8;
}


/* SERVICES CAROUSEL */

.carousel.services-background-carousel {
	padding: 0;
	margin: 0;
}

.carousel.services-background-carousel .carousel-slide img {
	object-fit: cover;
	max-height: 900px;
	min-height: 700px;
}

.services-background-carousel .carousel-slide {
	position: relative;
}


.services-top-part {
	position: relative;
}

#services-carousel-outer-div {
	position: absolute;
	bottom: 1.5em;
	left: 0.5em;
	right: 0.5em;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
}

.service.carousel-slide img {
	height: 100%;

}


.services-carousel .service {
	grid-template-rows: 3em 4em;
}

.services-carousel .service .service-title {
	font-size: 0.7em;
}



/* CUSTOM SCROLLBAR */

.custom-scrollbar {
    scrollbar-width: thin;  /* Firefox */
    scrollbar-color: var(--scrollbar-color, var(--primary-color)) transparent;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
    border: none;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--scrollbar-color, var(--primary-color));
    border-radius: 20px;
    border: 4px solid transparent;
}

.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}


/* LOADING */

@keyframes loading {
	0% {
	  transform: scale(1);
	}
	50% {
	  transform: scale(0.2);
	}
	100% {
	  transform: scale(1);
	}
}
  
  
/* LOADING ICON */

.loading-container-full {
	--bg: white;

	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: var(--bg);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

.loading-container {
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--loading-bg-color, transparent);
	padding: var(--padding, 0);
}

.loading-circle {
	border-radius: 50%;
	width: var(--loading-width, 1em);
	height: var(--loading-width, 1em);
	background: var(--loading-color, var(--primary-color));
	margin: 0 0.2em 0 0.2em;
	animation: 1.5s ease-in-out calc(var(--delay) * 0.333s) infinite loading;
}

.loading-container + h3 {
	color: var(--primary-color);
}

.loading-content-div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 2em 1em;
}

.loading-description {
	margin-bottom: 2em;
	text-align: center;
}


/* MODAL */

.modal-toggle {
    display: none;
}

.modal-toggle:checked + .modal {
    display: flex;
}

.modal {
    display: none;
    position: fixed; 
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);

    justify-content: center;
    align-items: center;
}

.modal-container-with-close {
    position: relative;
    width: 90%;
    font-size: 0.8em;

	border-radius: 20px;
	overflow: hidden;
}

.modal-content {
	--modal-background: #fefefe;

    color: var(--text-color);
    background-color: var(--modal-background);
    margin: auto;
    padding: 1.4em;

    text-align: center;
    max-height: 95vh;
    overflow-y: auto;
}

.modal-content.with-absolute-buttons {
    padding: 1.4em 1.4em 4.5em 1.4em;
}

.modal-content h1 {
    font-weight: bold;
}

.modal-container-with-close .close-modal {
    position: absolute;
    top: 0.6em;
    right: 0.6em;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    background: var(--primary-red);
    color: white;
    font-size: 1.7em;
    font-weight: bold;
    cursor: pointer;
}

.modal-container-with-close .close-modal:hover,
.modal-container-with-close .close-modal:focus {
    color: var(--accent-red);
}

.modal-buttons {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-top: 1em;
}

.modal-buttons a,
.modal-buttons button,
.modal-buttons label {
    width: 40%;
    padding: 0.4em 0.1em;
    font-weight: bold;
    border: none;
}

.modal-buttons a.button {
    margin: 0.5em 0 0.5em 0;
    font-size: 1.1em;
}

.modal-buttons .delete {
    background: var(--primary-red);
    color: white;
}

.modal-buttons .cancel {
    background: var(--btn-cancel-bg);
    color: var(--btn-cancel-color);
}

.modal-buttons.absolute {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: var(--modal-background);
	padding: 0.5em 0;
}



/* OTHER */

.hide {
	display: none !important;
}

.fw-900,
.fw-900.elementor-element .elementor-heading-title {
	font-weight: 900;
}

.flex {
	display: flex;
}

.flex.col {
	flex-direction: column;
}

.flex.row {
	flex-direction: column;
}

.flex.al-c {
	align-items: center;
}

.flex.al-fs {
	align-items: flex-start;
}

.flex.al-fe {
	align-items: flex-end;
}

.flex.jc-c {
	justify-content: center;
}

.flex.jc-fs {
	justify-content: flex-start;
}

.flex.jc-fe {
	justify-content: flex-end;
}



/* Rico */

.made-by {
	color: white;
	font-weight: bold;
	font-size: 0.65em;
}

#made-by-container {
	margin: -0.1em 0 -0.7em 0;
	gap: 0;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 90%;
	text-align: center;
}

.rico {
    display: inline-block;
    padding: 0.2em 0;

    position: relative;
    cursor: pointer;
}

.rico:hover {
    text-decoration: underline;
}

.rico > div {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 0.25em;

    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 1em;
    cursor: default;
    padding: 0.5em;
    border: 1px solid rgb(var(--primary-color));
}

.rico:hover > div,
.rico > div:hover {
    display: flex;
}

.rico > div a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rico > div svg {
    color: var(--primary-color);
}

.rico > div svg:hover {
    color: rgb(var(--wa-color));
}


@media only screen and (min-width: 320px) {

	/* BLOG */

	.blog-div {
		grid-template-columns: repeat(2, 1fr);
	}

}


@media only screen and (min-width: 500px) {

	.home-metaslider-info h1.elementor-heading-title,
	.page-title {
		font-size: 6vw;
	}
	
	.home-metaslider-info .home-p,
	.page-subtitle {
		font-size: 0.85em;
		padding-top: 10px;
	}

	#home-metaslider,
	#home-metaslider .flexslider {
		min-height: var(--slider-min-height-tablet);
	}

	#home-metaslider .flex-viewport,
	#home-metaslider .flex-viewport ul,
	#home-metaslider .flex-viewport li,
	#home-metaslider .flex-viewport img {
		min-height: var(--slider-min-height-tablet);
	}

	#warranty-card-container {
		grid-template-columns: 45% 45%;
		grid-template-rows: 165px;
	}
	
	#made-by-container {
		flex-direction: row;
		justify-content: space-between;
		margin: -0.2em 0 -0.6em 0;
	}

}


@media only screen and (min-width: 767px) {
	
	#nav-desktop {
		display: block;
	}
	
	#nav-mobile {
		display: none;
	}

	.home-metaslider-info h1.elementor-heading-title,
	.page-title {
        font-size: 3em;
    }

	.side-paddings {
		padding-left: 50px;
		padding-right: 50px;
	}
	
	#made-by-container {
		width: 100%;
	}
	
	.made-by {
		font-size: 0.8em;
	}

	/* MODAL */

    .modal-container-with-close {
        width: max(50%, 650px);
    }

	/* HOME PAGE */

	#why-container {	
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(2, 1fr);
	}

	#warranty-card-container {
		grid-template-columns: 300px 300px;
		grid-template-rows: 175px;
	}


	/* SERVICES */

	.services-div {
		gap: 2.5em;
	}
	
	.services-div .service {
		grid-template-rows: 10em 2em;
		width: 13em;
	}

	#service-description-div .service-description {
		padding: 2.5em 1.5em;
	}

	.service-description .description-bottom .description-bottom-content,
	.service-description .description-bottom .description-bottom-content > div.e-con-inner {
		width: 20em;
		font-size: 1em;
	}

	.service-description .description-bottom .description-bottom-content.with-header,
	.service-description .description-bottom .description-bottom-content.with-header > div.e-con-inner {
		width: 22em;
	}

	.service-description .description-bottom .description-bottom-content.with-image,
	.service-description .description-bottom .description-bottom-content.with-image > div.e-con-inner {
		grid-template-rows: 10em 4.2em auto;
	}

	.service-description .description-bottom .description-bottom-content-div,
	.service-description .description-bottom .description-bottom-content-div > div.e-con-inner {
		justify-content: center;
		gap: 1.25em;
	}

	.service-description .description-bottom .number-header-div .number {
		font-size: 3em;
	}

	.service-description .description-bottom .number-header-div,
	.service-description .description-bottom .number-header-div > div.e-con-inner {
		grid-template-columns: 4em auto;
	}

	.service-description .description-bottom .number-header-div h2 {
		font-size: 1.5em;
	}

	/* GALLERY */

	.gallery-div {
		grid-template-columns: 1fr 1fr 1fr;
		gap: 1em;
	}

	.gallery-home-carousel .gallery-image {
		padding: 1em;
	}

	.gallery-home-carousel .gallery-image .gallery-screen {
		left: 1em;
		top: 1em;
		right: 1em;
		bottom: 1em;
	}

	.gallery-home-carousel .carousel-control {
		font-size: 1em;
	}

	/* TESTIMONY */

	.testimony-div {
		grid-template-columns: repeat(2, 1fr);
	}

	/* BLOG */

	.blog-div {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.25em;
	}

	.blog-div .blog {
		padding: 1em;
	}

}

@media only screen and (min-width: 1024px) {

	.button,
	.button-transparent,
	.elementor-button-text {
		font-size: 1em;
	}

	.elementor-button {
		padding: 1em 1.75em;
		font-size: 0.8em;
	}
	
	#nav-desktop .hfe-nav-menu {
		transform: translateX(2em);
	}

	#nav-desktop li.menu-item a {
		font-size: 1em;
	}

	.home-metaslider-info h1.elementor-heading-title,
	.page-title {
        font-size: 4.5vw;
    }
	
	.home-metaslider-info .home-p,
	.page-subtitle {
		font-size: 1em;
	}

	.side-paddings {
		padding-left: 80px;
		padding-right: 80px;
	}
	
	/* HOME PAGE */

	.paint-protection-svg {
		height: 3.5em;
	}

	.paint-protection-text-mobile {
		display: none;
	}
	
	.paint-protection-text-desktop {
		display: inline-block;
	}

	/* SERVICES CAROUSEL */

	.carousel.services-carousel {
		left: 1em;
		right: 1em;
	}

	.services-carousel .service .service-title {
		font-size: 1em;
	}

	.services-carousel .service {
		grid-template-rows: 4.5em 4em;
	}

	/* TESTIMONY */

	.testimony-div {
		grid-template-columns: repeat(3, 1fr);
	}

}

@media only screen and (min-width: 1250px) {

	/* HOME PAGE */

	#why-container {	
		grid-template-columns: repeat(4, 1fr);
		grid-template-rows: 1fr;
	}

	/* SERVICES CAROUSEL */

	#services-carousel-outer-div {
		bottom: 3em;
	}

}

@media only screen and (min-width: 1500px) {

	.home-metaslider-info h1.elementor-heading-title,
	.page-title {
		font-size: 5em;
	}
	
	.home-metaslider-info .home-p,
	.page-subtitle {
		font-size: 1.35em;
	}

	.side-paddings {
		padding-left: 200px;
		padding-right: 200px;
	}

	.button,
	.button-transparent,
	.elementor-button-text {
		font-size: 1.2em;
	}

	/* SERVICES */

	.services-div {
		gap: 5em;
	}

	/* SERVICES CAROUSEL */

	.services-carousel .service {
		padding: 1em 1em;
		grid-template-rows: 7em 3.5em;
	}

}


@media only screen and (min-width: 1750px) {

	#warranty-card-container {
		grid-template-columns: 400px 400px;
		grid-template-rows: 250px;
	}

}