/*-----------------------------------------------
INDEX
-------------------------------------------------
	Global
	Layout
		FillerImg
		Navigation
		Startpage, respbox
		Subpages
	Misc
------------------------------------------------*/

/*-----------------------------------------------
GLOBAL
-----------------------------------------------*/

html { font-size: 62.5%; }

/* styles.inc */
body {
 margin: 0; 
 padding: 0;
 line-height: 1em;
}

img { border:0; }

h1 { 
 margin: 0 0 0.5em 0;
 line-height: 1.5em;
}

h1 + p { margin-top: 0.5em; }

h2 { 
 margin: 0.5em 0;
 line-height: 1.5em;
}

h2 + p { margin-top: 0.5em; }

h3 { 
 margin: 1.5em 0 0.5em 0;
 line-height: 1.5em;
}

h3 + p { margin-top: 0.5em; }

p { margin: 1.5em 0; }

ul, ol { margin: 0.5em 0; }

a { transition: all 300ms ease-in-out 0s; }

a:focus,
a:hover {  
  opacity: 0.7;
  transition: opacity 300ms ease-in-out 0s;
}

/* styles.inc */
a:focus { border-top: 1px dotted #000000;  border-bottom: 1px dotted #000000; }

div,
textarea,
select,
input[type="text"],
input[type="password"] {
 -webkit-box-sizing:border-box;
 -ms-box-sizing:border-box;
 -moz-box-sizing:border-box;
 box-sizing:border-box;
}

form { margin: 0; }

/* styles.inc */
label { 
 text-transform: uppercase;
 font-weight: normal;
}

label b { font-weight: normal; }

input, select { padding: 5px; }

textarea, input[type="text"], input[type="password"] {
 /* webkit-appearance ipadille ja iphonelle */
 -webkit-appearance: none;
 border: 1px solid #bbbbbb;
}

textarea, input[type="text"], input[type="password"] {
 color: #000000;
 -webkit-border-radius: 0px;
 -moz-border-radius: 0px;
 border-radius: 0px;
 padding: 10px;
 margin-top: 5px;
}

select {
 color: #000000;
 padding: 7px 10px;
 margin-top: 5px;
}

select option { padding: 3px 10px; }

select option:hover { background: #e2e2e2; }

select option:checked {  
 background: #e2e2e2;
 color: #000000;
}

select option:active {  
 background: #e2e2e2;
 color: #000000;
}

input[type=radio], input[type=checkbox] { margin: 5px 5px 5px 0; }

input[type=text]:focus,
input[type=radio]:focus,
input[type=checkbox]:focus,
input[type=password]:focus,
textarea:focus {
 border: 1px solid #000000;
 -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
 -moz-box-shadow:    0px 0px 20px 0px rgba(0, 0, 0, 0.2);
 box-shadow:         0px 0px 20px 0px rgba(0, 0, 0, 0.2);
 transition: initial;
 transition: box-shadow 300ms ease-in-out 0s;
}

select:focus { 
 border: 1px solid #000000;
 -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
 -moz-box-shadow:    0px 0px 20px 0px rgba(0, 0, 0, 0.2);
 box-shadow:         0px 0px 20px 0px rgba(0, 0, 0, 0.2);
 transition: initial;
 transition: box-shadow 300ms ease-in-out 0s;
}

fieldset {
 margin: 0;
 padding: 0;
 border: 0;
}

/* styles.inc */
.button {
 padding: 10px 15px;
 line-height: 1em;
 -webkit-appearance: none;
 -webkit-border-radius: 0px;
 -moz-border-radius: 0px;
 border-radius: 0px;
}

.button.major { text-transform: uppercase; }

/* styles.inc */
.buttonsmall { padding: 8px 10px; }

.buttondisabled,
.buttondisabled:hover,
.buttondisabled:focus,
input.buttondisabled,
input.buttondisabled:hover,
input.buttondisabled:focus,
button.buttondisabled,
button.buttondisabled:hover,
button.buttondisabled:focus {
 border: 1px solid #cccccc;
 background: #cccccc;
 color: #ffffff;
 cursor: default;
}

/* styles.inc */
div.button {
 cursor: pointer;
 display: inline-block;
 vertical-align: bottom;
}

.clear { clear:both; }

.nowrap { white-space: nowrap; }

.admin-linkset { line-height: 1em; }

.top { vertical-align: top; }
.bottom { vertical-align: bottom; }
.right { text-align: right; }
.center { text-align: center; }

.table { display: table; }
.table-row { display: table-row; }
.table-cell { display: table-cell; }
.table-gap { display: table-cell; width: 50px; }

.data-header { padding: 4px 5px; }
.data { padding: 4px 5px; }

table td p:only-child { margin: 0; }

table td p:first-child { margin-top: 0; }

table td p:last-child { margin-bottom: 0; }

table.kehystetty { border-collapse: collapse; }

/* styles.inc */
table.kehystetty thead td, table.kehystetty thead th, table.kehystetty th { 
 font-weight: normal;
 padding: 4px 5px;
}

/* styles.inc */
table.kehystetty td { padding: 4px 5px; }

/*-----------------------------------------------
LAYOUT
-----------------------------------------------*/

div#login-button-wrapper { display: inline; }

div#login-button-wrapper div.login-button,
div#login-button-wrapper div.useraccount-button,
div#login-button-wrapper div.logout-button { display: none; }

a#yllapito-login-icon { top: 7px; }

ul#skiplink-wrap, ul#skiplink-wrap li {
 display: inline;
 height: 0;
 line-height: 0;
 padding: 0 !important;
}

ul#skiplink-wrap li a {
 display: inline;
 height: 0;
 left: -3000px;
 position: absolute;
 top: -2000px;
 width: 0;
}

