/*
Theme Name: VoiVeljet
Author: Mikko Heikkilä | Hungry
Author URI: hungry.fi
Description: This is a custom bootstrap 3.1.1 theme for wordpress
Version: 1.2.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ==========================================================================
   Bootstrap breakpoints
  // Small devices (landscape phones, 576px and up)
  @media (min-width: 576px) { ... }

  // Medium devices (tablets, 768px and up)
  @media (min-width: 768px) { ... }

  // Large devices (desktops, 992px and up)
  @media (min-width: 992px) { ... }

  // Extra large devices (large desktops, 1200px and up)
  @media (min-width: 1200px) { ... }
   ========================================================================== */

/* ==========================================================================
   General Tags
   All HTML tags that need some generic/default styling.
   No CSS classes or IDs here.
   ========================================================================== */

html, 
body{
	font-family: 'Stanley', Georgia, serif;
	font-weight: 500;
	font-size: 15px;
	color: #000;
}

/*---------- Headings ----------*/
h1{
	font-family: 'Stanley', Georgia, serif;
	font-weight: 700;
	font-size: 2.25rem;
	margin-top: 0px;
	margin-bottom: 15px;
}
h2{
	font-family: 'Stanley', Georgia, serif;
	font-weight: 700;
	font-size: 1.9rem;
	margin-top: 0px;
}
h3{
	font-family: 'Stanley', Georgia, serif;
	font-weight: 700;
	font-size: 1.60rem;
	margin-top: 0px;
}
h4{
	font-family: 'Stanley', Georgia, serif;
	font-weight: 700;
	font-size: 1.50rem;
	margin-top: 0px;
}
h5{
	text-transform: uppercase;
	font-family: 'Circular Std', Arial, Helvetica, sans-serif;
	font-size: 1.14rem;
	margin-top: 0px;
}
h6{
	font-family: 'Circular Std', Arial, Helvetica, sans-serif;
	font-size: 0.85rem;
	margin-top: 0px;
}

@media (min-width: 768px) {
	h1{
		font-size: 2.5rem;
	}
	h2{
		font-size: 1.95rem;
	}
	h3{
		font-size: 1.65rem;
	}
	h4{
		font-size: 1.55rem;
	}
	h5{
		font-size: 1.16rem;
	}
	h6{
		font-size: 0.85rem;
	}
}

@media (min-width: 992px) {
	h1{
		font-size: 2.75rem;
	}
	h2{
		font-size: 2.0rem;
	}
	h3{
		font-size: 1.75rem;
	}
	h4{
		font-size: 1.60rem;
	}
	h5{
		font-size: 1.18rem;
	}
	h6{
		font-size: 0.85rem;
	}
}

@media (min-width: 1200px) {
	h1{
		font-size: 3.0rem;
		line-height: 3.0rem;
	}
	h2{
		font-size: 2.2rem;
		line-height: 2.2rem;
	}
	h3{
		font-size: 1.9rem;
		line-height: 2.5rem;
	}
	h4{
		font-size: 1.65rem;
		line-height: 2.45rem;
	}
	h5{
		font-size: 1.2rem;
		line-height: 1.2rem;
	}
	h6{
		font-size: 0.85rem;
		line-height: 1.95rem;
	}
}

/*---------- Paragraphs ----------*/
p, li, a{
	font-size: 15px;
	color: #56565d;
}
@media (min-width: 768px) {
	p, li, a{
		font-size: 15px;
	}
}
@media (min-width: 992px) {
	p, li, a{
		font-size: 15px;
	}
}

/*---------- Links ----------*/
a{
	color: #000000;
	text-decoration: none;
	font-weight: bold;
}
a:active,
a:hover,
a:focus {
  outline: 0;
  text-decoration: none;
}

/*---------- Images & objects ----------*/
img{

}
object{
	pointer-events: none;
	display: block;
}

/*---------- Lists ----------*/
ul,
ol{

}
li{

}

/*---------- Hr ----------*/
hr{

}

/*---------- Tables ----------*/
table{

}	
tr{

}
td{

}

/*---------- Buttons ----------*/
button{

}

