body {
  font-family: 'Open Sans', sans-serif;
  color: #333333;
  font-size: 16px;
  background-color: #777777;
}

img {
	max-width: 100%;
}

div.oikea {
  float: right;
  width: 35%;
  margin: 0 0 15px 15px;
}

@media (max-width: 991px) { 
}

@media (max-width: 767px) { 
}



a:link, a:visited {
	color: #324c56;
}

p {
  line-height: 1.5em;
}

li {
  margin-bottom: 5px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Lato', sans-serif;
	font-weight: 300;
}

h1 {
	font-size: 30px;
}

h2 {
	font-size: 24px;
	margin: 20px 0 15px 0;
}

h3 {
	font-size: 16px;
	margin: 15px 0 10px 0;
  	font-weight: bold;
}

table.tutustumisrinki tr {
  border-bottom: 1px solid #555555;
}

td {
  padding: 7px;
  vertical-align: top;
}

/* Yläreunan logot */

.lintulogo-v1 {
  width: 100%;
}

.lintulogo-v2 {
  display: none;
}

@media (max-width: 991px) { 
  .lintulogo-v1 { display: none; }
  .lintulogo-v2 { display: inline; max-width: 250px; }
}

/* Navigointi, yläreuna */
 
.moduletable_menu1 ul.menu {
	list-style-type: none;
	margin-top: 38px;
	position: relative;
	float: left;
}

@media (max-width: 1199px) { 
	.moduletable_menu1 ul.menu { margin-top: 30px; }
}

@media (max-width: 991px) { 
  .moduletable_menu1 { display: none; }
  .moduletable_menures { margin: 10px 0 10px 0; }
}

.moduletable_menu1 ul.menu li {
  	position:relative;
	float:left;
}

.moduletable_menu1 ul.menu li a {
	display: block;
	padding: 5px 10px 5px 10px;
	color: #324c56;
	font-family: 'Lato', sans-serif;
	font-weight: 300;
	border-color: #324c56;
	border-width: 0 0 0 1px;
	border-style: solid;
	font-size: 18px;
	float: left;
}

.moduletable_menu1 ul.menu li.item-101 a {
	border: 0;
}

.moduletable_menu1 ul.menu li.active > a {
  text-decoration: underline;
}

.moduletable_menu1 ul.menu ul.nav-child {
  list-style-type: none;
  position:absolute;
  top:100%;
  left:0;
  background:#fff;
  z-index: 1000;
  padding: 5px;
  border: 1px solid #cccccc;
  display: none;
}

.moduletable_menu1 ul.menu li:hover > ul.nav-child {
  display: block;
}

.moduletable_menu1 ul.menu ul.nav-child li {
	float:none;
	width:200px
}

.moduletable_menu1 ul.menu li ul.nav-child li a {	
  font-size: 14px;
  padding: 5px;
  border: 0;
  float: none;
}

.moduletable_menu1 ul.menu li ul.nav-child li a:hover {
	background-color: #cccccc;
}

a.toggleMenu {
  color: white;
}

/* Navigointi, vasen reuna */

.moduletable_menu2 ul.menu {
	margin-bottom: 15px;
}

.moduletable_menu2 ul.menu li a {
	color: #324c56;
	border-color: #324c56;
	border-width: 1px 0 0 0;
	border-style: solid;
}

.moduletable_menu2 ul.menu li.item-101 a {
	border: 0;
}

.moduletable_menu2 ul.menu li ul {
	margin-bottom: 10px;
}

.moduletable_menu2 ul.menu li.current > a {
	text-decoration: underline;
}

.moduletable_menu2 ul.menu li ul li a {
	border: 0;
}
  
@media (max-width: 991px) { 
  .moduletable_menu2 { display: none; }
}
  
/* Bannerikuvassa käytettävä efekti */

.bg-wrapper {
  width: 100%;
  display: inline-block;
  position: relative;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-attachment: fixed; 
  background-position: center top;
}

.bg-wrapper-small {
  width: 100%;
  display: inline-block;
  position: relative;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-attachment: fixed; 
  background-position: center top;
  margin-bottom: 15px;
}

