:focus {
    outline: 0px solid #99aabb;
}
body, body > div {
	font-family: 'Hind', sans-serif;
    font-size: 20px;
    font-size: 2rem;
    color: #404142;
    line-height: 1.6;
    background: #fff;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
    font-family: 'Hind', sans-serif !important;
}
.single-post .hero-section {
    background-image: none;
    padding: 5rem 0;
}
.single-post .attachment-portfolio.size-portfolio {
    width: 480px;
    margin-bottom: 3rem;
}
h1, h2, h3, h3 a, h4, h5, h6, .widgettitle, .widget-title {
	font-family: 'Cormorant', Geogia, serif;
    margin: 0 0 0.5em;
    font-weight: 600;
}
.home h3, .home h3 a, .widgettitle, .widget-title {
    font-size: 39px;
    font-size: 3.9rem;
}
.sidebar-primary {
    margin-top: 1rem;
}
.archive .content .entry-title, .search-results .content .entry-title, .page-template-page_blog .content .entry-title, .sidebar .widget-title a {
    font-size: 19px;
    font-size: 1.9rem;
    font-family: 'Hind', sans-serif !important;
    line-height: 1.3;
}
.widget_subpages li::before {
    content: "►";
    font-size: 9px;
    color: #e1091e;
    margin-right: 1.6%;
}
.widget ul > li li {
    margin-top: 0.5em;
    padding-top: 0.5em;
}
b, strong {
    font-weight: 500;
}
a {
	color: #e1091e;
    text-decoration: none;
}
table {
    line-height: 1.6;
}
.entry {
    clear: none;
}
.entry-content p {
    color: #607181;
}
.home .entry-content p {
    color: #404142;
    font-size: 20px;
	font-size: 2rem;
}
img {
    border-radius: 2px;
}
input, select, textarea {
    background-color: #f8f8f8;
    border: 2px solid #f0f1f2;
    border-radius: 4px;
    padding: 0.4em 0.8em;
    font-size: 16px;
    font-size: 1.6rem;
}
.header-widget-area {
    position: absolute;
    top: 95px;
    right: 0;
    background: #fff;
    padding: 1.6rem 2rem;
    border-radius: 2px;
    border: 1px solid #eee;
    display: none;
}
#search-3 input {
    padding: 0.2em 0.8em 0;
}
.search-form::after {
    top: 0.5rem;
    right: 1rem;
}
.search-results .content {
    width: 100%;
}
.search-results.sidebar-content .entry {
    width: -webkit-calc(32% - 1.5rem);
    width: calc(32% - 1.5rem);
}
.button, button, input[type="button"], input[type="reset"], input[type="submit"], .more-link {
	font-size: 15px;
    font-size: 1.5rem;
    font-weight: 500;
    font-family: 'Hind', sans-serif;
    text-transform: uppercase;
    background: #E2081E;
    color: #fff;
    display: inline-block;
    padding: 0.7em 2.4em;
    border-radius: 3px;
    margin: 3rem 0;
    line-height: 1.9em;
    letter-spacing: 0.03em;
}
.button a, button a, input[type="button"], input[type="reset"], input[type="submit"], .fpa-more-link a {
    color: #fff;
}
.button:hover, .more-link:hover {
    background: #FF181E !important;
    color: #fff;
}
.clear-line {
    clear: both;
    border-top: 1px solid #ddd;
    margin-bottom: 3rem;
}
h1.entry-title {
	font-family: 'Cormorant', Geogia, serif;
    /* text-shadow: 0px 0px 4px #000; */
    color: #E2081E;
    font-size: 3.9rem;
}
.wrap {
    width: 90%;
}


/********************    HEADER JA NAVI   ********************/