*:focus,*:active {
    outline: none;
    outline: 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */
form{

}	
input{

}
input[type="button"]{

}
input[type="submit"]{
    
}
input[type="checkbox"]{
	width: 13px !important;
	margin-right: 5px;    
}
textarea{

}

label {
    font-weight: 300;
    color: #000;
}

/* ==========================================================================
   Generic Classes
   Styles shared among multiple elements and/or classes.
   These are used on more than one section/page/html block.
   ========================================================================== */

/*---------- Colors ----------*/
.color-primary-dark{color: #1e1e28;}
.color-primary{color: #061196;}

.color-secondary{color: #95dfda;}

.color-neutral-dark{color: #000000;}
.color-neutral{color: #56565d;}
.color-neutral-light{color: #eaeaeb;}
.color-neutral-white{color: #ffffff !important;}

.bg-color-primary-dark{background-color: #1e1e28;}
.bg-color-primary{background-color: #061196;}

.bg-color-secondary{background-color: #95dfda;}

.bg-color-neutral-dark{background-color: #000000;}
.bg-color-neutral{background-color: #56565d;}
.bg-color-neutral-light{background-color: #eaeaeb;}
.bg-color-neutral-white{background-color: #ffffff;}


/*---------- Backgrounds ----------*/
.bg-center{
	background-size: cover;
	background-position: 50% 50%;
}

/*---------- Helpers ----------*/
.w-100{
    max-width: 100%;
    width: 100%;
    height: auto;
}
.w-50{
	width: 50%;
}

.center-y{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.bg-container{
	height: 100%;
	width: 100%;
	display: inline-block;	
}

.alignright, img.alignright {
    margin-left: 1.5em;
    display: inline;
    float: right;
}

@media (max-width: 560px) {
	.alignright, img.alignright {
	    float: none !important;
	    text-align: center !important;
	    margin: 0 auto !important;
	    display: block !important;
	}
}

/*------- Margins -------*/
.m-t-xs{margin-top: 15px;}
.m-t-sm{margin-top: 30px;}
.m-t-md{margin-top: 45px;}
.m-t-lg{margin-top: 60px;}
.m-t-xl{margin-top: 75px;}
.m-r-xs{margin-right: 15px;}
.m-r-sm{margin-right: 30px;}
.m-r-md{margin-right: 45px;}
.m-r-lg{margin-right: 60px;}
.m-r-xl{margin-right: 75px;}
.m-b-xs{margin-bottom: 15px;}
.m-b-sm{margin-bottom: 30px;}
.m-b-md{margin-bottom: 45px;}
.m-b-lg{margin-bottom: 60px;}
.m-b-xl{margin-bottom: 75px;}
.m-l-xs{margin-left: 15px;}
.m-l-sm{margin-left: 30px;}
.m-l-md{margin-left: 45px;}
.m-l-lg{margin-left: 60px;}
.m-l-xl{margin-left: 75px;}

.m-0-auto{margin: 0 auto;}
.m-r-minus-30{margin-right: -30px;}

/*------- Paddings -------*/
.p-t-0{padding-top: 0px;}
.p-r-0{padding-right: 0px;}
.p-b-0{padding-bottom: 0px;}
.p-l-0{padding-left: 0px;}
.p-t-xs{padding-top: 15px;}
.p-t-sm{padding-top: 30px;}
.p-t-md{padding-top: 45px;}
.p-t-lg{padding-top: 60px;}
.p-t-xl{padding-top: 75px;}
.p-r-xs{padding-right: 15px;}
.p-r-sm{padding-right: 30px;}
.p-r-md{padding-right: 45px;}
.p-r-lg{padding-right: 60px;}
.p-r-xl{padding-right: 75px;}
.p-b-xs{padding-bottom: 15px;}
.p-b-sm{padding-bottom: 30px;}
.p-b-md{padding-bottom: 45px;}
.p-b-lg{padding-bottom: 60px;}
.p-b-xl{padding-bottom: 75px;}
.p-l-xs{padding-left: 15px;}
.p-l-sm{padding-left: 30px;}
.p-l-md{padding-left: 45px;}
.p-l-lg{padding-left: 60px;}
.p-l-xl{padding-left: 75px;}

.p-15{padding: 15px;}
.p-0{padding: 0px;}
.p-l-0{padding-left: 0px;}

.grid-padding{
	padding: 7.5px 15px;
}

/*---------- Buttons ----------*/
.btn{
	font-family: 'Circular Std';
	padding: 4px 14px;
	text-decoration: none;
	border-radius: 0px;
}
.btn:hover,
.btn:active,
.btn:focus{
	text-decoration: none;
}

.btn-primary{
	background-color: #061196;
	color: #ffffff;
	border: 0px;
	-webkit-transition: background-color 0.2s; /* Safari */
	transition: background-color 0.2s;
}
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus{
	background-color: #1e1e28;
	color: #ffffff;
}

.btn-secondary{
	background-color: #95dfda;
	color: #061196;
	border: 3px solid #95dfda;
	text-transform: uppercase;
	-webkit-transition: background-color 0.2s; /* Safari */
	transition: background-color 0.2s;
}
.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus{
	background-color: #061196;
	border: 3px solid #95dfda;
	color: #fff;
}

.btn-dark{
	background-color: #000000;
	color: #ffffff;
	border: 3px solid #000;
	-webkit-transition: background-color 0.2s, color 0.2s; /* Safari */
	transition: background-color 0.2s, color 0.2s;
}

.btn-white{
	background-color: #ffffff;
	color: #000000;
	-webkit-transition: background-color 0.2s; /* Safari */
	transition: background-color 0.2s;
}
.btn-white:hover,
.btn-white:active,
.btn-white:focus{
	background-color: #95dfda;
	color: #000000;
}

.btn-hollow-white{
	border: 3px solid #fff;
	background-color: transparent;
	color: #000;
	-webkit-transition: background-color 0.2s; /* Safari */
	transition: background-color 0.2s;
}
.btn-hollow-white:hover,
.btn-hollow-white:active,
.btn-hollow-white:focus{
	background-color: #fff;
}

.btn-hollow-blue{
	border: 3px solid #061196;
	background-color: transparent;
	color: #061196;
	-webkit-transition: background-color 0.2s; /* Safari */
	transition: background-color 0.2s;
}
.btn-hollow-blue:hover,
.btn-hollow-blue:active,
.btn-hollow-blue:focus{
	color: #fff;
	background-color: #061196;
}

.btn-lg{
	text-transform: uppercase;
	padding: 10px 30px !important;
	letter-spacing: 0.5px;	
}

.btn-link:after{
	content: "\2192";
	margin-left: 10px;
	text-decoration: none;
	-webkit-transition: margin-left 0.2s; /* Safari */
	transition: margin-left 0.2s;
}
.btn-link:hover:after,
.btn-link:active:after,
.btn-link:focus:after{
	text-decoration: none;
	margin-left: 15px;
}
.btn-dark:hover,
.btn-dark:active,
.btn-dark:focus{
	background-color: transparent;
	color: #000;
}

/* ==========================================================================
   Structure/Content
   Styles that define the page structure and/or 
   are directly related with the page content.
   ========================================================================== */

/*---------- Header ----------*/
.navbar {
	position: fixed;
	width: 100%;	
    margin-bottom: 0px;
}
.navbar-default {
	background-color: #fff;
	border-bottom: 0px;
    border-color: transparent;
    position: fixed;
    z-index: 999;
}
.navbar-header {
    float: none;
    display: block;
}

.header-col{

}
.header-col p,
.header-col ul,
.header-col li,
.header-col a{
	font-size: 13px;
	margin-bottom: 0px;
}
.header-col .header-col-content{
	height: 100%;
	padding: 10px 0px 10px 0px;
}

.main-logo-container{
	padding: 10px 0px 0px 0px;
}
.main-logo-container a{
	display: inline-block;
}
.main-logo-container a object{
	height: 65px;
	width: 65px;
}

.header-icon-container{
	font-family: 'Circular Std';
}
.header-icon-container object{
	max-height: 40px;
	margin-bottom: 5px;
}

.header-contact-button-container{
	padding-left: 65px;
}

.toggle-main-navigation{
	cursor: pointer;	
}

.main-logo-white{
	max-height: 65px;
	max-width: 65px;
}

@media (min-width: 768px) {
	.main-logo-white{
		max-height: 70px;
		max-width: 70px;
	}
	.header-col .header-col-content{
		padding: 20px 0px 15px 0px;
	}
	.main-logo-container {
	    padding: 15px 0px 0px 0px;
	}
	.main-logo-container a object{
		height: 70px;
		width: 70px;
	}
	.header-icon-container object{
		margin-bottom: 5px;
	}
}

@media (min-width: 992px) {
	.main-logo-container a object{
		height: 80px;
		width: 80px;
	}
	.main-logo-container{
		padding: 15px 0px 15px 0px;
	}
	.header-col .header-col-content{
		padding: 20px 0px 0px 0px;
	}
	.header-icon-container object{
		margin-bottom: 5px;
	}
}



/*--------- Navigation ---------*/

/*Featured menu*/
.featured-nav-container{
	padding-left: 14%;
	z-index: 99;
}
.featured-nav {
	padding: 0px;
}
.featured-nav > li {
    float: none;
    list-style: none;
    margin-bottom: 0px;
}
.featured-nav > li > a{
    padding: 0px;
    font-family: 'Circular Std', Arial, Helvetica, sans-serif;
    color: #000;
}

/*Main navigation*/
#main-navigation-container{
	display: none;
	position: fixed;
	overflow-y: scroll;
	overflow-x: hidden;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	min-height: 100vh;
	width: 100%;
	z-index: 999999;
	background-image: url('./img/aaltokuvio_transparent.png');
	background-position: 50% 50%;
}

#main-navigation-content{
	padding-top: 10%;
	padding-left: 10%;
	padding-bottom: 60px;
}

#nav-logo-container img{
	position: absolute;
	top: 15px;
}

.nav{
	margin-bottom: 60px;
}
.nav > li > a {
    padding: 3px 0px;
    display: inline-block;
}


nav ul li a{
	font-family: 'Circular Std';
	text-transform: uppercase;
	color: #ffffff;
	font-size: 1.3rem;
	padding: 3px 0px;
	-webkit-transition: background-color 0.2s; /* Safari */
	transition: background-color 0.2s;
}
nav ul li a:focus, 
nav ul li a:hover,
nav ul li a:active {
    text-decoration: none;
    background-color: transparent;
    color: #95dfda;
}

.nav > li > a:focus, .nav > li > a:hover {
    text-decoration: none;
    background-color: transparent;
}
/*
nav ul li:first-child a,
nav ul li:nth-child(2) a,
nav ul li:nth-child(3) a{
	text-transform: capitalize;
	font-family: 'Stanley';
	font-weight: 700;
	font-size: 2.3rem;
}
nav ul li:nth-child(4) a{
	margin-top: 30px;
}
*/
#nav-logo-container{
	max-width: 100px;
}

.close-nav-button-container{
	text-align: center;
}
.close-nav-button-container img{
	padding-top: 30px;
	max-width: 30px;
	margin-bottom: 7px;
}

.nav-some-container{

}
.nav-some-container span{

}
.nav-some-container a img{
    max-width: 25px;
    max-height: 25px;
    margin-right: 15px;
}

.nav-open-popup-button-container{

}
.nav-open-popup-button-container p{
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: initial;
	font-family: 'Circular Std';
}

@media (min-width: 768px) {
	/*
	nav ul li:first-child a,
	nav ul li:nth-child(2) a,
	nav ul li:nth-child(3) a{
		font-size: 2.5rem;
	}
	*/
	nav ul li a{
		font-size: 1.4rem;
	}
	.nav-some-container a img{
	    max-width: 35px;
	    max-height: 35px;
	}
	.close-nav-button-container img{
		max-width: 53px;
	}
}

@media (min-width: 992px) {
	.close-nav-button-container{
		text-align: center;
	}
	.nav-some-container a img{
	    max-width: 45px;
	    max-height: 45px;
	}
	/*
	nav ul li:first-child a,
	nav ul li:nth-child(2) a,
	nav ul li:nth-child(3) a{
		font-size: 3.2rem;
	}
	*/
	nav ul li a{
		font-size: 1.4rem;
	}
}

@media (min-width: 1200px) {
	/*
	nav ul li:first-child a,
	nav ul li:nth-child(2) a,
	nav ul li:nth-child(3) a{
		font-size: 3.5rem;
	}
	*/
	nav ul li a{
		font-size: 1.5rem;
	}
}

/*Hamburger*/
.hamburger {
	padding: 15px 15px;
	display: inline-block;
	cursor: pointer;
	transition-property: opacity, filter;
	transition-duration: 0.15s;
	transition-timing-function: linear;
	font: inherit;
	color: inherit;
	text-transform: none;
	background-color: transparent;
	border: 0;
	margin: 0;
	overflow: visible; 
}
.hamburger:hover {
	opacity: 0.7; 
}
.hamburger.is-active:hover {
	opacity: 0.7; 
}
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
	background-color: #000; 
}
.hamburger-box {
	width: 40px;
	height: 24px;
	display: inline-block;
	position: relative; 
}

.hamburger-inner {
	display: block;
	top: 50%;
	margin-top: -2px; 
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
	width: 40px;
	height: 4px;
	background-color: #000;
	border-radius: 4px;
	position: absolute;
	transition-property: transform;
	transition-duration: 0.15s;
	transition-timing-function: ease; 
}
.hamburger-inner::before, .hamburger-inner::after {
	content: "";
	display: block; 
}
.hamburger-inner::before {
	top: -10px; 
}
.hamburger-inner::after {
	bottom: -10px; 
}
.hamburger--collapse .hamburger-inner {
	top: auto;
	bottom: 0;
	transition-duration: 0.13s;
	transition-delay: 0.13s;
	transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); 
}
.hamburger--collapse .hamburger-inner::after {
	top: -20px;
	transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0.1s linear; 
}
.hamburger--collapse .hamburger-inner::before {
	transition: top 0.12s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19); 
}
.hamburger--collapse.is-active .hamburger-inner {
	transform: translate3d(0, -10px, 0) rotate(-45deg);
	transition-delay: 0.22s;
	transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); 
}
.hamburger--collapse.is-active .hamburger-inner::after {
	top: 0;
	opacity: 0;
	transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0.1s 0.22s linear; 
}
.hamburger--collapse.is-active .hamburger-inner::before {
	top: 0;
	transform: rotate(-90deg);
	transition: top 0.1s 0.16s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.25s cubic-bezier(0.215, 0.61, 0.355, 1); 
}

/*--------- Body ---------*/
#main-container{
	padding-top: 84px;
}
.mobile-container-padding{
	padding: 30px;
}
.row-eq-height {
	display: block;
}

@media screen and (min-width: 768px) {
	#main-container{
		padding-top: 98px;
	}
}
@media screen and (min-width: 992px) {
	#main-container{
		padding-top: 116px;
	}
	.row-eq-height {
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display:         flex;
	}
	.mobile-container-padding{
		padding: 0px;
	}
}
@media screen and (min-width: 1400px) {
	.container{
		width: 1370px;
	}
}


.vertical-center-content{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
}

/*--------- Footer ---------*/
footer{

}
footer a{
	color: white;
}
footer a img{
    height: 25px;
    max-height: 25px;
    width: auto;
	transform: scale(0.8);
	transform-origin: center top;
}

.footer-aukioloajat p{
	color: #fff !important;
}

#back-up-button{
	display: inline-block;
}
#back-up-button object{
	width: 40px;
}

.footer-logos span{
	display: inline-block;
	padding: 10px 5px;
}
.footer-logos span a object{
	height: 25px;
	width: auto;
	max-width: 110px;
}

.footer-main-logo-container{
	max-width: 350px;
	margin: 0 auto;
}

.social-media-container span{
	display: inline-block;
}
.social-media-container span object{
	height: 40px;
	padding: 0px 7px;
}
.order-newsletter-btn-container{
	text-align: center;
	margin-top: 30px;
}
#st_gdpr_iframe,
.grecaptcha-badge{
	display: none;
}
@media screen and (min-width: 768px) {
	.order-newsletter-btn-container{
		text-align: right;
		margin-top: 0px;
	}
	.footer-logos span{
		padding: 10px 15px;
	}
	.footer-logos span a object{
		height: 40px;
		margin: 0px 20px;
	}
	footer a img{
	    height: 45px;
	    max-height: 45px;
	    width: auto;
		transform: scale(1);
		transform-origin: center top;
	}
}
@media screen and (min-width: 992px) {

}
@media screen and (min-width: 1200px) {
	.footer-logos span a object{
		height: 35px;
		margin: 0px 0px;
	}
}

/* ==========================================================================
   Modules
   Styles that define module structure and layout.
   ========================================================================== */

/*--------- Hero ---------*/

.hero-container{
	height: 60vh;
	min-height: 300px;
}
.hero-container--image-only{
	height: initial;
	min-height: initial;
}
.hero-bg{
	width: 100%;
	height: 100%;
}
.hero-image{
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-image--contain{
  max-height: 75vh;
}
.hero-image--mobile-is-set{
  display: none !important;
}
@media (min-width: 768px) {
  .hero-image--mobile-is-set{
    display: block !important;
  }
}

.hero-image-mobile{
  display: block !important;
}
.hero-image-mobile.hero-image-mobile--contain{
  height: 100%;
  max-height: 75vh;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
@media (min-width: 768px) {
  .hero-image-mobile{
    display: none !important;
  }
}


.hero-content{
	position: absolute;
	top: 5%;
	left: 7%;
	width: 50%;
	max-width: 900px;
}
.hero-content h1{
	font-size: 3.0rem;
	margin-top: 0px;
	margin-bottom: 0px;
}
@media (min-width: 768px) {
	.hero-content h1{
		font-size: 4.5rem;
	}
}

@media (min-width: 992px) {
	.hero-content{
		width: 30%;
		top: 10%;
		left: 5%;
	}
	.hero-content h1{
		font-size: 5.0rem;
	}
}

@media (min-width: 1200px) {
	 .hero-content h1{
		font-size: 5.5rem;
		line-height: 5.2rem;
	}
}

/*--------- Featured pages ---------*/

.featured-page-img{
	height: 275px;
	width: 100%;
}

/*--------- Card slider ---------*/
.card-slider-container{
	padding: 15px 0px;
}

#card-slider .slick-track{
	display: flex;
	align-items: center;
}
#card-slider .slick-slide {
    padding: 0px 25px;
}
#card-slider .slick-arrow{
	opacity: 1;
	z-index: 9;
	height: 30px;
	width: 30px;
	border-radius: 100%;
}

.slick-prev:after{
	content: url('./img/nuolibutton_vasen.png');
}

.slick-next:after{
	content: url('./img/nuolibutton_oikea.png');
}

#card-slider .slick-next{
	right: 1%;
}
#card-slider .slick-prev {
	left: 1%;
}

