/* VÄLIMUISTITETTU */
/* GENEROITU 04.12.25 22:58 */

body {
	background-color: #fff;
	color: #000;
	font-family: 'Manrope', sans-serif;;
	font-weight: 200;
}

header,
main {
	background-color: #fff;
}

html,
body,
div {
	font-size: 20px;
}

input,
textarea {
	font-family: 'Manrope', sans-serif;;
}

h1,
h2,
h3,
h4,
h5,
h6,
h7,
.widget-title,
#main_logo > a {
	font-family: 'Cabin', sans-serif;;
	font-weight: 700;
}


/* FONTTIKOOT START */
@media screen and (min-width: 1801px) {
	h1 {
		font-size: 50px;
	}

	h2 {
		font-size: 40px;
	}

	h3 {
		font-size: 30px;
	}

	h4 {
		font-size: 25px;
	}

	h5,
	html,
	body,
	div {
		font-size: 20px;
	}

	#heroslider h1,
	#hero h1 {
		font-size: 65px;
	}

	#heroslider h2,
	#hero h2 {
		font-size: 52px;
	}

	#heroslider h3,
	#hero h3 {
		font-size: 39px;
	}

	#heroslider h4,
	#hero h4 {
		font-size: 32px;
	}

	#heroslider h5,
	#hero h5,
	#hero p {
		font-size: 26px;
	}
}

@media screen and (min-width: 1201px) and (max-width: 1800px) {
	h1 {
		font-size: 40px;
	}

	h2 {
		font-size: 35px;
	}

	h3 {
		font-size: 25px;
	}

	h4 {
		font-size: 22px;
	}

	h5,
	html,
	body,
	div {
		font-size: 20px;
	}

	#heroslider h1,
	#hero h1 {
		font-size: 52px;
	}

	#heroslider h2,
	#hero h2 {
		font-size: 45px;
	}

	#heroslider h3,
	#hero h3 {
		font-size: 32px;
	}

	#heroslider h4,
	#hero h4 {
		font-size: 28px;
	}

	#heroslider h5,
	#hero h5,
	#hero p {
		font-size: 26px;
	}
}

@media screen and (min-width: 1051px) and (max-width: 1200px) {
	h1 {
		font-size: 35px;
	}

	h2 {
		font-size: 28px;
	}

	h3 {
		font-size: 22px;
	}

	h4 {
		font-size: 20px;
	}

	h5,
	html,
	body,
	div {
		font-size: 18px;
	}

	#heroslider h1,
	#hero h1 {
		font-size: 45px;
	}

	#heroslider h2,
	#hero h2 {
		font-size: 36px;
	}

	#heroslider h3,
	#hero h3 {
		font-size: 28px;
	}

	#heroslider h4,
	#hero h4 {
		font-size: 26px;
	}

	#heroslider h5,
	#hero h5,
	#hero p {
		font-size: 23px;
	}
}

@media screen and (min-width: 801px) and (max-width: 1050px) {
	h1 {
		font-size: 30px;
	}

	h2 {
		font-size: 25px;
	}

	h3 {
		font-size: 22px;
	}

	h4 {
		font-size: 20px;
	}

	h5,
	html,
	body,
	div {
		font-size: 18px;
	}

	#heroslider h1,
	#hero h1 {
		font-size: 39px;
	}

	#heroslider h2,
	#hero h2 {
		font-size: 32px;
	}

	#heroslider h3,
	#hero h3 {
		font-size: 28px;
	}

	#heroslider h4,
	#hero h4 {
		font-size: 26px;
	}

	#heroslider h5,
	#hero h5,
	#hero p {
		font-size: 23px;
	}
}

@media screen and (max-width: 800px) {
	h1 {
		font-size: 28px;
	}

	h2 {
		font-size: 24px;
	}

	h3 {
		font-size: 21px;
	}

	h4 {
		font-size: 19px;
	}

	h5,
	html,
	body,
	div {
		font-size: 16px;
	}

	#heroslider h1,
	#hero h1 {
		font-size: 36px;
	}

	#heroslider h2,
	#hero h2 {
		font-size: 31px;
	}

	#heroslider h3,
	#hero h3 {
		font-size: 27px;
	}

	#heroslider h4,
	#hero h4 {
		font-size: 24px;
	}

	#heroslider h5,
	#hero h5,
	#hero p {
		font-size: 20px;
	}
}
/* FONTTIKOOT END */

