body:before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background: url(images/aa1.jpg) no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}



.hedbtn {
    -moz-box-shadow:inset 0px 0px 0px 0px #ffffff;
    -webkit-box-shadow:inset 0px 0px 0px 0px #ffffff;
    box-shadow:inset 0px 0px 0px 0px #ffffff;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ffffff), color-stop(1, #5f7fbb) );
    background:-moz-linear-gradient( center top, #5f7fbb 5%, #ffffff 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#5f7fbb');
    background-color:#5f7fbb;
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    border-radius:4px;
    border:1px solid #ffffff;
    display:inline-block;
 color: #000;
  font-size: 11pt;
  font-family: arial, verdana;
font-weight: 500;

    padding:3px 10px;

    text-shadow:0px 0px 0px #ffffff;
    cursor:pointer;
}


.hedbtn2 {
    -moz-box-shadow:inset 0px 0px 0px 0px #ffffff;
    -webkit-box-shadow:inset 0px 0px 0px 0px #ffffff;
    box-shadow:inset 0px 0px 0px 0px #ffffff;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ffffff), color-stop(1, #5f7fbb) );
    background:-moz-linear-gradient( center top, #5f7fbb 5%, #ffffff 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#5f7fbb');
    background-color:#5f7fbb;
//    -moz-border-radius:4px;
//    -webkit-border-radius:4px;
//    border-radius:4px;
    border-bottom:1px solid #ccc;
    display:inline-block;
 color: #000;
  font-size: 11pt;
  font-family: arial, verdana;
font-weight: 500;

    padding:3px 10px;

    text-shadow:0px 0px 0px #292929;
    cursor:pointer;
}





/* Overline From Center */
.hvr-overline-from-center {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow: hidden;
}
.hvr-overline-from-center:before {
  content: "";
  position: absolute;
  z-index: 100;
  left: 50%;
  right: 50%;
  top: -2;
  background: #250254;
  height: 4px;
  -webkit-transition-property: left, right;
  transition-property: left, right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-overline-from-center:hover:before, .hvr-overline-from-center:focus:before, .hvr-overline-from-center:active:before {
  left: 0;
  right: 0;
}




/* Overline From Center */
.hvr-overline-from-centerx {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow: hidden;
}
.hvr-overline-from-centerx:before {
  content: "";
  position: absolute;
  z-index: 100;
  left: 50%;
  right: 50%;
  top: -2;
  background: #0800ff;
  height: 4px;
  -webkit-transition-property: left, right;
  transition-property: left, right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-overline-from-centerx:hover:before, .hvr-overline-from-center:focus:before, .hvr-overline-from-centerx:active:before {
  left: 0;
  right: 0;
}






.normtext {
    -webkit-column-count: 2; /* Chrome, Safari, Opera */
    -moz-column-count: 2; /* Firefox */
    column-count: 2;
    -webkit-column-gap: 20px; /* Chrome, Safari, Opera */
    -moz-column-gap: 20px; /* Firefox */
    column-gap: 20px;
vertical-align: top;
}



.mnutxt {
 color: #000;
  font-size: 12pt;
  font-family: arial, verdana;
font-weight: 500;
 line-height:18pt;
}



.main-nav,
.main {
  position: relative; 
}
.main-nav {
  background: #fff;
max-width:100%;
  height: 130px;
  z-index: 150;
margin-left: auto;
margin-right: auto;
  box-shadow: 0 0px 0px rgba(0,0,0,.4);
padding-top:5px;
padding-left:0px;
-webkit-border-radius: 0px 0px 4px 4px;
border-radius: 0px 0px 4px 4px;

}

.main-nav-scrolled {
  position: fixed;
  width: 100%;
  top: 5;

}

a.anchor {
    display: block;
    position: relative;
    top: -180px;
    visibility: hidden;
}

.pluokka {
// border: 3px solid #ffff;
-webkit-border-radius: 0px 0px 4px 4px;
border-radius: 0px 0px 4px 4px;
padding:5px;
}


.main {
  background: #f2f2e8;
  padding: 110px 50px 50px;
  column-count: 2;
  column-gap: 40px;
}


.bd1 {
  width: 100%;

  background: #ffffff;
}
.bd1-scrolled {
  width: 100%;

  background: #ffffff;

top: -20px;
}


#background_wrap {
    z-index: -1;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-size: 100%;
    background-image: url('images/A3.JPEG');
    background-attachment: fixed;
}





.bd2 {
  width: 100%;
z-index:1;

// background-repeat: repeat-y;
// background-position: top 160px;
//    background-attachment: fixed;

}

.bd3 {
  width: 100%;
z-index:1;

// background-repeat: repeat-y;
// background-position: relative;
//    background-attachment: fixed;

}
.bd4 {
  width: 100%;
z-index:1;

// background-repeat: repeat-y;
// background-position: relative;
//    background-attachment: fixed;
}

.bd5 {
  width: 100%;
z-index:1;

// background-repeat: repeat-y;
// background-position: relative;
//    background-attachment: fixed;
}

.bd6 {
  width: 100%;
  background: #ffffff;
  background-image : url('images/yp1.jpg');
 background-repeat: no-repeat;
    background-attachment: fixed;

}


.yocont {

margin:auto;
max-width:80%;
}

.yocont2 {

margin:auto;
max-width:100%;
}


.yovas {

display:inline-block;
text-align:left;
//float:left;
width:45%;
}


.yovas2 {
valign:top;
text-align:left;
float:left;
max-width:50%;
}
.yovas3 {
valign:top;
text-align:left;
float:left;
max-width:50%;
}


.yooik { 

display:inline-block;
//float:left;
vertical-align:top;
text-align:left;
//margin-left:10px;
width:45%;
}



.erkuva {
	border-radius: 999em;
	border: 5px solid #ccc;
	background: #000;
	width:400px;
	height:400px;
}

.yot1 { 

display:inline-block;
align:center;
vertical-align:top;
text-align:left;
margin-left:10px;
max-width:33%;
}




.yooik2 { 
float:left;
valign:top;
text-align:left;
margin-left:10px;
max-width:50%;
}

.yooik3 { 
float:left;
valign:top;
text-align:left;
margin-left:10px;
max-width:50%;
}

.yocle {
    clear: both;
}



.fhd2cont {

  width: 100%;
align: center;
  position: relative;
  background-color: #ffffff;
margin-left: auto;
margin-right: auto;
 color: #000;
  font-size: 12pt;
  font-family: arial, verdana;
font-weight: 500;
 line-height:18pt;
padding-top:10px;
padding-bottom:10px;
}

.fhd2cont_a {

  max-width: 80%;
align: center;
  position: relative;
  background-color: #ffffff;
margin-left: auto;
margin-right: auto;
color: #333;
  font-size: 14pt;
  font-family: arial, verdana;
font-weight: 500;
line-height: 1.5;

}

   .phwra {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    text-align: center;
   }




#fhd3cont {

  max-width: 100%;
align: center;
  position: relative;
  background-color: #ffffff;
margin-left: auto;
margin-right: auto;
 color: #fff;
  font-size: 12pt;
  font-family: arial, verdana;
font-weight: 500;
 line-height:18pt;
padding-top:10px;
padding-bottom:10px;
}

#fhd3cont_a {

  max-width: 100%;
align: center;
  position: relative;
  background-color: #ffffff;
margin-left: auto;
margin-right: auto;
 color: #fff;
  font-size: 12pt;
  font-family: arial, verdana;
font-weight: 500;
 line-height:18pt;
padding-top:10px;
padding-bottom:10px;
}

#fhd4cont {

  max-width: 100%;
align: center;
  position: relative;
  background-color: #ffffff;
margin-left: auto;
margin-right: auto;
 color: #fff;
  font-size: 12pt;
  font-family: arial, verdana;
font-weight: 500;
 line-height:18pt;
padding-top:10px;
padding-bottom:10px;
}
#fhd4cont_a {

  max-width: 80%;
