/*

Theme Name: Fromi Basic

Author: Oskari From;

*/

/* width */
::-webkit-scrollbar {
	width: 5px;
}
  
/* Track */
::-webkit-scrollbar-track {
	background: #191919;
	border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
	background: #454545 !important;
	border-radius: 10px;
}

html {
	scroll-behavior: smooth;
}

body {
	height: 100%;
	display: flex;
    flex-direction: column;
	padding: 0px;
	color: rgb(0, 0, 153) !important;
	background: white !important;
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	list-style: none;
	font-size: 16px !important;
}

.styled-list a {
	color: #E92804 !important;
}

/* VARJOT - Position: relative tekee sen, että varjo on toisen divin päällä */
.shadow-bottom {
	box-shadow: 0px 8px 5px rgba(0,0,0,0.3); /* 1 = leveys, 2= korkeus, 3= feidaus */
	position: relative;
}
.shadow-top {
	box-shadow: 0px -8px 5px rgba(0,0,0,0.3); /* 1 = leveys, 2= korkeus, 3= feidaus */
	position: relative;
}


/* Poistaa linkkien kursivoinnin ja active tyylit */
a:hover {
	text-decoration: none; /* Poistaa linkitetyn tekstin alle tulevan alleviivauksen */
}
a:active {
	border-style: none; /* Poistaa hyperlinkin ympärille tulevan sinisen viivan */
}

/* Desktop header + desktop menu */

header {
	width: 100%;
	z-index: 2;
}
#desktop-header {
	/*background-color: rgba(0,0,0,0.7);*/
	/*background-color: #292929;*/
	height: 100px; /* LOGO korkeus 70px */
	width: 100%;
	z-index: 2;
	position: fixed;
}

#desktop-header-wrapper {
	position: fixed;
	width: 100%;
	height: 100px;
	background: white !important;
	color: black !important;
	filter: drop-shadow(0px 0px 10px rgba(0,0,0,0.3));
}
#desktop-header-first-row > div {
	display: flex;
	flex-direction: row;
	justify-content: start;
	align-items: center;
	width: 100%;
	height: 100px;
}
#desktop-header-second-row {
	height: 55px;
	width: 100%;
	background-color: #202020;
	box-shadow: 0px 0px 25px rgba(0,0,0,0.4);
}

/* Mobile header + hamburger menu STARTS */

#myNav {
	display: none;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#myNav li {
	gap: 30px;
	font-size: 18px;
}

.fixed-top-right {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 2;
}
.overlay {
	position: fixed;
	width: 100%;
	padding-top: 20px;
	padding-bottom: 20px;
	z-index: 3;
	background: white;
	top: 80px;
}
.overlay-content {
	text-align: center;
}

.overlay a {
	/*padding: 15px;*/
	text-decoration: none;
	text-transform: uppercase;
	font-size: 20px;
	font-weight: bold;
	color: rgb(0, 0, 153);
	display: block;
	transition: 0.3s;
}

/* --------------- ASIAKKAAN TYYLIT ALLA --------------- */

/* Teeman värit ja basic asiat alkaa */

/* Värit */
.primary {
	background-color: rgb(0, 0, 153);
}
.primary-text {
	color: rgb(69, 69, 255);
}
.primary-hover > :hover {
	background: rgb(0, 0, 153) !important;
}
.grayscale {
	-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
	filter: grayscale(100%);
}

/* Painikkeet  */
.vt-btn {
	background-color: rgb(0, 0, 153) !important;
}

.vt-btn:hover {
	text-decoration: none !important;
}

.vt-btn:focus {
	outline: 0px !important;
    outline-offset: 0px !important;
	text-decoration: none !important;
}

.image-dialog {

	border-radius: 16px !important;
}

