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


  @import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Teko:wght@500&display=swap');

  body{
    background-color: #fff;
    overflow-x: hidden;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    letter-spacing: 1.5px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Teko', sans-serif;
    font-weight: 500;
}
a{
    text-decoration: none;
}
header .inside-header{
    padding: 20px 20px !important;
}
.main-navigation .main-nav ul li {
    position: relative;
    margin-left: 15px;
    margin-right: 15px;
}
.main-navigation .main-nav ul li a{
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-transform: uppercase;
    font-family: 'Teko', sans-serif;
    font-weight: 500;
}

.main-navigation .main-nav ul li.current-menu-item a::after{
    content:" ";
    display: block;
    height: 2px;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 15px;
    background:#37592C;
}


.Gallery-container .Gallery-col .gutentor-col-wrap .gutentor-image-thumb{
  height: 250px;
  width: 100%;
}
.Gallery-container .Gallery-col .gutentor-col-wrap .gutentor-image-thumb img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.Gallery-container .Gallery-col .Gallery-heading{
    background-color: #37592C;
    padding-top: 25px;
    padding-bottom: 25px;
}

.site-info .copyright-bar{
    display: none;
}
.site-footer .footer-widgets-container .inside-footer-widgets{
    width: 1000px;
    margin: 0 auto !important;
}
.footer-widgets .widget{
    margin-bottom: 8px;
}
.site-footer .footer-widgets-container .inside-footer-widgets .gutentor-grid-item-wrap li.gutentor-list-item,
.footer-widget-3 .gutentor-social .grid-container
{
 padding-left: 0 !important;
}
.site-footer .footer-widgets-container .inside-footer-widgets ul li .gutentor-single-item .gutentor-list-item-wrap{
    align-items: center;
}
.site-footer .footer-widget-3{
    padding-left: 70px;
}

/* Banner css */
.page__banner_section {
    width: 100%;
    position: relative;
    height: 350px;
}

.page__banner_section .banner-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 9;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page__banner_section .banner_thumb {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    height: 100%;
    overflow: hidden;
}

.page__banner_section .banner_thumb img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.page__banner_section .banner-content {
    text-align: center;
    position: relative;
    /* color: #161614; */
}
.page__banner_section .banner-content .banner-heading{
    padding: 30px 50px;
    color: #fff;
}
.page__banner_section .banner-content .banner-heading h1{
    font-size: 50px;
    text-transform: uppercase;
    margin-bottom: 0 !important;
    /* text-shadow: 2px 2px #1D04BF; */
}

.Kalusto-container .Kalusto-col .gutentor-gallery-wrapper .gutentor-gallery-item {

}
.Kalusto-container .Kalusto-col .gutentor-gallery-wrapper .gutentor-gallery-item .gutentor-gallery-item-wrap .gutentor-image-thumb{
   width: 100%;
   height: 250px;
}
.Kalusto-container .Kalusto-col .gutentor-gallery-wrapper .gutentor-gallery-item .gutentor-gallery-item-wrap .gutentor-image-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.Kalusto-container .Kalusto-col .gutentor-gallery-wrapper .gutentor-gallery-item .gutentor-gallery-item-wrap .gutentor-gallery-item-desc{
    height:45px;
}
.Kalusto-container .Kalusto-col .gutentor-gallery-wrapper .gutentor-gallery-item{
    /* box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; */
}

.Kalusto-container .Kalusto-col .gutentor-gallery-wrapper .gutentor-gallery-item-header .image-gallery{
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px;
    width: 100%;
}
.Kalusto-container .Kalusto-col .gutentor-gallery-wrapper .gutentor-gallery-item-header .image-gallery .gallery-icon {
    display: none;
}
.Contact-form-container .Contact-form-col .Contact-form-wrapper .gform_wrapper ul li .gform-field-label{
   color: #37592C;
}
.Contact-form-container .Contact-form-col .Contact-form-wrapper .gform_wrapper ul li .ginput_container_textarea textarea,
.Contact-form-container .Contact-form-col .Contact-form-wrapper .gform_wrapper ul li .ginput_container input
{
  border-color: #37592C;
}
.Contact-form-container .Contact-form-col .Contact-form-wrapper .gform_wrapper ul li .ginput_container_textarea textarea{
    height: 150px;
}
.Contact-form-container .Contact-form-col .Contact-form-wrapper .gform_wrapper .gform_footer .gform_button{
    color: #fff;
    background-color: #37592C;
}

@media (max-width:768px) {
    
    .page__banner_section .banner-content .banner-heading{
        padding: 30px 30px;
    }
    .page__banner_section .banner-content .banner-heading h1{
        font-size: 32px;
    }
    .page__banner_section{
        height: 220px;
    }
    .site-footer .footer-widgets-container .inside-footer-widgets{
        width: 100%;
    }
    .site-footer .footer-widget-3{
        padding-left: 0 ;
    }
    .inside-footer-widgets>div:not(:last-child) {
        margin-bottom: 20px;
    }
    .main-navigation .main-nav ul li.current-menu-item a::after{
        content: none;
    }
    .main-navigation .main-nav ul li a {
        line-height: 30px;
    }
    .main-navigation .menu-toggle{
        background-color: #A1C04C;
        font-size: 22px;
    }
    .Palvelut-container .Palvelut-col .Palvelut-wrapper .gutentor-module-accordion-body ul li{
        padding-left: 0 !important;
        padding-right: 0 !important;

    }
    .Palvelut-container .Palvelut-col .Palvelut-wrapper .gutentor-module-accordion-body ul li .gutentor-list-item{
        word-break: break-all;
    }
}


