/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


/* #### Generated By: http://www.cufonfonts.com #### */

@font-face {
    font-family: 'Gill Sans MT';
    src: url('./fonts/GillSansMT.eot');
    src: url('./fonts/GillSansMT.eot?#iefix') format('embedded-opentype'),
        url('./fonts/GillSansMT.woff2') format('woff2'),
        url('./fonts/./fonts/GillSansMT.woff') format('woff'),
        url('./fonts/GillSansMT.ttf') format('truetype'),
        url('./fonts/GillSansMT.svg#GillSansMT') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


    @font-face {
    font-family: 'Gill Sans MT Condensed';
    font-style: normal;
    font-weight: normal;
    src: local('./fonts/Gill Sans MT Condensed'), url('./fonts/Gill Sans MT Condensed.woff') format('woff');
    }
    

    @font-face {
    font-family: 'Gill Sans MT Medium Italic';
    font-style: normal;
    font-weight: normal;
    src: local('./fonts/Gill Sans MT Medium Italic'), url('./fonts/Gill Sans MT Medium Italic.woff') format('woff');
    }
    

    @font-face {
    font-family: 'Gill Sans MT Medium';
    font-style: normal;
    font-weight: normal;
    src: local('./fonts/Gill Sans MT Medium'), url('./fonts/Gill Sans MT Medium.woff') format('woff');
    }
    

    @font-face {
    font-family: 'Gill Sans MT Light Italic';
    font-style: normal;
    font-weight: normal;
    src: local('./fonts/Gill Sans MT Light Italic'), url('./fonts/Gill Sans MT Light Italic.woff') format('woff');
    }
    

    @font-face {
    font-family: 'Gill Sans MT Light';
    font-style: normal;
    font-weight: normal;
    src: local('./fonts/Gill Sans MT Light'), url('./fonts/Gill Sans MT Light.woff') format('woff');
    }
    

    @font-face {
    font-family: 'Gill Sans MT Book Italic';
    font-style: normal;
    font-weight: normal;
    src: local('./fonts/Gill Sans MT Book Italic'), url('./fonts/Gill Sans MT Book Italic.woff') format('woff');
    }
    

    @font-face {
    font-family: 'Gill Sans MT Book';
    font-style: normal;
    font-weight: normal;
    src: local('./fonts/Gill Sans MT Book'), url('./fonts/Gill Sans MT Book.woff') format('woff');
    }
    

    @font-face {
    font-family: 'Gill Sans MT Bold Condensed';
    font-style: normal;
    font-weight: normal;
    src: local('./fonts/Gill Sans MT Bold Condensed'), url('./fonts/Gill Sans MT Bold Condensed.woff') format('woff');
    }
    

    @font-face {
    font-family: 'Gill Sans MT Bold Extra Condensed';
    font-style: normal;
    font-weight: normal;
    src: local('./fonts/Gill Sans MT Bold Extra Condensed'), url('./fonts/Gill Sans MT Bold Extra Condensed.woff') format('woff');
    }
    

    @font-face {
    font-family: 'Gill Sans MT Bold Italic';
    font-style: normal;
    font-weight: normal;
    src: local('./fonts/Gill Sans MT Bold Italic'), url('./fonts/Gill Sans MT Bold Italic.woff') format('woff');
    }
    

    @font-face {
    font-family: 'Gill Sans MT Bold';
    font-style: normal;
    font-weight: normal;
    src: local('./fonts/Gill Sans MT Bold'), url('./fonts/Gill Sans MT Bold.woff') format('woff');
    }
    

    @font-face {
    font-family: 'Gill Sans MT Heavy Italic';
    font-style: normal;
    font-weight: normal;
    src: local('./fonts/Gill Sans MT Heavy Italic'), url('./fonts/Gill Sans MT Heavy Italic.woff') format('woff');
    }
    

    @font-face {
    font-family: 'Gill Sans MT Heavy';
    font-style: normal;
    font-weight: normal;
    src: local('./fonts/Gill Sans MT Heavy'), url('./fonts/Gill Sans MT Heavy.woff') format('woff');
    }
    

    @font-face {
    font-family: 'Gill Sans MT Extra Bold';
    font-style: normal;
    font-weight: normal;
    src: local('./fonts/Gill Sans MT Extra Bold'), url('./fonts/Gill Sans MT Extra Bold.woff') format('woff');
    }
    

    @font-face {
    font-family: 'Gill Sans MT Ultra Bold Condensed';
    font-style: normal;
    font-weight: normal;
    src: local('./fonts/Gill Sans MT Ultra Bold Condensed'), url('./fonts/Gill Sans MT Ultra Bold Condensed.woff') format('woff');
    }
    

    @font-face {
    font-family: 'Gill Sans MT Ultra Bold';
    font-style: normal;
    font-weight: normal;
    src: local('./fonts/Gill Sans MT Ultra Bold'), url('./fonts/Gill Sans MT Ultra Bold.woff') format('woff');
    }


    @font-face {
    font-family: 'Georgia Regular';
    font-style: normal;
    font-weight: normal;
    src: local('./fonts/Georgia Regular'), url('./fonts/georgia.woff') format('woff');
    }
    

    @font-face {
    font-family: 'Georgia Italic';
    font-style: normal;
    font-weight: normal;
    src: local('./fonts/Georgia Italic'), url('./fonts/georgiai.woff') format('woff');
    }
    

    @font-face {
    font-family: 'Georgia Bold';
    font-style: normal;
    font-weight: normal;
    src: local('./fonts/Georgia Bold'), url('./fonts/georgiab.woff') format('woff');
    }
    

    @font-face {
    font-family: 'Georgia Bold Italic';
    font-style: normal;
    font-weight: normal;
    src: local('./fonts/Georgia Bold Italic'), url('./fonts/georgiaz.woff') format('woff');
    }

body{
	   font-family: 'Gill Sans MT Book';
}



.gutentor-button-wrap a.gutentor-button { 
    font-family: 'Georgia Regular';
/* 	color:#404040 !important; */
/* 	background:#fff; */
	border-radius:0 !important;
	position:relative;
}

.gutentor-button-wrap a.gutentor-button:after {
    position: absolute;
    content: "";
    height: 135%;
    width: 107%;
    border: 2px solid #046A38;
    /* left: 0; */
    /* right: 0; */
}

.home_banner_section .gutentor-button-wrap a.gutentor-button:after {
    border-color:#fff;
    left: -9px;
    right: 0;
}


h1,h2,h3,h4,h5,h6{
	font-family: 'Gill Sans MT Bold';
}
.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a, .main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a, .main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"]) > a, .main-navigation .menu-bar-item:hover > a, .main-navigation .menu-bar-item.sfHover > a{
	color:#046a38;
}

