/* Header*/
.hero.hero-image{
	height:var(--hero-height);
}
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
.container, .layout-container {
  width: 100%;
  max-width: 100%;
}


.row {
  display: flex;
  flex-wrap: wrap; 
}

.column_4-block {
  flex: 1 1 25%;
  padding: 10px;
}
.nav-menu a:hover{
	color: var(--primary-color);
}

main {
	display: grid;
  	grid-template-areas:
	"hero   " 
	"content";
  	align-content: start;
}
.layout-container{
	display: grid;
	grid-template-areas: 
		"nav"
		"main"
		"footer";
	grid-template-rows: auto 1fr auto;
}
nav.scrolled {
  background-color: black;
}

html, body, .dialog-off-canvas-main-canvas, .layout-container {
  height: 100%;
}
.hero{
	grid-area: hero;
	background: url("../../images/kummeli_katu4.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: grid;
	place-items: center;
	position: relative;
}

.header .logo img{
	max-height: 40px;
	margin-right: 6px;
}
img {
    transition: 0.3s;
    max-width: 100%;
    height: auto;
    display: block;
}
.header.stikcy-menu{
    grid-area: user-menu;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 450;
}
.block-system-branding-block a img {
    height: var(--branding-height);
    padding: 0.75rem 0;
}
.region-nav-menu{
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: auto;
}
.hero-overlay{
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: var(--hero-overlay);
}
.region-hero{
	color: var(--white);
	z-index: 1;
	text-align: center;
}

.contextual::after{
	display: block;
	clear: both;
	content:"";
}
.contextual-region{
	color: var(--white);
	text-align: center;
}
.section{
	/*padding: 60px 0; */
	overflow: hidden;
	background: var(--light-color);
}
.clearfix p{
	color: var(--white);
}
.etusivun-kuvalinkit{
/*	--bs-gutter-x: 1.5rem;
	--bs-gutter-y: 1.5rem; */
	/*display: flex;*/
	flex-wrap: wrap;
/*	margin-top: calc(-1* var(--bs-gutter-y));
	margin-right: calc(-.5* var(--bs-gutter-x));
	margin-left:calc(-.5* var(--bs-gutter-x)) ;*/
	display: grid;
	gap: 3rem;
	grid-auto-columns: 1fr;
	position: relative;
	flex-wrap: wrap;
}
.icon-box{
	position: relative;
	/*overflow: hidden; */
	transition: all 0.3s ease-in-out;
	border-radius: 10px;
	z-index: 1;
	height: 100%;
	width: 100%;
	text-align: center;
	color: var(--text-color);
/*	box-shadow: -1px 5px 20px 0px var(--box-shadow-color); */
	 backdrop-filter: blur(16px);
	}

.icon-box:hover {
	background-color:  var(--primary-color);

}

.icon-box-content {
	text-align:  left;
}

.icon-box h4.title {
	/*  background: var(--primary-color);
    height: 90px;
    margin: 0px;
    padding: 15px 0px;
    text-transform: uppercase; */
     padding: 20px 10px 20px 20px;
}

.icon-box h4.title a {
	color: var(--white);

}

.icon-box p {
	    padding: 0px 20px 30px 20px;
	    color:  var(--white);
}

.icon-box p a {
border-radius: 50px;
    border: 2px solid var(--white);
    padding: 8px;
    color: var(--white);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9rem;
  }

  .icon-box p a:hover {
  	border:  2px solid var(--primary-color);
  	color:  var(--primary-color);
}

/*.icon-box .icon{
	margin-bottom: 20px;
	padding-top: 10px;
	display: inline-block;
	transition: all 0.3s ease-in-out;
	font-size: 48px;
	line-height: 1;
	color: var(--primary-color);
}
.icon-box .icon img{
	width: 77px;
	max-width: 100%;
	height: auto;
	display: block;
} */


/*contact us column*/
/*.call-to-action::before{
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	opacity: 0.6;
} */

.call-to-action{
	/*background: url("../../images/kummeli-bg-rocks.jpg"); */
	background-size: cover;
	padding: 150px 0px;
	border-radius: 0px;
	overflow: hidden;
	position: relative;
	background-attachment: fixed;
}

.contact-us {
	    z-index: 1;
}

.column-contact-us h3{
	color: var(--white);
  	text-align: center;
  	/*text-shadow: 3px 3px 7px var(--gray-dark); */
  	font-size: 2.5rem;
  	padding-top:  1rem;
}
.nowrap {
  white-space: nowrap;
}
.column-contact-us p{
	color: var(--white);
  	text-align: center;
 /* 	text-shadow: 3px 3px 7px var(--gray-dark); */
  	font-size: 1.9rem;
}
.call-to-action .call-button{
	font-weight: 500;
	font-size: 16px;
	letter-spacing: 1px;
	display: inline-block;
	padding: 12px 48px;
	border-radius: 50px;
	transition: 0.5s;
	margin-top:40px;
	color: #fff;
	background-color: var(--primary-color);
	margin-bottom:  2rem;
}

.call-to-action .call-button:hover {
color: rgba(255, 255, 255, 1);
  box-shadow: 0 0px 8px rgba(255, 255, 255, .4);
  background-color: var(--primary-color);
  border-radius: 50px !important;

  }
.column-contact-us{
	flex: 0 0 auto;
	width: 100%;
	backdrop-filter: blur(16px);
}
/* kortit */
.kortit p{
	color: var(--white)!important;
	    font-size: 0.9rem;
    line-height: 1.4rem;
}

.flip-card {
  background-color: transparent;
  width: 100%;
  min-height: 450px;
  perspective: 1000px;
  height: 100%;

}
.kortit{
	display: grid;
	gap: 3rem;
	grid-auto-columns: 1fr;
	position: relative;
	justify-items: center;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: left;
  transition: transform 1.5s;
  transform-style: preserve-3d;
 /* box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); */
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 1rem;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front {
  color: black;
  background-color: var(--primary-color);
  border-radius:  15px;
}

.flip-card-back {
  color: white;
  transform: rotateY(180deg);
  background-color: #353535;
  border-radius:  15px;
}
.section-header h2{
	text-align: center;
	color: var(--primary-color);
	 text-transform: uppercase;
   font-size: 2.8rem;
}

.Kaisa {
	margin-top:  4rem;
	  background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    place-items: center;
    position: relative;
}

.Kaisa .section-header h2{
       margin-top: 3rem;
    margin-bottom: 2rem;
}

.section-header {
	/* margin-bottom:  40px; */
}

/* karuselli*/
.mySlides {display: none}
.mySlides img {vertical-align: middle;
		margin-bottom:  2rem}


/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 0px;
  margin-top: -22px;
  color: black;
  font-weight: bold;
  font-size: 80px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}


.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  /*transition: background-color 0.6s ease;*/
}

