/*
Theme Name: Custom
Theme URI: https://jaloin.fi
Template: kadence
Author: Laura Jalonen
Author URI: https://jaloin.fi
Description: A custom tailored child theme (Kadence)
Tags: accessibility-ready,translation-ready,two-columns,right-sidebar,left-sidebar,footer-widgets,blog,custom-logo,custom-background,custom-menu,rtl-language-support,editor-style,threaded-comments,custom-colors,featured-images,wide-blocks,full-width-template,theme-options,e-commerce
Version: 1.2.15.1604564291
Updated: 2020-11-05 08:18:11


/* --------------------------------
TABLE OF CONTENTS 
01 Global styles and typography
02 Header and navigation
03 Hero section
04 Gutenberg ja blocks
05 Widget areas
06 Posts
07 Misc
---------------------------------*/

/* 01 Global styles and typography */

body {
    word-break: break-all;
    word-break: break-word;
    -ms-word-break: break-all;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    -o-hyphens: auto;
    hyphens: auto;
}

.kadence-breadcrumbs a {
    text-decoration: none !important;
}

p a:not(footer a) {
	text-decoration:underline !important;
}

h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong {
    font-weight: normal;
}

.wp-block-kadence-postgrid .entry-title a:hover, .wp-block-kadence-postgrid .entry-title a:focus, .wp-block-kadence-postgrid .entry-title a:active {
    color: var(--global-palette-highlight-alt);
}

/* 02 Header and navigation */


/* Piilota dropmenu-ikoni */


.dropdown-nav-toggle {
	display:none !important;
}

@media (min-width: 1025px) {
.nav-drop-title-wrap {
	padding-right:unset;
}

.header-menu-container {
		margin-right: -23px;
	}
}


.header-menu-container a, .menu-item-has-children, .header-navigation ul li a:not([href]) {
    cursor: pointer;
}

#site-navigation .sub-menu {
    margin-top: -2px;
    border-top: solid 2px var(--global-palette6);
}

.site-mobile-header-wrap .site-container, .site-top-header-wrap .site-container {
	padding-left: 10px;
	padding-right: 10px;

}

/* Varaa-painike */

.mainmenu-varaa a {
	background:var(--global-palette1);
	padding-top: 2px !important;
	padding-bottom: 2px !important;
	height: auto !important;
	color: #fff !important;
	font-weight: 400 !Important;
	text-transform:uppercase;
	font-size: 15px !important;
	letter-spacing: 1px;
	margin-left: 10px;
}

.mainmenu-varaa a:hover::after {
	display: none !important;
}

.mainmenu-varaa a:hover {
	background:var(--global-palette6);
}

@media (max-width: 1024px) {
	.mainmenu-varaa a {
		margin-left: unset;
		margin-top: 20px;
	}
}
	
/* Puhelinikonit */

.phone {
	width: 18px;
}


.header-tel {
	text-decoration:none !important;
	font-weight: 700;
	color: var(--global-palette3);
	line-height: 1em;
}

.header-tel::before {
	display:inline-block;
	background-image: url('/wp-content/themes/custom/img/phone.svg');
	background-repeat:no-repeat;
	background-size:contain;
	height: 15px;
	width: 18px;
	margin-right: 3px;
	margin-bottom: -2px;
	content:'';
}


.site-top-header-wrap {
	z-index:4 !important;
}


/*
@media (min-width: 1101px) {
	
.site-main-header-wrap::before {
	display:block;
	content:'';
	background-image:url('/wp-content/uploads/gfx-sointu-radalla-valk.png');
	width: 300px;
	height: 300px;
	background-size:contain;
	background-repeat:no-repeat;
	position: absolute;
	top:-60px;
	left:-40px;
	z-index:-1;
}
} */


@media (max-width: 767px) {
	.site-main-header-wrap::before {
display:none;
	}
}

.item-is-fixed::before {
	display:none !important;
}

.site-branding {
	margin-top: -20px;
}

.item-is-fixed .site-branding {
	margin-top: 2px;
}

/* 03 Hero section */

.otsikkoalue {
	display:block;
	width: 100vw;
	
}


.site .page-title h1 {
	font-style: normal;
    color: var(--global-palette9);
	width: 100vw;
    background: rgba(22,56,30,0.9);
    padding: 40px;
}


/* 04 ELEMENTOR CONTENT TWEAKS */


/* Lightbox */

.elementor-slideshow__title {
	display:none !important;
}

/* Boxit */

.home-box .elementor-cta__description, .home-box .elementor-cta__title {
    background: rgba(255,255,255,0.9);
}

.home-box .elementor-cta__title {
    margin-bottom: 0 !important;
    padding: 40px 40px 10px;
}

.home-box .elementor-cta__description {
    padding:5px 40px 50px;
}

