







/* FONTS TO USE ---------------------------------------------------------------------------------- 

.Franca-Book { 
	font-family: Franca-Book;
	font-weight: normal;
	font-style: normal;
}
.Franca-BookItalic { 
	font-family: Franca-BookItalic;
	font-weight: normal;
	font-style: normal;
}
.Franca-Bold { 
	font-family: Franca-Bold;
	font-weight: normal;
	font-style: normal;
}
.Franca-Medium { 
	font-family: Franca-Medium;
	font-weight: normal;
	font-style: normal;
}
.Franca-BoldItalic { 
	font-family: Franca-BoldItalic;
	font-weight: normal;
	font-style: normal;
}
.Franca-MediumItalic { 
	font-family: Franca-MediumItalic;
	font-weight: normal;
	font-style: normal;
}
.Franca-SemiBoldItalic { 
	font-family: Franca-SemiBoldItalic;
	font-weight: normal;
	font-style: normal;
}
.Franca-ExtraBold { 
	font-family: Franca-ExtraBold;
	font-weight: normal;
	font-style: normal;
}
.Franca-ExtraBoldItalic { 
	font-family: Franca-ExtraBoldItalic;
	font-weight: normal;
	font-style: normal;
}

/* late styling :) ---------------------------------------------------------------------------------- */


.single.single-post .entry-content p button a, .single.single-post .entry-content p button {
    color: #fff;
    border: none !important;
} 

.page .entry-content p button a, .page .entry-content p button {
    color: #fff;
    border: none !important;
} 

/* START Testing styles ---------------------------------------------------------------------------------- */


.site-header {
}

/* END Testing styles ---------------------------------------------------------------------------------- */

/* START Header area ---------------------------------------------------------------------------------- */

/* Primary Navigation  */

.genesis-nav-menu.menu-primary .site-navi-two a, .genesis-nav-menu.menu-primary .site-navi-one a {
    background-color: #F0F0F0;
}

.genesis-nav-menu.menu-primary .site-navi-two a {
    border-right: 0px;
}

.title-area .site-title {
    display: table-cell;
    vertical-align: middle;
    width: 129px;
}

.genesis-nav-menu li.right.search {
    width: 100%;
    margin: 0px;
    padding: 0px;
}

.genesis-nav-menu form {
    width: 100%;
}

.genesis-nav-menu form.search-form input {
    width: 100%;
    margin: 7px 0px 1px 0px;
    padding: 15px 20px;
}

.genesis-nav-menu form.search-form input[type="submit"] {
    display: none;
}



/* Widget area: description  */

.site-header div.title-area .description section {
    display: table-cell;
    height: 100%;
    vertical-align: middle;
}

.site-header .title-area .description  .widget-wrap {
    display: table;
}

.site-header .title-area .description .textwidget {
    display: table-cell;
    vertical-align: middle;
}

.site-header .title-area .description .textwidget p {
    margin: 0px;
    margin-top: 10px;
    font-family: Franca-Bold;
	font-weight: normal;
	font-style: normal;
    font-size: 18px;
    font-size: 1.4rem;
}

/* Widget area: Header-right  */





.tue-caption {
    max-height: 30px;
    height: 30px;
    display: table-cell;
    vertical-align: middle;

}

img.tue {
    display: initial;
    max-height: 100%;
    width: auto;
    height: 30px;
    margin: 0px 5px;
    margin-bottom: -5%;
}

.site-header .header-widget-area a.tue {
    font-family: Franca-Bold;
	font-weight: normal;
	font-style: normal;
    text-transform: uppercase;
    color: #000;
    display: initial;
    max-height: 100%;
    width: auto;
    height: 30px;
    margin: 0px 5px;
}


.site-header .header-widget-area .widget.widget_search {
    width: 
}


.site-header .header-widget-area .widget .widget-wrap .textwidget.custom-html-widget {
    height: 100%;
    display: table;
    vertical-align: center;
}


html body .genesis-responsive-menu .sub-menu li .menu-item  a {
    margin: 0px 0px;
}
/* Header - all new media querys  */



@media only screen and (max-width: 1023px) {
    .site-header .title-area .description .textwidget p {
    font-size: 1.1rem;
    }
}

@media only screen and (max-width: 800px) {
    
    .nav-primary {
    border-top: 0px solid #000;
    }
    .site-header .header-widget-area .widget_search {
        display: none;
    }
    .genesis-nav-menu > .search {
	display: block;
    }
}


/* END Header area ---------------------------------------------------------------------------------- */

/* START content area ---------------------------------------------------------------------------------- */

.home.blog .site-inner #genesis-content.content {
    padding: 0px;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    float: none;
}

.content  h2.entry-title a:hover {
    color: #000;
}

/* END content area ---------------------------------------------------------------------------------- */

/* START frontpage area ---------------------------------------------------------------------------------- */

.home.blog .site-inner {
    background: none;
}
.home.blog .site-inner .content .featured-content .entry {
    padding: 10px;
    background-color: #fff;
    margin: 5px;
}

.home.blog .site-inner .content .news-1 {
    width: unset;
    float: left;
    height: unset;
}

.home.blog .site-inner .content .news-1 .entry {
    width: 700px;
    float: left;
    margin: 10px;
    background: #fff;
}

.home.blog .site-inner .content .news-1 .widget_media_image  {
    padding: 10px;
    margin: 10px;
    background: #fff;
}

.home.blog .site-inner .content .news-2  {
    width: unset;
    float: left;
    height: unset;
}

.home.blog .site-inner .content .news-2 .entry {
    width: 340px;
    float: left;
    margin: 10px;
    background: #fff;
}

.home.blog .site-inner .content .news-2 img {
    width: 100%;
}


.home.blog .site-inner .content .news-3 .entry {
    width: 340px;
    float: left;
    margin: 10px;
}

.home.blog .button-4 {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    margin-top: 20px;
    height: auto;
    max-width: 2200px;
    margin-left: auto;
    margin-right: auto;
    float: none;
}

.home.blog  .button-4 .widget {
    display: table;
    width: 100%;
}


.home.blog .button-4 .widget-wrap {
    display: table;
    width: 100%;
    vertical-align: middle;
    text-align: center;
}

.home.blog .button-4 .widget-wrap .textwidget {
    display: table-cell;
    vertical-align: middle;
}

.home.blog .button-4 .widget-wrap .textwidget span.button-4 {
    border-top: 2px solid #000;
    height: 1px;
    width: 25%;
    float: left;
}

