.site-header-actions .list-inline-item.active a {
    font-weight: bold;
}

.breadcrumb {
	background: #4e4e4e;
}

@media (min-width: 992px) {
	.sub-menu .sub-menu .nav-item.active .nav-link {
		background: #f3f3f3 !important;
	}
}

/*Tummempi vihreä valkoisen päällä*/
.bg-primary {
    background: #347a38 !important;
}

.text-primary a {
    color: #347a38 !important;
}

header.site-header .sub-menu .nav-link {
    color: #347a38 !important;
}

a {
    color: #347a38;
}

header.site-header .main-navigation .active-ancestor > a.nav-link {
    color: #347a38;
}
#searchform .btn-link{
    color: #347a38;
}

.tilastot .top-chart .bar-chart .bar-chart-bg .bar-bottom-number {
    color: #347a38;
}

hero h1 {
    color: #347a38;

}
.hero-btn {
    color: #347a38;

}
.bg-primary .fa-circle {
    text-shadow: 2px 2px 0px #347a38, 2px -2px 0px #347a38, 0px -3px 0px #347a38, -2px -2px 0px #347a38;
}

/*Global nav, active harmaa*/
.nav-global .nav a {
    color: #353535;
}

/*Alavalikko*/
header.site-header .sub-menu {
    background: white;
}

#searchform .btn-link:focus {
    outline: 5px solid !important;
}

.layer-base:after {
    background: #000;
}

.tilastot .bg-dark-green, .tilastot .top-chart .bar-chart .bar-chart-top{
    background: #3b7f58;
}

p a, .card-block li a, .card-justify a {
    text-decoration: underline;
}

#searchform .form-control {
    border: 1px solid grey;
    border-right: none;
}
#searchform .btn-link {
    border: 1px solid grey;
    border-left: none;
    border-right: 1px solid grey !important;
}

header.site-header .main-navigation .parent.active > a.nav-link {
    text-decoration: underline;
}
header.site-header .sub-menu .active-ancestor, header.site-header .sub-menu .active {
    text-decoration: underline;
}
header.site-header .main-navigation .active-ancestor > a.nav-link {
    text-decoration: underline;

}

/* Tablepress */
.tablepress tfoot th, .tablepress thead th {
	background: rgb(0 0 0 / 70%);
	color: white;
}
.dataTables_scroll {
	border: 1px solid #666666;
}
.dataTables_scrollBody::-webkit-scrollbar {
    -webkit-appearance: none;
}

.dataTables_scrollBody::-webkit-scrollbar:vertical {
    width: 11px;
}

.dataTables_scrollBody::-webkit-scrollbar:horizontal {
    height: 11px;
}

.dataTables_scrollBody::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 2px solid white; /* should match background, can't be transparent */
    background-color: rgba(0, 0, 0, .5);
}
.tablepress thead th {
	min-width: 200px;
}
.tablepress tbody td {
	min-width: 216px;
}
.tablepress thead th.column-8 {
	min-width: 400px;
}
.tablepress tbody td.column-8 {
	min-width: 416px;
}
