/*
Theme Name: Outwardbound
Description: Theme for Outwardbound (Twenty Seventeen child theme)
Template:     twentyseventeen
Text Domain: twentyseventeen-child

Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/



/*--------------------------------------------------------------
	 FONTIT
--------------------------------------------------------------*/

font-family: 'Open Sans', sans-serif;

font-family: 'Amatic SC', cursive;

body,
button,
input,
select,
textarea {
	margin: 0 0 1.5em;
    padding: 0;
    font-family: Open Sans;
    font-size: 15px;
    color: #4A4A4A;
    line-height: 25px;
}
@media screen and (min-width: 48em) {
	body,
button,
input,
select,
textarea {
	margin: 0 0 1.5em;
    padding: 0;
    font-family: Open Sans;
    font-size: 15px;
    color: #4A4A4A;
    line-height: 25px;
}
}
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	line-height: 1.4;
	margin: 0 0 0.75em;
	padding: 0;
}
h1 {
	/*font-family: Amatic-Bold;*/
	font-family: 'Amatic SC';
	font-weight: bold;
	font-size: 48px;
	color: #FF9C00;
	letter-spacing: 3.1px;
}
h2,
 {
 	font-family: Open Sans;
 	font-size: 24px;
 	color: #366CB4;
 	font-weight: bold;
 	letter-spacing: normal;
}
h3 {
	font-family: Open Sans;
	font-weight: bold;
	font-size: 18px;
	color: #366CB4;
	letter-spacing: normal;
}
h4 {
	font-family: Open Sans;
	color: #333;
	font-size: 16px;
	font-size: 1rem;
	font-weight: 800;
}
h5 {
	font-family: Open Sans;
	color: #767676;
	font-size: 13px;
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}
h6 {
	font-family: Open Sans;
	color: #333;
	font-size: 15px;
	font-size: 0.9375rem;
	font-weight: 800;
}
p {
	margin: 0 0 10px;
	padding: 0;
	font-family: Open Sans;
	font-size: 15px;
	color: #4A4A4A;
	line-height: 25px;
}
h2, .home.blog .entry-title {
	font-family: Open Sans;
    font-weight: bold;
    font-size: 24px;
    color: #366CB4;
    letter-spacing: normal;
}
.entry-title a {
    color: #767676;
}
.entry-title a:hover {
    color: #767676;

}
.entry-meta {
	font-size: 9px;
}

body {
	margin-bottom: 0;
	overflow-x:hidden;
}

ul {
	padding-left: 50px;
}



.alasivu-content a,
.entry-content a {
	color: #3363a2;
}

/*--------------------------------------------------------------
	 HEADER SLIDER + OTSIKKO, KUVAUS
--------------------------------------------------------------*/

.site-header {
	background: #fff;
}
#headertext {
	position: absolute;    
    height: auto;
    text-align: center;    
    width: 100%;
    top: 0;
    margin-top: 20%;
    color: #fff;
	}
#headertext p {
	margin: auto;
	position: relative;
}
.has-header-image.twentyseventeen-front-page .custom-header, 
.has-header-video.twentyseventeen-front-page .custom-header, 
.has-header-image.home.blog .custom-header, .has-header-video.home.blog .custom-header {

	height: auto;
}
#headertext h1 {
	font-family: 'Open Sans';
	font-weight: bold;
	color: #FFFFFF;
	letter-spacing: 0;
	line-height: 58px;
	text-shadow: 2px 1px 3px rgb(0, 0, 0);
}
#headertext p {
	font-family: 'Open Sans';
	color: #FFFFFF;
	line-height: 28px;
	text-shadow: 2px 1px 2px rgb(0, 0, 0);
}
@media screen and (min-width: 48em) {
#headertext h1 {
	font-size: 48px;
}
#headertext p {
	font-size: 18px;
	max-width: 600px;
}
}
.background-fixed .panel-image {
	background-attachment: scroll;
}
.has-header-image .custom-header-media img, 
.has-header-video .custom-header-media video, 
.has-header-video .custom-header-media iframe {
	position: relative;
}
#navi-container {
	width: 100%;
	position: relative;
	background: #fff;
	text-align: center;
}
#navi-logo img {
	height: 45px;
	}
@media screen and (min-width: 48em) {
.navigation-top {
	position: relative;
	margin: auto;
	max-width: 1200px;
	text-align: center;
}
.main-navigation > div > ul {
	padding-top: 20px;
	padding-bottom: 10px;
}
.main-navigation a {
    padding: 1em 1.0em;
}
}
@media screen and (max-width: 1299px) {
#navi-logo p {
	margin-bottom: 0;
}
#navi-logo {
	padding-top: 15px;
	padding-bottom: 10px;
}
}
@media screen and (min-width: 1300px) {
.navigation-top {
	display: inline-flex;
	max-width: 1490px;
}
#navi-logo {
	padding-right: 60px;
	padding-top: 20px;
}
}
.main-navigation ul {
	text-align: center;
	font-family: 'Open Sans';
	font-weight: 900;
	font-size: 13px;
	letter-spacing: 2.5px;
}
.main-navigation ul li a {
	 color: #366CB4;
	 text-transform: uppercase;
}
.main-navigation ul li a:hover {
	color: #254d82;
	text-shadow: 1px 1px #D8E5F7;
}
.navigation-top {
	border-style: none;
}
.navigation-top .current-menu-item > a, .navigation-top .current_page_item > a {
	color: #366CB4;
	padding-bottom: 5px;
	border-bottom: 2px solid #FF9C00;
}
.main-navigation li li.focus > a,
	.main-navigation li li:focus > a,
	.main-navigation li li:hover > a,
	.main-navigation li li a:hover,
	.main-navigation li li a:focus,
	.main-navigation li li.current_page_item a:hover,
	.main-navigation li li.current-menu-item a:hover,
	.main-navigation li li.current_page_item a:focus,
	.main-navigation li li.current-menu-item a:focus {
	color: #254d82;
	text-shadow: 1px 1px #D8E5F7;
	}
ul.sub-menu li a {
	font-family: Open Sans;
	font-size: 12px;
	color: #366CB4;
	letter-spacing: 0;
}
.main-navigation a:hover {
	background: #fff;
}
.main-navigation li li:hover,
.main-navigation li li.focus {
	background: #fff;
	}
.main-navigation ul ul {
	border: 1px solid #F1F1F1;
	border-top-style: none;
}

#texture-bottom {
	max-width: 965px;
	position: relative;
	margin: auto;
}
#texture-bottom img {
	position: absolute;
    bottom: 0;
}
#etusivu-slider {
		background: #fff;
	}
#alasivu-slider {
	position: relative;
}
@media screen and (min-width: 1200px) and (min-device-aspect-ratio:16/9) {
	#etusivu-slider {
		height: 90vh;
	}
}


/*--------------------------------------------------------------
	 HEADER HAKU-,KIELI- JA SIVUPALKIT (ETUSIVU)
--------------------------------------------------------------*/

#header-sivupalkki { /* Ilmoittaudu kurssille */
	background: #fff;
	height: 42%;
	width: 20%;
	position: absolute;
	right: 0;
	bottom: 0;
	padding-bottom: 80px;
}
#header-tulevat-kurssit {
	padding-left: 25px;
	padding-top: 15px;
}
#header-tulevat-kurssit h3 {
	font-family: Open Sans;
	font-size: 18px;
	color: #000000;
	line-height: 44px;
	font-weight: bold;
	margin-bottom: 0px;
}
#header-tulevat-kurssit p {
	font-family: Open Sans;
	font-size: 16px;
	color: #000000;
	line-height: 25px;
	font-weight: bold;
	margin-bottom: 0px;
}
#header-tulevat-kurssit a {
	text-decoration: underline;
	font-family: Open Sans;
	font-size: 16px;
	margin-bottom: 0px;
	font-weight: normal;
}
#header-tulevat-kurssit h4 {
	font-family: Open Sans;
    line-height: 22px;
    margin-bottom: 13px;
    padding-top: 15px;
    color: #666;
    font-size: 16px;
    font-weight: normal;
}
#etusivu-kielipalkki { /* kielinappulat, haku ja someikonit */
	width: 25%;
	background: #366AB3;
	position: absolute;
	right: 0;
    height: 85px;
    top: 0;
    overflow: hidden;
}
#header-some-etusivu {
	width: 45%;
	float: left;
	margin-top: 23px;
	margin-left: 10px;
}
#header-some-etusivu img {
	margin-left: 10px;
}
#header-haku-etusivu {
	width: 45%;
	float: left;
	margin-top: 17px;
}
@media screen and (max-width: 1635px) {
#header-some-etusivu img {
	width: 30px;
	height: 26px;
	}
#header-haku-etusivu {
	padding-left: 10px;
	}
}
@media screen and (max-width: 1360px) {
#header-some-etusivu img {
	margin-left: 4px;
}
}