@media (max-width: 991px) { 
	.bg-wrapper { background-attachment: scroll; }
	.bg-wrapper-small { background-attachment: scroll; background-position: center center; }
}

.bg-wrapper:after {
  padding-top: 40%;
  display: block;
  content: '';
}

.bg-wrapper-small:after {
  padding-top: 30%;
  display: block;
  content: '';
}

.bg-main {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

.bg-inside {
	position: absolute;
	bottom: 0%;
	width: 100%;
}

.bg-teksti,
.bg-teksti-2 {
	padding: 15px;
	color: black;
	background-color: rgba(255,255,255,0.85);
	margin: 0;
	font-family: 'Lato', sans-serif;
	font-weight: 300;
	font-size: 18px;
	overflow: hidden;
}

.bg-teksti-2 {
	display: none;
}

.bg-teksti img.esittely1 {
	float: left;
	width: 20%;
}

.bg-teksti-2 img.esittely2 {
	width: 15%;
	float: left;
}

.bg-teksti p {
	float: right;
	width: 77%;
	margin-bottom: 0;
}

.bg-teksti-2 p {
	float: right;
	width: 80%;
	margin-bottom: 0;
	font-size: 14px;
}

@media (max-width: 991px) { 
	.bg-teksti { font-size: 16px; }
}

@media (max-width: 767px) { 
	.bg-teksti { display: none; }
	.bg-teksti-2 { display: block; }
}

a.nappi-valkoinen:link,
a.nappi-valkoinen:visited {
	display: inline-block;
	color: white;
	border: 1px solid white;
	padding: 10px;
	margin-top: 10px;
}

a.nappi-valkoinen:hover {
	background-color: white;
	color: #324c56;
}

/* Etusivun uutislistaus */

div.newsflash_ajankohtaista h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 20px 0 10px 0;
}

div.newsflash_ajankohtaista p {
  font-size: 14px;
  margin: 0 0 5px 0;
}

div.newsflash_ajankohtaista a.readmore {
  font-size: 14px;
}

/* Blogisivu */

.item-page .page-header h2 {
	margin: 0;
        font-size: 22px;
        margin-bottom: 20px;
	font-family: 'Lato', sans-serif;
        font-weight: 300;
        line-height: 120%;
	}

.item-page .page-header {
	margin: 0;
	border: 0;
	}

/* Bloginäkymä */

.blog h2 {
        font-size: 22px;
        margin-top: 0;
        margin-bottom: 20px;
      	font-family: 'Lato', sans-serif;
	font-weight: 300;
        line-height: 120%;
        color: #324c56;
	}

.blog .page-header h2 {
        line-height: 100%;
        padding: 2px 10px 0 10px;
        color: #666666;
	margin: 0;
  margin-bottom: 0px;
  margin-left: 0px;
  padding-left: 0px;
  margin-top: 5px;
	border: 0;
	border: 1px solid #cccccc;
	border-width: 1px 0 0 0;
	}

.blog .page-header h2 a:link, .blog .page-header h2 a:visited {
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
	margin-bottom: 0px;
  margin-left: 0px;
  padding-left: 0px;
}

.blog .page-header h2 a:hover {
	text-decoration: underline;
}

.blog .page-header {
	border: 0;
	margin: 0;
	}

.blog p.intro {
	font-style: normal;
	font-size: 14px;
	margin: 0 0 10px 0;
	padding: 0 10px 0 10px;	
	}

.blog dt.article-info-term {
	display: none;
}

.blog dl.article-info {
	margin: 0px;
}

.blog div.icons {
	display: none;
}

/* Foorumin muutokset */

.kheader span h2 {
	margin-bottom: 0;
}

.kheader span h2 a {
	font-family: 'Lato', sans-serif;
	font-weight: 300;
	font-size: 10px;
}

/* Foorumin uusimmat etusivulla */

div.moduletable_forumuudet ul li.klatest-item {
  margin-bottom: 10px;
  font-size: 14px;
}

div.moduletable_forumuudet ul li.klatest-subject,
div.moduletable_forumuudet ul li.klatest-subject a {
  font-size: 14px;
}


div.moduletable_forumuudet ul li.klatest-cat,
div.moduletable_forumuudet ul li.klatest-author,
div.moduletable_forumuudet ul li.klatest-posttime {
  font-size: 14px;
}