.home.blog .button-4 .widget-wrap .textwidget .form-wrapper {
   width: 50%;
    float: left;
    display: block; 
}

.home.blog .button-4 .widget-wrap .textwidget .form-wrapper form {
    width: 48%;
    margin-left: 1%;
    margin-right: 1%;
    float: left;
}

.home.blog .button-4 .widget-wrap .textwidget .form-wrapper form button {
    width: 100%;
    border: none;
}

.home.blog .button-4 .widget-wrap .textwidget .form-wrapper form button:hover, .home.blog .site-inner .content .button-4 .widget-wrap .textwidget .form-wrapper form.blogit button:hover, .home.blog .site-inner .content .button-4 .widget-wrap .textwidget .form-wrapper form.uutiset button:hover {
    background-color: #000;
}

.home.blog .button-4 .widget-wrap .textwidget .form-wrapper form.blogit button {
    background-color: #00A7E7;
}

.home.blog .bloginosto-5 .widget ul li {
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.bloginosto-5 .genesis_responsive_slider .slide-image {
    width: 600px;
    max-width: 50%;
    height: auto;
}

.bloginosto-5 .genesis_responsive_slider .slide-image a img {
    width: 600px;
    max-width: 100%;
    height: auto;
}

.bloginosto-5 .genesis_responsive_slider .slide-excerpt {
    filter: alpha(opacity=100);
    display: block;
    margin: 0px;
    opacity: 1;
    padding: 0;
    position: initial;
    z-index: 8;
    float: right;
    background: transparent;
}

.bloginosto-5 .genesis_responsive_slider div.slide-excerpt p {
    margin: 0px;
    padding: 0px;
}

.bloginosto-5 #genesis-responsive-slider {
    background-color: #9F579E;
    border: 0px solid #eee;
    margin: 0 auto;
    padding: 00px;
    position: relative;
}

.bloginosto-5 #genesis-responsive-slider .flexslider {
    background: transparent;
}

html > body .bloginosto-5 .slide-excerpt-border {
    background: none;
    border: 0px solid #ddd;
    color: #fff;
}

html > body .bloginosto-5 .slide-excerpt-border h2 a {
    color: #fff;
}

.home.blog .featuredpost p.entry-meta {
    font-size: 20px;
    font-size: 1.5rem;
    margin-bottom: 0;
    display: inline-block;
    background-color: #DE323D;
    color: #fff;
    padding: 6px;
    float: left;
    margin-top: -30px;
    z-index: 999;
    position: relative;
    font-family: Franca-Bold;
	font-weight: normal;
	font-style: normal;
    text-transform: uppercase;
}

.page-template-page_blog .entry-footer {
    display: none;
}

.news-3 .featuredpost {
    width: auto;
    float: left;
    display: block;
}

.home.blog div.news-3 .featuredpost p.entry-meta {
    font-size: 1.2rem;
    margin-top: -27px;
}

.home.blog .featuredpost .category-blogi p.entry-meta {
    background-color: #00A7E7;
}

.home.blog .featuredpost p.entry-meta .entry-categories a {
    color: #fff;
}

.home.blog .featuredpost h4 {
    margin: 0px;
    padding: 0px;
    text-align: left;
    font-size: 24px;
    font-size: 2.25rem;
}

.home.blog .featuredpost .entry-header {
    margin: 0px;
    padding: 0px;
    border: none;
}

.home.blog .news-1 .featuredpost header.entry-header {
    margin-top: -1px;
}

.home.blog .featuredpost .entry-header::after {
    border-bottom: none;
    content: none;
    display: none;
    margin: 0 auto 60px;
    padding-bottom: 0px;
    width: 25%;
}
.news-2 {
display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.news-3 {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.home.blog .featuredpost .entry a.aligncenter, .home.blog .featuredpost .entry a.alignleft, .home.blog .featuredpost .entry a.alignright {
    margin-bottom: 10px;
}

.home.blog .site-inner {
    padding: 0px;
}


.home.blog .nostot-wrap div.uhteus-6 {
    background-color: #fff;
    margin: 10px;
    padding: 10px;
    display: inline-block;
    font-family: Franca-Bold;
	font-weight: normal;
	font-style: normal;
}


.home.blog .nostot-wrap div.uhteus-6 h2.uhteus {
    width: 100%;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
    text-align: center;
}

body.home .nostot-wrap div.uhteus-6 section {
    background-color: #fff;
}

body.home .nostot-wrap div.uhteus-6 section.widget-count-2 {
    width: 50%;
    padding: 10px;
    float: left;
}

body.home .nostot-wrap div.uhteus-6 section.widget-count-3 {
    width: 33.33%;
    padding: 7px;
    float: left;
}


body.home .nostot-wrap div.uhteus-6 section.widget-count-2 p {
    width: 45%;
    padding-left: 10px;
    float: left;
    font-size: 80%;
}

body.home .nostot-wrap div.uhteus-6 section.widget-count-3 p {
    width: 50%;
    padding-left: 5px;
    float: left;
    font-size: 60%;
}


body.home .nostot-wrap div.uhteus-6 section img {
    width: 100%;
    height: auto;
}

body.home .slide-excerpt-border p a, body.home .slide-excerpt-border a:focus, body.home .slide-excerpt-border a:hover {
    color: #fff;
    font-family: Franca-Bold;
	font-weight: normal;
	font-style: normal;
}


.home.blog #nuoret_wrapper .site-inner .content .news-1 .entry, .home.blog #seniorit_wrapper .site-inner .content .news-1 .entry {
    width: 100%;
    max-width: 100%;
    padding: 0px;
    margin: 0px;
}
.home.blog #nuoret_wrapper .site-inner .content .news-1 .entry img, .home.blog #seniorit_wrapper .site-inner .content .news-1 .entry img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.home.blog #nuoret_wrapper .site-inner .content .news-1 .featured-content, .home.blog #seniorit_wrapper .site-inner .content .news-1 .featured-content {
    padding: 10px;
    margin: 10px;
    background-color: #fff;
}

.home.blog #nuoret_wrapper .button-4 .widget-wrap .textwidget .form-wrapper, .home.blog #seniorit_wrapper .button-4 .widget-wrap .textwidget .form-wrapper {
    width: 30%;
    float: left;
    display: block;
}
.home.blog #nuoret_wrapper .button-4 .widget-wrap .textwidget span.button-4, .home.blog #seniorit_wrapper .button-4 .widget-wrap .textwidget span.button-4 {
    border-top: 2px solid #000;
    height: 1px;
    width: 35%;
    float: left;
}

