/*
 Theme Name:   GeneratePress Child
 Theme URI:    http://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Thomas Usborne
 Author URI:   http://edge22.com
 Template:     generatepress
 Version:      0.1
 Tags: two-columns, three-columns, one-column, right-sidebar, left-sidebar, fluid-layout, responsive-layout, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, featured-images, theme-options, light, white, dark, black, blue, brown, gray, green, orange, pink, purple, red, silver, tan, yellow
*/

/* – G E N E R A L – – – – – – – – */

	* {
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}

	body * { box-sizing: border-box; }



/* – T Y P O G R A P H Y – – – – – – – – */
	

	hr, .elementor hr { height: 2px !important; margin: 30px 0 !important; background-color: rgba(0,0,0,0.1) !important; }

	ol, ul  { line-height:1.2em; margin: 0 0 1.5em 1.5em; }
	
	.entry-content li,
	.elementor-text-editor li  { margin-bottom: 0.5em; }

	.elementor-widget-container p:last-child,
	.elementor-text-editor p:last-child { margin-bottom: 0; }

	.kosmetiikka-tiedot h4 {
		font-size: 1.4em;
		font-weight: 400;
		margin-bottom: 10px;
		color: #167316;
	}


/* – M O D I F I C A T I O N S – – – – – – – – */



