/*
** Theme custom CSS
*/

/*  GENERAL */

@font-face {
  font-family: titillium;
  src: url(fonts/TitilliumWeb-Regular.ttf);
  font-weight: 400;
}
@font-face {
  font-family: titillium;
  src: url(fonts/TitilliumWeb-Italic.ttf);
  font-style: italic;
  font-weight: 400;
}
@font-face {
  font-family: titillium;
  src: url(fonts/TitilliumWeb-SemiBold.ttf);
  font-weight: 600;
}
@font-face {
  font-family: titillium;
  src: url(fonts/TitilliumWeb-Bold.ttf);
  font-weight: 700;
}
@font-face {
  font-family: titillium;
  src: url(fonts/TitilliumWeb-Black.ttf);
  font-weight: 900;
}

.main-font{
  font-family: titillium;
}

*:not(.slick-track):not(.slick-list){
	-webkit-transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
	transition: all .25s ease-in-out;
}

body{
	font-size: 19px;
	line-height: 1.5;
	font-family: titillium;
	font-weight: 400;
	color: #000;
	background-position: top center;
	background-size: cover;
	background-repeat: no-repeat;
}

body > #wrapper{
	position: relative;
	overflow: hidden;
}

.container {
	max-width: 200rem;
}
.page-template-page-narrow .container{
	max-width: calc(45.625rem + 1.5rem);
}

h1,
h2,
h3,
h4,
h5,
h6{
	padding-bottom: 0;
	word-wrap: normal;
	margin: 2rem 0 .5rem;
	font-weight: 700;
	line-height: 1.2;
}
h1{
	margin: 2rem 0 3rem;
	line-height: .9;
}
h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child{
	margin-top: 0rem;
}
h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child{
	margin-bottom: 0rem;
}

h1{font-size: 2.5rem;}
h2,
.fsize-2{font-size: 2.1rem;}
.text-cols-section h2{font-size: 2.1rem;}
h3.small,
.text-cols-section h3{font-size: 1.3rem; color: #0090C3;}{font-size: 1.3rem;}
h3,
.fsize-3{font-size: 1.3rem;}
h4{font-size: 1.2rem;}
.fsize-4{font-size: 1.2rem;}

.fsize-5{font-size: 1.1rem;}
.fsize-6{font-size: 1.1rem;}

strong, b{
	font-weight: 700;
}
em{
	font-style: italic;
}


p{
	margin-bottom: 1rem;
}
p:last-child{
	margin-bottom: 0rem;
}

blockquote{
	padding-left: 1.5rem;
	font-style: italic;
	margin-bottom: 1rem;
	border-left: .125rem solid #FA7D00;
}

p img{
	padding: 0 10px;
	display: inline-block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
}
p:last-child img{
	padding-bottom: 0;
}
p img.alignleft{
	margin-left: 0px !important;
	float: left;
}
p img.alignright{
	padding-right: 0px !important;
	float: right;
}
p img.alignright{
	padding-right: 0px !important;
	float: right;
}
p img.alignnone{
	padding-right: 0px !important;
	padding-left: 0px !important;
}

ol:not(.menu):not(.sub-menu), 
ul:not(.menu):not(.sub-menu){
    list-style: initial;
    margin-top: 0;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

a{
	color:#0090C3;
	text-decoration: none;
}
a:hover{
	color: #0090C3;
	font-weight: 700;
}

.text-black{
	color: #000;
}
.text-green{
	color: #80BA26;
}
.text-blue{
	color: #0090C3;
}

.fw-medium{
	font-weight: 500;
}

.bg-black{
	background-color: #000;
}
.bg-green{
	background-color: #80D4A9;
}
.bg-cover{
	background-size: cover;
}
.bg-contain{
	background-size: contain;
}
.bg-center{
	background-position: center;
}
.bg-center-top{
	background-position: center top;
}
.bg-center-bottom{
	background-position: center bottom;
}
.bg-no-repeat{
	background-repeat: no-repeat;
}

.image-wrapper img{
	max-width: 100% !important;
	max-height: 100% !important;
}
.text-wrapper a{
	color: #80BA26;
}

.btn{
	display: inline-block;
    border: .0625rem solid #80BA26;
    border-radius: 1.5rem;
    font-size: 1.0625rem;
    padding-top: .5rem;
    padding-right: 1.5rem;
    padding-bottom: .5rem;
    padding-left: 1.5rem;
    font-weight: 400;
    text-align: center;
    background-color: #80BA26;
	color: #FFFFFF;
	text-decoration: none;
}
.btn a {
	color: #fff;
}
.btn a:hover {
    color: #80BA26;
}
.btn.large{
    padding-top: .5rem;
    padding-right: 2rem;
    padding-bottom: .5rem;
    padding-left: 2rem;
    display: block;
}
.btn:hover{
    background-color: #fff;
    color: #80BA26;
}
.btn.blck{
    background-color: #000;
    border: .0625rem solid #000;
}
.btn.blck:hover{
	color: #000;
    background-color: #fff;
}
.btn.green{
    background-color: #80BA26;
    border: .0625rem solid #80BA26;
	color: #fff;
}
.btn.green:hover{
	color: #80BA26;
    background-color: #fff;
}
.btn.blue{
    background-color: #0090C3;
    border: .0625rem solid #0090C3;
	color: #fff;
}
.btn.blue:hover{
	color: #0090C3;
    background-color: #fff;
}

.borderblue {
	border-bottom: solid 6px #0090C3;
}
.bordergreen {
	border-bottom: solid 6px #80BA26;
}
.borderorange {
	border-bottom: solid 6px #D6602C;
}
.borderpurple {
	border-bottom: solid 6px #7D3A51;
}
.bordergray {
	border-bottom: solid 10px #F6F6F6;
}

.overlay{
	position: relative;
}
.overlay > div{
	position: relative;
	z-index: 2;
}
.overlay:before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.vh-50{
	height: 50vh;
}
.min-vh-50{
	min-height: 50vh;
}
.vh-66{
	height: 66.666vh;
}
.min-vh-66{
	min-height: 66.666vh;
}
.vh-75{
	height: 75vh;
}
.min-vh-75{
	min-height: 75vh;
}

.pt-9{
	padding-top: 12rem;
}
.pb-9{
	padding-bottom: 12rem;
}
.pt-8{
	padding-top: 9rem;
}
.pb-8{
	padding-bottom: 9rem;
}
.pt-7{
	padding-top: 6rem;
}
.pb-7{
	padding-bottom: 6rem;
}
.pt-6{
	padding-top: 3rem;
}
.pb-6{
	padding-bottom: 3rem;
}
.pt-none{
	padding-top: 0rem;
}
.pb-none{
	padding-bottom: 0rem;
}
.mt-7{
	margin-top: 6rem;
}
.mb-7{
	margin-bottom: 6rem;
}
.mt-6{
	margin-top: 3rem;
}
.mb-6{
	margin-bottom: 3rem;
}
.mt-none{
	margin-top: 0rem;
}
.mb-none{
	margin-bottom: 0rem;
}


/* ANIMATIONS */


 @keyframes menuAnimation {
  0% {
    top: -100%
  }
  100% {
    top: 0%;
  }
}
 @keyframes menuAnimationBW {
  0% {
    top: 0%
  }
  100% {
    top: -100%;
  }
}
 @keyframes blockAnimation {
  0% {
    height: 0;
    padding: 0;
  }
  100% {
    height: 7.5rem;
    padding: 1rem 0;
  }
}
 @keyframes blockAnimationBW {
  0% {
    height: 7.5rem;
    padding: 1rem 0;
  }
  100% {
    height: 0rem;
    padding: 0;
  }
}
 @keyframes lineAnimation {
  0% {
    width: 0%
  }
  100% {
	width: 100%;
  }
}

.menu-open,
.menu-close{
	animation-delay:0s;
    animation-duration:.5s;
    animation-name:menuAnimation;   
    animation-fill-mode:both;
    animation-direction: normal;
}
.menu-close{
    animation-name:menuAnimationBW;  
}
.block-open,
.block-close{
	animation-delay:0s;
    animation-duration:.5s;
    animation-name:blockAnimation;   
    animation-fill-mode:both;
    animation-direction: normal;
}
.block-close{
    animation-name:blockAnimationBW;  
	animation-delay:0s;
}

/* HEADER */

#header{
	position: relative;
	background-color: transparent;
	margin: 0 auto;
	z-index: 100;
}
#header .container{
	padding: 0;
}
.branding{
	padding-left: 0;
}
.branding .logo-wrapper{
	margin: 0px 0;
	height: auto;
	max-width: 18.75rem;
	max-width: 12.5rem;
}
.branding .logo-wrapper img{
	width: auto;
	max-width: 100%;
}
.branding .logo-wrapper a{
	text-decoration: none;
	height: 100%;
}

