html,
body {
    font-family: museo-sans, 'Open sans', Arial, Helvetica, sans-serif;
    margin: 0px;
    padding: 0px;
}

a {
    color: #009423;
}

a:focus,
a:hover {
    color: #006B19;
}

.roti a,
.roti>a {
    color: #000000;
     !important;
    font-weight: bold;
}


a.roti {
    color: #000000 !important;
    font-weight: bold;
}

.roti a:focus,
a:hover {
    color: #000000;
    font-weight: bold;
}


.container-fluid.main-content-article.ril {
    background-color: #fff;
    background-image: url(/media/2017/images/ril-icon-transparent-mod.png);
    background-repeat: no-repeat;
    background-position: bottom;
}

.container-fluid.main-content-article.ril {
    background-size: 100%;
}

.container-fluid.main-content.ril {
    background-color: #fff;
    /* background-image: url(/media/2017/images/ril-icon-transparent-mod.png); */
    background-repeat: no-repeat;
    background-position: bottom;
}

.container-fluid.main-content.ril {
    background-size: 100%;
}

.container-fluid.main-content.ril.front {
    background-color: #fff;
    /* background-image: url(/media/2017/images/ril-icon-copy.png), url(/media/2017/images/ril-icon-transparent-mod.png); */
    background-repeat: no-repeat, no-repeat;
    background-position: center, bottom;
}

.container-fluid.main-content.ril.front {
    background-size: 35%, 100%;
}

h1 {
    font-family: museo-sans, 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 36px;
    font-weight: 300;
    text-transform: uppercase;
    color: #2b2b2b;
    line-height: 44px;
    margin: 40px 10px 30px 0px;
    word-wrap: break-word;
}

h2 {
    font-family: museo-sans, 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 30px;
    text-transform: uppercase;
    color: #2b2b2b;
    line-height: 35px;
    margin: 30px 0px 20px 0px;
}

h3 {
    font-family: museo-sans, 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 24px;
    text-transform: uppercase;
    color: #2b2b2b;
    line-height: 28px;
    margin: 15px 0px 10px 0px;
}

h3.nav-headline {
    font-family: museo-sans, 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 24px;
    text-transform: uppercase;
    color: white;
    line-height: 28px;
    margin: 10px 0px 20px 0px;
}

h4 {
    font-family: museo-sans, 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #2b2b2b;
    line-height: 24px;
    text-transform: uppercase;
}

p {
    font-family: museo-sans, 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #4A4A4A;
    /*#2b2b2b;*/
    line-height: 22px;
    word-wrap: break-word;
}

a {
    font-family: museo-sans, 'Open Sans', Arial, Helvetica, sans-serif;
}

a span {
    background-color: transparent !important;
}

a.tag:hover {
    background-color: #6D7474;
    text-decoration: none;
}

a.tag {
    margin: 0 12px 15px 12px;
    background-color: #444444;
    color: white;
    padding: 10px 20px;
    /* border-radius: 30px;*/
    display: inline-block;
    text-transform: uppercase !important;
}

a.tag.tag-current {
    background-color: #7496a8;
    text-decoration: none;
}

ul li {
    font-family: museo-sans, 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #4A4A4A;
    line-height: 22px;
    word-wrap: break-word;
}

td,
th {
    padding: 5px;
    vertical-align: top;
}

