[class^="box"], [class*=" box"] {
    border: 2px solid transparent;
    border-radius: 3px;
}


.container-header {
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.container-header .mod-menu {
    color: #7c7c7c;
    text-transform: uppercase;
}
.container-header .mod-menu > li > a {
    padding: 20px 5px;
    font-size: 0.8rem;
}
.container-header .mod-menu li:before {
    position: relative;
}

.container-header .mod-menu.nav li:before {
    font-family: "Font Awesome 5 Free";
    content: "\f111";
    font-size: 5px;
    font-weight: 900;
    position: absolute;
    top: 13px;
    left: -14px;
    color: #c8c8c8;
}

.container-header .mod-menu.nav > li.active:after {
    border-bottom: 3px solid #f5af50;
    left: 0;
    bottom: 0;
    content: "";
    position: absolute;
    width: 100%;
    opacity: 1;
}
.container-header .mod-menu.nav > li:first-child:before {
    display: none;
}
.container-header nav {
    margin-top: 0;
}
nav ul.nav >li:hover > ul,
nav ul.nav >li > ul > li:hover > ul{
	display: block !important;
	position: absolute;
	top: 100%;
	background: white;
	box-shadow: 0 0 1px 1px rgba(0,0,0,0.1);
	border-radius: 2px;	
	min-width: 220px;
	z-index: 4;
	padding-left: 20px;
}
nav ul.nav >li > ul > li:hover > ul{
	top: 0;
	left: 100%;
}

nav ul.nav li li {
	position: relative;
}
nav ul.nav li li:before {
	left: -5px !important;
	top: 16px !important;
}

nav ul.nav li li a {
	color: #7c7c7c !important;
	text-transform: none;
	padding: 5px 10px;
	display: block;
}
nav ul.nav li li.active a {
	font-weight: bold;
}
nav ul.nav li li a:hover {
	color: #f5af50 !important;
}
.navbar-brand {
    margin-right: 50px !important;
}
.brand-logo img {
    width: auto;
    max-height: 42px;
}
.container-header .container-nav {
    position: relative;
    padding-bottom: 0;
    padding-top: 0;
    max-width: 1258px;
}

.mod-languages {
    position: absolute;
    right: 0;
    top: 100%;
    background: #ffffffa1;
    margin-top: 0.5rem;
    padding: 5px;
    border-radius: 5px;
}
div.mod-languages ul li.lang-active {
    background: none;
	margin: 0;
}
.container-banner {
    background-color: #F5F6F8;
    box-shadow: 0px 1px 0 #dde0e7;
    position: relative;
}
.container-top-b > div,
.container-banner .custom {
    width: 100%;
    max-width: 1258px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
}

.container-top-b > div {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.container-banner .custom p {
    max-width: 66%; /*960px; */
    margin-right: auto;
    margin-left: auto;
}
.container-banner:after {
    color: #F5F6F8;
    text-shadow: 0px 2px 0 #dde0e7;
    content: "\f0d7";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 2.9em;
    position: absolute;
    bottom: -39px;
    left: 50%;
    margin-left: -15px;
}
.container-banner .full > .custom {
    max-width: unset;
    margin: 0;
    padding: 0;
}
.container-banner .full p {
    max-width: unset;
}
.footer {
    background: #f3f3f3;
    color: black;
    box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset;
    border-top: 1px solid rgba(0,0,0,0.2);
}
.footer a,
.footer a:not([class]) {
    color: black;
}
.item-page h3,
.footer h3 {
    font-size: 1.3rem;
}

.footer .grid-child {
    align-items: flex-start;
    padding: 2.5rem 1em;
}
.copy {
    padding: 1rem !important;
    background-image: url(../images/footer-bg.png);
    background-position: bottom right;
    background-repeat: no-repeat;
}
.copyfooter {
    color: #ffffff;
    border-top: 1px solid #fff;
    background-color: #f5a059;
    background: linear-gradient(to right, #f5a059 74vw, #7e94b1 75vw);
}

.back-to-top-link {
    position: unset;
    background: none;
    border: 0;
    color: white !important;
}
.copyfooter .social-button {
    color: white;
    padding: 0 0.5rem;
}

h1 {
    color: #7e94b1;
    margin-bottom: 1rem;
}

.container-top-b div,
.container-top-a .card {
    background: none;
    border: 0;
    text-align: left;
}
.container-top-b .card-header,
.container-top-a .card-body,
.container-top-b .card-body {
    padding: 0;
}

.container-top-b h3 {
    color: #7e94b1;
    margin: 1rem 0;
}

.container-top-b {
    color: #8B8B8B;
    border-top: 1px solid #dde0e7;
    border-bottom: 1px solid #dde0e7;
    background: #fbfbfb;
    margin-bottom: 2rem;
}
.container-top-b .moduletable,
.container-bottom-a > div {
    padding-right: 2rem;
}
.breadcrumb {
    background: none;
    padding-left: 0 !important;
}
.breadcrumb .icon-location {
    color:#ccc;
}
.breadcrumb-item + .breadcrumb-item::before {
    --breadcrumb-divider: '\bb';
    color: #f5af50;
}


.box1 {
    color: #ffffff;
    background: #f5af50;
}
.box1 a {
    color: #8b5308;
}
.btn {
    display: inline-block;
    padding: 4px 14px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    color: #333;
    text-shadow: 0 1px 1px rgba(255,255,255,0.75);
    background-color: #f5f5f5;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    border: 1px solid #bbb;
    border-bottom-color: #a2a2a2;
    border-radius: 4px;
}

.box3 {
    color: #777777;
    background: #eeeff1 !important;
}
.box3 a {
    color: #f29920;
    font-weight: bold;
}

.card-header {
    border: 0;
    background: none;
    --card-cap-padding-y: 1rem;
}

.box3 h3 {
    color: #676767;
}

a:not([class]),
a {
    color: #f5af50;
    text-decoration: none;
}
.sprocket-mosaic h2 a,
.item-content h2 a {
    color: #7e94b1;
}
h2 {
    font-size: calc(1rem + 0.7vw);
    margin-bottom: 0.75rem;
    color: #7e94b1;
}
.item-content h3 {
    font-size: calc(1rem + 0.2vw);
    margin-bottom: 0.75rem;
    color: #6e6e6e;
}
.container-bottom-a h3,
h4 {
    color: #7e94b1;
}
.sprocket-mosaic-item,
.top-a.card,
.bottom-a.card {
    border: 0 !important;
}
.sprocket-mosaic .sprocket-mosaic-header {
    display: none;
}
.sprocket-mosaic .sprocket-mosaic-container {
    display: flex;
	flex-wrap: wrap;
    text-align: center;
}
.sprocket-mosaic-image-container {
    margin-bottom: 1rem;
}
.fp-utility .sprocket-mosaic .sprocket-readmore {
    display: none;
}
sprocket-mosaic-hovercontent {
    position: absolute;
    text-align: center;
    top: 50%;
    width: 100%;
    display: block;
}


.category-module li {
    padding: 0;
    margin: 10px 0;
    border-bottom: 1px solid #e6e6e6;
}
ul.category-module a {
    color: inherit;
}
.mod-articles-category-date {
    display: block;
    font-size: 12px;
    padding: 0.5rem 0;
}
main {
    margin-bottom: 3rem !important;
}
a.readmore,
a.rm,
.readmore a {
    padding: 5px 15px;
    text-transform: uppercase;
}
.btn.rm,
a.readmore,
.readmore a,
button {
    color: white;
    background-color: #f5af50;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-bottom: 2px solid #eb8d0d;
    box-shadow: 0 2px 0 rgba(0,0,0,0.1);
}
.readmore a .icon-chevron-right:before {
    content: '';
}
.container-component > * + *,
.container-sidebar-left > * + *,
.container-sidebar-right > * + * {
    margin-top: 2em;
}
.blog-item {
    display: block;
    margin-bottom: 1rem;
}
div.blog .item-image.left {
	max-width: 300px;
    margin-right: 10px;
}

.xicon-th-list h3:before,
.xicon-envelope h3:before,
.xicon-thumbs-up h3:before,
.xicon-bullhorn h3:before,
.xicon-wrench h3:before,
.xicon-edit h3:before,
.xicon-plus-sign-alt h3:before {
    content: "\f0a1";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 5px;
    font-size: 18px;
    vertical-align: bottom;
    line-height: 32px;
}
.xicon-wrench h3:before {
    content: '\f0ad';
}
.xicon-edit h3:before {
    content: '\f044';
}
.xicon-plus-sign-alt h3:before {
    content: '\f0fe';
}

.xicon-th-list h3:before {
    content: '\f00b';
}

.xicon-envelope h3:before {
    content: '\f0e0';
}

.xicon-thumbs-up h3:before {
    content: '\f164';
}


.container-header .container-search {
    margin-top: 0.8em;
}
.mod-finder input {
    width: 100px;
    border-radius: 4px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border: 1px solid #d5d5d5;
    color: #6e6e6e;
    padding: 4px 6px;
}
.mod-finder button {
    margin-top: 0;
    border-radius: 3px;
    color: #ffffff;
    background-color: #f5af50;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 8px 10px;
    box-shadow: none;
    border: 0;
    height: 34px;
    font-size: 0;
    vertical-align: top;
/*    margin-left: -5px; */
}
.mod-finder button span:before {
/*
    content: "\f002";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
*/
    font-size: 14px;
}

main .icon-search,
icon-white {
    color: black;
}

#bfLabel10 {
    max-width: 25%;
}

.container-header .navbar-toggler {
	color: black;
	order: -1;
}


.bt-social-share {
	border: 0 !important;
	background: none !important;
}
@media (min-width: 900px) {
@supports (display: grid) {
    .site-grid {
/*        gap: 0 2em; */
        grid-template-columns: [full-start] minmax(0, 1fr) [main-start] repeat(3, minmax(0, 24.875rem)) [main-end] minmax(0, 1fr) [full-end];
    	grid-template-areas:
        ". banner banner banner ."
        ". top-a top-a top-a ."
        ". top-b top-b top-b ."
        ". comp comp side-r ."
        ". bot-a bot-a bot-a ."
        ". bot-b bot-b bot-b .";

    }
    .site-grid .grid-child {
/*        padding: 0 0.5em; */
    }
    .container-top-b .container,
    .container-bottom-a {
/*        column-gap: 3em !important; */
    }
}
}
@media (min-width: 768px) {
	div.blog .item-image.left {
        	max-width: 300px;
		margin-bottom: 20px;
	}
	.kaikki-uutiset p {
		text-align: right;
	}

	.container-header .mod-menu {
		display: flex;
		flex: 1 1 0%;
		flex-direction: row;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.container-search {
		position: absolute;
		right: 120px;
		top: 100%;
		margin-top: 0.5rem !important;
	}
	.brand-logo img {
		max-height: 24px;
	}
	.navbar-brand {
		margin-right: 30px !important;
	}
	.container-header .mod-menu.nav > li:before {
		left: -2px;
	}
	.sprocket-mosaic-columns-3 > li,
	.sprocket-mosaic-columns-6 > li,
	.sprocket-mosaic-columns-9 > li {
		width: 33.33% !important;
	}
}
@media (min-width: 992px) and (max-width: 1110px) {
	.container-header .mod-menu > li + li {
		margin-left: 8px;
	}
	.container-header .mod-menu li:before {
		left: -5px !important;
	}
	.navbar-brand {
		margin-right: 10px !important;
	}
}

@media (min-width: 1300px) {
	.footer .grid-child {
		padding: 2.5rem 0em;
	}
}

@media (max-width: 991.98px) {
    .footer .grid-child {
        flex-direction: row;
    }
}
@media (max-width: 767px) {
	.footer .grid-child {
		flex-direction: column;
	}
	.container-header nav {
		order: -1;
		margin-top: 0;
		margin-right: 2rem;
	}
	.container-header .container-nav nav {
		margin-top: 0;
	}
	.container-header .navbar-toggler {
		border: 1px solid #333;
		outline: none;
	}
	.container-search {
		display: none;
	}
	.container-header .navbar-collapse {
		position: absolute;
		top: 57px;
		background: white;
/*		box-shadow: 2px 2px 5px rgba(0,0,0,0.3); */
		width: 80vw;
		border: 1px solid #ccc;
		left: -11px;
		padding-left: 7px;
		border-top: 0;
	}
	.container-header .mod-list li a {
		color: currentColor;
		font-size: 0.8em;
	}
	.container-header .mod-menu li.current > a {
		font-weight: bold;
	}
	.container-header .mod-menu li.active:after {
		display: none;
	}
	.container-header .mod-menu .parent > ul {
		display: block;
	}
	.copy,
	.sprocket-mosaic .sprocket-mosaic-container {
		display: block;
	}
	.copy > div {
		margin-bottom: 1rem;
	}
	.sprocket-mosaic-columns-1 > li,
	.sprocket-mosaic-columns-2 > li,
	.sprocket-mosaic-columns-3 > li,
	.sprocket-mosaic-columns-4 > li,
	.sprocket-mosaic-columns-5 > li,
	.sprocket-mosaic-columns-6 > li {
		width: 100% !important;
	}
	.container-header .mod-menu.nav li:before {
		top: 13px !important;
	}
}
