/**handles:generate-child**/
/*
 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
*/


* {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body * { box-sizing: border-box; }

/* Remove title, top padding & header image */
.entry-header { display: none; }
.entry-content { margin-top: 0; }
.page-header-image, .page-header-image-single { display: none; }

/* Mobile header & logo size */
.site-logo.mobile-header-logo,
.site-logo.mobile-header-logo img { height: 75px !important; }

/* Hamburger-menu size */
.menu-toggle:before { font-size: 18px; }


/* Menu */

.main-navigation ul.menu { margin-top: 60px; }
li.current_page_item a { font-weight: 600; }


/* Typography */
	
	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; }
	
	p { margin-bottom: 0.75em; }
	h4, h5, h6 { margin-bottom: 0.5em; }


/* KOHTEET */

.kohteet-feed {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
    -ms-flex-wrap:wrap;
	flex-wrap:wrap;
	
}

.kohteet-feed-item { 
	width: 32%;
	width: calc(33.33% - 15px);
	margin-bottom: 30px;
	background-color: #FFF;
	transition: all 0.3s;
}

.kohteet-feed-item:hover {
	box-shadow: 0 0 20px rgba(0,0,0,0.075);
}

.kohteet-feed-item img { display: block; margin: 0; }

.feed-item-content { padding: 25px;  }

.kohteet-feed-item h3 { margin-bottom: 5px; font-size: 23px; }
.kohteet-feed-item h6 { margin-bottom: 0px; font-size: 16px; color: #333; }
.kohteet-feed-item h6 span { margin: 0 5px; color: #004083; }


/* Facebook 

	.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: 32%;
		width: calc(33.33% - 15px);
		padding: 25px !important;
		background-color: #f9f9f9;
		border-bottom: none !important;
	}

	@media only screen and (max-width: 768px) {
		#cff .cff-item { width: 49% !important; 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; }
	}

*/


/* Responsive styling */

@media only screen and (max-width: 1000px) {

	/* Hide */
	.hide-1000 { display: none; }

}

@media only screen and (max-width: 768px) {

	.kohteet-feed-item { width: 48% !important; width: calc(50% - 15px) !important; }

}

@media only screen and (max-width: 600px) {

	/* Hide */
	.hide-600 { display: none; }

	.kohteet-feed-item { width: 100% !important; }
	
}

@media only screen and (max-width: 480px) {

	/* Hide */
	.hide-480 { display: none; }

}