html,body{height:100%;}
body {
	padding-top: 5px; /* datepicker fix */
	/* 	font-family: sans-serif, 'Open Sans',  Helvetica !important; */
	font-size: 1.05rem;
	color: #1e4463;
}

p {
	color: #1e4463;
}

.logotxt {
	font-size: 46px;
	color: #0077ad;
	font-weight: bold;
}

.logo-top {
	 max-height:52px;
}

.bg-darkblue { background-color: #003765; }
.bg-skyblue { background-color: #0077ad; }
.bg-bluegrey { background-color: #e2e7eb; }
.bg-lightgrey { background-color: #ebf1f2; }

.txt-darkblue { color: #003765; }

a {
	 color: #003765;
}
a:hover {
	 color: #0077ad;
	 text-decoration: none; 
}
a.bodylnk, .pagebody a { color: #0077ad; }
a.bodylnk:hover { text-decoration: underline; }

.border-shadow {
	box-shadow: 2px 2px 6px #b2b2b2;	
}

.topblock {
    padding: 0;
    background-color: #fff;
    box-shadow: 2px 0 6px #c0c0c0;
}

/* topnavi */
.navbar {
	padding: 0;
}
.nav-item a, .navbar-text a {
	color: #003765; 
	/* font-size: 14px; */
	font-size: 16px;
}

.navbar .nav-item.active, 
.navbar .nav-item a:hover {
	color: #0077ad;
}

.navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 119, 173, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
.navbar-toggler {
    border: 1px solid #003765;
}

.maincont { min-height: 500px; margin-top:120px; margin-bottom: 50px; }
@media (min-width:992px){ .maincont {margin-top:120px;} }

h1 { font-size: 22px; font-weight: 700; color: #003765; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 30px; }
h1.prod { text-transform: none; }
h2 { font-size: 18px; font-weight: 700; color: #003765; text-transform: uppercase; }
h3 { font-size: 20px; font-weight: 700; color: #0077ad; }
h4 { font-size: 16.8px; font-weight: 700; color: #000;  }
h6 { font-size: 14px; color: #0077ad; margin-bottom: 16px; font-style: italic;}

hr { border-top-color: #e2e7eb;}

.btn-primary {
	background-color: #003765;
	border-color: #003765;
}
.btn-primary:hover {
	background-color: #0077ad;
	border-color: #0077ad;
}

.btn-outline-primary{
	color: #003765;
	border-color: #003765; 
}
.btn-outline-primary:hover {
	border-color: #0077ad;
	color: #0077ad; 
	background-color: #ffffff;
}

.btn-light { 
	background-color: #e2e7eb;
	border-color: #dde1e6;
    color: #696969;
}

.breadcrumb {
	background-color: #fff;
	color: #b9b9b9;
	font-size: 13px;	
}
/*.breadcrumb a { color: #b9b9b9; }	
.breadcrumb a:hover { text-decoration: underline;} */

/* ankkurilinkin offset */
a.anchor {
    display: block;
    position: relative;
    top: -130px;
    visibility: hidden;
}
/* basic cards */
.card-header {
	background-color: #e2e7eb;
	color: #003765;
	font-size: 0.9em;
	text-transform: uppercase;
	text-align: center;
	font-weight: 800;
	letter-spacing: 0.1em;
	border: 0px;
}
.card {
	border-color: #e2e7eb;
}
.card-info {
	background-color: #e2e7eb;
}
@media (min-width: 576px){
	.card-preview { min-height: 350px; }
	.card-preview .imgcard-body { min-height: 180px; }
}

/* news block */
.card-news { background-color: #fafafa; }
.card-news-title { color: #003765; height: 30px; font-size: 18px; padding: 5px 0px 0px 20px; border-radius: .25rem .25rem 0 0;  }
.news-item { padding: 0px; }
.news-date { color: #1e4463; margin-right: 10px;  }
.news-hr { border-top: 1px solid #fff; padding-top:4px;  }
a.news-lnk:hover { color:#003765;;}

.noimg {
	background-color: #e2e7eb;
	height: 50px;
	margin-bottom: 15px;
	font-size: 28px;
	padding: 5px 0px 0px 20px;
}
.card-footer {
	padding-top: 0;
    background-color: #fff;
    border:none;
}
/* button fix */
.card-overlay-btn {
  position: relative;
}

/* footer */
.footercont {
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: #e2e7eb;
	color: #003765;
}
.footer {
	font-size: .8rem;
}

.footer a:hover {
	color: #0077ad;
}
#back-to-top{
	display: none;
}

label {
	font-weight: bold;
}
.form-check-label {
    font-weight: normal;
}

.txtblock {
	border-top: 1px solid #1E4463;
	padding-top: 10px;
	padding-bottom: 10px;
}
.txtblock.lastblock {
	border-bottom: 1px solid #1E4463;
}
.txtblock.border-fix {
	border-bottom: 1px solid #1E4463;
	margin-top: -2px;
}
.txtb-toggle {
	font-weight: 800;
}
.txtb {
	margin-top: 20px;
}

@media (min-width: 576px){ 	.modal-dialog { max-width: 800px; }}

/* tietopankki */
.text-meta {
	color: #a3abb1;
	font-size: .9rem;
}
.b-lishare {
	height: 28px;
	font-size: 0.8em;
	background-color: #0077b5;
	color: #fff;
	padding-top: 3px;
	margin-left: 0px !important;
}
.b-lishare:hover {
	background-color: #0369a0;
}

/* nostot */
blockquote p {
	color: #0077ad;
	font-style: italic;
	font-size: 1.1em;
	border-left: 4px solid #0077ad;
	padding-left: 40px;
	margin-top: 40px;
	margin-bottom: 40px;
}

/* sivutus */
.page-link {
    background-color: #003765;
    border-color: #003765;
    color: #fff;
    /* border-radius: 0.25rem !important; */
    margin-left: 2px;
}
.page-link:hover {
	background-color: #0077ad;
	border-color: #0077ad;
	color: #fff;
}
.page-item.active .page-link {
	background-color: #0077ad;
	color: #fff;
}

.page-card {
	max-height:185px;
}

.table-container table {
	border: 1px solid #dee2e6;
}
.table-container td:first-child {
 	font-weight: bold;
 	width: 30%;
}
.map-container{  height: 750px; }
@media (max-width: 850px){
	.table-container td { display: block; }
	.table-container table td table td {display: table-cell}
	.map-container{  height: 500px; }
}

.cookie-block { 
	background-color:#eaeaea;
	color: #fff;
}

.unchecked {
	opacity: 0.4;
}

.gmap {
	overflow: hidden; 
	height: 100%; 
	width: 100%;
}