/*-----------------------------------------------
INDEX
-------------------------------------------------
	Global
	Layout
		FillerImg
		Navigation
		Startpage, respbox
		Subpages
	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;
}

div#main-fp h2 { text-transform: uppercase; }

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; }

b, strong { font-weight: 700; }

/* styles.inc */
a:focus-visible {  outline-offset: 2px; /* Pieni siirtymä */ }

mark.large { 
	font-weight: 500;
	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 #1f2945;
}

textarea, input[type="text"],input[type="textfield"],input[type="password"] {
	color: #000000;
	border: 1px solid #1f2945;
	padding: 10px;
	margin-top: 5px;
}

select {
 color: #000000;
 border: 1px solid #1f2945;
 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 #1f2945; }

div.makediv-opt-sel-wrapper:focus-visible {
  border: 1px solid #e60c72;
  outline: 1px solid #e60c72;
}

div.makediv-opt-sel-wrapper:focus div.makediv-sel-opt { border: 1px solid #e60c72; }

div.makediv-sel-opt.opened {
	border: 1px solid #e60c72;
	outline: 1px solid #e60c72;
}

input[type=radio], input[type=checkbox] { margin: 5px 5px 5px 0; }

input[type=text]:focus-visible,
input[type=password]:focus-visible,
textarea:focus-visible {
 border: 1px solid #e60c72;
 outline: 1px solid #e60c72;
 transition: initial;
 transition: box-shadow 300ms ease-in-out 0s;
}

select:focus-visible { 
 border: 1px solid #e60c72;
 outline: 1px solid #e60c72;
 /* -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 #e60c72;
  outline-offset: 2px; /* Pieni siirtymä */
}

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;
}

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: 500;
	text-transform: uppercase;
}

.data-header { 
	padding: 8px;
	font-weight: 500;
}
.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;
 color: #ffffff;
}

/* R */
div#container { background: #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.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 {  
	text-transform: uppercase;
	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; }

form#pagesearch-searchform label.visually-hidden { color: #ffffff; }

/* styles.inc */
div#generalsearch-searchterm-wrap { 
  background: #facee3;
  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, div#generalsearch-searchterm-wrap-mobile input.searchInput::-webkit-input-placeholder { color: #BD015F; }

/* 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 { } */

/* 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 { transition: transform 300ms ease-in-out 0s; }

div#logoWrap a:hover img { 
	transform: scale(1.03); /* (103% zoom ) */
	transition: transform 300ms ease-in-out 0s;
}

div#logoWrap a:focus-visible img { 
	outline: 3px solid #1f2945; /* Sininen reunus */
  outline-offset: 2px; /* Pieni siirtymä */
}

/* R */
div#navWrap { margin: auto 0 auto auto; }

/* div#main-navWrap { } */

/*--- FILLERIMG ---*/

div.filler-img-cont { background: #ffffff; }

/* R */
div.filler-img-wrap-sp,
div.filler-img-wrap {
	height: 550px;
	min-height: calc(50vh - 55px);
 	margin: 0;
 	background-size: cover;
 	background-position: center center;
 	background-repeat: no-repeat;
}

/* 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%; }

div#aside-sp { display: none; }

/* R */
div#aside { 
	display: table-cell;
	padding: 60px 40px 60px 0;
}

/* R */
div#main,
div#main-fp {
	display: table-cell;
	vertical-align: top;
	line-height: 1.4em;
	padding: 0 0 80px 0;
}

/* 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 30px 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: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 { } */

div#netland-wrap { 
	padding: 30px 15px 15px 15px;
	gap: 30px;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

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 ---*/

ul#mobinavi div.mobinav-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 44px;
}

ul#mobinavi div.mobinav-text {
	display: block;
	width: auto;
}

ul#mobinavi div.mobinav-toggler {	
	display: block;
	width: 44px;
	height: 44px;
	background-image: url(/img/icon_more.png);
	background-position: center center;
	position: relative;
	right: 3px;
}

ul#mobinavi div.mobinav-toggler.mobinav-toggler-minus {	background-image: url(/img/icon_less.png); }

ul#main-navi { 
 position: relative;
 margin: auto;
 padding: 0;
 text-align: right; 
}

ul#main-navi li.level1 {
 display: inline-block;
 -webkit-box-sizing: border-box;
 -ms-box-sizing: border-box;
 -moz-box-sizing: border-box;
 box-sizing: border-box;
 margin: 0;
 cursor: pointer;
 text-align: center;
 font-weight: bold;
}

