.flex {
  display: flex;
}
.flexcontent {
  align-items: center;
}
.topmenu {
  display: flex;
  align-items: center;
  width: 100%;
  height: 40px;
  background-color: #b00031;
}
.topmenu .widget {
  float: right;
}
.topmenu .lang_sel_list_horizontal {
  display: flex;
  align-items: center;
  padding-right: 20px;
}
.topmenu #lang_sel_list li a {
  color: white;
  background-color: #b00031;
}
.topmenu #lang_sel_list li:not(:last-child) a:after {
  content: '|';
}
.topmenu li {
  list-style: none;
}
.topmenu a {
  color: white !important;
}
.topmenu .menu {
  height: 32px;
  margin: 0;
  padding-top: 8px;
  margin-right: 10px;
  margin-left: 20px;
  font-size: 12px;
}
.red {
  color: #b00031;
}
hr {
  clear: both;
}
.tribe-events-cal-links {
  display: none !important;
}
.centered {
  text-align: center;
}
.uutisboksi {
  clear: both;
}
.uutisboksi hr {
  margin-top: 0;
  margin-bottom: 5px;
}
.uutisboksi .col-4-5 {
  padding-left: 10px;
}
.aukiolo {
  padding: 8px;
}
.mediauutisboksi hr {
  margin-top: 0;
  margin-bottom: 5px;
}
.tapahtumakuva {
  text-align: center;
}
[class*='col-'] {
  border: 1px #eee dotted;
}
.widget_simpleimage {
  float: left;
  width: 50%;
}
.widget_simpleimage .simple-image {
  text-align: center;
}
.widget_simpleimage img {
  height: 120px;
  width: auto;
}
.widget_simpleimage p.more {
  max-width: 220px;
  word-break: break-all;
  font-size: 13px;
  margin-top: -5px;
  padding-bottom: 5px;
  padding-left: 10px;
  text-transform: uppercase;
}
.menu {
  border-top: 1px #b00031 solid;
  position: relative;
  line-height: 16px;
}
.sub-menu {
  background-color: #b00031;
  position: absolute;
  left: 0;
  top: 60px;
  display: none;
  width: 100%;
}
.current-menu-item > .sub-menu,
.current-menu-parent > .sub-menu,
.current-menu-ancestor > .sub-menu {
  display: block;
}
.sub-menu a {
  color: white !important;
}
.sub-menu .sub-menu {
  top: 40px;
}
.main-navigation {
  height: 60px;
}
.main-navigation li:not(.sub-menu) {
  height: 60px;
  padding: 10px;
  display: flex;
  align-items: center;
  max-width: 100px;
}
.main-navigation .sub-menu li {
  height: 40px;
  max-width: 300px;
}
.main-navigation .current_page_item,
.main-navigation .current_page_ancestor {
  background-color: #e3003f;
}
.main-navigation .current_page_item a,
.main-navigation .current_page_ancestor a {
  color: white;
}
.main-navigation .menu-item-has-children {
  position: static;
}
.widget p {
  margin-bottom: 0;
}
.site-footer {
  border-top: 20px solid #b00031;
  border-bottom: 20px solid #b00031;
  min-height: 100px;
}
footer .menu {
  border: none;
  width: 105px;
  float: left;
  list-style: none;
  font-size: 12px;
}
footer .menu li:first-child {
  font-weight: bold;
}
a,
a:visited {
  text-decoration: none;
  color: #b00031;
}
a:hover,
a:visited:hover {
  color: #4a0015;
}
.ylakuvat .site-logo {
  margin-top: 30px;
  width: 300px;
}
.ylakuvat h2 {
  color: #6d5e4e;
  clear: none;
}
.ylakuvat .ylakuva {
  float: right;
}
.ylakuvat .ylakuva p {
  margin: 0;
}
.linkkipalkki p {
  margin-bottom: 0;
}
.linkkipalkki div {
  display: flex;
}
.linkkipalkki .content {
  margin: auto;
  align-items: center;
  min-height: 80px;
}
.pad-content p {
  word-break: break-all;
}
td {
  vertical-align: top;
  padding-bottom: 10px;
}
.textwidget iframe {
  width: 100% !important;
}
.tribe-events-ical {
  display: none !important;
}