.active, .dot:hover {
  background-color: #717171;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}
.horizontal-menu > li:last-child{
	padding: 3px 15px;
}
.horizontal-menu > li:last-child{
	border-radius: 50px;
}
.horizontal-menu > li:last-child:hover{
	border-radius: 50px;
}

.horizontal-menu > li:last-child > a {
 color:  var(--white);
	}
.menu-item.active{
	background-color: white !important;
}
.menu-item a:hover{
	color: var(--primary-color);
}


/*footer*/
.footer-section{
/*	background-image: url(../../images/kummeli-bg.jpg); */
	background-color: var(--primary-color);
	background-size: cover;
	padding: 60px 0;
	border-radius: 0px;
	position: relative;
	background-attachment: fixed;
}

.footer-section::before{
	content: "";
  	position: absolute;
  	left: 0;
  	bottom: 0;
  	top: 0;
  	right: 0;
  	width: 100%;
  	height: 100%;
  	z-index: 0;
  	opacity: 0.8;
  /*	background-color: black; */
}

.footer h3 {
	text-transform: uppercase;
}

.layout-container > nav {
	grid-area: nav !important;
}
.nav-menu{
	position: fixed;
	background-color: black;
	left: 0;
	top: 0;
	width: 100%;
	z-index: 450;
	display: flex;
}
.nav-menu.scrolled{
	background-color: black;
}
.nav-menu .container-xl{
	padding-left: 0.75rem;
	padding-right: 0.75rem;
	
}
.container .section-header p{
	text-align: center;
}
.footer-section .container-xl{
	display: grid;
	grid-template-columns: var(--footer-columns);
}
.footer-logo img{
	height: 75px;
	padding: 0.75rem 0;
}
.footer-content{
	z-index: 1;
}
.fuuteri2{
	z-index: 1;
}
.fuuteri3{
	z-index: 1;
}
.copyright{
	z-index: 1;
}

/* Blogit */
.tuukka{
	display:grid;
	padding-bottom: 40px;
	padding-top: 20px;

}
.kuvaloinen{
	max-height: 240px;
	overflow: hidden;
	border-radius: 8px;

}
.meidan-blogit article{
	background-color: var(--white);
	height: 100%;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: -1px 5px 20px 0px rgb(82, 90, 101);
	padding:  15px;
}
.meidan-blogit .title{
	font-size: 22px;
	margin: 0 0 2px 0;
}
.meidan-blogit .post-date{
	padding-left: 10px;
}
.meidan-blogit p{
	margin-top: 0;
}

.karri{
	padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
}
.section{
	margin-top: 10px;
	margin-bottom: 10px;
	padding-bottom: 20px;
	padding-bottom: 20px;
}
.meidan-blogit .align-items-center{
	padding-bottom: 20px;
}

.slideshow-container .Teksti{
	padding-right: var(--bs-gutter-x,.75rem);
  padding-left: var(--bs-gutter-x,.75rem);
  margin-right: auto;
  margin-left: auto;
	text-align: center;
}
.testimonials-test{
	padding-bottom: 40px;
	padding-top:40px ;

}
.hero-button a{
	background-color: var(--primary-color);
	padding: 10px 15px;
	border-radius: 50px;
	color: var(--white);
	/*font-weight: bold; */
	    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
}
.hero-button a:hover{
	color: rgba(255, 255, 255, 1);
  box-shadow: 0 0px 8px rgba(255, 255, 255, .4);
  background-color: var(--primary-color);
  border-radius: 50px !important;
}
.hero-button{
	padding-top: 20px;
}

header {
  position: fixed;
  /*background-color: black;*/
  left: 0;
  top: 0;
  width: 100%;
  z-index: 450;
  display: flex;
  background-color: white;
}



/* Hampurilaisvalikko (menu-toggle) */
.menu-toggle {
  font-size: 2rem;
  background: #fff;
  color: black;
  padding: 0.4rem 0.7rem;
  border-radius: 4px;
  cursor: pointer;
}
.logo a img{
  height: var(--branding-height);
  padding:0.75rem 0;
}

/* Mobiilivalikko */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -70%; 
  width: 70%;
  height: 100%;
  background: black;
  color: white;
  transition: right 0.3s ease;
  z-index: 470;
  padding-top: 0rem;
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.4);
}