/* Footeri */

div.footer {
  background-color: #777777;
  color: white;
  margin-top: 20px;
  padding: 10px 0 10px 0;
  font-size: 14px;
}

div.footer a {
  color: white;
}

/* Leivänmurut */

ul.breadcrumb {
  font-size: 14px;
  background-color: transparent;
  padding: 0;
  list-style-type: none;
}

ul.breadcrumb span.divider {
  display: none;
}
  
/* Kirjautumislomake */

div.moduletable_kirjaudu {
  padding: 10px;
  border: 1px solid #7292a1;
  margin-bottom: 20px;
}

div.moduletable_kirjaudu h3 {
	margin: 0 0 10px 0;
}

div.moduletable_kirjaudu div#form-login-username label,
div.moduletable_kirjaudu div#form-login-password label {
  display: none;
}

div.moduletable_kirjaudu div#form-login-remember label.control-label {
  margin-bottom: 0;
  font-family: 'Lato', Sans serif;
  font-weight: 300;
  margin-left: 5px;
  padding: 0;
}

div.moduletable_kirjaudu div#form-login-username input,
div.moduletable_kirjaudu div#form-login-password input {
  width: 100%;
}

div.moduletable_kirjaudu div#form-login-remember input.inputbox {
  float: left;
  position: relative;
  margin-left: 0;
  margin-top: 4px;
}

div.moduletable_kirjaudu div.control-group {
  margin-bottom: 5px;
}

div.moduletable_kirjaudu button.btn {
  background-color: #7292a1;
  margin: 5px 0 5px 0;
}

div.moduletable_kirjaudu div.logout-button input.btn {
  background-color: #924b4b;
  border: 0;
}

div.moduletable_kirjaudu ul {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
  font-size: 13px;
  margin-bottom: 0;
}

div.moduletable_kirjaudu div.login-greeting {
  margin-bottom: 10px;
}

label { display : inline !important; }

/* Etusivun kolme nostoa */

img.etusivu-nostot {
  max-width: 150px;
  margin-bottom: 20px;
}

@media (max-width: 991px) {
  img.etusivu-nostot { max-width: 125px; }
}

@media (max-width: 767px) {
  img.etusivu-nostot { max-width: 100px; margin-top: 20px; }
}

/* Varoitusviestit, otettu suoraan bootstrap 2:sta */