.header-btn a {
	color: #fff !important;
	padding: 3px 15px 4px;
}
.header-btn .first{
	background-color: #0090C3;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
	font-size: 14px;
}
#readspeaker_button1 {
	margin-bottom: 0 !important;
}
.rsbtn .rsbtn_play {
	background-color: #80BA26 !important;
	border: none !important;
	border-radius: 0px !important;
	border-top-right-radius: 10px !important;
	border-bottom-right-radius: 10px !important;
	min-height: 0rem !important;
	height: auto !important;
}
.mobile-menu-items .rsbtn .rsbtn_play {
	background-color: #0090C3 !important;
	margin-top: 10px;
}
.rsbtn .rsbtn_play .rsbtn_right{
	border-left: none !important;
}
.rsbtn span{
	color: #fff !important;
	font-family: titillium !important;
}
.rs_addtools .rsbtn_toolpanel.vertical, .rsbtn .rsbtn_toolpanel.vertical {
    position: absolute !important;
}
.rs_addtools .rsbtn_tooltoggle, .rsbtn .rsbtn_tooltoggle {
	background: #80BA26 !important;
	color: #fff !important;
	border: none !important;
	font-family: titillium !important;
}
.rsbtn .rsbtn_tooltoggle .rsicn:before {
    color: #fff !important;
}
.rsbtn .rsbtn_tooltoggle:hover {
    background: #80BA26 !important;
}
.rsbtn.zoom-tooltoggler .rsbtn_tooltoggle {
    /*height: 50% !important;
	width: 1.8em !important;
	left: 0 !important;
	transform: none !important;*/
	z-index: 1 !important;
}
.rsbtn.zoom-tooltoggler .rsbtn_tooltoggle:hover span.rsicn {
    font-size: 1.2em !important;
	color: #000 !important;
}
.rsbtn_toollist{
	margin-bottom: 0 !important;
	padding-left: 0 !important;
}
.rsbtn_tools span{
	color: #000 !important;
	font-family: titillium !important;
}
.rsbtn.rsexpanded .rsbtn_exp {
    display: block;
    position: absolute !important;
    top: 100% !important;
    width: 17rem !important;
}
.rsbtn_exp_inner{
	background-color: #80BA26 !important;
}
.rsbtn .rsbtn_exp_inner .rsbtn_status_overlay {
	background-color: #80BA26 !important;
    opacity: 1 !important;
}
.rsbtn .rs-player-loadindicator {
    left: 0 !important;
}

