/*
 Theme Name:     Divi PHliitto
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Juha Kerminen
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
@import url("../Divi/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */

*.focus-visible
{
    box-shadow: 0 0 6px rgba(0, 80, 159, 0.5)!important;
    /*padding: 3px 0px 3px 3px;*/
    /*margin: 5px 1px 3px 0px;*/
    border: 1px solid #002D5B!important;
    /*background: rgba(0, 80, 159, 0.1);*/
    /*display: inline-block;*/
}
.js-focus-visible :focus:not(.focus-visible) {
    outline: none;
}

.skip-to-content-link
{
    background: #00509f;
    color: white;
    left: 50%;
    padding: 8px 16px;
    position: absolute;
    transform: translateY(-102%);
    transition: transform 0.3s;
    z-index: 9999999;
}
.skip-to-content-link:focus
{
    transform: translateY(0%);
}

a {
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
a.et_pb_button {
    font-weight: 600;
}
h2 {
    font-weight: 600;
}
/*h2:after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    margin-top: 14px;
    margin-bottom: 6px;
    background: #1f5187;
    -webkit-transition: width .3s ease-in-out;
    -moz-transition: width .3s ease-in-out;
    transition: width .3s ease-in-out;
}*/
h2.entry-title:hover:after {
    width: 50px;
}
h3.fat3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}
.logotext {
    display: inline-block;
    vertical-align: bottom;
    padding-bottom: 15px;
    padding-left: 10px;
}
.logotext .bigger {
    font-weight: 800;
}
.logotext .smaller {
    font-size: 13px;
    font-weight: 600;
}
a .logotext {
    color: #00509f;
    line-height: 18px;
}
.big-slider .et_pb_container {
    height: 340px!important;
}
.big-slider h2:after {
    margin-left: auto;
    margin-right: auto;
    background: white;
}
.et_pb_slide_description .et_pb_slide_title {
    margin-bottom: 0px!important;
}
.et_pb_slide_content {
    margin-bottom: 5px;
}
.et_pb_button, input[type=button] {
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.et_pb_button:hover, input[type=button]:hover {
    box-shadow: 1px 1px 22px rgba(0,0,0,0.25);
}
#et-top-navigation {
    /*background: #009de0;*/
    /*background: #fff!important;*/
/*    background: #00509f!important;*/
    background: #002d5b;
    border-top: 1px solid #f2f2f2;
}
#top-header {
    display: none;
}
#main-header {
    -webkit-box-shadow: 0 1px 20px rgba(0,0,0,.2)!important;
    -moz-box-shadow: 0 1px 20px rgba(0,0,0,.2)!important;
    box-shadow: 0 1px 20px rgba(0,0,0,.2)!important;
}
#main-header .et_mobile_menu .menu-item-has-children > a { background-color: transparent; position: relative; width: 90%; }
#main-header .et_mobile_menu ul.sub-menu { display: none !important; visibility: hidden !important;  transition: all 1.5s ease-in-out;}
#main-header .et_mobile_menu .visible > ul.sub-menu { display: block !important; visibility: visible !important; }
#main-header .et_mobile_menu .after {
    float: right;
    padding: 10px 12px;
    cursor: pointer;
    color: white;
    font-weight: 500;
}
#top-menu .menu-item-has-children>a:after {
    top: 22px!important;
}
#top-menu .menu-item-has-children .sub-menu a:after {
    top: 6px!important;
}
#top-menu .sub-menu {
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #266aae;
    border-color: #009fe3;
}
#top-menu .sub-menu .sub-menu {
    margin-top: 5px;
}
#top-menu li.current-menu-ancestor > ul a {
    color: #020202;
}
.paanavi #top-menu li.current-menu-ancestor>a {
    color: #c8e6f3;
}
.paanavi #top-menu li.current-menu-ancestor>a, .paanavi #top-menu li.current-menu-parent>a, .paanavi #top-menu li.current-menu-item>a {
    font-weight: bold;
}
.paanavi #top-menu li a {
    color: white!important;
    /*color: #202020!important;*/
}
.paanavi #top-menu li li a {
    color: #202020!important;
}
.et_search_form_container {
    max-width: 440px!important;
}
.et-search-field {
    background: white!important;
    color: #333!important;
    padding-left: 20px;
    padding-right: 40px;
}
.et_header_style_centered .et-search-form {
    top: 24px;
}
::-webkit-input-placeholder { 
  color: #666;
}
:-ms-input-placeholder { 
  color: #666;
}
::placeholder {
  color: #666;
}
#et_top_search #et_search_icon:before {
    color: black;
    top: 2px;
    left: 0;
    font-weight: 600;
}
span.et_close_search_field:after {
    margin-top: 5px;
    transform: translateX(-40px);
    color: #333!important;
}
.nav ul li a:hover {
    /*background: #009fe3;*/
    opacity: 1;
    color: #00509f!important;
}
.et_menu_container {
    padding-right: 0px;
    padding-left: 0px;
}
.et_header_style_centered #main-header .container {
    text-align: left;
}
#top-menu .sub-menu {
    background-color: white!important;
}
#top-menu .sub-menu .current-menu-item a {
    color: #4e4e4e;
}
#et-secondary-menu a {
    color: #202020;
    font-weight: 600;
}
#et-secondary-menu .current-lang a {
    color: #002d5b;
    text-decoration: underline;
}
#et-secondary-menu .et-social-icon a {
    font-size: 16px;
}
#top-menu li a {
    font-weight: 400;
}
#top-menu li li a {
    color: #020202;
}
.et_pb_slide_description .et_pb_slide_title {
    font-weight: 600;
    margin-bottom: 5px;
}
.et-pb-active-slide .et_pb_slide_description{
    -webkit-animation-name: fadeIn;
    -moz-animation-name: fadeIn;
    -ms-animation-name: fadeIn;
    -o-animation-name: fadeIn;
}
.et_pb_bg_layout_dark .et_pb_slide_description {
        text-shadow: 0 1px 18px rgba(0,0,0,.3);
}
.et_pb_posts .et_pb_post {
    margin-bottom: 35px;
}
.et_pb_post .entry-featured-image-url {
    margin-bottom: 20px;
}
.front-news a:hover {
    color: #002d5b;
    text-decoration: underline;
}
.front-news .entry-title {
    font-size: 18px;
    padding-bottom: 5px;
}
.front-news .entry-title a {
    font-weight: 600;
}
.front-news .ecs-event-list {
    list-style: none;
    padding-left: 0px;
}
.front-news .ecs-event-list a {
    font-weight: 600;
}
.front-news .ecs-event {
    margin-bottom: 20px;
}
.ilmot.et_pb_posts .et_pb_post {
    margin-bottom: 25px;
}
/*18.1.*/
.front-banner h1 {
    margin-bottom: 10px;
}
.front-banner p {
    line-height: 24px;
}
.front-banner a {
    font-size: 18px;
    margin-top: 10px;
    display: block;
}
.front-banner a:after {
    font-size: 27px;
    line-height: 1em;
    content: "\35";
    content: '$';
    position: absolute;
    -webkit-transition: all .2s;
    transition: all .2s;
    text-transform: none;
    -webkit-font-feature-settings: "kern" off;
    font-feature-settings: "kern" off;
    font-variant: none;
    font-style: normal;
    font-weight: 400;
    font-family: ETmodules!important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    -webkit-font-feature-settings: normal;
    font-feature-settings: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-left: 5px;
    margin-top: 1px;
}
.front-banner a:hover:after {
    margin-left: 8px;
}
#ff-stream-1 {
    background-color: transparent!important;
    padding-top: 0px!important;
}
.ff-loadmore-wrapper .ff-btn {
    border-radius: 0px!important;
}
.ff-loadmore-wrapper .ff-btn:hover {
    background-color: #002d5b!important;
}
.home .big-image {
    display: none;
}
.cc-animate.cc-revoke.cc-bottom {
    background-color: #00509f!important;
}
/*end of 18.1.*/
.front-news .ecs-event-list {
    padding-bottom: 0px;
}
.front-news .et_pb_post img {
    width: 500px;
}
.front-news .et_pb_post {
    border-bottom: 1px solid #dfdfdf;
    margin-bottom: 18px;
    padding-bottom: 15px;
}
.front-news .ecs-event {
    border-bottom: 1px solid #dfdfdf;
    margin-bottom: 18px;
    padding-bottom: 15px;
}
.front-news .et_pb_text h3 {
    font-size: 20px;
    padding-bottom: 12px;
}
.some-section-wide .ff-stream {
    margin-top: -15px;
}
.newsletter-desc {
    background: rgba(31, 81, 135, 0.85);
    padding-top: 45px;
    padding-bottom: 45px;
    height: 220px;
    position: relative;
}
.et_pb_pagebuilder_layout .newsletter-desc {
    margin-top: -220px;
}
.newsletter-desc h3 { 
    color: white;
    margin-top: 15px;
}
.newsletter-desc .nf-field-label {
    display: none;
}
.newsletter-desc input[type=button]{
    cursor: pointer;
    background: #fff200!important;
    color: #202020!important;
    border-radius: 35px;
    padding: 14px 25px!important;
}
.newsletter-desc input[type=email] {
    background: transparent!important;
    color: white!important;
    border: none!important;
    border-bottom: 1px solid white!important;
    max-width: 100%;
    width: 345px;
}
.newsletter-desc input[type=email]::-webkit-input-placeholder { /* Edge */
  color: white;
}
.newsletter-desc input[type=email]:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: white;
}
.newsletter-desc input[type=email]::placeholder {
  color: white;
}
.newsletter-desc .nf-field-container {
    display: inline-block;
    vertical-align: top;
    margin-bottom: 0px;
}
.newsletter-desc .submit-container {
    margin-bottom: 0px;
}
.front-links .et_pb_main_blurb_image {
    /*background: #1f5187;*/
    background: #009fe3;
    border-radius: 150px;
    /*border: 2px solid #202020;*/
    width: 150px;
    height: 150px;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}
