/*
Theme Name: Twentysixteen child
Template: twentysixteen
*/

@import url("/wp-content/themes/twentysixteen/style.css");

/* OMAT MUOKKAUKSET */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap');

body, button, input, select, textarea {
    color: #1a1a1a;
    font-family: 'Open Sans', sans-serif;
}

#post-10 .entry-title {
    display: none;
}

h1, h2, h3, h4, h5, h6 {
font-family: 'Open Sans', sans-serif;
}

.sinitausta h2 {
    font-size: 22px;
}

li.page_item {
    font-weight: 600;
}

.children li.page_item {
    font-weight: 300;
}

a {
    color: #009ddc;
    text-decoration: none;
}

header.entry-header {
    margin-bottom: 40px;
}

table {
    border-collapse: separate;
    border-spacing: 0;
    border-width: 0px 0 0 0px;
    margin: 0 0 1.75em;
    table-layout: fixed;
    width: 100%;
}

.post-thumbnail img {
    display: block;
    width: 100%;
}

span.byline {
    display: none !important;
}

.poistapaivamaara .posted-on {
    display: none !important;
}

.entry-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 20pt;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 0em;
    letter-spacing: 2px;
}

button, button[disabled]:hover, button[disabled]:focus, input[type="button"], input[type="button"][disabled]:hover, input[type="button"][disabled]:focus, input[type="reset"], input[type="reset"][disabled]:hover, input[type="reset"][disabled]:focus, input[type="submit"], input[type="submit"][disabled]:hover, input[type="submit"][disabled]:focus {
    background: #009ddc;
    border: 0;
    border-radius: 2px;
    color: #fff;
    font-family: Montserrat, "Helvetica Neue", sans-serif;
    font-weight: 700;
    letter-spacing: 0.046875em;
    line-height: 1;
    padding: 0.84375em 0.875em 0.78125em;
    text-transform: uppercase;
}

.flags ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

p.caption {
    font-style: italic;
    font-size: 13px;
}

.site-content {
    padding: 0em 7.6923%;
}

.site-footer .widget_sow-image {
    float: left;
}

.site-footer .widget_media_image img {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.entry-content a, .entry-summary a, .taxonomy-description a, .logged-in-as a, .comment-content a, .pingback .comment-body > a, .textwidget a, .entry-footer a:hover, .site-info a:hover {
    box-shadow: none;
}

.piilo.widget-title {
    display: none;
}

a.paalinkki:hover {
    opacity: 0.8;
}

#breadcrumbs {
    padding-top: 15px;
}

.harmaatausta {
padding: 15px !important;
background-color: #eee;
border-width: 0px;
border-radius: 0px 0px 10px 10px;
-moz-border-radius: 0px 0px 10px 10px;
-webkit-border-radius: 0px 0px 10px 10px;
border: 0px solid #000000;
}

.sidebar h1 { 
color: #009ddc;
}

	.content-bottom-widgets .widget-area:nth-child(1):nth-last-child(2),
	.content-bottom-widgets .widget-area:nth-child(2):nth-last-child(1) {
    width: 30%;
    float: left;
    margin-right: 3%;
}


.logo img {
    max-height: 68px;
    width: auto !important;
}

.main-navigation {
    font-family: 'Open Sans', sans-serif;
}

.sidebar .widget-title {
    border-bottom: 3px solid;
    border-color: #009ddc;
    text-transform: none;
font-size: 26px;
font-weight: 400;
}

.cat-links {
    display: none !important;
}

.entry-footer {
    display: none !important;
}

.categoriawidget img {
    float: left;
    width: 20%;
    margin-right: 3%;
    margin-bottom: 3%;
}

.widget {
    border-top: 0px solid #1a1a1a;
    margin-bottom: 3.5em;
    padding-top: 1.75em;
}

#content-bottom-widgets {
    width: 100%;
    margin: 0px;
}
 