ul#main-navi li.level1 a { 
	margin-left: 10px;
	text-decoration: none;
}

/* styles.inc */
div.language-wrap-mobile {
	display: flex;
	align-items: center;
	padding: 5px 15px;
	min-height: 44px;
}

/* R */
.sm-netland a { margin-left: 5px; }

/* 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 { font-weight: 300; }

/* 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);
}

h2.navi-left-title { 
	margin: 0 0 10px 0;
	text-transform: initial;
	line-height: 1em;
}

/* styles.inc */
h2.navi-left-title a { text-decoration: none; }

ul#navi-left {
 margin: 0; 
 padding: 0;
}

ul#navi-left ul {
 padding: 0;
 margin: 0;
 display: none;
}

/* styles.inc */
ul#navi-left li {
 display: block;
 padding: 0;
}

ul#navi-left div.nav-item { 
	padding: 10px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

ul#navi-left div.nav-toggler{
	display: block;
	width: 44px;
	height: 44px;
	background: url(/common_ui/embed_ui/img/icons_google/content/ic_add_black_24dp.png);
	background-repeat: no-repeat;
	background-position: center center;
	cursor: pointer;
}

ul#navi-left div.nav-toggler.nav-toggler-minus { background-image: url(/common_ui/embed_ui/img/icons_google/content/ic_remove_black_24dp.png); }

/* R */
ul#navi-left div.nav-text {
	display: block;
	vertical-align: middle;
	line-height: 1.4em;
}

/* styles.inc */
ul#navi-left a { text-decoration: none; }

/* styles.inc */
ul#navi-left a:hover { }

/* styles.inc */
ul#navi-left a.selected { }

ul#navi-left li.level1 a { /* font-weight: bold; */ }
ul#navi-left li.level2 a,ul#navi-left li.level3 a,ul#navi-left li.level4 a,ul#navi-left li.level5 a,ul#navi-left li.level6 a { font-weight: normal; }
ul#navi-left li.level2 div.nav-text.level2 { padding-left: 15px; }
ul#navi-left li.level3 div.nav-text.level3 { padding-left: 30px; }
ul#navi-left li.level4 div.nav-text.level4 { padding-left: 45px; }
ul#navi-left li.level5 div.nav-text.level5 { padding-left: 60px; }
ul#navi-left li.level6 div.nav-text.level6 { padding-left: 75px; }

/*--- 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 #e60c72; 
  outline-offset: 5px;
}

div#sp-iconlink-wrap a:focus {
	outline: 3px solid #1f2945; /* Sininen reunus */
  outline-offset: 5px; /* Pieni siirtymä */
}

div#sp-iconlink-wrap a.external-link::after { display: none; }

div#sp-iconlink-wrap a.external-link div.sp-iconlink-item::after {
    font-family: 'Material Icons';
    content: "arrow_outward";
    text-transform: initial;
    font-weight: normal;
}

/* 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; }

/* R */
div#content-lifts-contact2.liftcount2,
div#content-lifts-contact2.liftcount3 {	grid-template-columns: repeat(1, 1fr); }

div#content-lifts-contact2 div.content-lift-item { overflow: hidden; }

/* R */
/* div.lift-contact2-title-wrap {} */

/* R */
/* div.lift-contact2-info-wrap {} */

div.lift-contact2-email {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/*--- 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 { /* margin-top: -40px; */ }

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: 23px;
	margin-bottom: -23px; */
  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: 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: 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; } */

div.contact2-item div.contact2-info-wrap { display: block; }

div.contact2-name-addr-wrap, div.contact2-contacts-wrap { margin-right: 0; }

div.contact2-name-addr-wrap p { margin: 1em 0; }

div.contact2-name-addr-wrap { margin-bottom: 1em; }

div.contact2-extra-wrap a:first-child { margin-top: 1em; }

div.contact2-extra-wrap p:first-of-type { margin-top: 1em; }

div.contact2-extra-wrap p { 
	margin-top: 1em;
	margin-bottom: 0;
}

div.contact2-info-wrap { overflow: hidden; }

div.contact2-item a {
	white-space: nowrap;
	overflow: hidden;
}

div.contact2-some-gap { height: 1em; }

div.contact2-some-icons { line-height: 1em; }

div.contact2-some-icons a { line-height: 1em; }


/*-----------------------------------------------
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;
}