.has-fixed-header .site-header {
    background-color: #fff !important;
    border-bottom: 2px solid #e2081e;
    height: 105px;
}
.home.has-fixed-header .site-header {
    background-color: transparent !important;
    position: absolute;
    border-bottom: 0px solid #fff;
     height: inherit;
}
.has-fixed-header .site-header.shrink {
    position: fixed;
    border-bottom: 2px solid #e2081e;
    background-color: #fff !important;
}
.site-header {
    -webkit-transition: none;
    transition: none;
}
.site-header .title-area {
    transition: 0.3s;
}
.wp-custom-logo .title-area {
    max-width: 300px;
    padding: 0;
}
.home .wp-custom-logo .title-area {
    max-width: 348px;
}
.home .title-area {
    max-width: 386px;
}
.site-header.shrink .title-area {
    max-width: 300px;
}
.site-header > .wrap {
    padding: 1.7rem 0 0 0 !important;
    max-width: inherit;
    height: 9rem;
    width: 92.2%;
    max-width: 1398px;
    -webkit-transition: none;
    transition: none;
}
.home .site-header > .wrap {
    padding: 4.6rem 0 0 0 !important;
}
.site-header.shrink > .wrap {
    padding:  1.7rem 0 0 !important;
}
.home .site-header.shrink > .wrap {
    padding:  5rem 0 !important;
}
.title-area {
    margin: 0rem auto 0 0;
}
.site-header.shrink .title-area {
    margin: 0rem auto 0 0;
}
.home .title-area {
    position: absolute;
    margin: 0rem auto 0 0;
}
.home .site-header.shrink .title-area {
    padding:  1.1rem 0 0 !important;
}

.menu {
	font-family: 'Hind', sans-serif;
    font-size: 21px;
    font-weight: 500;
}
.sub-menu {
    font-size: 18px;
    font-weight: 600;
    margin-top: -10px;
}
.menu-item a {
    color: #222;
    padding: 2.2em 1.11vw 20px;
}
.sub-menu a {
    color: #000;
    padding: 1em 1.25vw;
}
.site-header.shrink .menu-item a {
    padding: 0.4em 1.25vw 8px;
}
.menu-item a:hover,
.menu-item a:focus,
.menu-item.current-menu-item > a {
    color: #e2091e;
}
.menu-toggle {
    padding: 2rem 0;
}
#genesis-mobile-nav-primary {
    box-shadow: none;
}

/********************   FRONT-PAGE-1   ********************/

.front-page-1 {
    text-align: left;
    height: 803px;
    padding: 0;
}
.front-page-1 .wrap {
    position: initial;
    max-width: inherit;
}
.front-page-1 .wp-custom-header {
    display: none;
}
.home .hero-section {
    background-image: none;
}
.hero-section::before {
    background-color: transparent;
}
.wp-custom-header {
    top: 197px;
    width: 93.8%;
    max-width: 1460px;
}
.front-page-1 .widget {
    max-width: 100%;
}
/* ----- Metaslider säätö ----- */
.wp-custom-header .metaslider .slides img {
    width: auto;
    width: 100%  !important;
    display: block;
    margin: 0 auto !important;
}
.admin-bar .wp-custom-header .metaslider {
    margin-top: 38px;
}
@media screen and (max-width: 782px) {
.admin-bar .front-page-1 {
    height: calc(100vh - 20px);
}
}
/* ----- Metaslider säätö loppu ----- */



/********************   FRONT-PAGE-2   ********************/