.lang ul {
	margin-bottom: 0 !important;
}
.lang-item {
	list-style-type: none;
	display: inline-block;
	font-size: 16px;
}
.current-lang {
	text-decoration: underline;
	font-weight: 700;
}
.lang-item-first a::after {
	content: " | ";
	color: #0090C3;
}
#mobile-menu li.lang-item a {
	padding-right: 0;
}


/* NAV */
.navbar {
    padding-bottom: 0;
}

#main-menu{
	background-color: transparent;
	text-align: left;
	padding-top: 1rem;
	padding-bottom: 1rem;
}
#main-menu ul.menu{
	display: block;
	align-items: center;
	justify-content: center;
	flex-flow: column;
}
#main-menu ul{
	list-style: none;

}
#main-menu ul li{
	position: relative;
	display: inline-block;
    align-items: center;
    flex-flow: column;
	padding: .5rem 1rem 0;
}
#main-menu ul li a{
	color: #0090C3;
	font-size: 1.2rem;
	position: relative;
	width: 100%;
	text-align: center;
	display: block;
	text-decoration: none;
	font-weight: 400;
}
#main-menu ul.menu > li.menu-item-has-children{
	    padding-right: 2rem;
}
#main-menu ul.menu > li:hover > a{
	text-decoration: none;
	border-bottom: solid 6px #80BA26;
}
#main-menu ul.menu > li.current-menu-item > a,
#main-menu ul.menu > li.current-menu-ancestor > a{
	text-decoration: none;
	border-bottom: solid 6px #80BA26;
	font-weight: 700;
}
#main-menu ul.menu > li > a:after{
	content: "";
	background-color: #fff;
	width: calc(100% - 1rem);
	width: 0%;
    max-width: 100%;
    display: block;
	height: .125rem;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0 0;
    opacity: 1;
}
#main-menu ul.menu > li.current-menu-item > a:after,
#main-menu ul.menu > li.current-menu-ancestor > a:after{
	width: 100%;
	background-color: #fff !important;
}
#main-menu ul.menu > li:hover > a:after,
#main-menu ul.menu > li > a:focus:after{
	animation-delay:0s;
    animation-duration:.5s;
    animation-name:lineAnimation;   
    animation-fill-mode:both;
    animation-direction: alternate;
}
#main-menu ul li.menu-btn > a{
	border: .0625rem solid #000;
  	background-color: #000;
  	color: #fff;
  	border-radius: .75rem;
	padding: .25rem 1rem !important;
}
#main-menu ul li.menu-btn:hover > a{
	border: .0625rem solid #000000;
  	background-color: #fff;
  	color: #000;
}
#main-menu ul li .sub-menu,
#lang-menu ul li .sub-menu{
	display: none;
	position: absolute;
	left: -6rem;
    top: 2.5rem;
	background-color: #fff;
	width: 18rem;
}
#main-menu ul li .sub-menu li .sub-menu{
	display: block;
    position: relative;
    left: 0px;
    top: 0;
    width: auto;
	padding-left: 1rem;
}
#main-menu ul li:hover > .sub-menu,
#main-menu ul li > a:focus + .sub-menu,
#main-menu ul li.open > .sub-menu{
	display: block;
}
#main-menu ul li .sub-menu li{
	width: 100%;
	text-align: left;
	background-color: #fff;
}
#main-menu ul li .sub-menu li a:hover {
	color: #80BA26;
}
#main-menu ul li .sub-menu li a{
	color: #0090C3;
	font-size: 1rem;
	padding: .25rem .5rem !important;
	display: block;
	vertical-align: top;
	width: 100%;
	text-align: left;
	word-wrap: normal;
	white-space: normal;
}
#main-menu ul li .sub-menu li.current-menu-item a{
	font-weight: 700;
}
#main-menu ul li .sub-menu li a:before{
	content: "›";
	margin-right: .5rem;
	display: none;
}
#main-menu .menu-item-has-children .submenu-icon{
	position: absolute;
	right: 1rem;
	top: 20%;
	color: #0090C3;
	line-height: 2rem;
}
#main-menu .menu-item-has-children .sub-menu .menu-item-has-children .submenu-icon{
	display: none;
}
.menu-item-has-children .submenu-icon{
	position: absolute;
	right: 0rem;
}
.sub-menu .menu-item-has-children .submenu-icon{
	right: 1rem;
}
.menu-item-has-children .submenu-icon:after{
	font-family: "Font Awesome 5 Free";
	content: "\f107";
	font-size: 1rem;
	font-weight: 900;
	vertical-align: top;
}
.sub-menu .menu-item-has-children .submenu-icon:after{
	content: "\f107";
}