.home.blog #nuoret_wrapper .button-4 .widget-wrap .textwidget .form-wrapper form, .home.blog #seniorit_wrapper .button-4 .widget-wrap .textwidget .form-wrapper form {

    width: 98%;
    margin-left: 1%;
    margin-right: 1%;
    float: left;
    display: block;

}

.home .content div.bloginosto-5 .widget {
    padding: 10px;
    background-color: #fff;
    margin: 10px;
}   

.home .content div.sosmed-wrap .bloginosto-5-2 {
    width: 100%;
    background: #fff;
    display: flex;
    flex-wrap: wrap;
	justify-content: center;
	flex-direction: column;
	align-content: center;
	align-items: center;
}
.tribe-events-widget-events-list .tribe-events-widget-events-list__header h2 {
	font-size: 30px !important;
	text-align: center;
	font-weight: bold !important;
	margin-top: 3rem !important;
	margin-bottom: 3rem !important
}
div.bloginosto-5-2 .widget {
    margin: 30px 0;
	width: 100%;
    max-width: 85rem;
    padding: 20px;
    display: block;
}
#woocommerce_products-3 {
	border-bottom: 1px solid #000 !important;
}
div.bloginosto-5-2 .widget.widget_custom_html {
    width: 100%;   
}


#seniorit_wrapper.all_wrapper div.bloginosto-5-2 .widget {
    width: 100%;
}

.home .content div.sosmed-wrap {
    padding: 10px;   
}
.home .content div.sosmed-wrap .bloginosto-5-2 .tribe-compatibility-container {
	max-width: 85rem;
	padding: 1rem;
	border-bottom: 1px solid #000;
}
.home .content div.sosmed-wrap .bloginosto-5-2  .tribe-events-list-widget {
    width: 50%;
    float: left;
    background: #fff;
    padding: 20px;
}
.tribe-common--breakpoint-medium.tribe-events-widget .tribe-events-widget-events-list__event-row {
	margin-bottom: 5rem !important;
}
.tribe-common--breakpoint-medium.tribe-common .tribe-common-b2--min-medium {
	text-align: center !important;
}
.tribe-events-widget .tribe-events-widget-events-list__view-more-link {
	color: #fff !important;
	background-color: #de323d !important;
	padding: 1rem; !important;
	font-size: 1.5rem !important;
	text-transform: uppercase !important;
}
.tribe-events-widget .tribe-events-widget-events-list__view-more-link:hover {
	background-color: #000 !important;
}
.home .content div.sosmed-wrap .bloginosto-5-2 .tribe-events-list-widget .tribe-events-list-widget-events {
    padding: 0px;
    margin-bottom: 20px;
    text-indent: 0px;
    list-style: none !important;
}

.bloginosto-5-2 .ff-filter-holder {
    display: none;   
}


#ff-errors-1.ff-errors {
    display: none;   
}

.bloginosto-5-2 .ff-loadmore-wrapper {
    display: none;   
}

.bloginosto-5-2 .ff-stream.ff-layout-masonry {
    min-height: unset !important;   
}

.bloginosto-5-2 .ff-stream {
    padding-top: 0px !important;
}

.bloginosto-5-2 div.textwidget p {
 margin: 0px;   
}

.bloginosto-5-2 .sosmed-more {
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
}

.bloginosto-5-2 .sosmed-more a {
    width: 33.33%;
    float: left;
}

.bloginosto-5-2 .sosmed-more a img {
    width: 100%;
    height: auto;
    padding: 20px;
}

.bloginosto-5-2 h3.widgettitle {
 text-align: center;
}
    

/* END seniori front page  */

@media only screen and (max-width: 1200px) {
    
    .home.blog .site-inner .content .news-2 .entry {
        width: 340.66px;
    }
    .home.blog .site-inner .content .news-1 .entry {
            width: 699.33px;
        margin-bottom: 0px;
    }
    .home.blog .site-inner .content .news-3 .featuredpost .entry {
        width: unset;
        padding: 0px;
        margin: 0px;
    }
    .home.blog .site-inner .content .news-3 .featuredpost {
        width: 340px;
        padding: 10px;
        margin: 10px;
        background-color: #fff;
    }
    
    .home.blog #seniorit_wrapper .site-inner .content .news-3 .featuredpost, .home.blog #nuoret_wrapper .site-inner .content .news-3 .featuredpost {
        width: 340px;
    }
    
}

@media only screen and (max-width: 1080px) {
    
    .home.blog .site-inner .content .news-3 {
        display: block;
        background-color: #fff;
    }
    
    .home.blog .site-inner #genesis-content.content {
    max-width: 721px;
}
    .home.blog #seniorit_wrapper .site-inner .content .news-3 .widget-count-3.widget-last, .home.blog #nuoret_wrapper .site-inner .content .news-3 .widget-count-3.widget-last {
        display: none;
    }

}