align: center;
//  position: relative;
  background-color: #ffffff;
margin-left: auto;
margin-right: auto;
 color: #fff;
  font-size: 12pt;
  font-family: arial, verdana;
font-weight: 500;
 line-height:18pt;
padding-top:10px;
padding-bottom:10px;
}


#fhd5cont {

  max-width: 100%;
align: center;
  position: relative;
  background-color: #ffffff;
margin-left: auto;
margin-right: auto;
 color: #fff;
  font-size: 12pt;
  font-family: arial, verdana;
font-weight: 500;
 line-height:18pt;
padding-top:10px;
padding-bottom:10px;
}

#fhd6cont {

  max-width: 100%;
align: center;
  position: relative;
  background-color: #ffffff;
margin-left: auto;
margin-right: auto;
 color: #fff;
  font-size: 12pt;
  font-family: arial, verdana;
font-weight: 500;
 line-height:18pt;
padding-top:10px;
padding-bottom:10px;
}

#fhd7cont {

  max-width: 100%;
align: center;
  position: relative;
  background-color: #ffffff;
margin-left: auto;
margin-right: auto;
 color: #fff;
  font-size: 12pt;
  font-family: arial, verdana;
font-weight: 500;
 line-height:18pt;
padding-top:10px;
padding-bottom:10px;
}