.front-links .et_pb_blurb_container {
    padding-bottom: 25px;
    padding-right: 25px;
    padding-left: 25px;
}
.front-links .et_pb_blurb:hover .et_pb_main_blurb_image {
    box-shadow: 1px 1px 30px rgba(0,0,0,0.25);
    /*background: #009fe3;*/
}
.front-links .et_pb_blurb h4 a:hover {
    text-decoration: underline;
}
.vaakuna {
    width: 10%;
    float: left;
    padding-left: 15px;
    padding-right: 15px;
}
.vaakuna img {
/*    opacity: 0.4!important;*/
    max-height: 90px;
    width: auto;
    -webkit-animation: none!important;
    -moz-animation: none!important;
    -o-animation: none!important;
    animation: none!important;
    /*-webkit-filter: grayscale(100%);
    filter: grayscale(100%);*/
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}
.vaakuna img:hover {
/*    opacity: 1!important;*/
    /*-webkit-filter: grayscale(0%);
    filter: grayscale(0%);*/
}
#main-footer img {
    width: 350px;
}
#main-footer .widget_nav_menu {
    display: block;
    width: 100%;
}
#main-footer .widget_text {
    margin-bottom: 35px;
}
#footer-widgets {
    padding-top: 70px;
}
#footer-bottom {
    display: none;
}
#footer-widgets .footer-widget li:before {
    border-color: transparent;
}
#footer-widgets .footer-widget li {
    padding-left: 0px;
    /*display: inline-block;*/
    text-align: right;
    margin-right: 10px;
}
#footer-widgets .footer-widget li a {
    color: #202020!important;
    font-weight: 600;
}
#footer-widgets .footer-widget li a:hover {
    color: #1f5187!important;
}
/*.eu {
    background: url("/wp-content/themes/Divi-phliitto/eu.png") no-repeat;
    width: 124px;
    height: 124px;
    position: absolute;
    right: 10%;
    margin-top: 45px;
}*/
.image-container {
    padding-top: 180px!important;
}
.sub-image {
    height: 360px;
    background-size: cover;
    margin-bottom: 35px;
    background-position: 50%;
}
#content-area {
    padding-bottom: 45px;
}
#left-area {
    width: 70%;
    padding-left: 35px;
}
#left-area a {
/*    color: #009de0;*/
    color: #002D5B;
}
#left-area a:hover {
    color: #1f5187;
    text-decoration: underline;
}

/* sidebar */
.side-menu {
    width: 24%;
    float: left;
}
.side-menu a {
    color: #202020;
    padding-top: 2px;
    padding-bottom: 3px;
    display: block;
}
.side-menu a:hover {
    color: #295f99;
}
.side-menu ul li,
.side-menu ul li ul li ul li,
.side-menu ul li ul li ul li ul {
    display: none;
}
.side-menu .sub-menu .sub-menu {
    margin-left: 10px;
}
.side-menu ul .current_page_item,
.side-menu ul li ul li,
.side-menu .current_page_parent {
    display: block;
}

.side-menu .current-menu-ancestor,
.side-menu .current-menu-ancestor>ul,
.side-menu ul li ul li.current_page_item ul li,
.side-menu ul .current-menu-ancestor .sub-menu .current-menu-ancestor .sub-menu li,
.side-menu ul li ul li ul .current-menu-item ul {
    display: block !important;
}
.side-menu li.current-menu-item a {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}
.side-menu li.current-menu-item ul li a {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 8px;
}
.side-menu li.current-menu-parent a {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 7px;
    display: block;
}
.side-menu li.current-menu-ancestor a {
    margin-bottom: 6px;
}
.side-menu li.current-menu-parent ul li a {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 8px;
    line-height: 24px;
}
.side-menu li.current_page_item a {
    color: #295f99;
}
.side-menu li.current_page_item .sub-menu a {
    color: #202020;
}
.side-menu li.current_page_item .sub-menu a:hover {
    color: #295f99;
}
.side-menu .sub-menu {
    padding-left: 10px;
}
.side-menu .menu-paavalikko-container {
    border-bottom: 1px solid #dfdfdf;
    padding-bottom: 20px;
}
/*.side-menu li.current_page_item ul li a {
    color: #1b62aa;
}*/
#left-area .entry-content ul ul {
    list-style-type: circle;
}
.uutisnosto {
    margin-top: 25px;
}
.uutisnosto .morenews {
    font-family: "Sofia Pro", sans-serif;
    margin-top: 5px !important;
    text-decoration: underline;
}
.uutisnosto .morenews:hover {
    text-decoration: none;
}
.white-border:before {
    content: " ";
    background: white;
    width: 100%;
    height: 15px;
    position: absolute;
    left: 0;
    margin-top: -30px;
}
figure {
    margin: 20px 0px 0px 0px;
}
.for-columns .wp-block-columns {
    padding: 22px 25px;
    background: #f9f9f9;
    margin-bottom: 10px;
}
.wp-block-columns {
    margin-top: 20px;
    margin-bottom: 20px;
}
.post-thumbnail-caption {
    font-family: "Sofia Pro", sans-serif;
    font-weight: 400;
    font-size: 14px;
}
#left-area .post-meta {
    font-size: 16px;
}
#main-header {
    background-color: transparent!important;
}
#main-content {
    background: url("/wp-content/themes/Divi-phliitto/bg-2023.jpg") no-repeat;
    background-size: 100%;
    background-position: 50% 0%;
}
#top-menu .menu-item-has-children>a:first-child:after {
    display: none;  
}
body.post-type-archive #side-menu {
    display: none;
}
body.post-type-archive #left-area {
    width: 90%;
}
body.post-type-archive #left-area a {
    color: #1f5187;
}
.rss-icon {
    position: absolute;
    right: 15px;
    top: 15px;
}
.rss-icon img {
    width: 20px;
    height: auto;
}

