body {
  background-color: #fff;
  font-size: 1.6em;
}

.centered {
  display: grid;
  justify-content: center;
  align-content: center;
  grid-auto-flow: column;
}

.centered ul {
  display: flex;
  width: 100%;
}

.top-level-menu {
  margin: 0 auto;
  text-align: center;
}

.hide-submenus .dropdown-menu, .hide-submenus .caret {
  display: none;
}

.breadcrumb {
  color: #000;
  background-color: #fff;
  padding: 8px 5px;
}

.breadcrumb li:first-child a::before {
  padding-right: 5px;
  font-family: "FontAwesome";
  content: "\f015";
  color: #d9245d;
}

.breadcrumb a {
  color: #d9245d;
  font-weight: bold;
}

.breadcrumb > li + li::before {
	padding: 0 5px;
	color: #000;
	content: "/\00a0";
}

.breadcrumb > .active {
  color: #000;
}

.container {
  font-family: Roboto,Helvetica,Arial,sans-serif;
}

.content {
  margin-top: 35px;
}

.condensed {
  font-family: "Roboto Condensed",Helvetica,Arial,sans-serif;
}

.header-font-padding {
	padding-top: 52px;
}

.header-font1 {
	font-size: 81px !important;
	padding-bottom: 20px;
}

.header-font2-fp {
	font-size: 39px;
	line-height: 50px;
	padding-top: 15px;
}

.header-font2 {
	font-size: 59px;
	line-height: 50px;
}


.footer {
  background-color: #353535 !important;
  color: #fff;
  min-height: 200px;
  width: 100%;
  margin-top: 0px;
}

.footer1-content-cols {
  padding-bottom: 20px;
}

.footer2-content-cols {
  background-color: #262626;
  padding-top: 1em;
  padding-bottom: 1em;
  margin-left: -15px;
  margin-right: -15px;
  margin-top: 10px;
}

.smaller {
  font-size: 0.8em;
  margin-left: -5px;
}

.empty-below {
  margin-bottom: 10px;
}

.header2 {
  width: 100vw;
  height: 435px;
  text-align: center;
  color: #fff;
  padding-top: 0px;
}

.front-header {
  display: grid;
  width: 100vw;
  height: 435px;
  position: relative;
  margin-left: -50vw;
  left: 50%;
  vertical-align: bottom;
}

.front-header a:link, .front-header a:visited {
  color: #fff;
  text-decoration: none;
}

.hero-text-container {
  display: flex;
  text-align: left;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding-left: 15px;
}

ion-icon {
  color: #fff;
  padding-left: 15px;
  padding-right: 15px;
}

.gray-full-width {
  width: 100vw;
  position: relative;
  margin-left: -50vw;
  left: 50%;
	background-color: #f1f1f1;
}

.front-actuals {
  padding-right: 15px;
}

.sub-header2 {
  width: 100%;
  height: 166px;
  text-align: center;
  color: #fff;
  padding-top: 30px;
}

.subpage-header {
  width: 100vw;
  position: relative;
  margin-left: -50vw;
  left: 50%;
  background-image: url("../images/alasivunheaderkuvatoistuva.png");
}

.light-gray-background {
  width: 100vw;
  position: relative;
  margin-left: -50vw;
  left: 50%;
	background-color: #f1f1f1;
}

.white-background {
  width: 100vw;
  position: relative;
  margin-left: -50vw;
  left: 50%;
	background-color: #fff;
}

.left1 {
	font-family: Roboto,Verdana,Arial,Helvetica,sans-serif;
  font-size: 1.5em;
	padding-left: 6%;
	padding-right: 12%;
	padding-top: 4em;
	padding-bottom: 4em;
}

.left1 h1 {
  font-size: 39px;
}

.link-red-button a {
  display: inline-block;
  text-decoration: none;
	background-color: #d9245d;
	color: #ffffff;
  margin-top: 10px;
	padding: 15px 40px;
	border-radius: 4px;
	font-family: Roboto;
	font-weight: 900;
	font-size: 15px;
}

.link-red-button a::after {
  content: " »";
}

.right1 {
	padding-left: 2%;
	padding-top: 4em;
	padding-bottom: 4em;
}