/* RSS */

	.rss h5 { display: none; }

	.rss ul { margin: 0px; list-style:none; }

	.rss ul li { 
		font-size: 1.1em;
		line-height: 1.2em;
		list-style: none;
		padding: 10px 0;
		margin: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	}

	.rss ul li:last-child { border-bottom: none;}

	.rss ul li a { color: #FFF; font-weight: 500; }
	.rss ul li a:hover { text-decoration: underline; }

	.rss span.rss-date { font-size: 13px; font-weight: 500; color: #34B233; display: block; }
	.rss span.rss-date:before { 
		
		content: " – ";
	}

/* ILMOITUKSET */

.ilmoitukset {
}
.ilmoitus {
	background: #fff;
	padding: 16px;
}
.ilmoitus:nth-child(n+2) {
	border-top: 2px solid #34b233;
}
.ilmoitukset .ilmoitus > h3 {
	font-size: 20px;
	color: #34b233;
	margin: 0 0 4px;
}
.ilmoitus-sisalto p {
	margin: 0 0 4px;
}

/* TARJOUS SLIDER */

	.tarjoustuote-slide {
		background-color: #FFF;
		padding: 20px;
		text-align: center;
		transition: all 0.5s;
	}

	.tarjoustuote-slide:hover { box-shadow: 0 0 15px rgba(0,0,0,0.1); }

	.tarjoustuote-slide .tuotekuva { display: block; margin: 0; padding: 0 30px; margin-bottom: 0px; }


/* Tarjoukset */

	.tarjoukset {
			display: -webkit-box;
			display: -ms-flexbox;
		display: flex;
			-webkit-box-pack: justify;
			-ms-flex-pack: justify;
		justify-content: space-between;
			-webkit-box-align: start;
	    	-ms-flex-align: start;
	    align-items: flex-start;
			-ms-flex-wrap:wrap;
		flex-wrap:wrap;
			-webkit-box-align: stretch;
	    	-ms-flex-align: stretch;
	        -ms-grid-row-align: stretch;
	    align-items: stretch;
	}

	.tarjoustuote {
		width: calc(25% - 20px);
		margin-bottom: 26px;
		background-color: #FFF;
		padding: 20px;
		text-align: center;
		transition: all 0.5s;
	}

	.tarjoustuote:hover { box-shadow: 0 0 15px rgba(0,0,0,0.1); }

	.tuotekuva { display: block; margin: 0; padding: 0; margin-bottom: 0px; }

	.tarjoustuote h4 {
		font-size: 21px !important;
		margin-top: 5px;
    	margin-bottom: 10px;
    	line-height: 1.1em;
    	font-weight: 400;
		color: #0C3D0C;
    }

	.tarjoushinta {
		font-size: 40px !important;
		font-weight: 600 !important;
		color: #167316;
		margin-bottom: 10px !important;
		line-height: 1em !important;
	}

	.ovh p {
    	font-size: 13px !important;
		font-weight: 400 !important;
    	color: #333;
		line-height: 1.5em !important;
    	margin-top: 5px;
    	margin-bottom: 0 !important;
    }

	/* Lehti */

	.lehdet {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: justify;
		    -ms-flex-pack: justify;
		        justify-content: space-between;
		-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	    -ms-flex-wrap:wrap;
		flex-wrap:wrap;
	}

	.lehti-kortti { 
		width: calc(33% - 10px);
		background-color: #FFF;
		padding: 15px !important;
		border-radius: 1px;
	}

	.lehti-kortti > h4 { margin: 0 0 5px 0; font-size: 18px !important; }

	a.lehti-numero-linkki { color: #409F1D !important; }

	.lehti-kortti > a {
    font-size: 12px;
    font-weight: 700;
    margin: 0 2px 16px;
}

	a.jaa-linkki {
    background: #3B5998 none repeat scroll 0 0;
    border-radius: 3px;
    color: #fff !important;
    padding: 2px 8px;
    -webkit-transition: .2s ease-out all;
    transition: .2s ease-out all;
    white-space: nowrap;
}

	/* Facebook */

	#cff .cff-media-above {
		margin-bottom: 7px;
		max-height: 400px;
		overflow: hidden;
	}

	#cff .cff-item { 
		background-color: #FFF;
		padding: 20px !important;
		border-radius: 3px;
		border-bottom: none !important;
	}

	#cff p.cff-post-text { 
		font-size: 15px !important;
		line-height: 1.5em !important;
	}

	#cff p.cff-date {
		margin-bottom: 3px !important;
		font-size: 12px !important;
		font-weight: 500 !important;
		color: #6DAC3B !important;
	}
	
	.cff-posts-wrap {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: justify;
		    -ms-flex-pack: justify;
		        justify-content: space-between;
		-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	    -ms-flex-wrap:wrap;
		flex-wrap:wrap;
	}

	#cff .cff-item { 
		width: calc(33.33% - 15px) !important;
		border-bottom: none !important;
		padding: 0px;
		background-color: #FFF;
		margin-bottom: 30px;
	}
    
	@media only screen and (max-width: 768px) {
		#cff .cff-item { width: calc(50% - 15px) !important; margin-bottom: 20px; }
		#cff .cff-item:last-child { display: none; }
	}

	@media only screen and (max-width: 600px) {
		#cff .cff-item { width: 100% !important; }
	}

	/* BM&M Link */
	a.bmm:link { font-family: 'Georgia'; color: #CCC; font-weight: bold; text-decoration: none; }
	a.bmm:visited { color: #CCC; text-decoration: none; }
	a.bmm:hover,
	a.bmm:active { color: #FFF; text-decoration: none; }


/* – R E S P O N S I V E  S T Y L I N G – – – – – – – – – – – – – – – – – – – – – */


	/* – S M A L L  D E S K T O P – – – – – – – – – – – – – – */

	@media only screen and (max-width: 1000px) {
		
		.tarjoustuote {
			width: calc(33% - 10px);
			margin-bottom: 20px;
			padding: 20px;
		}

	}

	/* – T A B L E T – – – – – – – – – – – – – – – – – – – – – */

	@media only screen and (max-width: 768px) {
		
		.tarjoustuote {
			width: calc(50% - 10px);
			margin-bottom: 20px;
			padding: 15px;
		}

	}


	/* – M O B I L E / 600 – – – – – – – – – – – – – – – – – – */

	@media only screen and (max-width: 600px) {
		
		.tarjoustuote {
			width: 100%;
			margin-bottom: 20px;
			padding: 15px;
		}
		
		.lehti-kortti { width: 100%; }

	}


	/* – M O B I L E / 480 – – – – – – – – – – – – – – – – – – */

	@media only screen and (max-width: 480px) {

	}