@media screen and (max-width: 1180px) {
#header-sivupalkki {
	display: none;
	}
}
@media screen and (max-width: 1140px) {
#header-some-etusivu img {
	width: 25px;
	height: 21px;
}
}
@media screen and (max-width: 1000px) {
#etusivu-kielipalkki {
	display: none;
	}
#header-some-etusivu {
	display: none;
	}
#header-haku-etusivu {
	display: none;
}
}
@media screen and (min-width: 2000px) {
	#header-sivupalkki {
		height: 32%;
}
}
@media screen and (max-width: 1850px) {
	#header-sivupalkki {
		height: 45%;
}
}
@media screen and (max-width: 1550px) {
	#header-sivupalkki {
		height: 53%;
}
}
@media screen and (max-width: 1300px) {
	#header-sivupalkki {
		height: 60%;
}
}
@media screen and (max-width: 1100px) {
	#header-sivupalkki {
		height: 80%;
}
}
#etusivu-kuvalogo { /* kuva sliderin vasemmassa yläreunassa */
	position: absolute;
	top: 3vh;
	left: 8vh;
}
@media screen and (max-width: 1400px) {
	#etusivu-kuvalogo {
	top: 2vh;
	left: 4vh;
}
}
@media screen and (max-width: 1000px) {
	#etusivu-kuvalogo {
	top: 1vh;
	left: 1vh;
}
}
@media screen and (max-width: 768px) {
	#etusivu-kuvalogo {
	display: none;
}
}

/*--------------------------------------------------------------
	 SISÄLTÖ (ETUSIVU)
--------------------------------------------------------------*/

.panel-content .etusivu-wrap {
		padding-top: 10px;
		padding-bottom: 20px;
	}
#etusivu-nostot {
	background-image: url(/wp-content/uploads/2017/09/texture2.png);
	background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    border-top: 2px solid #F1F1F1;
}
#nosto-otsikko-etusivu h2 {
	font-family: 'Amatic SC';
    font-size: 40px;
    color: #FF9C00;
    letter-spacing: 3.1px;
    font-weight: bold;
    padding-top: 30px;
}
#etusivu-esittely {
	width: 100%;
	position: relative;
}
.texture-top {
	max-width: 960px;
	margin: auto;
}
.texture-top img {
	position: absolute;
	top: 0;
}
.etusivu-wrap {
	width: 100%;
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}
#etusivu-nostot {  /* pallot */
	min-height: 500px;
	height: auto;
	padding-bottom: 20px;
	padding-left: 20px;
	padding-right: 20px;
	margin-bottom: 20px;
	overflow: hidden;
}
.circle-img img { 
	width: 270px;
	height: 270px;
	border-radius: 50%;
	-webkit-filter: drop-shadow(0px 0px 5px rgba(0,0,0,0.3)); /* Safari */
 	filter: drop-shadow(0px 0px 5px rgba(0,0,0,0.3));
 	opacity: 1.0;
    filter:alpha(opacity=100);
    transition: opacity 0.5s;
  -webkit-transition: opacity 0.5s;
}
.circle-img img:hover { /* pallot */
	opacity: 0.5;
    filter:alpha(opacity=40);
    transition: opacity 0.5s;
  -webkit-transition: opacity 0.5s;
}
.nosto-kuva h3 {
	font-family: Open Sans;
	font-size: 18px;
	color: #366CB4;
	letter-spacing: 3.96px;
	font-weight: bold;
	padding-top: 0;
}
.nosto-kuva p {
	font-family: Open Sans;
	font-size: 18px;
	color: #366CB4;
	line-height: 30px;
}
.nosto-kuva a {
	font-family: Open Sans;
	font-size: 18px;
	color: #366CB4;
	line-height: 30px;
}
@media screen and (max-width: 1500px ) {

.circle-img img { /* pallot */
	width: 200px;
	height: 200px;
}
}
@media screen and (max-width: 991px ) {
.circle-img img { /* pallot */
	width: 300px;
	height: 300px;
}
.nosto-kuva {
	padding-bottom: 30px;
}
}
@media screen and (max-width: 991px ) and (min-width: 701px) {
.limit-text p {
	max-width: 70%;
	margin: auto;
}
}
@media screen and (max-width: 700px ) and (min-width: 500px) {
.limit-text p {
	max-width: 90%;
	margin: auto;
}
}
@media screen and (max-width: 380px){
.circle-img img { /* pallot */
	width: 250px;
	height: 250px;
}
}
@media screen and (min-width: 2000px ) {
.circle-img img { /* pallot */
	width: 400px;
	height: 400px;
}
}
.section_1 {
	color: #fff;
	background: #366CB4;
}
.esittely-teksti { /* yrityksen esittely */
	vertical-align: middle;
	padding-left: 50px;
	padding-top: 70px;
	padding-right: 50px;
}
.esittely-kuva {
	padding-left: 0;
	padding-right: 0;
}
.esittely-kuva p {
	margin: 0;
}
.esittely-kuva img {
	display: block;
	object-fit: contain;
    width: 100%;
} 
.esittely-teksti p { 
	font-family: 'Open Sans';
	font-size: 15px;
	color: #FFFFFF;
	line-height: 25px;
}
.esittely-teksti h2 {
	/*font-family: Amatic-Bold;*/
	font-family: 'Amatic SC';
	font-size: 40px;
	color: #FF9C00;
	letter-spacing: 3.1px;
	font-weight: bold;
}
@media screen and (max-width: 1700px) {
.esittely-teksti {
	padding-top: 50px;
	}
.esittely-teksti h2 {
	margin-bottom: 15px;
	}
}
@media screen and (max-width: 1460px) {
.esittely-teksti p {
	line-height: 25px;
	font-size: 14px;
	}
.esittely-teksti h2 {
	margin-bottom: 10px;
	}
}
@media screen and (max-width: 1300px) {
.esittely-teksti h2 {
	margin-bottom: 5px;
	}
}
@media screen and (max-width: 1190px) {
.esittely-kuva {
	width: 100%;
	float: none;
	background: #366CB4;
	display: block;
}
.esittely-teksti {
	width: 100%;
	float: none;
	background: #366CB4;
	display: block;
	padding-top: 40px;
	padding-bottom: 40px;
}
.esittely-teksti p {
	font-size: 15px;
}
}
#etusivu-some { /* some nostot */
	background-image: url(/wp-content/uploads/2017/09/content-bg.png);
	background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
}
#etusivu-some h1 {
	padding-top: 55px;
	letter-spacing: 2px;
	font-family: Open Sans;
    font-weight: bold;
    font-size: 24px;
    color: #366CB4;
}
#etusivu-some h2 {
	padding-top: 55px;
	letter-spacing: 2px;
	font-family: Open Sans;
    font-weight: bold;
    font-size: 24px;
    color: #366CB4;
}
#some-feed {
	height: auto;	
	width: 100%;
}



/*--------------------------------------------------------------
	 SISÄLTÖ (ALASIVUT)
--------------------------------------------------------------*/
.alasivu-background {
	background-image: url(/wp-content/uploads/2017/09/texture1.png);
	background-size: contain;
}
.alasivu-wrap {
	padding-bottom: 50px;
}
@media screen and (min-width: 48em) {
	.alasivu-wrap {
	max-width: 1300px
}
}
.page .panel-content .entry-title, .page-title, 
body.page:not(.twentyseventeen-front-page) .entry-title {
	font-family: 'Amatic SC';
	font-weight: bold;
	font-size: 48px;
	color: #FF9C00;
	letter-spacing: 3.1px;
	text-align: center;
}
.alasivu-content {
	width: 100%;
	color: #4A4A4A;
}
.alasivu-navi {
	padding-bottom: 5px;
    padding-top: 5px;
    display: block;
}
#alasivu-navilogo {
	position: absolute;
	padding-top: 20px;
	padding-left: 10px;
}
#alasivu-navilogo img {
	height: 45px;
	position: relative;
	z-index: 10;
}
@media screen and (max-width: 1420px) {
#alasivu-navilogo {
	position: relative;
	max-width: 197px;
	margin: auto;
}
#alasivu-navilogo p {
	margin-bottom: 0;
}
}
@media screen and (min-width: 1550px) {
	#alasivu-navilogo {
		left: 5vh;
	}
}
@media screen and (min-width: 1750px) {
	#alasivu-navilogo {
		left: 10vh;
	}
}
@media screen and (min-width: 1900px) {
	#alasivu-navilogo {
		left: 15vh;
	}
}
@media screen and (min-width: 2100px) {
	#alasivu-navilogo {
		left: 20vh;
	}
}
@media screen and (min-width: 2300px) {
	#alasivu-navilogo {
		left: 28vh;
	}
}
@media screen and (min-width: 2500px) {
	#alasivu-navilogo {
		left: 35vh;
	}
}
.alasivu-navi {
    position: relative;
    margin: auto;
    max-width: 1010px;
    text-align: center;
}
.alasivu-navi ul#top-menu {
	padding-bottom: 0;
}
.slider-otsikko {
	position: absolute;
	top: 50%;  /* position the top  edge of the element at the middle of the parent */
    left: 50%; /* position the left edge of the element at the middle of the parent */
    transform: translate(-50%, -50%);
    text-align: center;
}
.slider-otsikko h2 {
	font-family: Open Sans;
	font-weight: bold;
	font-size: 40px;
	color: #FFFFFF;
	letter-spacing: 0;
	line-height: 58px;
	text-shadow: 0 2px 4px rgba(0,0,0,0.50);
	text-align: center;
}
@media screen and (min-width: 1400px) {
	.slider-otsikko {
		width: 70%;
	}
}
@media screen and (max-width: 1399px) {
	.slider-otsikko {
		width: 80%;
	}
}
@media screen and (max-width: 1100px) {
	.slider-otsikko {
		width: 95%;
	}
	.slider-otsikko h2 {
		font-size: 30px;
	}
}
@media screen and (max-width: 800px) {
	.slider-otsikko h2 {
		font-size: 20px;
		line-height: 38px;
	}
}
@media screen and (max-width: 520px) {
	.slider-otsikko h2 {
		font-size: 12px;
		line-height: 28px;
	}
}

