/*-----------------------------------------------
INDEX
-------------------------------------------------
	Global
	Layout
		FillerImg
		Navigation
		Startpage, respbox
		Subpages
		Tilauslomake

	Misc
------------------------------------------------*/

/*-----------------------------------------------
GLOBAL
-----------------------------------------------*/

html { font-size: 62.5%; }

/* R, styles.inc */
body {
	margin: 0; 
	padding: 0;
	line-height: 1em;
}

* {
	outline: none; 
	font-optical-sizing: auto;
}

img { border:0; }

h1 { 
	margin: 0 0 1em 0;
	line-height: 1.3em;
	text-transform: uppercase;
}

h1 + p { margin-top: 1em; }

h1.form-error {	font-weight: bold; }

h2 { 
	margin: 1.5em 0 1em 0;
	line-height: 1.3em;
  text-transform: uppercase;
}

h2 + p { margin-top: 1em; }

h3 { 
	margin: 1.5em 0 1em 0;
	line-height: 1.3em;
  text-transform: uppercase;
}

h3 + p { margin-top: 1em; }

p { margin: 1.5em 0; }

ul, ol { margin: 1em 0; }

a { transition: all 300ms ease-in-out 0s; }

b, strong { font-weight: bold; }

/* styles.inc */
a:focus-visible {  outline-offset: 2px; /* Pieni siirtymä */ }

mark.large { 
	font-weight: normal;
	font-size: 140%;
}

strong mark.large { font-weight: bold; }

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 { font-weight: normal; }

label b { font-weight: normal; }

/* input, select { padding: 5px; } */

textarea, input[type="text"],input[type="number"],input[type="date"],input[type="time"],input[type="textfield"],input[type="password"] {
 /* webkit-appearance ipadille ja iphonelle */
 -webkit-appearance: none;
 border: 1px solid #292929;
}

textarea, input[type="text"],input[type="textfield"],input[type="password"],input[type="number"],input[type="date"],input[type="time"] {
	color: #000000;
	border: 1px solid #292929;
	padding: 10px;
	/* margin-top: 5px; */
}

select {
 color: #000000;
 border: 1px solid #292929;
 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;
}

div.makediv-sel-opt { border: 1px solid #292929; }

div.makediv-opt-sel-wrapper:focus-visible {
  border: 1px solid #ff6921;
  outline: 1px solid #ff6921;
}

div.makediv-opt-sel-wrapper:focus div.makediv-sel-opt { border: 1px solid #ff6921; }

div.makediv-sel-opt.opened {
	border: 1px solid #ff6921;
	outline: 1px solid #ff6921;
}

/* input[type=radio], input[type=checkbox] { margin: 5px 5px 5px 0; } */

input[type=text]:focus-visible,
input[type=number]:focus-visible,
input[type=date]:focus-visible,
input[type=time]:focus-visible,
input[type=password]:focus-visible,
textarea:focus-visible {
 border: 1px solid #ff6921;
 outline: 1px solid #ff6921;
 transition: initial;
 transition: box-shadow 300ms ease-in-out 0s;
}

select:focus-visible { 
 border: 1px solid #ff6921;
 outline: 1px solid #ff6921;
 /* -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;
}

input[type=radio]:focus-visible,
input[type=checkbox]:focus-visible {
	outline: 3px solid #ff6921;
  outline-offset: 2px; /* Pieni siirtymä */
}

fieldset {
 margin: 0;
 padding: 0;
 border: 0;
}

/* styles.inc */
.button {
  text-transform: uppercase;
  padding: 14px 18px;
  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; }

a.button { 
	display: inline-block;
	text-decoration: none;
}

/* 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;
}

/* styles.inc */
div.button.select_file { padding: 6px 10px; }

/* R */
/* div.formbase,
div#f2-thankyou {} */

div.sweet-alert button.cancel,
div.sweet-alert button.confirm { 
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  border: 0;
}

.clear { clear:both; }

.nowrap { white-space: nowrap; }

.admin-linkset a:focus-visible,
.admin-link-pup-single a:focus-visible { outline: none; }

.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 { 
	font-weight: normal;
	text-transform: uppercase;
}

.data-header { 
	padding: 8px;
	font-weight: normal;
}
.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; } 

div#header-print { display: none; }

/* styles.inc */
/* div#topHeaderCont { } */

/* R */
div#topHeaderWrap { 
  margin: auto;
  display: flex;
  justify-content: flex-end;
}