/* R */
div#container { background: #ececec; }

div#header-print { display: none; }

/* styles.inc */
/* div#topHeaderCont { } */

/* R */
/* 
div#topHeaderWrap { 
 margin: auto;
 text-align: right;
}

div#topHeaderWrap .table { display: inline-table; }

div#topheaderLinkCont { 
	padding: 0 45px 0 0;
	vertical-align: middle;
}

div#topheaderLinkCont div.admin-linkset { display: inline-block; }

div#topheaderLinkCont div.topheaderLinkWrap { 
	display: inline-block;
	padding-left: 20px;
}
*/

/* styles.inc */
/*
div#topheaderLinkCont div.topheaderLinkWrap a.topheaderLink { 
 text-transform: uppercase;
 text-decoration: none;
}
*/

div#header {
	background: #212121 top center no-repeat url('/img/layout/header-bg.jpg');
}

div#searchWrapCont { 
	display: table-cell; 
	vertical-align: middle;
	width: 50px;
	padding-left: 15px;
}

div#searchWrapCont div#searchWrap { height: 35px; }

div#generalsearch-searchterm-wrap input#searchterm.searchInput1 { 
	margin: 0;
	padding: 0;
}

div#generalsearch-submit-search-wrap i { 
	background: initial;
	color: #ffffff;
}

form#pagesearch-searchform div#searchform-searchfields { 
  width: 290px; 
  top: 59px;
}

form#pagesearch-searchform div#autocomplete-no-resultsgeneral {	
  width: 290px;
  top: 59px;
}

div#pagesearch-search-helptext div#searchterm1_wrap { width: 235px; }

div#searchform-searchfields input#searchterm1 { width: 198px; }

div#pagesearch-search-helptext div#searchterm1_wrap div#generalsearch-submit-search-wrap1 { left: 198px; }

/* div#generalsearch-searchterm-wrap { opacity: 0.5; }
div#generalsearch-searchterm-wrap:focus-within { opacity: 1; } */

div#generalsearch-submit-search-wrap-mobile span.submit-search { color: #ffffff; }

/* styles.inc */
div#navCont {
-webkit-box-shadow: 0px -5px 25px 0px rgba(0,0,0,0.2);
-moz-box-shadow: 0px -5px 25px 0px rgba(0,0,0,0.2);
 box-shadow: 0px -5px 25px 0px rgba(0,0,0,0.2);
}

/* R */
div#navWrap { 
 display: table;
 margin: auto;
}

/* R */
div#logoWrap { margin: auto; }

div#logoWrap img {
  margin: auto;
  height: auto;
}