.card-container{
	width: 100%;
	max-width: 1200px;
	margin: 0 auto 0 auto;
	padding: 0px;
}

.card-slide-text-container{
	padding: 45px 45px 45px 45px;
}

@media screen and (min-width: 992px) {
	.card-slide-text-container{
		padding: 60px 75px 60px 60px;
	}
	.card-slider-container {
	    padding: 30px 0px;
	}
	#card-slider .slick-slide {
	    padding: 0px 30px;
	}
	.card-container{
		padding: 0px;
	}
	#card-slider .slick-next{
		right: 15%;
	}
	#card-slider .slick-prev {
		left: 15%;
	}
	#card-slider .slick-arrow{
		height: 60px;
		width: 60px;
	}
}

/*--------- Text banner ---------*/
.text-banner-container{

}
.text-banner-content{
	padding: 60px 0px 50px 0px;
}
.text-banner-button-container{
	text-align: center;
}
@media screen and (min-width: 992px) {
	.text-banner-button-container{
		text-align: left;
	}
}

/*--------- Anchor link ---------*/
.anchor-link{
	position: absolute;
	margin-top: -150px;	
}

/*--------- Accordion ---------*/
.accordion-card{
	padding: 0px 30px;
}
.accordion-card-header{
	margin-bottom: 10px;
}
.accordion-card-header>div{
	border: 1px solid #000;
	padding: 10px;
	width: 100%;
	text-align: left;
	padding: 8px 15px;
	background-color: #fff;
	-webkit-transition: background-color 0.2s, border 0.2s; /* Safari */
	transition: background-color 0.2s, border 0.2s;
}
.accordion-card-header>div span{
	font-family: 'Stanley';
	font-weight: 700;
	margin: 0px; 
	padding: 11px 0px 0px 0px;
	font-size: 0.8rem;
}

