/* CSS Document Mip 27122017*/
/* prim. green #007e36 */

html, body {
  overflow-x: hidden;
}


p,ul,ol {
	font-family: Helvetica, Roboto, Arial, sans-serif; }

h1,h2,h3,h4 {
	color: #007e36;
	font-weight:600;
}

h2 {
	font-size: 2rem;
	line-height: 1.25;
	margin-top: 2.25rem;
}

h3 {
	font-size: 1.65rem;
	line-height: 1.25;
	margin-top: 2rem;
}

.caption {
	margin-top: 1rem;
	margin-bottom: 1rem;
	font-weight: bold;
	width: 90%;
}

#Maincontent p a {
	font-weight: bold;
}



/*Main menu  */

.header {
	background-color: #dce1e6;
	border-bottom: 2px solid #fefefe;

}


#main-menu {
	margin-bottom: -0.5rem;
	
}

.is-dropdown-submenu {
	border-top-color: #dce1e6;
	-webkit-box-shadow: 0px 8px 6px 0px rgba(0,0,0,0.5);
-moz-box-shadow: 0px 8px 6px 0px rgba(0,0,0,0.5);
box-shadow: 0px 8px 6px 0px rgba(0,0,0,0.5);
}

.is-dropdown-submenu li:hover {
	background-color: #fefefe;
}




.top-bar {
	background-color: transparent;
}

.top-bar ul {
	background-color: #dce1e6;
}

.top-bar ul.is-accordion-submenu {
	background-color: #eff1f3;
}

.title-bar {
	background-color: #dce1e6;
	color: #0a0a0a;
}

.menu-icon::after {
    /* the block itself, the first line */
    background: #007e36;
    /* middle and bottom */
    box-shadow: 0 7px 0 #007e36, 0 14px 0 #007e36;
    /* respect WebKit */
    -webkit-box-shadow: 0 7px 0 #007e36, 0 14px 0 #007e36;
}

.accordion-menu > li {
	border-bottom: 1px #fefefe solid;
}

.accordion-menu .submenu-toggle::after {
	
}

.langselecet li > a {
	border-top: 6px solid #dce1e6;
}


.langselecet .active > a {
	background-color: transparent;
	border-top-color: #007e36;
}

.date {
	color: #95c11f;
}

.newssum {
	margin-top: 2.5rem;
}

.newssum h3 {
	margin-top: 0rem;
}

.NewsArticle h1 {
	font-size: 2.5rem;
	line-height: 1.25;
}

.NewsArticle .date {
	margin-top: 2rem;
}

#SearchForm_SearchForm_Search_Holder {
	width: 75%;
}

#SearchForm_SearchForm_Search {
	margin-bottom: 0;
}


#SearchForm_SearchForm_action_results {
	border-bottom-style: none;
	border-right-style: none;
	background-color: #007e36;
	color: #fefefe;
	border: none;
	padding-left: 1rem;
	padding-right: 1rem;
	cursor: pointer;
	
}

.pdfplaceholder {
	text-align: center; 
	background-color: #dce1e6; 
	padding-top:35%;
	min-width:307px;
	min-height:307px;
}

#Maincontent aside {
	border-top: 2px dotted #95c11f;
	padding-top: 1rem;
}





#Logo{
	width:160px;
	margin: 1rem 0 1rem 0.5rem;
}

#Mainbanner {
	height: 180px;
	background: #007e36 none repeat fixed 0 0 ;
	/*background-image:url(../images/demo/mainimage_demo.jpg);*/
	background-repeat:no-repeat;
	background-position:center 0px;
	-webkit-box-shadow: inset 0px 10px 10px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: inset 0px 10px 10px 0px rgba(0,0,0,0.2);
	box-shadow: inset 0px 10px 10px 0px rgba(0,0,0,0.2);
	background-size: 280vw auto;
	

}

#Mainbanner h1 {
    color: #ffffff;
    font-size: 3.1rem;
    line-height: 3.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.65);
	font-weight:700;
}

.HomePage #Mainbanner h1 {
    font-size: 3.6rem;
    line-height: 3.6rem;
    text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.85);
}

#Maincontent {
	margin-top:1.25rem;
}

.lead {
	font-family: 'Raleway', Helvetica, Roboto, Arial, sans-serif;
	font-size: 120%;
	font-weight: 600;
}

#Footer {
	background-color: #dce1e6;
	padding: 2.5rem;
	padding-left: 4.5rem;
	font-size: 90%;
	color:#4b555a;
}

.contactarea {
    position: relative;
	padding: 5rem 0 4rem 0;
    background: #007e36;
    z-index: 0;
    color: #FFFFFF;
}


.contactarea h2 {
    color: #f1f9da;
}

.contactarea::after {
    content : "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(../images/paltamo-area_1600x.jpg); 
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    height: 100%;
    opacity : 0.15;
    z-index: -1;
}

.button.success {
	background-color: #f1f9da;
	color: #007e36;
}

.button.success:hover {
	background-color: #007e36;
	color: #FFFFFF;
}



/* Medium and up */
@media screen and (min-width: 40em) {
	
	.pdfplaceholder {
	min-width:283px;
	min-height:283px;
	}
	
	
	#Logo {
		width: 190px;
		
	}
	
	#Mainbanner {
		min-height: 370px;
		background-position: center 0px;
		background-size: inherit;
	}
	
	#Maincontent {
	margin-top:2rem;
	margin-bottom: 2rem;
	}
	
	#Maincontent aside {
	border-top: none;
	padding-top: 0rem;
}
	
	

	
	.HomePage #Mainbanner {
		height: 60vh;
		padding-top:0rem;
		margin-bottom:0rem;
		background-position:center center;
		-webkit-background-size: cover;
  		-moz-background-size: cover;
  		-o-background-size: cover;
  		background-size: cover;
	}
	
	

}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
	#Mainbanner {
		
		
	}
	
}


@media screen and (min-width: 64em) {
	
   .pdfplaceholder {
	padding-top:20%;
	min-width:162px;
	min-height:162px;
}

	

	
}


/* Large only */
@media screen and (min-width: 64em) and (max-width: 74.9375em) {
	
	#Mainbanner {
		min-height: 370px;
		background-size: 170vw auto;
		
	}
	
	
}