a:hover,a:focus, a:active {
    color: #046a38;
}

/*  Header section */

header .main-navigation .main-nav ul li a {
    padding: 0 14px;
    border-bottom: 2px solid transparent;
	font-family:'Gill Sans MT Medium';
	font-size:20px;
}
header .main-navigation .main-nav ul li.current-menu-item a{
	border-color:#046a38;
	color:#404040;
}

header .main-navigation .main-nav ul li a:hover{
	border-color:#046a38 !important;
	color:#404040 !important;
}
.navigation-search input[type="search"] {
    color: #046a38 !important;
}

.main-navigation .menu-bar-items .search-item.active > a{
	color:#046a38 !important;
}

/* ================ Banner section ====================  */

.home_banner_section .wp-block-group__inner-container {
    max-width: 100%;
}

.home_banner_section  .wp-block-group__inner-container .grid-container {
    margin-left: 10%;
}

.home_banner_section h1 {
    font-size: 60px;
	 font-family: 'Gill Sans MT Bold';
    font-weight: bold;
}

.welcome_row .grid-row {
    display: flex;
    flex-wrap: wrap;
	    margin: 0 12%;
}

.welcome_row p.gutentor-text {
    font-size: 20px;
}

.box_row .grid-row {
    display: flex;
	   flex-wrap: wrap;
}

.box_row .grid-row div.gutentor-single-column {
    padding: 0 20px !important;
}
.box_row .grid-row div.gutentor-single-column div.gutentor-col-wrap {
    padding: 60px 0 40px;
}
.box_row h4 {
    text-transform: uppercase;
}