.alert {
  padding: 8px 35px 8px 14px;
  margin-bottom: 20px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  background-color: #fcf8e3;
  border: 1px solid #fbeed5;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}

.alert,
.alert h4 {
  color: #c09853;
}

.alert h4 {
  margin: 0;
}

.alert .close {
  position: relative;
  top: -2px;
  right: -21px;
  line-height: 20px;
}

.alert-success {
  color: #468847;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}

.alert-success h4 {
  color: #468847;
}

.alert-danger,
.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

.alert-danger h4,
.alert-error h4 {
  color: #b94a48;
}

.alert-info {
  color: #3a87ad;
  background-color: #d9edf7;
  border-color: #bce8f1;
}

.alert-info h4 {
  color: #3a87ad;
}

.alert-block {
  padding-top: 14px;
  padding-bottom: 14px;
}

.alert-block > p,
.alert-block > ul {
  margin-bottom: 0;
}

.alert-block p + p {
  margin-top: 5px;
}

p.intro,
div.intro {
  font-size: 19px;
  line-height: 1.5em;
  color: #555555;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  margin: 20px 0 20px 0;
  
}

.kuvateksti {
  color: #555555;
  font-style: italic;
}

/*  Linkkinappi  */

a.nappi:link,
a.nappi:visited {
  padding: 10px;
  display: inline-block;
  color: white;
  background-color: #324c56;
  margin:  15px 0 15px 0;
}

a.nappi:hover {
  background-color:  #7292a1;
  text-decoration: none;
}

/* Kirjautumissivu */

div.remind label, 
div.registration label,
div.login label,
div.reset label {
  display: block;
}

div.remind div.control-label, 
div.registration div.control-label,
div.login div.control-label,
div.reset div.control-label {
	text-align: left;
}

div.remind input, 
div.registration input,
div.login input,
div.reset input {
  display: block;
  margin-bottom: 15px;
}

/* Artikkelit */

/* Bloginäkymä */

.blog h2 {
        font-size: 22px;
        margin-top: 0;
        margin-bottom: 20px;
      	font-family: 'Lato', sans-serif;
	font-weight: 300;
        line-height: 120%;
        color: #324c56;
	}

.blog .page-header h2 {
        line-height: 100%;
        padding: 2px 10px 0 10px;
        color: #666666;
	margin: 0;
	border: 0;
	border: 1px solid #cccccc;
	border-width: 1px 0 0 0;
  padding-top: 5px;
  margin-left: 0px;
  padding-left: 0px;
	}

.blog .page-header h2 a:link, .blog .page-header h2 a:visited {
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
	margin-bottom: 0px;
  margin-left: 0px;
  padding-left: 0px;
}

.blog .page-header h2 a:hover {
	text-decoration: underline;
}

.blog .page-header {
	border: 0;
	margin: 0;
	}

.blog p.intro {
	font-style: normal;
	font-size: 14px;
	margin: 0 0 0 0;
	padding: 0 10px 0 0px;	
  font-family: 'Open Sans', sans-serif;
	}

.blog dt.article-info-term {
	display: none;
}

.blog dl.article-info {
	margin: 0px;
}

.blog div.icons {
	display: none;
}

.blog .category-name {
  font-size: 12px;
  margin-bottom: 5px;
}

/* Blogisivu */

.item-page .page-header h2 {
	margin: 0;
        font-size: 22px;
        margin-bottom: 20px;
	font-family: 'Lato', sans-serif;
        font-weight: 300;
        line-height: 120%;
	}

.item-page .page-header {
	margin: 0;
	border: 0;
	}

img.intro {
	float: left;
	width: 12%;
	margin-right:  10px;
  margin-bottom: 10px;
}

.item-page img.intro {
	display: none;
}

/* Artikkelin tietojen määritys */

.item-page .page-header h2 a:link,
.item-page .page-header h2 a:visited {
        font-size: 22px;
        margin-top: 0;
        margin-bottom: 20px;
        font-weight: 300;
        line-height: 120%;
        color: #324c56;
        font-family: 'Lato', sans-serif;
	text-decoration: none;
	margin-bottom: 0px;
	 }

.item-page .page-header,
.item-page .page-header h2 {
	margin-bottom: 0;
}

.item-page dt.article-info-term {
	display: none;
}

img.artikkeli {
	width: 100%;
	max-width: 800px;
	margin: 10px 0px 10px 0px;
	}

p.kirjoittaja {
	border-color: #808080;
	border-style: solid;
	border-width: 1px 0 1px 0;
	padding: 5px 0 5px 0;
	margin: 5px 0 10px 0;
	font-size: 12px;
	color: #808080;
	}

.kirjoittajan-esittely {
        background-color: #e7e7e7;
        border: 1px solid #dddddd;
        -moz-border-radius: 5px;
	border-radius: 5px;
        margin-bottom: 10px;
  margin-top: 20px;
        color: #555555;
	padding: 10px;
  font-size: 14px;
}

div.blog {
	margin-bottom: 25px;
}

/* Jäsenalueen  sarakkeet  */

.jasenalue-sarakkeet {
	overflow: hidden;
}

.jasenalue-vasen {
  float: left;
  width: 70%;
}

.jasenalue-oikea {
  float: right;
  width: 28%
}

.jasenalue-laatikko {
  padding: 10px;
  border: 1px solid #999999;
  margin-bottom: 15px;
  overflow: hidden;
}

@media (max-width: 767px) { 
  .jasenalue-vasen { float: none; width: 100%; margin-bottom: 20px; }
  .jasenalue-oikea { float: none; width: 100%; }
}

/* Lajiesittelyt */

.lajiesittely-wrapper {
  overflow: hidden;
  margin-bottom:  20px;
}

.lajiesittely-vasen {
  width:  20%;
  float:  left;
}

.lajiesittely-vasen img {
	width: 100%;
}
  
.lajiesittely-oikea {
  width: 77%;
  float: right;
}