dialog {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  background: transparent;
  padding: 0;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.main-image-wrapper {
	max-width: 500px;
}

@media only screen and (max-width: 767px) {
	.image-dialog {

	}
}

dialog::backdrop {
  /* make the backdrop a semi-transparent black */
  background-color: rgba(0, 0, 0, 0.4);
}

.btn {
	color: white !important;
	height: 50px !important;
	box-shadow: 0px 0px 15px rgba(0,0,0,0.2);
	padding: 10px;
	font-weight: bold !important;
	font-size: 20px !important;
	text-transform: uppercase;
	background-color: rgb(0, 123, 205) !important;
	border-radius: 100px !important;
}

.mobile-button {
	font-size: 22px !important;
}

.action-link {
	font-size: 16px;
	text-decoration: none;
	padding-left: 8px;
	color: rgb(0, 0, 153);;
}
.action-link-header:hover {
	color: rgb(69, 69, 255);
}

.action-link:hover {
	color: rgb(69, 69, 255);
}

a:hover {
	text-decoration: none !important;
}

.action-link-header {
	font-size: 18px;
	text-decoration: none;
	padding-left: 8px;
	color: rgb(0, 0, 153);
}

/* Muotoilu */
.rounded {
	border-radius: 999px !important;
}

/* Sijainti */
.right-bottom {
	position: fixed !important;
	right: 15px;
	bottom: 15px;
	z-index: 1;
}

/* Tekstikoot */
h1 {
	font-size: 28px !important;
	font-weight: bold !important;
}
h2 {
	font-size: 24px;
	font-weight: bold;
}
h3 {
	font-size: 18px !important;
	font-weight: bold !important;
}
h4 {
	font-size: 22px !important;
	font-weight: bold !important;
}
h5 {
	font-size: 16px !important;
	font-weight: bold !important;
}
h6 {
	font-size: 14px !important;
	font-weight: bold !important;
}
p {
	font-size: 16px !important;
}
.main-title {
	font-size: 50px;
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis; 
}
.frontpage-slogan {
	font-weight: 700 !important;
	font-size: 55px !important;
	overflow-wrap: break-word;
}

/* Painikkeiden koot */
.btn-xl {
	height: 65px !important;
	width: 65px;
}
.top-section {
	margin-top: 35px;
	height: 260px;
}

/* Komponentit */
.divider {
	width: 200px;
	height: 4px;
}
.styled-list > ul > li {
	list-style: none !important;
}
.styled-list > ul > li::before {
	content: "•";
	color: #E92804;
	display: inline-block;
	width: 1em;
  	margin-left: -1em;
	font-size: 20px;
}

.styled-list li ol {
	list-style: none;
	counter-reset: li;
}
.styled-list li ol li::before {
	content: counter(li);
	color: #E92804;
	display: inline-block;
	width: 1em;
  	margin-left: -1em;
	font-size: 20px;
}
.styled-list li ol li {
	counter-increment: li;
}

.front-page-content a {
	color: #E92804 !important;
}

.wp-content a {
	color: #E92804 !important;
}

/* Parallax DIV frontpage */
#parallax-image {
	min-height: 800px;
	width: 100%;
	list-style: none;
	position: relative; /* Varmistaa, että pseudoelementti on oikeassa paikassa */
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover !important;
	background-image: url("https://vt-kone.fi/wp-content/uploads/2025/08/e3b1402c-2cec-48eb-be11-ba9ccc718058.jpg.png");
}
/*
#parallax-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(0, 0, 153);
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
}
*/
.front-page-slogan-logo-area-wrapper {
	min-height: 600px !important;
}
.content-image-container {
	border-radius: 16px;
	overflow: hidden;
}
.content-image-container img {
	height: 100%;
	width: 100%;
	object-fit: cover !important;
}
.wp-content h1 {
	padding-bottom: 12px !important;
}

@media only screen and (max-width: 991px) { /* PHONE and PADS  */
	#parallax-image {
		min-height: 500px !important;
		max-height: 500px;
	}
	.front-page-slogan-logo-area-wrapper {
		min-height: 400px;
	}
}

/* FOOTER starts*/
footer {
	bottom: 0;
	width: 100%;
}
footer a {
	color: #E92804 !important;
}
/* Footer stops */