.collapse-arrow img{
	width: 23px;
	margin-top: 7px;
}

.accordion-card-header div[aria-expanded="true"]{
	background-color: #95dfda;
	border: 1px solid #fff;
}

div[aria-expanded="false"] .arrow-expanded,
div[aria-expanded="true"] .arrow-collapsed{
    display: none;
}
@media screen and (min-width: 992px) {
	.collapse-arrow img{
		width: 35px;
		margin-top: 0;
	}
}
@media screen and (min-width: 575px) {
	.accordion-card-header>div span{
		font-size: 1rem;
		padding: 6px 0px 0px 0px;
	}
}
@media screen and (min-width: 768px) {
	.accordion-card-header>div span{
		font-size: 1.3rem;
	}
	.accordion-card-header>div{
		padding: 8px 30px;
	}
}

/*--------- Featured content ---------*/
.featured-content{

}
.featured-content a{
	background-color: #061196;
	color: #fff;
	padding: 3px 3px 1px 3px;
	line-height: 2.5rem;
}

/*--------- Boxes ---------*/
@media screen and (max-width: 768px) {
	.box-image-container{
		padding-bottom: 15px;
	}
	.box-text-container{
		padding-top: 15px;
		padding-right: 25px;
		padding-left: 25px;
	}
}

/*--------- Gallery ---------*/
.gallery-container{

}
.gallery-container a{
	padding: 10px;
}
.gallery-container a div{
	list-style: none;
	height: 130px;
}