@media only screen and (max-width: 1024px) {
    
    .home.blog #nuoret_wrapper .button-4 .widget-wrap .textwidget .form-wrapper, .home.blog #seniorit_wrapper .button-4 .widget-wrap .textwidget .form-wrapper {
    width: 80%;
    }
    .home.blog #nuoret_wrapper .button-4 .widget-wrap .textwidget span.button-4, .home.blog #seniorit_wrapper .button-4 .widget-wrap .textwidget span.button-4 {
    width: 10%;
    }
    
    .home.blog .button-4 .widget-wrap .textwidget .form-wrapper form button {
    font-size: 1rem;
    }
    
    .home.blog #seniorit_wrapper .site-inner .content .news-3 .widget-count-3.widget-last, .home.blog #nuoret_wrapper .site-inner .content .news-3 .widget-count-3.widget-last {
        display: block;
    }
    
    .home.blog #seniorit_wrapper .site-inner .content .news-3,  .home.blog #nuoret_wrapper .site-inner .content .news-3 {
        margin: 0px 10px 0px 10px;
        display: block;
    }
    .home.blog #seniorit_wrapper .site-inner .content .news-3 .featuredpost, .home.blog #nuoret_wrapper .site-inner .content .news-3 .featuredpost {
        width: 33.33%;
    }
    
    .home.blog #widgets-inner.site-inner {
    background: none;
    }
    .home.blog .site-inner .content .news-2 {
        width: 40%;
        margin-right: 1%;
    }
    .home.blog .site-inner .content .news-2 .entry {
        width: 100%;
        margin: 0px;
    }
    .home.blog .site-inner .content .news-1 .entry, .home.blog .site-inner .content .news-1 {
        width: 100%;
        margin-bottom: 1%;
    }
    .home.blog .site-inner .content .news-1 .entry, .home.blog .site-inner .content .news-1 .entry {
        width: 100%;
        margin: 0px;
    }
    .home.blog .site-inner .content .news-3 .featuredpost {
        width: 59%;
        margin: unset;
    }
    .home.blog .site-inner .content .news-3 .entry {
        margin: 0px;
        width: 100%;
    }
    .home.blog .featuredpost h4 {
    font-size: 1.7rem;
    }
    .home.blog .news-3 .entry a.aligncenter, .home.blog .news-3 .entry a.aligleft, .home.blog .news-3 .entry a.alignright {
        width: 120px;
        max-width: 33.33%;
        float: left;
        margin-right: 10px;
    }
    .home.blog div.news-3 .featuredpost p.entry-meta {
    font-size: 1.1rem;
    margin-top: 0px;
    width: 100%;
    padding: 5.6px;
}
    .home.blog #seniorit_wrapper .site-inner .content div.news-3 .featuredpost p.entry-meta,  .home.blog #nuoret_wrapper .site-inner .content div.news-3 .featuredpost p.entry-meta {
        margin-top: -6px;
    }
    
    .home.blog .button-4 .widget-wrap .textwidget span.button-4 {
    width: 10%;
    }
    .home.blog .button-4 .widget-wrap .textwidget .form-wrapper {
    width: 80%;
    }
    .site-inner {
    margin-top: 20px;
    }
    
}

@media only screen and (max-width: 800px) {
    
    html > body .bloginosto-5 .slide-excerpt-border h2 a {
    font-size: 75%;
    line-height: normal;
    }
    
    .bloginosto-5 .genesis_responsive_slider div.slide-excerpt p {
    font-size: 80%;
    }   
    
    .home.blog #nuoret_wrapper .button-4 .widget-wrap .textwidget .form-wrapper, .home.blog #seniorit_wrapper .button-4 .widget-wrap .textwidget .form-wrapper {
        width: 98%;
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
    .home.blog #nuoret_wrapper .button-4 .widget-wrap .textwidget span.button-4, .home.blog #seniorit_wrapper .button-4 .widget-wrap .textwidget span.button-4 {
        display: none;
    }
    
    .home.blog #nuoret_wrapper .site-inner .content .news-1 .featured-content, .home.blog #seniorit_wrapper .site-inner .content .news-1 {
        margin: 1%;
        width: 98%;
    }
    .home.blog #seniorit_wrapper .site-inner .content .news-3 .widget-count-3.widget-last, .home.blog #nuoret_wrapper .site-inner .content .news-3 .widget-count-3.widget-last {
        display: none;
    }
    .home.blog #seniorit_wrapper .site-inner .content .news-3 .featuredpost, .home.blog #nuoret_wrapper .site-inner .content .news-3 .featuredpost {
        width: 48%;
        margin: 1%;
    }
    .home.blog .site-inner .content .news-1 .widget_media_image {
        margin: 1%;
    }
    .home.blog #seniorit_wrapper .site-inner .content .news-3, .home.blog #nuoret_wrapper .site-inner .content .news-3 {
        margin: 0px 0px 0px 0px;
    }
    
    body.home .nostot-wrap {
        width: 100%;
    }
    
    body.home .nostot-wrap div.uhteus-6 section.widget-count-2 {
        width: 50%;
        padding: 5px;
    }

    body.home .nostot-wrap div.uhteus-6 section.widget-count-3 {
        width: 50%;
        padding: 5px;
    }
    body.home .nostot-wrap div.uhteus-6 section.widget-count-2 p, body.home .nostot-wrap div.uhteus-6 section.widget-count-3 p {
        width: 45%;
        padding-left: 5px;
        font-size: 50%;
    }
    
    .home.blog .site-inner .content .news-2 {
        width: 31.33%;
        margin-left: 1%;
        margin-right: 1%;
        float: left;
    }
    .home.blog .site-inner .content .news-1 {
        margin-left: 1%;
        margin-right: 1%;
        float: left;
        width: 98%;
    }
    .home.blog .site-inner .content .news-1 .entry {
        width: 100%;
        max-width: 100%;
        margin: 0px;
    }
    .home.blog .site-inner .content .news-3 .featuredpost {
    width: 31.33%;
    margin-left: 1%;
    margin-right: 1%;
    padding: 0px;
    }
    .home.blog .site-inner .content .news-3 .featuredpost .entry {
    width: 100%;
    padding: 10px;
    margin: 0px;
    display: block;
    }
    .home.blog .news-3 .entry a.aligncenter, .home.blog .news-3 .entry a.aligleft, .home.blog .news-3 .entry a.alignright {
    width: 100%;
    max-width: 100%;
    float: left;
    margin: 0px 0px 10px 0px;
    display: block;
    }
    .home.blog .site-inner .content .news-3 .widget-count-3.widget-last {
        display: none;
    }
    .home.blog .featuredpost h4 {
    font-size: 1.5rem;
    }
    .home .content div.sosmed-wrap .bloginosto-5-2 .tribe-events-list-widget {
    padding: 10px;
    }
    .bloginosto-5-2  h4 {
    font-size: 2.3rem;   
    }
}

@media only screen and (max-width: 600px) {
    
    .home .content div.sosmed-wrap .bloginosto-5-2 .tribe-events-list-widget, div.bloginosto-5-2 .widget {
    width: 100%;
    }
    
     html > body .bloginosto-5 .slide-excerpt-border h2 a {
    font-size: 60%;
    line-height: normal;
    }
    
    .bloginosto-5 .genesis_responsive_slider div.slide-excerpt p {
    display: none;
    }
    .home.blog .site-inner .content .news-3 .featuredpost {
    width: 48%;
    }
    .home.blog .site-inner .content .news-1 {
    width: 98%;
    }
    .home.blog .site-inner .content .news-2 {
    width: 48%;
    }
    
}