@media only screen and (min-width: 981px) {
    .et-fixed-header .paanavi #top-menu li li a {
        color: #202020!important;
    }
    .et-fixed-header {
        border-bottom: 1px solid #f2f2f2;
    }
    #main-header.et-fixed-header #top-menu li.current-menu-ancestor>a {
        color: white!important;
    }
    #main-header.et-fixed-header #top-menu li.current-menu-ancestor>.sub-menu a {
        color: #202020!important;
    }
   /* .et-fixed-header .paanavi #top-menu li li a:hover {
        color: white!important;
    }*/
    .et_pb_gutters3 .footer-widget {
        margin-bottom: 50px;
    }
    .et-fixed-header .et_search_form_container .et-search-form input {
        color: #333!important;
    }
    .et_header_style_centered .et_menu_container #et_top_search {
        float: right;
        top: auto;
        right: auto;
        margin: 0;
        margin-left: 24px;
        position: relative;
    }
}
@media (min-width: 981px) {

    .page .image-container {
        padding-left: 21%;
    }
    #top-menu .menu-item-has-children>a:first-child {
        padding-right: 15px!important;
    }
    #side-menu {
        /*margin-top: -380px;*/
        margin-top: 35px;
    }
    .sub-image {
        margin-right: -120px;
    }
    #top-menu .menu-item-has-children>a:first-child {
        padding-right: 15px;
    }
    #main-header .nav li ul {
        width: 300px;
        display: none;
    }
    #main-header .nav li.et-touch-hover>ul, #main-header .nav li:hover>ul {
        display: block;
    }
    #top-menu li li {
        width: 100%;
    }
    #top-menu li li a {
        width: 100%;
        line-height: 23px;
    }
    .et_header_style_centered #et_top_search {
        top: 31px;
        right: 25px;
    }
    .et_header_style_centered nav#top-menu-nav {
        position: absolute;
    }
    .et_header_style_centered #main-header div#et-top-navigation {
        height: 60px;
    }
    
    .et_header_style_centered #et_top_search {
        position: absolute;
        top: 31px;
    }
    .et_header_style_centered .et-fixed-header .et-search-form {
        top: -86px;
    }
    .et_fullwidth_nav #main-header .container {
        padding-right: 0px;
        padding-left: 0px;
    }
    .et_header_style_centered.et_hide_fixed_logo #main-header.et-fixed-header .logo_container {
        height: 0px!important;
    }
    .et_header_style_centered #top-menu>li>a {
        padding-top: 22px;
        padding-bottom: 22px!important;
        padding-right: 15px;
        padding-left: 15px;
    }
    .et_header_style_centered #top-menu>li>a:hover {
        background: #009fe3;
        opacity: 1!important;
    }
    #top-menu .menu-item-has-children>a:first-child {
        padding-right: 30px;
    }
    #top-menu .menu-item-has-children>a:after {
        right: 8px!important;
    }
    #top-menu li {
        padding-right: 0px;
        margin-right: -4px;
    }
    #et-top-navigation { 
        padding-left: 10%;
    }
    .et_header_style_centered #logo {
        padding-left: 10%;
    }
    #et-secondary-menu {
        padding-right: 10%;
        margin-top: 55px;
        -webkit-transition: all .4s ease-in-out;
        -moz-transition: all .4s ease-in-out;
        transition: all .4s ease-in-out;
    }
    .et-fixed-header #et-secondary-menu {
        margin-top: 23px;
    }
    .et_pb_slider_0 .et_pb_slide_description, .et_pb_slider_fullwidth_off.et_pb_slider_0 .et_pb_slide_description {
        padding-top: 70px!important;
        padding-bottom: 70px!important;
    }
    .et_pb_slider_0.et_pb_slider .et_pb_slide_description .et_pb_slide_title {
        font-size: 40px!important;
    }
    .footer-widget:first-child {
        border-right: 1px solid #e8e8e8;
        padding-right: 35px;
    }
    .footer-widget:last-child {
        border-left: 1px solid #e8e8e8;
    }
    #mobilesidebar {
        display: none;
    }
    .side-menu {
        display: block;
    }
    .et_pb_gutter.et_pb_gutters2 #sidebarr {
        width: 30%;
    }
    .et_pb_gutter.et_pb_gutters2 #left-area {
        width: 70%;
    }
    #left-area {
        min-height: 600px;
    }
    #main-content .container:before {
        background-color: transparent;
    }
    .wp-block-button__link {
        padding: 7px 18px;
        font-size: 13px;
    }
    .et_header_style_centered #top-menu>li>a:hover {
        background: #295f99;
    }
    #top-menu .sub-menu {
        border-color: #295f99;
    }

}

@media (max-width: 1300px) {
    #et-top-navigation {
        padding-left: 30px;
    }
    .container {
        width: 85%;
    }
    .et_header_style_centered #logo {
        padding-left: 3%;
    }
    #et-secondary-menu {
        padding-right: 3%;
    }
    .top-search {
        right: 20%;
    }
}

@media (max-width: 980px) {
    .eu {
        display: none;
    }
    .et_header_style_centered #main-header {
        padding: 15px 0;
    }
    #et-top-navigation {
        background: transparent;
    }
    .et_pb_pagebuilder_layout .newsletter-desc {
        margin-top: -240px;
    }
    .newsletter-desc {
        padding-top: 20px;
        height: 240px;
    }
    .newsletter-desc .et_pb_column {
        margin-bottom: 10px;
    }
    #main-header .et_mobile_menu {
        background-color: #002d5b!important;
    }
    #et_mobile_nav_menu {
        background: white;
    }
    .et_header_style_centered #main-header .mobile_nav {
        border-radius: 0px;
        background-color: transparent;
    }
    .et_header_style_centered .mobile_nav .select_page {
        /*color: #202020!important;*/
        display: none;
    }
    .et_header_style_centered .et_menu_container .mobile_menu_bar {
        top: -42px;
    }
    .et_header_style_centered #et_mobile_nav_menu {
        margin-top: 0px;
    }
    .et_divi_100_custom_hamburger_menu__icon div {
        width: 120%;
    }
    .et_header_style_centered .et_mobile_menu {
        top: 30px;
    }
    #mobilesidebar {
        display: block;
        margin-top: 35px;
        width: 100%;
    }
    .side-menu {
        display: none;
    }
    .sub-image {
        height: 320px;
    }
    .image-container {
        padding-top: 90px!important;
    }
    .et_pb_slider_0.et_pb_slider .et_pb_slide_description .et_pb_slide_title {
        font-size: 24px!important;
    }
    .vaakuna {
        width: 20%;
    }
    #et-top-navigation {
        background: transparent;    
    }
        
}

@media (max-width: 767px) {
    .container {
        width: 88%;
    }
    .et_pb_row {
        width: 85%;
    }
    .newsletter-desc {
        padding-top: 0px;
    }
    .newsletter-desc input[type=email] {
        width: 230px;
    }
    .et_pb_slider_0 .et_pb_slide_description, .et_pb_slider_fullwidth_off.et_pb_slider_0 .et_pb_slide_description {
        padding-top: 65px!important;
        padding-bottom: 65px!important;
    }
    .et_pb_slider_0.et_pb_slider .et_pb_slide_description .et_pb_slide_title {
        font-size: 24px!important;
    }
    /*.big-slider .et_pb_container {
        height: 3650px!important;
    }*/
    .sub-image {
        height: 280px;
    }
    .vaakuna {
        width: 33%;
    }
}

@keyframes fadeTop {
    0% { opacity: 0; transform: translateY(-5%); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------- Yhteystiedot ---------------------------------------- */

.wp-block-separator.is-style-wide {
    border-color: #f6f6f6;
    border-style: solid;
}   
.listaus.yhteystiedot {
    padding-top: 15px;
    padding-bottom: 15px;
}
.yhteystiedot {
    display: flex;
    flex-wrap: wrap;
}
.yhteystiedot .yhteystieto {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 45%;
}
.yhteystiedot .yhteystieto .yhteystieto-box > div {
    display: flex;
    justify-content: center;
}
.yhteystiedot .text-nimi {
    font-weight: bold;
}
.yhteystiedot .yhteystieto .text {
    margin-top: 20px;
}
.yhteystiedot .text-puhelinnumero {
    margin-top: 15px;
}
.yhteystiedot .yhteystieto .text .text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.yhteystiedot .yhteystieto .text .text-container > div {
    text-align: center;
}
.wide-contact .listaus.yhteystiedot {
    max-width: none;
}
.wide-contact .listaus.yhteystiedot .yhteystieto {
    width: 21%;
}
.wide-contact .listaus.yhteystiedot .yhteystieto:nth-child(even) {
    margin-right: 4%;
}
.yhteystiedot .image img {
    border-radius: 50%;
    object-fit: cover;
    width: 250px;
    height: 250px;
    border: 1px solid #f6f6f6;
}

.yhteystiedot .some-icon img {
    width: 23px;
    height: 23px;
    object-fit: contain;
    margin-top: 20px;
}

@media (max-width: 767px) {
      .yhteystiedot {
        display: block;
    }
    .yhteystiedot .yhteystieto {
        width: 100%;
    }
}

.at-share-btn-elements {
    transform: translatey(-15px);
}
.uutisnosto h4 {
    font-size: 16px;
}
.et_pb_widget_area_left {
    border-right: none;
}

.fullwidthcontent #left-area {
    width: 100%;
}
.paddingcontainer {
    padding-top: 55px;
}
.fullwidthcontent .breadcrumb {
    margin-bottom: 25px;
}

@media (min-width: 1200px) {
    #top-menu li a {
        font-size: 16px!important;
    }
}

hr {
  opacity: 0.2;
  margin-top: 10px;
  margin-bottom: 10px;
}

/*ilmasto*/
#side-menu.ilmastomenu, #mobilesidebar.ilmastomenu {
    /*background: #d7f29b;*/
    margin-top: 0;
    /*padding: 25px 30px;*/
}
#side-menu.ilmastomenu li a, #mobilesidebar.ilmastomenu li a {
    color: #082c7d;
}
.menu-ilmastomenu-container {
    background: #d7f29b;
    padding: 8% 9%;
    /*margin-bottom: 35px;*/
}
.ilmastomenu .menu-paavalikko-container {
    border: none;
}
.ilmastomenu ul li {
    display: block;
}
.menu-ilmastomenu-container ul li a {
    font-size: 16px;
    /*font-weight: 600;*/
    padding: 10px;
}
#side-menu.ilmastomenu ul li a:hover {
    text-decoration: underline;
}
#side-menu.ilmastomenu li.current-menu-item a, #mobilesidebar.ilmastomenu li.current-menu-item a {
    margin-bottom: 0;
    font-weight: 500;
    text-decoration: underline;
}
.ilmastomenu .uutisnosto {
    background: #f8fbf2;
    padding: 9% 9%;
    margin-top: 0;
}