a {
	color: #0045db;
}

.nappula_1 {
	font-family: 'Cabin', sans-serif;;
	font-weight: 700;
	background-color: rgba(0,69,219,1);
	color: #ffffff;
	border: 0px solid #000;
	border-radius: 2px;
}

.nappula_1:hover {
	background-color: rgba(0,0,0,1);
	color: #FFF;
}

.nappula_2 {
	font-family: 'Manrope', sans-serif;
	font-weight: 200;
	background-color: rgba(255,255,255,1);
	color: #000;
	border: 1px solid #000;
	border-radius: 0px;
}

.nappula_2:hover {
	background-color: rgba(0,0,0,1);
	color: #FFF;
}

.nappula_3 {
	font-family: 'Manrope', sans-serif;
	font-weight: 200;
	background-color: rgba(255,255,255,1);
	color: #000;
	border: 1px solid #000;
	border-radius: 0px;
}

.nappula_3:hover {
	background-color: rgba(0,0,0,1);
	color: #FFF;
}

header#main_header {
	background-color: #fff;
box-shadow: 0px 2px 13px #000;
}

.home header#main_header {
	background: #fff;
}


@media screen and (min-width: 1051px) {
	#main_header > .big_wrapper > #main_logo {
		width: 30%;
		max-width: 30%;
	}
}

#main_logo > a {
	color: #000000;
	font-size: 25px;
	max-width: 350px;
		padding: 10px 0px 10px  0px;
}

@media screen and (min-width: 1051px) {
	#main_navigation {
		background-color: #fff;
		font-size: 22px;
	}
}

@media screen and (max-width: 1050px) {
	#main_logo > a {
		max-width: 350px;
		max-height: 90px;
		padding: 10px 0px 10px  0px;
	}
}

.bar1,
.bar2,
.bar3 {
	background-color: #0045db;
}

#main_navigation ul.sub-menu {
	background-color: #fff;
}

.home #main_navigation ul.sub-menu {
	background-color: #fff;
}

#main_navigation > li > a,
#main_navigation > li .sub-menu a {
	color: #0045db;
	font-family: 'Cabin', sans-serif;	font-weight: 700;
		text-transform: uppercase;
	
}

#main_navigation li:hover > a,
#main_navigation li.current-menu-item > a,
#main_navigation li.current-page-ancestor > a,
#main_navigation li.current-menu-parent > a,
#main_navigation li.current_page_parent > a,
#main_navigation li .sub-menu li:hover > a,
#main_navigation li .sub-menu li.current-menu-item > a {
	color: #ffffff;
}

#main_navigation > li > a,
	#main_navigation .sub-menu > li > a {
	background-color: #ffffff;
}
	
#main_navigation li:hover > a,
#main_navigation li.current-menu-item > a,
#main_navigation li.current-menu-parent > a,
#main_navigation li.current_page_parent > a,
#main_navigation li.current-page-ancestor > a {
	background-color: #0045db;
}
	
aside#main_sidecontent {
	background-color: #fff;
	color: #000000;
	border: 1px solid #f0f0f0;
	border-right: 0;
	border-bottom: 0;	
}

.artikkeli > a {
	color: #0045db;
}

.artikkeli > a:hover {
	text-decoration: none;
}

#main_logo > a > img {
	max-width: 350px;
	max-height: 90px;
}

@media screen and (max-width: 1050px) {
	#main_logo > a > img {
		max-width: 300px;
		max-height: 90px;
	}
	
}

.overlay.oletus {
	background-color: rgba(0,0,0,0.6);
}

/* WOOCOMMERCE */
.woocommerce .woocommerce-breadcrumb,
.woocommerce-breadcrumb::before, 
.woocommerce-breadcrumb::after {
	background-color: #FFF;
}

