/*VÄRIT
color1 = #f5eee6 	vaalea beessi
color2 = #FFF		valkoinen
color3 = #593F2E 	tumman ruskea
color4 = #F6E0E0	pinkki
color5 = #272727 	musta
*/

h1,h2, h3, h4,
.desktop-main-menu li.level1 > a {font-family: 'Playfair Display', serif; }



p {	font-size:1.125rem; }

.sivu1 #showcase h2 {
	font-size:5.75rem;
}

h1,
h2,
.content2 .contentlist h2 {
	font-size:4.00rem;
	font-weight:700;
	font-size:4.00rem;
	font-weight:700;
	border:;
}

.boxlist-item h2,
.box2 .boxlist-item h2 {
	font-size:1.5rem;
	font-weight:800;
	border:;
}





/*värit*/
h1,
h2,
#main-after .hero-slider__text-content h2,
.showcase2 .hero-slider h2,
#content-bottom h3,
.content2 .contentlist h2,
a {
	color:var(--color3) !important;
}

body {
	background:#fff;
}





/* NAPIT */
a.btn,
.basic-form button {
	text-transform:uppercase;
	border-radius:50px;
	padding: 0.75rem 2rem;
    font-family: inherit;
    font-weight: normal;
    text-decoration: none;
}

.site-header__top .btn {
	color:var(--color5) !important;
}

	/*valk nappi*/
	.sivu1 #showcase .hero-slider__text-content_inner a.btn,
	#main-content a.btn,
	#bottom a.btn,
	#main-content button.btn,
	#main-after .hero-slider__text-content_inner a.btn {
		border-color:var(--color2);
		background:var(--color2);
		color:var(--color3);
	}
		.sivu1 #showcase .hero-slider__text-content_inner a.btn:hover,
		#main-content a.btn:hover,
		#bottom a.btn:hover,
		#main-content button.btn:hover,
		#main-after .hero-slider__text-content_inner a.btn:hover {
			border-color:var(--color3);
			background-color:var(--color3);
			color:var(--color2) !important;
			text-decoration:none;
		} 
	
	
	/*ruskea nappi*/
	.site-footer button.btn,
	#main-content .basic-form button.btn {
		border-color:var(--color3);
		background:var(--color3);
		color:#fff;
	}
		.site-footer button.btn:hover,
		#main-content .basic-form button.btn:hover {
			border-color:var(--color2) !important;
			background:var(--color2) !important;
			color:var(--color3) !important;
		}
	
	
	/* pinkki nappi */
	#content-bottom a.btn {
		background:var(--color4);
		border-color:var(--color4);
		color:var(--color3);
	}
		#content-bottom a.btn:hover { 
			background:var(--color3);
			border-color:var(--color3);
			color:var(--color2) !important;
		}



/*TOP*/
.site-header {
	background:#f3ede5;
}
.nav-logocenter__gradient .site-header:before {
	display:none;
}
/*.site-header__logo {
    border: 0px solid red;
    background-image: url(../tiedostot/logo-bg-circle.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: bottom center;
}*/
.site-header__logo img {
    max-height: 70px;
    max-width: 260px;
    width: auto;
    height: auto;
    padding: 20px 20px 0;
    box-sizing: unset;
}
.desktop-main-menu a {
	/*font-size:1.25rem;*/
}
.nav-logocenter__gradient .site-header__bottom .desktop-main-menu li.level1 > a,
.desktop-main-menu li.current > a {
	color:var(--color3) !important;
}
.nav-logocenter__gradient .site-header__bottom:not(.sticky) {
	padding:0 1.5rem 1.5rem;
}
.desktop-main-menu li.current > a {
	background:#fff;
	border-radius:50px;
}
li.level1.centerNav.nav-elements-left {
	margin-right:320px !important;
}
.ml-1.top-buttons a.btn.pois{
	pointer-events: none;
  	cursor: default;
}
@media (min-width: 992px) {
	.nav-logocenter__gradient .site-header__logo {
		position: absolute;
		max-width: 320px;
		left: 50%;
		-webkit-transform: translateX(-50%);
		transform: translateX(-50%);
		top: -51px;
		width: 320px;
		text-align: center;
	}
}
.nav-logocenter__gradient .site-header__bottom.sticky .site-header__logo {
	top:-12px;
}




