/* Theme Name:   Kavetu
Description:  Neve Child Theme 
Author:       MV 
Author URI:    
Template:     neve
Version:      1.0.0 
License:      GNU General Public License v2 or later 
License URI:  http://www.gnu.org/licenses/gpl-2.0.html*/

body {
	hyphens:manual;
}

.site-header,
.site-info,
.site-footer,
.footer-widgets {
	background-color:#054e76;
	color:#ffffff;}
	
.welcome {
	background-color:rgba(5,78,118,0.6)!important;
	max-width:70%!important;
	margin:0 auto;
	padding: 1.5em;
}

.welcome25 {
	background-color:#054e76!important;
	max-width:70%!important;
	margin:0 auto;
	padding: 1.5em;
}

.latest-news {
	max-width:1200px!important;
	margin:0 auto!important;
	padding:20px 40px!important;}
	
.wp-block-latest-posts.columns-3 li {
	padding:1em;}
	
	
.wp-block-latest-posts__post-excerpt {
	font-size:0.9rem;}
	
.wp-block-button__link {
    color: #fff;
    background-color: #314767;	
}	
	
.latest-news a {
	font-weight:bold;
	color:#314767;}
		
	
.separate-containers .inside-article {
	background-color:transparent;}

hr {
	max-width:70%;
}
	

hr.aligncenter {
	margin:1em auto;
}

hr.left {
	margin:1em 0;
}

.aalto .wp-block-getwid-section__wrapper {
	padding-top:150px;
}


	
/*HEADINGS and LINKS*/

h1 {
	font-weight:300;	
	text-transform:uppercase;
	color: #354566;
	margin-top:1em;
	line-height:1.3em;}

h3 {
	font-weight:300;	
	text-transform:uppercase;
	color: #354566;}
	
	
	
h4 {	margin-bottom: 10px;
    font-size: 0.8em;
    text-transform: uppercase;
    color: #91b8ca;
    letter-spacing: 1px;
	font-weight:bold;	
	font-family:lato, arial, sans-serif;
	}
	
h5 {
	font-family:lato, arial, sans-serif;
	}	
	
	
a:hover, a:focus {
	color: #1679b6; 
}
	
/*CONTENT*/

.alignfull {
	padding:0;}

.page .nv-page-title-wrap {
    margin-top: 50px;
}	

.nv-content-wrap ul, .excerpt-wrap ul {
    list-style-type: disc;
}	

.nv-page-title-wrap.nv-big-title .nv-page-title {
	border-bottom:0px;}

.refe {
	max-width:1140px;
	margin:0 auto;
}


.nv-single-page-wrap {
	margin-bottom:0;
}


	
@media (max-width: 959px) {
.alignwide,
.header .container {
    width: 100vw;
	max-width: 100vw!important;
}	
}
	
@media (max-width: 599px) {
footer {
	padding-top:2em;
}


}		
	
	
/*NAVI*/	

.header .container {
	width:1170px;
	max-width:90%;}
	
.builder-item--primary-menu {
    font-size: 0.9rem;
	text-align:left;}
	
.nav-menu-primary ul li a {
	color: #99c6f3;}

.nav-menu-primary ul li[class*="current-menu-"] > a {
    color: #91b8ca;
    background-color: transparent; 
}

.nav-menu-primary ul ul li[class*="current-menu-"] > a {
    color: #91b8ca!important;
	background-color: #ffffff;}
	
.nav-menu-primary ul ul {
	background-color: transparent;}	
	
.nav-menu-primary ul li a {
	color:#ffffff!important;
	font-weight:bold;}

.nav-menu-primary ul ul li a {
	color:#314767!important;
	font-weight:bold;}	
	
.nav-menu-primary ul ul li a:hover {
	color:#91b8ca!important;
	font-weight:bold;}		
	

.nav-ul .sub-menu li > a {
	justify-content:left;}

.nav-menu-primary ul ul li a {
    color: #515151;
    background: #fff;
}	

#header-menu-sidebar ul li a {
    color:#000000!important;
    font-weight: bold;
}

#header-menu-sidebar ul ul li a {
    color:#314767!important;
    font-weight: bold;
}

#header-menu-sidebar a:hover {
	color:#91b8ca!important;
	font-weight:bold;}		

.header-main-inner .nv-icon svg {
	fill: #ffffff;
}

@media (max-width: 550px){
.is-top-divider svg {
	height:35px!important;
}
}	

/*RATKAISUT*/

.page-id-767 .wp-block-column {
	padding:2em;
}

.page-id-767 .nv-page-title-wrap,
.page-id-778 .nv-page-title-wrap{
    display: none;
}

.page-id-767 .wp-block-column .wp-block-separator {
	margin: 20px 0;
	background-color:var(--nv-c-1) !important;	
}

.page-id-767 .wp-block-column .wp-block-button__link {
    color: var(--nv-primary-accent) !important;
    background-color: var(--nv-c-1) !important;	
	border-radius:0;
}

.ratkaisut {
	    min-height: calc(100vh - 388px);
   
}
	
/*PERSON*/ 	

.wp-block-getwid-person {
	clear:both;
	margin-bottom:20px;
	min-height:200px;}
	
.wp-block-getwid-person__image img {
	margin:0 auto 1em;}

.wp-block-getwid-person__image+.wp-block-getwid-person__content-wrapper {
	margin-top: 0em; 
}	
	
.wp-block-getwid-person__content-wrapper,
.wp-block-getwid-person__image {
	width: 50%;
    float: left;
	text-align: left;}
	
@media (max-width: 550px) {
.wp-block-getwid-person__content-wrapper,
.wp-block-getwid-person__image {
	width: 50%;
    float: left;
	text-align: left;
	}

.wp-block-getwid-person__content-wrapper {
	padding-bottom:2em;
	border-bottom:1px solid #354566;	
	}
	
.wp-block-getwid-person__content-wrapper:last-child {
	padding-bottom:1em;
	border-bottom:0px;	
	}	

}	
	
.wp-block-getwid-person__subtitle {
    display: block;
    font-size: 1em;
}	
	
.wp-block-getwid-person__content {
    margin-top: 1em;
	font-size: 0.8em;}	
	
.wp-block-getwid-person__subtitle, .wp-block-getwid-person__title, .wp-block-getwid-person__content {
	text-align:left;}
	
	
/*SIDEBAR*/
@media (min-width: 960px) {
.nv-sidebar-wrap.nv-right,
.palvelut-side {
    border-left: 1px solid #354566;
}
}


.palvelut-side {
	padding-left:40px;
	background:transparent;
	font-size:0.9rem;
}	

.palvelut-side ul {
	padding-left:0;
	list-style-type:none;}


.palvelut-side ul li a,
.palvelut-nav a {
    display: block;
    background: #054e76;
    padding: 8px;
    list-style-type: none;
    font-weight: bold;
    color: #ffffff;
	text-decoration:none!important;
	font-size:0.9rem;}
	
.has-spacing-small.has-layout-list .wp-block-getwid-custom-post-type__post+.wp-block-getwid-custom-post-type__post {
	margin-top:10px;}	

.palvelut-side ul li a:active,
.palvelut-side ul li a:hover,
.palvelut-nav a:active,
.palvelut-nav a:hover {
    background: #00436e;
}

.wp-block-getwid-custom-post-type__post-excerpt {
	display:none;}


@media (max-width: 599px) {
.palvelut-side {
    margin-top:2em;
	padding-left:0;
}
}	
	
/*WIDGETS*/	
.sidebar .widget {
	background-color: transparent;
	padding: 20px;
}

.site-footer {
	padding-top: 1em;}

footer .widget,
.builder-item--footer_copyright {
	font-size: .9rem;
	line-height: 1.4rem;}
	
footer .widget_media_image	{
	display:inline-block;
	margin-right:5px;}
	
footer .widget_media_image	img{
	max-height:62px;}
	
footer #text-4 {
	padding-bottom: 0;
}	
	
footer p.widget-title {
	color: #ffffff;	
	letter-spacing: 1px;}
	
aside .widget p.widget-title,
h3.comment-reply-title {
	margin-bottom: 10px;
    font-size: 0.8em;
    text-transform: uppercase;
    color: #91b8ca;
    letter-spacing: 1px;	
 }	

.widget-title {
    margin-bottom: 15px;
    font-size: 1.1rem;
	font-weight: bold;}

	
.widget ul li {
	font-size: 1rem; }
	
@media (max-width: 959px) {
footer {
	text-align:left;
}

@media (min-width:960px) {
	footer #text-3 {
	text-align: right;
	}		
	
	footer .widget_media_image	{
	display:inline-block;
	margin-left:5px;
	float:right;}
	
}

}		
	
	
	
/*BLOGI*/
.article-content-col .content {

    border-bottom: 2px dotted gray;
}	
	