.asiantuntijat ul {
	list-style: none;
	padding: 0;
}
.asiantuntijat ul li {
	display: inline-block;
	width: 210px;
	border-right: 2px solid #254d82;
	text-align: center;
	margin: 10px 0 10px 10px;
	padding-right: 10px;
}
.asiantuntijat ul li:last-of-type {
	border: none;
}
.asiantuntijat ul li a {
	color: #254d82;
	font-weight: bold;
}

@media screen and (max-width: 767px) {
	.asiantuntijat ul li {
		width: 180px;
	}
}

/*--------------------------------------------------------------
	 KIELI/HAKUPALKKI (ALASIVUT)
--------------------------------------------------------------*/

#header-kielipalkki {
	background: #366AB3;
	position: absolute;
	right: 0;
    width: 400px;
    height: 96px;
    top: 0;
    overflow: hidden;
}

#header-some {
	width: 60%;
	float: left;
	margin-top: 26px;
	margin-left: 10px;
}

#header-some img {
	margin-left: 10px;
}

#header-haku {
	width: 25%;
	float: left;
	margin-top: 17px;
}

.kielivalikko {
	position: absolute;
	top: 0;
	right: 20px;
}
.kielivalinta ul li {
	display: inline-block;
	padding-left: 1px;
	padding-right: 1px;
}

@media screen and (max-width: 1940px) {
	#header-some img {
		margin-left:5px;
	}
}




@media screen and (max-width: 1899px) {
	#header-kielipalkki {
		 width: 300px;
	}

	#header-some img {
		width: 25px;
		height: 20px;
}
}
@media screen and (max-width: 1600px) {
	#header-kielipalkki {
		 width: 250px;
		}
		#header-some img {
		width: 25px;
		height: 22px;
		}
		#header-some {
		width: 90%;
    	margin-left: 10px;
    	margin-top: 25px;
    	float: none;
    	display: block;
		}

		#header-some p {
			margin: 0;
		}

		#header-haku {
		width: 85%;
		margin-left: 20px;
		margin-top: 0;
    	float: none;
		display: block;
		}

		#header-haku .haku-palkki .search-form label {
			margin-bottom: 0;
		}

}
@media screen and (max-width: 1500px) {
	#header-kielipalkki {
		 width: 200px;
	}
}
@media screen and (max-width: 1420px) {
	#header-kielipalkki {
		 width: 140px;
		 height: 162px;
	}
	#header-some {
		margin-top: 35px;
	}
	#header-haku {
		margin-top: 20px;
	}
	.kielivalikko {
		right: 10px;
	}


}
@media screen and (max-width: 1280px) {
	#header-kielipalkki {
		display: none;
	}
	#header-haku {
			display: none;
	}

	#header-some {
			display: none;
	}
}

.kielipalkki-tyylit input[type="placeholder"], .kielipalkki-tyylit input[type="text"], .kielipalkki-tyylit input[type="email"], .kielipalkki-tyylit input[type="url"], 
.kielipalkki-tyylit input[type="password"], .kielipalkki-tyylit input[type="search"], .kielipalkki-tyylit input[type="number"], 
.kielipalkki-tyylit input[type="tel"], .kielipalkki-tyylit input[type="range"], .kielipalkki-tyylit input[type="date"], 
.kielipalkki-tyylit input[type="month"], .kielipalkki-tyylit input[type="week"], .kielipalkki-tyylit input[type="time"], 
.kielipalkki-tyylit input[type="datetime"], .kielipalkki-tyylit input[type="datetime-local"], .kielipalkki-tyylit input[type="color"], .kielipalkki-tyylit textarea {
	background: transparent;
	border-style: none;
	border-bottom: 1px solid #fff;
	color: #fff;
	padding: 0px;
	font-size: 10px;
}

button, input[type="button"], input[type="submit"] {
	background: transparent;
}
.kielipalkki-tyylit body, .kielipalkki-tyylit button, .kielipalkki-tyylit input, .kielipalkki-tyylit select, .kielipalkki-tyylit textarea {
	color: #fff;
}
.kielipalkki-tyylit input[type="text"]:focus,
.kielipalkki-tyylit input[type="email"]:focus,
.kielipalkki-tyylit input[type="url"]:focus,
.kielipalkki-tyylit input[type="password"]:focus,
.kielipalkki-tyylit input[type="search"]:focus,
.kielipalkki-tyylit input[type="number"]:focus,
.kielipalkki-tyylit input[type="tel"]:focus,
.kielipalkki-tyylit input[type="range"]:focus,
.kielipalkki-tyylit input[type="date"]:focus,
.kielipalkki-tyylit input[type="month"]:focus,
.kielipalkki-tyylit input[type="week"]:focus,
.kielipalkki-tyylit input[type="time"]:focus,
.kielipalkki-tyylit input[type="datetime"]:focus,
.kielipalkki-tyylit input[type="datetime-local"]:focus,
.kielipalkki-tyylit input[type="color"]:focus,
.kielipalkki-tyylit textarea:focus {
	color: #fff;
	border-color: #fff;
}

.kielipalkki-tyylit ::-webkit-input-placeholder {
	color: #fff;
	font-family: Open Sans;
}

.kielipalkki-tyylit :-moz-placeholder {
	color: #fff;
	font-family: Open Sans;
}

.kielipalkki-tyylit ::-moz-placeholder {
	color: #fff;
	font-family: Open Sans;
	opacity: 1;
	/* Since FF19 lowers the opacity of the placeholder by default */
}

.kielipalkki-tyylit :-ms-input-placeholder {
	color: #fff;
	font-family: Open Sans;
}
.search-form .search-submit .icon {
	height: 15px;
	width: 15px;
}

.search-form .search-submit {
    padding: 0;
    position: absolute;
    right: 0px;
    top: 3px;
}

.haku-palkki button:hover, .haku-palkki button:focus, .haku-palkki input[type="button"]:hover,
 .haku-palkki input[type="button"]:focus, .haku-palkki input[type="submit"]:hover, 
 .haku-palkki input[type="submit"]:focus {
    background: transparent;
}


@media screen and (min-width: 1001px) {
.kielivalikkomobile {
	display: none;
}
}
@media screen and (min-width: 1281px) {
.kielivalikkomobile-alasivu {
	display: none;
	}
}
@media screen and (max-width: 1280px) {
.kielivalikkomobile-alasivu {
	position: absolute;
	top: 10px;
	right: 10px;
	}
.kielivalikkomobile-alasivu .kielivalinta ul li {
	margin-right: 5px;
}
}
@media screen and (max-width: 1000px) {
.kielivalikkomobile {
	position: absolute;
	top: 20px;
	right: 10px;
	z-index: 999;
	overflow: hidden;
}

.kielivalikkomobile .kielivalinta ul li {
	margin-right: 5px;
}
}
@media screen and (max-width: 767px) {
	.kielivalikkomobile {
		top: 75px;
	}
}