/*.ilmastobg {
    background: url("/wp-content/themes/Divi-phliitto/ilmastobg.png") no-repeat;
    width: 100%;
    height: 100%;
    background-size: 100%;
    background-position: 50% 100%;
}*/
#main-content.ilmasto {
    /*background-size: cover;*/
    background: none;
    padding-top: 20px;
}
.ilmastobg img {
    margin-bottom: -7px;
    margin-top: -400px;
}
.ilmasto .main_title {
    color: #082c7d;
    font-weight: 600;
    font-size: 42px;
}
.ilmasto #left-area {
    padding-left: 4%;
    padding-right: 0;
}
.ilmasto #left-area h2, .ilmasto #left-area h3, .ilmasto #left-area h4 {
    color: #082c7d;
}
.ilmasto .entry-content {
    color: #082c7d;
    font-size: 16px;
}
.ilmasto #left-area .entry-content a {
    color: #082c7d;
    text-decoration: underline;
}
.ilmasto #left-area .entry-content .wp-block-button a {
    color: #304263;
    background: #dff2ce;
    padding: 14px 20px;
    border-radius: 15px;
    display: inline-block;
    font-weight: 600;
    margin-top: 20px;
    font-size: 16px;
    text-decoration: none;
}
.ilmasto #left-area .entry-content .wp-block-button a:hover {
    background: #d7f29b;
}
.ilmasto #left-area .entry-content figure a {
    color: #304263;
    background: none;
    padding: 0;
    border-radius: 0px;
    display: inline-block;
    margin-top: 10px;
}
.ilmastomerkki {
    float: right;
}

#top-menu li li {
    padding: 0 15px;
}
.wp-block-columns.ilmastokunnat {
    margin-bottom: 0px;
    margin-top: 5px;
}
.wp-block-columns.ilmastokunnat .wp-block-columns {
    margin-bottom: 0px;
}

@media (max-width: 980px) {
    #mobilesidebar.ilmastomenu {
        margin-top: 35px;
    }
    .ilmasto .main_title {
        font-size: 32px;
    }
    .ilmastobg img { 
        margin-top: -150px;
    }
    .ilmasto #left-area {
        padding-left: 0;
    }
   /* #main-content.ilmasto .wp-block-column:last-child {
        margin-top: 15px;
    }*/
    .menu-ilmastomenu-container {
        padding: 7%;
    }
    .ilmastomenu .uutisnosto {
        padding: 9%;
    }
}

.wp-block-pb-accordion-item {
    background: #f6f6f6;
    padding: 20px;
    margin-top: 15px;
}
.c-accordion__title:hover {
    color: #00509f;
}

body.home .front-news .et_pb_post:nth-child(n+3) img {
    display: none;
}

.et_pb_widget a {
    color: #002d5b;
    display: block;
    line-height: 24px;
}
.et_pb_widget a:hover {
    text-decoration: underline;
}

.tribe-events-content a, .tribe-events-content a:hover {
    border-bottom: none;
}
#left-area ul.tribe-events-sub-nav {
    list-style-type: none;
}

/*from theme*/

.et-pb-arrow-next:before {
    text-shadow: 1px 1px 8px rgba(0,0,0,0.25);
} 
.et-pb-arrow-prev:before {
    text-shadow: 1px 1px 8px rgba(0,0,0,0.25);
}
.tribe-events-calendar thead th {
    background-color: white;
    border-color: #d2d2d2;
}
#left-area {
    padding-left: 45px;
}
#left-area .tribe-events-month-event-title a {
    color: #002D5B;
} 
.et_pb_pagebuilder_layout .sub-image {
    display: none;
}

@media (min-width: 981px) {
    #et-top-navigation {
        padding-right: 10%;
    }
    .et-fixed-header #et-secondary-menu {
    margin-top: -50px;
}
    .et_header_style_centered #et_top_search {
        position: relative;
        float: right;
        right: 15px;
    }
}
.infolista {
    background: white;
    min-height:180px;
    margin-top: 65px;
    margin-bottom: 20px;
    padding-left: 20px;
    box-shadow: 1px 1px 30px rgba(0,0,0,0.1);
}
.infolista .wp-block-image {
    display: flex;
  align-items: center;
    padding: 20px;
    max-width: 240px;
}
#left-area .infolista a {
    color: #202020;
    z-index: 10;
}
.infolista .wp-block-column:not(:first-child) {
    display: flex;
  align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
    margin-left: 20px;
    padding-right:25px;
}
.infolista:before {
    content:"";
    position: absolute;
    width: 180px;
    height: 180px;
    margin-left:-40px;
    margin-top: -20px;
    border-right: none!important;
    border-bottom: none!important;
}
.infolista.vaalsin:before {
    border: 20px solid #66befd;
}
.infolista.pun:before {
    border: 20px solid #fc5b6b;
}
.infolista.sin:before {
    border: 20px solid #004f9e;
}
.infolista.vih:before {
    border: 20px solid #02cc9c;
}
.infolista.ora:before {
    border: 20px solid #e58c3c;
}
.vaakunat-section {
    box-shadow: 1px 1px 30px rgba(0,0,0,0.04);
}
@media (max-width: 981px) {
    .infolista {
        height: auto;
    }
    .infolista:before {
        border-bottom: none!important;
    }
    .et_header_style_centered #main-header .mobile_nav {
        padding-top: 0px;
        padding-bottom: 0px;
    }
    #et-top-navigation {
        border-top: none;
    }
    .logotext {
        padding-bottom: 1px;
        padding-top: 4px;
    }
    .landing-content {
        padding-top: 150px!important;
    }
}

/* Cookie-lisäosan css-tyylejä */
.cc-animate.cc-revoke.cc-bottom {
    padding:15px 15px 10px 15px;
    background-color:#009de0 !important;
    color:#fff;
}

#tribe-events-footer~a.tribe-events-ical.tribe-events-button {
    color: white!important;
}

@media screen and (max-width: 768px) {
    .cc-revoke {
        display: block !important;
    }
    .tribe-events-sub-nav li a {
        background: #eee;
    }
    .cc-animate.cc-revoke.cc-bottom {
    padding:15px 15px 10px 15px;
    background-color:#009de0 !important;
    color:#fff !important;
}
}
#left-area a.wp-block-button__link.has-background {
    color: white;
}
#left-area a.wp-block-button__link.has-background:hover {
    background-color: #0095d4;
}
.vaakuna {
    width: 10%;
}
.nf-form-content input[type=button] {
    cursor: pointer;
    padding-left: 18px;
    padding-right: 18px;
}
.nf-form-content input[type=button]:hover {
      background: #00509f!important;
    color: white!important;
}
.at4-share-title {
    display: none;
}
@media (max-width: 980px) {
    .vaakuna {
        width: 20%;
    }
    .landing-imagerow .et_pb_column {
    margin-bottom: 0;
}
}
@media (max-width: 767px) {
    .vaakuna {
        width: 33%;
    }
}
@media (min-width: 981px) {
.front-banner.sub-banner a {
    position: relative;
}
    body.archive #left-area img {
        max-width: 90%;
    }
}
.front-banner.sub-banner a:after {
    content: '$';
        bottom: 25px;
        right: 35px;
}
.front-banner.sub-banner a:hover:after {
        right: 27px;
        margin-left: 5px;
}
body.archive #left-area img {
    max-height: 600px;
  width: auto;
}
body.archive #left-area .et_pb_post {
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 40px;
    padding-bottom: 30px;
}
body.archive #left-area .et_pb_post a {
    color: #333;
}
body.archive #left-area .et_pb_post a:hover {
    color: #00509f;
}
.ff-twitter .ff-icon-inner {
    background-color: #00509f!important;
}
.tribe-events-notices {
    border-radius: 0px;
    border: none;
    padding-left: 6px;
    color: #000;
    text-shadow: none;
    background: #f1f4f6;
}
.single-tribe_events .tribe-events-event-meta {
    background: #f1f4f6;
    border: none;
}
.wp-block-image {
    margin-top: 10px;
}
#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme {
    border-top: none;
    background: #f1f1f1;
}
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container {
    padding: 15px 25px;
}
.wp-block-column li {
    margin-bottom: 6px;
}
.wp-block-column li a {
    line-height: 1.6;
    color: #295f99;
}
#tribe-events {
    padding: 0;
}
.c-accordion__title:after {
    font-size: 32px;
    color: #00509f;
}
.front-banner.landing-banner {
    margin-right:0!important;
    border-radius: 12px;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.landing-banner:hover {
    box-shadow: 0px 12px 40px -6px rgb(0 0 0 / 18%)
}
.landing-imagerow {
    background-size: 700px;
  background-position: 100% 0%;
}
.landing-imagerow .front-banner {
    border-radius: 30px;
}
.landing-imagerow .front-banner a {
    display: block;
    padding: 10px;
    color: white;
    margin-top: 0;
}
.landing-kuva {
    background: #00509f;
    width: 250px;
    height: 250px;
    border-radius: 200px;
    padding: 40px;
}
.uutisnosto {
    font-size: 13px;
}
.uutisnosto h4 {
    margin-top: -3px;
    line-height: 1.2;
}
.side-menu a {
    font-size: 16px;
}
h2 {
    padding-bottom: 13px;
}
/*.home .front-banner a:after {
    margin-top: -2px;
}*/
.search-results #left-area a {
    color: #202020;
}
.search-results #left-area a:hover {
    color: #002D5B;
}
#nf-field-31-wrap .nf-field-element {
    display: none;  
}
.nf-form-cont .nf-form-content label {
    font-size: 16px;
}
.nf-form-cont .nf-before-form-content {
    margin-bottom: 10px;
}
.nf-form-cont .nf-field-container {
    margin-bottom: 18px;
}
.nf-form-cont .nf-field-description {
    margin-bottom: 12px;
  margin-top: -5px;
}
.nf-form-cont .nf-form-content .list-select-wrap .nf-field-element>div, .nf-form-cont .nf-form-content input:not([type=button]), .nf-form-cont .nf-form-content textarea {
    color: #333;
}
.nf-form-cont .nf-form-content button, .nf-form-cont .nf-form-content input[type=button], .nf-form-cont .nf-form-content input[type=submit] {
    margin-top: 10px;
    padding: 12px 24px;
}
.nf-form-cont {
    margin-bottom: 10px;
}
#left-area .raidenews .post-meta {
    padding-bottom: 0px;
}
.wp-block-button__link {
    line-height: 20px;
    padding: 10px 25px;
}
#left-area .gallery img {
    border: none;
}
.kulttuurievents li::marker {
    color: transparent;
}
.kulttuurievents .ecs-event-list {
    padding-left: 0!important;
    padding-top: 5px!important;
}