.mobile-menu.active {
  right: 0; 
}

.mobile-menu ul {
  list-style: none;
}

/*.mobile-menu ul li {
  padding: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 1.2rem;
}
.mobile-menu ul li a{
	color: white;
}
.mobile-menu ul li a:hover{
	color: var(--primary-color);
}
.mobile-menu .active ul li a:hover{
	color: var(--primary-color);
}
.menu-item a:hover{
	color: var(--primary-color);
}*/
/* Sulkupainike */
.close-btn {
  position: absolute;
  top: 1rem;
  left: -50px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 500;
  border-radius: 50%;
}
.close-btn:hover{
	background: #880005;
}

.close-btn.hide {
  display: none;
}
.slide-caption {
  text-align: center;
  margin-top: 1rem;
  color: #333;
  padding:  20px;
}

.slide-caption h3 {
  margin: 0;
  font-size: 1.3rem;
  color: #8b2c25; 
}

.slide-caption p {
  margin: 0.5rem 0 0;
  font-size: 1rem;
}
.testimonials-test{
	  background-color: #8A4246;
    margin-top: 1rem;
}
.testimonials-test h2{
	color: white;
}
.testimonials-test p{
	color: white;
	height: 210px;
}
/*.footer-section{
	background-image: linear-gradient(to right top, #aa1e1e, #811623, #571421, #2e1017, #000000);	
} */
/*mobiili-menu*/

/*.mobile-menu-item{
	background-color: var(--primary-color);
	position: absolute;
	right: 1rem;
	height: 2rem;
	width: 2rem;
	color: var(--white);
	border:0;
	cursor: pointer;
}
.sr-only{
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin:-1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}
.mobile-menu-list-has-children .menu-menu{
	position: relative;
}
.mobile-menu-list-has-children-a{
	display: block;
	borer-bottom: 1px solid rgba(255, 255, 255, 0.15);
	padding-bottom: 0.8rem;
}*/
.mobile-menu-menu-menu{
	display: block;
	border-width: 0;
	border-style: solid;
	border-color: #e2e8f0;
}
.mobile-menu-menu-menu-a{
	color: white;
	--bg-opacity:1;
	--text-opacity:1;
	display: block;
	padding: 1rem;
	--border-opacity:1;
	border-bottom: 1px solid rgba(255,255,255, 0.15);
	font-size: 1.2rem;
}
.mobile-menu-list-has-children.menu-menu{
	position: relative;
	border-width: 0;
	border-style: solid;
	border-color: #e2e8f0;
	display: block;
}
.mobile-menu-list-has-children-a{
	display: block;
	color: var(--white);
	padding: 1rem;
	font-size: 1.2rem;
	border-bottom:1px solid rgba(255, 255, 255, 0.15);
}
.mobile-menu-item{
	position: absolute;
	right: 1rem;
	height: 2.5rem;
	width: 2.5rem;
	top: .35rem;
	color: var(--white);
	border:0;
	padding: 0;
	line-height: inherit;
	background-color: var(--primary-color);
}
#js-toggle-menu--0{
	padding-left: 0;
}
.menu-mobile-list-item{
	border-width: 0;
	border-style: solid;
	border-color: #e2e8f0;
}
.menu-mobile-list-item-level2{
	display: block;
	padding: 1rem;
	color: var(--white);
  font-size: 1.2rem;
  border-bottom:1px solid rgba(255, 255, 255, 0.15);
  padding-left: 2rem;
}
.icon-minus{
	font-size: 1.5rem;
}
.icon-plus{
	font-size: 1.5rem;
}
.flip-card h4{
	text-align: center;
	color: var(--primary-color);

}
.flip-card h5{
	color: var(--white);
	    font-size: 1rem;
    line-height: 1.5rem;
}
.mobile-menu-menu-menu a:hover{
	color: var(--primary-color);
}
.horizontal-menu .sub-nav{
	background-color: var(--white);
}
.horizontal-menu .sub-nav .menu-item a:hover{
	color: var(--primary-color);
}


.referenssit {
	display:  grid;
	gap:  1rem;
}

.referenssi-kuva img {
	padding:  2rem 2rem 2rem 0rem;
	border-radius:  20px;

}

hr {
	display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #000;
    margin: 1em 0;
    padding: 0;
}