.front-page-2 {
	line-height: 1.6;
	position: relative;
	z-index: 1;
	padding: 5.9rem 0 0;
	margin-top: 3vw;
	/* --- gradient-sävytys/tummennus taustalle
	-moz-box-shadow:    inset 0 0 280px #222;
	-webkit-box-shadow: inset 0 0 280px #222;
	box-shadow:         inset 0 0 280px #222;
	*/
}
.front-page-2 .widget {
    margin-bottom: 1rem;
}
.front-page-2 .widget-title {
    margin: 0px auto 20px;
    margin: 0rem auto 2rem;
}
.front-page-2 p {
    padding: 0;
    font-size: inherit;
}
.entry-content > .fpa-more-link:last-child {
    margin-bottom: 4.8rem;
}
#featured-page-advanced-2 .entry, #featured-page-advanced-4 .entry {
    box-shadow: -35px 30px 30px -20px rgba(33, 35, 40, 0.23);
}
#featured-page-advanced-2 .entry:hover, #featured-page-advanced-4 .entry:hover {
	box-shadow: -35px 30px 30px -20px rgba(33, 35, 40, 0.23);
}
#featured-page-advanced-3 .entry {
    box-shadow: 35px 30px 30px -20px rgba(33, 35, 40, 0.23);
}
#featured-page-advanced-3 .entry:hover {
	box-shadow: 35px 30px 30px -20px rgba(33, 35, 40, 0.23);
}
.featuredpage {
    margin-bottom: 9rem !important;
}
#featured-page-advanced-2, #featured-page-advanced-4 {
    border-bottom: 1px solid #fc091e;
    text-align: left;
    outline: 26px solid #fff;
}
#featured-page-advanced-2 article, #featured-page-advanced-4 article, #featured-page-advanced-2 h3 {
    padding-left: 5.5%;
}
#featured-page-advanced-2 .alignright, #featured-page-advanced-4 .alignright {
    float: right;
    margin: 12px 0 3.8rem 5%;
    width: 30%;
}
#featured-page-advanced-2 .entry-content, #featured-page-advanced-4 .entry-content {
    clear: none;
    float: left;
    width: 60%;
    text-align: left;
}

#featured-page-advanced-3 {
    border-bottom: 1px solid #fc091e;
    text-align: left;
    outline: 26px solid #fff;
}
#featured-page-advanced-3 article {
    padding-left: 5.5%;
    padding-right: 5.5%;
}
#featured-page-advanced-3 .alignleft {
    float: left;
    margin: 12px 5% 3.8rem 0;
    width: 30%;
}
#featured-page-advanced-3 .entry-content {
    clear: none;
    float: left;
    width: 60%;
    text-align: left;
    padding-right: 5.5%;
}
.front-page-2 h3 {
    line-height: 1.1;
}
.front-page-2 article {
    margin-top: -1rem;
}
.front-page-2 .alignleft {
    margin: 0 4% 1em 0;
}
.front-page-2 img {
    opacity: 0.97;
    max-width: 380px;
	margin-bottom: 2rem;
	width: 100%;
}


/********************   FRONT-PAGE-4   ********************/

 .front-page-4 {
    padding: 11rem 0 9rem;
    background: #fff;
    text-align: left;
    background-image: url("/wp-content/uploads/Kuva-2.jpg");
    background-size: cover;
    background-attachment: fixed;
    max-width: 1460px;
	margin: 0 auto;
	width: 93.8%;
}
.front-page-4 .widgettitle {
	text-align: left;
}
.front-page-4 .widget-wrap {
    display: block;
}
/* --- sävytys/tummennus taustalle
.front-page-4::before {
    background-color: rgba(200, 200, 200, 0.25);
}
--- */
.front-page-4 .widget {
    max-width: 100%;
}
.front-page-4 .entry {
    background-color: inherit;
}
.front-page-4 .entry-content {
    clear: inherit;
    float: left;
    width: 60%;
    color: #fff;
}
.front-page-4 h3 {
    border-bottom: 3px solid #E2081E;
    padding-bottom: 1rem;
    display: inline-block;
}
.front-page-4 p {
    color:  #fff;
    font-size: 26px;
	font-size: 2.6rem;
	font-family: 'Cormorant', Geogia, serif;
	margin: 0 0 1em;
}
.front-page-4 .entry-title a {
    text-decoration: none;
    color: #fff;
    font-size: 30px;
	font-size: 3rem;
}

/********************   FRONT-PAGE-6   ********************/

