/*-----------------------------------------------
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;
}

* { 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; }

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"] {
 color: #000000;
 border: 1px solid #bbbbbb;
 -webkit-border-radius: 0px;
 -moz-border-radius: 0px;
 border-radius: 0px;
 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 {
 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; }

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 { 
	font-weight: bold;
	text-transform: uppercase;
}

.data-header { padding: 8px; }
.data { padding: 8px; }

table.muotoiltu { border-collapse: collapse; }

/* styles.inc */
table.muotoiltu th { 
	padding: 8px;
	text-transform: uppercase;
}

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 top left url('/img/layout/container-bg.jpg'); }

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 {
-webkit-box-shadow: 0px -5px 25px 0px rgba(0,0,0,0.5);
-moz-box-shadow: 0px -5px 25px 0px rgba(0,0,0,0.5);
 box-shadow: 0px -5px 25px 0px rgba(0,0,0,0.5);
}

/* div#logoWrap { } */

div#logoWrap img {
	display: block;
	max-width: 350px;
	height: auto;
	margin: auto;
}

/* R */
div#navWrap { margin: auto; }

/* div#main-navWrap { } */

nav#main-nav { text-align: center; }

/*--- FILLERIMG ---*/

/* R */
div.filler-img-wrap-sp,
div.filler-img-wrap {
	min-height: 50vh;
 	margin: 0;
 	background-size: cover;
 	background-position: center center;
 	background-repeat: no-repeat;
-webkit-box-shadow: inset 0px 10px 20px 0px rgba(0,0,0,0.5); 
-moz-box-shadow: inset 0px 10px 20px 0px rgba(0,0,0,0.5); 
	box-shadow: inset 0px 10px 20px 0px rgba(0,0,0,0.5);
}

/* R */
div.filler-img-wrap2 {
	width: 100%;
	min-height: 50vh;
	background-size: 100%;
	border-bottom: 4px solid #ffffff;
-webkit-box-shadow: 0px -5px 25px 0px rgba(0,0,0,0.55); 
box-shadow: 0px -5px 25px 0px rgba(0,0,0,0.55);

}

/* 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; }

/*--- /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.4em;
 padding: 0 0 45px 0;
}

/* R, styles.inc */
div#navBreadcrumb { 
	margin: auto;
	padding: 15px 0 45px 0;
} 

/* R */
div#main-fp div#navBreadcrumb { padding: 15px 0 0 0; }

/* R */
div#footer { padding: 370px 0 0 0; } 

/* R, styles.inc */
div#footer-wrap { 
	margin:auto;
	line-height: 1.4em;
}

/* 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 */
/* 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 {
-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);
}

/*--- STARTPAGE, FLEXSLIDER---*/

/* R */
div#flexslider-cont {	margin: auto; }

div#flexslider-cont div.flexslider {
	margin: 50px 0 0 0;
 -webkit-border-radius: 0;
 -moz-border-radius: 0;
 -o-border-radius: 0;
	border-radius: 0;
	border: 0;
}

/* R */
div.flexslider-wrap {  
	position: relative;
	border: 4px solid #ffffff;
	background-size: cover;
	background-position: center;
} 

div.flexslider-img-text-wrap {
	position: absolute;
	z-index: 2;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 5px 15px;
	text-align: center;
	background: transparent top left url('/img/black50.png');
}

div.flexslider-img-text-wrap h2 {
	margin: 0;
	color: #ffffff;
}

div.flexslider-img-text-wrap,
div.flexslider-img-text-wrap a { 
	color: #ffffff !important;
	text-decoration: none;
}

/*--- 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 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;
}

/*--- 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;
}
