/*-----------------------------------------------
INDEX
-------------------------------------------------
	Global
	Layout
		FillerImg
		Navigation
		Startpage, respbox
		Subpages
	Misc
------------------------------------------------*/

/*-----------------------------------------------
GLOBAL
-----------------------------------------------*/

html { font-size: 62.5%; }

/* R, styles.inc */
body {
	background: #ffffff;
	margin: 0; 
	padding: 0;
	line-height: 1em;
}

* { outline: none; }

img { border:0; }

h1 { 
 margin: 0 0 1em 0;
 line-height: 1.3em;
}

h1 + p { margin-top: 1em; }

h2 { 
 margin: 1.5em 0 1em 0;
 line-height: 1.3em;
}

h2 + p { margin-top: 1em; }

h3 { 
 margin: 1.5em 0 1em 0;
 line-height: 1.3em;
}

h3 + p { margin-top: 1em; }

p { margin: 1.5em 0; }

ul, ol { margin: 1em 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; }

mark.large { font-size: 140%; }

div,
textarea,
select,
option,
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="textfield"],input[type="password"] {
 /* webkit-appearance ipadille ja iphonelle */
 -webkit-appearance: none;
 border: 1px solid #bbbbbb;
}

textarea, input[type="text"],input[type="textfield"],input[type="password"],
div.f2-field input[type=date], div.f2-field input[type=time], div.f2-field input[type=datetime-local] {
 color: #000000;
 border: 1px solid #bbbbbb;
 padding: 10px;
 margin-top: 5px;
}

select {
 color: #000000;
 border: 1px solid #bbbbbb;
 padding: 9px 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,
div.f2-field input[type=date]:focus,
div.f2-field input[type=time]:focus,
div.f2-field input[type=datetime-local]:focus {
 border: 1px solid #000000;
 transition: initial;
 transition: box-shadow 300ms ease-in-out 0s;
}

select:focus { 
 border: 1px solid #000000;
 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;
 transition: all 300ms ease-in-out 0s;
}

.button:hover,
.button:active { transition: all 300ms ease-in-out 0s; }

.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; }

table td p:only-child { margin: 0; }

table td p:first-child { margin-top: 0; }

table td p:last-child { margin-bottom: 0; }

/* styles */
table th,
table thead,
table thead td { text-transform: uppercase; }

.data-header { padding: 8px; }
.data { padding: 8px; }

table.muotoiltu { border-collapse: collapse; }

/* styles.inc */
table.muotoiltu th { 
	padding: 8px;
	text-transform: none;
}

table.muotoiltu td { padding: 8px; }

/*-----------------------------------------------
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: #ffffff;
	border-left: 10px solid #ffffff;
	border-right: 10px solid #ffffff;
	border-bottom: 10px solid #ffffff;
} 

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#searchWrapCont { width: 290px; }

form#pagesearch-searchform div#searchform-searchfields { width: 290px; }

form#pagesearch-searchform div#autocomplete-no-resultsgeneral {	width: 290px; }

div#generalsearch-searchterm-wrap { opacity: 0.4; }
div#generalsearch-searchterm-wrap:focus-within { opacity: 1; }

/* styles.inc */
div#headerCont {
	display: table;
	width: 100%;
}

div#headerCont .table-cell { vertical-align: middle; }

div#logoWrap { 
	width: 460px;
	margin: auto;
	padding: 16px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	line-height: 1.3em;
}

div#logoWrap a:focus,
div#logoWrap a:hover {  
  opacity: 1;
  transition: opacity 300ms ease-in-out 0s;
	border-top: 0;
	border-bottom: 0;
}

div#logoWrap img { 
	display: inline-block;
  transition: all 300ms ease-in-out 0s;
}

div#logoWrap a:focus img,
div#logoWrap a:hover img { 
	opacity: 0.7;
  transition: opacity 300ms ease-in-out 0s;
}

/* R */
div#navWrap { margin: auto 30px auto auto; }

/* div#main-navWrap { } */

nav#main-nav {
  background: center center no-repeat url(/img/nav-bg.png);
  text-align: center;
}

/*--- FILLERIMG ---*/

div.filler-img-cont { 
	background: #ffffff;
	position: relative;
}

/* R */
div.filler-img-wrap-sp,
div.filler-img-wrap {
	height: 450px;
	min-height: calc(50vh - 55px);
 	margin: 0;
 	background-size: cover;
 	background-position: center center;
 	background-repeat: no-repeat;
}

div.filler-img-wrap-sp { margin-bottom: 10px; }

/* R */
div.filler-img-text-cont {
	display: table;
	margin: auto;
	height: 50vh;
}

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; }

img.filler-corner1 { position: absolute; left: 0; top: 0; }
img.filler-corner2 { position: absolute; right: 0; top: 0; }
img.filler-corner3 { position: absolute; right: 0; bottom: 0; }
img.filler-corner4 { position: absolute; left: 0; 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 80px 0;
}

div#main { padding: 45px 0 80px 0; }

/* R, styles.inc */
/* div#navBreadcrumb { } */ 

/* R */
/* div#page-wrap-fp div#navBreadcrumb { } */

/* R */
/* div#footer {} */

/* div#footer-cont {} */

/* R, styles.inc */
div#footer-wrap { 
	margin:auto;
	line-height: 1.4em;
	padding: 50px 30px 30px 30px;
}