/*showcase*/
#showcase .hero-slider__overlay {
	display:none;
}
body:not(.sivu1) #showcase .hero-slider__img-spacer {
	padding-bottom:44%;
}

	/*--Etu / video*/
	.sivu1 #showcase {
		border:;	
		height:100vh;
	}
	.sivu1 #showcase .content-section,
	.sivu1 #showcase .hero-slider,
	.sivu1 #showcase .hero-slider__item {
		height:100%;
	}
	.sivu1 #showcase .hero-slider__container {
		justify-content: center;
	}
	.sivu1 #showcase .hero-slider__item .hero-slider__text-content {
		padding:0 2rem;
		border:;
	}
	#showcase .hero-slider__video {
		display:block;
		 position: absolute;
		 top: 0;
		 bottom: 0;
		 width: 100%;
		 height: 100%; 
		 overflow: hidden;
	}
	#showcase .hero-slider__video #hero-video {
		min-width: 100%; 
		min-height: 100%; 
		width: auto;
		height: auto;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
	}
	.sivu1 #showcase h2 {
		max-width:100%;
		text-align:center;
		color:#fff !important;
	}
	#showcase .hero-slider__text-content p {
		text-align:center;
	}



/*main*/
#main-content {
	background: rgb(234,228,220);
	background: linear-gradient(146deg, rgba(234,228,220,1) 0%, rgba(243,237,229,1) 100%);
}
#main-content > .editor {
	max-width:1400px; 
	margin:0 auto;
	padding:6rem 2rem 0;
	text-align:center;
	border:0px dashed red;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
	#main-content > .editor h1 {
		max-width:90%;
		margin:0 auto 2rem;
	}
	
	/*yleinen*/
	.content-section {
    	padding: 6rem 2rem;
	}
	


	/*--ETU kuvalaatikot*/
	.sivu1 #main-content .content-section .container {
		padding:0;
	}
	a.boxlist-item__full-link {
		position: absolute;
		z-index: 5;
		top: 0;
		left: 15px;
		right: 15px;
		bottom: 0;
		cursor: pointer;
	}
	.boxlist__col {
		 margin:0 !important;
	}
	.sivu1 .boxlist-item {
		transition:all 500ms;
		background:#fff;
		border-bottom:6px solid var(--color4);
	}
		.boxlist-item:hover {
			box-shadow:0 0 20px rgba(0,0,0,0.35);
		}
	.boxlist-item__img-holder:before {
		content: '';
		padding-top: 100%;
		display: block;
	}
	.boxlist-item__img-holder {
		padding:0 !important;
	}
	.img2 img {
		width:85% !important;
		height:85% !important;
	}
	.img2 img:nth-child(2) {
		margin-top:15%;
		margin-left:15%;
	}
	.boxlist-item__text-holder {
		text-align:center;
	}
		.box2 .boxlist-item__text-holder {
			padding:3rem 1.5rem 1.5rem;
		}

	/*--VL kuvat */
	#main-content .contentlist__item {
		border:0px solid #ccc;
		padding:0 0 5rem;
	}
	body:not(.sivu1) #main-content .contentlist .contentlist__item-content {
		border:0px solid red;
		padding: 0 3rem 4rem;
	}

	body:not(.sivu1) #main-content .contentlist__item-img-holder {
		padding:0;
	}
	body:not(.sivu1) #main-content .contentlist__item-img-holder > div:before {
		content: '';
		padding-top: 100%;
		display: block;
	}
	body:not(.sivu1) #main-content .contentlist__item-img-holder > div {
		position:relative;
	}

	body:not(.sivu1) #main-content .contentlist__item-col.contentlist__item-col_img img {
		width:90%;
		height:90%;
		box-shadow:30px 30px #fff;
	}
	body:not(.sivu1) #main-content .contentlist__item.contentlist__item_img-right .contentlist__item-col.contentlist__item-col_img img {
		left: auto;
    	right: 30px;
	}



/*main-after*/
#main-after .hero-slider__overlay {
	background-color:rgba(255,255,255,0.0);
}
	.sivu1 #main-after .hero-slider__text-content_inner {
		padding:0 2rem;
	}
	#main-after .hero-slider__text-content h2, .showcase2 .hero-slider h2 {
		margin-bottom:3rem;
	}
	body:not(.sivu1) #main-after .hero-slider__text-content {
		max-width: 1000px;
    	margin: 0 auto;
    	text-align: center;
		padding:10rem 2rem 9rem 2rem;
	}