.nofloat {
float: none !important;
    margin: 0px;
}

.post-thumbnail {
    display: block;
}

.entry-header {
    margin-left: 0px;
}

.mainimage {
    height: 500px;
    margin-bottom: 50px;
    background-size: cover;
}

.site-header-main {
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    border-bottom: solid 3px;
    border-color: #009ddc;
}

.site-inner {
    margin: 0 auto;
    max-width: 100%;
    position: relative;
}

.site-footer li {
    list-style: none;
    font-size: 12px;
}

.site-footer ul {
    list-style: none;
}

.byline {
    display: none;
}

.listaus {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid;
    border-color: #EEEEEE;
}

.paalinkki h3 {
    font-size: 20pt;
    text-transform: uppercase;
    letter-spacing: 1px;
    hyphens: auto;
}

.paaotsikko {
    text-align: center;
    background: rgb(0,152,216);
background: linear-gradient(150deg, rgba(0,152,216,1) 0%, rgba(0,83,161,1) 100%);
    padding: 30px;
    line-height: 1;
}

.paaotsikko .widget {
    padding-top: 0px;
}

.paaotsikko h2 {
    color: #FFF;
    text-transform: uppercase;
        letter-spacing: 2px;
            font-size: 26px;
}

a.paalinkki {
    display: block;
    width: 100%;
    padding: 30px;
    text-align: center;
    min-height: 250px;
        color: #FFF;
}

img.linkkinuoli {
    margin-left: auto;
    margin-right: auto;
}

.gradientborder {
height: 3px;
width: 100%;
background: linear-gradient(150deg, rgba(0,152,216,1) 0%, rgba(0,83,161,1) 100%);
}

.ow-button-base a {
    text-align: center;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    line-height: 1em;
        background: rgb(0,152,216);
background: linear-gradient(150deg, rgba(0,152,216,1) 0%, rgba(0,83,161,1) 100%) !important;
}


.newsfeed h2 {
color: #0053a1;
}

.entry-header, .post-thumbnail, .entry-content, .entry-summary, .entry-footer, .comments-area, .image-navigation, .post-navigation, .page-header, .page-content, .content-bottom-widgets {
   margin-right: 0%;
}

.widget {
    border-top: 0px solid #1a1a1a;
    margin-bottom: 1.5em;
    padding-top: 1.75em;
}

.category-tallenteet .post-thumbnail {
    display: none;
}

a.more-link {
    display: block;
    margin-top: 10px;
    width: max-content;
}

.etusivuboxi h1 {
    color: #0053a1;
    font-size: 22pt;
}

/* Newsfeed */

.thumbwrap {
    overflow: hidden;
    height: 250px;
	margin-bottom: 25px;
	    background-color: #efefef;
}

.thumbwrap .post-thumbnail img {
    width: 100%;
}

.entry-header, .entry-summary, .entry-content, .entry-footer, .page-content {
    margin-right: 0%;
    margin-left: 0%;
}

article .widget {
    padding-right: 0%;
}

.entry-content .entry-header {
margin-left: 0%;
margin-right: 0%;
}

.site {
    margin-top: 0px;
    margin-bottom: 5%;
    margin-left: 0%;
    margin-right: 0%;
}

.widget {
padding-right: 7.6923%
}

.widget_custom_html {
            background: rgb(0,152,216);
background: linear-gradient(150deg, rgba(0,152,216,1) 0%, rgba(0,83,161,1) 100%);
    padding-top: 0px;
}

.widget .post-thumbnail {
    margin-left: -15%;
    width: 130%;
    margin-top: -15%;
}

.post-thumbnail {
margin-left: 7.6923%
}

.categoriawidget img {
    float: left;
    width: 100%;
    margin-right: 20px;
    margin-bottom: 20px;
}

.sidebar, .widecolumn {
    margin-bottom: 5.25em;
    padding-right: 0%;
}