@media only screen and (max-width: 500px) {
    
     html > body .bloginosto-5 .slide-excerpt-border h2 a {
    font-size: 50%;
    }
    .home.blog .site-inner .content .news-2 {
    width: 98%;
    }
    .home.blog .site-inner .content .news-3 .featuredpost {
    width: 98%;
    }
    .home.blog div.news-3 .featuredpost p.entry-meta {
    margin-top: -25px;
    width: unset;
    }
}

@media only screen and (max-width: 370px) {
    
    .bloginosto-5 .genesis_responsive_slider .slide-image {
    width: 100%;
    max-width: 100%;
    }
    .slide-excerpt {
    width: 100%;
    text-align: center;
    }
    html > body .bloginosto-5 .slide-excerpt-border {
    border: 0px solid #ddd;
    padding: 0px;
    }
    html > body .bloginosto-5 .slide-excerpt-border h2 {
    margin: 0px;
    }
    .bloginosto-5-2 .ff-stream {
    display: none;
    }
}

@media only screen and (max-width: 320px) {
    .home.blog .site-inner .content .news-3 .featuredpost {
    width: 98%;
    }
    .home.blog .site-inner .content .news-2 {
    width: 98%;
    }
    body.home .nostot-wrap div.uhteus-6 section.widget-count-2 {
    width: 100%;
    padding: 10px;
    }

    body.home .nostot-wrap div.uhteus-6 section.widget-count-3 {
    width: 100%;
    padding: 10px;
    }
    body.home .nostot-wrap div.uhteus-6 section.widget-count-2 p, body.home .nostot-wrap div.uhteus-6 section.widget-count-3 p {
    width: 100%;
    padding-left: 5px;
    font-size: 50%;
    margin-bottom: 10px;
    }
    
}

/* END frontpage area ---------------------------------------------------------------------------------- */

/* START post and page area ---------------------------------------------------------------------------------- */

.page button a {
    color: #FFF;
}

.page button:focus, .page button:hover {
    border: 0px solid #fff;
}

#entry-categories {
    text-transform: uppercase;
}

.content  header.entry-header {
    width: 100%;
}

div.sibling-menu {
    width: 100%;
    display: block;
    font-family: Franca-Bold;
	font-weight: normal;
	font-style: normal;
    
}

div.sibling-menu a {
    margin-bottom: 5px;
    margin-top: 0px;
}

a.parent-post {
    width: 100%;
    padding: 8px;
    background-color: #F0F0F0;
    color: #000;
    display: block;
    margin-bottom: 5px;
    margin-top: 0px;
}

a.parent-post span.arrow {
    font-size: 75%;
}

ul.siblings li a {
    font-size: 75%;
    padding: 8px;
    background-color: #F0F0F0;
    color: #000;
    width: 95%;
    margin-left: 5%;
    display: block;
    margin-bottom: 5px;
    margin-top: 0px;
}

ul.siblings ul.children li a {
    padding: 4px 4px 4px 8px;
    width: 90%;
    margin-left: 10%;
    font-size: 60%;
}

/* Back to seniorit and nuoret */

a.back-to-link {
    padding: 12px;
    margin-bottom: 30px;
    color: #000;
    background-color: #F0F0F0;
    display: block;
}

a.back-to-link:hover {
    color: #fff;
    background-color: #000;
}

h4.back-to {
    margin: 0px;
}
h4.back-to::before {
    content: "\21E0";
    margin-right: 6px;
}

ul.ecs-event-list li {
 list-style-type: none;   
}

/*
ul.ecs-event-list li span.duration.time span br {
    display: none;
}

ul.ecs-event-list li span.duration.time span br:before {
 content: " ";   
}
*/

ul.ecs-event-list h4.entry-title.summary a {
 font-size: 80%;   
}

@media only screen and (max-width: 800px) {
    a.back-to-link {
    padding: 9px;
    margin-top: 15px;
    }
    h4.back-to {
    font-size: 70%;
    }
    .post h1, .page h1 {
        font-size: 3.5rem;
    }
}


@media only screen and (max-width: 400px) {
    .sidebar {
        width: 100%;
    }
}

/* END post and page area ---------------------------------------------------------------------------------- */

/* START footer area ---------------------------------------------------------------------------------- */

.site-footer ,.site-footer  div.widget-wrap p, .site-footer  div.widget-wrap a  {
    line-height: normal;
    hyphens: auto;
}

 .site-footer a {
    color: #de323d;
}

 .site-footer a:hover {
   text-decoration: underline;
}

footer.site-footer {
    margin-top: 50px;
}

.seta_footer_1, .seta_footer_2, .seta_footer_3, .seta_footer_4, .seta_footer_5 {
    display: block;
    width: 20%;
    float: left;
    padding: 0px 10px 20px 10px;
    height: 350px;
    max-height: 235px;
}

.seta_footer_1 {
    border-right: 2px solid #000;
}

.seta_footer_2 {
    border-right: 2px solid #000;
}

.seta_footer_3 {
    border-right: 2px solid #000;
}

.seta_footer_4 {
    border-right: 2px solid #000;
}

.seta_footer_5 {
}

.site-footer .seta_footer_1 section {
    width: 100%;
}

.seta_footer_1 .widget_media_image .widget-wrap {
    text-align: center;
}

.site-footer section img {
    max-height: 50px;
    float: none;
    margin-left: auto;
    margin-right: auto;
    width: auto;
    margin-bottom: 15px;
}

.site-footer section, .site-footer section p {
    font-family: Franca-Bold;
    font-weight: normal;
    font-style: normal;
    color: #000;
    text-align: left;
    text-transform: uppercase;
    font-size: 14px;
    font-size: 1.2rem;
}

.site-footer .uutiskirje button, .site-footer .uutiskirje button:hover {
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    border: 0px solid #000;
    font-size: 90%;
}

#uutiskirje-1 button {
    background-color: #F59D24;
}

#uutiskirje-2 button {
    background-color: #B2BC00;
}

.site-footer  h3.widgettitle.widget-title {
    font-size: 1.5rem;
}

@media only screen and (max-width: 1024px) {
}

@media only screen and (max-width: 800px) {
    
    .seta_footer_1 {
        display: block;
        width: 100%;
        padding: 10px 10px 10px 10px;
        height: auto;
        max-height: 235px;
        border-right: 0px solid #000;
        border-bottom: 2px solid #000;
    }
    .seta_footer_1 .widget-wrap {
        width: auto;
        height: auto;
        display: inline-block;
        float: none;
    }
    .site-footer .seta_footer_1 section {
        width: auto;
        height: auto;
        display: inline-block;
        float: none;
    }
    
    .seta_footer_2, .seta_footer_3, .seta_footer_4, .seta_footer_5 {
        display: block;
        width: 25%;
        float: left;
        padding: 0px 5px 20px 5px;
        height: 350px;
        max-height: 235px;
}  
}