/* WP Maps */
#contact-map > .widget_block > p {
	display: none;
}

/* From Software cards starts */

.fs-card {
	margin-top: 16px;
	margin-bottom: 16px;
	border-radius: 16px;
	padding: 16px;
	width: 100%;
}

.fs-card-white {
	width: 100%;
	margin-top: 16px;
	margin-bottom: 16px;
	border-radius: 16px;
	padding: 16px;
	background-color: white;
	color: black;
}

/* From Software cards ends */


/* Alla bottom-service-menu */
.bottom-service-menu > div > ul {
	padding-left: 0;
}
.bottom-service-menu > div > ul > li {
	list-style: none;
	margin-bottom: 8px;
}
.bottom-service-menu > div > ul > li > a {
	color: white !important;
}
.bottom-service-menu > div > ul > li a:hover {
	color: #E92804 !important;
}
/* Tekstin erikoissäädöt */

/* Mobiilimenu alkaa */
.mobile-header-sticky {
	position: fixed;
	top: 0;
	height: 80px;
	width: 100%;
	background: white !important;
	filter: drop-shadow(0px 0px 10px rgba(0,0,0,0.3));
}
/* Mobiilimenu loppuu */

#mobile_menu {
	display: flex;
	flex-direction: column;
	font-size: 24px;
}

.job-icon {fill: white; margin-bottom: 25px; transition: transform .2s;}
.job-icon:hover {transform: scale(1.04);}

.jobs {width: 90%;}

.wp-block-image img {
	-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
	filter: grayscale(100%);
}

.content-page-bottom-img img {
	object-fit: cover;
	width: 100%;
}

#items li {
	width: 100% !important;
}

#items {
	background-color: rgb(174, 206, 255);
	padding-top: 40px;
	padding-bottom: 40px;
	border-radius: 30px 30px 0 0;
}

#items-on-single-item {
	background-color: rgb(174, 206, 255);
	padding-top: 40px;
	padding-bottom: 40px;

	width: 100%;
	padding-top: 120px;
	min-height: calc(100vh - 357px);
	color: black !important
}

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

	#sample-jobs {
		background-color: white;
		color: black;
		width: 400px;
		height: 300px
	}
	.home_logo {
		width: 450px;
		margin-bottom: 20px;
	}
	.header-logo-bosch-mobile {
		display: none;
	}
}

@media only screen and (max-width: 767px) {

	#sample-jobs {
		background-color: white;
		color: black;
		width: 95%;
		height: 300px
	}
	.home_logo {
		width: 80%;
		margin-bottom: 20px;
	}
	.top-section {
		height: 100% !important;
		margin-top: 50px;
	}
	.contact-company-details {
		margin-top: 12px;
	}
	.page-title {
		font-weight: 700;
		font-size: 40px;
	}
	.header-logo-bosch-mobile {
		width: 50px;
		height: 50px;
		position: absolute;
		top: 20px;
		left: 20px;
	}
	.wp-block-image img {
		width: 100%;
	}
}

@media only screen and (min-width: 768px) and (max-width: 992px) {

	#sample-jobs {
		background-color: white;
		color: black;
		width: 95%;
		height: 300px
	}
	.home_logo {
		width: 80%;
		margin-bottom: 20px;
	}
	.top-section {
		height: 150px;
	}
	.header-logo-bosch-mobile {
		width: 70px;
		height: 70px;
		position: absolute;
		top: 20px;
		left: 20px;
	}
}

/* SPESIAALISÄÄTÖ ÄLÄ KOSKE */

@media only screen and (max-width: 1400px) {

	#desktop-header {
		padding-left: 30px;
		padding-right: 30px;
	}

}

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

	#desktop-header {
		padding-left: 100px;
		padding-right: 100px;
	}

}

@media only screen and (min-width: 1751px) and (max-width: 2000px) {

	#desktop-header {
		padding-left: 300px;
		padding-right: 300px;
	}

}

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

	#desktop-header {
		padding-left: 400px;
		padding-right: 400px;
	}

}