/*--------------------------------------------------------------
	ETUSIVUN BLOGINOSTOT
--------------------------------------------------------------*/
#etusivu-blogi {
	width: 100%;
	min-height: auto;
}
#etusivu-blogiosio-otsikko h3 {
	text-align: center;
	padding-bottom: 10px;
	font-family: Open Sans;
    font-weight: bold;
    font-size: 24px;
    color: #366CB4;
    letter-spacing: 2px;
}
#etusivu-blogiosio-otsikko h2 {
	text-align: center;
	padding-bottom: 10px;
	font-family: Open Sans;
    font-weight: bold;
    font-size: 24px;
    color: #366CB4;
    letter-spacing: 2px;
}
#etusivu-blogiosio-otsikko {
	background-image: url(/wp-content/uploads/2017/09/content-bg.png);
	background-size: cover;
    background-repeat: no-repeat;
}
#blog-container {
	width: 100%;
	height: auto;
}
#latest-blog {
	width: 50%;
	float: left;
}
#other-blogs {
	width: 50%;
	float: left;
}
.etusivu-nosto {
	background: #fff;
	box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.06);
	margin-top: 0px;
	margin-bottom: 0;
	width: 100%;
	/*height: auto;*/
}
.etusivu-nosto tr {
	border: none;
}
.etusivu-nosto td {
	position: relative;
	padding: 1px;
    width: 50%;
    padding-top: 0;
}
.nosto-hover {
  position: relative;
  top: 0px;
  opacity: 1.0;
  filter:alpha(opacity=100);
   -webkit-transition: all 0.4s ;
  transition: all 0.4s ;
}
.nosto-hover:hover {
  opacity: 0.8;
   filter:alpha(opacity=80);
  -webkit-transition: all 0.4s ;
  transition: all 0.4s ;
}
.nosto-hover a > span {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 1;
}
.front-page-image {
	background-size: cover;
	min-height: 300px;
}
.front-page-image2 {
	background-size: cover;
	min-height: 600px;
}
.etusivu-nosto-container {
	position: absolute;
	bottom: 10%;
	width: 100%;
}
.etusivu-nosto-kategoria {
	background: #FF9C00;
	width: 230px;
	overflow: hidden;
	padding-bottom: 10px;
	padding-top: 10px;
}
.etusivu-nosto-nosto {
	background: #fff;
	text-align: center;
	padding-top: 15px;
	padding-bottom: 20px;
	width: 80%;
	min-height: 110px;
	max-height: 110px;
	overflow: hidden;
}
.etusivu-nosto-kategoria a {
	color: #fff;
	margin: 0;
	margin-left: 15px;
	font-family: Open Sans;
	font-size: 16px;
	font-weight: bold;
}
.etusivu-nosto-nosto h3 {
	font-family: Open Sans;
	font-size: 18px;
	color: #366CB4;
	text-align: left;
	padding: 0;
	margin-left: 15px;
	letter-spacing: normal;
}
.etusivu-nosto-nosto p {
	font-size: 15px;
	font-family: Open Sans;
	color: #366CB4;
	text-align: left;
	margin: 0;
	padding: 0;
	margin-left: 15px;
}
@media screen and (max-width: 1900px) { /* bloginosto responsiiivisuus */
.etusivu-nosto-nosto h3 {
	font-size: 15px;
}
.etusivu-nosto-nosto p {
	font-size: 12px;
}
.etusivu-nosto-kategoria a {
	font-size: 13px;
}
}
@media screen and (max-width: 1700px) {
.etusivu-nosto-nosto h3 {
	font-size: 14px;
	line-height: normal;
}
.etusivu-nosto-nosto p {
	font-size: 12px;
	line-height: normal;
}
.etusivu-nosto-kategoria a {
	font-size: 13px;
}
.etusivu-nosto-kategoria {
	width: 190px;
}
.etusivu-nosto-nosto {
	width: 75%;
	min-height: 80px;
    max-height: 80px;
}
}
@media screen and (max-width: 1300px) {
	.etusivu-nosto-nosto {
	width: 95%;
}
}
@media screen and (max-width: 1000px) {
#latest-blog {
	width: 100%;
	float: none;
	height: 100%;
}
#other-blogs {
	width: 100%;
	float: none;
}
.etusivu-nosto {
	margin-top: 0;
	margin-bottom: 0;
}
.etusivu-nosto td {
	position: relative;
	padding: 1px;
    width: 50%;
    padding-top: 0;
}
.etusivu-nosto-nosto {
	width: 65%;	
}
}
@media screen and (max-width: 768px) {
.etusivu-nosto-nosto h3 {
	font-size: 12px;
}
.etusivu-nosto-nosto p {
	font-size: 10px;
}
.etusivu-nosto-kategoria a {
	font-size: 12px;
}
.etusivu-nosto-nosto {
	min-height: 80px;
	max-height: 80px;
}
}
@media screen and (max-width: 650px) {
.front-page-image {
	min-height: 200px;
}
.front-page-image2 {
	min-height: 400px;
}
.etusivu-nosto-nosto h3 {
	font-size: 11px;
	letter-spacing: normal;
}
.etusivu-nosto-nosto {
	padding-top: 10px;
	padding-bottom: 10px;
	min-height: 70px;
    max-height: 70px;
    width: 80%;
}
.etusivu-nosto-nosto p {
	font-size: 10px;
}

.etusivu-nosto-kategoria a {
	font-size: 10px;
}
.etusivu-nosto-kategoria {
	width: 130px;
}
.etusivu-nn-first {
	width: 50%;
}
}
@media screen and (max-width: 413px) {
.front-page-image {
	min-height: 150px;
}
.front-page-image2 {
	min-height: 300px;
}
.etusivu-nosto-nosto h3 {
	font-size: 10px;
	margin-left: 8px;
}
.etusivu-nosto-nosto {
	width: 95%;
}
.etusivu-nosto-kategoria a {
	font-size: 9px;
	margin-left: 8px;
}
.etusivu-nosto-nosto p{
	font-size: 9px;
	margin-left: 8px;
}
.etusivu-nosto-kategoria {
	width: 140px;
}
}
@media screen and (min-width: 1600px) {
	.front-page-image {
	min-height: 350px;
}
.front-page-image2 {
	min-height: 700px;
}
}
@media screen and (min-width: 1800px) {
.front-page-image {
	min-height: 400px;
}
.front-page-image2 {
	min-height: 800px;
}
}
@media screen and (min-width: 2000px) {
.front-page-image {
	min-height: 450px;
}
.front-page-image2 {
	min-height: 900px;
}
.etusivu-nosto-nosto {
	width: 60%;
}
}
@media screen and (min-width: 2200px) {
	.front-page-image {
	min-height: 500px;
}
.front-page-image2 {
	min-height: 1000px;
}
}
.etusivu-nn-first {
	width: 400px;
}
@media screen and (max-width: 1400px) {
.etusivu-nn-first {
	width: 300px;
}
}
@media screen and (max-width: 880px) {
.etusivu-nn-first {
	width: 50%;
}
}

/*--------------------------------------------------------------
	 KURSSIT JA KOULUTUS(ALASIVU)
--------------------------------------------------------------*/

#kurssit-esittely {
	width: 100%;
	position: relative;
}
#kurssit-esittely h1 {
	font-family: 'Amatic SC';
    font-weight: bold;
    font-size: 48px;
    color: #FF9C00;
    letter-spacing: 3.1px;
}
#kurssit-esittely h2 {
	font-family: 'Amatic SC';
    font-weight: bold;
    font-size: 48px;
    color: #FF9C00;
    letter-spacing: 3.1px;
}

#kurssit-esittely .esittely-teksti {
	padding:30px;
}

@media screen and (min-width: 1600px)  {
#kurssit-esittely .esittely-teksti {
	padding:4%;
	padding-top: 6%;
}
}

/*--------------------------------------------------------------
	KURSSIT -TEMPLATE (ALASIVU)
--------------------------------------------------------------*/

.alasivu-bg-container {
	background-image: url(/wp-content/uploads/2017/09/texture2.png);
	background-size: contain;
}
#alasivu-kurssikertomuksia {
	width: 100%;
	padding-top: 50px;
}
#alasivu-kurssikertomuksia h2 {
	text-align: center;
	padding-bottom: 10px;
	font-family: Open Sans;
    font-weight: bold;
    font-size: 24px;
    color: #366CB4;
    letter-spacing: 2px;
}
.kk-nostot {
	width: 100%;
}
.kk-nosto {
	width: 25%;
	float: left;
}
.kk-image {
	background-size: cover;
	min-height: 550px;
}
.nc-alasivu {
	overflow: hidden;
}
@media screen and (max-width: 1900px) {
.nk-alasivu {
	width: 160px;
}
}
@media screen and (max-width: 1800px) {
.kk-image {
	min-height: 450px;
}
}
@media screen and (max-width: 1500px) {
.kk-image {
	min-height: 400px;
}
}
@media screen and (max-width: 1300px) {
.kk-image {
	min-height: 330px;
}
}
@media screen and (max-width: 1100px) {
.kk-image {
	min-height: 300px;
}
.nn-alasivu {
	width: 90%;
	min-height: 90px;
	max-height: 90px;
	padding-top: 15px;
	padding-bottom: 5px;
}
.nn-alasivu h3 {
	line-height: normal;
	}
.nn-alasivu p {
	line-height: normal;
	}
}
@media screen and (max-width: 1000px) {
.kk-image {
	min-height: 250px;
}
.nn-alasivu h3 {
	font-size: 11px;
	}
.nn-alasivu p {
	font-size: 10px;
	}
.nk-alasivu {
	width: 120px;
	padding: 0;
	}
.nk-alasivu a {
	font-size: 10px;
	}
.nn-alasivu {
	min-height: 70px;
	max-height: 70px;
	padding-top: 10px;
}
}
@media screen and (max-width: 800px) {
.kk-image {
	min-height: 200px;
}
}
@media screen and (max-width: 767px) {
.kk-nosto {
	width: 100%;
	float: none;
}
.nn-alasivu {
    padding-top: 10px;
    padding-bottom: 10px;
}
.nn-alasivu h3 {
	font-size: 15px;
	}
.nn-alasivu p {
	font-size: 14px;
	}
.kk-image {
	min-height: 150px;
}
.nk-alasivu {
	width: 160px;
	padding-top: 5px;
	padding-bottom: 5px;
}
.nk-alasivu a {
	font-size: 14px;
	line-height: normal;
}
.nn-alasivu {
	width: 300px;
}
}
@media screen and (max-width: 320px) {
	.nn-alasivu {
		width: 95%;
	}
}
@media screen and (min-width: 1400px) {
.nn-alasivu {
	width: 65%;
}
}