@media only screen and (max-width: 800px) {
    .seta_footer_2, .seta_footer_3, .seta_footer_4, .seta_footer_5 {
        width: 50%;
        border: unset;
    }
    .seta_footer_2, .seta_footer_3 {
        margin-top: 16px;
        height: 140px;
    }
    .seta_footer_4, .seta_footer_5 {
        height: auto;
    }
}


@media only screen and (max-width: 480px) {
    .seta_footer_2, .seta_footer_3 {
        height: 160px;
    }
    
    site-footer, .site-footer div.widget-wrap p, .site-footer div.widget-wrap a {
    font-size: 85%;
}
}
/* END footer area ---------------------------------------------------------------------------------- */


/* START RSS feeds ---------------------------------------------------------------------------------- */

ul.f-items-ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.seta-feed-item  {
    display: block;
    
}

li#f-item-1 {
    width: 100%;
}

li#f-item-2, li#f-item-3, li#f-item-4 {
    width: 33.333%;
}

.seta-feed-item .entry-wrapper {
    margin: 10px;
    background-color: #fff;
    padding: 10px;
    display:  block;
}

.seta-feed-item a {
    display: block;
    width: 100%;
    color: #000;
}

.seta-feed-item a h4 {
    margin: 0px;
    padding: 0px;
    text-align: left;
    font-size: 24px;
    font-size: 100%;
}

li#f-item-1 a h4 {
    font-size: 140%;
}

.seta-feed-item p.entry-meta {
    font-size: 20px;
    font-size: 1.5rem;
    margin-bottom: 0;
    display: inline-block;
    background-color: #DE323D;
    color: #fff;
    padding: 6px;
    float: left;
    margin-top: -51px;
    z-index: 999;
    /* position: relative; */
    position: absolute;
    font-family: Franca-Bold;
    font-weight: normal;
    font-style: normal;
    text-transform: uppercase;
}

.title-link {
    margin-top: -7px;
}

ul.f-items-ul span.entry-categories {
    margin-left: 5px;
}

@media only screen and (max-width: 1023px) {
    .seta-feed-item p.entry-meta {
        font-size: 1rem;
        margin-top: -44px;
    }
    .title-link {
    margin-top: -5px;
    }
    li#f-item-1 a h4 {
        font-size: 120%;
    }
    .seta-feed-item a h4 {
        font-size: 80%;
    }
}

@media only screen and (max-width: 600px) {
     li#f-item-2, li#f-item-3 {
        width: 50%;
    }
    li#f-item-4 {
        display: none;
    }
}

@media only screen and (max-width: 400px) {
     li#f-item-2, li#f-item-3 {
        width: 100%;
    } 
    li#f-item-1 a h4, li#f-item-2 a h4, li#f-item-3 a h4, li#f-item-4 a h4 {
        font-size: 100%;
    }
}

/* END RSS feeds ---------------------------------------------------------------------------------- */

/* START events ---------------------------------------------------------------------------------- */


#tribe-bar-form .tribe-bar-submit input[type="submit"] {
    background: #000;
}

#tribe-events a.tribe-events-ical.tribe-events-button {
    display: none;
}

#tribe-events h2.tribe-events-list-separator-month {
    display: none;
}

#tribe-events div#tribe-events-header nav.tribe-events-nav-pagination {
    display: none;
}

.single-tribe_events .site-inner {
    padding-right: 100px;
    padding-left: 100px;
}

.single-tribe_events .entry {
    margin-bottom: 20px;
}

@media only screen and (max-width: 1023px) {
    .single-tribe_events .site-inner {
    padding: 20px;
}
}

/* END events ---------------------------------------------------------------------------------- */


/* START maintenance ---------------------------------------------------------------------------------- */


html body div.wrap h2 p img.mode {
    max-width: 80%;
    width: 500px;
    margin-left: auto;
    margin-right: auto;
    
}


/* END maintenance ---------------------------------------------------------------------------------- */

/* START search page ---------------------------------------------------------------------------------- */

.search-nav {
    display: inline-block;
    width: 100%;
    
}

.search-nav .genesis-nav-menu a {
    color: #fff;
    display: block;
    margin: 0px 10px 1px 0px;
    padding: 15px;
    border-right: 0px solid #000;
    background-color: #de323d;
}

.search-nav .genesis-nav-menu a:hover {
    background-color: #000;
}

.search_page {
    display: inline-block;
    width: 100%;
    
}

.search_page form.search-form input[type="search"] {
    width: 80%;
    padding: 15px;
    border: none;
    
}

.search_page form.search-form input[type="submit"] {
    width: 20%;
    padding: 15px;
    border: none;
}

h4.haku {
    font-size: 150%;
}

@media only screen and (max-width: 600px) {
    
    h4.haku {
    font-size: 110%;
    }
    
    .search .entry {
        margin-top: 20px;
        margin-bottom: 30px;
    }
    
    .search-nav .genesis-nav-menu a {
        padding: 9px;
        font-size: 70%;
    }
     .search_page form.search-form input[type="search"] {
        padding: 9px;
        font-size: 70%;
        width: 70%;
        border: none;
    }
    .search_page form.search-form input[type="submit"] {
        padding: 9px;
        font-size: 70%;
        width: 30%;
        border: none;
    }
}




/* END search page ---------------------------------------------------------------------------------- */

/* START calendar ---------------------------------------------------------------------------------- */

.events-gridview h3.entry-title.summary {
    font-size: 2.4rem;
    padding: 10px;
}

/* END calendar ---------------------------------------------------------------------------------- */

/* START Shop ---------------------------------------------------------------------------------- */

p.woocommerce-result-count {
    display: none;   
}

.woocommerce-cart .site-inner div.content-sidebar-wrap main#genesis-content.content {
    width: 100%;   
}

.woocommerce-cart .site-inner div.content-sidebar-wrap main#genesis-content.content tbody {
    width: 100%;   
}

.woocommerce-cart .site-inner div.content-sidebar-wrap main#genesis-content.content form.woocommerce-cart-form {
    display: block;
    width: 100%;
}

.woocommerce-cart .site-inner div.content-sidebar-wrap main#genesis-content.content form  .cart {
    display: block;
    width: 100%;
    max-width: 100%;
}