.col-img1 {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.front-box {
	margin-right: 0px;
	margin-left: 0px;
	margin-top: 51px;
	margin-bottom: 51px;
	overflow: auto;
}

.boxer {
  margin-left: 5px;
  margin-right: 5px;
  background-color: #fff;
  padding-bottom: 15px;
}

.boxer-left {
  margin-left: 0;
}

.boxer-right {
  margin-right: 0;
}

.boxer-text {
  padding: 15px 15px;
  font-size: 1.em;
}

.boxer-text a {
  text-decoration: none;
	background-color: #d9245d;
	color: #ffffff;
	padding: 15px 40px;
	border-radius: 4px;
	font-family: Roboto;
	font-weight: 900;
	font-size: 15px;
}

.boxer-text a::after {
  content: " »";
}

.front-column-header {
  font-family: "Roboto Condensed", Helvetica, Arial, sans-serif;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	padding: 43px 4px 17px 0;
}

.actuals-frontpage-row {
  text-align:right;
  padding-top: 15px;
}

.avainta-actual-link {
  margin-bottom: 10px;
}

.frontpage-actuals-header a{
  color: #000;
  text-decoration: none;
}

.frontpage-actuals-header {
  margin-bottom: 5px;
}

.frontpage-actual-category {
  margin-bottom: 25px;
}

.actuals-link-frontpage {
  margin-top: 35px;
}

.bg-lblue {
	border-top: 8px solid #41b2e5;
}

.bg-mblue {
	border-top: 8px solid #2175bb;
}

.bg-dblue {
	border-top: 8px solid #164996;
}

.avainta-article {
  margin-top: 35px;
  margin-bottom: 35px;
}

.narrower {
  width: 85%;
}

.avainta-right-column a {
  text-decoration: none;
  color: #d9245d;
}

.avainta-right-column a::after {
  content: " »";
}

.read-more-link {
  margin-top: 15px;
}

.read-more-link a {
  text-decoration: none;
  color: #d9245d;
  font-weight: bold;
}

.read-more-link a::after {
  content: " »";
}

.wider {
  padding-left: 5px;
  padding-right: 5px;
}

.outlined {
  border: 1px solid #d1d1d1;
  height: 38em;
  margin: 5px 0px;
}

.indented {
  padding: 10px;
  padding-right: 15px;
}

.col-is-last {
  clear: both;
}

.outlined img {
  margin: 0;
  width: 100%;
}

.black-title a {
  color: #000;
}

.newest-like h4, .tag-clouds h4 {
  font-family: "Roboto Condensed", Helvetica, Arial, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.tag-clouds {
  margin-top: 40px;
}

.tagclouds-term {
  padding-right: 15px;
}

.avainta-personnel-area, .kt-personnel-area {
  padding-top: 30px;
}

.personnel-name {
  font-weight: bold;
  font-size: 1.5em;
}

.personnel-img img {
  margin-left: 10px;
  margin-top: 10px;
}

.personnel-jobs {
  padding-top: 25px;
}

.outlined-contacts {
  border: 1px solid #ccc;
  padding-bottom: 15px;
  padding-right: 15px;
  margin-bottom: 15px;
  margin-left: -15px;
}

.avainta-actual-link a, .tag-clouds a {
  text-decoration: none;
  color: #d9245d;
}

li.next a, li.previous a {
  text-decoration: none;
  background-color: #d9245d;
  color: #ffffff;
  padding: 15px 40px;
  border-radius: 4px;
  font-family: Roboto;
  font-weight: 900;
  font-size: 19px;
}

li.next a::after {
  content: " »";
}

li.previous a::before {
  content: "« ";
}

#navbar {
  background-color: #fff;
}

.navbar-header {
    float: none;
}
.navbar-toggle {
    display: block;
}
.navbar-collapse.collapse {
    display: none!important;
}
.navbar-collapse.collapse.in {
    display: block!important;
}
.navbar-nav {
    float: none!important;
}
.navbar-nav>li {
    float: none;
}

.navbar-toggle .icon-bar {
	display: block;
	width: 22px;
	height: 4px;
	border-radius: 1px;
}

.navbar-toggle {
  border: 0px solid #fff;
}

.navbar-default .navbar-toggle .icon-bar {
	background-color: #008;
}

ul.menu--main > li {
  text-transform: uppercase;
  font-weight: bold;
}

ul.menu--main > li > a {
  float: left;
}

.navbar-default .navbar-nav > li > a {
	color: #000;
}

.navbar-nav > li > .dropdown-menu {
	margin-top: 0px;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
	text-decoration: none;
	outline: 0;
  background-color: #fff;
  color: #000;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {
	color: #000;
	background-color: #fff;
}

.dropdown-menu > li > a {
  text-transform: none;
  padding: 3px 10px;
}

.region-navigation-collapsible {
  position: fixed;
  background-color: #fff;
  width: 100vw;
  position: relative;
  margin-left: -50vw;
  left: 50%;
  overflow:hidden;
  padding-bottom: 20px
}

#block-avainta-main-menu {
  height: 200px;
  background-color: #fff;
}