/*--------------------------------------------------------------
	KURSSILISTA OSIO (ALASIVU)
--------------------------------------------------------------*/

#kurssi-lista {
	width: 85%;
	margin: auto;
	position: relative;
}
table.kurssilista-nosto {
	margin: 0;
	width: 100%;
	border-style: none;
	border-collapse: separate;
}
.kurssilista-nosto tr td {
	padding: 15px;
	width: 50%;
}
.kurssilista-image {
	background-size: cover;
	width: 40%;
	float: left;
	height: 300px;
}
.kurssilista-container {
	width: 60%;
	float: left;
	height: 300px;
	background-color: #EDEDED;
	padding:20px;
	padding-top: 10px;
	text-align: left;
	position: relative;
}
#kurssi-lista h3 {
	font-family: Open Sans;
	font-size: 18px;
	color: #4A4A4A;
	letter-spacing: 1.16px;
	line-height: 30px;
	font-weight: bold;
}
#kurssi-lista p {
	font-family: Open Sans;
	font-size: 15px;
	color: #4A4A4A;
	line-height: 22px;
}
.kurssi-button {
	background: #366CB4;
	padding: 10px;
	color: #fff;
	border-radius: 3px;
	position: absolute;
	bottom: 30px;
	font-size: 15px;
	margin-top: 10px;
}
.kurssi-button:hover {
	background: #5E89C3;
	text-decoration: none;
	color: #fff;
	cursor: pointer;
}
@media screen and (max-width: 1750px) {
#kurssi-lista {
	width: 100%;
}
.kurssilista-image {
	width: 35%;
	}
.kurssilista-container {
	width: 65%;
}
}

@media screen and (max-width: 1450px) and (min-width: 1301px) {
#kurssi-lista h3 {
	font-size: 16px;
}
#kurssi-lista p {
	font-size: 14px;
}
}
@media screen and (max-width: 1300px) {
.kurssilista-image {
	float: none;
	width: 100%;
	}
.kurssilista-container {
	float: none;
	width: 100%;
}
}
@media screen and (max-width: 1000px) and (min-width: 701px) {
.kurssilista-image {
	height: 250px;
	}
#kurssi-lista h3 {
	font-size: 16px;
	line-height: normal;
}
#kurssi-lista p {
	font-size: 14px;
	line-height: 20px;
}
}
@media screen and (max-width: 800px) and (min-width: 701px) {
.kurssilista-image {
	height: 200px;
	}
.kurssilista-container {
	height: 320px;
}
}
@media screen and (max-width: 700px) {
.kurssilista-image {
	height: 290px;
	}
.kurssilista-container {
	height: auto;
}
.kurssilista-nosto tr td {
	padding: 15px;
	width: 100%;
	display: block;
}
#kurssi-lista {
	width: 95%;
}
.kurssi-button {
	position: static;
}
.kurssilista-button {
	padding-top: 25px;
	padding-bottom: 15px;
}
}
@media screen and (max-width: 450px) {
.kurssilista-image {
	height: 200px;
	}
#kurssi-lista p {
	font-size: 14px;
}
#kurssi-lista h3 {
	font-size: 16px;
}
#kurssi-lista a {
	font-size: 12px;
}
.kurssilista-nosto tr td {
	padding-left: 0;
	padding-right: 0;
}
}
.bluewhite-button {
	text-align: center;
	margin-top: 30px;
}
.bluewhite-button a {
	background: #fff;
	border-style: solid;
	border-color: #366CB4;
	border-width: 1px;
	color:#366CB4;
	font-family: Open Sans;
	font-size: 16px;
	letter-spacing: 1.16px;
	line-height: 25px;
	font-weight: bold;
	padding: 15px;
	 -webkit-transition: all 0.2s ;
  	transition: all 0.2s ;
}
.bluewhite-button a:hover {
	background: #366CB4;
	color:#fff;
	cursor: pointer;
	text-decoration: none;
	 -webkit-transition: all 0.2s ;
  	transition: all 0.2s ;
}
.bluewhite-button2 {
	text-align: left;
	margin-top: 40px;
	margin-bottom:20px;
}

.bluewhite-button2 a {
	background: #366CB4;
	color:#fff;
	border-style: solid;
	border-color: #fff;
	border-width: 1px;
	font-family: Open Sans;
	font-size: 12px;
	letter-spacing: 3.4px;
	line-height: 19px;
	padding: 15px;
	border-radius: 2px;
	 -webkit-transition: all 0.2s ;
  	transition: all 0.2s ;
}
.bluewhite-button2 a:hover {
	color:#366CB4;
	background: #fff;
	cursor: pointer;
	text-decoration: none;
	font-weight: bold;
	 -webkit-transition: all 0.2s ;
  	transition: all 0.2s ;
}

.kurssit-wrap {
	padding-bottom: 30px;
}

.kurssit-bg {
	padding-top: 50px;
	border-top: 1.5px solid #F1F1F1;
}

/*--------------------------------------------------------------
	YKSITTÄINEN KURSSI -TEMPLATE
--------------------------------------------------------------*/

.single-wrap {
	max-width: 1200px;
}
.course-container {
	width: 100%;
}
.course-container h1 {
	text-align: center;
}
#course-left {
	width: 60%;
	float: left;
}
#course-right {
	width: 40%;
	float: left;
	margin-top: 12px;
}
.hinnat {
	width: auto;
	float: right;
	text-align: center;
	margin-right: 17px;
}
.ilmoittaudu {
	width: auto;
	float: right;
	text-align: center;
	margin-left: 15px;

}
.hinnat a {
	color: #366CB4;
	font-weight: bold;
	font-size: 15px;
	margin: 0;
	padding:15px;
	padding-left: 50px;
	padding-right: 50px;
	border-style: solid;
	border-color: #366CB4;
	border-width: 1px;
	background: #fff;
}
.hinnat a:hover {
	text-decoration: none;
	background: #366CB4;
	color: #fff;
	transition: all 0.4s;

}
.ilmoittaudu a {
	background: #366CB4;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    margin: 0;
    padding:15px;
    padding-left: 40px;
	padding-right: 40px;
	border-style: solid;
	border-color: #366CB4;
	border-width: 1px;
	border-radius: 2px;
}
.ilmoittaudu a:hover {
	background: #5E89C3;
	border-color: #5E89C3;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
}
#course-buttons {
	min-height: 60px;
}
#course-media {
	width: 100%;
	min-height: 200px;
}
.media-container {
	width: 385px;
    height: 260px;
    float: right;
    display: block;
    margin-top: 20px;
    margin-right: 7px;
}
#course-media img, .asiantuntijat img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	padding: 15px;
    -webkit-box-shadow: -1px 0px 9px 4px rgba(191,192,199,0.5);
	-moz-box-shadow: -1px 0px 9px 4px rgba(191,192,199,0.5);
	box-shadow: -1px 0px 9px 4px rgba(191,192,199,0.5);
}

.no-price-set {
	padding-right: 50px !important;
	padding-left: 50px !important;
}

@media screen and (max-width: 1120px) {
.hinnat a {
	font-size: 12px;
	padding-left: 35px;
	padding-right: 35px;
}
.ilmoittaudu a {
    font-size: 12px;
    padding-left: 30px;
	padding-right: 30px;
}
#course-right {
	margin-left: 10px;
	width: 35%;
}

#course-left {
	width: 60%;
}
.media-container {
	width: 306px;
    height: 200px;
}
.no-price-set {
	padding-right: 36px !important;
    padding-left: 36px !important;
}
}