div#topHeaderWrap .table-cell { vertical-align: middle; }

div#topheaderLinkCont { 
	padding: 0 45px 0 0;
	vertical-align: middle;
}

div#topheaderLinkCont div.topheaderLinkWrap { 
	display: inline-block;
	padding-left: 20px;
}

/* styles.inc */
div#topheaderLinkCont div.topheaderLinkWrap a.topheaderLink { 
 text-transform: uppercase;
 text-decoration: none;
}

/* styles.inc */
div.language-wrap { padding-right: 40px; }

/* styles.inc */
a.langlink { 
	font-weight: bold;
	text-decoration: none;
  transition: text-decoration 500ms ease-in-out 0s;
}

a.langlink:hover { 
  text-decoration: underline;
  transition: text-decoration 500ms ease-in-out 0s;
}

div#searchWrapCont { width: 290px; }

form#pagesearch-searchform div#searchform-searchfields { width: 290px; }

form#pagesearch-searchform div#autocomplete-no-resultsgeneral {	width: 290px; }

/* styles.inc */
div#generalsearch-searchterm-wrap { 
  background: #666666;
  border: 0;
}

div#generalsearch-searchterm-wrap:focus-within { background: #ffffff; }

/* styles.inc */
div#generalsearch-searchterm-wrap input.searchInput { 
  width: calc(100% - 42px);
  height: 42px;
  background: transparent;
}

div#generalsearch-searchterm-wrap input.searchInput::-webkit-input-placeholder { color: #000000; }

div#generalsearch-searchterm-wrap-mobile input.searchInput::-webkit-input-placeholder { color: transparent; }

/* styles.inc */
div#generalsearch-submit-search-wrap i { 
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* styles.inc */
/*  div#generalsearch-submit-search-wrap:focus i,
div#generalsearch-submit-search-wrap i:focus,
div#generalsearch-submit-search-wrap i:hover { } */

div#generalsearch-searchterm-wrap-mobile { border: 0; }

/* styles.inc */
div#headerCont { 
	width: 100%;
	border-bottom: #cccccc;
}

/* R */
div#headerWrap { 
	display: table; 
	margin: auto;
}

div#headerWrap .table-cell { vertical-align: middle; }

div#logoWrap { padding: 30px 30px 30px 0; }

div#logoWrap a img { 
	width: 290px !important;
	transition: transform 300ms ease-in-out 0s;
}

div#logoWrap a:hover img { 
	transform: scale(1.02); /* (102% zoom ) */
	transition: transform 300ms ease-in-out 0s;
}

div#logoWrap a:focus-visible img { 
	outline: 3px solid #292929; /* Sininen reunus */
  outline-offset: 2px; /* Pieni siirtymä */
}

div#headerCont .table-cell a:hover { text-decoration: underline; }

div#headerContactWrap {
	display: flex;
	align-items: top;
	justify-content: flex-end;
	gap: 40px;
	line-height: 2.1rem;
	padding: 20px 0;
}

div#headerContactWrap p:first-of-type {	margin-top: 0; }

div#headerContactWrap p:last-of-type {	margin-bottom: 0; }

/* R, styles.inc */
/* div#navWrap { } */

/*---------------- FLEXSLIDER ----------------*/

div#flexslider-cont-hs { display: none; }

/* R */
div#flexslider-cont { 
	position: relative;
	margin-top: -35px;
  min-height: 35px;
}

/* R */
div#flexslider-cont div.flexslider { 
	border:0;
	margin-bottom: 0;
	border-radius: 0;
 -webkit-border-radius: 0;
 -moz-border-radius: 0;
 -o-border-radius: 0;
	box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

/* R */
div#flexslider-cont div.flexslider-wrap {
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* R */
.flexslider-img-text-cont { 
	display: flex;
  justify-content: flex-start;
  align-items: center;
}

/* R */
.flexslider-img-text-wrap {
	background-color: rgba(0, 0, 0, 0.3);
	color: #ffffff;
	padding: 30px 36px;
	text-align: left;
}

/* styles.inc, R */
.flexslider-img-text-wrap h1 { 
	margin: 0;
	line-height: 1.2em;
  text-shadow: 0px 0px 20px rgba(0,0,0,0.6);
}