.woocommerce-cart .site-inner div.content-sidebar-wrap main#genesis-content.content form thead {
    width: 100%;
    max-width: 100%;   
}

.woocommerce-cart .site-inner div.content-sidebar-wrap main#genesis-content.content form tbody {
    display: table-row-group;
}

.woocommerce-cart  table.shop_table tbody {
    border: 0px solid #000;   
}


.woocommerce.full-width-content .content {
    padding: 0px !important;
    width: 100%;
}

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    float: left;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 15px;
    position: relative;
    width: 31.33%;
    margin-right: 1%;
    margin-left: 1%;
    background-color: #F0F0F0;
}

.woocommerce ul.products li.product a.button {
    max-width: 90%;
    display: block;
    margin-right: auto;
    margin-left: auto;
    border: 0px solid #fff;
    font-size: 1rem;
}

.woocommerce  a.button {
    border-radius: 0px;
}

h2.woocommerce-loop-product__title {
    color: #000;   
}

.woocommerce ul.products li.product .price {
    color: #000;   
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
    border: 5px solid #F0F0F0;
}

.woocommerce button.button, .woocommerce button.button.alt {
    border-radius: 0px;
    padding: 10px 15px;
    font-size: 1.2rem;
}

.woocommerce .quantity .qty {
    padding: 7px 5px 5px;
}

.woocommerce form.variations_form.cart table.variations tbody tr td.label label {
    font-size: 1.5rem;   
}

.woocommerce tbody {
    border-bottom: 2px solid #000;
    border-top: 2px solid #000;
    padding-top: 13px;
    display: block;
}

.woocommerce-checkout .woocommerce tbody {
    border: 0px solid #000;
}

.woocommerce table.shop_table, .woocommerce table.shop_table td {
    border-color: #000;
}

.woocommerce table.shop_table td {
    border-top: 2px solid #000;
}

.woocommerce table.shop_table {
    border: 2px solid #000;
}

.woocommerce table.shop_table tbody th, .woocommerce table.shop_table tfoot td, .woocommerce table.shop_table tfoot th {
    border-top: 2px solid #000;
}

.woocommerce-checkout .woocommerce .product-name a {
    color: #000;   
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li {
    border-color: #000000;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: 2px solid #000;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    border-bottom: 2px solid #000;
}

.woocommerce-page .entry-header::after {
    border-bottom: 0px solid #000;
}

.woocommerce ul.order_details li {
    border-right: 2px solid #000;
}

.woocommerce .products ul, .woocommerce ul.products {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.woocommerce .textwidget ul.products {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.woocommerce .textwidget ul.products li.product {
    width: 31.33%;
    margin-right: 1%;
    margin-left: 1%;
}

.woocommerce .textwidget ul.products li.product a img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 0 1em;
    box-shadow: none;
    border-radius: 100%;
    background-color: #fff;
}

li.product-category.product.first a img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 0 1em;
    box-shadow: none;
    border-radius: 100%;
    background-color: #fff;
}

.woocommerce .textwidget ul.products li.product .woocommerce-loop-category__title {
    text-align: center;
}
 
.woocommerce .textwidget ul.products li.product .wp-post-image {
    width: 49%;
    float: left;
    margin-bottom: 0px;
}

.woocommerce .textwidget ul.products li.product h2.woocommerce-loop-product__title {
    width: 100%;
    float: right;
    font-size: 100%;
    text-align: center;
}

.woocommerce .textwidget ul.products li.product span.price {
    width: 49%;
    float: right;
}

.woocommerce .textwidget ul.products li.product a.button {
    width: 100%;
    float: right;
}

.woocommerce  .shop_news-wrap .featured-content .widget-wrap {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.woocommerce  .shop_news-wrap .featured-content .widget-wrap article {
    width: 33.33%;
    margin: 0px;
    padding: 10px;
}

.woocommerce  .shop_news-wrap .featured-content .widget-wrap article .entry-header::after {
    margin: 0px;
    display: none;
}

.woocommerce  .shop_news-wrap .widget_text button {
    float: none;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    display: block;
}

.woocommerce  .shop_news-wrap .featured-content .widget-wrap article .entry-title {
    font-size: 80%;
}

.woocommerce  .shop_news-wrap .featured-content .widget-wrap article p.entry-meta {
    font-size: 1.3rem;
}

.single-product .product_shipping_class-lahjoitus button.single_add_to_cart_button {
    margin-right: 10px; 
    margin-top: 10px;
}

.single-product .product_shipping_class-lahjoitus label, .single-product .product_shipping_class-lahjoitus input {
 margin-top: 10px;   
}

/* START GDPR ---------------------------------------------------------------------------------- */




 div.cli-modal-dialog .cli-switch .cli-slider::after {
    content: "estetty";
}

#nuoret_wrapper .bloginosto-5 .widget_text  h3.widgettitle.widget-title {
        text-align: center;      
}

#nuoret_wrapper .bloginosto-5 .widget_text div.textwidget p a {
    background-color: #DE323D;
    border: 0px solid #22a1c4;
    border-radius: 0px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-size: 1.4rem;
    letter-spacing: 2px;
    padding: 15px 25px;
    text-transform: uppercase;
    white-space: normal;
    width: auto;
    font-family: Franca-Bold;
    font-weight: normal;
    font-style: normal;
    margin-left: auto;
    margin-right: auto;
    float: none;
    display: block;
    max-width: 240px;
    text-align: center;
}

#nuoret_wrapper .bloginosto-5 .widget_text div.textwidget p a:hover {
    background-color: #000;
    
}
 
/* STOP GDPR ---------------------------------------------------------------------------------- */

@media only screen and (max-width: 770px) {
    
    .woocommerce .textwidget ul.products li.product {
    width: 48%;
    margin-right: 1%;
    margin-left: 1%;
    }
    
    .woocommerce .shop_news-wrap .widget_text button {
        margin-bottom: 20px;
    }
    
    .woocommerce .shop_featured-wrap {
        margin-top: 20px;   
    }
    
    .woocommerce .textwidget ul.products li.product h2.woocommerce-loop-product__title {
    font-size: 100%;
    }
    
    .woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    margin-bottom: 20px !important;
    }
    
}

@media only screen and (max-width: 600px) {
    .woocommerce ul.products li.product a.button {
        font-size: 0.9rem;
        padding: 10px;
    }
    
    .woocommerce .textwidget ul.products li.product h2.woocommerce-loop-product__title {
    font-size: 120%;
    }
    
}