@media screen and (max-width: 1020px) {
#course-right {
	margin-left: 0;
	width: 100%;
	float: none;
	padding-top: 30px;
}
#course-left {
	width: 100%;
	float: none;
}
.hinnat  {
	float: none;
	display: inline-block;
	margin-left: 10px;
}
.ilmoittaudu {
    float: none;
    display: inline-block;
    margin-right: 10px;
    margin-left: 0;
}
.media-container {
	float: none;
	display: block;
	margin-left: 10px;
	margin-bottom: 10px;
}
}
@media screen and (max-width: 400px) {
.hinnat  {
	float: none;
	display: block;
	margin: 0;
	min-height: 60px;
}
.ilmoittaudu {
    float: none;
    display: block;
    margin: 0;
    min-height: 60px;
}
.media-container {
	margin-left: 15px;
	margin-right: 15px;
	width: 90%;
	max-height: 200px;
	
}
}
@media screen and (max-width: 300px) {
.media-container {

	max-height: 150px;
	
}
}

@media screen and (min-width: 48em) {
.caldera-grid .checkbox, .caldera-grid .radio {
	display: inline-block !important;
	padding-right: 15px !important;
	font-size: 13px !important;
}
.caldera-grid .checkbox input[type=checkbox], .caldera-grid .checkbox-inline input[type=checkbox], .caldera-grid .radio input[type=radio], .caldera-grid .radio-inline input[type=radio]{
	margin-top: 10px !important;
	margin-left: -17px !important;
}
}
/*--------------------------------------------------------------
	 KATEGORIAT -sivu
--------------------------------------------------------------*/

.kategoria-wrap {
	max-width: 1200px;
}

.kategoria-header {
	margin: 0;
	padding: 0;
}

@media screen and (min-width: 48em) {

body:not(.has-sidebar):not(.page-one-column) .page-header, 
body.has-sidebar.error404 #primary .page-header, body.page-two-column:not(.archive) 
#primary .entry-header, body.page-two-column.archive:not(.has-sidebar) #primary .page-header {
	width: 100%;
	float: none;
}

.blog:not(.has-sidebar) #primary article, 
.archive:not(.page-one-column):not(.has-sidebar) #primary article, .search:not(.has-sidebar) 
#primary article, .error404:not(.has-sidebar) #primary .page-content, .error404.has-sidebar #primary 
.page-content, body.page-two-column:not(.archive) #primary .entry-content, body.page-two-column #comments {
	width: 100%;
	float: none;
}

.kategoria-ul {
	color:#767676;
	padding-bottom: 20px;
	margin-top: 20px;
	margin-bottom: 20px; 
	font-size: 12px;
	border-bottom: 1px solid #eee;
}
}

/*--------------------------------------------------------------
	TUTKIMUS JA KIRJALLISUUS -sivu
--------------------------------------------------------------*/

#tutkimus-boksit {
	width: 100%;
	margin-top: 60px;
}
.tutkimus-nostot {
	width: 65%;
	float: left;
	border: 1px solid #d8d8d8;
	padding: 30px;
	margin-bottom: 20px;
	background-color: #fff;
}
@media screen and (max-width: 48em) {
	.tutkimus-nostot {
	width: 100%;
	float: none;
}
}
.tutkimus-button {
	text-align: left;
	margin-bottom: 20px;
}
.tutkimus-button a {
	border-radius: 5px;
}

.alasivu-content ol {
	padding-left: 16px;
}








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

.site-footer {
	border-style: none;
}
.footer-some img {
	float: right;
	margin-right: 10px;
	margin-bottom: 10px;
}
.footer-wrap {
	margin-top: 5px;
	max-width: 90%;
    margin: auto;
    position: relative;
}
.footer-wrap p {
	font-family: Open Sans;
	font-size: 14px;
	color: #366CB4;
	letter-spacing: 0;
	line-height: 21px;
}
.footer-wrap a {
	font-family: Open Sans;
	font-size: 14px;
	color: #366CB4;
	letter-spacing: 0;
	line-height: 21px;
}
.footer-copyright {
	padding-top: 20px;
	padding-left: 15px;
}
.footer-copyright p{
	color: #c0cce7;
	font-size: 13px;
	font-weight: normal;
}
.footer-copyright a{
	color: #c0cce7;
	font-size: 13px;
	font-weight: normal;
}
@media screen and (max-width: 991px) {

.footer-wrap  {
	text-align: center;
	}
.footer-some img {
	float: none;
}
}
#footer-bottom {
	min-height: 100px;
	width: 100%;
	background: #4460A1;
	height: 100%;

}
@media screen and (min-width: 1800px) {
	.footer-wrap {
	max-width: 85%;
}
}
@media screen and (min-width: 2000px) {
	.footer-wrap {
	max-width: 70%;
}
}

/*--------------------------------------------------------------
	 FONTIT KORJAUKSET (PIENET NÄYTÖT)
--------------------------------------------------------------*/


@media screen and (max-width: 1400px) {
#header-tulevat-kurssit h3 {
	font-size: 15px;
}
#header-tulevat-kurssit p {
	font-size: 13px;
}
#header-tulevat-kurssit a {
	font-size: 13px;
}
}

@media screen and (max-width: 767px) {
#headertext {
	margin-top: 20%;
}
#headertext h1 {
	font-size: 45px;
	margin-bottom: 0;
}
#headertext p {
	font-size: 18px;
	max-width: 550px;
}
}
@media screen and (max-width: 600px) {
#headertext {
	margin-top: 20%;
}
#headertext h1 {
	font-size: 35px;
	line-height: 40px;
}
#headertext p {
	font-size: 14px;
	max-width: 450px;
}
}
@media screen and (max-width: 450px) {
#headertext {
	margin-top: 15%;
}
#headertext h1 {
	font-size: 25px;
}
#headertext p {
	font-size: 13px;
	max-width: 90%;
	font-weight: bold;
}
.page .panel-content .entry-title, .page-title, body.page:not(.twentyseventeen-front-page) .entry-title {
	font-size: 30px;
}
#alasivu-kurssikertomuksia h2 {
	font-size: 18px;
}
#etusivu-blogiosio-otsikko h2 {
	font-size: 18px;
}
#etusivu-some h2 {
	font-size: 18px;
}
#nosto-otsikko-etusivu h2 {
	font-size: 30px;
	letter-spacing: normal;
}
.esittely-teksti h2 {
	font-size: 30px;
	letter-spacing: normal;
}
.esittely-teksti p {
	font-size: 14px;
}
.esittely-teksti {
	padding-left: 20px;
	padding-right: 20px;
}
#etusivu-nostot-kuvat a {
	font-size: 16px;
}
#etusivu-nostot-kuvat p {
	font-size: 16px;
}
}
@media screen and (max-width: 350px) {
#headertext {
	margin-top: 15%;
}
#headertext h1 {
	font-size: 20px;
}
#headertext p {
	font-size: 10px;
	max-width: 300px;
}
}

/*--------------------------------------------------------------
	 FONTTI KORJAUKSET (ISOT NÄYTÖT)
--------------------------------------------------------------*/

@media screen and (min-width: 1600px) {
.esittely-teksti p {
	padding: 0 0 15px;
}
}
@media screen and (min-width: 2000px) {
.esittely-teksti {
	padding-top: 80px;
}
.esittely-teksti p {
	font-size: 18px;
}
.esittely-teksti h2 {
	font-size: 50px;
}
#headertext h1 {
	font-size: 80px;
}
#headertext p {
	font-size: 30px;
	max-width: 1000px;
}
}



/*--------------------------------------------------------------
	 SOME STREAM 
--------------------------------------------------------------*/
#ff-stream-2, #ff-stream-2 .ff-popup, #ff-stream-2 .ff-search input {
	background-color: #fff !important;
}

.ff-icon-inner {
	background: #FF9C00 !important;
}

.ff-loadmore-wrapper .ff-btn {
	display: none !important;
}

.ff-filter-holder .ff-search 
{ display:none !important; }

@media screen and (min-width: 1000px) {

.ff-layout-grid .ff-item .ff-img-holder {
	height: 280px !important;
}  

.ff-icon-inner {
	padding-bottom: 8px !important;
	padding-top: 8px !important;
	padding-right: 15px !important;
	padding-left: 15px !important;
}

.ff-layout-grid .ff-item .ff-img-holder img {
	object-fit: cover !important;
	height: 280px !important;
	width: auto !important;
}

.ff-layout-grid .ff-item-cont {
	height: auto !important;
}

.ff-content .is-truncated {
	height: 286px !important;
}
}

.ff-filter-holder .ff-filter {
	color: #366CB4 !important;
	border-radius: 0px !important;
}

#ff-stream-2 .ff-filter-holder .ff-filter, #ff-stream-2 .ff-loadmore-wrapper .ff-btn:hover {
    background: #fff !important;
    border: 1px solid #366CB4 !important;
    }