/* Keep legacy shortcode galleries inside the article at smaller breakpoints. */
body.single-post .gallery .gallery-item img{
	border: 0 !important;
}
@media screen and (max-width: 991px) {
	body.single-post .gallery{
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 4px;
		width: 100%;
	}
	body.single-post .gallery .gallery-item{
		float: none;
		width: auto !important;
		margin: 0 !important;
		padding: 0;
	}
	body.single-post .gallery .gallery-item img{
		display: block;
		width: 100%;
		max-width: 100%;
		height: auto;
		border: 0 !important;
	}
}
@media screen and (max-width: 575px) {
	body.single-post .gallery{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/*--------- Filters ---------*/
.filter-card>div{
	padding: 5px;
}
.filter-card-content{
	padding: 15px;
	border: 0.5px solid #000;
}
.filter-card-text{
	padding: 15px 0px;
}
@media screen and (min-width: 992px) {
	.filter-card-text{
		padding: 15px 30px;
	}
}
@media screen and (max-width: 575px) {
	.filter-card{
		width: 100%;
	}
}

/*Combo filter*/
.filter-group-title-container{
	margin-right: -30px;
}
.filter-group-title{
	margin-top: 6px;
}

.combo-filter{
    border: none;
}
.combo-filter label{
	font-family: 'Circular Std', Arial, Helvetica, sans-serif;
	border: 0.5px solid #000;
	margin: -5px 4px 15px 4px;
	padding: 6px 20px;
	float: left;
	color: #000;
	cursor: pointer;
	-webkit-transition: all 0.2s ease;
	    transition-property: all;
	    transition-duration: 0.2s;
	    transition-timing-function: ease;
	    transition-delay: 0s;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

.active-combo-filter{
    background-color: #eaeaeb;
    border: 0px solid #eaeaeb !important;
}

.combo-filter label input{
    display: none;   
}

/*--------- Popups ---------*/
.popup-ol{
	display: none;
	position: fixed;
	min-height: 100vh;
	width: 100%;
	background-color: rgba(0,0,0,0.4);
	z-index: 9999;
	overflow-y: scroll;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}
.popup-container{
	background-image: url('https://voiveljet.fi/wp-content/themes/voiveljet/img/logo_lomake_bg.jpg');
	background-repeat: no-repeat;
	background-size: 70%;
	background-position: 120% -11%;	
	display: none;
	background-color: #fff;
	width: 90%;
	max-width: 992px;
	margin: 100px auto 100px auto;
	padding: 60px 20px 30px 20px;	
	overflow-y: scroll;
}
.popup-content{
	position: relative;
}
.close-popup{
	position: absolute;
	right: -0px;
	top: -35px;
	font-family: 'Circular Std';
	text-transform: uppercase;
}
@media screen and (min-width: 768px) {
	.popup-container{
		padding: 60px 60px 30px 60px;
	}	
	.close-popup{
		right: -30px;
		top: -30px;
	}
}

/*--------- Ninja forms ---------*/
.nf-form-title{
	text-transform: uppercase;
	margin-bottom: 45px;
	display: block;
}
.nf-form-title h3{
	color: #061196;
}

.nf-field-label label {
	font-family: 'Circular Std';
}
.nf-field-element input, 
.nf-field-element select, 
.nf-field-element textarea {
    border: 0.5px solid #000;
    padding: 10px;
}
.field-wrap input[type="button"], 
.field-wrap input[type="submit"] {
    padding: 7px 30px;

}
.submit-container{
	margin-top: 30px;	
}

.nf-form-fields-required{
	display: none;
}

.date-container{
	max-width: 280px;	
}
.number-container{
	max-width: 100px;
}

.checkbox-container{
	margin-bottom: 10px !important;
}
.checkbox-wrap .nf-field-label{
	padding-left: 5px !important;
}
.checkbox-wrap .nf-field-label label{
	font-family: 'Stanley';
	font-weight: 300;
}

@media screen and (max-width: 768px) {
	.nf-form-cont .one-half, 
	.nf-form-cont .three-sixths, 
	.nf-form-cont .two-fourths {
	    width: 100% !important;
	}
	.nf-form-cont .five-sixths, 
	.nf-form-cont .four-sixths, 
	.nf-form-cont .one-fourth, 
	.nf-form-cont .one-half, 
	.nf-form-cont .one-sixth, 
	.nf-form-cont .one-third, 
	.nf-form-cont .three-fourths, 
	.nf-form-cont .three-sixths, 
	.nf-form-cont .two-fourths, 
	.nf-form-cont .two-sixths, 
	.nf-form-cont .two-thirds {
	    margin-left: 0% !important;
	}	
}

/*--------- WPCF ---------*/
.input-w-50{
	display: inline-block;
	width: 49.218%;
}
.first-field{
	margin-right: 1.564%;
}
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea{
	width: 100%;
	border: 0.5px solid #000;
	padding: 10px;
	margin-bottom: 10px;
}
.wpcf7-checkbox .first{
	margin-left: 0px;
}
.wpcf7-list-item input[type="checkbox"]{
	margin-bottom: 0px !important;
}

.wpcf7-form h5{
	margin-top: 2.5rem;
}

.wpcf7-file{
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;	
}

.wpcf7-submit{
	font-family: 'Circular Std', Arial, Helvetica, sans-serif;
	padding: 4px 14px;
	text-decoration: none;
	border-radius: 0px;
	background-color: #061196;
	color: #ffffff;
	border: 0px;
	-webkit-transition: background-color 0.2s; /* Safari */
	transition: background-color 0.2s;
}
.wpcf7-submit:hover,
.wpcf7-submit:active,
.wpcf7-submit:focus{
	text-decoration: none;
	background-color: #1e1e28;
	color: #ffffff;
}

span.wpcf7-not-valid-tip {
    margin-bottom: 15px;
}


#luonne-eng,
.ui-slider{
	max-width: 350px;
	margin: 15px 70px 30px 70px;
}

.ui-slider::before,
.ui-slider::after{
	position: absolute;
	top: -2px;
	font-family: 'Stanley', Georgia, serif;
	color: #56565d;
	font-size: 0.85rem;	
}

.ui-slider::before{
	content: 'Asiallinen';
	left: -70px;
}
.ui-slider::after{
	content: 'Rento';
	right: -45px;
}

#luonne-eng::before,
#luonne-eng::after{
	position: absolute;
	top: -2px;
	font-family: 'Stanley', Georgia, serif;
	color: #56565d;
	font-size: 0.85rem;	
}
#luonne-eng::before{
	content: 'Formal';
	left: -70px;
}
#luonne-eng::after{
	content: 'Casual';
	right: -60px;
}