.wp-block-group.home_bottom_section {
    background: url(/wp-content/uploads/2021/12/Raatikainen_kuva_pelto.jpg);
    background-repeat: no-repeat;
    background-position: top center;
	background-size:cover;
	padding: 70px;
}

.home_bottom_section h3.gutentor-text {
	    font-family: 'Gill Sans MT medium';
}

a.gutentor-button.gutentor-block-button.caps_upper.gutentor-icon-hide {
    text-transform: uppercase;
}

.footer-widget-3 aside#block-12 {
    margin-bottom: 0;
}

.footer-widget-3 ul li {
    list-style: disc;
    margin-left: 26px;
    font-size: 17px;
    margin-top: 10px;
}

.home_bottom_section .gutentor-button-wrap a.gutentor-button:after {
    width: 103%;
}

.home_wel_btn .gutentor-button-wrap a.gutentor-button:after {
    border-color: #fff;
}

.site-footer {
    font-family: 'Gill Sans MT medium';
    padding: 50px 0 20px;
}

/* INNER PAGE BANNER SECTION  */

.featured-image.page-header-image.grid-container.grid-parent {
    display: none;
}

.feature_banner_bg {
    height: 300px;
    max-width: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: 100% 23%;
    background-size: cover;
    background-repeat: no-repeat;
	color:#fff;
	position:relative;
}
.feature_banner_bg:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 50%);
    top: 0;
}
.feature_banner_bg h1 {
    position: relative;
    z-index: 44;
	text-align: center;
}

 .fot_up_section {
    background: url(/wp-content/uploads/2021/12/Raatikainen_otsikkokuva_lato.jpg);
    background-size: cover;
    padding: 70px 0;
    background-repeat: no-repeat;
    background-position: bottom center;
	 position:relative;
	 color: #fff;
}
.fot_up_section:before {
    content: "";
    height: 100%;
    width: 100%;
    background: rgb(0 0 0 / 80%);
    position: absolute;
    top: 0;
}

.details_section .grid-container {
    max-width: 800px;
}

/* Blog single ===============================  */
.single-post .feature_banner_bg {
    background-position: center;
	height: 400px;
}

.single-post .featured-image.page-header-image-single.grid-container.grid-parent, .single-post h1.entry-title {
    display: none;
}

.blog_main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
	padding:40px 0 10px;
}

.content_post {
    flex-basis: 29%;
    margin: 0 20px 30px;
    box-shadow: 0px 0px 5px -2px rgb(0 0 0 / 20%);
}
.image_post img {
    object-position: center;
    height: 250px;
    width: auto;
    object-fit: cover;
}
.text_content {
    padding: 18px;
    font-size: 15px;
}
.text_content h3 {
    color: #404040;
    font-size: 20px;
    min-height: 50px;
    display: flex;
    align-items: center;
    width: 100%;
}
.content_post a {
    text-decoration: none;
    display: block;
} 
.more_read {
    position: relative;
    text-align: center;
}
.more_read:before {
    content: "";
    height: 100%;
    width: 100%;
    border: solid 2px #046a38;
	position: absolute;
	max-width: 275px;
}
.more_read a.gutentor-button {
   
    padding: 12px 25px 12px 25px;
    border: 2px solid #046a38;
    color: #404040;
    font-family: 'Georgia Regular';
    border-radius: 0 !important;
    position: relative;
    margin: 10px;
    display: inline-block;
    max-width: 255px;
    width: 100%;
} 
.more_read a.gutentor-button:hover {
    color: #fff;
    background-color: #046a38;
}

.entry-meta span.cat-links {
    display: none;
}

nav#nav-below {
    display: flex;
    justify-content: space-between;
	padding-top: 30px;
}
#nav-below a {
    color: #404040;
    font-size: 17px;
}

#comments input#submit {
    background: transparent;
    color: #404040;
    border: solid #046a38 2px;
}

.wide_fixed {
    margin: 26px 0px !important;
}
.wide_fixed .wp-block-media-text__content {
    padding-right: 16%;
}


/*  Contact page  ======================== */