/* styles.inc */
.flexslider-img-text-wrap p { 
  margin: 1em 0;
  line-height: 1.4em;
  text-shadow: 0px 0px 20px rgba(0,0,0,0.6);
}

.flexslider-img-text-wrap p:last-child { margin-bottom: 0; }

/* R */
.flexslider-img-text-wrap a.button { margin: 1.5em 0 0.5em 0; }

/*--- FILLERIMG ---*/

div.filler-img-cont { background: #ffffff; }

/* R */
div.filler-img-wrap {
	height: 215px;
 	margin: 0;
	margin-top: -35px;
 	background-size: cover;
 	background-position: center center;
 	background-repeat: no-repeat;
}

/* R */
div.filler-img-wrap-sp {
	height: calc(100vh - 214px );
	min-height: 340px;
 	margin: 0;
	margin-top: -35px;
 	background-size: cover;
 	background-position: center center;
 	background-repeat: no-repeat;
}

/* R */
div.filler-img-wrap-sp div.filler-img-wrap2-sp {
	height: calc(100vh - 214px );
	min-height: 340px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	background-color: rgba(0, 102, 204, 0.5);
}

/* R */
div.filler-img-wrap-sp div.filler-img-wrap2-sp div.filler-img-text-wrap {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	width: 960px;
}

/* R */
div.filler-img-wrap-sp div.filler-img-wrap2-sp div.filler-img-text-wrap h1 {
	width: 100%;
	font-family: 'arial black', sans-serif;
	font-size: 4.8rem;
	font-weight: bold;
	text-align: center;
	color: #ffffff;
}

div.filler-img-wrap-sp div.filler-img-wrap2-sp a.button { 
	margin: 12px;
	min-width: 200px;
	text-align: center;
}


/*--- /FillerImg ---*/

/* R */
div#page-wrap,
div#page-wrap-fp { margin:auto; }

/* R */
div#main,
div#main-fp {
	vertical-align: top;
	line-height: 1.4em;
	padding: 0 0 40px 0;
}

/* R */
/* div#main { } */

/* R, styles.inc */
div#navBreadcrumb { 
	margin: auto;
	padding: 15px 0 45px 0;
} 

/* R */
div#main-fp div#navBreadcrumb { padding: 15px 0 0 0; }

/* styles.inc */
/* div#footer { } */

/* R */
div#footer-cont { 
	margin: auto;
	padding: 60px 0;
} 

/* R */
div#footer-wrap { 
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 40px;
	line-height: 1.4em;
}

/* R */
div.footer-col { flex-grow: 1; }
 
/* 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 { margin: 1em 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 { } */

/* styles.inc */
div#netland-wrap { 
	padding: 30px 15px;
	gap: 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

div#netland-wrap a:focus img { outline: 1px dotted #000000; }

/* img#netland_apprunnercms { } */

/* styles.inc */
/* div#cookie-settings-cont {} */

/* R, styles.inc */
div#cookie-settings-opener { text-transform: uppercase; } 

/* R */
div#cookie-settings-text-wrap { padding-right: 30px; }

/*--- NAVIGATION ---*/

/* styles.inc */
div.language-wrap-mobile {
	display: flex;
	align-items: center;
	padding: 5px 15px;
	min-height: 44px;
}

.sm-netland > li {	border-left: 0; }

/* R */
.sm-netland a { text-transform: uppercase; }

.sm-netland ul a { text-transform: initial; }

/* R */
/* .sm-netland a, .sm-netland a:hover, .sm-netland a:focus, .sm-netland a:active, .sm-netland a.highlighted { } */

/* R */
/* .sm-netland a:hover, .sm-netland a:focus, .sm-netland a:active, .sm-netland a.highlighted { } */

/* R */
/* .sm-netland ul li a, .sm-netland ul li a:hover, .sm-netland ul li a:focus, .sm-netland ul li a:active, .sm-netland ul li a.highlighted { } */

/* R */
/* .sm-netland a.has-submenu:hover, .sm-netland a.has-submenu, .sm-netland a.has-submenu:focus, .sm-netland a.has-submenu:active { } */

/* 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 {
	border-bottom: 0;
-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);
}

/*--- 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--*/

/* R */
div#sp-dyntext-wrap {	margin: 60px auto; }