.front-page-6 {
	padding: 0rem 0 6rem;
	background-color: #fff;
}
 .front-page-6 .wrap {
    max-width: 1250px;
    width: 80%;
}
.front-page-6 .widget {
    margin-bottom: 2rem;
}
 .front-page-6 .entry-content p {
    font-size: 18px;
    font-size: 1.8rem;
}
.front-page-6 .featured-content {
    border-bottom: 1px solid #e2081e;
    padding-bottom: 1rem;
    margin-bottom: 4rem;
    min-height: 580px;
    position: relative;
}
.featuredpost .widget-wrap {
    margin-bottom: 11rem;
}
.front-page-6 .more-link {
    display: block;
    width: 14.3rem;
	text-align: center;
	position: absolute;
	bottom: 0;
	margin: 4rem 0;
}
.front-page-6 img {
    max-height: 186px;
	width: auto;
    margin-bottom: 2.1rem;
}
.front-page-6 h3 {
    margin: 0 0 0.9em !important;
    border-bottom: 3px solid #E2081E;
    padding-bottom: 1rem;
    display: inline-block;
}
.front-page-6 h4.entry-title {
    margin: 0 0 0.1em !important;
    line-height: 1.2;
    font-size: 2.8rem;
}
p.entry-meta {
    font-family: 'Hind', sans-serif;
}
.entry-time {
    color: #797b7e;
}


/********************   FRONT-PAGE-7   ********************/

.front-page-7.widget-area {
    background: #f2f3f4;
    padding: 6rem 0 1.5rem;
}
#text-2, #text-2 h3 {
    text-align: center;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}
#text-2 .button {
    margin: 1rem 0 3rem;
}


/********************    FOOTER    ********************/

.footer-widgets {
    font-size: 17px;
    padding: 6rem 0 3rem;
    z-index: 1;
	position: relative;
}
.footer-widgets .widget-title {
    color: #fff;
    font-size: 30px;
    font-size: 3rem;
    margin-bottom: 1em;
}
.footer-widgets p {
    max-width: 100%;
    color: #fff;
}
.site-footer, .site-footer .entry-content {
    font-size: 17px;
    background: #303030;
    color: #fff;
    font-family: 'Hind', sans-serif;
}
.site-footer {
    border-top: 5px solid #E2081E;
    background-image: url("/wp-content/uploads/Kuva-2.jpg");
    background-size: cover;
    background-position: 50% 28%;
    position: relative;
}
.site-footer > .wrap {
    padding: 0;
}
.site-footer::before {
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(35, 44, 57, 0.9);
    content: '';
    pointer-events: none;

}
.site-footer .entry {
    background-color: inherit;
    width: 100%;
    padding: 0;
    box-shadow: inherit !important;
}
.site-footer a {
    color: #888;
}
.site-footer > .wrap > p {
    font-size: 13px;
    color: #fff4f4;
        z-index: 1;
	position: relative;
}
.site-footer > .wrap > p a {
    color: #fff4f4;
    text-decoration: underline;
}
.image.wp-image-113.attachment-full.size-full {
    border-radius: 50%;
    margin: 0 auto;
    max-width: 90% !important;
}


/********************   MUUT SIVUT   ********************/




/********************   @MEDIAT   ********************/

@media only screen and (min-width: 768px) {
.wrap {
    max-width: 1405px;
}
.site-footer > .wrap {
    padding: 0 0 7rem;
}
.hero-section {
    padding: 22rem 0 12rem;
}
}

@media only screen and (min-width: 1101px) {
.nav-primary {
    position: absolute;
    right: 0;
}
.sub-menu {
    width: 20rem;
    line-height: 1.4;
}
}

@media only screen and (min-width: 1100px) {
.single-post .content {
    width: -webkit-calc(75% - 8rem);
    width: calc(75% - 8rem);
}
}

@media only screen and (min-width: 1401px) {
.site-header .title-area {
    margin: -0.2rem auto 0 0;
}
}

@media only screen and (min-width: 2000px) {
.menu {
    font-size: 22px;
}
.wrap {
    max-width: 1606px;
}
.site-header > .wrap {
    max-width: 1560px;
}
.wp-custom-header {
    top: 201px;
    max-width: 1660px;
}
.front-page-1 {
    height: 889px;
}
.front-page-4 {
    max-width: 1660px;
}
.front-page-6 .wrap {
    max-width: 1430px;
}
}