@media only screen and (max-width: 550px) {
    
    .woocommerce .shop_news-wrap .featured-content .widget-wrap article {
    width: 50%;
    }
    
    .woocommerce .shop_news-wrap .featured-content .widget-wrap article p.entry-meta {
    font-size: 1rem;
    }
    
}

@media only screen and (max-width: 500px) {
    
    .woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
        margin-bottom: 1% !important;
    }
    
    .woocommerce ul.products li.product a.button {
        font-size: 0.75rem;
    }
    
    .woocommerce .textwidget ul.products li.product h2.woocommerce-loop-product__title {
        font-size: 100%;
    }
    
    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 0.8em;
    }
    
    .woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
        padding: 8px;
    }
    
    .woocommerce ul.products[class*="columns-"] li.product, .woocommerce-page ul.products[class*="columns-"] li.product {
    margin-left: 1%;
    margin-right: 1%;
    }
    
    .woocommerce ul.products li.product a.button {
    padding-left: 5px;
    padding-right: 5px;    
    padding-top: 8px;
    padding-bottom: 8px;
    max-width: 100%;
    }
    
}

@media only screen and (max-width: 320px) {
    
    .woocommerce ul.products li.product a.button {
        font-size: 0.6rem;
    }
    
    .woocommerce .textwidget ul.products li.product .wp-post-image {
        width: 100%;
        margin-bottom: 1em;
    }
    
    .woocommerce .textwidget ul.products li.product h2.woocommerce-loop-product__title {
        width: 100%;
        float: left;
    }
    
    .woocommerce .textwidget ul.products li.product span.price {
    width: 100%;
    float: left;
    }
    
    .woocommerce .textwidget ul.products li.product a.button {
    width: 100%;
    float: left;
    }
    
    .woocommerce .textwidget ul.products li.product {
    width: 98%;
    margin-right: 1%;
    margin-left: 1%;
}
}
    
    @media only screen and (max-width: 310px) {
    .single-product .product_shipping_class-lahjoitus label, .single-product .product_shipping_class-lahjoitus input {
    width: 100%;
    display: inline-block;
}

    
    
    
    
}

/* END Shop ---------------------------------------------------------------------------------- */

/* Syles for en/sve front page  */

/*     body.home div#lang_wrapper main#genesis-content.content {
        display: flex;
        flex-wrap: wrap;
} */

body.home div#lang_wrapper .news-3 {
    width: 35%;
    float: left;
    margin: 0px;
    padding: 10px;
}

body.home div#lang_wrapper .nostot-wrap {
    width: 65%;
    float: left;
    margin: 0px;
    padding: 10px;
}

body.home div#lang_wrapper .nostot-wrap .button-4 {
    margin: 0px;
    background-color: #fff;
}

.home.blog div#lang_wrapper .site-inner .content .news-3 .entry {
    width: 100%;
    margin-bottom: 10px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
}

.home.blog div#lang_wrapper .featuredpost p.entry-meta {
    margin-top: 5px;
    display: block;
}

.home.blog div#lang_wrapper .featuredpost .entry-content {
    width: 100%;
    display: inline-block;
    margin-top: 5px;
}

.home.blog div#lang_wrapper .content .widget_text {
    width: 100%;   
}

.home.blog div#lang_wrapper .content .widget_text .widget-wrap {
    width: 100%;
}

.home.blog div#lang_wrapper div.form-wrapper form.uutiset button {
    margin-left: auto;
    margin-right: auto;
    display: block;
}




/* Syles for seniori front page  */

/* START lang page and menu ---------------------------------------------------------------------------------- */

#lang-menu {
    float: right;
    display: table;
    height: 80px;
    padding-top: 10px;
    padding-bottom: 10px;
}

#lang-menu-inner {
    display: table-cell;
    vertical-align: middle;
    height: 100%;
    padding-left: 10px;
    padding-right: 10px;
    border-left: 2px solid #000;
    border-right: 2px solid #000;
}

#lang-menu select {
    width: auto;
    display: block;
}

.home.blog div#lang_wrapper .button-4 .widget-wrap {
    text-align: left;
}

.home.blog div#lang_wrapper .button-4 .widget_text {
    padding: 10px;
}


.home.blog div#lang_wrapper .button-4 h3.widgettitle.widget-title {
    margin-top: 0px;
    width: 100%;
}

.home.blog div#lang_wrapper .button-4 .widget-wrap {
    display: block;
}

#lang-menu-inner > select {
    background-color: #F0F0F0;
    -webkit-border-radius: 0%;
    -moz-border-radius: 0%;
    border-radius: 0%;
    -khtml-border-radius: 0%;
    height: 40px;
}

@media only screen and (max-width: 800px) {
    #lang-menu-inner {
        padding-left: 0px;
        padding-right: 8px;
        border-left: 0px solid #000;
        border-right: 2px solid #000;
    } 
}

@media only screen and (max-width: 1200px) {
    .home.blog div#lang_wrapper .site-inner .content .news-3 .featuredpost {
    margin: 0px;
    width: 100%;
    } 
}

@media only screen and (max-width: 1080px) {
    body.home div#lang_wrapper .news-3 {
        margin-top: 10px;
    }
}

@media only screen and (max-width: 500px) {

    body.home div#lang_wrapper .news-3 {
        width: 100%;
        margin: 10px;
    }
    body.home div#lang_wrapper .nostot-wrap {
    width: 100%;
    }
}

@media only screen and (max-width: 320px) {
    #lang-menu-inner {
        border-right: 0px solid #000;
    } 
}
/* END lang page and menu ---------------------------------------------------------------------------------- */


.seta_share_buttons {
}

#share_fb {
    float: left;
    padding: 2px;
    display: block;
    margin-right: 10px;
}

#share_twitter {
    float: left;
    padding: 2px;
    display: block;
}

/* historiakuukausi START ---------------------------------------------------------------------------------- */


.page ul.ecs-event-list h4.entry-title.summary a {
    font-size: 45%;
    margin-bottom: 0px;
    display: block;   
}

.page ul.ecs-event-list h4.entry-title.summary {
    margin-bottom: 0px;   
}

.page ul.ecs-event-list span.duration.time {
        margin-bottom: 7px;
        display: block;
}

/* historiakuukausi END ---------------------------------------------------------------------------------- */