.container-fluid {
    padding-right: 0px;
    padding-left: 0px;
    margin-right: auto;
    margin-left: auto;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.row {
    margin-right: 0px;
    margin-left: 0px;
}

img {
    max-width: 100%;
    height: auto;
}

.mark,
mark {
    padding: .2em .2em .2em 0;
    background-color: #fff;
}

.kuva-alasivulla {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

p.kuvateksti {
    margin: 10px 0 20px 0;
}

.fader {
    opacity: 0;
    position: relative;
    top: 200px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/*
--- Fader cancellation from IE ---

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	.fader {
		opacity: 1;
		top: 0;
	}
}
*/
.hvr-float {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px transparent;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    /* margin: .4em; */
    /* padding: 1em; */
    cursor: pointer;
    /* background: #e1e1e1; */
    text-decoration: none;
    /* color: #666; */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.bdbc {
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.clone-padding {
    background-color: black !important;
    color: white !important;
    display: inline;
    padding-left: 30px;
    padding-right: 30px;
    font-family: museo-sans, 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 60px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: #fff;
    padding: 15px 20px 20px 0px;
    line-height: 77px;
    text-transform: uppercase;
    /* white-space: pre-wrap; */
    /* line-height: 77px;
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 60px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: #fff;
    line-height: 77px;
    text-transform: uppercase;*/
}

.frontpage-event-img {
    height: 180px;
    width: 100%;
}

.search-area {
    margin-top: 31px;
    margin-bottom: 8px;
}

.eventilla-linkki {
    color: #000;
    font-size: 16px;
    font-family: museo-sans, 'Open sans', Arial, Helvetica, sans-serif;
    font-weight: 700;
    line-height: 10pt;
    letter-spacing: 1px;
    background-color: #00dd33;
    padding: 15px 20px;
    margin: 20px 0;
    text-transform: uppercase;
}

.eventilla-linkki:hover {
    opacity: 0.8;
}

.container.main-content {
    background-color: transparent;
    margin-top: -180px;
}

/*.row.subpage-main-area {   ENNEN class= bg-top
	margin-top: -200px!important;
}*/

.row.subpage-main-area {
    margin-top: 700px !important;
}

.col-md-8.subpage-right-main-area {
    background-color: #eeeeee;
    padding: 40px 45px 50px 45px;
    margin-bottom: 50px;
    width: 65%;
}

.subpage-right-main-area-article {
    background-color: #eeeeee;
    padding: 40px 45px 50px 45px;
    margin-bottom: 50px;
    width: 65%;
}

.col-md-4.subpage-left-main-area {
    background-color: black;
    /*padding: 35px 25px 30px 25px;*/
    padding: 30px 20px 50px 30px;
    margin: 0px 30px 50px 0px;
    width: 31%;
}

.subpage-left-main-area-article {
    /* background-color: #eeeeee; */
    background-color: black;
    padding: 35px 25px 30px 25px;
    margin: 0px 30px 50px 0px;
    width: 31%;
}

.bg-black {
    background-color: #000;
}

.green-bg {
    background-color: #00dd33;
}

.dark-bg {
    background-color: #292929;
}

.grey-bg {
    background-color: #f8f7fc;
}

.dark-bg-opacity {
    background-color: #292929;
    opacity: 0.54;
}

.bg-darkgreen {
    /* background-color: #455a64; */
    background-color: black;
}

.col-md-12.row-padding {
    padding-right: 0px;
    padding-left: 0px;
}

.padding-zero {
    padding-right: 0px;
    padding-left: 0px;
}

.m-bottom25 {
    margin-bottom: 25px;
}

.padding-bottom {
    padding-bottom: 60px;
}

.padding-sides {
    padding: 0px 100px;
}

#myBtn {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Fixed/sticky position */
    bottom: 0px;
    /* Place the button at the bottom of the page */
    right: 16%;
    /* Place the button 30px from the right */
    z-index: 99;
    /* Make sure it does not overlap */
    border: none;
    /* Remove borders */
    outline: none;
    /* Remove outline */
    /*background-color: red;  Set a background color */
    /*color: white;  Text color */
    cursor: pointer;
    /* Add a mouse pointer on hover */
    /*padding: 15px;  Some padding */
    /*border-radius: 10px;  Rounded corners */
}

/*#myBtn:hover {
    background-color: #555; /* Add a dark-grey background on hover
}*/

/* YLÄRIVIN LINKIT -------------------------*/

.bg-dark {
    background-color: #000;
}

/*.container.bg-black {
    width: 100vw;
    height: 45px;
}*/

.top-links-row {
    position: fixed;
    z-index: 500;
    width: 101vw;
    height: 45px;
    top: 0;
    margin-left: -15px;
    margin-right: -15px;
    background-color: #000;
}

ul.top-links-menu {
    margin: 0 50px;
}

.top-links-menu li {
    display: inline-block;
    float: right;
    padding: 13px 20px 13px 20px;
    font-family: museo-sans, 'Open sans', Arial, Helvetica, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.top-links-menu li a {
    color: #fff;
}

.custom-chevron {
    color: #00dd33;
    font-size: 14px;
    margin: 0 5px;
}

/* NAVIGATION ------------------------- */

.nav-background {
    background: #ffffff;
    background: -webkit-linear-gradient(left, #ffffff 0%, #ffffff 72%, #444444 23%, #444444 100%);
    background: linear-gradient(to right, #ffffff 0%, #ffffff 72%, #444444 23%, #444444 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#7496a8', GradientType=1);
}

.col-md-3.right-nav-area {
    background-color: #455a64;
    height: 87px;
}

.nav-rightside {
    /* position: fixed; */
    background-color: #455a64;
    height: 87px;
    margin-top: -97px;
    margin-left: 1235px;
}

.main-navigation {
    position: fixed;
    z-index: 500;
    width: 100%;
    height: 87px;
    top: 45px;
    right: 0;
    left: 0;
    background-color: #fff;
}

/*
.main-navigation {
    position: fixed;
    z-index: 500;
    width: 100%;
    height: 87px;
    top: 45px;
    /*margin-left: -15px;
    margin-right: -15px;
    background-color: #fff;
}*/

/* muokattu */

.main-nav-mobile {
    /*position: absolute;
	overflow-y: scroll;*/
    width: 100%;
    height: 91vh;
    max-height: 100vh;

    background-color: #444444;
    overflow: hidden;
    position: relative;
}

.mainlogo {
    width: 50%;
    padding-top: 26px;
}

/*.main-nav {
    position: fixed;
    z-index: 500;
    width: 100vw;
    height: 100px;
    top: 45px;
    margin-left: -15px;
    margin-right: -15px;
    background-color: #fff;
}*/

ul.main-nav-menu {
    padding-left: 0px;
    margin-left: -73px;
}

li.level1 {
    margin: 0 -2px;
}

ul.main-nav-menu li.level1.current {
    text-decoration: none;
    color: #fff;
    background-color: #444444;
}

li.current.level1 a {
    color: #fff;
}

li.current.level1.left-nav.current a {
    /* LEFT NAV */
    color: rgba(41, 111, 187, 1);
}

ul.menu li.current.level1.left-nav a {
    color: white;
}

/*
.level1.left-nav {
    margin-left: -25px;
}*/

/*ul.main-nav-menu li:hover {
    text-decoration: none;
    color: #fff;
    background-color: #7496a8;
}*/

.main-nav-menu li {
    display: inline-block;
}

ul.main-nav-menu li a:hover {
    text-decoration: none;
    background-color: #eeeeee;
    /*7496a8;*/
}

.submenu li.level2 a:hover {
    /* alavalikon hover */
    text-decoration: underline;
    background-color: #999999;
}

.submenu li.level2 {
    display: block;
    line-height: 20px;
    margin: -5px 0;
}

.main-nav-menu li>a {
    font-family: museo-sans, 'Open sans', Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #263238;
    font-weight: 600;
    display: block;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 25px 8px 22px 7px;
}

i.fa.fa-angle-down.custom-nav-angle {
    color: #00dd33;
    font-size: 18px;
    display: inline-block;
    font-weight: 600;
    margin-left: 1px;
    position: inherit;
    width: 16px;
    text-align: right;
}

/* Ennen mobiili-navin muokkausta
i.fa.fa-angle-down.custom-nav-angle {
    color: #587280;
    font-size: 18px;
    display: inline-block;
    font-weight: 600;
    margin-left: 2px;
}*/

/* ul.main-nav-menu li a:hover i.fa.fa-angle-down.custom-nav-angle {
    color: #263238;
} */

.main-nav-menu li.current.level1 {
    position: relative;
    box-sizing: border-box;
}

.main-nav-menu li.level1.hasSubItems {
    position: relative;
}

.main-nav-menu li.level1.hasSubItems:hover>a {
    background-color: #eeeeee;
    color: #263238;
}

.current-indicator {
    position: absolute;
    padding-left: 3px;
    bottom: 0px;
    left: 50%;
    width: 35px;
    -webkit-transform: translateX(-50%);
    -mos-transform: translateX(-50%);
    transform: translateX(-50%);
}


/*.main-nav-menu li.first.current.level1 .current-indicator {
	padding-right: 14px;
}

.main-nav-menu li.last.current.level1 .current-indicator {
	padding-left: 14px;
}*/

ul.main-nav-menu li a:hover .current-indicator {}

.submenu {
    padding: 25px 25px;
    margin: 0;
    min-width: 220px;
    display: none;
    position: absolute;
    left: 0px;
    top: 87px;
    z-index: 1;
    background-color: #000;
    /* width: 100vw; */
}

.submenu li {
    list-style: none;
}

.submenu li a {
    display: block;
    text-transform: none;
    font-size: 14px;
    /* font-weight: 600; */
    letter-spacing: 0.8px;
    padding: 10px 15px;
    text-align: left;
    list-style: none;
    margin-left: -10px;
    text-transform: uppercase;
    color: white;
}


/*
.submenu li:hover ul.main-nav-menu li {
	text-decoration: none;
    color: #fff;
    background-color: #7496a8;
}

.submenu li.level2 a:hover .main-nav-menu{
	color: #fff!important;
	background-color: #587280;
}

*/

.main-nav-menu li.level1.hasSubItems:hover .submenu {
    display: block;
}


.submenu li.current.level2 a {
    color: #00dd33;

}

.submenu li.current.level2 a:hover {
    color: white !important;
}

/* MOBILE NAV */

ul.mobile-menu {
    background-color: #444444;
    list-style-type: none;
    padding: 10px 60px 0px 55px;
}

/* MUOKATTU */
.main-nav-mobile {
    display: none;
}

ul.mobile-menu.sub-levels {
    display: none;
}

/* END */

ul.mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1.6px;
}

ul.mobile-menu a:hover {
    color: #96c1d9 !important;
}

ul.mobile-menu li {
    padding: 10px;
}

li.last.level1.hasSubItems {
    /*margin-bottom: 110px;*/
}

/*.mainlogo-mobile img {
    width: 12%;
    margin: 13px 50px;
}*/

.mainlogo-mobile img {
    width: 30%;
    margin: 20px 80px 20px 60px;
}

.mainlogo-mobile img.mobile-logo {
    width: 15%;
}

.mobile-nav-icon {
    color: white;
    font-size: 30px;
    background-color: #444444;
    padding: 29px 35px 28px 35px;
    display: inline-block;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    -webkit-transition: -webkit-transform 0.3s ease-in-out;
    transition: -webkit-transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}

.mobile-btn {
    display: inline-block;
    float: right;
}

/* MUOKATTU */
.hasSubItems i {
    position: absolute;
    right: 0;
    top: 5px;
    width: 52px;
    font-size: 18px;
    text-align: center;
    color: white;
}

level1.hasSubItems i {
    right: 30px;
    top: 5px;
    font-size: 22px;
}

.hasSubItems i:before {
    display: inline;
    vertical-align: middle;
    line-height: 40px;
}

/*.mobile-menu li.current > a {
    background-color: rgba(0, 0, 0, 0.2);
	padding: 10px;
}*/

.mobile-menu li.level1.hasSubItems {
    border-bottom: 1px solid white;
    position: relative;
}

.mobile-menu li.level2 {
    /*border-bottom: 0.5px solid white;*/
    position: relative;
}

/*.mobile-menu li > a {
    display: block;
}*/

.mobile-menu-close {
    display: none;
}

.mobile-menu .level2.hasSubItems>.mobile-menu {
    display: none;
}

ul.mobile-menu.level1 {
    position: absolute;
    /*top: 140px;*/
    /* 100px; */
    /*top: 190px;*/
    top: 280px;
    bottom: 0;
    left: 0;
    right: -17px;
    overflow-y: scroll;
}

.mobile-toplinks {
    position: relative;
    top: 0%;
    z-index: 1;
}

/* LANGUAGE OPTIONS ---------------------------*/

.right-nav-area {
    background-color: #444444;
    text-align: center;
    height: 87px;
}

.language-span-color {
    color: #7496a8;
    margin: 0 2px 0 1px;
}

.lang {
    list-style: none;
    padding: 0;
    margin-left: 0px;
    margin-top: 35px;
    margin-right: 40px;
}

.lang li {
    display: inline-block;
}

.lang li:last-of-type {
    padding-right: 0;
}

.lang li a {
    font-family: museo-sans, 'Open sans', Arial, Helvetica, sans-serif;
    font-weight: normal;
    display: block;
    /* padding: 5px 1px; */
    line-height: 1;
    /* font-weight: 300; */
    color: #fff;
    text-transform: uppercase;
    font-size: 20px;
    margin-right: 3px;
}

.lang li a:hover {
    color: #fff;
    text-decoration: none;
}

.lang li#currentLang a {
    color: #fff;
}

.language-options {
    display: inline-block;
}

.lang li:first-of-type a span {
    position: relative;
}

.lang li:first-of-type a span:after {
    content: "|";
    right: -17px;
    position: absolute;
    font-weight: normal !important;
}

.language-options .current {
    display: none
}

/* SEARCHFORM ------------------------ */

.mainsearch {
    position: absolute;
    min-width: 425px;
    background-color: white;
    right: 0px;
    background-color: transparent;
    display: none;
    margin-top: -3px;
    opacity: 0.8;
}

input.search_keywords {
    display: inline-block;
    width: 74%;
    height: 49px;
    color: #fff;
    float: left;
    /* margin-top: 21px; */
    /* margin-left: 6px; */
    margin: 23px 0 0 19px;
    /* padding: 20px; */
    background-color: #999999;
    border: none;
    /* border-bottom: 2px solid #7496a8; */
}

input.search_keywords:active {
    border: none;
}

.search_keywords {
    line-height: 22px;
    width: 190px;
    height: 30px;
    color: #000000;
    padding-left: 8px;
    vertical-align: middle;
}

.search_submit {
    display: inline-block;
    background-color: #999999;
    border: none;
    background-repeat: no-repeat;
    background-position: center center;
    /* height: 20px; */
    float: left;
    line-height: 13px;
    text-align: center;
    vertical-align: middle;
    margin: 23px 0 0px 0px;
    padding: 11px 20px 12px 20px;
}

.custom-search-nav {
    color: #999999;
    font-size: 25px;
    /* 18px kun EN / FI käännökset esillä */
}

.custom-search-nav:hover {
    color: #fff;
}

.custom-search-nav-mainsearch {
    color: #444444;
    font-size: 26px;
}

.custom-search-nav-mainsearch:hover {
    color: #fff;
}

.search_submit:hover {
    color: #fff;
    /*background-color: #194b8c;
    border-left: 1px solid rgba(255, 255, 255, 0.33);
    border-top: 1px solid rgba(255, 255, 255, 0.33);
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.69);*/
}

input.search_keywords_page {
    display: inline-block;
    width: 50%;
    height: 49px;
    color: #718995;
    letter-spacing: 0.8px;
    margin: 25px 0 0 0px;
    background-color: #fff;
    border: none;
    /* border-bottom: 2px solid #7496a8; */
}

input.newssearch_keywords_page {
    display: inline-block;
    width: 50%;
    height: 49px;
    color: #718995;
    letter-spacing: 0.8px;
    margin: 25px 0 0 0px;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #7496a8;
}

.newssearch_keywords_page {
    line-height: 22px;
    width: 190px;
    height: 30px;
    color: #000000;
    padding-left: 8px;
    vertical-align: middle;
}

.search_keywords_page {
    line-height: 22px;
    width: 190px;
    height: 30px;
    color: #000000;
    padding-left: 8px;
    vertical-align: middle;
}

.search_submit_page {
    display: inline-block;
    background-color: #444444;
    color: #fff;
    border: none;
    background-repeat: no-repeat;
    background-position: center center;
    line-height: 13px;
    text-align: center;
    vertical-align: middle;
    margin: 25px 0 0px -3px;
    padding: 18px 25px 18px 25px;
}

.search_submit_page:hover {
    background-color: #6D7474;
    color: #fff;
}

/* CAROUSEL ---------------------------*/

.carousel {
    height: 750px;
    width: 100%;
    display: block;
    overflow: hidden;
}

.slider {
    display: block;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    width: 100%;
}

.slider-item {
    height: 750px;
    background-color: transparent;
    position: relative;
}

.slider-bg {
    position: relative;
    top: 0px;
    right: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    /*background-position: center center;
    background-attachment: fixed !important;*/
    -webkit-transition: all 600ms cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 600ms cubic-bezier(0.645, 0.045, 0.355, 1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/*.slick-current .slider-bg {
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
    transform: scale(1);
}*/

.slider-item.cursor {
    cursor: pointer;
}

/*.slidertext {
    display: inline-block;
    max-width: 70%;
    position: absolute;
    top: 49%;
    left: 54%;
	-webkit-transform: translate(-50% , -50%);
	-ms-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
}*/

.slidertext {
    display: inline-block;
    max-width: 85%;
    position: absolute;
    /* top: 49%; */
    /* left: 54%; */
    -webkit-transform: translate(-26%, -83%);
    transform: translate(26%, -83%);
}

.slidertext a:focus,
.slidertext a:hover,
.slidertext a:active,
.slidertext a:visited {
    outline: none;
    text-decoration: none;
}

p.karuselli-text {
    line-height: 70pt;
    font-family: museo-sans, 'Open sans', Arial, Helvetica, sans-serif;
    font-size: 40pt;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    /*padding: 20px 20px 20px 20px;*/
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: left;
}

p.karuselli-text span {
    display: inline-block;
    position: relative;
    padding-left: 20px;
    overflow: hidden;
}

p.karuselli-text span::before {
    content: "";
    position: absolute;
    width: 21px;
    background-color: black;
    left: 0;
    top: 0;
    bottom: 0;
}

p.karuselli-text mark {
    background-color: black;
    color: white;
    display: inline;
    position: relative;
    white-space: pre-wrap;
}

@-moz-document url-prefix() {

    p.karuselli-text mark {
        padding: 25px 5px 25px 0px;
    }
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {

    /* IE10+ CSS styles go here */
    p.karuselli-text mark {
        padding: 25px 5px 25px 0px;
    }
}

@supports (-ms-accelerator:true) {

    /* IE Edge 12+ CSS styles go here */
    p.karuselli-text mark {
        padding: 25px 5px 25px 0px;
    }
}

@media screen and (-webkit-min-device-pixel-ratio:0) {

    /* Safari and Chrome */
    p.karuselli-text mark {
        padding: 26px 5px 26px 0px;
    }

    /* Safari only override */
    ::i-block-chrome,
    p.karuselli-text mark {
        padding: 25px 5px 25px 0px;
    }
}

/*
p.karuselli-text mark:before {
    content: '';
    background-color: black;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: -20px;
    height: 100%;
    width: 20px;
}*/

p.karuselli-text a:hover {
    color: #000000;
    text-shadow: 4px 4px #000000;
    -webkit-text-decoration-color: #ffffff;
    text-decoration-color: #ffffff;
}

p.karuselli-text-hero {
    line-height: 70pt;
    font-family: museo-sans, 'Open sans', Arial, Helvetica, sans-serif;
    font-size: 42pt;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
    position: relative;
    /* padding: 20px 20px 20px 20px; */
    text-transform: uppercase;
    letter-spacing: 1.6px;
    text-align: left;
}

p.karuselli-text-hero span {
    background-color: white;
    color: black;
    padding-left: 0px;
    padding-right: 5px;
    padding-top: 0.3em;
    padding-bottom: 0.3em;
    white-space: pre-wrap;
    display: inline;
    overflow: hidden;
}

p.karuselli-text-hero span:before {
    content: '';
    background-color: white;
    position: absolute;
    top: -9px;
    bottom: 0px;
    left: -20px;
    height: calc(100% + 17px);
    width: 20px;
}

span.bg-color {
    background-color: #fff;
}

p.karuselli-text2 {
    color: #000;
    font-size: 20px;
    font-family: museo-sans, 'Open sans', Arial, Helvetica, sans-serif;
    font-weight: 700;
    line-height: 15pt;
    letter-spacing: 1.6px;
    background-color: #00dd33;
    padding: 14px 32px;
    text-transform: uppercase;
}

p.karuselli-text2:hover {
    /*color: #d05566;*/
    opacity: 0.85;
}

.text2-adjust {
    margin-left: -20px;
}

.box-overlay-carousel {
    display: block;
    /*opacity: 0.5;
	background-color: rgba(64, 57, 58, 0.94);*/
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /*-webkit-transition: ease-in-out 0.2s;
    transition: ease-in-out 0.2s;*/

    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,1+100 */
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 85%, rgba(255, 255, 255, 1) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 65%, rgba(255, 255, 255, 1) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 65%, rgba(255, 255, 255, 1) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#ffffff', GradientType=0);
    /* IE6-9 */

}

/* NEWS CAROUSEL ------------------------*/

.carousel2 {
    height: auto;
    /*350px;*/
    width: 100%;
    display: block;
    overflow: hidden;
    /*margin-top: -180px;*/
    margin-bottom: 20px;
    /* 50px */
}

.slider2 {
    display: block;
    height: auto;
    margin: 0px 0 0 0;
    overflow: hidden;
    width: 100%;
}

.slider-item2 {
    height: 360px;
    background-color: transparent;
    position: relative;
}

.slider-item2-newheight {
    height: 720px;
    background-color: transparent;
    position: relative;
}


.slider-news-slogan {
    height: 360px;
    width: 100%;
}

.slider-news-text2 {
    height: 360px;
    padding: 45px 30px;
}

.slider-bg2 {
    position: relative;
    top: 0px;
    right: 0;
    display: block;
    /*width: 100%;
    height: 100%;*/
    background-repeat: no-repeat;
    /*background-size: cover;*/
    background-size: contain;
    /*5.12.*/
    background-position: center;
    -webkit-transition: all 600ms cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 600ms cubic-bezier(0.645, 0.045, 0.355, 1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.slider-item2.cursor {
    cursor: pointer;
}

.slidertext2 a:focus,
.slidertext2 a:hover,
.slidertext2 a:active,
.slidertext2 a:visited {
    outline: none;
    text-decoration: none;
}

p.news-carousel-headline a {
    color: #000;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 1.3px;
}

p.news-carousel-text {
    line-height: 25px;
    /* 28px */
    letter-spacing: 1.3px;
}

span.news-carousel-readmore a {
    color: #fff;
    line-height: 28px;
    letter-spacing: 1.3px;
    background-color: #000;
    padding: 10px 20px;
}

p.news-carousel-slogan {
    position: relative;
    font-size: 24px;
    font-weight: 300;
    top: 52%;
    color: #fff;
    background-color: #000;
    padding: 15px 30px 10px 30px;
    line-height: 30px;
    letter-spacing: 1.3px;
    opacity: 0.75;
}

p.news-carousel-slogan-page {
    /* position: relative; */
    font-size: 18px;
    font-weight: 300;
    /* top: 52%; */
    color: #666;
    /* padding: 15px 30px 10px 30px; */
    line-height: 30px;
    letter-spacing: 1.3px;
    margin: 12px 0;
}

.author-adjust {
    position: relative;
    font-size: 22px;
    font-weight: 600;
    top: 52%;
    color: #fff;
    background-color: #000;
    padding: 0px 20px 15px 20px;
    line-height: 30px;
    letter-spacing: 1.3px;
    opacity: 0.75;
    text-align: right;
    margin-top: -10px;
}

.slider-text-up {
    height: 95%;
}

.slider-text-up-modified {
    height: 80%;
}

.slider-text-down {
    height: 5%;
}

/* FIXED HERO IMAGE --------------------------*/

*,
*:after,
*:before {
    box-sizing: border-box;
}

#hero1 {

    background-size: cover;
    background-position: center center;
    background-attachment: fixed !important;
}

#hero2 {
    background: url(/media/2017/images/ril-icon-transparent-mod.png);
    background-size: cover;
    background-position: center center;
    background-attachment: fixed !important;
}

.hero,
.content {
    text-align: center;
    position: relative;
    width: 100%;
}

.inner {
    min-height: 750px;
    position: relative;
}

.hero .inner {
    /*background: rgba(0,0,0,0.7) url() repeat;*/
}

/*.copy {
    position: absolute;
    top: 45%;
    height: 10em;
    margin-top: -7em;
    width: 80%;
}*/

.copy {
    position: absolute;
    /*height: 10em;*/
    margin-top: -7em;
    top: 31%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    /* padding: 15px; */
    -webkit-transform: translateX(29%);
    transform: translateX(29%);
}

/* HERO-BANNER ------------------------------*/

.hero-area {
    margin-top: 120px;
}

.hero-bg {
    width: 100%;
    height: auto;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed !important;
    backface-visibility: hidden;
}

.hero-text-area {
    padding: 150px 20px 90px 0px;
    min-height: 400px;
}

p.hero-ingressi {
    color: #fff;
    background-color: #000;
    font-size: 22px;
    letter-spacing: 0.9px;
    line-height: 30px;
    padding: 15px 20px;
    margin-left: -20px;
    margin-bottom: 25px;
}

/* Pohjan väli-linkit */

.link-text-area {
    text-align: right;
    margin-right: 60px;
    padding: 85px 0px 120px 0px;
}

p.link-text-otsikko {
    font-family: museo-sans, 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 60px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: #fff;
    padding: 100px 20px 20px 0px;
    /* top 15px "RIL toimialaa kehittämässä" muokkaus suorakulmioksi */
    line-height: 77px;
    /*max-width: 950px;
    position: relative;*/
    text-transform: uppercase;
}

span.reg-span {
    /* "RIL toimialaa kehittämässä" muokkaus suorakulmioksi */
    padding: 20px 20px 20px 20px;
    position: relative;
    /* overflow: hidden; */
}

p.link-text-otsikko mark {
    background-color: black;
    color: white;
    display: inline;
    padding-left: 35px;
    padding-right: 35px;
    /*white-space: pre-wrap;
    margin-right: -20px;*/
    position: absolute;
    /* "RIL toimialaa kehittämässä" muokkaus suorakulmioksi */
    bottom: 5px;
    right: 0;
}

/*p.link-text-otsikko mark:before {
    content: '';
    background-color: black;
    position: absolute;
    top: -21px;
    bottom: 0px;
    left: -20px;
    height: calc(100% + 15px);
    width: 0px;
}*/

p.link-text-register {
    font-family: museo-sans, 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    letter-spacing: 1.6px;
    line-height: 46px;
    background-color: #00dd33;
    padding: 6px 35px;
    margin-left: -20px;
    text-transform: uppercase;
    /* border-radius: 30px; */
    margin-right: 20px;
}

p.link-text-register:hover {
    opacity: 0.9;
}

.banner-span a {
    color: #fff;
}

.banner-span a:hover {
    color: #fff;
    text-decoration: none;
}

p.hero-text-register:hover {
    opacity: 0.9;
}

p.hero-text-register:active {
    opacity: 0.9;
}

.custom-chevron-link {
    color: #00dd33;
    font-size: 18px;
    margin: 0 5px;
}


.custom-chevron-link-roti {
    color: #EEE444;
    font-size: 18px;
    margin: 0 5px;
}



/* TAPAHTUMAT / KOULUTUKSET / UUTISET ---------------*/

.news-subpage-area {
    background-color: eeeeee;
    padding: 20px;
}

.relative {
    position: relative;
}

.greyscale {
    -webkit-filter: grayscale(1);
    /* Old WebKit */
    filter: grayscale(1);
}

.col-md-4.col-sm-6.col-xs-12.tapahtumat-area {
    padding: 0;
}

.box-overlay {
    position: absolute;
    display: block;
    opacity: 0.5;
    background-color: rgba(255, 255, 255, 0.19);
    top: 0px;
    /* left: 15px; */
    height: 100%;
    right: 0px;
    width: 100%;
    height: 92%;
    margin-bottom: -10px;
    /* -webkit-transition: ease-in-out 0.2s; */
    /* transition: ease-in-out 0.2s; */

}

.box-overlay-green1 {
    position: absolute;
    display: block;
    background-color: rgba(0, 221, 51, 0.5);
    /* #00dd33 */
    top: 0px;
    height: 100%;
    right: 0px;
    width: 100%;
    height: 91%;
    margin-bottom: -10px;
}

.box-overlay-green2 {
    position: absolute;
    display: block;
    opacity: 0.35;
    background-color: #00dd33;
    top: 0px;
    height: 100%;
    right: 0px;
    width: 100%;
    height: 91%;
    margin-bottom: -10px;
}

.box-overlay-green3 {
    position: absolute;
    display: block;
    opacity: 0.15;
    background-color: #00dd33;
    right: 0px;
    top: 0px;
    width: 100%;
    height: 91%;
    margin-bottom: -10px;
}

.default-pic-events {
    min-height: 85%;
}

.col-md-4.tapahtumat-single {
    padding: 0px;
}

.tapahtumat-single {
    display: inline-block;
    width: 340px;
    height: 470px;
    background-color: #eeeeee;
    margin: 0px 30px 35px 0px;
}

.margin-fix {
    margin-right: 0;
}

p.otsikko-tapahtumat {
    font-size: 20px;
    font-weight: 600;
    line-height: 36px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 32px;
}

p.event.tapahtumat {
    font-size: 18px;
    font-weight: 700;
    line-height: 27px;
    letter-spacing: 1.6px;
    padding: 5px 20px 5px 20px;
    /*color: #00dd33;*/
}

p.event.tapahtumat a {
    color: #000;
    text-decoration: none;
}

p.event.tapahtumat a:hover {
    opacity: 0.5;
    text-decoration: none;
}

p.event-sijainti {
    font-size: 17px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 1.6px;
    color: #000;
    padding: 0 20px 15px 20px;
}

p.event-luelisaa {
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 1.6px;
    text-align: center;
    margin: 0 20px;
}

p.event-luelisaa a {
    background-color: #000;
    color: #fff;
    width: 100%;
    padding: 10px 87px;
}

p.event-luelisaa a:hover {
    color: #00dd33;
    text-decoration: none;
}

/*.event-luelisaa-area {
	bottom: 20px;
}*/

p.katsokaikki-tapahtumat {
    background-color: #000;
    text-align: center;
    padding: 15px 20px;
    margin: 0 -15px 40px -15px;
}

p.katsokaikki-tapahtumat a {
    font-size: 24px;
    font-weight: 600;
    color: #00dd33;
    line-height: 36px;
    letter-spacing: 1.6px;
}

p.katsokaikki-tapahtumat a:hover {
    color: #fff;
    text-decoration: none;
}

span.span-tags {
    position: absolute;
    top: 30px;
    left: 0px;
    font-size: 14px;
    font-family: museo-sans, 'Open Sans', sans-serif;
    font-weight: 700;
    line-height: 36px;
    letter-spacing: 1.6px;
    color: #fff;
    background-color: #263238;
    padding: 2px 20px;
    text-transform: uppercase;
}

span.span-tags-bottom {
    position: absolute;
    bottom: 30px;
    left: 0px;
    font-size: 14px;
    font-family: museo-sans, 'Open Sans', sans-serif;
    font-weight: 700;
    line-height: 36px;
    letter-spacing: 1.6px;
    color: #fff;
    background-color: #263238;
    padding: 2px 20px;
    text-transform: uppercase;
}

.box-overlay-blue1 {
    position: absolute;
    display: block;
    opacity: 0.5;
    background-color: rgba(11, 146, 247, 0.61);
    /* #a9d174 */
    top: 0px;
    height: 100%;
    right: 0px;
    width: 100%;
    height: 92%;
    margin-bottom: -10px;
}

.box-overlay-blue2 {
    position: absolute;
    display: block;
    opacity: 0.35;
    background-color: rgba(0, 173, 255, 0.65);
    top: 0px;
    height: 100%;
    right: 0px;
    width: 100%;
    height: 92%;
    margin-bottom: -10px;
}

.box-overlay-blue3 {
    position: absolute;
    display: block;
    opacity: 0.5;
    background-color: rgba(131, 233, 251, 0.68);
    right: 0px;
    top: 0px;
    width: 100%;
    height: 92%;
    margin-bottom: -10px;
}

p.event.koulutukset {
    font-size: 18px;
    font-weight: 700;
    line-height: 27px;
    letter-spacing: 1.6px;
    padding: 5px 20px 5px 20px;
    /*color: #00dd33;*/
}

p.event.koulutukset a {
    color: #000;
    text-decoration: none;
}

p.event.koulutukset a:hover {
    opacity: 0.5;
    text-decoration: none;
}

p.event-luelisaa-koulutukset {
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 1.6px;
    text-align: center;
    margin: 0 20px;
}

p.event-luelisaa-koulutukset a {
    background-color: #000;
    color: #fff;
    width: 100%;
    padding: 10px 87px;
}

p.event-luelisaa-koulutukset a:hover {
    color: #00dd33;
    text-decoration: none;
}

/* Yksittäinen tapahtuma kuvalla */

p.event.koulutukset-2 {
    font-size: 18px;
    font-weight: 700;
    line-height: 27px;
    letter-spacing: 1.6px;
    padding: 55px 55px 25px 55px;
    /*color: #00dd33;*/
}

p.event.koulutukset-2 a {
    color: #000;
    text-decoration: none;
}

p.event.koulutukset-2 a:hover {
    opacity: 0.5;
    text-decoration: none;
}

p.event-sijainti-2 {
    font-size: 17px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 1.6px;
    color: #000;
    padding: 0 55px 15px 55px;
}

p.event-luelisaa-koulutukset-2 {
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 1.6px;
    text-align: center;
    position: absolute;
    bottom: 60px;
    margin: 0 55px 0 55px;
}

p.event-luelisaa-koulutukset-2 a {
    background-color: #000;
    color: #fff;
    width: 100%;
    padding: 10px 190px;
}

p.event-luelisaa-koulutukset-2 a:hover {
    color: #00dd33;
    text-decoration: none;
}

.tapahtumat-area-koulutus-2 {
    height: 400px;
    background-color: #eeeeee;
    margin-bottom: 35px;
}

.kurssinpitaja-up {
    background-color: #587280;
    height: 40%;
    margin-left: -15px;
    margin-right: -15px;
}

.kurssinpitaja-down {
    background-color: #455a64;
    height: 60%;
    margin-left: -15px;
    margin-right: -15px;
}

p.kouluttaja-otsikko {
    font-size: 20px;
    color: #fff;
    font-weight: 600;
    line-height: 34px;
    letter-spacing: 1.6px;
    padding-top: 20px;
}

.kouluttaja-kuva {
    width: 170px;
    margin-top: -85px;
    margin-bottom: 25px;
}

p.kouluttaja-tiedot {
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 1.6px;
}

.news-height {
    height: 100%;
    text-align: center;
}

/* FOOTER  ------------------------------------------*/

/* FOOTER SOCIAL MEDIA FEED */

.some-area {
    padding: 90px 0 75px 0;
}

.some-otsikko {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.some-date {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #dfe0e1;
}

.some-text a {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 26px;
    color: #fff;
}

.some-text {
    margin-bottom: 40px;
}

/* FOOTER SITEMAP */

.sitemap-area {
    padding: 90px 0 70px 0;
}

.sitemap-item {
    padding-left: 10px;
    padding-right: 20px;
    float: left;
    width: calc(100% / 6);
}

.sitemap-item a {
    display: block;
    color: #fff;
    font-family: museo-sans, 'Open sans', Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 400;
    padding-bottom: 10px;
    letter-spacing: 0.4px;
}

/*.sitemap-item a:last-of-type {
    padding-bottom: 0;
}*/

.sitemap-item a.level1 {
    font-weight: 700;
    font-size: 20px;
    font-family: museo-sans, 'Open sans', Arial, Helvetica, sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* FOOTER SIVUKARTTA */

/* FOOTER ALATIEDOT */

.footer-area {
    border-top: 1px solid #fff;
    padding: 80px 0 140px 0;
    margin-bottom: 30px;
}

p.footer-name {
    font-size: 18px;
    color: #dfe0e1;
    letter-spacing: 0.5px;
    line-height: 28px;
    margin-right: 50px;
    margin-left: 35px;
}

/* ALASIVU -----------------------------------------*/

ul.menu {
    list-style-type: none;
    padding-left: 0px;
}

ul.menu li.level2 {
    padding-left: 25px;
}

ul.menu li.level3 {
    padding-left: 25px;
}

ul.menu li.level4 {
    padding-left: 25px;
}

ul li.left-nav {
    padding: 5px 0;
}

ul.menu a {
    color: white;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.6px;
    cursor: pointer;
}

/*li.level1.left-nav li.level2.left-nav a {
    color: #4eacde;
}*/

li.level1.left-nav li.level3.left-nav a {
    color: white;
}

li.level1.left-nav li.level3.left-nav li.level4.left-nav a {
    color: #2d95d6;
}

/* UUTISARKISTO */

.news-archive-area {
    text-align: left;
}

img.tapahtuma-list-pic {
    width: 200px;
    height: auto;
    max-height: 125px;
}

img.tapahtuma-list-pic-page {
    width: 100%;
}

.col-lg-12.col-md-8.col-sm-12.col-xs-12.subpage-right-main-area.tapahtumat-v2 {
    width: 100%;
    text-align: center;
}

.col-lg-12.col-md-8.col-sm-12.col-xs-12.subpage-right-main-area.tapahtumat-v2 .archive-headline,
.col-lg-12.col-md-8.col-sm-12.col-xs-12.subpage-right-main-area.tapahtumat-v2 .padding-tapahtumat {
    text-align: left;
}

p.news-archive-links {
    margin-bottom: 19px;
    text-align: left;
}

p.archive-date {
    margin: 0px 0px 20px 0px;
    font-weight: 600;
    text-align: left;
}

.news-col-adjust {
    margin-bottom: 35px;
    padding-left: 30px;
}

p.archive-headline {
    margin-top: 20px;
    margin-bottom: 35px;
    color: #4A4A4A;
    font-weight: 300;
    font-size: 36px;
    line-height: 49px;
    /* letter-spacing: 1.6px; */
    text-transform: capitalize;
}

p.news-archive-links a {
    color: #4A4A4A;
    font-size: 22px;
    font-weight: 700;
    line-height: 30px;
    /* letter-spacing: 1.3px; */
}

.padding-tapahtumat {
    padding: 0;
    margin-bottom: 25px;
}

.pagination {
    text-align: center;
    width: 100%;
    margin: 50px 0px 60px 0px;
}

span.curPage {
    color: rgba(0, 0, 0, 0.45);
    display: inline-block;
    font-size: 22px;
    border: 1px solid #000;
    padding: 0 12px;
    background-color: transparent;
}

.pagination span {
    display: inline-block;
    margin: 5px 0;
}

.pagination span a {
    color: #fff;
    background-color: #000;
    padding: 4px 12px;
    margin: 0 4px;
    font-size: 22px;
    line-height: 30px;
    font-weight: 600;
}

.pagination .pagination span a:hover {
    background-color: rgba(0, 0, 0, 0.45);
    text-decoration: none;
}

i.fa.fa-chevron-right.chevron-pagination {
    padding: 0 0 2px 0;
    font-size: 17px;
    margin-bottom: 4px;
    margin-left: 2px;
}

i.fa.fa-chevron-left.chevron-pagination {
    padding: 0 0 2px 0;
    font-size: 17px;
    margin-bottom: 4px;
    margin-right: 1px;
}

/* ARTIKKELI-SIVU */

.box-overlay-article {
    display: block;
    /*opacity: 0.5;
	background-color: rgba(64, 57, 58, 0.94);
	position: absolute;*/
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /*-webkit-transition: ease-in-out 0.2s;
    transition: ease-in-out 0.2s;*/
    background: -o-linear-gradient(top, rgba(255, 255, 255, 0) -65%, rgba(255, 255, 255, 1) 54%);
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) -65%, rgba(255, 255, 255, 1) 54%);
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,1+100 */
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) -65%, rgba(255, 255, 255, 1) 54%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) -65%, rgba(255, 255, 255, 1) 54%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}

.main-content-article {
    background-color: transparent;
    /*margin-bottom: 40px;*/
}

.row.subpage-main-area-article {
    margin-top: 180px;
    min-height: 690px;
}

.subpage-right-main-area-article {
    background-color: #eeeeee;
    padding: 30px 45px 30px 45px;
    margin-bottom: 35px;
}

.subpage-left-main-area-article {
    background-color: black;
    padding: 30px 20px 50px 30px;
    margin-bottom: 30px;
}

/* KOULUTUSSIVU */

p.event.news-left-links a {
    color: white;
    /* font-size: 22px; */
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0.5px;
}


/* VERKKOLEHTI */

.nav-background-lehti {
    background: #ffffff;
    background: -webkit-linear-gradient(left, #ffffff 0%, #ffffff 57%, #444444 49%, #444444 100%);
    background: -webkit-linear-gradient(left, #ffffff 0%, #ffffff 57%, #444444 20%, #444444 100%);
    background: linear-gradient(to right, #ffffff 0%, #ffffff 57%, #444444 20%, #444444 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#444444', GradientType=1);
}

.mobile-container-lehti {
    display: none;
}

.lehti-muita-margin {
    margin-right: -30px;
}

.custom-search-nav-lehti {
    color: #fff;
    font-size: 36px;
    padding: 23px;
    position: absolute;
    left: 15px;
    top: 2px;
}

/* .custom-search-nav-lehti:hover {
    color: #455a64;
} */

.top-links-row-lehti {
    position: fixed;
    z-index: 500;
    width: 100vw;
    height: 45px;
    top: 0;
    margin-left: 0px;
    margin-right: 0px;
    background-color: #000;
}

.container-fluid.main-content-lehti {
    margin-top: 190px;
}

.bg-top {
    position: absolute;
    top: 0;
    left: 0;
    height: 500px;
    width: 100%;
}

.mainlogo-lehti {
    max-width: 185px;
    height: auto;
    padding: 20px 0;
    margin-left: -40px;
}

p.nav-otsikko-lehti {
    font-family: museo-sans, 'Open sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 25px;
    letter-spacing: 1.6px;
    margin: 32px 20px 35px 10px;
}

.searchform-lehti {
    background-color: #444444;
    margin: 0 -15px;
}

input.search_keywords-lehti {
    display: inline-block;
    height: 35px;
    color: #fff;
    float: left;
    margin: 25px 0 25px 75px;
    background-color: #444444;
    border: none;
    border-bottom: 1px solid #fff;
}

input.search_keywords-lehti:active {
    border: none;
}

.search_keywords-lehti {
    line-height: 22px;
    width: 190px;
    height: 30px;
    color: #000000;
    padding-left: 8px;
    vertical-align: middle;
}

.search_submit-lehti {
    display: inline-block;
    background-color: #444444;
    border: none;
    background-repeat: no-repeat;
    background-position: center center;
    /* height: 20px; */
    float: left;
    line-height: 13px;
    text-align: center;
    vertical-align: middle;
    margin: 25px 0 0px 0px;
    padding: 11px 20px 12px 20px;
}

.custom-search-lehti {
    font-size: 20px;
    color: #fff;
}

.custom-search-lehti:hover {
    opacity: 0.7;
}

::-webkit-input-placeholder {
    /* WebKit, Blink, Edge */
    color: #fff;
}

:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #fff;
    opacity: 1;
}

::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #fff;
    opacity: 1;
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #fff;
}

.linkkirivi-alue {
    /*margin-top: 131px;
	*/
    position: fixed;
    z-index: 500;
    width: 100vw;
    height: 55px;
    top: 131px;
    margin-left: 0px;
    margin-right: 0px;
}

ul.lehti-linkit {
    padding: 16px 0;
}

ul.lehti-linkit li {
    display: inline-block;
}

ul.lehti-linkit li a {
    font-size: 14px;
    color: #fff;
    font-weight: 700;
    line-height: 25px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    padding: 0px 30px 0 0;
}

.lehti-paauutinen-kuva {
    height: 477px;
    /* 290px, sit rivi 2522 */
    background-size: cover;
    background-position: center center;
}

@media screen and (max-width: 1199px) {
    .lehti-paauutinen-kuva {
        height: 401px;
    }
}

@media screen and (max-width: 991px) {
    .lehti-paauutinen-kuva {
        height: 480px;
    }
}

@media screen and (max-width: 767px) {
    .lehti-paauutinen-kuva {
        height: 59vw;
    }
}

i.fa.fa-chevron-right.custom-chevron-linkit {
    /* color: #7496a8; */
    color: #00dd33;
}

.left-main-area-lehti {
    margin: 25px 0px 25px 0;
    padding: 0 25px 0 0;
}

.lehti-article-1 {
    background-color: #eeeeee;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.lehti-teksti-alue {
    padding: 25px;
}

span.lehti-tags {
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    letter-spacing: -0.2px;
    color: #00dd33;
}

p.lehti-date {
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    letter-spacing: -0.2px;
    margin: 13px 0;
}

p.lehti-h1 a {
    font-size: 36px;
    font-weight: 300;
    color: #373a3c;
    line-height: 44px;
    letter-spacing: -0.2px;
}

p.lehti-h2 a {
    font-size: 25px;
    font-weight: 300;
    color: #373a3c;
    line-height: 34px;
    letter-spacing: -0.2px;
}

.row.lehti-kuvauutiset {
    margin-bottom: 25px;
    /*background-color: #eeeeee;*/
}

.alauutinen-vasen {
    height: 238px;
    /* 262px; */
    padding-left: 0;
    margin-bottom: 25px;
    background-color: #eeeeee;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.alauutinen-oikea {
    height: 238px;
    /* 262px; */
    margin-bottom: 25px;
    background-color: #eeeeee;
    padding: 20px 20px 20px 20px;
}

@media screen and (max-width: 1199px) {
    .alauutinen-vasen {
        height: 201px;
    }

    .alauutinen-oikea {
        height: 201px;
        padding: 15px 15px 15px 18px;
    }
}

@media screen and (max-width: 991px) {
    .alauutinen-vasen {
        height: 240px;
    }

    .alauutinen-oikea {
        height: 240px;
    }
}

.lehti-kuvauutiset-single {

    margin-bottom: 25px;
}


/*.lehti-subnews-margin {
	height: 20px;
	width: 100%;
	background-color: #fff;
}*/

.right-main-area-lehti {
    background-color: #eeeeee;
    padding: 35px;
    margin: 25px 0 25px 0px;
}

.padding-verkkolehti {
    padding: 0;
}

.uutiset-viiva {
    border-bottom: 2px solid #263238;
    margin: 20px 0;
}

.verkkolehti-muut-uutiset {
    border-top: 2px solid #eeeeee;
    margin-top: 20px;
    padding: 40px 0 0 0;
}

p.suosituimmat-otsikko {
    font-size: 20px;
    font-weight: 700;
    color: #263238;
    line-height: 24px;
    margin-bottom: 30px;
    letter-spacing: -0.2px;
}

.lehti-footer-logo {
    width: 150px;
    height: auto;
}

.lehti-footer-logo-small {
    width: 50px;
    height: auto;
}


p.uutiset-suosituimmat a {
    color: #373a3c;
    font-size: 22px;
    font-weight: 300;
    line-height: 30px;
    letter-spacing: -0.2px;
}

p.lehti-arkistolinkki a {
    color: #fff;
    background-color: #000;
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
    padding: 10px 82px;
}

.tapahtumat-single-lehti.margin-fix.hidden-sm.hidden-xs {
    margin-right: 0px;
}

p.lehti-footer-otsikko {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.2px;

}

p.lehti-footer-teksti {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.2px;
}

/*.mainos-box {
    height: 372px;
}*/
.mainos-box {
    height: auto;
    min-height: 350px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

.mainostekstit {
    text-align: center;
    position: absolute;
    top: 23%;
    left: 10px;
    right: 10px;
    bottom: 10px;
}

p.mainos-otsikko {
    color: #fff;
    font-size: 40px;
}

p.mainos-otsikko {
    color: #fff;
    font-size: 40px;
    line-height: 40px;
    text-decoration: none;
    /*-webkit-transform: translateY(500%);
    transform: translateY(500%);*/
}

p.mainos-ingressi {
    color: #fff;
    /*-webkit-transform: translateY(600%);
    transform: translateY(600%);*/
}

.tapahtumat-single-lehti {
    display: inline-block;
    width: 350px;
    height: 380px;
    /* 470px */
    margin: 0px 30px 5px 0px;
    padding: 0px;
}

.my-15 {
    margin: 15px 0px;
}

.isolinkki-lehti {
    color: #fff;
    background-color: #000;
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
    padding: 15px 0;
    text-align: center;
    margin-bottom: 50px;
}

.isolinkki-lehti a:hover {
    text-decoration: none;
}

.footer-area-lehti {
    /*border-top: 1px solid #fff;*/
    padding: 80px 0 90px 0;
    /*margin-bottom: 90px;*/
}

/* EDITOR */

.editor img {
    padding: 20px;
    /*margin: -20px;*/
}

img.kuvaoikealle {
    padding-left: 20px;
    padding-bottom: 20px;
    padding-top: 20px;
    margin-top: -20px;
}

img.kuvavasemmalle {
    padding-right: 20px;
    padding-bottom: 20px;
    padding-top: 20px;
    margin-top: -20px;
}

.editor table {
    table-layout: fixed;
    max-width: 100% !important;
    width: 100% !important;
}

.editor table td {
    word-wrap: break-word;
    padding-right: 5px;
}

/* LIITTYMISLOMAKE */

.formField-heading {
    font-size: 18px;
    margin: 25px 0 25px 0;
    font-weight: 700;
    font-family: museo-sans, 'Open Sans', sans-serif;
}

.formTextinput {
    width: 300px;
}

.formEmailinput {
    width: 300px;
}

.formSelect {
    width: 300px;
}

span.formCheckboxLabel {
    margin: 5px;
}

button.clearbtn {
    margin-left: 120px;
    margin-right: 5px;
    padding: 8px 10px;
}

.submit-button.formwidth {
    text-align: center;
    margin: 30px 0 10px 0;
}

button.formSubmit {
    padding: 6px 20px;
    background-color: #00dd33;
    color: #000;
    font-size: 16px;
    font-family: museo-sans, 'Open sans', Arial, Helvetica, sans-serif;
    font-weight: 700;
    line-height: 15pt;
    letter-spacing: 1.6px;
    background-color: #00dd33;
    padding: 8px 20px;
    border: none;
}

label.formCheckboxLabelHolder {
    margin-bottom: 12px;
}


/*  HERO ALASIVUILLA  */


p.karuselli-text-hero2 {
    line-height: 75px;
    font-family: museo-sans, 'Open sans', Arial, Helvetica, sans-serif;
    font-size: 36pt;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    /* padding: 20px 20px 20px 20px; */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: left;
    margin-left: -20px;
}

p.karuselli-text-hero2 span {
    display: inline-block;
    position: relative;
    padding-left: 20px;
    overflow: hidden;
}

p.karuselli-text-hero2 mark {
    background-color: white;
    color: black;
    display: inline;
    position: relative;
    white-space: pre-wrap;

    padding: 15px 15px 11px 0;
}

p.karuselli-text-hero2 span::before {
    content: "";
    position: absolute;
    width: 20px;
    background-color: #fff;
    left: 0;
    top: 0;
    bottom: 0;
}

/* END HERO */


/* RESPONSIIVISUUS -------------------------------- */

@media screen and (min-width: 1600px) {
    .copy {
        -webkit-transform: translateX(32%);
        transform: translateX(32%);
        margin-left: 50px;
    }
}

@media screen and (max-width: 1600px) {
    .copy {
        -webkit-transform: translateX(32%);
        transform: translateX(32%);
        margin-left: -120px;
    }
}



@media screen and (min-width: 1199px) {
    .container {
        width: 1140px;
    }
}

@media screen and (max-width: 1199px) {

    .frontpage-event-img {
        height: 153px;
        width: 100%;
    }

    #myBtn {
        right: 10%;
    }

    .slider-item2 {
        height: 303px;
    }

    .slider-item2-newheight {
        height: 606px;
    }

    .slider-news-slogan {
        height: 303px;
    }

    .slider-news-text2 {
        height: 303px;
        padding: 30px 25px 45px 25px;
    }

    p.karuselli-text-hero mark:before {
        content: '';
        background-color: white;
        position: absolute;
        top: -7px;
        bottom: 0px;
        left: -20px;
        height: calc(100% + 13px);
        width: 20px;
    }

    .submenu {
        padding: 20px 25px;
    }

    .main-nav-menu li>a {
        font-size: 11px;
        /*padding: 25px 9px 22px 10px;*/
        padding: 25px 7px 22px 7px;
    }

    .submenu li a {
        padding: 10px 15px;
    }

    ul.menu a {
        font-size: 15px;
        line-height: 28px;
    }

    p.karuselli-text span::before {
        top: -14px;
        bottom: -13px;
    }

    p.karuselli-text-hero {
        line-height: 45pt;
        font-size: 28pt;
    }

    p.karuselli-text-hero span:before {
        top: -7px;
        height: calc(100% + 13px);
    }

    /*.main-nav-menu li > a {
		font-size: 12px;
		padding: 15px 10px 12px 5px;
	}*/

    p.karuselli-text {
        line-height: 62pt;
        font-size: 36pt;
        padding: 0px 0px 20px 0px;
    }

    .tapahtumat-single {
        width: 290px;
        height: 440px;
        margin: 25px 20px 25px 0px;
    }

    .margin-fix {
        margin-right: 0;
    }

    p.event-luelisaa a {
        padding: 10px 60px;
    }

    p.event.tapahtumat {
        font-size: 17px;
        line-height: 26px;
        padding: 0px 20px 0px 20px;
    }

    span.span-tags {
        top: 25px;
    }

    span.span-tags-bottom {
        bottom: 25px;
    }

    p.event-luelisaa-koulutukset a {
        padding: 10px 60px;
    }

    .box-overlay-green1 {
        height: 83%;
    }

    .box-overlay-green2 {
        height: 83%;
    }

    .box-overlay-green3 {
        height: 83%;
    }

    .box-overlay-blue1 {
        height: 84.5%;
    }

    .box-overlay-blue2 {
        height: 84.5%;
    }

    .box-overlay-blue3 {
        height: 84.5%;
    }

    p.event-luelisaa-koulutukset-2 a {
        padding: 10px 175px;
    }

    p.event-sijainti {
        font-size: 16px;
        line-height: 23px;
    }

    .sitemap-item {
        padding-bottom: 30px;
        width: calc(100% / 3);
    }

    /* VERKKOLEHTI */

    p.uutiset-suosituimmat a {
        font-size: 20px;
        line-height: 29px;
        word-break: break-word;
    }

    p.lehti-h2 a {
        font-size: 20px;
        font-weight: 300;
        color: #373a3c;
        line-height: 26px;
        letter-spacing: -0.2px;
    }

    p.mainos-otsikko {
        font-size: 37px;
        /*-webkit-transform: translateY(500%);
		transform: translateY(500%);*/
    }

    p.lehti-arkistolinkki a {
        font-size: 17px;
        padding: 10px 58px;
    }

    .tapahtumat-single-lehti {
        width: 293px;
        height: 325px;
        margin: 0px 30px 40px 0px;
    }

    p.nav-otsikko-lehti {
        margin: 30px 40px 35px 20px;
    }

    .mainlogo-lehti {
        max-width: 160px;
        padding: 23px 5px 23px 0;
    }
}

@media screen and (max-width: 991px) {

    /*.top-links-menu {
		display: none;
	}*/

    .frontpage-event-img {
        height: 172px;
        width: 100%;
    }

    .fader {
        opacity: 1;
        top: 0px;
    }

    h1 {
        font-size: 34px;
        line-height: 38px;
        margin: 35px 40px 25px 0px;
    }

    .conference-series-text-highlights-div {
        margin: 50px 70px 50px 0px;
    }

    .subpage-right-main-area-article {
        width: 100%;
    }

    .row.subpage-main-area-article {
        margin-top: 140px;
    }

    li.level3 a {
        font-size: 18px;
        /*color: #cde4f1;*/
    }

    ul.mobile-menu li {
        padding: 8px;
    }

    .carousel2 {
        height: auto;
        /*620px;*/
    }

    .slider-item2 {
        height: auto;
        /*620px;*/
    }

    p.karuselli-text {
        line-height: 52pt;
        font-size: 30pt;
    }

    p.karuselli-text mark {
        padding: 15px 5px 15px 0px;
    }

    /*p.karuselli-text-hero mark:before {
		top: -7px;
		left: -20px;
		height: calc(100% + 13px);
	}

	p.karuselli-text mark {
		padding: 15px 5px 15px 0px;
	}

	p.karuselli-text span::before {
		top: -8px;
		bottom: -8px;
	}*/

    p.karuselli-text-hero {
        line-height: 70pt;
        font-family: museo-sans, 'Open sans', Arial, Helvetica, sans-serif;
        font-size: 42pt;
        font-weight: 700;
        color: #000;
        margin-bottom: 30px;
        position: relative;
        /* padding: 7px 10px 0px 0px; */
        text-transform: uppercase;
        letter-spacing: 1.6px;
        text-align: left;
    }

    p.karuselli-text-hero span {
        background-color: white;
        color: black;
        display: inline;
        /* padding-left: 0px; */
        /* padding-right: 5px; */
        /*padding-top: 6px; */
        /*padding-bottom: 6px;*/
        white-space: pre-wrap;
    }


    /*  HERO ALASIVUILLA  */


    p.karuselli-text-hero2 {
        line-height: 56px;
        font-family: museo-sans, 'Open sans', Arial, Helvetica, sans-serif;
        font-size: 28pt;
        font-weight: 700;
        color: #ffffff;
        margin-bottom: 20px;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        text-align: left;
        margin-left: -20px;
    }

    p.karuselli-text-hero2 span {
        display: inline-block;
        position: relative;
        padding-left: 20px;
        overflow: hidden;
    }

    p.karuselli-text-hero2 mark {
        background-color: white;
        color: black;
        display: inline;
        position: relative;
        white-space: pre-wrap;
    }

    p.karuselli-text-hero2 span::before {
        content: "";
        position: absolute;
        width: 20px;
        background-color: #fff;
        left: 0;
        top: 0;
        bottom: 0;
    }

    /* END HERO */

    /*p.karuselli-text-hero span:before {
		content: '';
		background-color: white;
		position: absolute;
		top: -7px;
		bottom: 0px;
		left: -20px;
		height: calc(100% + 13px);
		width: 20px;
	}*/

    p.karuselli-text-hero span:before {
        content: '';
        background-color: white;
        position: absolute;
        top: -12px;
        bottom: 0px;
        left: -20px;
        height: calc(100% + 22px);
        width: 20px;
    }

    @-moz-document url-prefix() {
        p.karuselli-text-hero span {
            padding-top: 16px;
            padding-bottom: 14px;
        }
    }

    @media all and (-ms-high-contrast: none),
    (-ms-high-contrast: active) {

        /* IE10+ CSS styles go here */
        p.karuselli-text-hero span {
            padding-top: 15px;
            padding-bottom: 14px;
        }
    }

    @supports (-ms-accelerator:true) {
        /* IE Edge 12+ CSS styles go here
		p.karuselli-text-hero span {
			padding-top: 15px;
			padding-bottom: 14px;
		}*/
    }

    @media screen and (-webkit-min-device-pixel-ratio:0) {

        /* Safari and Chrome */
        p.karuselli-text-hero span {
            padding-top: 15px;
            padding-bottom: 14px;
        }

        /* Safari only override
		::i-block-chrome, p.karuselli-text-hero span {
			padding-top: 17px;
			padding-bottom: 17px;
		}*/

        p.karuselli-text-hero span:before {
            top: -10px;
            bottom: 0px;
            left: -20px;
            height: calc(100% + 18px);
            width: 20px;
        }
    }

    .slidertext {
        left: -6%;
    }

    .hero-text-area {
        padding: 100px 110px 60px 90px;
        min-height: 400px;
    }

    p.karuselli-text-hero {
        line-height: 40pt;
        font-size: 25pt;
    }

    /*
	.container.main-content {
		margin-top: 0px;
	}
	*/
    .hero-area {
        margin-top: 86px;
    }

    .news-carousel-bg {
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .slider-news-slogan {
        height: 460px;
        /*368px 320px;*/
    }

    .slider-news-text2 {
        /*height:300px;*/
        height: auto;
        min-height: 300px;
        padding: 30px 25px 33px 25px;
    }

    .slider-text-down {
        height: 5%;
        margin: 15px 0;
    }

    .row.subpage-main-area {
        margin-top: 550px !important;
    }

    .col-md-8.subpage-right-main-area {
        width: 100%;
    }

    .nav-background {
        background: #ffffff;
        background: -webkit-linear-gradient(left, #ffffff 0%, #ffffff 75%, #ffffff 0%, #ffffff 0%);
        background: linear-gradient(to right, #ffffff 0%, #ffffff 75%, #ffffff 0%, #ffffff 0%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#7496a8', GradientType=1);
    }

    .tapahtumat-single {
        width: 325px;
        height: 440px;
        margin: 25px 20px 25px 0px;
    }

    .margin-fix {
        margin-right: 0;
    }

    .news-box-respo {
        margin-right: -15px;
    }

    p.otsikko-tapahtumat {
        margin-bottom: 5px;
    }

    .box-overlay {
        height: 94%;
    }

    .box-overlay-green1 {
        height: 93%;
    }

    .box-overlay-green2 {
        height: 93%;
    }

    .box-overlay-green3 {
        height: 93%;
    }

    .box-overlay-blue1 {
        height: 94%;
    }

    .box-overlay-blue2 {
        height: 94%;
    }

    .box-overlay-blue3 {
        height: 94%;
    }

    .default-pic-events {
        min-height: 94%;
        /*width: 100%!important;
		height: auto!important;*/
    }

    p.event-sijainti {
        line-height: 25px;
    }

    p.event-luelisaa a {
        padding: 10px 80px;
    }

    p.event-luelisaa-koulutukset a {
        padding: 10px 80px;
    }

    p.event.koulutukset-2 {
        padding: 35px 20px 25px 20px;
    }

    p.event-sijainti-2 {
        padding: 0 20px 15px 20px;
    }

    p.event-luelisaa-koulutukset-2 {
        margin: 0 20px 0 20px;
    }

    p.event-luelisaa-koulutukset-2 a {
        padding: 10px 77px;
    }

    p.katsokaikki-tapahtumat {
        margin: 15px -15px 40px -15px;
    }

    /* VERKKOLEHTI */

    .container-fluid.main-content-lehti {
        margin-top: 100px;
    }

    p.nav-otsikko-lehti {
        font-size: 16px;
        line-height: 22px;
        margin: 22px 18px 35px -8px;
    }

    .left-main-area-lehti {
        padding: 0 0px 0 0;
    }

    .tapahtumat-single-lehti {
        width: 46%;
        height: 350px;
        margin: 0px 28px 30px 0px;
    }

    p.lehti-arkistolinkki {
        text-align: center;
        margin-top: 35px;
    }

    .right-main-area-lehti {
        margin: -45px 0 25px 0px;
    }

    .main-navigation {
        top: 0;
    }

    .linkkirivi-alue {
        top: 87px;
    }

    .container-fluid.bg-darkgreen.mobile-container-lehti {
        position: fixed;
        top: 87px;
        z-index: 500;
        width: 100%;
    }

    .link-lehti {
        margin-bottom: 30px;
    }

    ul.lehti-linkit li {
        display: block;
        margin: 20px 0;
    }

    ul.lehti-linkit {
        padding: 5px 15px;
        position: relative;
        top: 20px;
        left: 10%;
    }

    ul.top-links-menu.hidden-xs.bg-black {
        display: inline-block;
        background-color: #455a64;
        float: left;
    }

    input.search_keywords-lehti {
        background-color: #444444;
        float: initial;
        position: relative;
        left: 10%;
        margin: 25px 0 25px 15px;
    }

    .search_submit-lehti {
        background-color: #444444;
        position: relative;
        left: 10%;
        float: initial;
        margin: 10px 0 0px 0px;
    }

    .top-links-menu li {
        display: block;
        float: initial;
        font-size: 14px;
    }

    ul.top-links-menu {
        margin: 0 -15px;
    }

    .top-links-menu li a {
        color: #fff;
        margin-left: -8px;
    }

    .top-links-menu li {
        display: block;
        float: initial;
        padding: 13px 20px 13px 35px;
        position: relative;
        left: 6%;
    }

    .lehti-muita-margin {
        margin-right: 0px;
    }

    .footer-area-lehti {
        text-align: center;
    }

    .lehti-footer-logo {
        margin-bottom: 35px;
    }

    .footer-lehti-osoite {
        margin-bottom: 40px;
    }

    /*.slider-bg {
		min-width: 100%;
  		min-height: 100%;
	}*/

    #hero1 {
        background-attachment: scroll !important;
        /*-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;

		position: fixed;
		top: 0;
		left: 0; */

        /* Preserve aspect ratio
		min-width: 100%;
		min-height: 100%;*/
    }

    .hero-bg {
        background-attachment: scroll !important;
    }

    .link-text-area {
        margin-right: 0px;
    }

    .mainlogo-lehti {
        margin-left: 0;
    }
}

@media screen and (max-width: 767px) {

    .frontpage-event-img {
        height: initial;
        width: initial;
    }

    .carousel2 {
        margin-top: 0px;
    }

    .slider-news-slogan {
        height: 58vw;
    }

    ul.mobile-menu {
        padding: 8px 30px 0px 35px;
    }

    p.karuselli-text {
        line-height: 45pt;
        font-size: 26pt;
        padding: 0;
    }

    table td {
        width: 100%;
        float: left;
        margin-bottom: 5px;
    }

    .row.subpage-main-area-article {
        margin-top: 130px;
    }

    .padding-sides {
        padding: 0px 50px;
    }

    .container.main-content {
        margin-top: 0px;
    }

    .main-navigation {
        top: 0px;
    }

    .hero-area {
        margin-top: 85px;
    }

    p.karuselli-text-hero mark:before {
        top: -6px;
        left: -20px;
        height: calc(100% + 13px);
    }

    p.footer-name {
        margin-right: 0px;
        margin-left: 0px;
    }

    .hero-text-area {
        padding: 100px 20px 50px 20px;
    }

    p.news-carousel-headline a {
        font-size: 18px;
        line-height: 25px;
    }

    p.news-carousel-text {
        line-height: 25px;
        letter-spacing: 1px;
    }

    .tapahtumat-single {
        width: 100%;
        height: auto;
        margin: 25px 0px 25px 0px;
    }

    p.event-luelisaa {
        margin: 10px 20px 30px 20px;
    }

    p.event.koulutukset {
        padding: 25px 20px 5px 20px;
    }

    p.event-luelisaa-koulutukset {
        margin: 10px 20px 30px 20px;
    }

    p.event.tapahtumat {
        font-size: 17px;
        line-height: 26px;
        padding: 20px 20px 0px 20px;
    }

    img.relative.greyscale {
        width: 100%;
    }

    .box-overlay {
        height: 100%;
    }

    .box-overlay-green1 {
        height: 100%;
    }

    .box-overlay-green2 {
        height: 100%;
    }

    .box-overlay-green3 {
        height: 100%;
    }

    .box-overlay-blue1 {
        height: 100%;
    }

    .box-overlay-blue2 {
        height: 100%;
    }

    .box-overlay-blue3 {
        height: 100%;
    }

    span.span-tags {
        top: 35px;
    }

    span.span-tags-bottom {
        bottom: 35px;
    }

    p.link-text-otsikko {
        font-size: 38px;
        line-height: 52px;
        text-align: center;
        padding: 70px 20px 20px 0px;
        /* muutos respoon 12.6. */
    }

    p.link-text-register {
        font-size: 16px;
        line-height: 30px;
        padding: 6px 30px;
    }

    .sitemap-item a {
        font-size: 11px;
        word-break: break-word;
    }

    .footer-area {
        text-align: center;
        margin-bottom: 180px;
    }

    .footer-logo {
        margin-bottom: 35px;
    }

    p.footer-name {
        margin-bottom: 35px;
    }

    /* VERKKOLEHTI */

    .padding-verkkolehti {
        padding: 0 15px;
    }

    .left-main-area-lehti {
        padding-right: 15px;
        padding-left: 15px;
    }

    .alauutinen-vasen {
        height: 59vw;
        /*260px;*/
        margin-bottom: 0px;
    }

    .alauutinen-oikea {
        height: auto;
        /*225px;*/
    }

    .left-main-area-lehti {
        margin: 25px 0px -45px 0;
    }

    p.lehti-arkistolinkki {
        text-align: center;
        margin-top: 30px;
    }

    .linkkirivi-alue {
        top: 87px;
    }

    .top-links-menu li {
        padding: 13px 20px 13px 25px;
    }

    .right-main-area-lehti {
        margin: 25px 0 25px 0px;
    }

    p.suosituimmat-otsikko {
        font-size: 22px;
        margin-bottom: 35px;
        text-align: center;
    }

    .tapahtumat-single-lehti {
        width: 100%;
        height: auto;
        margin: 0px 0px 35px 0px;
        padding: 0 120px;
        text-align: center;
    }

    .verkkolehti-muut-uutiset {
        margin: 30px 15px 0 15px;
        padding: 35px 0px 0 0;
    }

    img.tapahtuma-list-pic {
        width: 100%;
        max-height: initial;
    }

    p.archive-date {
        margin: 0px 20px 30px 0px;
    }

    .pagination span a {
        line-height: 50px;
    }

}

@media screen and (max-width: 500px) {

    h1 {
        font-size: 24px;
        line-height: 33px;
        margin: 30px 0px 20px 0px;
    }

    h2 {
        font-size: 22px;
        line-height: 32px;
        margin: 30px 10px 25px 10px;
    }

    h3 {
        font-size: 18px;
        line-height: 26px;
    }

    h4 {
        font-size: 16px;
        line-height: 21px;
    }

    p {
        font-size: 16px;
        /*margin: 0px 10px 0px 10px;*/
        word-wrap: break-word;
    }

    img {
        max-width: 100%;
        /* width:100% */
    }

    #myBtn {
        width: 77px;
        height: 77px;
    }

    .row.subpage-main-area-article {
        margin-top: 85px;
        margin-left: -15px;
        margin-right: -15px;
    }

    ul.mobile-menu {
        padding: 15px 20px 0px 18px;
    }

    .col-md-8.subpage-right-main-area {
        /*margin-top: -175px;*/
        margin-top: 0;
    }

    .col-lg-8.col-md-8.col-sm-12.col-xs-12.subpage-right-main-area img {
        width: 100%;
        margin-bottom: 15px;
    }

    p.karuselli-text span::before {
        top: -5px;
        bottom: -4px;
    }

    .hero-text-area {
        /*padding: 60px 20px 50px 20px;*/
    }

    .inner {
        min-height: 600px;
    }

    .carousel {
        height: 600px;
    }

    .slider-item {
        height: 600px;
    }

    .box-overlay-carousel {
        background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 7%, rgba(255, 255, 255, 1) 100%);
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 7%, rgba(255, 255, 255, 1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#ffffff', GradientType=0);
    }

    p.karuselli-text mark:before {
        left: -10px;
        width: 10px;
    }

    .carousel2 {
        /*height: 660px;*/
        margin-left: -30px;
        margin-right: -30px;
        width: auto;
    }

    /*
	.slider-item2 {
		height: 660px;
	}
	*/
    .slider-text-up {
        height: 79%;
    }

    .slider-text-down {
        height: 25%;
    }

    .slider-news-text2 {
        /*height: 430px;
		padding: 80px 10px 20px 10px;*/
        min-height: 350px;
        padding: 30px 10px 20px 10px;
        text-align: center;
    }

    .slider-news-slogan {
        /*height: 230px;*/
        height: 65vw;
    }

    p.news-carousel-headline a {
        font-size: 16px;
        line-height: 22px;
        letter-spacing: 1.1px;
    }

    p.news-carousel-text {
        line-height: 23px;
        letter-spacing: 1px;
        font-size: 14px;
    }

    p.news-carousel-slogan {
        font-size: 14px;
        padding: 10px 10px;
        top: 50%;
        /*margin: 85px 20px 20px 20px;*/
        line-height: 24px;
        letter-spacing: 1px;
    }

    p.news-carousel-slogan.author-adjust {
        font-weight: 600;
        margin-top: -10px;
        padding-top: 0;
    }

    .author-adjust {
        font-size: 14px;
        padding: 0px 20px 0px 20px;
        margin-top: -14px;
    }

    .padding-sides {
        padding: 0px 5px;
    }

    p.karuselli-text {
        line-height: 40px;
        font-size: 19pt;
        padding: 0px;
        letter-spacing: 1px;
        /* text-align: center; */
        /* background-color: black; */
    }

    p.hero-ingressi {
        font-size: 15px;
        line-height: 22px;
        padding: 5px 10px;
        margin-left: -11px;
        margin-bottom: 15px;
    }

    p.karuselli-text mark {
        padding: 10px 6px 10px 0px;
    }

    p.karuselli-text-hero {
        line-height: 25pt;
        font-size: 14pt;
        /* padding: 15px 15px 15px 20px; */
        margin-bottom: 15px;
    }

    p.karuselli-text-hero span:before {
        top: -2px;
        bottom: 0px;
        left: -10px;
        height: calc(100% + 4px);
        width: 10px;
    }

    /*p.karuselli-text-hero mark:before {
		top: -2px;
		left: -10px;
		height: calc(100% + 4px);
		width: 10px;
	}*/

    p.karuselli-text2 {
        font-size: 16px;
        line-height: 20pt;
        letter-spacing: 1px;
        padding: 6px 21px;
    }

    .text2-adjust {
        margin-left: -10px;
    }

    ul.mobile-menu a {
        font-size: 15px;
    }

    ul.mobile-menu li {
        padding: 15px 0 13px 0px;
    }

    li.level3 a {
        font-size: 16px;
    }

    .mainlogo-mobile img {
        width: 20% !important;
        /*45%*/
        margin: 20px 10px 18px 33px;
    }

    .mainlogo-mobile.mobile-width img {
        width: 20%;
    }

    p.otsikko-tapahtumat {
        margin-bottom: 5px;
        text-align: center;
        margin-top: 30px;
    }

    .tapahtumat-area {
        margin-right: -30px;
        margin-left: -30px;
    }

    .tapahtumat-area-news {
        margin-right: 0px;
        margin-left: 0px;
    }

    p.event.koulutukset {
        text-align: center;
        /*margin-top: 20px;*/
    }

    p.event-luelisaa a {
        padding: 10px 55px;
    }

    p.event-sijainti {
        line-height: 25px;
        text-align: center;
        margin: 10px 0;
    }

    p.event.tapahtumat {
        font-size: 16px;
        line-height: 22px;
        padding: 25px 20px 0px 20px;
        text-align: center;
    }

    p.event-luelisaa-koulutukset a {
        padding: 10px 55px;
    }

    .col-md-8.subpage-right-main-area {
        padding: 20px 10px 20px 10px;
        margin-bottom: 40px;
    }

    p.katsokaikki-tapahtumat {
        margin: 5px -45px 35px -45px;
    }

    .link-text-area {
        margin-right: 0px;
        padding: 60px 0px 70px 0px;
    }

    p.link-text-otsikko mark {
        padding-left: 10px;
        padding-right: 10px;
    }

    p.link-text-otsikko {
        font-size: 26px;
        line-height: 45px;
        text-align: center;
        padding: 15px 0px 17px 0px;
    }

    p.link-text-register {
        font-size: 14px;
        line-height: 30px;
        padding: 6px 13px;
        margin-left: 20px;
        margin-right: 0px;
        text-align: center;
    }

    .sitemap-item {
        padding-left: 10px;
        padding-right: 20px;
        float: initial;
        text-align: center;
        width: calc(100% / 1);
    }

    .sitemap-level2 {
        display: none;
    }

    .subpage-right-main-area-article {
        padding: 30px 15px 30px 15px;
        margin-bottom: 0px;
    }

    .footer-logo {
        margin-bottom: 35px;
        text-align: center;
    }

    .footer-area {
        margin-bottom: 230px;
    }

    .hasSubItems i {
        right: -5px;
        top: 5px;
        width: 30px;
    }

    .level2.hasSubItems i {
        margin-right: -15px;
        font-size: 16px;
    }

    .formTextinput {
        width: 245px;
    }

    .formEmailinput {
        width: 245px;
    }

    .formSelect {
        width: 245px;
    }

    p.guide-text {
        margin: 8px 0;
    }

    button.clearbtn {
        margin-left: 70px;
    }

    @media screen and (-webkit-min-device-pixel-ratio:0) {

        /* Safari and Chrome */
        p.karuselli-text-hero span {
            padding-top: 6px;
            padding-bottom: 6px;
        }

        /* Safari only override
		::i-block-chrome, p.karuselli-text mark {
			padding: 25px 5px 25px 0px;
		}*/
    }

    /* VERKKOLEHTI */

    .tapahtumat-single-lehti {
        padding: 0 15px;
    }

    p.lehti-h1 a {
        font-size: 24px;
        line-height: 33px;
    }

    /*
	.alauutinen-vasen {
		height: 200px;
	}
	*/
    .left-main-area-lehti {
        padding: 0;
    }

    .top-links-menu li {
        padding: 13px 20px 13px 10px;
    }

    .padding-verkkolehti {
        padding: 0;
    }

    /*
	.lehti-paauutinen-kuva {
		height:200px;
	}
	*/
    .alauutinen-oikea {
        height: auto;
        /*280px;*/
        text-align: center;
    }

    .lehti-teksti-alue {
        text-align: center;
    }

    p.lehti-h2 a {
        font-size: 22px;
        line-height: 30px;
    }

    p.lehti-date {
        font-size: 18px;
        line-height: 24px;
        margin: 8px 10px;
    }

    p.uutiset-suosituimmat a {
        font-size: 18px;
        line-height: 28px;
    }

    p.lehti-arkistolinkki a {
        font-size: 17px;
        padding: 10px 28px;
    }

    .right-main-area-lehti {
        padding: 35px 20px;
        text-align: center;
    }

    img.kuvaoikealle {
        padding: 15px;
        margin-top: 0px;
    }

    img.kuvavasemmalle {
        padding: 15px;
        margin-top: 0px;
    }

    p.karuselli-text-hero2 {
        line-height: 46px;
        font-size: 16pt;
        margin-left: -20px;
        margin-bottom: 10px;
    }

    p.karuselli-text-hero2 span::before {
        width: 10px;
        left: 10px;
    }

    .col-md-4.col-sm-6.col-xs-12.tapahtumat-area {
        width: 96.2vw;
    }

    p.archive-headline {
        font-size: 30px;
    }

    .row.subpage-main-area {
        margin-top: 480px !important;
    }



}

/* Video */

.VideoEmbed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.VideoEmbed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Carousel and social media frame*/

.row.margin-desktop {
    margin-top: 180px;
}

.margin-top-mobile.social-media-scroll {
    overflow-y: scroll;
    max-height: 786px;
}


@media screen and (max-width: 1200px) {

    .row.margin-desktop.margin-mobile {
        margin-bottom: 140px;
    }

}

@media screen and (max-width: 767px) {

    .row.margin-desktop.margin-mobile {
        margin-top: 80px;
        margin-bottom: 10px;
    }
}

/* Counter styles */
h2.h2-counter {
    font-family: museo-sans, 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 30px;
    text-transform: uppercase;
    color: #00dd33;
    line-height: 35px;
    margin: 50px 30px 20px 30px;
}

h3.h3-counter {
    font-family: museo-sans, 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 22px;
    color: #00dd33;
    line-height: 30px;
    margin: 20px 30px 20px 30px;
}

p.counter-headline {
    font-size: 30px;
    line-height: 36px;
    font-weight: 300;
    letter-spacing: 1.3px;
    color: #00dd33;
    text-transform: uppercase;
    margin: 50px 30px 50px 30px;
    text-align: center;
}

.counter-text {
    font-size: 16px;
}

.p-20-10 {
    padding: 20px 10px;
}

@media screen and (max-width: 991px) {
    h2.h2-counter {
        font-size: 28px;
        line-height: 30px;
        margin: 60px 0px 35px 0px;
    }
}

@media screen and (max-width: 767px) {
    h2.h2-counter {
        font-size: 26px;
        line-height: 30px;
        margin: 40px 20px 25px 20px;
    }

    .margin-sign-up {
        padding-bottom: 60px;
    }
}

@media screen and (max-width: 500px) {
    h2.h2-conference {
        font-size: 22px;
        line-height: 30px;
        margin: 35px 10px 25px 10px;
        text-align: center;
    }

    p.counter-headline {
        font-size: 22px;
        line-height: 30px;
        margin: 40px 0 40px 0;
    }

    .margin-sign-up {
        padding-bottom: 30px;
    }

    .counter-text {
        font-size: 12px;
    }

    .p-20-10 {
        padding: 20px 5px;
    }
}

/*Footer seuraa meita*/
.social-media {
    padding: 70px 0 0 0;
    color: #ffffff;
}

.social-media h3 {
    color: #ffffff;
    margin-bottom: 30px;
}

.footer-some-icons a {
    font-size: 20px;
    padding: 10px;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 50%;
    line-height: 20px;
    display: inline-block;
    margin: 8px;
    transition: all 0.3s ease;
}

.footer-some-icons a i {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.footer-some-icons a:hover {
    background-color: #ffffff;
    color: #263238;
    border: 1px solid #fff;
}

.ml-45 {
    margin-left: 45px;
}

.mt-45 {
    margin-top: 45px;
}

@media screen and (max-width: 420px) {

    .ml-45 {
        margin-left: 0px;
    }

    .mt-45 {
        margin-top: 0px;
    }

}