/*
Theme Name: PR-Pintakäsittely Child
Template: oceanwp
Version: 1.0
*/

html {
	font-size:100%;
}

#lf-header{
    position:absolute;
    width:100vw;
}
/* Remove theme input styles */
input, textarea, select, button {
    all: unset; /* removes inherited styles */
    all: initial; /* optional alternative */
    box-sizing: border-box; /* reset sizing */
}
/* * * START hero image into a bg * */
.lf-hero-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0; 
	transform: translate(-50%, -50%);
	transform-origin: center center;  
	z-index: 0;
	top: 50%;
	left: 50%;
	filter: brightness(50%); 
}

.lf-hero-section {
	position: relative !important;
}
/* * * END hero image into a bg * */

/* * * START Consent Banner Desktop Centering * */
@media (min-width: 768px) {
	/* Styles for tablets, desktops, and larger screens */
	.cky-consent-bar {
		position: fixed !important;
		top: 50% !important;
		left: 50% !important;
		transform: translate(-50%, -50%) !important;
		width: 1000px !important; /* Adjust as needed */
	}
	.cky-consent-container {
		position: fixed !important;
		background-color:rgba(0,0,0,0.3) !important;
		height: 100vh !important;
		top:0 !important;
		left:0 !important;
	}
}

/* Styles for tablets, desktops, and larger screens */
.cky-revisit-bottom-right {
	top: calc(50% + 103px);
	right: 0px !important;
	border-radius: 0px !important;
	z-index: 20 !important;
}
/* * * END Consent Banner Desktop Centering * */


.op-keti__widget.op-keti__type--floating .op-keti__btn-open, .op-keti__type--floating .op-keti__form-submit-btn, .op-keti__type--floating .op-keti__form-submit-btn:hover, .op-keti__type--floating .op-keti__form-submit-btn:focus {
    background: #fa4900 !important;
    border-color: #fa4900 !important;
}