.wp-block-image figcaption {
    text-align: left;
    line-height: 20px;
}

@media (max-width: 479px) {
    .et_pb_post h2 {
        font-size: 18px;
        padding-bottom: 10px;
    }
}

#left-area .nf-form-cont .nf-form-content input[type=submit] {
    color: white!important;
    background: #333!important;
    cursor: pointer;
}
#left-area .nf-form-cont .nf-form-content input[type=submit]:hover {
    color: white!important;
    background: #002d5b!important;
}

/*haku*/
.top-search {
/*    display: none; /*TAMA POIS KUN VALMIS*/*/
}
.et_header_style_centered #et_top_search {
    display: none!important; /*vanha haku pois*/
}
div.asl_w {
  box-shadow: none;
  border-radius: 50px;
  border: 1px solid white;
}
.top-search {
  max-width: 27%;
  /*transform: translateX(-50%);
  left: 50%;*/
  right: 26%;
  position: absolute;
  width: 365px;
  margin-top: -80px;
  margin-bottom: 25px;
  transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
}
.et-fixed-header .top-search {
  margin-top: 16px;
}
#ajaxsearchlite1 .probox, div.asl_w .probox {
  height: 48px;
  box-shadow: none;
}
div.asl_w .probox .promagnifier {
  background-image: none;
  background: #F8F8F8;
  border: none;
  box-shadow: none;
  margin-top: 9px;
  margin-right: 10px;
}
div.asl_m .probox .proinput {
  padding: 8px 9px;
}
#ajaxsearchlite1 .probox .proinput input, div.asl_w .probox .proinput input {
  text-shadow: none;
  font-size: 15px;
  font-family: 'Lato'!important;
  border-radius: 3px;
}
.top-search .asl_m .probox .innericon {
  background-color: transparent!important;
}
div.asl_m .probox .proclose, div.asl_m .probox .proloading {
  margin-top: 9px;
}
div.asl_m .probox .proclose svg {
  background: none;
}
div.asl_r .results .item .asl_content h3 {
  font-size: 15px;
  line-height: 18px;
}
div.asl_r .results .item .asl_content h3 a {
  color: #232426;
  line-height: 18px;
}
div.asl_r .results .item .asl_content h3 a:hover {
  color: #002D5B;
  text-decoration: underline;
  line-height: 18px;
}
div.asl_r .resdrg {
  padding: 4px 6px;
}
div.asl_r .results .item {
  padding: 4px 3px;
  line-height: 18px;
}
div.asl_r.vertical {
  border-radius: 10px;
}
div.asl_r .results .item .asl_content .asl_desc {
  padding-bottom: 5px;
}
div.asl_r .results .item .asl_content h3 a, div.asl_r .results .item .asl_content h3 a:hover {
  font-size: 16px;
  font-weight: 500;
}
#ajaxsearchlite1 .probox .proinput input, div.asl_w .probox .proinput input::placeholder {
    color: #456483!important;
}
body div.asl_r.vertical {
    box-shadow: 0 0 3px -1px rgba(0,45,91,.3);
    border: 0 solid #f0f2f5;
}
body div.asl_r.asl_w.vertical .results .item::after {
    background: #f0f2f5;
}

@media (min-width: 981px) {
    #et-secondary-menu {
        margin-top: 52px;
    }
    .et-fixed-header .top-search {
        margin-top: -120px;
    }
}
@media (min-width: 1200px) {
    .top-search {
        right: 25%;
    }
}
@media (min-width: 1500px) {
    .top-search {
        right: 22%;
    }
}
@media (min-width: 1800px) {
    .top-search {
        right: 20%;
    }
}
@media (max-width: 980px) {
    .top-search {
/*        display: none;*/
        margin-top: 10px;
        max-width: 100%;
        width: 100%;
        right: 0;
    }
    body #main-header {
        padding-bottom: 70px!important;
        box-shadow: 0 1px 24px rgba(0,0,0,0.1)!important;
    }
    .page-template-default #left-area {
        padding-top: 40px;
    }
}

/*2014*/
#et-secondary-menu a {
    color: #002D5B;
}
#et-secondary-menu>ul>li>a:hover, #et-info-email:hover {
    opacity: 1;
    text-decoration: underline;
}
#main-footer .footer-some {
    display: inline-block;
    margin-left: 7px;
}
#main-footer .footer-some img {
    width: 26px;
}
#main-footer .footer-some a {
    background: rgba(255,255,255,1);
    border-radius: 50px;
    padding: 15px;
    width: 58px;
    height: 58px;
    display: inline-block;
    text-align: center;
/*    border: 2px solid #002D5B;*/
    box-shadow: 0 0 35px rgba(0,0,0,0);
}
#main-footer .footer-some a:hover {
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 35px rgba(0,0,0,0.1);
/*    border: 2px solid white;*/
}
#main-footer .et_pb_widget {
    float: none;
}
#main-footer .footer-widget:first-child .widget_block {
    display: inline-block;
}

#main-content {
    background: none;
}

#main-header {
    background-color: white!important;
    box-shadow: none!important;
}
#et-top-navigation {
    background: #f7f8fa;
    border: none!important;
}
.paanavi #top-menu li a {
    color: #002D5B!important;
}
.et_mobile_menu li a:hover, .nav ul li a:hover {
    background: rgb(247, 248, 250);
    text-decoration: underline!important;
}
.nav li li ul {
    left: 275px;
}

@font-face {
    font-family: Intro;
    src: url(/wp-content/themes/Divi-phliitto/fonts/Fontfabric - Intro Bold.ttf) format(ttf);
    font-weight: normal;
}
@font-face {
    font-family: Sofia Pro;
    src: url(/wp-content/themes/Divi-phliitto/fonts/Sofia Pro Regular.otf) format(otf);
    font-weight: normal;
}
html body, body h1, body h2, body h3, body h4, body h5, body h6 {
    font-family: "Intro", sans-serif;
    font-weight: 400;
}
html body p {
    font-family: "Sofia Pro", sans-serif;
    font-family: "sofia-pro", sans-serif;
    font-weight: 400;
    color: #232426;
}
h1 {
    font-size: 50px;
    margin-bottom: 18px;
}
.hero-section:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0,45,91,0.2);
}
.big-image.sub-image:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0,45,91,0.2);
}
.hero-section h1 {
    font-size: 65px;
    text-shadow: 0 0 45px rgba(0,0,0,0.25);
}
.hero-section h1:before {
    content: "";
    width: 38px;
    height: 32px;
    margin-left: -48px;
    background: url("/wp-content/themes/Divi-phliitto/lainaus.png") no-repeat;
    background-size: cover;
    position: absolute;
}
.hero-section p {
    color: #FFDE17;
    font-size: 22px;
    font-family: "Intro", sans-serif;
}
.paanavi #top-menu li.current-menu-ancestor>a, .paanavi #top-menu li.current-menu-parent>a, .paanavi #top-menu li.current-menu-item>a {
    text-decoration: underline;
}
.paanavi #top-menu li li a {
    color: #002D5B !important;
    font-size: 15px !important;
    padding: 7px 20px;
}