/* R, styles.inc */
div#footer-wrap h1,
div#footer-wrap h2,
div#footer-wrap h3 { margin: 0 0 0.3em 0; }

div#footer-wrap p:first-of-type { margin-top: 0; }

div#footer-wrap p:last-of-type { margin-bottom: 0; }

div#footer-wrap div { margin: 0; }

/* styles.inc */
/* div#footer a, div#footer a:visited { } */

/* R */
div#netland-wrap {
 padding: 15px 0;
 text-align: center;
}

img#netland_apprunnercms { margin: auto; }

/* R, styles.inc */
div#cookie-settings-opener {
	text-transform: uppercase;
	text-align: center;
}

/*--- NAVIGATION ---*/

.sm-netland > li { border-left: none; }

/* R */
.sm-netland a { text-transform: uppercase; }

.sm-netland ul a { text-transform: initial; }

/* R, styles.inc */
/* .sm-netland a.selected, .sm-netland a:hover, .sm-netland a:focus, .sm-netland a:active, .sm-netland a.highlighted {} */

/* .sm-netland li ul:not(.ui-autocomplete) a, .sm-netland li ul:not(.ui-autocomplete) a:hover, .sm-netland li ul:not(.ui-autocomplete) a:focus, .sm-netland li ul:not(.ui-autocomplete) a:active, .sm-netland li ul:not(.ui-autocomplete) a.has-submenu, .sm-netland li ul:not(.ui-autocomplete) a.highlighted { } */

/* 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 */

/* styles.inc */
div#smartnavi-toggler-cont {
-webkit-box-shadow: 0px 0px 0px 0px rgba(0,0,0,0);
-moz-box-shadow: 0px 0px 0px 0px rgba(0,0,0,0);
 box-shadow: 0px 0px 0px 0px rgba(0,0,0,0);
}

div.mobilogo-wrap {
	display: flex;
  align-items: center;
  gap: 10px;
}

/* styles.inc */
/* div.mobilogo-wrap span {} */

a:has(.mobilogo-wrap) { text-decoration: none; }

/*--- STARTPAGE, RESPBOX---*/

/* div.liftbox { } */

div.liftbox.teksti p:first-child { margin-top: 0; }

div.liftbox.teksti p:last-child { margin-bottom: 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 h1 {	margin: 0 0 1em 0; }

div.liftbox h1:first-child {
	margin-top: 0;
	margin-bottom: 10px;
}

div.liftbox h2 {margin: 1.5em 0 1em 0; }

div.liftbox h2:first-child {
	margin-top: 0;
	margin-bottom: 10px;
}

div.liftbox-1 h3,
div.liftbox-2 h3,
div.liftbox-3 h3 { margin: 1.5em 0 1em 0; }

div.liftbox-1 h3:first-child,
div.liftbox-2 h3:first-child,
div.liftbox-3 h3:first-child { 
	margin-top: 0;
	margin-bottom: 5px;
}

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 ---*/

/* div#page-text-wrap {  } */

/*--- BLOG ---*/

div.blogTags { margin: 45px 0; }

hr.blogDivider {	margin: 45px 0; }

hr.commentDivider {	margin: 45px 0; }

div.blogPager .pager-other:hover { background: none; }

div.commentText blockquote { font-style: italic; }

/*--- CALENDAR---*/

/* R */
/* div.cal-wrapper.table { } */

/* R */
/* div.cal-wrapper div#cal-container-left {} */

/* R */
div.cal-wrapper div#cal-container-right { padding-left: 45px; }

td.data-header.cal-grid-month {	border: 0; }

td.data.cal-grid-weekday { border-top: 0; }

table#cal-grid-wrapper td.data {
	border-left-width: 0;
	border-right-width: 0;
}

/* styles.inc */
/* td.data-header.cal-grid-month {} */

/* styles.inc */
td.cal-grid-weekday {
	padding: 8px 3px;
}
 
/* styles.inc */
/* td.cal-grid-week {} */

td.cal-grid-week a { text-decoration: none; }

td.cal-grid-month a { 
	text-transform: uppercase;
	text-decoration: none;
}

table#cal-grid-wrapper td.data.cal-grid-today { border-width: 2px; }

table.cal-search-wrapper { margin-top: 45px; }

/* styles.inc */
td.cal-search-title {
	text-align: center;
	padding-left: initial;
	text-transform: uppercase;
	border: 0;
}

/* R, styles.inc */
td.cal-search-container { 
	border: 0;
	padding: 20px;
}

input#cal-search-freetext {	width: 100%; }

div.cal-wrapper div#cal-search-startdate-wrapper { padding-right: 10px; }

div.cal-wrapper div#cal-search-enddate-wrapper { padding-left: 10px; }

div.cal-wrapper div#cal-search-startdate-wrapper input, div.cal-wrapper div#cal-search-enddate-wrapper input { width: 100%; }

div#cal-search-submit-wrapper input.button { width: 100%; }

/*--- FILEBANK---*/

/* styles.inc */
div#fb-search-wrapper.th-box-tr {
	padding: 20px !important;
	border: 0;
	display: flex;
	justify-content: center;
}

div#fb-search-wrapper input { margin-top: 0; }

.treeTable th.data-header { 
	border-left: 0;
	border-right: 0;
}

.treeTable th.data-header:last-child,
.treeTable td:last-child  { border-right-width: 1px; }


/*-----------------------------------------------
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;
}

div.formbase *:last-child { margin-bottom: 0; }

/*--- 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;
}