/*content-bottom*/
#content-bottom {
	background: rgb(255,255,255);
	background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(254,251,246,1) 100%);
}
#content-bottom h2 {
	color:var(--color3);
}
	/*someseinä*/
	.someHeader {
		max-width:1400px; 
		margin:0 auto;
		padding:0 2rem;
		overflow:auto;
		border:0px solid #000;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}
		.someHeader h3 {
			margin:0;
			float:left;
		}
		.someHeader ul {
			float:right;
			border:0px solid red;
			list-style:none;
			margin:0;
		}
		.someHeader ul li {
			padding:0;
			margin:0;
			display:inline-block;
		}
		.someHeader ul li img {
			height:22px;
			width:auto;
			padding:10px;
			border-radius:50px;
			background:var(--color4);
			box-sizing: unset;
		}
	.someWall {
		max-width:1400px; 
		margin:0 auto;
		padding:3rem 1.5rem 5rem;
		text-align:center;
		border:0px solid orange;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}
		.taeggie-feed-widget .post-container {
			padding:0 0.5rem !important;
		}






/*bottom*/
#bottom {
	background-color:var(--color1);
	background-image:url(../tiedostot/bottom.jpg);
	background-position:center center;
	background-size:cover;
}
#bottom .editor {
	max-width:1400px; 
	margin:0 auto;
	padding:6rem 2rem;
	text-align:center;
	border:0px dashed pink;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	color:var(--color5);
}
#bottom h2 {
	color:#fff;
}


/*footer*/
.site-footer {
	background:#d6c9b7;
	color:var(--color5);
}
	.site-footer p,
	.site-footer a {
		color:var(--color5);
	}
.site-footer .basic-form {
	padding-left:0;
}
.site-footer .basic-form label.d-block {
	display:none !important;
}





/* logot */
.col-12.editor-content__col.logot ul {
	list-style:none;
	margin:0;
	padding:0;
}
	.logot ul li {
		display:inline-block;
		width:49%;
		padding:0 0 2rem;
		text-align:center;
	}
	.logot ul li img {
		max-width: 200px;
   		max-height: 50px;
    	width: auto;
    	height: auto;
	}


/* lomakkeet */
.form-control {
	color: #272727 !important;
    background-color: #ffffff;
    border: 0;
    border-radius: 50px;
    padding: 1rem 1.5rem;
    height: auto;
}


/*--OTA YHTEYTTÄ*/
.sivu31 #bottom {
	display:none;
}

.sivu31 #main-content p+h3 {
	margin-top:2rem;
}


/*--KIITOS*/
.sivu47 #main-content .content-section {
    padding: 8rem 2rem;
}
.sivu47 #bottom {
	display:none;
}


/*--TIETOSUOJASELOSTE */
.sivu32 #bottom {
	display:none;
}






/*=======================================================*/
/*=======================================================*/
/*=======================================================*/
/*=======================================================*/
/*=======================================================*/
/*=======================================================*/
/*==       ==============================================*/
/*==       ==============================================*/
/*== RESPO ==============================================*/
/*==       ==============================================*/
/*==       ==============================================*/




@media (max-width:1400px) {
	#main-content > .editor h1 {
    	max-width: 100%;
	}
	.taeggie-feed-widget .post-container {
    	padding: 0 0.5rem 1rem !important;
	}
}	



@media (max-width:1200px) {

	p {	
		font-size:1.0rem;
	}
	.sivu1 #showcase h2 {
		font-size:4.75rem;
		line-height:1;
		margin:0 0 2rem;
	}
	h1,
	h2,
	.content2 .contentlist h2 {
		font-size:3.25rem;
	}
	h3 {
		font-size:1.75rem;
	}
	.boxlist-item h2,
	.box2 .boxlist-item h2 {
		font-size:1.25rem;

	}

	/*top*/
	.site-header__top .btn {
		padding:0 0 0 0.5rem !important;
	}
	/*main*/
	#main-content .contentlist__item {
    	padding: 0 0 3rem;
	}
	body:not(.sivu1) #main-content .contentlist .contentlist__item-content {
		padding:0 2rem 2rem !important;
	}
	
	/*väli-slider*/
	.hero-slider__item .hero-slider__text-content {
		padding: 12rem 2rem 8rem 2rem;
	}

	
	
	/*--ETU*/
	#main-content .container {
		padding:0;
	}
	.box2 .boxlist .boxlist__col {
		padding:0 5px;
	}
	.box2 .boxlist-item__text-holder {
    	padding: 2rem 1rem 1rem;
	}
	
	/*--VERHOT*/
	.logot ul li img {
		max-width: 150px;
   		max-height: 40px;
	}
}