#block-avainta-main-menu > ul > li  {
  float: left;
  margin-right: 25px;
}

#block-avainta-main-menu > ul > li > a > span.caret {
  display: none;
}

#block-avainta-main-menu .dropdown-menu {
  box-shadow: none;
}

#block-avainta-main-menu > ul > li > ul.dropdown-menu {
  display: block;
  border: 0px solid #fff;
}


#block-avainta-main-menu > ul > li > ul.dropdown-menu a::before {
  color: #d9245d;
  content: ">\00a0\00a0";
}

#avainta-search-box {
	width: 260px;
	max-width: 100%;
	vertical-align: middle;
	background-color: #f1f1f1;
  background-size:100% 100%;
	font-family: Roboto,Helvetica,Arial,sans-serif;
	font-size: 1.6em;
	font-weight: bold;
	color: #446da9;
	border: 0;
  height: 85px;
  margin-top:-24px;
  margin-right: 15px;
  padding-top: 20px;
  padding-left: 10px;
  border-right: 1px solid #e9e9e9;
}

.glass {
  display: inline-block;
  cursor: pointer;
  width: 45px;
  border-right: 1px solid red;
  height: 71px;
  margin-top:-36px;
  margin-right: 5px;
  padding-right: 15px;
  padding-top: 20px;
  border-right: 1px solid #e9e9e9;
  z-index: 90;
}

.lined-right {
  border-right: 1px solid #e9e9e9 !important;
  border-radius: 0 !important;
  height: 90px;
  margin-top:-19px;
  margin-bottom: 0;
  padding-top: 35px;
  padding-right: 15px;
  z-index: 100;
}

#avainta-search-form {
  display: inline-block;
}

.avainta-search-area {
  position: relative;
  display: block;
  left: 200px;
  max-width: 100%;
  margin-right: 275px;
  padding-top: 12px;
  text-align: right;
  visibility: hidden;
}

.avainta-search-result a {
  color: #d9245d;
}

.avainta-search-title {
	color: #d9245d;
  font-weight: bold;
}

.form-search.form-control {
  display: none;
}

#avainta-submenu {
  text-align: center;
}
#avainta-submenu ul {
  width: auto;
  display: inline-table;
  margin: auto;
  text-align: center;
}

#avainta-submenu ul li {
  display: inline;
}

#avainta-submenu a {
  color: #000;
  text-decoration-none;
  background-color: transparent;
  font-weight: normal;
}

#avainta-submenu a::before {
  content: '> ';
  color: #d9245d;
}

a.logo {
  z-index: 100;
}

.side-by-side {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 2rem;
}

.image-right-1 {
  direction: ltr;
  text-align: left;
}

.image-right-0 {
  direction: rtl;
  text-align: left;
}

.only-text {
  margin: 2rem 0;
}


@media only screen and (max-width: 600px) {

  .avainta-search-area {
    left: 20px;
    width: 100px;
    margin-right: 0;
  }

  .lined-right {
   margin-right: 45px;
  }

  .region-navigation-collapsible {
    overflow: auto;
  }

  #block-avainta-main-menu {
    overflow: auto;
    height: unset;
    background-color: #fff;
  }

  #block-avainta-main-menu > ul > li > a {
    float: none;
  }

  #avainta-submenu ul li {
    display: block;
  }

  nav ul {
    display: flex;
    flex-direction: column;
  }

  .dropdown-menu {
    position: static;
    font-size: 1.3em;
  }

  .top-level-menu {
    display: none;
  }
}