.ui-slider-horizontal .ui-state-default {
	background: white url('https://voiveljet.fi/wp-content/themes/voiveljet/img/slider-btn.png') no-repeat scroll 50% 50% !important;
}
.ui-slider .ui-slider-handle {
    top: -8px !important;
}
.ui-widget-content {
    border: 0px solid #aaaaaa !important;
    background: #eee 50% 50% repeat-x !important;
}
.ui-widget-header {
	border: 0px solid #aaaaaa !important;
	background: #eee 50% 50% !important;
}
.ui-slider-handle .slider-tooltip,
.ui-slider-handle .slider-tooltip::after {
	display: none !important;
}
.ui-slider-handle::after {
    display: none !important;
}

span.wpcf7-list-item {
    display: block !important;
    margin: 0px !important;
}
.wpcf7-number{
	max-width: 110px;
}
.wpcf7-date{
	max-width: 150px;
}

/*--------- Posts page ---------*/
.single-post-container{
	border-bottom: 1px solid #000000;
}

.single-post-featured-image{ margin: 0 0 30px; }
.single-post-featured-image img{ display: block; }
.single-post-featured > img + .single-post-cta{ margin-top: 30px; }
.post-preview-media-contained{ overflow: hidden; }
.post-preview-media-contained a{ display: block; height: 100%; }
.post-preview-image{ display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.single-post-cta{ padding: 30px; }
.single-post-cta-inline{ margin-top: 30px; margin-bottom: 30px; }
.single-post-cta-title{ text-transform: uppercase; line-height: 1.1; margin-bottom: 12px; }
.single-post-cta-description{ font-family: 'Circular Std', Arial, Helvetica, sans-serif; text-transform: uppercase; font-size: 1.05rem; line-height: 1.35; margin-bottom: 25px; }

@media screen and (min-width: 992px) {
	.single-post-featured{ position: -webkit-sticky; position: sticky; top: 150px; align-self: flex-start; }
	.post-preview-image{ height: 100%; aspect-ratio: auto; }
}

/*--------- iFrame ---------*/
.iframe-container{
	display: none;
}
.iframe-content{
	display: flex;
}

/*--------- Loader ---------*/
.iframe-loader{
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: -1;	
}

.lds-ellipsis {
  display: inline-block;
  width: 64px;
  height: 64px;
}
.lds-ellipsis div {
  position: absolute;
  top: 27px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #000;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 6px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 6px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 26px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 45px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(19px, 0);
  }
}