.mobile-header-block{
	z-index: 9999;
}
#mobile-menu{
	background: #80BA26;
	position: fixed;
	top: -100%;
	left: 0%;
	width: 100%;
	height: 100%;
	text-align: left;
	padding-top: 4rem;
	overflow: scroll;
	-webkit-overflow-scrolling: auto;
	z-index: 999;
    max-width: 100%;
    overflow: hidden;
}
#mobile-menu > div{
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	display: flex;
    max-width: 20rem;
    margin: 0 auto;
}

.mobile-menu-top{
	position: fixed;
	top: 2.5rem;
	right: 1rem;
}

.mobile-menu-top .image-wrapper{
	max-width: 7.875rem;
}
.mobile-menu-items{
	width: 100%;
	overflow-y: scroll;
    height: 75vh;
    padding-bottom: 2rem;
}
#mobile-menu .menu{
	width: 100%;
}
#mobile-menu li{
	margin: 1.5rem 0 !important; 
	position: relative;
}
#mobile-menu li a{
	color: #fff;
	font-size: 1.125rem;
	font-weight: 500;
	text-decoration: none;
	display: block;
	padding-right: 1.5rem;
}
#mobile-menu ul li .sub-menu{
	display: none;
	padding-left: 0.5rem;
}
#mobile-menu ul li .sub-menu .sub-menu{
	left: 2rem;
	position: relative;
}
#mobile-menu ul li.open > .sub-menu{
	display: block;
}
#mobile-menu ul li .sub-menu li{
	width: 100%;
	text-align: left;
	margin: .5rem 0 !important; 
}
#mobile-menu ul li .sub-menu li a{
	color: #fff;
	font-size: 1rem;
	padding: .25rem .75rem;
	display: inline-block;
	vertical-align: top;
	width: 100%;
}
#mobile-menu ul li.menu-item-has-children > a{
	position: relative;
}
#mobile-menu .menu-item-has-children .submenu-icon {
    position: absolute;
    right: .5rem;
    color: #fff;
    top: 0%;
}

#mobile-menu .menu-item-has-children .submenu-icon:after{
	color: #fff;
}
#mobile-menu .sub-menu .menu-item-has-children .submenu-icon:after{
	content: "\f107";
}
#mobile-menu .submenu-icon.opened:after{
	content: "\f106";
}

#mobile-icon{
	right: 0;
	top: 3rem;
	font-size: 2.5rem; 
	text-align: left;
	z-index: 999;
}
#mobile-icon a{
	color: #80BA26;
}
#mobile-menu .close-mobilenav{
	color: #fff;
	font-size: 2rem; 
}
#mobile-menu .close-mobilenav{
	display:none;
}
#mobile-menu.menu-open .close-mobilenav{
	display: block !important;
}



/* CONTENT */
.sidenav ul {
	padding-left: 0 !important;
	list-style-type: none !important;
}
.sidenav ul li {
	padding-bottom: 1rem;
}
.sidenav  .wp-block-button__link{
	border-radius: 50px !important;
}
.sidenav  .wp-block-button__link:hover{
	background-color: #fff !important;
	color: #80BA26 !important;
	font-weight: 400;
	border: solid 1px #80BA26 !important;
}

.m-sides {
	margin: 0 auto;
	max-width: 1500px;
}

table td {
	color: #0090C3;
}
table th, td {
    padding: 5px 10px;
	font-weight: 700;
}
table th {
	font-weight: 700;
}

.accordion-item {
	cursor: pointer;
	border-bottom: 10px solid #F6F6F6;
	border-top: none;
	border-left: none;
	border-right: none;
  }
  .accordion-button {
	color: #0090C3;
	font-family: titillium;
	font-weight: 700;
	font-size: 1.5rem;
	padding: 1rem 1.25rem 1rem 0;
  }
  .accordion-button:not(.collapsed) {
	color: #0090C3;
	background-color: #fff;
	box-shadow: none;
  }
  .accordion-button:after {
	font-family: "Font Awesome 5 Free";
	content: "\f067";
	background-image: none;
	font-size: 1rem;
	color: #80BA26;
  }
  .accordion-button:not(.collapsed)::after {
	font-family: "Font Awesome 5 Free";
	content: "\f068";
	background-image: none;
	transform: none;
  }

.hero-section{
	position: relative;
	z-index: 99;
}
.hero-section .left-col{
	padding-left: 7.1875rem;
}
.hero-section .text-wrapper{
	font-size: 1.5625rem;
}

.hero-content{
	padding: 1rem 1.875rem;
}
.hero-content .text-wrapper,
.hero-content .button-wrapper{
	max-width: 17.75rem;
}

.items-wrapper.boxes .box .title-wrapper{
	font-size: 1.1rem;
}
.items-wrapper.boxes .box .button-wrapper{
	bottom: 0;
	left: 0;
	right: 0;
	max-width: calc(100% - 6rem);
}

.hl-boxes-section p {
	font-size: 1.1rem;
}
.hl-boxes-section .item-wrapper {
	width: calc(25% - 5px);
  }

.text-textboxes-section p {
	font-size: 1.25rem;
	line-height: 40px;
}

.highlight-section .text-wrapper{
	font-size: 1.2rem;
}
.two-boxes-section .box .wrapper{
	max-width: 45rem;
}
.full-height-hl-section .wrapper{
	max-width: 45rem;
}
.full-height-hl-section .right-content .wrapper{
	max-width: 30rem;
}
.full-height-hl-section .right-content .text-wrapper{
	font-size: 1.25rem;
}