section#pages-2 {
    display: none;
}

section#polylang-2 {
    display: none;
}

.listaus .entry-header{
margin-left: 0%;
}


header.entry-header {
    text-align: center;
    text-transform: uppercase;
    color: #FFF;
    background: rgb(0,152,216);
	background: linear-gradient(150deg, rgba(0,152,216,1) 0%, rgba(0,83,161,1) 100%) !important;
    padding: 25px;
}

/* Secondmenu */

.widget_nav_menu {
    padding-top: 0px;
}

.widget_nav_menu li.menu-item {
    display: none;
}

.widget_nav_menu li.current-menu-parent {
    display: block;
    background: rgb(0,152,216);
	background: linear-gradient(150deg, rgba(0,152,216,1) 0%, rgba(0,83,161,1) 100%) !important;
}

.widget_nav_menu li.current-menu-parent a {
    padding: 20px;
    display: block;
    color: #FFF;
}

.widget_nav_menu li.current-menu-parent ul.sub-menu {
    display: block;
    background: #efefef;
    margin-left: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.widget_nav_menu li.current-menu-parent ul.sub-menu a {
    padding-left: 20px;
    padding-bottom: 10px;
        padding-top: 0px;
color: #000;
}

.widget_nav_menu li.current-menu-parent ul.sub-menu li.menu-item {
    display: block;
}

/* Suurempi kuin >= 710px */

@media screen and (min-width: 44.375em) {
	
	.entry-content ul, .entry-summary ul, .comment-content ul, .entry-content ol, .entry-summary ol, .comment-content ol {
    margin-left: 4.5455%;
}
	
.single-entry-thumbnail {
    width: 31%;
    margin-right: 2%;
    float: left;
}

.page-content-area {
    width: 66.77%;
}

.singlecontent {
    width: 66.77%;
    float: left;
}

.textcontent {
    width: 66.77%;
    float: left;
}
	
.site {
    margin-top: 0px;
    margin-bottom: 5%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
		-webkit-box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.25); 
box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.25);
	}

.site-content {
    padding: 0 4.5455%;
}

.newsfeed h2 {
    font-size: 15pt;
    line-height: 1.4;
}

article .post-thumbnail {
    margin-left: 0%;
}

article .entry-header {
    margin-left: 0%;
}

.widget .entry-header{
    margin-left: 0%;
}

.newsfeed {
    width: 48%;
    margin-right: 2%;
    float: left;
    height: 565px;
}

.widget-area {
    width: 31%;
    float: left;
    margin-left: 2%;
}

}

/* Suurempi kuin >= 910px */

@media screen and (min-width: 56.875em) {

.widget {
font-size: 16px;
font-size: 1rem;
line-height: 1.75;
}	

.no-sidebar .entry-header, .no-sidebar .entry-content, .no-sidebar .entry-summary, .no-sidebar .entry-footer, .no-sidebar .comments-area, .no-sidebar .image-navigation, .no-sidebar .post-navigation, .no-sidebar .pagination, .no-sidebar .page-header, .no-sidebar .page-content, .no-sidebar .content-bottom-widgets {
    margin-right: 0%;
    margin-left: 0%;
}

	.site-footer {
		-webkit-align-items: center;
		-ms-flex-align: center;
		align-items: center;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		padding: 0 4.5455% 3.5em;
		width: 100%;
		background: #FFF;
		border-top 3px solid:
		border-color: 
	}
	
	.newsfeed {
    width: 31%;
    margin-right: 2%;
    float: left;
    height: 565px;
}

}


/* Suurempi kuin >= 985px */

@media screen and (min-width: 61.5625em) {

	.site-header {
		padding: 3.25em 4.5455%;
	}
	
		body:not(.search-results) article:not(.type-page) .entry-content {
		float: none;
		width: 100%;
	}

}

/* Suurempi kuin >= 1200px */

@media screen and (min-width: 75em) {

}







