/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
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: 2.0.0
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
*/

/* Add your custom styles here */

.hero-after-devider:after{
	content: '';
	background: url(https://ljubljanica.loading.si/wp-content/uploads/2025/07/devider-scaled.webp);
	background-position: top center;
	background-size: cover;
	background-repeat: no-repeat;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	aspect-ratio: 17 / 1;
}

.hero-after-devider{
	--divider-height: calc(100vw / 17); /* Since aspect-ratio is 17/1 */
	margin-bottom: var(--divider-height);
}

.blur-button a{
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.kiwwwi-sticky-header {
	transition: backdrop-filter 0.3s ease-in-out, background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.kiwwwi-sticky-header.scrolled {
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	background: linear-gradient(180deg, rgb(0 0 0 / 77%) 0%, rgb(0 0 0 / 30%) 100%) !important;
	box-shadow: 0 0 15px rgb(0 0 0 / 60%);
}

.partnerji-gallery .gallery{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
}

.partnerji-gallery img{
	height: 50px;
	width: 100%;
	object-fit: contain;
	filter: grayscale(1);
}

.elementor-widget-text-editor ul{
	padding-left: 20px;
}

.elementor-widget-text-editor ul li{
	margin-bottom: 10px;
}

.elementor-widget-text-editor ul li:last-child{
	margin-bottom: 0;
}


/* Kontaktni obrazec */

.custom-contact-form input[type="text"],
.custom-contact-form input[type="email"],
.custom-contact-form textarea {
	width: 100%;
	padding: 12px 22px;
	background-color: #2750450F;
	color: #1A222CA8;
	border: none;
	box-shadow: none;
	border-radius: 9px;
	font-size: 16px;
	font-weight: 600;
	box-sizing: border-box;
	border: 2px solid #2750450F;
	transition: border-color 0.3s ease;
	line-height: 27px;
}

.custom-contact-form input[type="text"]:focus,
.custom-contact-form input[type="email"]:focus,
.custom-contact-form textarea:focus {
	outline: none;
	border-color: #275045;
}

.custom-contact-form textarea {
	min-height: 120px;
	resize: vertical;
}

.custom-contact-form br{
	display: none;
}

.custom-contact-form input[type="submit"] {
	background-color: #275045;
	color: white;
	padding: 12px 30px;
	border: none;
	border-radius: 100px;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.custom-contact-form input[type="submit"]:hover {
	background-color: #1e3d32;
}

.custom-contact-form .wpcf7-form-control-wrap {
	display: block;
	margin-bottom: 15px;
}

.custom-contact-form .wpcf7-not-valid-tip {
	color: #dc3545;
	font-size: 14px;
	margin-top: 0px;
	margin-left: 5px;
}

.custom-contact-form + .wpcf7-response-output{
	background: #275045;
	border-color: #275045 !important;
	border-radius: 9px;
	padding: 10px 25px !important;
	color: white;
}

.custom-contact-form input.wpcf7-not-valid,
.custom-contact-form textarea.wpcf7-not-valid{
	border-color: #dc3545;
}

/* END Kontaktni obrazec */

.project-pdf-wrapper:not(:has(a)){
	display: none;
}