div#main-navWrap { display: table-cell; }

nav#main-nav { text-align: center; }

/*--- FILLERIMG ---*/

/* R */
div.filler-img-wrap-sp,
div.filler-img-wrap {
	min-height: calc(50vh - 60px);
	max-height: calc(50vh - 60px);
 	margin: 0;
 	background-size: cover;
 	background-position: center center;
 	background-repeat: no-repeat;
}

/* R */
div.filler-img-text-cont {
 display: table;
 margin: auto;
}

div.filler-img-text-wrap { display: table-row; }

/* styles.inc */
div.filler-img-text-wrap2 {
 display: table-cell;
 vertical-align: middle;
 text-align: center;
 padding: 30px 0;
 line-height: 1.2em;
}

/* styles.inc */
div.filler-img-text-wrap2 h1 { 
	line-height: 1.2em;
	margin-bottom: 0em;
}

/* styles.inc */
div.filler-img-text-wrap2 a,
div.filler-img-text-wrap2 a:visited { text-decoration: none; }

div.filler-img-text-wrap2 a:focus {
 border-top: 0;
 border-bottom: 0;
}

/* R, styles.inc */
div.filler-img-text-wrap2 a.filler-img-link {
 padding: 9px 28px 11px 28px;
 text-decoration: none;
 text-transform: uppercase;
 line-height: 1.4em;
 display: inline-block;
 transition: all 500ms ease-in-out 0s;
}

/* styles.inc */
/* div.filler-img-text-wrap2 a.filler-img-link:hover,
div.filler-img-text-wrap2 a.filler-img-link:focus,
div.filler-img-text-wrap2 a.filler-img-link:active { } */

div.filler-img-text-wrap2 p:last-of-type { margin-bottom: 0; }

/*--- /FillerImg ---*/

/* R */
div#page-wrap,
div#page-wrap-fp {
 margin:auto;
 display: table;
}

div#page-wrap-fp { width: 100%; }

/* R */
div#main,
div#main-fp {
 display: table-cell;
 vertical-align: top;
 line-height: 1.6em;
 padding: 0 0 45px 0;
}

/* R, styles.inc */
div#navBreadcrumb { 
	margin: auto;
	padding: 15px 0 45px 0;
} 

div#main-fp div#navBreadcrumb { padding: 15px 0 0 0; }

/* div#footer {} */

/* R, styles.inc */
div#footer-wrap { 
 margin:auto;
 line-height: 1.6em;
}

/* R */
div#footer-text-wrap { padding: 50px 0 20px 0; }

/* R, styles.inc */
div#footer-wrap h1,
div#footer-wrap h2,
div#footer-wrap h3 { margin: 0; }

div#footer-wrap p { margin: 8px 0 0 0; }

div#footer-wrap div { margin: 0; }

/* styles.inc */
div#footer a,
div#footer a:visited { text-decoration: none; }

/* R */
div#netland-wrap {
 padding: 30px 0;
 text-align: center;
}

/* R, styles.inc */
div#cookie-settings-opener {
	text-transform: uppercase;
	text-align: center;
}

/*--- NAVIGATION ---*/

.sm-netland > li { border-left: none; }

.sm-netland li a { 
	text-transform: uppercase;
	letter-spacing: 0.1rem;
}
.sm-netland li ul a { 
	text-transform: initial;
	letter-spacing: initial;
}

/* R */
/* div#main-navWrap .sm-netland a span.sub-arrow { } */

/* R */
/* .sm-netland a span.sub-arrow { } */

/* .sm-netland a.has-submenu { } */

.sm-netland a:focus { border-top: 0; border-bottom: 0; }

/* mobinavi */
div#smartnavi-toggler-cont {
  background: #222222;
-webkit-box-shadow: 0px -5px 25px 0px rgba(0,0,0,0.2);
-moz-box-shadow: 0px -5px 25px 0px rgba(0,0,0,0.2);
 box-shadow: 0px -5px 25px 0px rgba(0,0,0,0.2);
}

div#smartnavi-logo { 
  width: 50%;
  padding: 0 0 0 15px;
 }
 
div#smartnavi-logo img {
  max-width: 100% !important; 
  height: auto;
  margin-left: 0;
}