#ff-stream-2 .ff-filter:hover, #ff-stream-2 .ff-filter.ff-filter--active, #ff-stream-2 
.ff-moderation-button, #ff-stream-2 .ff-loadmore-wrapper .ff-btn, #ff-stream-2 .ff-square:nth-child(1) {
	color: #fff !important;
	border: 1px solid #FF9C00 !important;
	background-color: #FF9C00 !important;

}
#ff-stream-2 .ff-filter-holder:before {
	background-color: #fff !important;
}



/* FIXIT */

.menu-toggle {
	color: #366CB4;
}
@media screen and (max-width: 320px) {
	.ff-filter-holder .ff-filter {
		padding: 0 !important;
	}
}
@media screen and (min-width: 1001px) and (max-width: 1450px) and (min-height: 600px ) and (max-height: 780px) {
	#header-tulevat-kurssit a {
		font-size: 10px;
	}

	#header-tulevat-kurssit h4 {
		padding-top: 5px;
	}

	#header-sivupalkki {
		height: 53%;
	}
}
.nosto-kuva h3 {
	margin-bottom: 0;
}

.limit-text {
	margin-top: 35px;
}
.main-navigation ul li.menu-item-has-children.focus:before, 
.main-navigation ul li.menu-item-has-children:hover:before, 
.main-navigation ul li.menu-item-has-children.focus:after, 
.main-navigation ul li.menu-item-has-children:hover:after, 
.main-navigation ul li.page_item_has_children.focus:before,
 .main-navigation ul li.page_item_has_children:hover:before,
  .main-navigation ul li.page_item_has_children.focus:after, 
  .main-navigation ul li.page_item_has_children:hover:after {
  	display: none;  /*harmaa nuoli navigaatiosta pois */
  }
@media screen and (min-width: 1800px) {
	#headertext p {
		line-height: 36px;
	}
}
#course-info {
	margin-bottom: 35px;
	margin-left: 50px;
}
@media screen and (max-width: 1200px) {
	#course-info {
	margin-left: 6%;
}
}
@media screen and (max-width: 1120px) {
	#course-info {
	margin-left: 10%;
}
}
@media screen and (max-width: 1020px) {
	#course-info {
	margin-left: 0;
}
}
ul.sub-menu li a {
 
    line-height: 14px;
    padding-bottom: 15px;
    padding-top: 15px;
}
.blog-left {
	width: 70%;
	float: left;
	margin-right: 5%;
}  
.blog-right {

	width: 20%;
	float: left;
	margin-left: 5%;
}
.blogit {
	min-height: 150px;
}
.blog-right ul {
	padding-left: 0;
	list-style: none;
}
#catnav li {
	
	margin-bottom: 15px;
	margin-top: 15px;
	line-height: 24px !important;

}
@media screen and (max-width: 1000px) {
	#catnav li a {
		 font-size: 10px;
	}
}
@media screen and (max-width: 780px) {
	.blog-left {
	width: 100%;
	float: none;
	margin-right: 0;
}  
.blog-right {

	width: 100%;
	float: none;
	margin-left: 0;
	margin-bottom: 40px;
}
}
@media screen and (min-width: 768px) {
	#blogi-right {
		width: 46%;
		float: left;
		margin-left: 2%;
	}
	#blogi-left {
		width: 46%;
		float: left;
		margin-right: 2%;
	}
}
.blogitext-content {
	margin-top: 60px;
}
.blogitext-content a {
	color: #366CB4;
}
.blogitext-content h2,
.blogitext-content h3 {
	margin-top: 20px;
}
.blogi-image-cont {
	width: 100%;
    height: auto;
}
#blogi-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 15px;
    -webkit-box-shadow: -1px 0px 9px 4px rgba(191,192,199,0.5);
    -moz-box-shadow: -1px 0px 9px 4px rgba(191,192,199,0.5);
    box-shadow: -1px 0px 9px 4px rgba(191,192,199,0.5);
}
#blogi-media {
	padding-bottom: 10px;
}
@media screen and (max-width: 767px) {
	#blogi-right {
		margin-top: 50px;
	}
}
.blog-container {
	overflow: hidden;
}
.takaisin-button {
	text-align: left;
	width: 100%;
	margin-bottom: 50px;
}
.takaisin-button a {
	color: #366CB4;
}
.kurssiraportit-palsta {
	max-width: 800px;
	margin: auto;
	position: relative;
}

.story {
	margin: 0 auto;
	margin-bottom: 50px;
	max-width: 60%;
}
.story img {
	max-width: 525px;
}
@media screen and (max-width: 575px) {
	.story {
		max-width: 100%;
	}
}


/* HEADER SOME FIKSIT */

@media screen and (max-width: 2180px) {
	#etusivu-kielipalkki {
		width: 29%;
	}
	#header-sivupalkki {
    width: 24%;
}
}
@media screen and (max-width: 1960px) {
	#etusivu-kielipalkki {
		width: 32%;
	}
	#header-sivupalkki {
    width: 26%;
}
}
@media screen and (max-width: 1760px) {
	#etusivu-kielipalkki {
		width: 35%;
	}
	#header-sivupalkki {
    width: 28%;
}
}
@media screen and (max-width: 1635px) {
	#etusivu-kielipalkki {
		width: 31%;
	}
	#header-sivupalkki {
    width: 24%;
}
}
@media screen and (max-width: 1490px) {
	#etusivu-kielipalkki {
		width: 33%;
	}
	#header-sivupalkki {
    width: 26%; 
}
}
@media screen and (min-width: 1940px) {
#header-kielipalkki {
	width: 460px;
}
}
@media screen and (min-width: 1745px) and (max-width: 1939px) {

#header-kielipalkki {
	width: 380px;
}
#header-haku {
    width: 25%;
}
#header-some {
    width: 60%;
}
}
@media screen and (min-width: 1601px) and (max-width: 1744px) {

#header-kielipalkki {
	width: 310px;
}
#header-haku {
    width: 25%;
}
#header-some {
    width: 60%;
}
}
@media screen and (min-width: 1449px) and (max-width: 1506px) {

	.footer-wrap .col-md-2 {
    width: 18%;
	}
	.empty-col {
		display: none;
	}
}
@media screen and (min-width: 1349px) and (max-width: 1448px) {

	.footer-wrap .col-md-2 {
    width: 20%;
	}
	.empty-col {
		display: none;
	}
}
@media screen and (min-width: 1124px) and (max-width: 1348px) {
	.footer-wrap .col-md-2 {
    width: 20%;
	}
	.empty-col {
		display: none;
	}
	.footer-some img {
		width: 37px;
		margin-right: 5px;
		height: auto;
	}
}
@media screen and (min-width: 1056px) and (max-width: 1123px) {
	.footer-wrap p {
		font-size: 13px;
	}
	.footer-wrap .col-md-2 {

    width: 20%;

	}
	.empty-col {
		display: none;
	}
	.footer-some img {
		width: 33px;
		margin-right: 5px;
		height: auto;
	}
}
@media screen and (min-width: 1001px) and (max-width: 1055px) {
	.footer-wrap p {
		font-size: 12px;
	}
	.footer-wrap .col-md-2 {
    width: 20%;
	}
	.empty-col {
		display: none;
	}
	.footer-some img {
		width: 30px;
		margin-right: 5px;
		height: auto;
	}
}
.wsp-pages-title {
	display: none;
}
.blogi-image-cont {
	position: relative;
}
#tarinoita-kuvaotsikko {
	position: absolute;
    top: 40%;  /* position the top  edge of the element at the middle of the parent */
    left: 50%; /* position the left edge of the element at the middle of the parent */
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.50);

}
@media screen and (max-width: 1231px) {
	.blogi-image-cont h2 {
		font-size: 20px;
	}
}
@media screen and (max-width: 1042px) {
	.blogi-image-cont h2 {
		font-size: 19px;
	}
}
@media screen and (max-width: 767px) {
	.blogi-image-cont h2 {
		font-size: 25px;
	}
}
@media screen and (max-width: 595px) {
	.blogi-image-cont h2 {
		font-size: 1.7em;
	}
}
@media screen and (max-width: 475px) {
	.blogi-image-cont h2 {
		font-size: 1.6em;
	}
	#tarinoita-kuvaotsikko {
    top: 35%;
}
}
@media screen and (max-width: 365px) {
	.blogi-image-cont h2 {
		font-size: 1.3em;
	}
}
@media only screen and (min-width: 641px) {

.remodal {
    max-width: 1000px !important;
}
}
.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
    font-family: Open Sans;
    font-size: 14px;
    color: #4A4A4A; 
}
#catnav li .active {
	font-weight: bold;
}
@media screen and (max-width: 500px) {
	#headertext p {
    line-height: 19px;
}
}
.tutkimus-nosto-nosto a {
	font-family: Open Sans;
    font-weight: bold;
    font-size: 18px;
    color: #366CB4;
    letter-spacing: normal;
}
.asiantuntijat h2 {
	margin-top: 25px;
	font-weight: 400;
    color: #ff9900;
}
.kurssi-header-img img {
	width: 100%;
	height: auto;
}
.course-container {
	overflow: hidden;
}
.takaisin-wrap a{
	font-size: 13px;
	color: #366CB4;	
}
@media screen and (min-width: 601px) {
	.alasivu-content .one_half {
		padding-right: 30px;
	}
}