@media (max-width: 991px) {
	.sivu1 #showcase h2 {
		font-size:4.00rem;
		margin:0 0 20px;
	}
	h1,
	h2,
	.content2 .contentlist h2 {
		font-size:3.25rem;
	}


	/*top*/
	.site-header__bottom {
		background: var(--color1);
		padding:0 1.5rem 1.5rem;
	}
	.site-header__logo {
		background:none;
	}
	.site-header__logo img {
		padding:1.5rem 1.5rem 0 0;
	}
	#mobile-buttons a.btn.btn-switcher-highlight.btn-switcher-primary {
		display:none;
	}
	#mobile-buttons a.btn.btn-switcher-highlight {
		margin-top:2rem;
		color:#fff !important;
	}
	/*nav*/
	.ml-1 {
		margin-top:15px;
	}
	.mobile-menu__bars {
		background: var(--color3);
	}
	.mm-ocd {
		z-index:99999;
	}
	/*main*/
	.content-section {
    	padding: 5rem 2rem;
	}
	#main-content > .editor {
		padding:5rem 2rem 0;
	}
	#main-content .contentlist__item {
    	padding: 0 0 0;
	}
	body:not(.sivu1) #main-content .contentlist__item-col.contentlist__item-col_img img {
    	width: 94%;
    	height: 94%;
    	box-shadow: 20px 20px #fff;
	}
	body:not(.sivu1) #main-content .contentlist__item.contentlist__item_img-right .contentlist__item-col.contentlist__item-col_img img {
		left:auto;
		right:auto;
	}
	body:not(.sivu1) #main-content .contentlist .contentlist__item-content {
    	padding: 1rem 0 2rem !important;
	}
	/*main-after*/
	body:not(.sivu1) #main-after .hero-slider__text-content {
		padding: 6rem 2rem 5rem 2rem;
	}
	/*bottom*/
	#bottom .editor {
    	padding: 5rem 2rem;
	}

	
	
	/*--ETU*/
	.sivu1 #showcase {
		height:80vh;
	}
	.box2 .boxlist .boxlist__col {
    	padding: 0 5px 10px;
	}
	#main-after .hero-slider__item.height-80 {
    	height: 60vh !important;
	}
	.img2 img {
		width:95% !important;
		height:95% !important;
	}
	.img2 img:nth-child(2) {
		margin-top:5%;
		margin-left:5%;
	}
	.sivu1 #content-bottom .contentlist .contentlist__item-content {
		padding:4rem 0 0 !important;
	}
	
	/*--VERHOT*/
	.logot ul li img {
		max-width: 120px;
   		max-height: 30px;
	}
}



@media (max-width: 767px) {
	.sivu1 #showcase h2 {
		font-size:3.25rem;
	}
	h1,
	h2,
	.content2 .contentlist h2 {
		font-size:2.25rem;
	}
	
	/*top*/
	.site-header__bottom {
		padding:1.0rem 1.5rem !important;
	}
	.site-header__logo img {
    	padding: 0 0;
		max-height: 60px;
	}
	#mobile-buttons {
		bottom:18px;
		right:90px;
	}
	#mobile-buttons a.btn.btn-switcher-highlight {
		margin:0;
	}

	
	/*main*/
	.content-section {
    	padding: 3rem 1.5rem;
	}
	#main-content > .editor {
    	padding: 3rem 1.5rem 0;
	}
	body:not(.sivu1) #main-content > .editor {
		text-align:left;
	}
	#main-content > .editor h1 {
		margin:0 0 1rem;
	}
	#main-content .contentlist .contentlist__item-content {
    	padding: 2rem 0rem 2rem !important;
	}
	/*content bottom*/
	#content-bottom .editor-content__col {
	    padding: 0;
    	margin-bottom: 2rem;
	}
	/*bottom*/
	#bottom .editor {
    	padding: 3rem 1.5rem;
	}

	
	
	/*--ETU*/
	.sivu1 #showcase {
    	height: 70vh;
	}
	.boxlist {
		margin: 0 !important;
	}
	.boxlist-item__img-holder {
		height:225px;
		padding:0;
	}
	#main-after .hero-slider__item.height-80 {
    height: auto !important;
	}
	#main-after .container.hero-slider__container {
		padding:0;
	}
	#main-after .hero-slider__item .hero-slider__text-content {
    	padding: 8rem 0 6rem 0;
	}
	#main-after .hero-slider__text-content h2, .showcase2 .hero-slider h2 {
    	margin-bottom: 1rem;
	}
	.sivu1 #main-after .hero-slider__text-content_inner {
		padding:0 1.5rem;
	}
	.someWall {
		padding-bottom:2rem;
	}
	.taeggie-feed-widget .post-container {
    	padding: 0 0.5rem 1rem !important;
	}
	
	/*--VERHOT*/
	.logot ul li {
		width:32%;
		padding:0 0 2rem;
	}
	.logot ul li img {
		max-width: 110px;
	}
}