.home-box .elementor-cta__button-wrapper {
    margin-top: -35px;
}

.home-box .elementor-cta__content {
    height: calc(100vw / 3);
}

@media (max-width: 767px) {
	.home-box .elementor-cta__content {
    height: auto !important;
}

.home-box .elementor-cta__title {
    margin-bottom: 0 !important;
    padding: 30px 20px 10px;
}

.home-box .elementor-cta__description {
    padding:5px 20px 50px;
}
}

.sub-box .elementor-flip-box__layer__title {
    background:rgba(255,255,255,0.9);
    margin-bottom: 0 !important;
    padding: 10px !important;
}

.sub-box .elementor-flip-box__layer__description {
    background:rgba(255,255,255,0.9);
    margin-bottom: 0 !important;
    padding:5px 10px;
}

.sub-box  .elementor-flip-box__back .elementor-flip-box__layer__description {
      padding:5px 10px 30px;
      margin-bottom: -10px !important;
}

.sub-box  .elementor-flip-box__button {
        margin-top: -35px !important;
}

/* 05 Widget areas */

.col-md-4 .widget {
    padding: 20px;
}
.col-md-4 {
    margin-top: 40px;
}
.primary-sidebar > div, .primary-sidebar section {
    margin-bottom: 30px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
    padding: 20px;
}
.primary-sidebar .widget ul, .primary-sidebar div ul {
    padding-left: 0 !important;
    list-style: none;
    margin: 0;
}


/* FOOTER */

.site-footer-bottom-section-1 {
	padding-bottom: 5px !important;
}

.site-footer-middle-section-2, .site-footer-middle-section-3 {
	padding-left: 20%;
}

@media (max-width: 719px) {
	.site-footer-middle-section-2, .site-footer-middle-section-3 {
	padding-left: unset;
}
}

.footer-html {
	margin: 0;
}

.footer-widget-area img {
    max-width: 180px !important;
}

.widget_nav_menu a {
	text-transform: uppercase;
}

footer .widget-title {
	letter-spacing: 0 !important;
}

.footer-social-inner-wrap {
	margin-left: -20px;
}

/* Tervetuloa pyorailija -ikoni */


.cyclist-desktop {
	margin-top: 10px;
	margin-bottom: 20px;
}

.cyclist-mobile {
	display:none;
}

@media (max-width: 1024px) {
	.cyclist-desktop {
		display:none;
	}
	
	.cyclist-mobile {
		display:block;
	}
}

@media (max-width: 719px) {
	.cyclist {
		margin-top: 0 !important;
		margin-bottom: 20px !important;
	}
	
}

/* Footer ikonit */

.footer-tel::before {
	display:inline-block;
	background-image: url('/wp-content/themes/custom/img/phone-w.svg');
	background-repeat:no-repeat;
	background-size:contain;
	height: 15px;
	width: 18px;
	margin-right: 3px;
	margin-bottom: -2px;
	content:'';
}


.footer-address::before {
	display:inline-block;
	background-image: url('/wp-content/themes/custom/img/map-marker-alt-w.svg');
	background-repeat:no-repeat;
	background-size:contain;
	height: 15px;
	width: 18px;
	margin-right: 3px;
	margin-bottom: -2px;
	content:'';
}

.footer-email::before {
	display:inline-block;
	background-image: url('/wp-content/themes/custom/img/envelope-w.svg');
	background-repeat:no-repeat;
	background-size:contain;
	height: 15px;
	width: 18px;
	margin-right: 3px;
	margin-bottom: -2px;
	content:'';
}

/* 06 Posts */

.entry {
    box-shadow: none !important;
    border-radius: 0 !Important;
}
	
.entry-meta {
    margin-top: 0;
}
.entry-meta-divider-customicon.entry-meta>*>.kadence-svg-iconset {
    margin-left: 0;
}
.entry-taxonomies {
    margin-top: 1em;
}

.posted-by {
    margin-right: 0.3em;
}

.entry-related-carousel .content-bg {
	background: transparent !important;
}

.entry-related .tns-controls {
	display:none !Important;
}

.wp-block-kadence-postgrid .entry-title a:hover, .wp-block-kadence-postgrid .entry-title a:focus, .wp-block-kadence-postgrid .entry-title a:active {
    color: var(--global-palette-highlight-alt);
}


.pagination .nav-links {
		text-align: center;
}

.pagination .page-numbers {
border: 1px solid var(--global-palette4);	
border-radius: 0 !important;
}

.pagination .page-numbers:hover {
	border-color: var(--global-palette1);
    background: transparent;
    color: var(--global-palette1);
}

.pagination .current {
	border-color: var(--global-palette4);
    background: var(--global-palette7);
    color: var(--global-palette4);
}



/* 07 Misc */

.error404 #secondary {
    display: none !important;
}
.error404 .content-container {
    display: block !important;
}