.img-text-section .item-wrapper:nth-child(2n+0) {
	flex-direction: row-reverse;
}
.img-text-section .item-wrapper:nth-child(2n+0) .left {
	justify-content: end;
}
.img-text-section h3 img {
	vertical-align: middle;
}
.img-text-section .image-wrapper  {
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	width: 480px;
	height: 375px;
}
.img-text-section .image-wrapper img {
	left: 2%;
    position: absolute;
    padding-top: 16%;
}
.img-text-section .item-wrapper:nth-child(2n+0) .image-wrapper img {
	right: 4%;
	left: auto;
}
.img-text-section .item-wrapper{
	margin-bottom: 9rem;
}

.items-wrapper.textblocks .textblock{
	border-bottom: .125rem solid #1D2B60;
}
.items-wrapper.textblocks .textblock:last-child{
	border-bottom: .125rem solid transparent;
}
.items-wrapper.textblocks .textblock .title-wrapper h2,
.items-wrapper.textblocks .textblock .text-wrapper ul li{
	position: relative;
}
.items-wrapper.textblocks .textblock .text-wrapper ul{
	padding-left: 0rem;
	margin-top: 3rem;
	margin-bottom: 0rem;
}
.items-wrapper.textblocks .textblock .text-wrapper ul li{
	padding-left: 2.5rem;
	margin-bottom: 1rem;
	list-style: none;
}

.items-wrapper.textblocks .textblock .text-wrapper ul li:before,
.items-wrapper.textblocks .textblock.green .text-wrapper ul li:before{
	content: "";
	position: absolute;
	/*background-color: #80D4A9;*/
	background-image: url('../img/valoria-vihrea-tahti.png');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;    
	display: block;
	left: 0;
	top: .25rem;
}

.items-wrapper.textblocks .textblock .text-wrapper{
	font-size: 1.5625rem;
}
.items-wrapper.textboxes .item-wrapper .content-wrapper{
	border-radius: .25rem;
	width: 100%;
	max-width: 30rem;
	min-height: 24rem;
}
.subpage-full-height-section .text-wrapper > ul > li{
	position: relative;
	padding-left: 2rem;
	list-style: none;
	margin-bottom: 2rem;
}
.subpage-full-height-section .text-wrapper > ul > li > ul{
	padding-top: 2rem;
}
.subpage-full-height-section .text-wrapper > ul > li:last-child{
	margin-bottom: 0rem;
}

.subpage-full-height-section .text-wrapper li li{
	font-size: 1.1875rem;
	position: relative;
	padding-left: 1rem;
	list-style: none;
}
.subpage-full-height-section .text-wrapper li li:before{
	content: "";
	background-color: #fff;
	width: .5rem;
	height: .5rem;
	border-radius: 50%;
	top: .5625rem;
	left: 0;
	position: absolute;
}

.asuinalueet-section .items-wrapper .item-wrapper.asuinalueet{
	max-width: calc(35% - 1.5rem) ;
}
.items-wrapper .item-wrapper.asuinalueet .button-wrapper{
	position: inherit !important;
}