#fhd8cont {

  max-width: 100%;
align: center;
  position: relative;
  background-color: #ffffff;
margin-left: auto;
margin-right: auto;
 color: #fff;
  font-size: 12pt;
  font-family: arial, verdana;
font-weight: 500;
 line-height:18pt;
padding-top:10px;
padding-bottom:10px;
}


#fhd10cont {

  max-width: 100%;
align: center;
  position: relative;
  background-color: #ffffff;
margin-left: auto;
margin-right: auto;
 color: #fff;
  font-size: 12pt;
  font-family: arial, verdana;
font-weight: 500;
 line-height:18pt;
padding-top:10px;
padding-bottom:10px;
}

#fhd9cont {

  max-width: 100%;
align: center;
  position: relative;
  background-color: #ffffff;
margin-left: auto;
margin-right: auto;
 color: #fff;
  font-size: 12pt;
  font-family: arial, verdana;
font-weight: 500;
 line-height:18pt;
padding-top:10px;
padding-bottom:10px;
}

#fhd11cont {

  max-width: 100%;
align: center;
  position: relative;
  background-color: #ffffff;
margin-left: auto;
margin-right: auto;
 color: #fff;
  font-size: 12pt;
  font-family: arial, verdana;
font-weight: 500;
 line-height:18pt;
padding-top:10px;
padding-bottom:10px;
}


#fhdfcont {
height: 300px;
  max-width: 100%;
align: center;
  position: relative;
  background-color: #111111;
margin-left: auto;
margin-right: auto;
 color: #fff;
  font-size: 12pt;
  font-family: arial, verdana;
font-weight: 500;
 line-height:18pt;
padding-top:10px;

}


.fhd1cont {
  height: 125px;
  max-width: 100%;
  background-color: #ffffff;
margin-left:auto;
margin-right:auto;
position:relative;
}

.fhd1cont-scrolled {
position:static;
  top: 0;
  height: 125px;
  max-width: 100%;
  background-color: #ffffff;
margin-left:auto;
margin-right:auto;
}


#fhd1image {
  position: relative;

}
#fhd1text {
  z-index: 100;
  position: absolute;
  right:28px;
  width:255px;
 color: #fff;
  font-size: 12pt;
  font-family: arial;
 line-height:18pt;
text-align:left;
margin-top:10px;
  border-right: 0.5pt solid white;
}

#fhd1oo {
  width: 100%;
align: center;
  position: relative;
}



.text9 {


	font-family: tahoma, verdana;
	font-size: 14px;
	font-weight: normal;
	color: #000000;
}

BODY {

  color: #000000;
  margin: 0px;
padding-top: 10px;

  background-color: #525252;
}








.trans {
-webkit-border-radius: 4px;
border-radius: 4px;

}






A {
  color: #000000;
  text-decoration: none;
}

A:hover {
  color: #8f2525;
  text-decoration: none;
}

FORM {
	display: inline;
}

TR.header {
  background: #ffffff;
}

TR.headerNavigation {
  background: #8f2525;
}