@media (max-width: 480px) {
	p,
	ul li {
		font-size: 0.9rem;
	}
	.sivu1 #showcase h2 {
		font-size:2.25rem;
		margin: 0 0 1rem;
	}
	h1,
	h2,
	.content2 .contentlist h2 {
		font-size:1.5rem;
	}
	h3 {
		font-size:1.25rem;
	}
	
	
	/*top*/
	.site-header__bottom {
    	padding: 0.75rem 1rem !important;
	}
	.site-header__logo img {
		max-height:40px;
	}
	#mobile-buttons {
    	bottom: 12px;
    	right: 80px;
	}
	
	/*main-content*/
	#main-content > .editor {
		padding:2rem 1rem;
	}
	body:not(.sivu1) #main-content .editor+.content-section {
		padding-top:0;
	}
	.content-section {
    	padding:2rem 1rem;
	}
	body:not(.sivu1) #main-content .contentlist__item-col.contentlist__item-col_img img {
       	width: 100%;
    	height: 100%;
    	box-shadow: 0 0;
	}
	
	/*bottom*/
	#bottom .editor {
    	padding: 2rem 1rem;
	}
	/*footer*/
	.site-footer__logo {
		margin:0 0 2rem;
	}
	.site-footer__logo img {
		max-height:60px;
	}
	.col-6.registry,
	.col-6.copyright {
		flex: unset;
    	max-width: 100%;
    	text-align: left;
	}
	
	
	/*LOMAKE*/
	.basic-form {
		padding:0 0 1.5rem 0;
	}
	.form-control {
		border-radius: 15px;
    	padding: 0.75rem 1rem;
	}
	
	
	/*--VERHOT*/
	.logot ul li {
		width:49%;
		padding:0 0 1rem;
	}
	.logot ul li img {
		max-width: 100px;
	}

	
	/*--ETU*/
	.sivu1 #showcase {
    	height: 60vh;
	}
	.sivu1 #showcase .hero-slider__item .hero-slider__text-content {
    	padding: 0 0.5rem;
	}
	#showcase .hero-slider__text-content p {
		margin:0;
	}
	.boxlist-item__img-holder {
    	height: 175px;
	}
	.box2 .boxlist .boxlist__col {
    	padding: 0 0 0.5rem;
	}
	#main-after .hero-slider__item .hero-slider__text-content {
    	padding: 5rem 0 3.5rem 0;
	}
	.sivu1 #main-after .hero-slider__text-content_inner {
		padding:0 1rem;
	}
	.img2 img:first-child {
		display:none;
	}
	.img2 img:nth-child(2) {
		margin-top:0;
		margin-left:0;
		width:100% !important;
		height:100% !important;
	}
	.sivu1 #content-bottom .contentlist .contentlist__item-content {
		padding:1.5rem 0 0 !important;
	}
	.someWall {
    	padding: 2rem 1rem 0.5rem;
	}
	.someHeader {
		padding:0 1rem;
	}
	.someHeader h3 {
		float:none;
		margin:0 0 0.5rem;
	}
	.someHeader ul {
		float:none;
		padding:0;
	}
	.taeggie-feed-widget .post-container {
    	padding: 0 0 0.5rem !important;
	}
}	