form  .form_sub{
    display: block;
    width: 100%;
    max-width: 400px;
	overflow:hidden;
}
form  .form_sub span.wpcf7-form-control-wrap {
    display: inline-block;
    margin-bottom: 10px;
    width: 100%;
}

form  .form_sub textarea {
    height: 120px;
  /*  max-width: 388px; */
} 

form  .form_sub input.wpcf7-form-control.wpcf7-submit {
    width: 30%;
    background: transparent;
    border: solid;
    padding: 8px 30px;
    height: 47.5px;
	transition: 1s all;
}
form  .form_sub input.wpcf7-form-control.wpcf7-submit:hover {
    background: #fff;
    color: #046a38;
    border-color: #046a38;
}
  .wpcf7-response-output {
    color: #fff;
}


.rotate_img i.fas.fa-phone {
    transform: rotateY(180deg);
}

.address_info_col .gutentor-single-column {
    align-self: center;
}

/* Search page  */

.search-results .inside-article {
    display: flex;
    padding: 20px 0 12px;
    flex-wrap: wrap;
}


.search-results header.entry-header {
    max-width: 100%;
    flex-basis: 100%;
}

.search-results .post-image {
    flex-basis: 30%;
     margin-right: 30px;
}

.search-results .entry-summary {
    flex-basis: 67%;
   
}

.search-results footer.entry-meta {
    display: none;
}




/* ===================  Responsive  Media Query   ================================================ */

@media only screen and (max-width:600px){
	
	.site-logo {
		max-width: 50%;
	}
	.home_banner_section h1 {
    font-size: 30px;
}
	
	.wp-block-group.home_bottom_section {
    padding: 20px;
}
	.box_row .grid-row div.gutentor-single-column {
    padding: 15px 20px !important;
}
	.gutentor-button-wrap a.gutentor-button:after {
    left: -10px; 
}
.home_wel_btn .gutentor-button-wrap a.gutentor-button:after {
    width: 132px;
}
	.home_bottom_section .gutentor-button-wrap a.gutentor-button:after {
    width: 190px;
}
	.home_banner_section .gutentor-button-wrap a.gutentor-button:after{
		width: 107%;
	}
	#section-g36fdae .gutentor-button-wrap a.gutentor-button:after {
    width: 115px;
}
	.gutentor-button-wrap a.gutentor-button:after {
    width: 112%;
}
	div#section-g51cd6b a.gutentor-button.gutentor-block-button:after {
    width: 121%;
}
	
	.blog_main {
    flex-direction: column;
}
	.content_post {
    margin-bottom: 30px;
}
	.more_read a.gutentor-button {
		width: 91%;
	}
.address_info_col .gutentor-single-column {
    align-self: self-start;
}
	
/*  BLog  single page =========================	 */
	
	.wide_fixed {
    margin: auto !important;
    max-width: 100% !important;
}
	.wide_fixed .wp-block-media-text__content {
    padding: 25px 0 0;
}
	.single-post .feature_banner_bg {
		height: 300px;
	}
	
/* Search page 	 */
	.feature_banner_bg h1 {
    font-size: 30px;
}
.search-results h2.entry-title {
    font-size: 24px;
}
.search-results header.page-header {
    padding: 10px 0;
}

.search-results  h1.page-title {
    font-size: 28px;
}

.search-results .post-image {
    flex-basis: 100%;
    margin: 15px 0 0;
}

.search-results .entry-summary {
    flex-basis: 100%;
}


.search-results a.read-more {
    display: block;
    margin: 10px 0 0;
}
	
}


@media only screen and (min-width:268px)and (max-width:980px){
	.gutentor-button-wrap a.gutentor-button:after {
    left: -10px;
    width: 112%;
}
	.home_banner_section .gutentor-button-wrap a.gutentor-button:after {
    width: 107%;
}
	.home_wel_btn .gutentor-button-wrap a.gutentor-button:after {
    width: 117%;
}
	a.gutentor-button.gutentor-block-button.single_cls_btn:after {
    width: 121% !important;
}
	.home_bottom_section .gutentor-button-wrap a.gutentor-button:after {
    width: 112%;
}
	.content_post {
    flex-basis: 47%;
    margin: 0 0 30px;
}
	
}