/*
Theme Name: Kulttuuritie
Theme URI: https://www.lansi-kymenkulttuuritie.fi/
Template: hello-elementor
Author: Laura Jalonen
Author URI: https://funnypurple.fi/
Description: Länsi-Kymen Kulttuuritie teema
Version: 2.2.1.1570285727
Updated: 2019-10-05 17:28:47

*/

hr {
	clear: both !important;
	border: none !important;
}

h1, h2, h3, h4 {
	clear: both;
	margin-top: 2rem;
	margin-bottom: 1rem;
}

/* KIELIVALIKKO */

.ruotsi a::before {
	background: url('/kulttuuritie/wp-content/uploads/swe.png');
	height:12px;
	width: 19px;
	display: inline-block;
	content:'';
	margin-right: 5px;
}

.englanti a::before {
	background: url('/kulttuuritie/wp-content/uploads/uk.png');
	height:12px;
	width: 19px;
	display: inline-block;
	content:'';
	margin-right: 5px;
}

.venaja a::before {
	background: url('/kulttuuritie/wp-content/uploads/rus.png');
	height:12px;
	width: 19px;
	display: inline-block;
	content:'';
	margin-right: 5px;
}

/* --- */

.elementor-text-editor a, .elementor-text-editor a:visited, .entry-content p a, .elementor-widget-container p a,.entry-content p a:visited, .elementor-widget-container p a:visited {
	background-image: linear-gradient(to top,#f9b93d,#f9b93d);
    background-size: 100% 3px;
    background-position: left bottom;
    background-repeat: no-repeat;
    transition: .3s all;
    text-decoration: none;
    overflow: visible;
	padding-left: 3px;
	padding-right: 3px;
	color: #000;
	font-weight:600;
}

.elementor-text-editor a:hover, .entry-content p a:hover, .elementor-widget-container p a:hover {
background-size: 100% 2.8rem;
}


.kohteet-listaus h3 a:hover {
	background:#f9b93d;
}

b, strong {
    font-weight: 600;
}

body {
	font-size: 18px;
}


h1, h2, h3, h4 {
	font-family: "Roboto Slab", Sans-serif;
    font-weight: 600;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-hyphens: none;
  -moz-hyphens: none;
  -webkit-hyphens: none;
  hyphens: none;
	letter-spacing: 0.8px;
}

gallery {
	display: flex;
	flex-flow: wrap;
}


@media (max-width: 1024px) {
	h1 {
		font-size: 2.1rem;
	}
	h2 {
		font-size: 1.8rem;
	}
	h3 {
		font-size: 1.5rem;
	}
}

@media (max-width: 768px) {
	h1 {
		font-size: 1.8rem;
	}
	h2 {
		font-size: 1.5rem;
	}
	h3 {
		font-size: 1.2rem;
	}
}

	
.archive .sivu-otsikko, .single .arkisto-otsikko, .page .arkisto-otsikko, .home .otsikko-palkki, .blog .sivu-otsikko {
		display: none;
	}

.elementor-button {
	font-family: "Slabo 13px", Sans-serif;
    font-size: 15px;
	color: #fff;
    text-transform: uppercase;
    line-height: 0.9em;
    letter-spacing: 1.2px;
    border-radius: 22px 22px 22px 22px;
    padding: 20px 21px 18px 16px;
	font-weight: 600;
    background-color: #b71a2f;
}

.elementor-button:hover {
    background-color: #7a7a7a;
}

.wp-block-image, .elementor-widget-theme-post-content .wp-caption {
	margin-top: 10px !important;
	margin-bottom: 40px !important;
	/*margin-right: 20px !important;*/
	margin-right: 1% !important;
	/*width: 47% !important;*/
	box-sizing: border-box;
}

.elementor-post-navigation__prev {
	margin-right: 20px;
}

.elementor-post-navigation__next {
	margin-left: 20px;
}

figure {
margin: 0;
}

@media (min-width: 680px) {
	.kohde-teksti img {
		/*max-width: 49% !important;*/
		float: left !important;
		margin-right: 1% !important;
	
	}
	
	.gallery {
		display: flex;
		flex-flow: wrap;
	}
	
	.gallery figure {
		width: 23%;
		float: left;
		margin: 1% !important;
		box-sizing: border-box;
	}
}
/* KARTTA */

.fc-badge {
    border-radius: 15px !important;
	color: #fff !important;
	background:#a8a8a8 !important;
}

.joo-reunat {
	padding: 5px !important;
}

.fc-nappula {
	text-align:center !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.categories_filter_reset {
	margin-top: 2px;
}

.categories_filter_reset_btn {
	background: #777 !important;
}

.categories_filter input[type="button"] {
	border-radius: 0 !important;
	border: hidden !important;
}

.fc-item-default.fc-wait .wpgmp_locations {
	background: #F1F1F1 !important;
}

/* LISTAUS */

.kohteetkartta .location_listing1, .kohteetkartta .location_pagination1  {
	display:none;
}

.isokartta .place_title {
	font-weight: 500 !important;
	font-family: 'Muli', sans-serif !important;
	Color: #222 !important;
	font-size: 1rem !important;
}

.isokartta .fc-item-title {
	line-height: 0.7em !important;
	text-transform: none !Important;
}

.isokartta .wpgmp_listing_grid .fc-itemcontent-padding {
	padding: 10px !important;
}
.isokartta .wpgmp_listing_list .fc-itemcontent-padding {
	padding: 0 0 0 7px !important;
}

.isokartta .wpgmp_listing_list .fc-item-box {
	margin: 5px 1% 5px 0 !important;
	padding: 7px !important;
}
.isokartta .fc-location-marker:before {
	background-size: contain !important;
    width: 10px !important;
    height: 15px !important;
	top: 5px !important;
}

.isokartta .fc-location-marker {
	font-size: 0.9rem !important;
	margin: 0 !important;
}

.isokartta .fc-item-kairav.fc-wait .fc-item-meta {
	padding: 0 5px !Important;
	font-size: 0.9rem !important;
}

.isokartta .location_pagination1 .next, .isokartta .location_pagination1 .prev {
	display: none !important;
}


/* Jaetaan kahdelle palstalle */

@media (min-width: 1080px) {
.isokartta .wpgmp_map_parent {
	width: 48% !important;
	margin-right: 2% !important;
}

.isokartta .wpgmp_filter_wrappers, .isokartta .location_listing1 {
	margin-left: 2% !important;
	width: 48% !important;
}

.isokartta .location_pagination1 {
	float: right !important;
	width: 35% !important;
}
	
	/*.isokartta .wpgmp_listing_container .fc-item-box {
		width: 48.5% !important;
	}	*/
}


/* VAAKAVALIKOT */

.vaakavalikko .current-menu-item::after, .vaakavalikko-alt .current-menu-item::after {
content: "";
position: absolute;
bottom: -10px;
left: 48%;
border-width: 10px 10px 0;
border-style: solid;
border-color: #b71a2f transparent;
display: block;
width: 0;
}

@media (max-width: 1024px) {
	.vaakavalikko-section {
		background: #b71a2f;
	}
	.vaakavalikko .current-menu-item::after {
		display:none;
	}
	
	.vaakavalikko .elementor-menu-toggle::before {
		display: inline;
		content:"VALITSE ALUE ";
			color: #fff;
		margin-right: 10px;
		font-size: 15px;
		letter-spacing: 1px;
	}
	
}


/* SIVUPALKIT */

.sivupalkki h5 {
	display: none;
}

.sivupalkki ul {
	list-style-type:none;
	margin-left: 8px;
	padding-left: 0;
}

.sivupalkki ul li {
	margin-bottom: 5px;
}

.sivupalkki ul li a {
	color: #000 !important;
	text-transform: uppercase;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.5;
}


/* FOOTER */

.footervalikko ul {
    padding:0;
    line-height:1.6rem;
}
.footervalikko h5{
display:none;
}
.footervalikko a {
    color:#fff;
    font-size: 14px;
}
.footervalikko a:hover {
    color:#febc42;
}

@media (max-width: 768px) {
	.footervalikko ul {
		text-align: center;
	}
}

/* BACK TO TOP */


.button-top {
  position: fixed !important;
  bottom: 0px;
  right: 20px;
  z-index: 100;
  width: 40px !important;
  height: 38px;
  border: 0;
  border-radius: 0px;
  box-shadow: none;
  text-align: right;
  cursor: pointer;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease;
}

.button-top-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 768px) {
	.button-top {
		right: 20px;
	}
}

::-webkit-scrollbar {
    width: 16px;
}
::-webkit-scrollbar-track {
    background-color: #fff;
}
::-webkit-scrollbar-thumb {
    background-color: #555;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
}
::-webkit-scrollbar-thumb:window-inactive {
    background-color: #555;
    opacity: 0.7;
}
.funnypurple {
    margin-left: 10px;
    vertical-align: middle;
}