@media screen and (min-width: 1100px)  {
#headertext {
    margin-top: 13%;

}
}
@media screen and (min-width: 1250px) {

#headertext p {
    font-size: 21px;
    max-width: 600px;
}
}

@media screen and (min-width: 1650px) {

#headertext p {
    font-size: 25px;
    max-width: 900px;
}

#headertext {
    margin-top: 17%;
}
}
.texture-box-top {
	position: absolute;
	height: 33%;
	width: 20%;
	right: 0;
	bottom: 0;
}
.texture-box-top img {
	width: 100%;
}
.texture-box-side {
	position: absolute;
	height: 33%;
	width: 20%;
	right: 0.5%;
	bottom: 0;
}
.texture-box-side img {
	height: 100%;
}
@media screen and (max-width: 2180px) {
.texture-box-side {

	width: 24%;
}
}
@media screen and (max-width: 1960px) {

.texture-box-top {
    height: 43.8%;
    width: 26%;
}
.texture-box-side {
    height: 43.8%;
    width: 26%;
    right: 0.8%;
}
}
@media screen and (max-width: 1850px) {
	.texture-box-top {
    height: 46.5%;
}
	.texture-box-side {
    height: 46.5%;
}
}
@media screen and (max-width: 1760px) {
	.texture-box-top {
    height: 46.8%;
    width: 28%; 
}
.texture-box-side {
    height: 46.8%;
    width: 28%;
    right: 0.8%;
}
}
@media screen and (max-width: 1635px) {
.texture-box-top {
    width: 24%; 
}
.texture-box-side {
    width: 24%;
    right: 0.8%;
}
}
@media screen and (max-width: 1550px) {
.texture-box-top {
    height: 55%;
}
.texture-box-side {
    height: 55%;
}
}
@media screen and (max-width: 1490px) {
.texture-box-side {
    width: 26%;
}
.texture-box-top {
	width: 26%;
}
}
@media screen and (max-width: 1300px) {
.texture-box-side {
    height: 60%;
}
.texture-box-top {
	height: 62%;
}
}
@media screen and (max-width: 1180px) {
	.texture-box-side {
    display: none;
}
.texture-box-top {
	display: none;
}
}
@media screen and (max-height: 780px) and (max-width: 1450px) and (min-height: 600px) and (min-width: 1001px) {
	.texture-box-top {
    height: 55%;
}
	.texture-box-side {
    height: 55%;
}
}
.uutiskirje {
	width: 100%;
	position: relative;
	padding-left: 15%;
	padding-right: 15%;
	padding-bottom: 30px;
	padding-top: 30px;
	overflow:hidden;
}
.uutiskirje-title {
    font-family: Open Sans;
    font-weight: bold;
    font-size: 20px;
    color: #366CB4;
    letter-spacing: 2px;
}
.uutiskirje input[type="text"], .uutiskirje input[type="email"], .uutiskirje input[type="url"], .uutiskirje input[type="password"],
.uutiskirje input[type="search"], .uutiskirje input[type="number"], .uutiskirje input[type="tel"], .uutiskirje input[type="range"], .uutiskirje input[type="date"], .uutiskirje input[type="month"], .uutiskirje input[type="week"],
.uutiskirje input[type="time"], .uutiskirje input[type="datetime"], .uutiskirje input[type="datetime-local"], .uutiskirje input[type="color"], .uutiskirje textarea {
	 border: 1px solid #366CB4;
	 /*width: 40%;*/
	 width: 70%;
	 display: inline-block;
	 margin-right: 20px;
}
.uutiskirje button, .uutiskirje input[type="button"], .uutiskirje input[type="submit"], .uutiskirje a {
	background-color:#366CB4;
	color: #fff;
	font-family: Open Sans;
	padding: 15px;
	padding-left: 25px;
	padding-right: 25px;
	font-size: 16px;
}
.uutiskirje button:hover, .uutiskirje input[type="button"]:hover, .uutiskirje input[type="submit"]:hover, .uutiskirje a:hover {
	background-color:#4e89d8;
}
.uutiskirje button:disabled, .uutiskirje input[type="button"]:disabled, .uutiskirje input[type="submit"]:disabled, .uutiskirje a:disabled {
	background-color: #cccccc;
}

.uutiskirje-text {
	/*width: 25%;*/
	width: 40%;
	float: left;
}
.uutiskirje-middle {
	width: 60%;
	margin: 0 auto;
}
.uutiskirje-middle .uutiskirje-text {
	width: 70%;
	display: inline-block;
}
.uutiskirje-link {
	float: right;
	margin-top: 30px;
}
@media screen and (max-width: 767px) {
	.uutiskirje-middle {
		width: 100%;
	}
}
@media screen and (min-width: 1600px) {
	.uutiskirje-middle {
		width: 40%;
	}
}

.uutiskirje-formi {
	/*width: 75%;*/
	width: 60%;
	float: left;
}
@media screen and (max-width: 1550px) {
	.uutiskirje {
	padding-left: 5%;
	padding-right: 5%;
	}
}
@media screen and (max-width: 1040px) {
	.uutiskirje input[type="text"], .uutiskirje input[type="email"], .uutiskirje input[type="url"], .uutiskirje input[type="password"],
	.uutiskirje input[type="search"], .uutiskirje input[type="number"], .uutiskirje input[type="tel"], .uutiskirje input[type="range"], .uutiskirje input[type="date"], .uutiskirje input[type="month"], .uutiskirje input[type="week"],
	.uutiskirje input[type="time"], .uutiskirje input[type="datetime"], .uutiskirje input[type="datetime-local"], .uutiskirje input[type="color"], .uutiskirje textarea {
		 width: 100%;
		 display: block;
		 margin-right: 0px;
		 margin-bottom: 15px;
	}
	.uutiskirje-text {
		width: 100%;
		float: none;
	}
	.uutiskirje-formi {
		width: 100%;
		float: none;
	}
}


#palautelomake .caldera-grid .radio {
	display: block !important;
}
/*
.kokonaisarvosana > div > div > div {
	display: inline;
}
.kokonaisarvosana > div > div > div::before {
	content: 'Täysin tyytymätön';
	color: #000;
	font-size: 11px;
}
.kokonaisarvosana > div > div > div::after {
	content: 'Erittäin tyytyväinen';
	color: #000;
	font-size: 11px;
}*/
/*
.todennakoista .radio-inline input[type=radio] {
	margin-left: -3px;
	margin-top: 20px;
}
*/
.muu_vastaus label {
	display: none !important;
}
.reverseorder > div, .reverseorder > div > textarea, .reverseorder > div > input, .reverseorder > div > span {
	transform: scaleY(-1);
}



.footer-some {
	width: 19% !important;
}
@media screen and (min-width: 1640px) {
	.footer-wrap .col-md-2 {
    width: 18.66666667%;
}
}
.ohjaajat {
	width: 100%;
}
.ohjaajat tbody tr {
	width: 100%;
	border-bottom: 1px solid #d8d8d8;
}
.ohjaajat tbody tr td {
	width: 50%;
	padding-top: 60px;
	padding-bottom: 60px;
}
.ohjaajat tbody tr .td-left {
	width: 65%;
}
.ohjaajat tbody tr .td-right {
	width: 35%;
}
.ohjaajat tbody tr td h2 {
	margin-top: 0;
}
.ohjaajat tbody tr td img {
	padding-bottom: 10px;
}
@media screen and (max-width: 680px) {
	.ohjaajat tbody tr .td-left {
	width: 100%;
	display: block;
	padding-bottom: 0;
}
.ohjaajat tbody tr .td-right {
	width: 100%;
	display: block;
	padding-top: 0;
	padding-bottom: 60px;
	overflow:hidden;
}
.ohjaajat tbody tr td img {
	float: left !important;
	margin-left: 0 !important;

}
}

@media screen and (min-width: 768px) {

	.main-navigation ul li:hover > ul, .main-navigation ul li.focus > ul {
    left: 2em;
    
}
}


.page-numbers,
.page-numbers.current {
    font-size: 15px !important;
    font-family: Open Sans;
}

.custom-header #etusivu-slider #wds_container1_0 #wds_container2_0 {
	z-index: 0;
}

/* asiantuntijat hoveri */
.ohjaajat .td-right {
	position: relative;
}
.ohjaajat .td-right img {
	width: 300px;
	height: 300px;
	float: right;
}
.ohjaajat .td-right img:first-of-type:not(:only-child)  {
	display: none;
}
.ohjaajat .td-right:hover img:first-of-type:not(:only-child) {
	display: block;
}
.ohjaajat .td-right:hover img:nth-of-type(2) {
	display: none;
}