.items-wrapper.articles {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.items-wrapper.articles .item-wrapper {
	width: 100%;
	/*max-width: calc(25% - 1.5rem);*/
	min-height: 21.5rem;
}
.items-wrapper.articles .item-wrapper .image-wrapper img{
	object-fit: cover;
	object-position: center;
	width: 100%;
	height: 100%;
}

.somelinks-wrapper a{
	display: inline-flex;
	width: 2rem;
	height: 2rem;
	color: #fff;
	font-size: 1.25rem;
	justify-content: center;
    align-items: center;
	margin-right: .5rem;
	text-decoration: none;
}


.text-cols-section .text-wrapper img {
	vertical-align: bottom;
}

.textcol:first-child .text-wrapper{
	padding-bottom: 1rem !important;
	margin-bottom: 1rem !important;
}
.textcol:last-child .text-wrapper{
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}

.pagination .page-numbers {
	margin: 0 .5rem;
	font-size: 1.2rem;
	background-color: #80ba26;
	color: #fff;
    padding: 0.5rem 1rem;
	border: solid 2px #80ba26
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover  {
	background-color: #fff;
	color: #80ba26;
	font-weight: normal;
}



/* ARCHIVE */

.articles-menu {
	margin-bottom: 3rem;
}
.articles-menu .menu {

}
.articles-menu .menu li{
	padding: .5rem;
	display: inline-block;
	vertical-align: top;
}
.articles-menu .menu li:first-child{
	padding-left: 0rem;
}
.articles-menu .menu li a{
	color: #FC4171;
	border: .125rem solid #FC4171;
	font-weight: 700;
	text-decoration: underline;
	padding: 1rem 1.25rem;
	display: block;
}
.articles-menu .menu li:hover a{
	background-color: #FC4171;
	color: #fff;
}

.misha_loadmore{

}


/* SINGLE */

.single .hero-section .image-wrapper{ overflow:hidden; }
.single .hero-section .image-wrapper img{
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.blog-author-row {
	max-width: 25rem;
}
.blog-author-row .image-wrapper{
	width: 10rem;
	height: 10rem;
	overflow: hidden;
	border-radius: 50%;
}
.blog-author-row .image-wrapper img{
	max-width: 100%;
	height: auto;
}

/* FOMRS */
.gform_wrapper{
	margin: 1.5rem 0 ;
	position: relative;
}
.gform_fields{
	display: flex !important;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
}
.gfield{
	margin-top: 0rem;
	margin-bottom: 1rem;
	padding-right: .25rem;
	display: inline-flex;
	flex-wrap: wrap;
	flex-flow: column;
	max-width: 21.875rem;
	width: 100%;
}
.gfield.form-two-thirds{
	max-width: calc(21.875rem + 21.875rem + 1.875rem);
}
.gfield.form-full-width{
	max-width: 100%;
}
.gfield .field-wrapper{
	max-width: 21.875rem;
}
.gfield .ginput_container{
	margin-top:  0rem ;
}
.gform_heading{
	margin-bottom: 1.5rem;
}
.gform_title{
	font-size: 1.5rem;
	font-weight: 700;
	color: #E11D1C;
}
.gfield input,
.gfield textarea{
	background-color: #ffffff;
	min-height: 1.75rem;
	padding: .75rem 1rem;
	text-align: left;
	color: #000;
	border: .0625rem solid #F1F1F2;	
	width: 100%;
	margin-top: 0;
    font-size: .875rem;
}
.gfield input:focus,
.gfield textarea:focus,
.gfield input:focus-visible,
.gfield textarea:focus-visible,
.gfield input:active,
.gfield textarea:active{
	border: .0625rem solid #121212;
	outline: none;	
}
.gfield .gfield_label{
	font-size:  .875rem !important;
	font-weight: 500 !important;
}
.gfield input[type="radio"],
.gfield input[type="checkbox"]{
	width: initial !important;
}
.gfield_radio > li,
.gfield_checkbox > li{
	display: flex;
	align-content: flex-start;
	align-items: flex-start;
}
.gfield_radio > li input,
.gfield_checkbox > li input{
	margin-right: .5rem;
}
.gform_wrapper.gravity-theme .gfield-choice-input {
    vertical-align: unset !important;
}
.ginput_complex{
	display: flex;
}
.ginput_complex > span{
	width: 100%;
	max-width: 50%;
}
.ginput_complex.ginput_container_address > span:first-child{
	width: 100%;
	max-width: 100%;
}
.gform_footer{
}
form:not(.single-line-form) .gform_button{
	display: inline-block;
	color: #FFFFFF!important;
    border: .0625rem solid #000;
    border-radius: 1.875rem !important;
    font-size: 1rem;
    font-weight: 700;
    background-color: #000;
    padding-top: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
    padding-left: 1rem;
    text-align: center;
    line-height: 1.7em;
}
.gform_button:hover{
	background-color: #fff;
	color: #ff8a00;
}
form:not(.single-line-form) .gform_button:hover{
	color: #000!important;
    background-color: #fff !important;
}

.single-line-form {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
}
.single-line-form .gform_footer{
	margin: 0 !important;
	padding: 0 !important;
}
.single-line-form .gform_body .gfield{
	margin: 0 !important;
	height: 2.5rem;
	min-height: initial !important;
}
.gform_wrapper.gravity-theme input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]) {
    min-height: initial !important;
    line-height: inherit !important;
}
.single-line-form .gform_button{
	background-color: #fff;
    border: .0625rem solid transparent;
    padding: .5rem !important;
    margin-bottom: 0 !important;
	height: 2.5rem;
	position: relative;
	left: -.375rem;
}

/* FOOTER */
.blue-border p {
	border-bottom: solid 5px #0090C3;
	text-align: center;
}
.green-border p {
	border-bottom: solid 5px #80BA26;
	text-align: center;
}
.orange-border p {
	border-bottom: solid 5px #D6602C;
	text-align: center;
}
.violet-border p {
	border-bottom: solid 5px #7D3A51;
	text-align: center;
}

#footer{
	color: #fff;
}

#footer .wrapper{
}
#footer .wrapper a:hover{
	text-decoration: none !important;
	opacity: .85;
}

#footer .title-wrapper{
	font-size: 1.25rem;
	color: #000;
	text-align: center;
	width: fit-content;
    margin: auto;
}

#footer .title-wrapper p {
	float: right;
}
#footer .slogan {
	font-size: 1.7rem;
}
#footer .hashtags{
	font-size: 1.125rem;
}

.footer-some .some-icons .icon{
	background-color: #fff;
}
.footer-some .some-icons .icon a {
    color: #000 !important;
 }
.footer-some .some-icons .icon:hover a,
.footer-some .some-icons .icon a:hover {
    text-decoration: none !important;
	background-color: #646464;
 }

.footer-text .wrapper{
	font-size: 1rem;
	color: #000;
}
.footer-links {
	background: #F6F6F6;
}
.footer-links p{
	width: 100%;
	text-align: center;
	margin: 1rem 0;
}
.footer-links a{
	display: block;
	text-decoration: underline !important;
	color: #000;
	font-size: 1.2rem;
}
.footer-text .wrapper img,
.logo-wrapper img{
	max-width: 100%;
	height: auto;
	margin-right: 20px !important;
	margin-left: 0 !important;
	vertical-align: middle;
}

.footer-logo .wrapper img{
	max-width: 100%;
	height: auto;
}

/* SOME ICONS */

