/*space between image and menu 0 */

.home #main {
  padding-top: 0 !important;
}

.home.layout-full .panel-grid:first-of-type .panel-row-style.panel-row-style-full-width {
  padding-top: 0;
}

/* menu-submenun korkeus */

.main-navigation ul ul a {
  padding: 15px 20px !important;
}

/* MENU */

.main-navigation ul li:hover > a {
  font-weight: normal;
}

.main-navigation a {
  font-weight: normal;
}

/* sub-menu korkeus */

.main-navigation ul ul a {
  line-height: 1.6em;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #3ca6c9;
  width: 300px;
}

/* menu-sub-menu */

.main-navigation ul ul li:hover > a {
  line-height: 1.3em;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #3ca6c9;
  width: 300px;
}

/* page bg */

.page-id-5 #main {
  background-color: #283b83;
}
.page-id-1627 #main {
  background-color: #283b83;
}
.page-id-385 #main {
  background-color: #ffffff;
}

.page-id-669 #main {
  background-color: #ffffff;
}

/*HERO image Opacity */

.sow-image_darken .so-widget-sow-hero {
  -webkit-transition: all 250ms ease-in-out;
  -moz-transition: all 250ms ease-in-out;
  -ms-transition: all 250ms ease-in-out;
  transition: all 250ms ease-in-out;
}

.sow-image_darken .so-widget-sow-hero:hover {
  -webkit-filter: brightness(70%);
  -moz-filter: brightness(70%);
  -ms-filter: brightness(70%);
  filter: brightness(70%);
}

/* bg */

.page-id-653 #main {
  background-color: #283b83;
  background-image: url("/wp-content/uploads/2018/02/bg-idus-6.png");
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 900px;
}
.page-id-680 #main {
  background-color: #bdc43c;
}
.page-id-1646 #main {
  background-color: #bdc43c;
}

/* fonts */

.idus-font h1 {
  color: #ffffff;
  font-size: 38px;
}

.idus-font h2 {
  color: #ffffff;
  font-size: 30px;
}

.idus-font p {
  color: #ffffff;
  font-size: 15px;
}

.entry-content h1 {
  line-height: 1.2em;
}

.entry-content h2 {
  line-height: 1.2em;
}

.yhteys-font h1 {
  color: #e51c2f;
}

.yhteys-font h4 {
  color: #e51c2f;
  font-size: 20px;
}

.yhteys-font h3 {
  color: #525455;
  font-size: 18px;
  line-height: 1.4;
}
.etu-p-white{
  color: #ffffff;
	font-size:20px;
}

/* padding-top, padding-botom for page id 783*/

.page-id-783 #main.site-main {
  padding-top: 0px;
  padding-bottom: 0px;
}

/* Mobile */

@media (max-width: 680px) {
  h1.entry-title {
    font-size: 28px;
  }

  .entry-content p {
    font-size: 20px;
  }
}

@media (max-width: 600px) {
  .homepage-hero p {
    font-size: 25px !important;
  }
}

/* footer */

.siteorigin-panels-stretch.panel-row-style-full-width.panel-row-style.panel-row-style-for-5-5 {
  padding-top: 0px;
}
/* lomake */
.panel-grid-cell .widget-title {
  color: #6d99db;
}