/*-----------------------------------------------------------------------------------
	ideax_hieronta
	About: A shiny new Blocs website.
	Author: Kim Kivelä
	Version: 1.0
	Built with Blocs
-----------------------------------------------------------------------------------*/
body{
	margin:0;
	padding:0;
    background:#FFFFFF;
    overflow-x:hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.page-container{overflow: hidden;} /* Prevents unwanted scroll space when scroll FX used. */
a,button{transition: background .3s ease-in-out;outline: none!important;} /* Prevent blue selection glow on Chrome and Safari */
a:hover{text-decoration: none; cursor:pointer;}


/* Preloader */

.page-preloader{position: fixed;top: 0;bottom: 0;width: 100%;z-index:100000;background:#FFFFFF url("img/pageload-spinner.gif") no-repeat center center;animation-name: preloader-fade;animation-delay: 2s;animation-duration: 0.5s;animation-fill-mode: both;}
.preloader-complete{animation-delay:0.1s;}
@keyframes preloader-fade {0% {opacity: 1;visibility: visible;}100% {opacity: 0;visibility: hidden;}}

/* = Blocs
-------------------------------------------------------------- */

.bloc{
	width:100%;
	clear:both;
	background: 50% 50% no-repeat;
	padding:0 20px;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	position:relative;
	display:flex;
}
.bloc .container{
	padding-left:0;
	padding-right:0;
}


/* Sizes */

.bloc-lg{
	padding:100px 20px;
}
.bloc-sm{
	padding:20px;
}


/* Group Styles */

.bloc-group{
	display:flex;
}
.bloc-tile-2{
	width:50%;
}
.bloc-tile-3{
	width:33.33333333%;
}
.bloc-tile-4{
	width:25%;
}
.bloc-tile-2 .container, .bloc-tile-3 .container, .bloc-tile-4 .container{
	width:100%;
}


/* Background Textures */

.bloc-bg-texture::before{
	content:"";
	background-size: 2px 2px;
	position: absolute;
	top: 0;
	bottom: 0;
	left:0;
	right:0;
}
.texture-darken::before{
	background: rgba(0,0,0,0.5);
}
.texture-darken-strong::before{
	background: rgba(0,0,0,0.8);
}


/* Background Effects */

.parallax__container {
	clip: rect(0, auto, auto, 0);
	height: 100%;
	left: 0;
	overflow: hidden;
	position: absolute;
	top: 0;
	width: 100%;
	z-index:-1;
}
.parallax {
	position: fixed;
	top: 0;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	width: 100%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}


/* Dark theme */

.d-bloc{
	color:rgba(255,255,255,.7);
}
.d-bloc button:hover{
	color:rgba(255,255,255,.9);
}
.d-bloc .icon-round,.d-bloc .icon-square,.d-bloc .icon-rounded,.d-bloc .icon-semi-rounded-a,.d-bloc .icon-semi-rounded-b{
	border-color:rgba(255,255,255,.9);
}
.d-bloc .divider-h span{
	border-color:rgba(255,255,255,.2);
}
.d-bloc .a-btn,.d-bloc .navbar a, .d-bloc a .icon-sm, .d-bloc a .icon-md, .d-bloc a .icon-lg, .d-bloc a .icon-xl, .d-bloc h1 a, .d-bloc h2 a, .d-bloc h3 a, .d-bloc h4 a, .d-bloc h5 a, .d-bloc h6 a, .d-bloc p a{
	color:rgba(255,255,255,.6);
}
.d-bloc .a-btn:hover,.d-bloc .navbar a:hover,.d-bloc a:hover .icon-sm, .d-bloc a:hover .icon-md, .d-bloc a:hover .icon-lg, .d-bloc a:hover .icon-xl, .d-bloc h1 a:hover, .d-bloc h2 a:hover, .d-bloc h3 a:hover, .d-bloc h4 a:hover, .d-bloc h5 a:hover, .d-bloc h6 a:hover, .d-bloc p a:hover{
	color:rgba(255,255,255,1);
}
.d-bloc .navbar-toggle .icon-bar{
	background:rgba(255,255,255,1);
}
.d-bloc .btn-wire,.d-bloc .btn-wire:hover{
	color:rgba(255,255,255,1);
	border-color:rgba(255,255,255,1);
}
.d-bloc .card{
	color:rgba(0,0,0,.5);
}
.d-bloc .card button:hover{
	color:rgba(0,0,0,.7);
}
.d-bloc .card icon{
	border-color:rgba(0,0,0,.7);
}
.d-bloc .card .divider-h span{
	border-color:rgba(0,0,0,.1);
}
.d-bloc .card .a-btn{
	color:rgba(0,0,0,.6);
}
.d-bloc .card .a-btn:hover{
	color:rgba(0,0,0,1);
}
.d-bloc .card .btn-wire, .d-bloc .card .btn-wire:hover{
	color:rgba(0,0,0,.7);
	border-color:rgba(0,0,0,.3);
}


/* Light theme */

.d-bloc .card,.l-bloc{
	color:rgba(0,0,0,.5);
}
.d-bloc .card button:hover,.l-bloc button:hover{
	color:rgba(0,0,0,.7);
}
.l-bloc .icon-round,.l-bloc .icon-square,.l-bloc .icon-rounded,.l-bloc .icon-semi-rounded-a,.l-bloc .icon-semi-rounded-b{
	border-color:rgba(0,0,0,.7);
}
.d-bloc .card .divider-h span,.l-bloc .divider-h span{
	border-color:rgba(0,0,0,.1);
}
.d-bloc .card .a-btn,.l-bloc .a-btn,.l-bloc .navbar a,.l-bloc a .icon-sm, .l-bloc a .icon-md, .l-bloc a .icon-lg, .l-bloc a .icon-xl, .l-bloc h1 a, .l-bloc h2 a, .l-bloc h3 a, .l-bloc h4 a, .l-bloc h5 a, .l-bloc h6 a, .l-bloc p a{
	color:rgba(0,0,0,.6);
}
.d-bloc .card .a-btn:hover,.l-bloc .a-btn:hover,.l-bloc .navbar a:hover, .l-bloc a:hover .icon-sm, .l-bloc a:hover .icon-md, .l-bloc a:hover .icon-lg, .l-bloc a:hover .icon-xl, .l-bloc h1 a:hover, .l-bloc h2 a:hover, .l-bloc h3 a:hover, .l-bloc h4 a:hover, .l-bloc h5 a:hover, .l-bloc h6 a:hover, .l-bloc p a:hover{
	color:rgba(0,0,0,1);
}
.l-bloc .navbar-toggle .icon-bar{
	color:rgba(0,0,0,.6);
}
.d-bloc .card .btn-wire,.d-bloc .card .btn-wire:hover,.l-bloc .btn-wire,.l-bloc .btn-wire:hover{
	color:rgba(0,0,0,.7);
	border-color:rgba(0,0,0,.3);
}


/* = NavBar
-------------------------------------------------------------- */

.navbar-dark .nav .dropdown-menu .nav-link{
	color: rgb(64, 64, 64);
}
/* Handle Multi Level Navigation */
.dropdown-menu .dropdown-menu{
	border:none}
@media (min-width:576px){
	
.navbar-expand-sm .dropdown-menu .dropdown-menu{
	border:1px solid rgba(0,0,0,.15);
	position:absolute;
	left:100%;
	top:-7px}.navbar-expand-sm .dropdown-menu .submenu-left{
	right:100%;
	left:auto}}@media (min-width:768px){
	.navbar-expand-md .dropdown-menu .dropdown-menu{
	border:1px solid rgba(0,0,0,.15);
	border:1px solid rgba(0,0,0,.15);
	position:absolute;
	left:100%;
	top:-7px}.navbar-expand-md .dropdown-menu .submenu-left{
	right:100%;
	left:auto}}@media (min-width:992px){
	.navbar-expand-lg .dropdown-menu .dropdown-menu{
	border:1px solid rgba(0,0,0,.15);
	position:absolute;
	left:100%;
	top:-7px}.navbar-expand-lg .dropdown-menu .submenu-left{
	right:100%;
	left:auto}
}
/* = Bric adjustment margins
-------------------------------------------------------------- */

.mg-sm{
	margin-top:10px;
	margin-bottom:5px;
}
.mg-md{
	margin-top:10px;
	margin-bottom:20px;
}
img.mg-sm,img.mg-md,img.mg-lg{
	margin-top: 0;
}
img.mg-sm{
	margin-bottom:10px;
}
img.mg-md{
	margin-bottom:30px;
}
img.mg-lg{
	margin-bottom:50px;
}

/* = Buttons
-------------------------------------------------------------- */

.btn-d,.btn-d:hover,.btn-d:focus{
	color:#FFF;
	background:rgba(0,0,0,.3);
}

/* Prevent ugly blue glow on chrome and safari */
button{
	outline: none!important;
}

.btn-xl{
	padding: 16px 40px;
	font-size: 28px;
}

/* = Icons
-------------------------------------------------------------- */
.icon-lg{
	font-size:60px!important;
}

/*  Rounded Image */
.img-rd-md{
	border-radius:20px;
}
.img-rd-lg{
	border-radius:34px;
}
/*  Image Protection */
.img-protected{
	-webkit-touch-callout: none;
}



.card-sq, .card-sq .card-header, .card-sq .card-footer{
	border-radius:0;
}
.card-rd{
	border-radius:30px;
}
.card-rd .card-header{
	border-radius:29px 29px 0 0;
}
.card-rd .card-footer{
	border-radius:0 0 29px 29px;
}

/* = Classic Dividers
-------------------------------------------------------------- */
.divider-h{
	min-height: 1px;
	background-color:rgba(0,0,0,.2);
	margin: 20px 0;
}
.divider-half{
	width: 50%;
}
.dropdown-menu .divider-h{
	margin:0;
}

/* = Forms
-------------------------------------------------------------- */

.form-control{
	border-color:rgba(0,0,0,.1);
	box-shadow:none;
}



/* ScrollToTop button */

.scrollToTop{
	width:36px;
	height:36px;
	padding:5px;
	position:fixed;
	bottom:20px;
	right:20px;
	opacity:0;
	z-index:999;
	transition: all .3s ease-in-out;
	pointer-events:none;
}
.showScrollTop{
	opacity: 1;
	pointer-events:all;
}
.scroll-to-top-btn-icon{
	fill: none;
	stroke: #fff;
	stroke-width: 2px;
	fill-rule: evenodd;
	stroke-linecap:round;
}

/* = Custom Styling
-------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6,p,label,.btn,a{
	font-family:"Helvetica";
}
.container{
	max-width:1140px;
}
.team-card{
	min-height:350px;
}
.navbar-brand img{
	width:200px;
}
.divider-style{
	height:4px;
	background-color:#FFFFFF;
}
.h3-style{
	width:100%;
	font-size:24px;
}
.img-style{
	width:300px;
	height:300px;
	padding-bottom:1px;
}
.text1{
	color:#FFFFFF!important;
	font-style:italic;
}
.h1-style{
	font-family:"Oleo Script";
	font-size:50px;
}
.h2-style{
	font-family:"Open Sans";
	margin-bottom:81px;
	padding-bottom:3px;
}
.tekst2{
	color:#000000!important;
}
.teksti3{
	color:#FEFFFF!important;
}
.teksti5{
	color:#000000!important;
}
.icon-padding-left{
	padding-left:38px;
}
.img-padding-top{
	padding-top:50px;
	margin-top:47px;
}
.h2-3-style{
	font-size:24px;
	width:100%;
	padding-right:0px;
}
.img-bloc-3-style{
	width:600px;
}
.bloc-padding-bottom{
	padding-bottom:0px;
}
.btn-margin-bottom{
	margin-bottom:31px;
}
.btn-lähetä-margin-bottom{
	margin-bottom:17px;
	margin-top:15px;
}
.form-padding-bottom{
	padding-bottom:28px;
}
.container-div-padding-bottom{
	padding-bottom:0px;
}
.divider-background-color{
	background-color:#FFFFFF;
}
.divider-bloc-12-background-color{
	background-color:#FFFFFF;
	margin-bottom:45px;
}
.hero-header-text{
	font-size:200px;
	font-weight:bold;
}
.hero-subheader{
	font-size:35px;
	font-weight:normal;
}
.text-purple-gradient{
	background-clip:text!important;
	-webkit-background-clip:text!important;
	background:linear-gradient(88deg, #FF7D5A, #9853F6);
	color:transparent!important;
}
.btn-bloc-5-margin-bottom{
	margin-bottom:18px;
}
.bloc-margin-top{
	margin-top:20px;
}
.h6-padding-bottom{
	padding-bottom:0px;
}
.p-margin-left{
	margin-left:-17px;
}
.img-juok-style{
	width:400px;
	height:400px;
}
.img-6-style{
	width:300px;
	height:300px;
}
.img-5-style{
	width:300px;
	height:300px;
}
.img-10-style{
	width:700px;
}
.text6{
	background-color:#FFFFFF;
}
.kim1{
	color:#FFFFFF!important;
}
.p-style{
	width:100%;
	padding-right:0px;
}
.img-edenr-padding-top{
	padding-top:27px;
}
.img-epas-padding-top{
	padding-top:21px;
}
.img-penkkipunnerr-style{
	width:400px;
	height:400px;
}
.img-bloc-14-style{
	width:400px;
	height:400px;
}
.row-padding-bottom{
	padding-bottom:0px;
	margin-bottom:0px;
}
.img-sää-style{
	width:400px;
	height:400px;
}
.img-kuntosa-style{
	width:400px;
	height:400px;
}
.img-bloc-5-style{
	margin-top:29px;
	margin-bottom:22px;
	width:500px;
}
.img-massage-style{
	width:500px;
	padding-top:19px;
}
.img-4-style{
	width:500px;
}
.img-3-style{
	width:500px;
}
.icon-padding-top{
	padding-top:0px;
	padding-left:28px;
	margin-right:-11px;
	padding-bottom:10px;
}
.bloc-padding-top{
	padding-top:42px;
	padding-left:0px;
}
.h4-padding-top{
	padding-top:35px;
}
.p-margin-top{
	margin-top:48px;
	padding-top:0px;
	padding-bottom:2px;
	margin-bottom:33px;
}
.h3-hieronta-margin-top{
	margin-top:-2px;
	padding-bottom:1px;
}
.h4-padding-bottom{
	padding-bottom:4px;
	margin-bottom:56px;
}
.img-2-style{
	width:250px;
	padding-bottom:40px;
}
.divider-bloc-2-background-color{
	background-color:#FEFFFF;
}
.container-div-margin-left{
	margin-left:-10px;
}
.icon-margin-top{
	margin-top:39px;
}
.tekstivalinta{
	color:#FFFFFF!important;
	font-size:20px;
}
.h3-11-margin-top{
	margin-top:40px;
	font-style:italic;
}
.divider-0-background-color{
	background-color:#FFFFFF;
	margin-top:40px;
}
.divider-4933-background-color{
	background-color:#FFFFFF;
	margin-top:40px;
}
.divider-4688-background-color{
	background-color:#FFFFFF;
	margin-top:40px;
}
.divider-17051-background-color{
	background-color:#FFFFFF;
	margin-top:40px;
}
.divider-30448-background-color{
	background-color:#FFFFFF;
}
.divider-33221-background-color{
	background-color:#FFFFFF;
	margin-top:40px;
}
.h2-margin-bottom{
	margin-bottom:33px;
	margin-top:31px;
	font-style:italic;
}
.container-div-margin-top{
	margin-top:40px;
}
.h2-margin-top{
	margin-top:40px;
	font-style:italic;
}
.h2-bloc-24-margin-top{
	margin-top:40px;
	font-style:italic;
}
.h2-13-margin-top{
	margin-top:40px;
	font-style:italic;
}
.bloc-padding-left{
	padding:45px 43px 45px 44px;
}

/* = Colour
-------------------------------------------------------------- */

/* Background colour styles */

.bgc-black{
	background-color:#000000;
}
.bgc-black-2{
	background-color:#020202;
}

/* Text colour styles */

.tc-white{
	color:#FFFFFF!important;
}
.tc-white-2{
	color:#FFFFFF!important;
}

/* Button colour styles */

.btn-android-green{
	background:#9CCB3C;
	color:#FFFFFF!important;
}
.btn-android-green:hover{
	background:#7da230!important;
	color:#FFFFFF!important;
}
.btn-united-nations-blue{
	background:#4F87FF;
	color:#FFFFFF!important;
}
.btn-united-nations-blue:hover{
	background:#3f6ccc!important;
	color:#FFFFFF!important;
}
.btn-united-nations-blue-2{
	background:#4F87FF;
	color:#FFFFFF!important;
}
.btn-united-nations-blue-2:hover{
	background:#3f6ccc!important;
	color:#FFFFFF!important;
}
.btn-united-nations-blue-3{
	background:#4F87FF;
	color:#FFFFFF!important;
}
.btn-united-nations-blue-3:hover{
	background:#3f6ccc!important;
	color:#FFFFFF!important;
}

/* Link colour styles */

.ltc-white{
	color:#FFFFFF!important;
}
.ltc-white:hover{
	color:#cccccc!important;
}

/* Icon colour styles */

.icon-white{
	color:#FFFFFF!important;
	border-color:#FFFFFF!important;
}
.icon-united-nations-blue{
	color:#4F87FF!important;
	border-color:#4F87FF!important;
}
.icon-red{
	color:#FF0101!important;
	border-color:#FF0101!important;
}

/* Bloc image backgrounds */

.bg-kuva1{
	background-image:url("img/kuva1.jpg");
}
.bg-Massage22{
	background-image:url("img/Massage22.png");
}
.bg-Massage1{
	background-image:url("img/Massage1.jpg");
}
.bg-Venytys{
	background-image:url("img/Venytys-1.jpg");
}
.bg-Venytys-1{
	background-image:url("img/Venytys-1.jpg");
}



/* = Bloc Padding Multi Breakpoint
-------------------------------------------------------------- */

@media (min-width: 576px) {
    .bloc-xxl-sm{padding:200px 20px;}
    .bloc-xl-sm{padding:150px 20px;}
    .bloc-lg-sm{padding:100px 20px;}
    .bloc-md-sm{padding:50px 20px;}
    .bloc-sm-sm{padding:20px;}
    .bloc-no-padding-sm{padding:0 20px;}
}
@media (min-width: 768px) {
    .bloc-xxl-md{padding:200px 20px;}
    .bloc-xl-md{padding:150px 20px;}
    .bloc-lg-md{padding:100px 20px;}
    .bloc-md-md{padding:50px 20px;}
    .bloc-sm-md{padding:20px 20px;}
    .bloc-no-padding-md{padding:0 20px;}
}
@media (min-width: 992px) {
    .bloc-xxl-lg{padding:200px 20px;}
    .bloc-xl-lg{padding:150px 20px;}
    .bloc-lg-lg{padding:100px 20px;}
    .bloc-md-lg{padding:50px 20px;}
    .bloc-sm-lg{padding:20px;}
    .bloc-no-padding-lg{padding:0 20px;}
}


/* = Mobile adjustments 
-------------------------------------------------------------- */
@media (max-width: 1024px)
{
    .bloc.full-width-bloc, .bloc-tile-2.full-width-bloc .container, .bloc-tile-3.full-width-bloc .container, .bloc-tile-4.full-width-bloc .container{
        padding-left: 0; 
        padding-right: 0;  
    }
}
@media (max-width: 991px)
{
    .container{width:100%;}
    .bloc{padding-left: constant(safe-area-inset-left);padding-right: constant(safe-area-inset-right);} /* iPhone X Notch Support*/
    .bloc-group, .bloc-group .bloc{display:block;width:100%;}
}
@media (max-width: 767px)
{
    .bloc-tile-2 .container, .bloc-tile-3 .container, .bloc-tile-4 .container{
        padding-left:0;padding-right:0;
    }
    .btn-dwn{
       display:none; 
    }
    .voffset{
        margin-top:5px;
    }
    .voffset-md{
        margin-top:20px;
    }
    .voffset-lg{
        margin-top:30px;
    }
    form{
        padding:5px;
    }
    .close-lightbox{
        display:inline-block;
    }
    .blocsapp-device-iphone5{
	   background-size: 216px 425px;
	   padding-top:60px;
	   width:216px;
	   height:425px;
    }
    .blocsapp-device-iphone5 img{
	   width: 180px;
	   height: 320px;
    }
}

@media (max-width: 991px){
	.hero-header-text{
		font-size:140px;
	}
	.hero-subheader{
		font-size:30px;
	}
	
}

@media (max-width: 767px){
	.text-right{
	}
	.text-left{
	}
	.text-center{
	}
	.hero-header-text{
		font-size:100px;
	}
	.hero-subheader{
		font-size:22px;
	}
	
}

@media (max-width: 575px){
	.footer-link{
		text-align:center;
	}
	.hero-header-text{
		font-size:50px;
	}
	
}