.some-icons .icons a .fab.fa-instagram{
	background-color: transparent;
    color: #0090C3;
	font-size: 1.5rem;
}
.some-icons .icons a .fab.fa-instagram:hover {
	color: #80BA26;
}
.some-icons .icons a .fab.fa-facebook-f{
	background-color: #0090C3;
    color: #fff;
	display: inline-flex;
   	height: 1.5rem;
    width: 1.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.some-icons .icons a .fab.fa-facebook-f:hover {
	background-color: #80BA26;
}	
.some-icons .icon{
	margin: .1375rem !important;
	cursor: pointer;
}
.some-icons .icon .wrapper{
	position: relative;
    height: 100%;
    width: 100%;
}
.some-icons .icon a{
	color: #fff !important;
	font-size: 1.25rem !important;
	cursor: pointer;
	position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.mobile-menu-items .some-icons .icon{
	background-color: #fff;
}
.mobile-menu-items .some-icons .icon:hover{
	background-color: #646464;
}
.mobile-menu-items .some-icons .icon a{
	background-color: #80BA26;
}
.mobile-menu-items .some-icons .icons{
	margin-top: 20px;
}

/* ARCIVHE */


/* MISC */

.slick-dotted.slick-slider {
    margin-bottom: 0px !important;
}

.slick-dots{
	position: relative !important;
    bottom: 0 !important;
    padding: 1rem 1rem !important;
    text-align: left !important;
}
.slick-dots li button {
    font-size: 0 !important;
    width: 1.5rem !important;
    height: 0.125rem !important;
}

.slick-dots li button:before {
    font-size: 0px !important;
    width: 1.5rem !important;
    background-color: #fff !important;
    height: 0.125rem !important;
    opacity: 1 !important;
}
.slick-dots li.slick-active button:before {
    opacity: 1 !important;
    color: #000 !important;
    background-color: #000 !important;
}


.border-right{
	border-right-width: .0625rem;
	border-right-style: solid;
}
.border-left{
	border-left-width: .0625rem;
	border-left-style: solid;
}
.border-right.white,
.border-left.white{
	border-color: #fff;
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 0;
    margin-bottom: 1rem;
    list-style: none;
}
.breadcrumb a,
.breadcrumb span{
    font-size: 1.0625rem;
    line-height: 1 !important;
}
.breadcrumb span{
    color: #1D2B60;
}
.breadcrumb span.sep{
	margin: 0 .5rem !important;
}

.disablescroll{
	margin: 0;
	height: 100%;
  	overflow: hidden
}
.sun-shape{
	background-image: url('../img/valoria-aurinko-ikoni.png');
	background-position: top right;
	background-size: initial;
	background-repeat: no-repeat;
}


.z-2{
	position: relative;
	z-index: 2;
}

.mfp-container {
    padding: 0 0px;
}

.white-popup {
  position: relative;
  background: #FAF9F5;
  padding: 20px;
  width: auto;
  max-width: 100%;
}
.white-popup .wrapper{
  max-width: 46rem;
  margin: 9rem auto 0;
}

.white-popup .image-wrapper img{
	max-width: 100%;
	max-height: 200px;
	height: auto;
	margin: 0 auto;
    display: block;
}
.white-popup .title-wrapper{
	font-weight: 700 !important;
	margin: .5rem 0 !important;
}
.white-popup .text-content{
	white-space: pre-wrap;
}

.floating-text{
	top: 0;
	left: 0;
	height: 0;
	overflow: hidden;
	padding: 0;
	/*min-height: 3rem;*/
	z-index: 999;
}
.floating-text form{
	padding: 0 1rem;
	margin: 0 !important;

}
.floating-text p{
	margin: 0 !important;

}
.close-float{
	right: 5%;

}

/* SEARCH FIELD */
#ajaxsearchlite1 .probox .proinput input, div.asl_w .probox .proinput input {
    font-size: 15px !important;
}
div.asl_m .probox .proclose svg {
    background: #fff !important;
}

.gallery .gallery-item{width: 100% !important;}
.gallery .gallery-item .gallery-icon{padding: 2.5px;}
.gallery .gallery-item img{width: 100%; height: 100%; object-fit: contain;}
.gallery.gallery-columns-1 .gallery-item{max-width: 100%;}
.gallery.gallery-columns-2 .gallery-item{max-width: 50%;}
.gallery.gallery-columns-3 .gallery-item{max-width: 33%;}
.gallery.gallery-columns-4 .gallery-item{max-width: 25%;}
.gallery.gallery-columns-5 .gallery-item{max-width: 20%;}
.gallery.gallery-columns-6 .gallery-item{max-width: 17%;}


/* MEDIA QUERIES */

@media (min-width: 1250px){

}
@media (min-width: 1201px){
	
	#main-menu {
	    padding-top: 0rem;
	    padding-bottom: 0rem;
	}
	#mobile-icon {
	    display: none !important;
	}

}
@media (min-width: 992px){
	.vh-lg-100{
		height: 100vh;
	}

	.pt-lg-8{
		padding-top: 9rem !important;
	}
	.pb-lg-8{
		padding-bottom: 9rem !important;
	}
	.pt-lg-7{
		padding-top: 6rem !important;
	}
	.pb-lg-7{
		padding-bottom: 6rem !important;
	}
	.pt-lg-6{
		padding-top: 3rem !important;
	}
	.pb-lg-6{
		padding-bottom: 3rem !important;
	}
	.pt-lg-none{
		padding-top: 0rem !important;
	}
	.pb-lg-none{
		padding-bottom: 0rem !important;
	}
	.px-lg-6{
		padding-left: 3rem !important;
		padding-right: 3rem !important;
	}
	.px-lg-7{
		padding-left: 4rem !important;
		padding-right: 4rem !important;
	}
	.mt-lg-7{
		margin-top: 6rem !important;
	}
	.mb-lg-7{
		margin-bottom: 6rem !important;
	}
	.mt-lg-6{
		margin-top: 3rem !important;
	}
	.mb-lg-6{
		margin-bottom: 3rem !important;
	}
	.mt-lg-none{
		margin-top: 0rem !important;
	}
	.mb-lg-none{
		margin-bottom: 0rem !important;
	}
}
@media (min-width: 768px){

	.text-textboxes-section .text-wrapper {
		max-width: 70%;
		margin: 0 auto;
	}
	.vh-md-100{
		height: 100vh;
	}
	.vh-md-75{
		height: 75vh;
	}


	.border-md-right{
		border-right-width: .0625rem;
		border-right-style: solid;
	}
	.border-md-left{
		border-left-width: .0625rem;
		border-left-style: solid;
	}

	.items-wrapper.names .item-wrapper:nth-child(2) .row{
		border-top: .0625rem solid #E3DECC;
	}
	.items-wrapper.names .item-wrapper.name:nth-child(odd),
	.items-wrapper.names .item-wrapper:nth-child(even){
		border-right: .9375rem solid transparent;
	}
	.items-wrapper.names .item-wrapper:nth-child(even){
		border-left: .9375rem solid transparent;
		border-right: 0rem solid transparent;
	}
}
@media (min-width: 320px){

}
@media (max-width: 981px) and (max-width: 1200px){

}
@media (max-width: 1800px){

}
@media (max-width: 1700px){

}
@media (max-width: 1500px){
	.m-sides {
		margin: 0 5rem;
	}
	.single .text-section.m-sides {
		margin: 0 0rem;
	}

}
@media (max-width: 1400px){


}