.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb a,
.woocommerce .woocommerce-breadcrumb a::after {
	color: #000;
}


/* HINNASTO */

.hinnasto_kategoria > h1 {
	color: #000;
	border-bottom: 3px solid #000;
}

.hinnasto_kategoria_item {
	color: #000;
	border-bottom: 1px solid #000;
}

a.return_to_top,
a.hinnasto_otsikko {
	background: #000;
	color: #FFF;
	border: 1px solid #000;
}

a.return_to_top:hover, a.hinnasto_otsikko:hover {
	background: #000;
}

@media screen and (min-width: 801px) {
	aside#main_sidecontent {
		border-top: 0;
	}
}

@media screen and (max-width: 800px) {
	aside#main_sidecontent {
		border-left: 0;
	}
}

aside#main_sidecontent .widget-title,
aside#main_sidecontent h1,
aside#main_sidecontent h2,
aside#main_sidecontent h3,
aside#main_sidecontent h4,
aside#main_sidecontent h5,
aside#main_sidecontent h6 {
	color: #000000;
}

footer#main_footer {
	background-image: url('https://lvi-forsman.fi/wp-content/uploads/2023/08/pexels-max-rahubovskiy-7031883.jpg'); background-size: cover;
color: #FFFFFF;
}

footer#main_footer > .overlay {
	background-color: #232323;
	opacity: 0.9;
}

footer#main_footer .widget-title,
footer#main_footer h1,
footer#main_footer h2,
footer#main_footer h3,
footer#main_footer h4,
footer#main_footer h5,
footer#main_footer h6 {
	color: #FFFFFF;
}

footer#main_footer a {
	color: #FFFFFF;
}

/* SIVUSTON ASETUKSET: OMA CSS */
#main_logo > a, #main_logo > a img {
    max-width: 100%;
}


section#hero .overlay.oletus h1 {
    color: #fff;
}

.before_map_widget_wrapper h2,
main#main_content h1,
main#main_content h2,
main#main_content h3,
main#main_content h4,
main#main_content h5 {
    color: #0045db;
}

.before_map_widget_wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 80%;
    margin: 0 auto 70px auto;
}

section.before_map_widget.widget_block {
    display: block;
    width: 100%;
    text-align: center;
}

section.before_map_widget.widget_media_image {
    display: block;
    width: auto;
    max-width: 25%;
    padding: 10px;
    box-sizing: border-box;
}

section.before_map_widget figure {
    margin: 0;
}

section.before_map_widget figure a {
    display: block;
}

@media screen and (max-width: 800px) {
    section.before_map_widget.widget_media_image {
        max-width: 50%;
    }
}

ul {
    padding-left: 0;
}

section.before_map_widget figure a {
    opacity: 1.0;
    transition: 0.25s opacity;
}

section.before_map_widget figure a:hover {
    opacity: 0.5;
}

section#referenssit {
    display: flex;
    flex-wrap: wrap;
}

article.referenssi {
    display: block;
    width: calc(100% / 3);
    box-sizing: border-box;
    padding: 20px 15px 0 15px;
    text-align: center;
    border: 0;
}

.referenssi_kuva {
    width: auto;
    min-height: unset;
}

.referenssi_kuva > img {
    width: auto;
    display: block;
    margin: 0 auto;
}

.referenssi_data {
    width: auto;
    padding: 20px 30px;
}

@media screen and (max-width: 800px) {
	section#referenssit {
		display: block;
	}

	article.referenssi {
		width: 400px;
		max-width: 100%;
		margin: 0 auto;
	}
}

.nappula_1 {
    text-transform: uppercase;
}

section#hero h1 {
    text-transform: uppercase;
}

#main_content li {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 5px 0;
}

#main_content ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#main_content li::before {
    content: '';
    display: inline-block;
    min-width: 20px;
    width: 20px;
    height: 20px;
    background: url('/wp-content/uploads/2023/09/check-sininen.svg');
    background-size: 20px;
    background-position: center;
    margin-right: 15px;
    background-repeat: no-repeat;
}

.referenssi_kuva {
    display: none;
}