@media only screen and (max-width: 1600px) {
.menu {
    font-size: 19px;
}
.home .title-area {
    max-width: 382px;
}
.front-page-1, .front-page-1 p {
	font-size: 34px;
}
.front-page-1 .widget .widget-wrap p {
    margin-bottom: 40px;
}
.front-page-6 img {
    max-height: 168px;
}
.front-page-6 .featured-content {
    min-height: 594px;
}
}

@media only screen and (max-width: 1500px) {
.wp-custom-header {
    top: 188px;
}
.front-page-1 {
    height: 53vw;
}
}

@media only screen and (max-width: 1400px) {
html {
    font-size: 59.4%;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    font-size: 18px;
}
.home .title-area {
    max-width: 330px;
    margin: 0.4rem auto 0 0;
}
.site-header > .wrap {
    height: 9.5rem;
}
.front-page-6 .featured-content {
    min-height: 558px;
}
.front-page-6 img {
    max-height: 154px;
}
}

@media only screen and (max-width: 1340px) {
.wp-custom-header {
    top: 184px;
}
.front-page-1 {
    height: 53.5vw;
}
}

@media only screen and (max-width: 1279px) {
.wp-custom-logo .title-area {
    max-width: 300px;
}
.home .title-area {
    max-width: 320px;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    padding: 0px 5px 0px 5px;
}
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator::after {
    margin: 0 0 0 4px;
}
.front-page-1 {
    height: 54vw;
}
.front-page-2 .alignleft {
    margin: 0 4% 1em 0;
    width: 35%;
    float: left;
}
.front-page-2 .alignright {
    margin: 0 4% 1em 0;
    width: 35%;
    float: right;
}
.front-page-6 .featured-content {
    padding-bottom: 1rem;
    margin-bottom: 4rem;
    min-height: inherit;
}
}

@media only screen and (max-width: 1100px) {
.nav-primary {
    padding: 17vw 10vw;
}
.home .site-header > .wrap {
    padding: 3.5rem 1% 0 !important;
}
.shrink .menu-toggle {
    padding-top: 2rem;
}
.home .shrink .menu-toggle {
    padding-top: 1.5rem;
}
.home .site-header.shrink .title-area {
    padding: 1.2rem 0 0 !important;
}

.home h3, .home h3 a, .widgettitle, .widget-title {
    font-size: 35px;
    font-size: 3.5rem;
}
.front-page-6 img {
    max-height: 124px;
}
}

@media only screen and (max-width: 1023px) {
.front-page-1 {
    height: 62vw;
}
.front-page-2 {
    padding: 4rem 0 0;
    margin-top: 0;
}
.front-page-6 img {
    max-height: 100px;
}
}

@media only screen and (max-width: 895px) {
.ylapalkki_marg {
    margin-right: 0 !important;
}
}

@media only screen and (max-width: 800px) {
.wrap {
    width: 86%;
    padding-right: 0;
	padding-left: 0;
}
.front-page-2 .alignleft {
    margin: 0 0 1em 0;
    width: 100%;
    float: none;
}
.front-page-2 .alignright {
    margin: 0 0 1em 0;
    width: 100%;
    float: none;
}
.front-page-2 img {
    max-width: 338px;
}
#featured-page-advanced-2 h3 {
    padding-left: 0;
}
#featured-page-advanced-2 .entry-content, #featured-page-advanced-4 .entry-content {
    width: 100%;
}
#featured-page-advanced-3 .entry-content {
    width: 100%;
    padding-right: 0;
}
.front-page-6 img {
    max-height: 150px;
}
}