@media (max-width: 1300px){


}
@media (max-width: 1250px){


}
@media (max-width: 1200px){

	 #main-menu{
		display: none! important;
	}
	.hero-section .left-col {
	    padding-left: 2.1875rem;
	}
	.hero-section .left-col,
	.hero-section .center-col,
	.hero-section .right-col{
	    min-height: 33.333vh;
    	height: auto !important;
	}
	.full-height-hl-section .left-content,
	.two-boxes-section .box-left,
	.two-boxes-section .box-right {
	    min-height: 33.333vh;
    	height: auto !important;
		margin-bottom: 20px;
	}

	.items-wrapper.textboxes .item-wrapper .content-wrapper{
		max-width: 100%;
		min-height: 15rem;
	}

	.items-wrapper.articles {
		grid-template-columns: repeat(3, 1fr);
		gap: 15px;
	}

}
@media (max-width: 1150px){

}
@media (max-width: 1150px){

}
@media (max-width: 1100px){
	#main-menu ul li a {
	    padding: 0.5rem .5rem;

	}
	.items-wrapper.articles .single-item{
		max-width: 18rem;
		width: 100%;
	}
	.items-wrapper.news .single-item{
		max-width: 18rem;
		width: 100%;
	}
}
@media (max-width: 991px){
	.two-boxes-section, .hl-boxes-section, .highlight-section, .articles-bg-section, .articles-section  {
		margin: 0 1rem;
	}
	#header{
		width: 100%;
		height: initial;
	}
	#header .container{
		width: 100%;
		max-width: 100%;
	}
	#header #main-menu {
	    text-align: right;
	}

	#mobile-icon {
	    margin-right: 2rem;
	}

	.lang-switch{
		position: relative;
		display: inline-block;
		top: 5px;
		right: 0;
	}



}

@media all and (max-width: 980px){

}
@media all and (max-width: 850px){
	.hl-boxes-section .item-wrapper {
		width: calc(100% - 5px);
	}

	.items-wrapper.articles {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}

}
@media all and (max-width: 767px){
	.footer-links .wrapper {
		display: block !important;
	}

	.m-sides {
		margin: 0 2rem;
	}

	.asuinalueet-section .items-wrapper .item-wrapper.asuinalueet {
		max-width: calc(100% - 1.5rem);
		display: inline-block !important;
	}
	
	h1{
		font-size: 2.5rem !important;
	}
	h2{
		font-size: 2rem;
	}
	h3{
		font-size: 1.5rem;
	}
	h4{
		font-size: 1rem;
	}
	h5{
		font-size: 1rem;
	}
	h6{
		font-size: 1rem;
		margin-bottom: 1rem !important;
		font-weight: 700;
	}
	.pt-7{
		padding-top: 4rem;
	}
	.pb-7{
		padding-bottom: 4rem;
	}
	.pt-6{
		padding-top: 2rem;
	}
	.pb-6{
		padding-bottom: 2rem;
	}

	.items-wrapper.news .item-wrapper {
		max-width:  100%;
	}
	.accordion-body table{
		width: 100%;
	}
	.accordion-body > table > tbody > tr:nth-child(odd){
		background-color: #f5f5f5;
	}
	.accordion-body table th,
	.accordion-body table td {
	    display: block;
	}
	.gallery .gallery-item{max-width: 50% !important;}


}

@media all and (max-width: 650px){


}
@media all and (max-width: 480px){

	h1{
		font-size: 1.75rem !important;
	}
	.items-wrapper.articles {
		grid-template-columns: repeat(1, 1fr);
		gap: 0px;
	}


}
@media all and (max-width: 400px){


}