#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme {
    border: none;
}

.nosto-row .et_pb_column.et_clickable:after {
/*    content: "🡢";*/
    content: "";
    background: #FFDE17 url("/wp-content/themes/Divi-phliitto/arrow-blue.png") no-repeat;
    background-size: 30px;
    background-position: 50%;
    width: 25px;
    height: 23px;
    padding: 25px;
    color: #002D5B;
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 24px;
}
.nosto-row .et_pb_column.et_clickable:hover h2, .nosto-row .et_pb_column.et_clickable:hover h3, .nosto-row .et_pb_column .et_pb_text_inner a:hover {
    text-decoration: underline;
}
.nosto-row .et_pb_text p {
    color: white;
}
.banner-row.et_clickable .et_pb_column.et-last-child:after {
    content: "";
    background: #FFDE17 url("/wp-content/themes/Divi-phliitto/arrow-blue.png") no-repeat;
    background-size: 30px;
    background-position: 50%;
    width: 25px;
    height: 23px;
    padding: 25px;
    color: #002D5B;
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 24px;
}
.banner-row.right.et_clickable .et_pb_column.et-last-child:after {
    background: none;
}
.banner-row.right.et_clickable .et_pb_column:first-child:after {
    content: "";
    background: #FFDE17 url("/wp-content/themes/Divi-phliitto/arrow-blue.png") no-repeat;
    background-size: 30px;
    background-position: 50%;
    width: 25px;
    height: 23px;
    padding: 25px;
    color: #002D5B;
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 24px;
}
.banner-row.et_clickable:hover h2 {
    text-decoration: underline;
}
.banner-row.et_clickable {
    box-shadow: 0 0 45px rgba(0,0,0,0);
    transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
}
.banner-row.et_clickable:hover {
    box-shadow: 0 0 45px rgba(0,0,0,0.05);
}
.banner-row .et_pb_column.et_pb_column_empty {
    display: block;
    min-height: 340px;
}
.front-links-row .et_pb_text_inner p {
     font-family: "Intro", sans-serif;
     color: #002D5B;
     padding-bottom: 10px;
     line-height: 23px;
}
.front-links-row .et_clickable:hover p {
     text-decoration: underline;
}
.front-events-block ul {
    padding-left: 0;
}
#left-area .tribe-events-schedule h2:after, #left-area .tribe-events-event-meta h2:after {
    background: none;
}
.front-events-block ul li {
    list-style: none;
    margin-bottom: 22px;
}
#left-area .entry-content .tribe-events-header a {
    text-decoration: none;
}
#left-area .tribe-events-calendar-list h2:after {
    background: none;
}
body.single-tribe_events #left-area, body.post-type-archive-tribe_events #left-area {
    border-right: none;
}
.tribe-events-event-image img {
    width: 700px;
}
.tribe-events-back {
    margin-bottom: 20px;
}
.front-events-row .et_pb_column.et_pb_column_empty {
    display: block;
    min-height: 350px;
}
.news-list-nosto {
    font-family: "Sofia Pro", sans-serif;
    font-size: 16px;
}
.news-list-nosto h4 {
    margin-top: 0;
}
.news-list-nosto a {
    font-family: "Intro", sans-serif;
}
.front-events-block .entry-title {
    padding-bottom: 6px;
}
.front-events-block .entry-title a {
    text-decoration: none;
    color: #002D5B;
}
.front-events-block .entry-title a:hover {
    text-decoration: underline;
}
.front-events-block .time {
    color: #66819d;
    font-family: "Sofia Pro", sans-serif;
    font-size: 16px;
}
body h2 {
    color: #002D5B;
}
#left-area h2 {
    padding-bottom: 15px;
}
#left-area h2:after, .underline h2:after {
    content: "";
    position: absolute;
    background: url("/wp-content/themes/Divi-phliitto/underline.png") no-repeat;
    width: 50px;
    height: 20px;
    background-size: contain;
    margin-top: 5px;
    margin-left: 3px;
}
.uutisnosto h3:after {
    content: "";
    position: absolute;
    background: url("/wp-content/themes/Divi-phliitto/underline.png") no-repeat;
    width: 40px;
    height: 20px;
    background-size: contain;
    margin-top: 2px;
    margin-left: 3px;
}
.news-row .entry-title {
    color: #002D5B;
    padding-bottom: 6px;
}
.news-row .et_pb_post:hover .entry-title {
    text-decoration: underline;
}
.news-row .et_pb_post .entry-featured-image-url, .news-row .et_pb_blog_grid .et_pb_image_container {
    margin-bottom: 22px;
}
.news-row .et_pb_blog_grid .et_pb_post {
    padding: 21px;
    padding-bottom: 15px;
    box-shadow: 0 0 45px rgba(0,0,0,0);
    transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
}
.news-row .et_pb_blog_grid .et_pb_post:hover {
    box-shadow: 0 0 45px rgba(0,0,0,0.05);
}
.news-row .et_pb_blog_grid .et_pb_post .post-meta {
    color: #66819d;
    font-size: 16px;
}
.news-row .et_pb_blog_grid .et_pb_post .post-meta a:hover {
    text-decoration: underline;
}
.et_pb_button {
    text-decoration: none!important;
}
.news-row .et_pb_button_module_wrapper {
    display: inline-block;
    float: right;
    margin-left: 15px;
}

.vaakunat-row .vaakuna img {
    max-height: 60px;
}
.vaakunat-row h4 {
    font-size: 16px;
    color: #002D5B;
}
.vaakunat-row .vaakuna:hover h4 {
    text-decoration: underline;
}
#main-footer {
    background-color: #002D5B!important;
    background: url("/wp-content/themes/Divi-phliitto/row bigger.jpg") no-repeat;
    background-size: cover;
    padding-top: 20px;
    padding-bottom: 35px;
}
#footer-widgets .footer-widget .textwidget a:after, #footer-widgets .footer-widget .widget_nav_menu a:after  {
    content: "";
    background: url("/wp-content/themes/Divi-phliitto/arrow-white.png") no-repeat;
    width: 20px;
    height: 20px;
    position: absolute;
    background-size: cover;
    margin-left: 5px;
    margin-top: 3px;
}

.footer-widget:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.4);
}
.footer-widget:last-child {
    border-left: 1px solid rgba(255, 255, 255, 0.4);
}
.footer-widget, #footer-widgets .footer-widget a, #footer-widgets .footer-widget li a, #footer-widgets .footer-widget li a:hover {
    color: white!important;
    font-family: "Sofia Pro", sans-serif;
}
#footer-widgets .footer-widget a {
    text-decoration: underline;
}
#footer-widgets .footer-widget a:hover {
    text-decoration: none;
}
#footer-widgets .footer-widget p {
    color: white;
}
#footer-widgets .footer-widget li a {
    font-weight: 500;
}
#footer-widgets .footer-widget li a:hover {
    text-decoration: underline;
}
#footer-widgets .footer-widget li {
    text-align: left;
    padding-bottom: 2px;
}
#footer-widgets .footer-widget:last-child {
    padding-left: 5.5%;
}
.et_pb_widget a {
    font-weight: 500;
}

/* projekti */
.container.flex {
    display: flex;
    flex-wrap: wrap;
}
.image-here {
    width: 70%;
    float: left;
}
.info-here {
    width: 30%;
    float: left;
    background: url("/wp-content/themes/Divi-phliitto/row bigger.jpg") no-repeat;
    background-size: cover;
    color: white;
    padding: 35px;
    font-family: "Sofia Pro", sans-serif;
}
.info-here p {
    color: white;
    padding-bottom: 15px;
    line-height: 1.6;
}
.info-here a {
    color: white;
    text-decoration: underline;
}
.info-here a:hover {
    text-decoration: none;
}
.uusi-projekti .sub-image {
    margin-right: 0;
    margin-bottom: 0;
    height: 100%;
    min-height: 435px;
    position: relative;
    padding: 190px 65px 150px 65px;
}
.sub-image .entry-title {
    color: white;
    position: relative;
    text-shadow: 0 0 45px rgba(0, 0, 0, 0.25);
    font-size: 55px;
}

body .et_pb_bg_layout_light.et_pb_button:hover {
    background-color: #002d5b!important;
}