div#smartnavi-toggle-button, div#smartnavi-toggle-button:hover, div#smartnavi-toggle-button:active { background-image: url(/common_ui/embed_ui/img/icons_google/navigation/ic_menu_white_36dp.png); }

div#smartnavi-search { 
  width: 50%;
  padding: 0 15px;
}

div#searchWrapContMobileGeneral { max-width: initial; }

div#generalsearch-searchterm-wrap-mobile { 
  background: #444444;
  border: 0;
}

div#smartnavi-search input#searchterm-mobile { 
  background: none;
  color: white;
}

div#smartnavi-search input#searchterm-mobile::placeholder { color: transparent; }

div#generalsearch-submit-search-wrap-mobile { background: none; }

div#generalsearch-submit-search-wrap-mobile i { 
  background: none;
  color: #ffffff;
}

div#smartnavi-bottom-container { background: #222222; }


/*--- STARTPAGE, RESPBOX---*/

div.liftbox.teksti p:first-child { margin-top: 0; }

/* R */
div.liftbox .box_img img.liftbox-img { margin-bottom: 0px; }

/* div.liftarea-cont-wrap.rowfull { } */

/* R */
div.liftarea-cont-wrap.rowfull .liftarea-cont,
div.liftarea-cont-wrap.rowfull.has_row_style .liftarea-cont {
	margin-top: 45px;
	margin-bottom: 0;
}

div.liftarea-cont-wrap.rowfull.prevrowfull .liftarea-cont { margin-top: 0; }

div.liftarea-cont-wrap.has_row_style .liftarea-cont {	
	margin-top: 23px;
	margin-bottom: -23px;
}

div.liftarea-cont-wrap.has_row_style.nextrownostyle .liftarea-cont { margin-bottom: 0; }

/* R */
div.liftarea-cont-wrap2 { margin: auto; }

div.liftbox.kuva.haslink div.box_img img,
div.liftbox.kuva.haslink div.box_img h1 { cursor: pointer; }

div.liftbox.kuva div.box_img h1 {
 margin: 0;
 bottom: 4px;
}

/* styles.inc */
a.respbox-link-button { 
	padding: 9px 18px 11px 18px;
	text-decoration: none;
	line-height: 1.4em;
	display: inline-block; 
	transition: all 500ms ease-in-out 0s;
}

/* styles.inc */
a.respbox-link-button:hover { 
	opacity: 1;
	transition: background-color 500ms ease-in-out 0s; 
}

/*--- SUBPAGES ---*/

/* R */
div#pageimage-wrap { margin-bottom: 30px; }

div#pageimage-text { margin: -25px 0 30px 0; }

/* R */
div#pageimage2-wrap {
 float: right;
 margin-left: 60px;
 margin-bottom: 60px;
}

/* R */
div#pageimage2-text { 
 max-width: 370px;
 line-height: 1.2em;
 margin-top: 5px;
}

/* div#page-text-wrap {  } */

/*-----------------------------------------------
MISC
-----------------------------------------------*/

div#vk-flash {
 background: #ffffff;
 border: 1px solid #aaa;
 text-align: center;
 padding-top: 15px;
 display: none;
}

#pagemask-black { top: 0; }

.ui-dialog { z-index: 99999 !important; }

.ui-dialog-titlebar {
 padding: .5em 1em .3em;
 position: relative;
}

.ui-widget-header {
 border: 1px solid #aaa;
 background: #ccc;
 color: #222;
 font-weight: bold;
}

/*---------------- BANNERS ----------------*/

/* R */
div#banner-cont { 
	padding-bottom: 20px;
	text-align: center;
}
 
div#banner-cont div.banner-wrap { 
	display: inline-block; 
	vertical-align: middle;
	max-width: 100%;
	margin: 20px;
}
 
div.banner-wrap img {
	max-width: 100%;
	height: auto !important;
}
 
/*--- PAGER ---*/

p.pager-wrapper { margin-top: 30px; }

/* styles.inc */
.pager-current,
.pager-other:hover { 
 padding: 7px 10px;
 margin: 0;
}

.pager-other { 
 padding: 7px 10px;
 margin: 0;
}