@media only screen and (max-width: 767px) {
body, body > div, .home .entry-content p {
    font-size: 18px;
}
.has-fixed-header .site-header.shrink {;
    height: inherit;
}
.site-header > .wrap {
    padding: 1.6rem 1% !important;
    height: 8.5rem;
}
.site-header.shrink .title-area {
    max-width: 210px;
}
.home .site-header.shrink .title-area {
    padding: 1.3rem 0 0 !important;
}
.home .site-header.shrink > .wrap {
    padding: 2rem 1% !important;
}
.shrink .menu-toggle {
    padding-top: 7px;
}
.home .shrink .menu-toggle {
    padding-top: 5px;
}
.front-page-1, .front-page-1 p {
	font-size: 5vw;
	width: 100%;
	max-width: 100%;
}
.fpa-more-link {
    margin: 1rem 0 2rem;
}
.entry-content > .fpa-more-link:last-child {
    margin-bottom: 4rem;
}
.front-page-2 .more-link {
    margin: 1rem 0;
}
.site-footer > .wrap > p {
    padding: 2rem 0;
}
.image.wp-image-113.attachment-full.size-full {
    max-width: 70% !important;
}
}

@media only screen and (max-width: 600px) {
.nav-primary {
    padding: 25vw 8vw;
}
.front-page-1, .front-page-1 p {
    font-size: 4vh;
}
}

@media only screen and (max-width: 480px) {
.ylapalkki.widget-area {
    padding: 4px;
	font-size: 14px;
    font-size: 1.4rem;
}
.site-header > .wrap {
    padding: 1.8rem 1% !important;
}
.wrap {
    width: 80%;
}
.wp-custom-logo .title-area {
    max-width: 68vw;
}
.home .title-area {
    max-width: 71vw;
}
.wp-custom-header {
    overflow: hidden;
}
.menu-toggle {
    padding-top: 4.5vw;
}
#metaslider_widget-3 {
	width: 200%;
	margin-left: -5.9%;
}
#featured-page-advanced-2 article, #featured-page-advanced-4 article {
    padding-left: 0.5%;
}
#featured-page-advanced-3 article {
    padding-left: 0.5%;
}
#text-2, #text-2 h3 {
    text-align: left;
}
}

@media only screen and (max-width: 380px) {
.home h3, .home h3 a, .widgettitle, .widget-title {
    font-size: 31px;
    font-size: 3.1rem;
}
.site-header > .wrap {
    padding: 2rem 1% !important;
}
}

@media only screen and (max-width: 360px) {
.wp-custom-header {
    top: 170px;
}
}

@media only screen and (max-width: 895px) and (orientation: portrait) {
.wp-custom-header {
    overflow: hidden;
	}
#metaslider_widget-3 {
	width: 200%;
	margin-left: -5.9%;
}
.front-page-1 {
    height: 115vw;
}
.front-page-2 {
    padding: 1rem 0 0;
    margin-top: 0.5vw;
}
}
@media only screen and (max-width: 640px) and (orientation: portrait) {
.front-page-1 {
    max-height: 115vw;
}
.front-page-2 {
    padding: 4rem 0 0;
    margin-top: 3vw;
}
}



/***** BACKGROUND FIXED POIS *****/
@media only screen and (max-width: 1024px) {
  .front-page-1, .front-page-2, .front-page-3, .front-page-4, .front-page-5, .front-page-6 {
    background-attachment: scroll !important;
  }
}



/* Print media
---------------------------*/

@media print{
	.site-header, .has-fixed-header .site-header.shrink{
		position:static!important;
	}
	.hero-section{
		display:none;
	}
	.content-sidebar-wrap{
		padding-top:10rem;
		padding-bottom:0;
	}
	.content-sidebar-wrap .entry-content .synved-social-button, .site-inner:after{
		display:none;
	}
	@page{
		margin-top:3mm;
	}
	html{
		margin: 15mm 10mm 15mm 10mm;
	}
	#genesis_after_content_sidebar_wrap{
		display:none;
	}
	.content .entry:after, #custom_html-4, .footer-widgets-3{
		display:none;
	}
	.site-inner{
		top:0rem;
	}
	.content p{
		page-break-inside: avoid;
	}
	.content ul{
	page-break-inside: avoid;	
	}

}