.breadcrumb {
    width: 100%;
    transform: translateY(-30px);
    font-family: "Intro", sans-serif;
    font-size: 14px;
}
.breadcrumb span {
    color: #FFDE17;
    font-family: "Intro", sans-serif;
    font-size: 14px;
}
.breadcrumb a, .breadcrumb span.breadcrumb_last {
    color: #002D5B;
    font-weight: 500;
    font-family: "Intro", sans-serif;
    font-size: 14px;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.entry-content a {
    font-weight: 500;
    text-decoration: underline;
}
.container.no-padding {
    padding-top: 0!important;
}
.container.no-padding #left-area {
    padding-top: 50px;
}
.side-menu .menu-paavalikko-container {
    border: none;
}

#left-area .entry-content a[target="_blank"] {
    margin-right: 20px;
}
#left-area .entry-content a[target="_blank"]:after {
    background: url("/wp-content/themes/Divi-phliitto/blank-blue.png") no-repeat;
    background-size: cover;
    width: 15px;
    height: 15px;
    content: "";
    position: absolute;
    margin-left: 3px;
    margin-top: 7px;
}
#left-area .entry-content .wp-block-image a[target="_blank"]:after {
    background: none;
}
#left-area .has-vivid-cyan-blue-color {
    color: #232426!important;
}
#left-area .entry-content a.some-icon[target="_blank"]:after {
    background: none;
    width: 0;
    height: 0;
    margin: 0;
}
#left-area .entry-content a.some-icon {
    text-decoration: none;
    margin-right: 5px;
}
#main-footer #footer-widgets .footer-widget .widget_nav_menu a[target="_blank"]:after {
    background: url("/wp-content/themes/Divi-phliitto/blank-white.png") no-repeat;
    background-size: cover;
    width: 15px;
    height: 15px;
}

#content-area h1, #content-area h2, #content-area h3 {
    color: #002D5B;
}
.side-menu a {
    color: #002D5B;
}
.side-menu a:hover {
    text-decoration: underline;
    color: #002D5B;
}
.side-menu .uutisnosto li {
    color: #66819d;
}
.sidenavi a {
    padding: 16px 25px;
    padding-left: 45px;
    background: #f7f8fa;
}
.sidenavi li.current-menu-parent ul li a:after {
    content: "";
    background: url("/wp-content/themes/Divi-phliitto/arrow-blue.png") no-repeat;
    background-size: cover;
    position: absolute;
    width: 19px;
    height: 18px;
    margin-left: 5px;
    margin-top: 3px;
}
.sidenavi li.current_page_item a {
    color: #002D5B;
    text-decoration: underline;
    background: #edeff2;
}
.sidenavi li.current-menu-parent ul li.current_page_item a:after {
    background: none;
}
.side-menu .sub-menu {
    padding-left: 0;
}
.side-menu li.current-menu-parent a {
    font-size: 16px;
}
.side-menu li.current-menu-parent > a:before {
    content: "";
    background: url("/wp-content/themes/Divi-phliitto/arrow-blue-left.png") no-repeat;
    background-size: cover;
    position: absolute;
    width: 19px;
    height: 18px;
    margin-left: -25px;
    margin-top: 3px;
}
.side-menu li.current_page_item .sub-menu a {
    text-decoration: none;
    color: #002D5B;
}
.side-menu li.current_page_item .sub-menu a:hover {
    text-decoration: underline;
    color: #002D5B;
}
.side-menu .sub-menu .sub-menu {
/*    margin-bottom: 15px;*/
    margin-left: 15px;
}
.sidenavi li.current-menu-parent ul li.current_page_item ul li a:after {
    background: url(/wp-content/themes/Divi-phliitto/arrow-blue.png) no-repeat;
    background-size: cover;
}
.side-menu li .sub-menu a {
    padding-right: 40px;
}

body .side-menu ul li.current-menu-parent ul li ul li {
    display: none;
}
body .side-menu ul li.current-menu-parent ul li.current_page_item ul li {
    display: block;
}
.tribe-common .tribe-common-anchor-thin:hover, .tribe-common .tribe-common-anchor-thin {
    border: none!important;
}
#left-area .entry-content .tribe-events-calendar-list__event-details a {
    text-decoration: none;
    display: block;
}
#left-area .entry-content .tribe-events-calendar-list__event-details a:hover {
    text-decoration: underline;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-row {
    border-bottom: 1px solid #f0f2f5;
    padding-bottom: 30px;
}


#content-area {
    padding-bottom: 0;
}
.et_right_sidebar #left-area {
    padding-bottom: 45px;
}
.wp-block-image {
    margin-top: 20px;
    margin-bottom: 15px;
}
#left-area .entry-content a {
    color: #002D5B;
    text-decoration: underline;
}
#left-area .entry-content a:hover {
    text-decoration: none;
}
 .uusi-projekti .uutisnosto {
    margin-bottom: 35px;
}
.side-menu {
    margin-bottom: 35px;
}
.side-menu ul li ul li {
    display: none;
}
.side-menu ul li.current-menu-parent ul li {
    display: block;
}

.et_pb_button, .et_pb_button:hover {
    box-shadow: none;
}
.et_pb_button:hover {
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
}

.wp-block-table td, .wp-block-table th, .entry-content tr td, body.et-pb-preview #main-content .container tr td {
    border-color: #d8dee5;
    font-family: "Sofia Pro", sans-serif;
    padding: 15px 20px !important;
}

.lainaus .et_pb_text, .lainaus .et_pb_text p {
    font-family: "Intro", sans-serif;
    font-size: 28px;
    color: #002D5B;
    line-height: 34px;
}
.lainaus .et_pb_text:before {
    content: "";
    width: 38px;
    height: 32px;
    margin-left: -51px;
    background: url(/wp-content/themes/Divi-phliitto/lainaus.png) no-repeat;
    background-size: cover;
    position: absolute;
}
#left-area .entry-content ul {
    line-height: 28px;
}
#left-area .entry-content ul li {
    font-family: "Sofia Pro", sans-serif;
}

/* landing */

.front-banner.landing-banner {
    background: #002D5B!important;
}
.nosto-row .et_pb_text {
    max-width: 1150px;
}
.landing-three-row .et_pb_text {
    background: white;
    box-shadow: 0 0 45px rgba(0,0,0,0);
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.landing-three-row .et_pb_text.et_clickable:hover {
    box-shadow: 0 0 45px rgba(0,0,0,0.05);
}
.landing-three-row .et_pb_text .et_pb_text_inner h2, .landing-three-row .et_pb_text .et_pb_text_inner h3 {
    color: #002D5B;
    font-size: 18px;
    padding: 23px;
    padding-top: 14px;
    padding-right: 90px;
}
.landing-three-row .et_pb_text.et_clickable:hover h2, .landing-three-row .et_pb_text.et_clickable:hover h3 {
    text-decoration: underline;
}
.landing-three-row .et_pb_text.et_clickable .et_pb_text_inner:after {
    content: "";
    background: #FFDE17 url(/wp-content/themes/Divi-phliitto/arrow-blue.png) no-repeat;
    background-size: 30px;
    background-position: 50%;
    width: 25px;
    height: 23px;
    padding: 25px;
    color: #002D5B;
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 24px;
}
.landing-three-row .et_pb_text img {
    height: 275px;
    object-fit: cover;
}

#et-secondary-menu a {
    font-size: 14px;
}

.wp-block-pb-accordion-item {
    background: #f7f8fa;
    padding: 26px 28px;
}
.entry-content .js-accordion-item {
    margin-bottom: 20px;
}
.wp-block-pb-accordion-item .c-accordion__title {
    font-size: 18px;
    padding-bottom: 0!important;
}
.wp-block-pb-accordion-item .c-accordion__title:hover {
    text-decoration: underline;
}
#left-area .wp-block-pb-accordion-item .c-accordion__title:after {
    content: "+";
    background: none;
    transform: translateY(-12px);
    width: auto;
    height: auto;
    margin: 0;
    color: #002D5B;
    font-family: "Sofia Pro", sans-serif;
}
#left-area .wp-block-pb-accordion-item .c-accordion__title[aria-expanded="true"]:after {
    content: "-";
}
.c-accordion__content {
    margin-top: 10px;
    padding-top: 10px;
}