/* ==========================================================================
   Fonts
   ========================================================================== */
/* Stanley */

.font-family-stanley{
	font-family: 'Stanley';
}

@font-face {
  font-family: 'Stanley';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/Stanley-Regular.eot'); /* IE9 Compat Modes */
  src: local('Stanley'), local('Stanley'),
       url('fonts/Stanley-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/Stanley-Regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/Stanley-Regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/Stanley-Regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/Stanley-Regular.svg#Stanley-Poster') format('svg'); /* Legacy iOS */
}
@font-face {
  font-family: 'Stanley';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/Stanley-Poster.eot'); /* IE9 Compat Modes */
  src: local('Stanley Poster'), local('Stanley-Poster'),
       url('fonts/Stanley-Poster.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/Stanley-Poster.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/Stanley-Poster.woff') format('woff'), /* Modern Browsers */
       url('fonts/Stanley-Poster.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/Stanley-Poster.svg#Stanley-Poster') format('svg'); /* Legacy iOS */
}

/* Circular Std */

.font-family-circular{
	font-family: 'Circular Std';
}

@font-face {
  font-family: 'Circular Std';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/CircularStd-Medium.eot'); /* IE9 Compat Modes */
  src: local('Circular Std'), local('CircularStd-Medium'),
       url('fonts/CircularStd-Medium.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/CircularStd-Medium.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/CircularStd-Medium.woff') format('woff'), /* Modern Browsers */
       url('fonts/CircularStd-Medium.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/CircularStd-Medium.svg#CircularStd-Medium') format('svg'); /* Legacy iOS */
}
@font-face {
  font-family: 'Circular Std';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/CircularStd-Bold.eot'); /* IE9 Compat Modes */
  src: local('Circular Std'), local('CircularStd-Bold'),
       url('fonts/CircularStd-Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/CircularStd-Bold.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/CircularStd-Bold.woff') format('woff'), /* Modern Browsers */
       url('fonts/CircularStd-Bold.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/CircularStd-Bold.svg#CircularStd-Bold') format('svg'); /* Legacy iOS */
}

/* ========================= Wordpress editor styles ========================= */

.entry-content img {
	margin: 0 0 1.5em 0;
	}
.alignleft, img.alignleft {
	margin-right: 1.5em;
	display: inline;
	float: left;
	}
.alignright, img.alignright {
	margin-left: 1.5em;
	display: inline;
	float: right;
	}
.aligncenter, img.aligncenter {
	margin-right: auto;
	margin-left: auto;
	display: block;
	clear: both;
	}
.alignnone, img.alignnone {
	/* not sure about this one */
	}
.wp-caption {
	margin-bottom: 1.5em;
	text-align: center;
	padding-top: 5px;
	}
.wp-caption img {
	border: 0 none;
	padding: 0;
	margin: 0;
	}
.wp-caption p.wp-caption-text {
	line-height: 1.5;
	font-size: 10px;
	margin: 0;
	}
.wp-smiley {
	margin: 0 !important;
	max-height: 1em;
	}
blockquote.left {
	margin-right: 20px;
	text-align: right;
	margin-left: 0;
	width: 33%;
	float: left;
	}
blockquote.right {
	margin-left: 20px;
	text-align: left;
	margin-right: 0;
	width: 33%;
	float: right;
	}

/*Wordpress editor styles end*/
