/* 
Theme Name: GIMA Security
Theme URI: https://github.com/elementor/hello-theme-child/
Description: GIMA Security is a child theme of Hello Elementor, created by Cap340
Author: Cap340
Template: hello-elementor
Version: 1.0.0
Text Domain: gimasecurity
*/

html {
	scroll-behavior: smooth;
}

.min-h-screen {
	min-height: 100vh;
}

.color-primary {
	color: var(--e-global-color-primary);
}

.color-secondary {
	color: var(--e-global-color-secondary);
}

/** Div as link tag */

a:not(:is(.elementor-button)) {
	color: var(--e-global-color-text);
}

.site {
	min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
	flex: 1 0 auto;
}

/* Page Template Default */

body:not([class*=elementor-page-]) .site-main {
	padding: 0 1rem;
}

body:not([class*=elementor-page-]) .site-main .page-header {
	padding: 3rem 0;
}

body:not([class*=elementor-page-]) .site-main .page-content {
	margin-bottom: 3rem;
}

body:not([class*=elementor-page-]) .site-main .page-content > *:not(:last-child) {
	margin-bottom: 1rem;
}

/* Page 404 */

.is-404 .site-main {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 50vh;
}

.is-404 .page-header,
.is-404 .page-content {
	padding: 0 !important;
	margin: 0 !important;
}

.is-404 .entry-title,
.is-404 p {
	text-align: center;
}

.is-404 p {
	font-size: 1.25rem;
	line-height: 1.75rem;
	font-weight: 500;
}

.is-404 .huge {
	color: var(--e-global-color-secondary);
	position: absolute;
	top: 50%;
	transform: translateY(-70%);
	font-size: 10rem;
	font-weight: 900;
	z-index: -1;
	opacity: 0.1;
}

/** Footer Gallery */

.footer-gallery {
	max-height: 120px;
	overflow-y: hidden;
}

.footer-gallery img {
	max-height: 120px;
	object-fit: cover;
}

/* Form */

.form-field {
	margin-bottom: 10px;
}

.form-field.field-actions {
	position: relative;
	margin-bottom: 0;
}

.form-field.field-actions .wpcf7-spinner {
	position: absolute;
	top: 8px;
	left: 5px;
}

.form-field.field-actions .wpcf7-submit {
	background-color: var(--e-global-color-secondary);
	color: #ffffff;
	border-color: var(--e-global-color-secondary);
}

.form-field label {
	margin-bottom: 5px;
}

.form-field input,
.form-field textarea {
	width: 100%;
}

/* Swiper */

.swiper-clients {
	max-height: 120px;
	overflow-y: hidden;
}

.swiper-clients .swiper-slide-image {
	max-height: 120px;
	width: auto !important;
}

/* Tablet */
@media (767px < width <=1024px) {
	.is-404 .site-main {
		min-height: unset;
	}
	
	.is-404 .huge {
		font-size: 16rem;
	}
}

/* Desktop */
@media (width > 1024px) {
	.is-404 .site-main {
		min-height: unset;
	}
	
	.is-404 .huge {
		font-size: 20rem;
	}
}