div#sp-dyntext-wrap h1 { margin-bottom: 10px; }

/* div#sp-iconlink-cont {} */
 
/* R */
div#sp-iconlink-wrap {
	margin: 60px auto;
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: flex-start;
	justify-content: center;
}

/* styles.inc */
div#sp-iconlink-wrap  a { 
	flex-basis: 170px;
	text-align: center;
	text-decoration: none;
	line-height: 1.2em;
}

div#sp-iconlink-wrap a:hover {
	outline: 3px solid #ff6921; 
  outline-offset: 5px;
}

div#sp-iconlink-wrap a:focus {
	outline: 3px solid #1f2945; /* Sininen reunus */
  outline-offset: 5px; /* Pieni siirtymä */
}

/* div.sp-iconlink-item {} */

div.sp-iconlink-img-wrap  {
	margin: auto;
	width: 100px;
	height: 100px;
	display: flex;
	justify-content: center;
	align-items: center;
}

div.sp-iconlink-img-wrap img { 
	display: block;
	margin-bottom: 10px;
}

/* R */
div#main-fp div#content-lifts-contact2-cont { margin: auto; }

div#content-lifts-contact2 { margin-top: 40px; }

/*--- 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.liftbox a:focus-visible {
	-webkit-box-shadow: 0 0 0 .125rem #ffffff;
	box-shadow: 0 0 0 .125rem #ffffff;
}

/* div.liftarea-cont-wrap.rowfull { } */

/* div#main-fp div.liftarea-cont.first { } */

div#main div#row1 div.liftarea-cont { margin-top: -40px; }
/* R */
div.liftarea-cont-wrap.rowfull .liftarea-cont,
div.liftarea-cont-wrap.rowfull.has_row_style .liftarea-cont {
	margin-top: 40px;
	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: 40px; }

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;
}

div.box-cont-wrap div.respbox-linkbox:only-child { margin-top: 0; }

a.respbox-link- { font-weight: bold; }

/* styles.inc */
a.respbox-link-button { 
	padding: 14px 18px;
	text-decoration: none;
	line-height: 1em;
	display: inline-block; 
	transition: all 500ms ease-in-out 0s;
	text-transform: uppercase;
	margin-top: 1em;
}

/* 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: 40px; }

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;
}

td.cal-grid-month a:focus-visible {
 -webkit-box-shadow: 0 0 0 .125rem #ffffff;
  box-shadow: 0 0 0 .125rem #ffffff;
}

table#cal-grid-wrapper td.data.cal-grid-today { border-width: 2px; }

table.cal-search-wrapper { margin-top: 40px; }

/* 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; }

/*--- CONTACT2---*/

/* div.contact2-search-wrap input#c2term::placeholder { color: transparent !important; } */

button.contact2-item-button h3 { text-transform: unset; }

div.lift-contact2-nimi h3 { text-transform: unset; }

/*--- TILAUSLOMAKE ---*/

form#tilauslomake div.rows { margin: 30px 0; }

form#tilauslomake div.columns {
	display: flex; 
	gap: 30px;
	margin-bottom: 15px;
}

form#tilauslomake div.columns div.column {
	flex: 1;
	box-sizing: border-box;
	max-width: calc((100% - 60px) / 3);
}

form#tilauslomake div.columns div.column label {
 display: inline-block;
 margin-top: 15px;
}

form#tilauslomake div.row {
	display: flex; 
	gap: 15px;
	margin-bottom: 15px;
 }

form#tilauslomake div.row div.column {
 flex: 0 0 calc((100% - 60px) / 6);
 box-sizing: border-box;
}

form#tilauslomake div.column h2 { margin: 10px 0 5px 0; }

form#tilauslomake div.row div.column3 { flex: 0 0 calc((100% - 60px) / 3); }

form#tilauslomake div.row div.column h2 { margin: 0 0 5px 0; }

form#tilauslomake div.row2 h2,
form#tilauslomake div.row3 h2,
form#tilauslomake div.row4 h2,
form#tilauslomake div.row5 h2 { 
 display: none; 
}

form#tilauslomake div.row.hidden { display: none; }

form#tilauslomake div.column input, 
form#tilauslomake div.column textarea, 
form#tilauslomake div.column select { width: 100%; } 

input#addrow { margin-right: 15px; }


/*-----------------------------------------------
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;
}
