.home .site-main {margin-top:0!important;
margin-bottom:0!important;}

.home .inside-article {padding-top:0!important;
padding-bottom:0!important;}

.slider-osio {
	padding-top: 40px!important;}

.teema-osio {margin-bottom: 0px!important;}

.teemapalstat ul {margin-left:0;}

@media (max-width: 768px) {
    #secondary-navigation {
        display: none;
    }
}

.site-logo {margin-right:20px!important;}


.entry-content p a:link, .entry-content li > a:link, li.cat-item a:link, .widget_recent_entries li > a:link, .wp-admin li > a:link {
  background-color: #ffed00;
}

.entry-content p a:hover, .entry-content li > a:hover, li.cat-item a:hover, .widget_recent_entries li > a:hover {
  text-decoration: underline;
}

hr {
    background-color: rgba(0,0,0,.5);
}

/* Card 
*/

.card * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: inherit;
}

.cards > ul {
    list-style: none;
	margin: 6px;
}

.card + .card {
    margin-top: 1.5rem;
}

@supports (display: grid) {
    .cards > ul {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
        grid-column-gap: 1.5rem;
        grid-row-gap:1.5rem;
    }

    .card + .card {
        margin-top: 0;
    }
}

.card {
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: #1a1a1a;
}

.card h2 a {color: #fff;
font-size:19px;
}

.card h2 {
	padding-top: 10px;
	margin-bottom: 13px;
 font-family: "Kanit", sans-serif;
    font-weight: 900;
    text-transform: uppercase;
	line-height:17px!important;
}

.card .text {
    padding: .1rem .5rem .35rem .85rem;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.card p {
    max-width: 70ch;
}

.card .img {
    height: 15rem;
}

@media only screen and (max-width: 767px) {
.card .img {
    height: 16rem;
}
}

#nelikentta .card .img {
    height: 16rem;
}

.card .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card a {
    text-decoration: none;
}

.card a::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.card a:focus {
    outline: none;
    text-decoration: underline;
}

.card:focus-within, .card:hover {
    box-shadow: 0 0 0 0.5rem #fff;
}

.card:focus-within a:focus {
    text-decoration: none;
}

.card .text > * + * {
    margin-top: 0.75rem;
}

.card .text > :last-child {
    margin-top: auto;
}
.top-bar p {
    margin-bottom: 0;
}

.cff-event-title a:link {
    background-color: transparent!important;
} 