/*
 Theme Name:   Helmiäinen 2023
 Theme URI:    https://generatepress.com
 Description:  Helmiäisen uusi nettisivurunko pohjautuen GeneratePress -pääteemaan.
 Author:       Karel Tagel /ToimivaIT
 Author URI:   
 Template:     generatepress
 Version:      0.1
*/

.pageImage {
    min-height:400px;
}
.blogikuvat .elementor-post__thumbnail {
    position: relative;
  }
  
  .blogikuvat .elementor-post__thumbnail::before {
    content: ' ';
    z-index: 1;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #0b767cc6;
  }


.heroimg .elementor-element-populated {
background-position: center center;
background-size: cover;
}

#mega-menu-wrap-primary.mega-sticky {
    background-color: #fff !important;
    padding-top: 1em;
    padding-bottom: 1em;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item-3608 > a.mega-menu-link:hover {
    background: transparent;
}
.ti-widget.ti-goog .ti-rating-text, .ti-widget.ti-goog .ti-rating-text strong, .ti-widget.ti-goog .ti-rating-text strong a, .ti-widget.ti-goog .ti-rating-text strong span, .ti-widget.ti-goog .ti-rating-text span strong, .ti-widget.ti-goog .ti-rating-text span, .ti-widget.ti-goog .ti-footer, .ti-widget.ti-goog .ti-footer strong, .ti-widget.ti-goog .ti-footer span, .ti-widget.ti-goog .ti-footer strong a {
    font-size: 14px;
    color: #fff !important;
}
.site .site-content .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .site .site-content .gform_wrapper textarea {
    border: 1px solid #282828;
}
.gform_legacy_markup_wrapper.gf_browser_chrome ul.gform_fields li.gfield div.ginput_complex span.ginput_left select, .gform_legacy_markup_wrapper.gf_browser_chrome ul.gform_fields li.gfield div.ginput_complex span.ginput_right select, .gform_legacy_markup_wrapper.gf_browser_chrome ul.gform_fields li.gfield input[type=radio], .gform_legacy_markup_wrapper.gf_browser_chrome ul.gform_fields li.gfield select {
    border: 1px solid #282828;
}
.henkilokunta .eael-entry-wrapper p {
    min-height:58px;
    font-size:13.5px;
}

.blogi .eael-entry-wrapper p {
    min-height:100px;
}

.footernapit a {
    color:#fff !important;
}
.footernapit .ft {
    font-size:20px;
    font-weight:bold;
}
.disWrapper {
    overflow-x:clip;
}
.error404 .inside-article {
    margin:0 auto;
    text-align:center;
    padding-top:3em;
    padding-bottom:3em;
}
.hinnasto td {
    width:33.33%;
    border: 0px solid transparent;
}
.hinnasto th {
    background-color:#0b777c;
    border: 0px solid transparent;
    color:#fff;
}
.hinnasto table {
    border: 0px solid transparent;
}
.hinnasto tr:nth-child(even) {
    background-color:#f2f2f2;
}
.one-container .site-content {
    padding: 0px;
}
li.upPadding {
    padding-top:2em !important;
}
li.mega-varaaAika {
    background-color:#0b777c !important;
    color:#fff !important;
}
li.mega-varaaAika a{
    color:#fff !important;
}

.entry-meta {
    display:none;
}

.eael-grid-post .eael-entry-wrapper {
    padding: 0px;
    padding-top:1em;
}

.single-post .featured-image {
    display:none;
}

.single-post .featured-image {
    display:none;
} 
.single-henkilokunta .featured-image {
    display:none;
}

blockquote {
    border-left: 4px solid #000;
    font-size:17px;
}

.single-post .entry-title {
    display:none;
}

a {
    text-decoration: none;
    background-color: transparent;
    color: #938134;
}

.entry-content a:hover {
    text-decoration: underline;
}

a.button {
    background-color:#0b777c;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}
a.button:hover {
    background-color:#0b777c;
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.nostoboksi {
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

.nostoboksi:hover {
    -webkit-transform: scale(0.95);
    -ms-transform: scale(0.95);
    transform: scale(0.95);
}

#ajanvaraus iframe {
    max-width: 100%;
    width: 100%;
    display: block;
    border: 0;
    height: 800px;
    max-height: 90%;
}

.entry-header, .site-content {
    word-wrap: normal;
}

.wraptext {
    word-wrap:break-word !important;
}


@media screen and (max-width: 1120px) {
    h1 {
        font-size: 38px;
    }
    h2 {
        font-size: 32px;
    }
    h3 {
        font-size: 27px;
    }
    h4 {
        font-size: 23px;
    }
    h5 {
        font-size: 20px;
    }
    h6 {
        font-size: 18px;
    }
}

@media screen and (max-width:1024px) {
    .pageImage {
        min-height:325px;
    }
}

@media (max-width: 980px) {
    .mega-menu-primary #site-navigation .menu-toggle {
        display: none;
    }
    .mega-menu-primary #site-navigation {
        z-index: 999999999;
    }
}

@media screen and (max-width: 900px) {
    h1 {
        font-size: 30px;
    }
    h2 {
        font-size: 26px;
    }
    h3 {
        font-size: 24px;
    }
    h4 {
        font-size: 22px;
    }
    h5 {
        font-size: 19px;
    }
    h6 {
        font-size: 17px;
    }
    p {
        hyphens:auto;
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
    }
}

@media screen and (max-width: 767px) {
#mega-menu-wrap-primary.mega-sticky {
    background-color: transparent !important;
    padding-top: 0em;
    padding-bottom: 0em;
}
li.upPadding {
    padding-top:0em !important;
}
.henkilokunta .eael-entry-wrapper p {
    min-height:20px;
}
.pageImage {
    min-height:225px;
}
.hinnasto td, th {
    font-size:13px;
    text-align:center;
    line-height:22px;
}
.hinnasto td:first-child {
    width: 60%;
}
}

@media screen and (max-width: 500px) {
    h1 {
        font-size: 27px;
    }
    h2 {
        font-size: 24px;
    }
    h3 {
        font-size: 22px;
    }
    h4 {
        font-size: 20px;
    }
    h5 {
        font-size: 18px;
    }
    h6 {
        font-size: 17px;
    }
    p {
        hyphens:auto;
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
    }
    .wraptext {
        word-wrap:normal !important;
    }
}