.listaus.yhteystiedot {
    max-width: 630px;
    padding-top: 22px;
    padding-bottom: 22px;
}
.yhteystiedot .yhteystieto {
    width: 46%;
    margin-right: 4%;
    display: block;
}
.yhteystiedot .yhteystieto:nth-child(even) {
    margin-right: 0;
}
.yhteystiedot .image img {
    border-radius: 0;
    border: none;
    width: 100%;
}
.yhteystiedot .yhteystieto-box {
    background: #f7f8fa;
}
.yhteystiedot .yhteystieto .text .text-container {
    align-items: start;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 15px;
    font-family: "Sofia Pro", sans-serif;
}
.yhteystiedot .yhteystieto .yhteystieto-box > div {
    display: block;
}
.yhteystiedot .yhteystieto .text .text-container > div {
    text-align: left;
    line-height: 21px;
    margin-bottom: 5px;
}
.yhteystiedot .yhteystieto .text {
    margin-top: 5px;
}
.seealsolink {
    background: #f7f8fa;
    padding: 20px 24px;
}
.seealsolink .et_pb_text_inner p {
    font-family: "Intro", sans-serif;
    color: #002D5B;
}
.seealsolink.et_clickable .et_pb_text_inner p:after {
    content: "";
    background: url(/wp-content/themes/Divi-phliitto/arrow-blue.png) no-repeat;
    background-size: cover;
    position: absolute;
    width: 19px;
    height: 18px;
    margin-left: 6px;
    margin-top: 3px;
}
.seealsolink.et_clickable .et_pb_text_inner:hover p {
    text-decoration: underline;
}
.entry-content .seealsolink a {
    text-decoration: none;
}
.entry-content .seealsolink a:hover {
    text-decoration: underline;
}
.entry-content .seealsolink a:after {
    content: "";
    background: url(/wp-content/themes/Divi-phliitto/arrow-blue.png) no-repeat;
    background-size: cover;
    position: absolute;
    width: 19px;
    height: 18px;
    margin-left: 6px;
    margin-top: 3px;
}
.entry-content .seealsolink a[target="_blank"]:after {
    content: "";
    background: url(/wp-content/themes/Divi-phliitto/blank-blue.png) no-repeat;
    background-size: cover;
    position: absolute;
    width: 19px;
    height: 18px;
    margin-left: 6px;
    margin-top: 3px;
}

#left-area .wp-block-button__link {
    background-color: #ffde17!important;
    color: #0e0e0e!important;
    margin-bottom: 10px;
    text-decoration: none!important;
    font-size: 14px;
    padding: 12px 24px;
}
#left-area .wp-block-button__link:hover {
/*    text-decoration: underline!important;*/
    color: #ffffff !important;
    background-color: #002d5b!important;
}

.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
    width: 100%;
    border-bottom: 1px solid #ccd5de;
    opacity: 1;
    margin-bottom: 21px;
}

/* news */
.news-row .et_pb_blog_grid .et_pb_post .post-meta a {
    color: #002d5b;
}
#sidebar .widgettitle {
    margin-bottom: 13px;
}
body.single-post #content-area h1 {
    font-size: 38px;
}
body.archive #left-area .et_pb_post a, body.archive #left-area .et_pb_post a:hover, body.search-results #left-area .et_pb_post a, body.search-results #left-area .et_pb_post a:hover {
    color: #002D5B;
}
#left-area .post-meta a {
    color: #002D5B;
}
body.archive #left-area .entry-title:after, body.search-results #left-area .entry-title:after {
    background: none;
}
.archive #left-area img, .search-results #left-area img {
    display: none;
}
body.archive #left-area .et_pb_post, body.search-results #left-area .et_pb_post {
    font-family: "Sofia Pro", sans-serif;
    border-bottom: 1px solid #ccd5de;
    margin-bottom: 35px;
    padding-bottom: 30px;
}
body.archive #left-area .post-meta, body.search-results #left-area .post-meta {
    padding-bottom: 5px;
}

body .entry-content ol li {
    font-family: "Sofia Pro", sans-serif;
}

#tribe-events-pg-template {
    padding-left: 0;
}
.ilmasto #left-area .entry-content .wp-block-button a {
    color: white!important;
}

@media (min-width: 981px) {
    .et_right_sidebar #left-area {
        padding-left: 0;
        border-right: 1px solid #ccd5de;
    }
    .page-template-ilmastokumppanuus #left-area, .page-template-ilmastokumppanuusilmantaustaa #left-area {
        padding-left: 35px;
        border-right: none;
    }
    .info-here {
        padding: 35px 45px;
    }
    #content-area {
        display: flex;
        flex-wrap: wrap;
    }
    .uusi-projekti #side-menu {
        padding-left: 0px;
        width: 30%;
        margin-top: 32px;
    }
    .uusi-projekti .uutisnosto {
        padding-left: 45px;
    }
    .et_pb_gutters3.et_pb_footer_columns3 .footer-widget .fwidget {
        margin-bottom: 0;
    }
    .et_header_style_centered #top-menu>li>a {
        padding-top: 26px;
        padding-bottom: 26px!important;
    }
    .et_header_style_centered #main-header div#et-top-navigation {
        height: 66px;
    }
    .et_header_style_centered #top-menu>li>a:hover {
        background: #eff1f5;
        text-decoration: underline;
    }
    body .et-fixed-header #top-menu li.current-menu-item>a {
        color: #002D5B!important;
    }
    #main-header, .et-fixed-header {
        border-bottom: 1px solid white;
    }
    #main-header.et-fixed-header #top-menu li.current-menu-ancestor>a {
        color: #002D5B!important;
    }
    #main-header.et-fixed-header #top-menu li.current-menu-ancestor>.sub-menu a, .et-fixed-header .paanavi #top-menu li li a {
        color: #002D5B !important;
    }
    .et_pb_gutters3 .footer-widget {
        margin-right: 5%;
    }
}
@media (max-width: 1180px) {
    #top-menu .menu-item-has-children>a:first-child {
        padding-right: 10px!important;
        font-size: 14px;
    }
    #et-top-navigation {
        padding-left: 20px;
    }
}
@media (max-width: 980px) {
    #footer-widgets .footer-widget li {
        text-align: left;
    }
    .container.flex {
        display: block;
    }
    .image-here, .info-here {
        width: 100%;
        float: none;
    }
    .uusi-projekti .side-menu {
        display: block;
        width: 100%;
    }
    .et_mobile_menu li a:hover {
        background: transparent;
    }
}
@media (max-width: 768px) {
    .front-links-row .et_pb_text_inner p img {
        width: 50px;
    }
    .yhteystiedot .yhteystieto {
        width: 70%;
    }
    #footer-widgets .footer-widget:nth-child(n), #footer-widgets .footer-widget .fwidget {
        margin-bottom: 3.5% !important;
    }
    .nosto-row .et_pb_column.et_clickable:after {
        padding: 20px;
    }
    .sidenavi li.current-menu-parent ul li a:after {
        margin-left: 4px;
    }
    .uusi-projekti .sub-image {
        min-height: 240px;
        padding: 90px 30px 60px 30px;;
    }
    .et_pb_row, .container {
        width: 90%;
    }
    .landing-content h1 {
        font-size: 38px;
        margin-top: 25px;
        margin-bottom: -10px;
    }
    .side-menu {
        border-top: 1px solid #ccd5de;
        padding-top: 15px;
        margin-top: 18px;
    }
    .hero-section h1 {
        font-size: 48px;
    }
    .sub-image .entry-title {
        font-size: 32px;
        word-break: break-word;
    }
    body.single-post #content-area h1 {
        font-size: 32px;
    }
    .hero-section h1:before {
        width: 30px;
        height: 24px;
        margin-left: -40px;
    }
    .lainaus .et_pb_text:before {
        width: 30px;
        height: 24px;
        margin-left: -40px;
    }
    .lainaus .et_pb_text, .lainaus .et_pb_text p { 
        font-size: 24px;
        line-height: 31px;
    }
    .footer-widget:first-child {
        border-right: none;
    }
    #footer-widgets .footer-widget:last-child {
        border-left: none;
        padding-left: 0;
    }
}

@media (max-width: 479px) {
    .front-links-row .et_pb_column.et_pb_column_1_5 {
        width: 47.25%!important;
        margin-right: 5.5%;
    }
}

.landing-content .landing-banner a {
    text-decoration: none;
}
.landing-content .landing-banner a:hover {
    text-decoration: underline;
}

#left-area .entry-content .sharedaddy a[target="_blank"]:after {
    background: none;
}
#left-area .entry-content .sharedaddy a[target="_blank"] {
    margin-right: 2px;
}

.has-vivid-cyan-blue-background-color {
    background-color: #002D5B;
}

.side-menu .tapahtumat ul li {
    display: block;
}
.side-menu .tapahtumat ul {
    margin-top: 15px;
}
.side-menu .tapahtumat h4 {
    padding-bottom: 0;
}
.side-menu .tapahtumat h4 a {
    padding-bottom: 0;
}
.side-menu .tapahtumat ul li {
    margin-bottom: 18px;
}
.side-menu .tapahtumat ul li .startdate {
    font-weight: 400;
    font-size: 16px;
    font-family: "Sofia Pro", sans-serif;
}

.entry-content .some a {
    text-decoration: none;
}

@media (max-width: 1200px) {
    .wide-contact .listaus.yhteystiedot .yhteystieto {
        width: 28%;
    }
}
@media (max-width: 768px) {
    .wide-contact .listaus.yhteystiedot .yhteystieto {
        width: 70%;
    }
}

:root :where(.wp-block-image figcaption) {
    color: #202020;
}