TD.headerNavigation {
  font-family: Verdana, Arial, sans-serif;
  font-size: 10px;
  background: #8f2525;
  color: #ffffff;
  font-weight : bold;
}

A.headerNavigation { 
  color: #FFFFFF; 
}

A.headerNavigation:hover {
  color: #ffffff;
}


TR.footer {
  background: #8f2525;
}

TD.footer {
  font-family: Verdana, Arial, sans-serif;
  font-size: 10px;
  background: #8f2525;
  color: #ffffff;
  font-weight: bold;
}






TD.pageHeading, DIV.pageHeading {
  font-family: Verdana, Arial, sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #8f2525;
}





TD.smallText, SPAN.smallText, P.smallText {
  font-family: Verdana, Arial, sans-serif;
  font-size: 10px;
}


CHECKBOX, INPUT, RADIO, SELECT {
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 14px;
}

TEXTAREA {
  width: 100%;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 14px;
}


TABLE.formArea {
  background: #f1f9fe;
  border-color: #7b9ebd;
  border-style: solid;
  border-width: 1px;
}

TD.formAreaTitle {
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
}

.yvvalwrep3 {
position:absolute;
top:80px;
left:0px;
z-index:3;
}





#yvval2 {
    position relative;	
    width: 100%;
	height: 10px;
	border: 0;
	box-shadow: 0 10px 10px -10px #8c8b8b inset;
}

#luku {
 padding-right:32%; 
float:right;
}

#ikuk {
 padding-left:22%;


}


.vlbc {
 z-index:-20;
height:350px;
width:100%;
position:relative;

}


.otsikot {
width:90%;
display:inline-block;
	min-height: 200px;
	padding:30px 10px 10px 30px;


overflow:hidden;
	box-shadow: 5px 5px 5px -5px #ccc inset;
cursor:pointer;
}

.otsikot:hover {min-height:200px;width:90%;box-shadow: 0px 10px 0px 0px #0c00ff inset; background:#f8f8f8;overflow:hidden;}

.wp-block-table {
border-collapse: collapse;
border-spacing: 0;
table-layout: fixed;
width: 100%;
background-color: #f5f5f5;
word-wrap: break-word;
font-family: 'Hind', sans-serif;

font-size: 1.125rem;
font-style: normal;
font-weight: 400;
line-height: 1.555555555555556;
color: #333;
border-bottom:1px;
}

table.wp-block-table td {border-bottom:1px solid #ddd; padding-top:5px;padding-bottom:5px;}

table.wp-block-table td.heihei {border-bottom:0px solid #ddd; padding-top:5px;padding-bottom:5px;}

table.wp-block-table td.ylimaa {border-bottom:0px solid #ddd; padding-top:5px;padding-bottom:5px;}
#loading {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  /* 1/2 of the height and width of the actual gif */
  margin: -16px 0 0 -16px;
  z-index: 10099;
  }

.nimi {
 color: #333;
  font-size: 20pt;
  font-family: arial, verdana;
font-weight: 500;
}

.tetu {
 color: #333;
  font-size: 14pt;
  font-family: arial, verdana;
font-weight: 500;
}





@media (max-width:1290px) {.heihei {display:none;}.erkuva {width:350px;height:350px;}}
@media (max-width:1150px) {.erkuva {width:300px;height:300px;}.otsikot:hover{width:80%;}.otsikot{width:80%;}}
@media (max-width:1150px) {#valiv {display:none;}#yove {display:inline-block !important;}#aove {display:inline-block !important;}.yovas {display:none;}.yooik {display:none;}#uusskan {display:inline-block !important;}#vanskan {display:none;}}
@media (max-width:1150px) {#uusmenu {display:inline-block !important;}}
@media (max-width:990px) {.erkuva {width:250px;height:250px;}}
@media (max-width:840px) {.erkuva {width:200px;height:200px;}}
@media (max-width:690px) {.erkuva {width:150px;height:150px;}}


@media (max-width:540px) {.erkuva {width:100px;height:100px;border: 3px solid #ccc;}}
@media (max-width:465px) {.erkuva {width:75px;height:75px;border: 2px solid #ccc;}.muut {width:245px;height:105px;}}
@media (max-width:300px) {.erkuva {display:none;}}



