/*master.css 2022*/
:root {
	--eliila: #763ad6;
	--esininen: #11084f;
	--eliilatumma: #5027a3;
	--eliilavaalea: #eae1f9;
	--eharmaavaalea: #eee;
	--evihrea: #cceadb;
	--evalkoinen: #fff;
}
/* HUOM! Jos tyylit (esim. tekstin värit ja koot) halutaan
	näkymään myös sisältöeditorissa, on tarpeelliset tyylit
	järkevintä siirtää jaettuun tyylitiedostoon palvelimelle.
	Em. tyylitiedostot löytyvät Web.config:in
	(CSSFilesPhysicalPath) ilmoittamasta paikasta palvelimelta. */

/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	margin: 0;
	padding: 0
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block
}

body {
	line-height: 1
}

ol, ul {
	list-style: none
}

blockquote, q {
	quotes: none
}

	blockquote:before, blockquote:after, q:before, q:after {
		content: none
	}

table {
	border-collapse: collapse;
	border-spacing: 0
}

/* Fiksailut resetin jälkeen */


b, strong {
	font-weight: bold;
}

i, em {
	font-style: italic;
}

#content h1 {
	margin: 25px 0;
}

#content h2, #content h3, #content h4, #content h5, #content h6 {
	margin: 20px 0;
}

#content p {
	margin: 15px 0;
}

/*Ei toimi halutusti, sillä h1 ei ole suoraan #content:in lapsi. Hoidetaan jQueryllä.*/
/*#content h1:first-child { margin-top: 0; }*/
.no-margin-top {
	margin-top: 0 !important;
}

#content ul, #content ol {
	padding: 0 0 0 30px;
	list-style: disc;
}

#content ol {
	list-style: decimal;
}

/*kustom-bulletit sotkee muita elementtejä, kuten järjestä-valintalistan. Jätetään toistaiseksi pois.*/
/*
#content ol { padding: 0 0 0 30px; list-style: decimal; }
#content ul li
{
	list-style: none;
	background-image: url(/Images/Site/bullet.png);
	background-repeat: no-repeat;
	background-position: 10px 7px;
	padding-left: 30px;
}
*/


#content #school-subjects .data ul.options li.opt {
	list-style: none;
	padding-left: 4%;
}

/* Open Sans Bold*/
@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 700;
	src: url(/Fonts/OpenSans-Bold.eot);
	src: url(/Fonts/OpenSans-Bold.woff) format('woff'), url('/Fonts/OpenSans-Bold.ttf') format('truetype');
}
/* Open Sans Normal */
@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	src: url(/Fonts/OpenSans-Regular.eot);
	src: url(/Fonts/OpenSans-Regular.woff) format('woff'), url('/Fonts/OpenSans-Regular.ttf') format('truetype');
}

@font-face {
	font-family: 'Arvo';
	src: url("/Fonts/Arvo-regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
}

body {
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	color: var(--esininen);
	font-size: 14px;
	line-height: 1.4; /* vastaa 20px, oletus rivikorkeus kaikille elementeille, ei saa muuttaa */
	background: #eeeeee;
}

.important {
	color: #ff0000;
}

.omat-tuotteet-col-right .error-message {
	margin-bottom: 30px;
	margin-top: 20px;
	display: block;
}


/*#content p,
#content table
{
	line-height: 20px;
}
	*/
#content .ingress {
	/*font-family: Georgia, Helvetica, sans-serif;*/
	font-size: 18px;
	line-height: 24px;
	margin-bottom: 25px;
}

a {
	text-decoration: none;
	color: var(--eliila);
}

	a:hover {
		text-decoration: underline;
		color: var(--eliilatumma);
	}

/*.opacity80
{
	zoom: 1;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
	filter: alpha(opacity=80);
	-moz-opacity: 0.8;
	-khtml-opacity: 0.8;
	opacity: 0.8;
}*/

/*
.color-text { color: #222222; }
.color-black { color: var(--esininen); }
.color-blue { color: var(--esininen); }
.color-orange { color: var(--eliila); }
*/

/* -- Painikkeet ----------- */
.styled-button {
	border: none;
	text-align: center;
	text-transform: uppercase;
	background: #9d9d9d;
	color: var(--evalkoinen) !important;
	cursor: pointer;
	/*yliajettavat*/
	display: inline-block;
	height: 26px;
	line-height: 26px;
	padding-left: 10px;
	padding-right: 10px;
	/*estetty iOS:ää pyöristämästä nappien kulmia*/
	-webkit-appearance: none;
	border-radius: 0;
	transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

	.styled-button:hover {
		text-decoration: none;
	}

	.styled-button.big-button {
		height: 38px;
		line-height: 38px;
		padding-left: 17px;
		padding-right: 17px;
	}

	.styled-button.small-button {
		height: 22px;
		line-height: 22px;
		padding-left: 7px;
		padding-right: 7px;
	}

	.button.orange-button, .styled-button.orange-button {
		background: var(--eliila);
	}

	.styled-button.orange-border-button {
		box-shadow: inset 0 0 0 1px var(--eliila);
		background: var(--evalkoinen);
		color: var(--eliila) !important;
		box-sizing: border-box;
		/*margin-left:10px;*/
	}

	.styled-button.black-button {
		background: var(--esininen);
	}
	/*timecms*/
	.styled-button.blue-button {
		background: var(--eliila);
	}

	.styled-button.disabled-button {
		background: #aaa;
		cursor: default;
		pointer-events: none;
	}


#content h1 {
	color: var(--esininen);
	font-size: 26px;
	line-height: 32px;
	/*font-family: Georgia, Helvetica, sans-serif;*/
}

#content h2 {
	color: var(--esininen);
	font-size: 24px;
	line-height: 30px;
	/*font-family: Georgia, Helvetica, sans-serif;*/
}

#content h3 {
	color: var(--esininen);
	font-size: 22px;
	line-height: 28px;
	/*font-family: Georgia, Helvetica, sans-serif;*/
}

#content h4 {
	color: var(--esininen);
	font-size: 18px;
	line-height: 24px;
	/*font-family: Georgia, Helvetica, sans-serif;*/
}

.clear-div {
	clear: both !important;
	float: none !important;
	height: 1px !important;
	overflow: hidden !important;
	border: none !important;
}

.width-limit-wrapper {
	/*min-width oli aiemmin width-limit-outer -luokassa*/
	min-width: 320px; /*mobiilitila desktopissa kaventamalla: kommentoi tämä rivi, mikäli halutaan käyttöön*/
}

.width-limit-outer {
	max-width: 1395px;
	height: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 10px;
	padding-right: 10px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

@media only screen and (min-width: 768px) {
	.width-limit-outer {
		padding-left: 20px;
		padding-right: 20px;
	}
}

.width-limit-inner {
	height: 100%;
	position: relative;
}

a.mini-close {
	display: block;
	width: 25px;
	height: 25px;
	line-height: 25px;
	text-align: center;
	background: var(--evalkoinen);
	color: var(--esininen);
	border: 2px solid var(--esininen);
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
}

	a.mini-close.white {
		background: var(--esininen);
		color: var(--evalkoinen);
		border-color: var(--evalkoinen);
	}

	a.mini-close:after {
		content: 'X';
	}

	a.mini-close:hover {
		text-decoration: none;
	}

#mobile_header {
	display: none;
	height: 45px;
	background: var(--esininen);
}

#mobile_menu > a {
	position: absolute;
	top: 0;
	left: -10px;
	display: block;
	width: 45px;
	height: 100%;
	/*background: var(--esininen);*/
	color: var(--evalkoinen);
	font-size: 200%;
	text-align: center;
	/*border: 1px solid #eeeeee;
	border-top: none;
	border-bottom: none;*/
	/*-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;*/
}

#mobile_menu.active > a {
	/*	background: var(--evalkoinen);
	color: var(--esininen);*/
}

#mobile_menu > a span {
	display: block;
	width: 30px;
	height: 4px;
	background: var(--evalkoinen);
	margin-top: 6px;
	margin-left: auto;
	margin-right: auto;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

	#mobile_menu > a span:first-child {
		margin-top: 10px;
	}

#mobile_menu.active > a span {
	background: var(--eliila);
	/*background: var(--esininen);*/
}

#mobile_menu a.special {
	color: var(--evalkoinen) !important;
	background: var(--eliilavaalea);
}

#mobile_menu > ul {
	display: none;
	z-index: 1;
	position: absolute;
	top: 45px;
	left: -10px;
	background: var(--evalkoinen);
	-moz-box-shadow: 0px 8px 15px 0px rgba(0,0,0,0.3);
	-webkit-box-shadow: 0px 8px 15px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 8px 15px 0px rgba(0,0,0,0.3);
}

#mobile_menu.active > ul {
	display: block;
}

#mobile_menu ul a {
	position: relative;
	display: block;
	text-transform: uppercase;
	font-size: 17px;
	font-family: 'Open Sans', Helvetica, Arial, sans-serif; /* Ohut fontti */
	font-weight: 400;
	width: 280px; /*kasvata, jos tarvitaan täysleveä menu -> kasvatettu 20px*/
	height: 45px;
	line-height: 45px;
	padding-left: 20px;
	padding-right: 20px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	border-top: 1px solid #ddd;
	color: var(--esininen);
}

#mobile_menu ul > li:first-child > a {
	border-top: none;
}
/*toinen taso*/
#mobile_menu > ul > li > ul {
	display: none;
}

	#mobile_menu > ul > li > ul > li > a {
		font-size: 12px;
		font-family: Arial, Verdana, sans-serif;
		background: #f9f9f9;
		color: #333;
	}
	/*yläreunan varjo*/
	#mobile_menu > ul > li > ul > li:first-child > a {
		-webkit-box-shadow: inset 0 10px 10px -10px rgba(0,0,0,0.3);
		-moz-box-shadow: inset 0 10px 10px -10px rgba(0,0,0,0.3);
		box-shadow: inset 0 10px 10px -10px rgba(0,0,0,0.3);
	}
	/*alareunan varjo*/
	#mobile_menu > ul > li > ul > li.last > a {
		-webkit-box-shadow: inset 0 10px 10px -10px rgba(0,0,0,0.3);
		-moz-box-shadow: inset 0 10px 10px -10px rgba(0,0,0,0.3);
		box-shadow: inset 0 -10px 10px -10px rgba(0,0,0,0.3);
	}
		/*tokalla tasolla: viimeiselle avatulle elementille ei näytetä alavarjoa*/
		#mobile_menu > ul > li > ul > li.last > a.expanded {
			-webkit-box-shadow: none;
			-moz-box-shadow: none;
			box-shadow: none;
		}
	/*kolmas taso*/
	#mobile_menu > ul > li > ul > li > ul {
		display: none;
	}

		#mobile_menu > ul > li > ul > li > ul > li > a {
			font-size: 11px;
			font-family: Arial, Verdana, sans-serif;
			background: #f1f1f1;
			color: #666;
		}
		/*yläreunan varjo*/
		#mobile_menu > ul > li > ul > li > ul > li:first-child > a {
			-webkit-box-shadow: inset 0 10px 10px -10px rgba(0,0,0,0.3);
			-moz-box-shadow: inset 0 10px 10px -10px rgba(0,0,0,0.3);
			box-shadow: inset 0 10px 10px -10px rgba(0,0,0,0.3);
		}
		/*alareunan varjo*/
		#mobile_menu > ul > li > ul > li > ul > li.last > a {
			-webkit-box-shadow: inset 0 10px 10px -10px rgba(0,0,0,0.3);
			-moz-box-shadow: inset 0 10px 10px -10px rgba(0,0,0,0.3);
			box-shadow: inset 0 -10px 10px -10px rgba(0,0,0,0.3);
		}
		/*kolmannella tasolla: elementti on ainoa elementti, eli eka ja vika: näytetään molemmat varjot*/
		#mobile_menu > ul > li > ul > li > ul > li.last:first-child > a {
			-webkit-box-shadow: inset 0 10px 10px -10px rgba(0,0,0,0.3), inset 0 10px 10px -10px rgba(0,0,0,0.3);
			-moz-box-shadow: inset 0 10px 10px -10px rgba(0,0,0,0.3), inset 0 10px 10px -10px rgba(0,0,0,0.3);
			box-shadow: inset 0 10px 10px -10px rgba(0,0,0,0.3), inset 0 -10px 10px -10px rgba(0,0,0,0.3);
		}

#mobile_menu ul a:hover {
	text-decoration: none;
}

/*ensimmäinen taso*/
#mobile_menu > ul > li > a.selected {
	font-weight: bold;
}
/*toinen taso*/
#mobile_menu > ul > li > ul > li a.selected {
	color: var(--esininen);
}
/*expandereita on kahdessa tasossa*/
#mobile_menu ul > li > a > i.expander {
	position: absolute;
	top: 0;
	right: 0;
	display: block;
	width: 45px;
	height: 45px;
	line-height: 45px;
	text-align: center;
	border-left: 1px solid #ddd;
	color: #999;
	font-size: 21px;
	font-style: normal;
	cursor: pointer;
	font-weight: normal;
}

#mobile_menu li.show-cart {
	display: none;
}

	#mobile_menu li.show-search a,
	#mobile_menu li.show-cart a {
		font-size: 13px;
	}
		/*#header_top a.show-search i*/ /*yläpalkin responsiivinen kuvake*/
		#mobile_menu li.show-search a i {
			display: inline-block;
			width: 16px !important;
			height: 16px !important;
			background: url(/Pics/search.png);
			background-image: url(/Pics/search-v22.svg), none;
			background-size: 100% 100%;
			margin-right: 10px;
			margin-bottom: -2px;
		}

		#mobile_menu li.show-cart a i {
			display: inline-block;
			width: 16px !important;
			height: 16px !important;
			background: url(/Pics/ostoskori.png);
			background-image: url(/Pics/ostoskori-v22.svg), none;
			background-size: 100% 100%;
			margin-right: 10px;
			margin-bottom: -2px;
		}


#mobile_search {
	display: none;
	height: 45px;
	border-top: 1px solid var(--evalkoinen);
	background: var(--esininen);
}

	#mobile_search a.mini-close {
		position: absolute;
		top: 8px;
		right: 0;
	}

#header_top {
	height: 88px;
	background: var(--evalkoinen);
	position: relative;
	z-index: 2;
}

.site-logo {
	display: block;
	margin-top: 4px;
	width: 150px;
	height: 50px;
	margin-left: 20px;
	/*background: url(/Pics/editashop-logo.png);*/
	background: url(/Pics/edilex_blue.png) left center no-repeat;
	background-size: contain;
}
/*
@media only screen and (min-width: 768px) {

	.site-logo:after {
		display: block;
		content: "Verkkokauppa";
		margin-left: 29px;
		width: 150px;
		height: 50px;
		line-height: 120px;
		text-align: left;
		vertical-align: top;
		color: #000;
		float: left;
	}
}

@media only screen and (min-width: 900px) {
	.site-logo:after {
		margin-left: 138px;
		line-height: 55px;
	}
}
*/


#header_top .site-logo {
	position: absolute;
	top: 15px;
	left: 0;
}

#mobile_header .site-logo {
	position: relative;
	top: 9px;
	height: 28px;
	margin-left: auto;
	margin-right: auto;
	background: url(/Pics/edilex_white.png) center center no-repeat;
}

#top_menu {
	position: absolute;
	bottom: 0;
	right: 380px; /*ent. 20% | 255px;*/
}

	#top_menu > ul > li {
		float: left;
		margin-left: 5px;
	}

	#top_menu > ul ul {
		display: none;
	}

	#top_menu a {
		display: block;
		height: 88px;
		line-height: 88px;
		padding-left: 10px;
		padding-right: 10px;
		color: var(--esininen);
		font-size: 1.1em;
	}

		#top_menu a:first-child {
			margin-left: 0;
		}

		#top_menu a.selected {
			color: var(--esininen);
			background: var(--evalkoinen);
		}

		#top_menu a:hover {
			text-decoration: none;
			color: var(--esininen);
			background: var(--evalkoinen);
		}

.search-wrapper {
	position: absolute;
	top: 8px;
	/*background:red;*/
}

#header_top .search-wrapper {
	position: absolute;
	top: 8px;
	/*right: 190px;*/
	/*right: 12.5%;*/
	right: 11%;
	width: 22%;
	/*width: 210px;*/
}
/*
#header_top a.show-search
{
	display: none;

	position: absolute;
	top: 11px;
	right: 13.5%;

	width: 25px;
	height: 25px;
	line-height: 25px;
	text-align: center;

	border: 2px solid var(--eliila);

	-webkit-border-radius: 30px;
	-moz-border-radius: 30x;
	border-radius: 30px;
}
#header_top a.show-search i
{
	margin: 0;
	margin-top: 4px;
}*/

#mobile_search .search-wrapper {
	width: 85%;
}

.search-wrapper input[type="text"] {
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	height: 28px; /* + border  = 26px */
	padding-left: 5px;
	padding-right: 22px;
	background-color: var(--evalkoinen);
	border: 1px solid #ccc;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

.search-wrapper > input[type="submit"] {
	position: absolute;
	top: 6px;
	right: 5px;
	display: block;
	width: 16px;
	height: 16px;
	border: none;
	background-color: var(--evalkoinen);
	background: url(/Pics/search.png);
	background-image: url(/Pics/search-v22.svg), none;
	background-size: 100% 100%;
}

/*hakuboksi*/
ul.ui-autocomplete.ui-menu {
	display: none;
	position: absolute;
	top: 30px;
	left: 0;
	z-index: 110;
	/*width: 150px;*/
	background: var(--evalkoinen);
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	-moz-box-shadow: 0px 8px 15px 0px rgba(0,0,0,0.3);
	-webkit-box-shadow: 0px 8px 15px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 8px 15px 0px rgba(0,0,0,0.3);
}

	ul.ui-autocomplete.ui-menu li a {
		display: block;
		width: 100%;
		height: 35px;
		line-height: 35px;
		padding-left: 10px;
		padding-right: 10px;
		border: 1px solid var(--evalkoinen);
		-webkit-border-radius: 0px;
		-moz-border-radius: 0px;
		border-radius: 0px;
		color: var(--esininen);
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		box-sizing: border-box;
	}

		ul.ui-autocomplete.ui-menu li a:hover,
		ul.ui-autocomplete.ui-menu li a.ui-state-focus {
			border: 1px solid var(--esininen);
			color: var(--evalkoinen);
			background: var(--esininen);
			text-decoration: none;
			-webkit-border-radius: 0px;
			-moz-border-radius: 0px;
			border-radius: 0px;
			cursor: pointer;
		}

/* login-tyylit siirretty -> login.css */

#header_bottom {
	position: relative;
	height: 58px;
	background: var(--evalkoinen);
}



#sub_menu {
	position: relative;
	padding-left: 20px;
	padding-right: 20px;
	line-height: 20px;
	/*top: 0;
	left: 0;*/
	/*background: red;*/
}

	#sub_menu a {
		color: var(--esininen);
		/*-webkit-transition: all 150ms ease-in-out;
	-moz-transition: all 150ms ease-in-out;
	-ms-transition: all 150ms ease-in-out;
	transition: all 150ms ease-in-out;*/
	}

		#sub_menu a:hover {
			text-decoration: none;
			color: var(--eliila);
		}

		#sub_menu a.special, #sub_menu a > span.special {
			/*# ilmoittaudu-linkki piilotettu valikoista, koska ilmoittautuminen tapahtuu ulkoisessa palvelussa*/
			/*--*/
			display: none !important;
			/*--*/
			color: var(--evalkoinen) !important;
			background: var(--eliila);
		}

		#sub_menu a > span.special {
			padding-left: 5px;
			padding-right: 5px;
		}
		/* Verkkopalvelut, ulkoiset linkit menussa */
		#sub_menu a.external:after {
			content: '';
			display: inline-block;
			width: 13px;
			height: 13px;
			background-image: url(/Pics/external-link-black.svg), none;
			background-size: 100% 100%;
			margin-left: 5px;
		}

		#sub_menu a.external:hover:after {
			background-image: url(/Pics/external-link-gray.svg), none;
			background-size: 100% 100%;
		}

#mobile_menu a.external:after {
	content: '';
	display: inline-block;
	width: 16px;
	height: 16px;
	background-image: url(/Pics/external-link-gray.svg), none;
	background-size: 100% 100%;
	margin-left: 5px;
	position: relative;
	top: 2px;
}

/* tartteeko li floatteja clearata?*/
/*
		#sub_menu > ul
		{
			overflow: hidden;
		}*/

/* prefixed by https://autoprefixer.github.io (PostCSS: v7.0.23, autoprefixer: v9.7.3) */

#sub_menu > ul {
	width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
}

	#sub_menu > ul > li {
		-ms-flex-preferred-size: auto;
		flex-basis: auto;
		flex: 1;
	}

		/* # valikon päätasojen "padding" -> fiksataan 1. elementin kokoa */
		#sub_menu > ul > li.first {
			flex: none;
			display: block;
			/*hienosäätöä, paras arvaus*/
			width: 13%;
		}

			#sub_menu > ul > li.first > a {
				padding-left: 0;
			}

		#sub_menu > ul > li:nth-child(3) {
			-ms-flex-item-align: start;
			align-self: flex-start;
		}
	/* substitute class names you are using for those used above */


	#sub_menu > ul > li {
		height: 38px;
		/*float: left;
	margin-left: 5px;*/
	}

		#sub_menu > ul > li.independent-menu-item {
			display: none;
		}

		#sub_menu > ul > li:first-child {
			margin-left: 0;
		}

		#sub_menu > ul > li > a {
			display: block;
			/*height: 88px;
			line-height: 88px;*/
			padding-left: 8px; /*ent. 15px*/
			padding-right: 8px; /*ent. 15px*/
			/*background: #eee;*/
			text-transform: uppercase;
			font-size: 1.2em; /*ent.26px*/
			/*font-family: 'Raleway', Helvetica, Arial, sans-serif; /* Ohut fontti */
			font-weight: 400;
			/* # valikon päätasojen "padding" -> muut elementit, teksti keskelle */
			/* -- */
			text-align: center;
			/*border-right: 1px solid pink;*/
			/* -- */
		}

		/* # valikon päätasojen "padding" -> 1. elementin teksti vasemmalle poikkeuksellisesti */
		#sub_menu > ul > li.first > a {
			text-align: left;
		}

		/* # valikon päätasojen "padding" -> alasvetovalikon sisältö, palautetaan tekstin align */
		#sub_menu > ul > li > a > div {
			text-align: left;
		}

		#sub_menu > ul > li > a.selected {
			color: var(--eliila);
			/*background: var(--esininen);*/
		}

/*
#sub_menu li ul
{
	display: none;

	position: absolute;
	background: var(--evalkoinen);
	z-index: 1;
	-moz-box-shadow: 0px 8px 15px 0px rgba(0,0,0,0.3);
	-webkit-box-shadow: 0px 8px 15px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 8px 15px 0px rgba(0,0,0,0.3);
}
*/

#sub_menu li li a {
	display: block;
	min-width: 150px;
	max-width: 250px;
	height: 35px;
	line-height: 35px;
	padding-left: 20px;
	padding-right: 20px;
	text-transform: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}



#header_cart {
	position: absolute;
	top: 19px;
	right: 120px;
	display: block;
	width: 220px; /* leiskan muk. 230px */
	height: 50px;
	background: url(/Pics/ostoskori.png);
	background-image: url(/Pics/ostoskori-v22.svg), none;
	background-size: 50px 50px;
	background-repeat: no-repeat;
	background-position: right top;
	font-size: 1em;
	/*overflow: hidden;*/
}

	#header_cart p {
		position: absolute;
		top: 0;
		left: 0;
		display: table; /* multiline-keskitys */
		width: 100%;
		height: 100%;
		line-height: 50px;
		color: var(--esininen);
		font-size: 11px;
		text-transform: uppercase;
	}

	#header_cart a:hover {
		text-decoration: none;
	}

	#header_cart p a {
		display: table-cell; /* multiline-keskitys */
		vertical-align: middle;
		color: #222222;
		line-height: 15px;
	}

		#header_cart p a span {
			display: block;
			color: var(--eliila);
		}

#cart_preview {
	display: none;
	position: absolute;
	top: 55px;
	right: 0px;
	width: 390px;
	z-index: 1;
	padding: 15px;
	background: var(--evalkoinen);
	/*border lisätty poikkeuksellisesti, sillä osoittain valkoisella taustalla*/
	border: 1px solid #f5f5f5;
	-moz-box-shadow: 0px 8px 15px 0px rgba(0,0,0,0.3);
	-webkit-box-shadow: 0px 8px 15px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 8px 15px 0px rgba(0,0,0,0.3);
	text-transform: none;
}

	#cart_preview div.product {
		position: relative;
		border-top: 1px solid #d4d4d4;
		padding-top: 15px;
		margin-top: 15px;
	}

		#cart_preview div.product:first-child {
			border-top: none;
			padding-top: 0;
			margin-top: 0;
		}

	#cart_preview a:hover {
		text-decoration: none;
	}

	#cart_preview img {
		width: 60px;
		min-height: 60px;
		/*ei kuvaa -kuva voi olla transparent*/
		/*background: var(--eliila);*/
	}

	#cart_preview .text {
		position: absolute;
		top: 15px;
		left: 70px;
		padding-bottom: 40px;
		margin-left: 5px;
		margin-right: 50px;
		color: var(--esininen);
	}

	#cart_preview .price {
		position: absolute;
		top: 15px;
		right: 0;
		color: var(--esininen);
		text-align: right;
	}

	#cart_preview div.product:first-child .text,
	#cart_preview div.product:first-child .price {
		top: 0;
	}

	#cart_preview div.buttons {
		margin-top: 25px;
		text-align: right;
	}

		#cart_preview div.buttons .styled-button {
			display: inline-block;
			height: 26px;
			line-height: 26px;
			padding-left: 10px;
			padding-right: 10px;
		}

	#cart_preview .black-button {
		margin-right: 10px;
	}

#cart_info {
	display: none;
	position: fixed;
	top: 10px;
	right: 10px;
	width: 390px;
	z-index: 110;
	padding: 15px;
	background: var(--evalkoinen);
	-moz-box-shadow: 0px 8px 15px 0px rgba(0,0,0,0.3);
	-webkit-box-shadow: 0px 8px 15px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 8px 15px 0px rgba(0,0,0,0.3);
}

	#cart_info a:hover {
		text-decoration: none;
	}

	#cart_info img {
		width: 90px;
		min-height: 90px;
		/*ei kuvaa -kuva voi olla transparent*/
		/*background: var(--eliila);*/
	}

	#cart_info .text {
		position: absolute;
		top: 15px;
		left: 110px;
		padding-bottom: 40px;
		margin-left: 5px;
		margin-right: 10px;
		color: var(--esininen);
		text-transform: none;
	}

	#cart_info .styled-button {
		position: absolute;
		bottom: 15px;
		right: 15px;
		display: block;
		height: 26px;
		line-height: 26px;
		padding-left: 10px;
		padding-right: 10px;
	}

	#cart_info a.mini-close {
		position: absolute;
		top: -10px;
		right: -10px;
	}

#header_bottom .haku {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	height: 18px;
	width: 30px;
	background: url(/Pics/search-v22.svg) center center no-repeat;
	background-size: 18px 18px;
	/*background-color: pink;*/
}

#content {
	/*padding-top: 25px;*/
	padding-bottom: 25px;
}

	#content.front-page-content {
		/*padding-top: 50px;*/
		padding-bottom: 50px;
	}

.col-left-outer {
	float: left;
	width: 100%;
	/*min-width: 340px;*/ /*ei toimi*/
}

.col-left-inner {
	margin-right: 340px; /* sama kuin col-right width + haluttu margin */
	/* ehkäpä marginia ei kannata lisätä tähän, sillä ainakin etusivun sisällöllä on omat marginit valmiiksi */
	/*background: #aaa;*/
	min-height: 1px; /*tarvitaan, jos sisältö ei ole ollenkaan*/
}

.col-right {
	float: left;
	width: 340px;
	margin-left: -340px; /* sama kuin col-right width negatiivisena */
	/*background: azure;*/
}

.wrapper-box {
	position: relative;
	padding: 20px;
	margin-top: 20px;
	/*overflow: hidden;*/ /*sisällä on esim. dropdowneja joiden listat katkeaa*/
}
	/*#e_payment_container
{
	position: static !important;

}*/
	.wrapper-box:first-child {
		margin-top: 0px;
	}

.col-left-inner .wrapper-box {
	margin-right: 20px;
}

.wrapper-box > span.title {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	height: 22px;
	line-height: 22px;
	padding-left: 8px;
	padding-right: 8px;
	background: var(--esininen);
	color: var(--evalkoinen);
	text-transform: uppercase;
}


.wrapper-box.transparent {
	padding: 0;
	background: none;
}


.wrapper-box.white {
	background: var(--evalkoinen);
}

/*.wrapper-box.orange
{
	background: var(--eliila);
	color: var(--evalkoinen);
}*/

.wrapper-box.black {
	background: var(--esininen);
	color: var(--evalkoinen);
}

/* -- tuotesivu - koulutus -- */
/* otsikko */
.product-page .wrapper-box.black h3 {
	/*font-family: Arial, Verdana, sans-serif !important;*/
	font-size: 14px !important;
	line-height: 1.4 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	text-transform: uppercase;
}
/* teksti */
.product-page .wrapper-box.black p {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* Ilmoittaudu-painike */
.training-registration-container-2 a {
	display: block;
	height: 45px !important;
	line-height: 45px !important;
}

/* -- tuotesivu - kirja -- */
/* otsikko */
.product-page .wrapper-box.black table tr td:first-child {
	padding-top: 20px;
	padding-right: 20px;
	color: var(--esininen);
	text-transform: uppercase;
}
/* teksti */
.product-page .wrapper-box.black table tr:first-child td:first-child {
	padding-top: 0;
}

.product-page .product-type-container {
	margin-top: -22px;
}

.product-page .product-type-container-hidden {
	display: none;
}

.product-page .product-type {
	height: 15px;
	line-height: 15px;
	padding-left: 5px;
	padding-right: 5px;
	background: var(--esininen);
	color: var(--evalkoinen);
	text-transform: uppercase;
	font-size: 11px;
	text-align: center;
}

.quote-symbol {
	float: right;
	display: block;
	height: 40px;
	line-height: 1;
	margin-top: -10px;
	padding-top: 0;
	font-size: 700%;
	overflow: hidden;
}

	.quote-symbol:after {
		content: '“';
	}

.front-page-box {
	float: left;
	width: 50%;
	min-height: 270px;
	margin-bottom: 20px;
}

.front-page-box-inner {
	position: relative;
	/*border: 15px solid var(--evalkoinen);*/
	margin-right: 20px;
	margin-bottom: 20px;
	overflow: hidden;
	background: var(--evalkoinen);
	height: 240px;
	/*kommentoitu, sillä aiheutti ongelmia sisällön näkymisen kanssa, eikä tyhjää tilaa enää näkynyt*/
	/*line-height: 0;*/ /*nollataan line-height, boksiin jää muuten tyhjää tilaa kuvan alle*/
}

.square-boxes .front-page-box {
	height: auto;
	min-height: 270px;
	/*padding-top: 33%;*/
}

	.square-boxes .front-page-box > .square-box {
		padding-top: 100%;
		width: 100%;
		position: relative;
	}

		.square-boxes .front-page-box > .square-box > div {
			position: absolute;
			left: 0;
			right: 0;
			top: 0;
			bottom: 0;
			height: auto !important;
		}

/* "kolmen sarakkeen" ländäri */
.three-col-front-page-box-wrapper .front-page-box {
	width: 33.333333%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
	/*muokataan näkymä marginien kanssa*/
	.three-col-front-page-box-wrapper .front-page-box .front-page-box-inner {
		margin-right: 0;
	}

	.three-col-front-page-box-wrapper .front-page-box.left {
		padding-right: 14px;
	}

	.three-col-front-page-box-wrapper .front-page-box.middle {
		padding-left: 7px;
		padding-right: 7px;
	}

	.three-col-front-page-box-wrapper .front-page-box.right {
		padding-left: 14px;
	}
/*--*/

/*sisältöalue kampanjasivupohjan oikeassa reunassa; kuvaboksin margin on turha*/
#content.campaign-page-content .front-page-box-inner {
	margin-right: 0;
}
/*--*/

.front-page-box-inner img {
	width: 100%;
	height: auto;
}

.front-page-box-inner a > span {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	display: block;
	padding-left: 13px;
	padding-right: 13px;
	padding-top: 8px;
	padding-bottom: 8px;
	color: var(--evalkoinen);
	line-height: 1.4;
}

	.front-page-box-inner a > span.wide {
		/*
	background: #eee;
	color:#000;
	*/
		background: var(--evalkoinen);
		color: var(--eliila);
		font-weight: bold;
		padding: 20px;
		text-align: center;
		min-height: 38px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

		.front-page-box-inner a > span.wide > span {
		}

	.front-page-box-inner a > span.narrow {
		text-align: center;
	}

		.front-page-box-inner a > span.narrow > span {
			display: inline-block;
			padding: 8px;
			margin-bottom: 10px;
			/*
	background: #eee;
	color:#000;
	*/
			background: var(--eliila);
			color: var(--evalkoinen);
		}

/* Perus tekstisisältösivu */
.generic-content-wrapper-box {
	max-width: 700px;
	padding: 20px;
	background: var(--evalkoinen);
	margin-top: 20px;
}

	.generic-content-wrapper-box:first-child {
		margin-top: 0;
	}

.blank-content-wrapper-box {
}

#footer {
	padding-top: 30px;
	padding-bottom: 65px;
	color: var(--evalkoinen);
	font-size: 12px;
	line-height: 18px;
	background: var(--esininen);
	/*background: yellow;*/
}

	#footer a {
		color: var(--evalkoinen);
	}

		#footer a.evasteasetuksetBtn {
			color: var(--evalkoinen);
			font-size: 12px;
			padding: 0px;
			border: 0px;
			text-transform: uppercase;
			line-height: 18px;
		}

			#footer a.evasteasetuksetBtn:hover {
				text-decoration: underline;
				background-color: initial;
			}

.footer-col {
	float: left;
	width: 33.3333%;
}

	.footer-col.last {
		padding-left: 10px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

.footer-logo {
	display: block;
	margin-top: 15px;
	/*margin-left: -9px;*/
	width: 150px;
	height: 50px;
	background: url(/Pics/edilex_white.png);
	background-image: url(/Pics/edilex_white.png), none;
	background-size: contain;
	background-repeat: no-repeat;
}

/* tuotteet */
#product_list_top {
	position: relative;
	margin-bottom: 30px;
	padding-bottom: 20px;
	/*background: green;*/
}

.product-info-text {
	color: #a9a9a9;
	margin-bottom: 25px;
}

#product_filters a {
	display: inline-block;
	height: 26px;
	line-height: 26px;
	padding-left: 10px;
	padding-right: 10px;
	margin-right: 10px;
	margin-bottom: 10px;
	background: var(--evalkoinen);
	color: var(--esininen);
	overflow: hidden;
}
	/*lisätyylimääre alatason filtteriin: reuna lisätty, ja sen myötä kokoa pienennetty*/
	#product_filters a.sub-filter {
		border: 1px solid var(--esininen);
		height: 24px;
		line-height: 24px;
		padding-left: 9px;
		padding-right: 9px;
	}

	#product_filters a.selected {
		color: var(--evalkoinen);
		background: var(--eliila);
	}

	#product_filters a:hover {
		/*tuotelistan filtterit -> hover-värit lisätään erikseen vain desktopille*/
		text-decoration: none;
	}

	#product_filters a.special {
		/*# ilmoittaudu-linkki piilotettu valikoista, koska ilmoittautuminen tapahtuu ulkoisessa palvelussa*/
		/*--*/
		display: none !important;
		/*--*/
		color: var(--evalkoinen) !important;
		background: var(--eliila);
	}

	#product_filters a.exclude-from-search {
		background: #aaa;
	}

.product-list-pager {
}

	.product-list-pager .pager-button {
		display: inline-block;
		width: 26px;
		height: 26px;
		line-height: 26px;
		background-color: var(--evalkoinen);
		color: var(--esininen);
		padding-left: 5px;
		padding-right: 5px;
		text-align: center;
		cursor: pointer;
		margin-right: 1px;
		/*responsiivisuus*/
		margin-top: 1px;
		/*estetään tekstin ylivuoto*/
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

		.product-list-pager .pager-button.bigger-text {
			font-size: 1.2em;
		}

		.product-list-pager .pager-button:hover {
			background: var(--eliila);
			color: var(--evalkoinen);
			text-decoration: none;
		}

		.product-list-pager .pager-button.disabled {
			opacity: 0.5;
			pointer-events: none;
		}

		.product-list-pager .pager-button.selected {
			background: var(--eliila);
			color: var(--evalkoinen) !important;
		}

#product_list_tools {
	text-align: right;
}

	#product_list_tools > .div {
		display: inline-block;
		margin-top: 10px;
		text-align: left;
	}

		#product_list_tools > .div > span,
		#product_list_tools > .div > .dropdown {
			display: inline-block;
			text-transform: uppercase;
			line-height: 35px;
			font-size: 11px;
			vertical-align: middle;
		}

		#product_list_tools > .div > span {
			margin-left: 10px;
			margin-right: 5px;
		}

		#product_list_tools > .div > .dropdown {
			width: 140px;
		}

			#product_list_tools > .div > .dropdown .selected,
			#product_list_tools > .div > .dropdown li {
				font-size: 14px;
			}

#product_list_load_animation {
	text-align: center;
	padding: 25px;
	background: var(--evalkoinen);
	margin-right: 20px;
	margin-bottom: 20px;
}

.product-box {
	position: relative;
	float: left;
	width: 215px;
	height: 400px; /*TODO: Peter korjaa tää*/
	padding: 20px;
	margin-right: 20px;
	margin-bottom: 20px;
	background: var(--evalkoinen);
}


.product-box {
	/*
background: -moz-linear-gradient(-45deg,  rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 85%, rgba(0,0,0,0) 100%);
background: -webkit-linear-gradient(-45deg,  rgba(0,0,0,0.05) 0%,rgba(0,0,0,0) 85%,rgba(0,0,0,0) 100%);
background: linear-gradient(135deg,  rgba(0,0,0,0.05) 0%,rgba(0,0,0,0) 85%,rgba(0,0,0,0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0d000000', endColorstr='#00000000',GradientType=1 );
*/
}

	.product-box .type {
		position: absolute;
		top: 0;
		right: 0;
		display: block;
		height: 15px;
		line-height: 15px;
		padding-left: 5px;
		padding-right: 5px;
		background: var(--esininen);
		color: var(--evalkoinen);
		text-transform: uppercase;
		font-size: 11px;
	}

	.product-box .product-type {
		position: absolute;
		left: 0;
		right: 0;
		margin-top: 5px;
		display: block;
		height: 15px;
		line-height: 15px;
		padding-left: 5px;
		padding-right: 5px;
		background: var(--esininen);
		color: var(--evalkoinen);
		text-transform: uppercase;
		font-size: 11px;
		margin-left: 15px;
		margin-right: 15px;
		text-align: center;
	}

	.product-box img {
		display: block;
		margin-left: auto;
		margin-right: auto;
		/*ei kuvaa -kuva voi olla transparent*/
		/*background: var(--eliila);*/
	}
		/*koulutus*/
		.product-box img.landscape {
			width: 200px;
			max-height: 150px; /*speksattu korkeus: 150px*/
		}
		/*kirja, digikirja*/
		.product-box img.portrait {
			height: 190px;
			max-width: 200px; /*speksattu leveys: 150px*/
		}

	.product-box .title {
		position: absolute;
		top: 240px;
		left: 15px;
		display: block;
		width: 190px; /*TODO: Peter korjaa tää*/
		max-height: 51px;
		line-height: 17px;
		overflow: hidden;
		color: #222222;
	}

	.product-box a:hover .title {
		text-decoration: underline;
	}

	.product-box .title-tag {
		position: absolute;
		top: 3px;
		left: 15px;
		color: var(--eliila);
		font-size: 11px;
		text-transform: uppercase;
	}

	.product-box .price-container {
		position: absolute;
		bottom: 15px;
		left: 15px;
		display: block;
	}
/*tarjoushinta*/
.price-container .offer {
	line-height: 10px;
	color: var(--eliila);
}
/*hinta*/
.price-container .price {
}
/*normihinta*/
.price-container .normal-price {
	line-height: 10px;
	color: #666;
	text-decoration: line-through;
}
/*alv*/
.price-container .vat {
	color: #999 !important;
}

.product-box .add-to-cart-wrapper {
	position: absolute;
	bottom: 14px; /*1px clearer pohjalla*/
	right: 15px;
}

	.product-box .add-to-cart-wrapper .dropdown,
	.product-box .add-to-cart-wrapper .manual-count-input {
		display: none;
	}

.product-box .styled-button {
	display: block;
	height: 26px;
	line-height: 26px;
	padding-left: 8px;
	padding-right: 8px; /*TODO: Peter korjaa tää*/
	font-size: 12px;
}

/*.product-box .styled-button.add-to-cart-button:after
{
	content: 'Lisää ostoskoriin';
}

.product-box .styled-button.register-button:after
{
	content: 'Ilmoittaudu';
}*/

/* # Digikirjasto */
/* Tyyli eroaa muista bokseista */
/* -- */
.product-box.product-box-digikirjasto .title {
	font-weight: bold;
	text-align: center;
}

/*.product-box.product-box-digikirjasto.product-box .price-container {
	bottom: 50px;
	left: auto;
	width: 215px;
	text-align: center;
}*/
/* -- */

.product-page-buy {
	padding-top: 10px;
	padding-bottom: 20px;
}

	.product-page-buy .dropdown,
	.product-page-buy .manual-count-input {
		float: left;
		width: 65px;
		margin-right: 10px;
	}

	.product-page-buy .manual-count-input {
		height: 38px;
		border: 1px solid #ccc;
		border-radius: 2px;
		padding-left: 12px;
		font-size: 18px;
		line-height: 1;
		color: #000;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	.product-page-buy .school-year-select-wrapper {
		margin-bottom: 10px;
	}

		.product-page-buy .school-year-select-wrapper:before {
			content: 'Valitse lukuvuosi:';
		}

		.product-page-buy .school-year-select-wrapper .dropdown {
			float: none;
			width: 150px;
			margin-right: 0;
		}

	.product-page-buy .styled-button {
		float: left;
		padding: 0 10px; /*kavennettu jotta mahtuu myös mobiilinäkymässä*/
		margin-right: 10px;
	}

.item-price-additional {
	padding-top: 10px;
}

/* # Digikirjasto */
/* Erikoistyylit Digikirjasto-tuotteelle */
/* ------------- */
/*
body.product-page-digikirjasto-product .image-container {
	margin-top: 40px;
	margin-bottom: 40px;
}
*/

body.product-page-digikirjasto-product .product-info-container {
	/*muutetaan elementtien välistyksiä*/
	margin-top: 10px;
}

	body.product-page-digikirjasto-product .product-info-container + .show-all-button {
		/*nappia ei tarvita, sillä mitää ei ole piilossa*/
		display: none;
	}

	body.product-page-digikirjasto-product .product-info-container .data-table td {
		/*lisää väliä taulukon elementteihin*/
		padding-top: 10px;
		padding-bottom: 10px;
	}

	body.product-page-digikirjasto-product .product-info-container ul {
		/*sisältöalueessa olevasta hinta-listasta sisennys pois*/
		padding-left: 20px !important;
	}

body.product-page-digikirjasto-product .content-area-main-1 {
	margin-top: 40px;
}

.price-and-info-collection {
	margin-top: 40px;
	margin-bottom: 40px;
	border-bottom: 1px solid #ddd;
}

.price-and-info-container-title {
	margin-top: 20px;
	margin-bottom: 20px;
	font-size: 1.1em;
}

.price-and-info-container.add-extra-content {
	border-top: 1px solid #ddd;
	border-left: none;
	border-right: none;
	padding-bottom: 5px;
}

	.price-and-info-container.add-extra-content .product-page-buy {
		padding-bottom: 5px;
		box-sizing: border-box;
		min-height: 50px;
	}

		/* Tässä tapauksessa nimi, hinnan tarkenne ja hinta näytetään tässä */
		.price-and-info-container.add-extra-content .product-page-buy .add-to-cart-extra-content {
			display: inline-block;
			/*responsiivisuus / pitkät elementit: leiskabugit pois pienellä muutoksella*/
			/*height: 38px;
	line-height: 38px;*/
			min-height: 38px;
			line-height: 30px;
		}

	/*siirretään muut toiminnot oikealle*/
	.price-and-info-container.add-extra-content .add-to-cart-wrapper {
		float: right;
	}

@media only screen and (max-width: 1030px) {
	/*siirretään muut toiminnot takaisin vasemmalle, kun tila alkaa loppumaan*/
	.price-and-info-container.add-extra-content .add-to-cart-wrapper {
		float: none;
		margin-top: 15px;
	}
}

.price-and-info-container.add-extra-content .item-price-additional {
	/* Tässä tapauksessa Hinnan tarkenne näytetään kappalemäärän vieressä erikseen */
	display: none;
}

.price-and-info-container.add-extra-content .extra-content-product-name {
	display: inline-block;
	margin-right: 10px;
}

.price-and-info-container.add-extra-content.current .extra-content-product-name {
	font-weight: bold;
}

.price-and-info-container.add-extra-content .extra-content-item-price-additional {
	display: inline-block;
	margin-right: 10px;
}

.price-and-info-container.add-extra-content .price-container {
	display: inline-block;
}

.price-and-info-container .campaign-info {
	padding-top: 10px;
	padding-bottom: 10px;
}

/*antaa kampanjainfonkin näkyä...*/
/*.price-and-info-container.add-extra-content .campaign-info {
	display: none;
}*/

/* Käyttöohje - sama myös muille kuin digikirjasto-tuotteille*/
/* --- */

/* Käyttöohje-sisällön expand/collapse-toiminto. */
.digikirjasto-help-content-expander {
	display: inline-block;
	font-size: 22px;
	line-height: 28px;
	margin-top: 20px;
	margin-bottom: 20px;
}

	.digikirjasto-help-content-expander:hover {
		text-decoration: none;
	}

	/* Suljettu nappi */
	.digikirjasto-help-content-expander:after {
		display: inline-block;
		color: #bbb;
		padding-left: 15px;
		content: '∨';
		-webkit-transform: scale(1.5,1);
		-moz-transform: scale(1.5,1);
		-ms-transform: scale(1.5,1);
		-o-transform: scale(1.5,1);
		transform: scale(1.5,1);
	}

	/* Avoin nappi */
	.digikirjasto-help-content-expander.active:after {
		content: '∧';
	}

/* Suljettu sisältö */
.digikirjasto-help-content-wrapper {
	display: none;
}
	/* Avoin sisältö */
	.digikirjasto-help-content-wrapper.active {
		display: block;
	}

/* --- */
/* Käyttöohje - sama myös muille kuin digikirjasto-tuotteille: loppu*/



/* ------------- */

.product-page-share {
	margin-top: 20px;
	text-align: right;
}

	.product-page-share b {
		position: relative;
		top: -4px;
		margin-right: 5px;
	}

	.product-page-share a {
		display: inline-block;
		width: 30px;
		height: 30px;
	}

		.product-page-share a.kerro-kaverille {
			background: url(/Pics/kerro-kaverille.png);
			background-image: url(/Pics/kerro-kaverille.svg), none;
			background-size: 100% 100%;
		}

		.product-page-share a.share-linkedin {
			background: url(/Pics/linkedin.png);
			background-image: url(/Pics/linkedin.svg), none;
			background-size: 100% 100%;
		}

		.product-page-share a.share-twitter {
			background: url(/Pics/twitter.png);
			background-image: url(/Pics/twitter.svg), none;
			background-size: 100% 100%;
		}

		.product-page-share a.share-facebook {
			background: url(/Pics/facebook.png);
			background-image: url(/Pics/facebook.svg), none;
			background-size: 100% 100%;
		}


.product-page-related a,
.product-page-additional a,
.product-collection a {
	position: relative;
	float: left;
	display: block;
	width: 120px;
	/*height: 200px;*/
	box-sizing: border-box;
	margin-top: 40px;
	margin-left: 20px;
	margin-right: 20px;
	overflow: hidden;
	/*background-color:#eee;*/
	/*border:1px solid #c0c0c0;*/
	text-align: center;
	padding: 20px;
}

/*sisältää -smart täg*/
.product-collection-wrapper .product-collection a {
	/*sivun täydessä leveydessä 4 rivillä*/
	width: 185px;
	color: #333;
	font-weight: bold;
}

/*digikirjasto sisältää -kontrolli*/
.digikirjasto-includes-wrapper .product-collection a {
	/*sivun täydessä leveydessä 4 rivillä*/
	width: 185px;
}

/*smart täg*/
.product-collection-title {
	font-size: 1.1em;
}

.product-page-related img,
.product-page-additional img,
.product-collection img {
	display: block;
	height: 150px;
	/*ei kuvaa -kuva voi olla transparent*/
	/*background: var(--eliila);*/
}

.product-page-related span,
.product-page-additional span,
.product-collection span {
	display: block;
	height: 60px;
	line-height: 20px;
	margin-top: 10px;
	overflow: hidden;
}

/* -- Tuotesivun avattava sisältö kuvauksen seassa -- */

.product-page-desc-expandable-content {
	display: none;
}

	.product-page-desc-expandable-content.active {
		display: block;
	}

.product-page-desc-expandable-content-toggler {
	white-space: nowrap;
}

	.product-page-desc-expandable-content-toggler:hover {
		text-decoration: none;
	}

	.product-page-desc-expandable-content-toggler .more-text {
		display: inline;
	}

	.product-page-desc-expandable-content-toggler .less-text {
		display: none;
	}

	.product-page-desc-expandable-content-toggler.active .more-text {
		display: none;
	}

	.product-page-desc-expandable-content-toggler.active .less-text {
		display: inline;
	}

	.product-page-desc-expandable-content-toggler .more-text:after,
	.product-page-desc-expandable-content-toggler .less-text:after {
		display: inline-block;
		color: #bbb;
		padding-left: 8px;
		-webkit-transform: scale(1.5,1);
		-moz-transform: scale(1.5,1);
		-ms-transform: scale(1.5,1);
		-o-transform: scale(1.5,1);
		transform: scale(1.5,1);
	}

	.product-page-desc-expandable-content-toggler .more-text:after {
		content: '∨';
	}

	.product-page-desc-expandable-content-toggler .less-text:after {
		content: '∧';
	}

/* -- Tuotesivun avattava sisältö kuvauksen seassa: loppu -- */


/* -- Lomakkeet ---------- */
.styled-form .title {
	display: block;
	margin-bottom: 6px;
	color: #999;
	text-transform: uppercase;
}

.styled-form input[type="text"],
.styled-form input[type="password"],
.styled-form textarea {
	width: 97%;
	max-width: 300px;
	height: 26px;
	line-height: 26px;
	padding-left: 5px;
	margin-bottom: 10px;
	border: 1px solid #ccc;
	/*-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;*/
	margin-right: 5px;
}

.styled-form input[type="text"],
.styled-form input[type="password"],
.styled-form textarea {
	outline-color: var(--eliila);
}

.styled-form textarea {
	font-family: Arial, Verdana, sans-serif;
	font-size: 14px;
}



/*easydropdown lomakkeella: toistaiseksi ei missään käytössä*/
.styled-form .dropdown {
	width: 97%;
	max-width: 305px;
	margin-bottom: 10px;
	border: 1px solid #ccc;
	border-radius: 0;
}

	.styled-form .dropdown div {
		border-radius: 0;
	}

	.styled-form .dropdown .selected,
	.styled-form .dropdown li {
		padding: 7px 5px;
		font-size: 14px;
	}

.styled-form .input-panel.input-panel-checkbox {
	margin-bottom: 7px;
}

	.styled-form .input-panel.input-panel-checkbox .data input[type=checkbox] {
		margin-right: 7px;
	}

/*--*/

/*ilmoittaudu koulutukseen*/
.styled-form .part-wrapper {
	margin-bottom: 10px;
	color: #999;
}

.styled-form a.expander {
	color: #999;
}

	.styled-form a.expander:hover {
		text-decoration: none;
		color: var(--eliila);
	}

	.styled-form a.expander span {
		color: var(--eliila);
	}

		.styled-form a.expander span:after {
			content: '+';
		}

	.styled-form a.expander.active span:after {
		content: '-';
	}

.styled-form div.expander-content {
	display: none;
	margin-top: 10px;
}

.styled-form .mini-product-list {
}

	.styled-form .mini-product-list.product-selector {
		/*scrollbar haluttu pois, eli koko sisältö näkyy kerralla*/
		/*max-height: 200px;
	overflow: auto;*/
		/*border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;*/
		margin-bottom: 30px;
	}

	.styled-form .mini-product-list div {
		height: 26px;
		line-height: 26px;
		margin-bottom: 1px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
		/*.styled-form .mini-product-list div:first-child
{
	margin-top: 1px;
}*/
		.styled-form .mini-product-list div a.styled-button {
			margin-right: 10px;
		}

/* placeholder-tekstien väri, huom. näitä tyylimäärittelyitä ei voi groupata! */
.styled-form input[type="text"]::-webkit-input-placeholder {
	color: #999;
}
/* WebKit browsers */
.styled-form input[type="text"]:-moz-placeholder {
	color: #999;
}
/* Mozilla Firefox 4 to 18 */
.styled-form input[type="text"]::-moz-placeholder {
	color: #999;
}
/* Mozilla Firefox 19+ */
.styled-form input[type="text"]:-ms-input-placeholder {
	color: #999;
}
/* Internet Explorer 10+ */

.styled-form span.important {
	margin-left: 3px;
}

/* -- Tilauksen lisätiedot -- */
.styled-form.tilauksen-lisatiedot-form textarea {
	height: 100px;
}

.styled-form.tilauksen-lisatiedot-form .title {
	text-transform: none;
}
/* -- Tilauksen lisätiedot: loppu -- */

/* -- Kuvien katselu kokoruututilassa ---------- */

#image_viewer {
	display: none;
	z-index: 2;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

#image_viewer_back_layer {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: #000;
	filter: alpha(opacity=30);
	-moz-opacity: 0.30;
	opacity: 0.30;
	z-index: 100;
}

#image_viewer_image_wrapper {
	position: relative;
	/*position: absolute;
	top: 100px;
	z-index: 101;
	background: var(--evalkoinen);*/
	width: 50%;
	max-width: 400px;
	margin-top: 100px;
	margin-left: auto;
	margin-right: auto;
	z-index: 101;
}

	#image_viewer_image_wrapper img {
		width: 100%;
		border: 10px solid var(--evalkoinen);
		-moz-box-shadow: 0px 8px 15px 0px rgba(0,0,0,0.3);
		-webkit-box-shadow: 0px 8px 15px 0px rgba(0,0,0,0.3);
		box-shadow: 0px 8px 15px 0px rgba(0,0,0,0.3);
		background: var(--evalkoinen);
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	#image_viewer_image_wrapper a.mini-close {
		position: absolute;
		top: -10px;
		right: -10px;
	}

/* -- Etusivujen Tulevat koulutukset- ja Ajankohtaista-listat ---------- */

.front-page-list-wrapper span.no-items {
	display: block;
	height: 50px;
	margin-top: 40px;
	color: #222222;
}

.front-page-list-wrapper a {
	position: relative;
	display: block;
	margin-top: 25px;
	margin-bottom: 25px;
	color: #222222;
}

	.front-page-list-wrapper a:hover {
		text-decoration: underline;
	}

	.front-page-list-wrapper a .day {
		position: absolute;
		top: 0;
		left: 0;
		width: 40px;
		height: 25px;
		line-height: 25px;
		text-align: center;
		border-bottom: 1px solid var(--eliila);
		font-size: 32px;
		padding-bottom: 8px;
	}

	.front-page-list-wrapper a .month {
		position: absolute;
		top: 37px;
		left: 0;
		width: 40px;
		text-align: center;
		font-size: 11px;
		color: #202020;
		text-transform: uppercase;
	}

	.front-page-list-wrapper a .title {
		display: table; /* multiline-keskitys */
		min-height: 50px;
		height: 50px; /*Firefox-quickfix, min-height ei toimi ja yksirivinen teksti jää liian matalaksi*/
		margin-left: 65px;
	}

		.front-page-list-wrapper a .title span {
			display: table-cell; /* multiline-keskitys */
			vertical-align: middle;
		}

.arrow-right {
	display: inline-block;
	width: 0;
	height: 0;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 6px solid var(--eliila);
}


.training-registration-opener-wrapper {
	padding: 20px;
	margin-top: -20px;
	margin-left: -20px;
	margin-right: -20px;
	margin-bottom: -20px;
	background: var(--eliila);
	color: var(--evalkoinen);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

	.training-registration-opener-wrapper input[type="checkbox"] {
	}

	.training-registration-opener-wrapper a {
		color: var(--evalkoinen);
	}

.training-registration-form-wrapper {
	display: none;
	margin-top: 30px;
}

/* Sähköiset aineistot ----------- */
.customer-material div {
	margin-bottom: 15px;
}

/* jQuery dialogit ----------- */
.ui-widget-overlay {
	background: #222;
}

.ui-dialog {
	background: #eee;
}

/* Huoltotiedotus ----------- */
.service-alert {
	/*margin: 5px 0 0 0;*/
	border-bottom: solid 1px #c4c4c4;
	padding: 10px 15px;
	background: #fffed3;
}

/* Progress-indikaattori ----------- */
.update_progress_manual,
#update_progress {
	position: fixed;
	z-index: 9999;
	top: 30%;
	left: 50%;
	background: var(--evalkoinen);
	border: 2px solid var(--esininen);
	padding: 40px;
	text-align: center;
}

/* Kirjasarjasivut ----------- */
/*Huom! tämä tyyli on tehty asiakkaan omaa sisältöeditointia varten*/
div.book-series-links a {
	display: block;
	float: left;
	width: 160px;
	text-align: center;
	margin: 25px 50px 0 0;
}

	div.book-series-links a img {
		display: inline-block;
		height: 185px;
		margin-bottom: 10px;
	}
/*variaatio, jossa kuvalinkit lähempänä toisiaan*/
div.book-series-links.less-margin a {
	margin-right: 14px;
}



/*javascriptille tieto media queryistä*/
#screenmode {
	width: 1px;
}

/* ikkunan kaventaminen vaikuttaa portaittain muutamiin kohtiin */
/*---*/

@media only screen and (max-width: 1030px) {
	#header_top .search-wrapper {
		width: 17%;
	}

	#sub_menu > ul > li > a {
		padding: 0 8px; /*ent. 6px*/
		font-size: 1.2em; /*ent. 18px*/
		font-weight: 400;
	}
}

@media only screen and (max-width: 930px) {
	/*#header_bottom {
			height: 130px;
		}*/

	#header_top .search-wrapper {
		top: 55px;
		left: 0px;
		z-index: 1;
		width: 250px;
	}

	#header_bottom #header_cart {
		top: 5px;
		z-index: 1;
		width: 250px;
	}


	/*poikkeus verkkomaksun takia, muutetaan leiskaa hieman aiemmin*/
	.checkout-3-content .col-left-outer {
		float: none;
	}

	.checkout-3-content .col-left-inner {
		margin-right: 0;
	}

	.checkout-3-content .col-right {
		float: none;
		width: 100%;
		margin-left: 0;
		margin-top: 20px;
	}
	/*ostoprosessin alapainikkeet*/
	.responsive-checkout-button {
		display: block;
		float: none !important;
		margin-bottom: 15px;
	}
}

@media only screen and (max-width: 1023px) {
	.col-left-inner .front-page-box {
		width: 100%;
	}

	.cols-3 {
		width: 100% !important;
	}
}

/* PaytrailPaymentAPI */
/* verkkomaksukäli */
.payment-providers form {
	width: 200px;
	height: 80px;
	padding: 3px;
	float: left;
}

.payment-providers button {
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.payment-providers::after {
	content: "";
	clear: both;
	display: table;
}
/* PaytrailPaymentAPI: loppu */

/*---*/

/*
.mobile-only
{
	display: none !important;
}
*/

/* desktop - tunnistus on vaikeaa, tämä on poikkeustapaus. Tätä tunnistusta saa parantaa. */
@media only screen and (min-device-width: 1024px) {
	/*tuotelistan filtterit -> hover-värit lisätään erikseen vain desktopille*/
	/*lisääminen defaulttina ja poistaminen myöhemmin ei toimi halutusti*/
	#product_filters a:hover {
		color: var(--evalkoinen);
		background: var(--eliila);
	}
}

/* mobiili */
@media only screen and (max-width: 767px)
/*, screen and (max-width: 740px)*/ /*mobiilitila desktopissa kaventamalla: poista rivin kommentit, mikäli halutaan käyttöön*/
{
	/*javascriptille tieto media queryistä*/
	#screenmode {
		width: 2px;
	}

	.mobile-hide {
		display: none !important;
	}
	/*
	.desktop-only
	{
		display: none !important;
	}
	.mobile-only
	{
		display: block !important;
	}
	*/

	.banner-sub {
		margin-right: 0 !important;
	}

	.width-limit-wrapper {
		min-width: 320px;
	}

	.width-limit-outer {
		max-width: 100%;
	}

		/*Poikkeuksellisen leveä sisältö mobiilitilassa -> tehdään scrollattavaksi*/
		/*---*/
		.width-limit-outer.extra-wide-content-on-mobile {
			overflow: scroll;
		}

			.width-limit-outer.extra-wide-content-on-mobile .width-limit-inner {
				min-width: 700px !important;
			}
	/*---*/

	#header_top,
	#header_bottom {
		display: none;
	}

	#mobile_header {
		display: block;
	}

	/*-- mobiilissa ei hoveria ---------*/
	/*kirjautuneen valikko*/
	.logged-layer a:hover {
		color: var(--esininen);
		background: var(--evalkoinen);
	}
	/*haku*/
	ul.ui-autocomplete.ui-menu li a:hover,
	ul.ui-autocomplete.ui-menu li a.ui-state-focus {
		color: var(--esininen);
		background: var(--evalkoinen);
		border: 1px solid var(--evalkoinen);
	}
	/*tuotelistan tuote*/
	.product-box a:hover .title {
		text-decoration: none;
	}
	/*ajankohtaista ja koulutukset*/
	.front-page-list-wrapper a:hover {
		text-decoration: none;
	}
	/*-- mobiilissa ei hoveria: loppu ---------*/

	.col-left-outer {
		float: none;
	}

	.col-left-inner {
		margin-right: 0;
	}

	#content.front-page-content {
		padding-top: 20px;
		padding-bottom: 20px;
	}

	/*myös "kolmen sarakkeen" ländärillä*/
	.three-col-front-page-box-wrapper .front-page-box {
		width: 100%;
		padding: 0 !important; /*resetoidaan left, middle, right -tyylit*/
	}

	.front-page-box-inner {
		margin-right: 0;
	}

	.col-left-inner .wrapper-box {
		margin-right: 0;
	}

	.col-right {
		float: none;
		width: 100%;
		margin-left: 0;
		margin-top: 20px;
	}

	#content.front-page-content .col-right {
		margin-top: 0; /* kuvabokseissa on jo riittävä margin */
	}

	#product_sorter {
		right: auto;
		left: 0;
	}

	.product-page-related a {
		margin-right: 20px;
	}

	.styled-form input[type="text"].full-width-on-mobile,
	.styled-form textarea.full-width-on-mobile {
		width: 96% !important;
	}

	#cart_preview,
	#cart_info {
		right: 20px;
		width: 80%;
		padding-bottom: 60px; /* tarvitaan lisää korkeutta, sillä boksi on kapeampi */
	}

	#image_viewer_image_wrapper {
		width: 90%;
	}

	.footer-col {
		width: 50%;
		margin-top: 30px;
	}

		.footer-col.first {
			float: none;
			width: 100%;
			margin-top: 0;
		}

	.check-out-title-bar {
		font-size: 12px;
	}

		.check-out-title-bar td div {
			padding: 0 10px;
		}

	.col-left-inner {
		margin-right: 0; /* sama kuin col-right width + haluttu margin */
		/* ehkäpä marginia ei kannata lisätä tähän, sillä ainakin etusivun sisällöllä on omat marginit valmiiksi */
		/*background: #aaa;*/
		min-height: 1px; /*tarvitaan, jos sisältö ei ole ollenkaan*/
	}

	.col-right {
		float: left;
		width: 100%;
		margin-left: 0; /* sama kuin col-right width negatiivisena */
		/*background: azure;*/
	}
}

.video-content-wrapper-box {
	max-width: 1200px;
	padding: 20px;
	background: var(--evalkoinen);
	margin-top: 20px;
	padding: 20px;
}




/*uudistus*/
.banner-main {
	margin-bottom: 20px;
	height: 300px;
	background-color: #000;
	position: relative;
	background: url(/Images/no-image-default.png) center center no-repeat;
	background-size: cover;
}

.banner-sub {
	display: block;
	margin-bottom: 20px;
	height: 300px !important;
	background-color: var(--evalkoinen);
	position: relative;
	background: url(/Images/no-image-default.png) center center no-repeat;
	background-size: cover;
}

.banner-main > div:first-child:not(.some-icons) {
	position: absolute;
	display: table;
	height: 50%;
	left: 0;
	top: 25%;
	bottom: 25%;
	width: 80%;
	background-color: rgba(23, 101, 168, 0.66);
	font-size: 40px;
	color: var(--evalkoinen);
	text-align: center;
}

@media only screen and (max-width: 770px) {
	/*
	.banner-main {
		margin-bottom:230px;
	}
	*/
	.banner-main > div:first-child:not(.some-icons) {
		left: auto;
		right: auto;
		bottom: auto;
		top: 100%;
		height: 210px;
		width: 100%;
	}

	.col-left-inner {
		margin-right: 0; /* sama kuin col-right width + haluttu margin */
		/* ehkäpä marginia ei kannata lisätä tähän, sillä ainakin etusivun sisällöllä on omat marginit valmiiksi */
		/*background: #aaa;*/
		min-height: 1px; /*tarvitaan, jos sisältö ei ole ollenkaan*/
	}

	.col-right {
		float: left;
		width: 100%;
		margin-left: 0; /* sama kuin col-right width negatiivisena */
		/*background: azure;*/
	}
}

@media only screen and (max-width: 600px) {
	.banner-main > div:first-child:not(.some-icons) {
		font-size: 30px;
	}
}

.banner-main > div:first-child:not(.some-icons) > div {
	display: table-cell;
	vertical-align: middle;
	text-align: left;
	/*font-family:Arvo, sans-serif !important;*/
	font-weight: normal;
	padding: 20px;
	padding-left: 8%;
	padding-right: 8%;
}




.banner-sub {
	height: 300px;
	position: relative;
	margin-bottom: 20px;
	margin-right: 20px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

	.banner-sub > div {
		position: absolute;
		right: 0;
		top: 0;
		bottom: 0;
		width: 360px;
		max-width: 100%;
		background-color: rgba(255,255,255,0.66);
		color: #000;
		font-size: 30px;
	}

		.banner-sub > div > div {
			background-color: transparent;
			margin-top: 50px;
			padding: 15px;
			margin-bottom: 20px;
			font-size: 22px;
			/*font-family:Arvo, sans-serif !important;*/
			font-weight: normal;
			line-height: 120%;
			text-align: center;
		}

		.banner-sub > div > a {
			display: block;
			background-color: #16a7df;
			color: var(--evalkoinen);
			width: 236px;
			padding: 10px;
			margin-left: auto;
			margin-right: auto;
			font-size: 22px;
			text-align: center;
		}

	/*
.verkkopalvelut-container > .banner-sub:nth-child(even) > div > a {
	background-color:var(--eliila);
}
*/

	.banner-sub.web-service {
	}

.searchglider {
	position: absolute;
	z-index: 100;
	top: 176px;
	left: 0;
	right: 0;
	height: 0px;
	overflow: hidden;
	transition: height 0.3s ease-in-out;
	/*position:relative;*/
	background-color: rgba(255,255,255,0.90);
	box-shadow: 0 10px 10px -10px rgba(0,0,0,0.1);
}

body.search-active .searchglider {
	height: 100px;
}

.searchglider .widthlimit-inner {
	position: relative;
}

.search-wrapper {
	position: absolute;
	left: 0px;
	right: 0px;
	bottom: 3px;
	top: 3px;
	/*right: 190px;*/
	/*right: 12.5%;*/
	/*width: 210px;*/
}

#mobile_search .search-wrapper {
	width: 85%;
}

.search-wrapper input[type="text"] {
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	height: 39px; /* + border  = 26px */
	padding-left: 5px;
	padding-right: 22px;
	background-color: var(--evalkoinen);
	border: 1px solid #ccc;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	font-size: 1.3rem;
}

.search-wrapper > input[type="submit"] {
	position: absolute;
	top: 12px;
	right: 10px;
	display: block;
	width: 16px;
	height: 16px;
	border: none;
	background-color: var(--evalkoinen);
	background: url(/Pics/search.png);
	background-image: url(/Pics/search-v22.svg), none;
	background-size: 100% 100%;
}

.some-icons {
	position: absolute;
	right: 0px;
	top: 80px;
	width: 50px;
}

	.some-icons > a {
		display: inline-block;
		position: relative;
		background: #000;
		width: 50px;
		height: 50px;
		margin-top: 8px;
	}

		.some-icons > a:first-child {
			margin-top: 0;
		}

		.some-icons > a:after {
			content: "";
			display: block;
			position: absolute;
			left: 5px;
			top: 5px;
			bottom: 5px;
			right: 5px;
			background: url(/Pics/some-facebook.svg) center center no-repeat;
			background-size: contain;
		}

		.some-icons > a.facebook:after {
			background-image: url(/Pics/some-facebook.svg);
		}

		.some-icons > a.linkedin:after {
			background-image: url(/Pics/some-linkedin.svg);
		}

		.some-icons > a.youtube:after {
			background-image: url(/Pics/some-youtube.svg);
		}

		.some-icons > a.twitter:after {
			background-image: url(/Pics/some-twitter.svg);
		}

.product-info-container {
	background-color: var(--evalkoinen);
}

	.product-info-container tr {
		display: none;
	}

	.product-info-container td {
		padding: 0;
		padding-top: 3px;
		padding-bottom: 3px;
		color: var(--esininen);
	}

		.product-info-container td:first-child {
			color: var(--eliila);
			text-transform: uppercase;
		}

	.product-info-container tr > td:last-child {
		padding-left: 10px;
	}

	.product-info-container p {
		padding: 0 !important;
		margin: 0 !important;
	}

.product-info-show-all .product-info-container tr {
	display: table-row;
}

.product-info-container tr.show-always {
	display: table-row;
}

.product-info-container + .show-all-button {
	display: block;
	color: var(--evalkoinen);
	background-color: var(--evalkoinen);
	text-align: center;
	line-height: 20px;
	font-size: 18px;
	text-decoration: none;
	/*font-family:raleway, helvetica, arial;*/
	padding: 10px;
}

	.product-info-container + .show-all-button:after {
		display: inline-block;
		width: 50px;
		height: 26px;
		background: url(/Pics/double-arrow-down5.svg?v=7) center center no-repeat;
		background-size: 50px 26px;
		content: "";
	}

.product-info-show-all .product-info-container + .show-all-button:after {
	transform: rotate(-180deg);
}

.slideNaviContainer > a {
	display: block;
	width: 18px;
	height: 30px;
	background: url(/Pics/arrow-right2.svg?v=3) center center no-repeat;
	background-size: contain;
	position: absolute;
	top: 50%;
	margin-top: -15px;
}

	.slideNaviContainer > a:first-child {
		transform: scaleX(-1);
		left: 5px;
	}

	.slideNaviContainer > a:last-child {
		right: 5px;
	}

.product-page-related a > img,
.product-page-additional a > img,
.product-collection a > img {
	margin-left: auto;
	margin-right: auto;
}

.front-page-box.cols-3 {
	width: 33.33%;
}

.front-page-box.cols-1 {
	width: 100%;
}

.product-bgimage {
	height: 190px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
}

.product-page-additional .shopping-cart {
	background: url(/Pics/ostoskori-v22.svg) center center no-repeat;
	background-size: contain;
	width: 35px;
	height: 35px;
	position: absolute;
	right: 10px;
	top: 143px;
}

.new-grey {
	/*background-color:#e2e2e2;*/
	background-color: #eee;
}

.verkkopalvelut-container {
	padding: 20px;
	padding-bottom: 20px;
	box-shadow: 0 30px 30px -30px rgba(0,0,0,0.25);
	margin-bottom: 60px;
	position: relative;
	background: var(--evalkoinen);
}

	.verkkopalvelut-container:nth-child(2) {
		margin-top: 60px;
	}

	.verkkopalvelut-container:before, .verkkopalvelut-container:after {
		position: absolute;
		width: 40%;
		height: 10px;
		content: '';
		left: 12px;
		bottom: 10px;
		background: transparent;
		-webkit-transform: skew(-2deg) rotate(-2deg);
		-moz-transform: skew(-2deg) rotate(-2deg);
		-ms-transform: skew(-2deg) rotate(-2deg);
		-o-transform: skew(-2deg) rotate(-2deg);
		transform: skew(-2deg) rotate(-2deg);
		-webkit-box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
		-moz-box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
		box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
		z-index: -1;
	}

	.verkkopalvelut-container:after {
		left: auto;
		right: 12px;
		-webkit-transform: skew(2deg) rotate(2deg);
		-moz-transform: skew(2deg) rotate(2deg);
		-ms-transform: skew(2deg) rotate(2deg);
		-o-transform: skew(2deg) rotate(2deg);
		transform: skew(2deg) rotate(2deg);
	}

.verkkopalvelut-banner > div:first-child {
	float: right;
	width: 360px;
}

.verkkopalvelut-banner .styled-button:first-child {
	margin-right: 10px;
}

.verkkopalvelut-banner .styled-button:last-child {
	margin-left: 10px;
}

.verkkopalvelut-banner > div:first-child > img {
	width: 100%;
	height: auto;
}

.verkkopalvelut-banner > div:last-child {
	margin-right: 380px;
	padding-bottom: 1.2em;
	padding-right: 10px;
	box-sizing: border-box;
}

	.verkkopalvelut-banner > div:last-child > h1 {
		font-size: 2.5rem !important;
		font-weight: bold !important;
		color: var(--esininen) !important;
		line-height: 140% !important;
	}

	.verkkopalvelut-banner > div:last-child > p {
		font-size: 2rem !important;
		padding-bottom: 20px;
	}

	.verkkopalvelut-banner > div:last-child > div {
		position: absolute;
		left: 20px;
		right: 400px;
		bottom: 20px;
		font-size: 1rem;
		text-align: center;
	}

.verkkopalvelut-banner:after {
	display: block;
	content: "";
	clear: both;
}

@media only screen and (max-width: 770px) {
	.verkkopalvelut-container > .verkkopalvelut-banner > div {
		float: none;
		width: 100%;
		margin-right: 0;
	}

	.verkkopalvelut-banner > div:last-child {
		margin-top: 10px;
	}

		.verkkopalvelut-banner > div:last-child > div {
			position: relative;
			left: auto;
			right: auto;
			top: auto;
			bottom: auto;
			height: auto;
			margin-top: 20px;
		}
}

.fb-page {
	margin-top: 40px;
}

.trainer-info:first-of-type {
	margin-top: 25px;
}

.trainer-info {
	margin-bottom: 40px;
}

	.trainer-info > div:first-child {
		float: left;
		width: 100px;
	}

		.trainer-info > div:first-child > div {
			width: 100px;
			height: 100px;
			background-position: center center;
			background-size: contain;
		}

	.trainer-info > div:last-child {
		margin-left: 110px;
	}

	.trainer-info:after {
		content: "";
		display: block;
		clear: both;
	}

/*Dropdown poistettu käytöstä, kiinteä otsikko tilalle*/
.training-program-title {
}
/*
.training-program {
	margin-top:40px;
}

.training-toggleSection {
	display:block;
	height:32px;
	border-bottom:2px solid #c0c0c0;
	position:relative;
	text-decoration:none;
	margin-top:40px;
	color: var(--esininen);
	font-size: 22px;
	line-height: 28px;
	font-family: Georgia, Helvetica, sans-serif;
}

.training-toggleSection:hover {
	text-decoration:none;
}

.training-toggleSection:after {
	display:block;
	bottom:-12px;
	right:50px;
	position:absolute;
	content:"";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 7px 0 7px;
	border-color: #c0c0c0 transparent transparent transparent;
}

.training-toggleSection.opened:after {
	bottom:0px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 7px 10px 7px;
	border-color: transparent transparent #c0c0c0 transparent;
}

.training-toggleSection + div {
	display:none;
}

.training-toggleSection.opened + div {
	display:block;
}*/

.productImgSlick {
	height: 150px;
	width: 100%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
}

.slideNaviContainer.disabled {
	display: none;
}

.clearfix:after {
	content: "";
	display: table;
	clear: both;
}




/*digiedita 2016*/
.omat-tuotteet-col-left {
	width: 250px;
	float: left;
}

.omat-tuotteet-col-right {
	overflow: hidden;
	padding: 15px;
	background-color: var(--evalkoinen);
	min-width: 300px;
}
.omat-tuotteet-col-right section {
	/*border-bottom: 15px solid #eeeeee;*/
	padding: 15px;
}

.tabcontainer {
	margin-left: 0;
	margin-right: 0;
}

#eb-content {
	margin-left: 0;
	margin-right: 0;
	max-width: 100%;
}

.customer-navi {
	margin-left: -10px;
	margin-right: 15px;
}

	.customer-navi > a {
		display: block;
		padding: 5px;
		padding-left: 15px;
		padding-right: 15px;
	}

		/*
.customer-navi > a:first-child {
	padding-top:0;
}
*/

		.customer-navi > a.selected {
			background-color: var(--evalkoinen);
		}

#content ul.product-list {
	padding: 0;
}

#school-users-table {
	border: 1px solid #d4d4d4;
	margin-top: 1em;
	margin-bottom: 1em;
	width: 100%;
}

	#school-users-table.textSearchMode tr {
		display: none;
	}

		#school-users-table.textSearchMode tr:first-child {
			display: table-row;
		}

		#school-users-table.textSearchMode tr.txtFound {
			display: table-row;
		}

	#school-users-table tr {
		/*cursor:pointer;*/
	}

		#school-users-table tr.chosen {
			background-color: #f2f2f2;
		}

	#school-users-table th, #school-users-table td {
		padding: 10px;
		padding-bottom: 1em;
	}

	#school-users-table th {
		text-transform: uppercase;
		font-size: 0.8em;
		font-weight: bold;
		padding-right: 0.5em;
		background-color: #ececec;
		text-align: left;
	}



	#school-users-table tr td {
		text-align: left;
		color: #334b5d;
	}

		#school-users-table tr td:first-child {
			font-weight: bold;
		}

		#school-users-table tr td:nth-child(3) {
			color: #000;
		}

	#school-users-table td:last-child a {
		text-align: left;
		text-decoration: underline;
	}

.customer-navi a {
	color: var(--esininen);
	font-size: 1rem;
	font-family: 'Source Sans Pro', Arial;
}

input#findUser {
	padding: 5px;
	width: 200px;
	max-width: 100%;
}

input.basic {
	border: 1px solid #ccc;
	padding: 5px;
	width: 200px;
}

#list-groups-product-name {
	color: var(--esininen);
}

.group-activation-code {
	font-weight: bold;
}

@media only screen and (max-device-width: 767px) {
	.omat-tuotteet-col-left {
		width: 100%;
		float: none;
		margin-bottom: 20px;
	}

	.omat-tuotteet-col-right {
	}

	.customer-navi {
		margin-left: 0px;
		margin-right: 0px;
	}


		.customer-navi > a {
		}

	.customer-navi {
		overflow: hidden;
		text-align: center;
	}

	.tabcontainer {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	#eb-content {
		min-width: 200px !important;
	}
}

.styled-form-additional-info {
	font-size: 0.85em;
	margin-bottom: 10px;
	text-transform: none;
	color: #222;
}

	.styled-form-additional-info.close-upper-gap {
		margin-top: -5px;
	}


.dynamic-elems-form-div .input-panel,
.dynamic-elems-form-div .important,
.dynamic-elems-form-div .customer-type-element-inline {
	display: none;
}

	.dynamic-elems-form-div.customerType-Teacher .input-panel.show-Teacher,
	.dynamic-elems-form-div.customerType-Student .input-panel.show-Student,
	.dynamic-elems-form-div.customerType-Person .input-panel.show-Person,
	.dynamic-elems-form-div.customerType-Organization .input-panel.show-Organization,
	.dynamic-elems-form-div .input-panel.show-All {
		display: block;
	}

	.dynamic-elems-form-div.customerType-Teacher .important.show-Teacher,
	.dynamic-elems-form-div.customerType-Student .important.show-Student,
	.dynamic-elems-form-div.customerType-Person .important.show-Person,
	.dynamic-elems-form-div.customerType-Organization .important.show-Organization,
	.dynamic-elems-form-div .important.show-All {
		display: inline !important;
	}

	/* kaikkein geneerisin tapa tähän mennessä; mikä tahansa inline-elementti, oletuksena piilossa */
	.dynamic-elems-form-div.customerType-Teacher .customer-type-element-inline.show-Teacher,
	.dynamic-elems-form-div.customerType-Student .customer-type-element-inline.show-Student,
	.dynamic-elems-form-div.customerType-Person .customer-type-element-inline.show-Person,
	.dynamic-elems-form-div.customerType-Organization .customer-type-element-inline.show-Organization,
	.dynamic-elems-form-div .customer-type-element-inline.show-All {
		display: inline !important;
	}

/*virheviestit piilossa by default*/
.styled-form p.validation-error-msg {
	display: none;
	color: red;
	font-size: small;
	margin: 0 !important;
}
/*virheviestit piilossa by default*/
.styled-form .validation-error-msg[type="checkbox"] {
	box-shadow: red 0px 0px 2px 2px;
}
.styled-form .validation-error-msg span.selected,
.styled-form input.validation-error-msg {
	border: 1px solid red !important;
}

.styled-form .dropdown.validation-error-msg span.selected::after {
	box-shadow: none !important;
}
/* # Organisaation nimi -kenttä piilotetaan rekisteröityvältä oppilaitoskäyttäjältä, koska organisaation nimeksi asetetaan valitun koulun nimi. */
body.register-on-order .dynamic-elems-form-div.customerType-Teacher .hide-if-register-on-order-and-customerType-Teacher {
	display: none !important;
}



/* # MPASS:n kautta rekisteröityvä toisen asteen oppilas */
/* EDITA-711: MPASS-rekisteröityminen */
/* Piilotetaan yksityinen-vaihtoehdolta kenttiä tietyssä MPASS-tilanteessa */
body.mpass-student-secondary-level .dynamic-elems-form-div.customerType-Person #mpass-student-username-email,
body.mpass-student-secondary-level .dynamic-elems-form-div.customerType-Person .important,
body.mpass-teacher .dynamic-elems-form-div.customerType-Teacher span.ignore-on-mpass-teacher,
body.mpass-student-secondary-level .dynamic-elems-form-div.customerType-Person p.validation-error-msg,
body.mpass-student-secondary-level .dynamic-elems-form-div.customerType-Person .hide-if-mpass-student-secondary-level-and-customerType-Person {
	display: none !important;
}
body.mpass-student-secondary-level .dynamic-elems-form-div.customerType-Person input.validation-error-msg {
	border: 1px solid #ccc !important;
}
body.mpass-student-secondary-level .dynamic-elems-form-div.customerType-Person #mpass-student-username-generated {
	display: block !important;
}
/* -- Telemyynti */
#admin_order_customer_select_filter_container {
	margin-bottom: 5px;
}

	#admin_order_customer_select_filter_container table td {
		padding: 0 10px 5px 0;
	}

	#admin_order_customer_select_filter_container input[type=text] {
		padding-left: 2px;
	}

	#admin_order_customer_select_filter_container select {
		padding: 4px;
	}

	#admin_order_customer_select_filter_container table td.more-padding {
		padding-left: 20px;
	}

#admin_order_customer_select_customers_container {
	margin-top: 20px;
}

	#admin_order_customer_select_customers_container table thead th {
		text-align: left;
	}

	#admin_order_customer_select_customers_container table th,
	#admin_order_customer_select_customers_container table td {
		padding: 5px;
		background: #ddd;
	}

	#admin_order_customer_select_customers_container table th {
		background: #666;
		color: var(--evalkoinen);
	}

	#admin_order_customer_select_customers_container table td {
		background: #ddd;
	}

	#admin_order_customer_select_customers_container table tr:nth-child(odd) td {
		background: #eee;
	}

	#admin_order_customer_select_customers_container table a.grid-link {
		display: inline-block;
		padding: 2px 5px;
		color: #0f778b;
	}

	#admin_order_customer_select_customers_container table a.grid-button {
		display: inline-block;
		padding: 2px 5px;
		color: #666;
		background: #eee;
		border: 1px solid #bbb;
		min-width: 20px;
		text-align: center;
		border-radius: 2px;
		font-size: 1.1em;
	}

		#admin_order_customer_select_customers_container table a.grid-button:hover {
			text-decoration: none;
		}

.admin-order-top-panel {
	position: relative;
	padding: 10px 15px;
	background: var(--evalkoinen);
	border-bottom: 3px solid var(--eliila);
}

	.admin-order-top-panel .admin-order-active-customer-wrapper:before {
		content: 'myynnin asiakas';
		position: absolute;
		top: 1px;
		left: 55px;
		color: #bbb;
		font-size: 0.8em;
	}

.admin-order-active-customer-wrapper a.mini-close {
	display: inline-block;
	margin-right: 10px;
}

.admin-order-active-customer-wrapper .to-checkout-button {
	display: none;
	margin-left: 15px;
}

.admin-order-top-panel .admin-order-active-customer-wrapper .to-checkout-button {
	display: inline-block;
}

/* Telemyynti: loppu */

#content input.hyperlink-text-button {
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	/*color: var(--esininen);*/
	font-size: 14px;
	line-height: 1.4; /* vastaa 20px, oletus rivikorkeus kaikille elementeille, ei saa muuttaa */
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	text-decoration: none;
	color: var(--eliila);
}
#content input.hyperlink-text-button:hover {
	/*color: var(--esininen);*/	
	text-decoration: underline;
	cursor:pointer;
}


/* LRS-demosivu */
body.LRS-page {
	margin: 20px;
}

	body.LRS-page table {
		border-collapse: collapse;
	}

	body.LRS-page th {
		background-color: #404040;
	}

		body.LRS-page th td {
			color: var(--evalkoinen);
		}

	body.LRS-page tr {
		background-color: var(--evalkoinen);
		counter-reset: answercounter;
	}

		body.LRS-page tr:nth-child(odd) {
			background-color: #f3f3f3;
		}

	body.LRS-page td, body.LRS-page th {
		padding: 5px;
		border: 1px solid #c0c0c0;
		color: #404040;
	}

	body.LRS-page th {
		color: var(--evalkoinen);
	}

	body.LRS-page .answerBox {
		background-color: #e8e8e8;
		padding: 5px;
		margin-top: 5px;
		max-width: 250px;
		white-space: nowrap;
		text-overflow: ellipsis;
		overflow: hidden;
	}

		body.LRS-page .answerBox:before {
			display: inline-block;
			margin-right: 5px;
			content: counter(answercounter) ".";
			counter-increment: answercounter;
			background-color: var(--evalkoinen);
			border-radius: 50px;
			padding-left: 2px;
			padding-right: 2px;
			color: #a0a0a0;
		}

	body.LRS-page tr:hover .answerBox {
		max-width: 250px;
		white-space: normal;
	}

	body.LRS-page .answerBox:first-child {
		margin-top: 0;
	}

	body.LRS-page h1 {
		color: var(--esininen);
		font-size: 26px;
		line-height: 32px;
		/*font-family: Georgia, Helvetica, sans-serif;*/
		margin-bottom: 20px;
	}

.document-version-date {
	color: #aaa;
}

/* -- opaste-popupit -- */
.info-pop-up {
	display: none; /*ei näytetä ennen kuin initointi on valmis*/
	position: relative;
	color: #444;
	font-weight: normal;
	margin-left: 10px;
}

	.info-pop-up.inited {
		display: inline;
	}

.info-pop-up-sphere {
	display: inline-block;
	width: 20px;
	height: 20px;
	line-height: 20px;
	background: var(--eliila);
	text-align: center;
	cursor: pointer;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}

	.info-pop-up-sphere:hover {
		text-decoration: none;
	}

	.info-pop-up-sphere span {
		color: var(--evalkoinen);
		font-family: serif;
		font-size: 1.2rem;
		line-height: 20px;
		font-weight: bold;
		/*tehdään merkistä leveä*/
		display: inline-block;
		transform: scale(1.3,1); /* W3C */
		-webkit-transform: scale(1.3,1); /* Safari and Chrome */
		-moz-transform: scale(1.3,1); /* Firefox */
		-ms-transform: scale(1.3,1); /* IE 9 */
		-o-transform: scale(1.3,1); /* Opera */
	}

.info-pop-up-content {
	display: none;
	position: absolute;
	/*lopullinen positio asetetaan uudelleen*/
	top: 30px;
	left: 10px;
	right: 10px;
	max-width: 540px;
	padding: 20px;
	background: var(--evalkoinen);
	z-index: 1;
	font-size: 1rem;
	color: #444;
	border: 1px solid #ddd;
	-moz-box-shadow: 0px 8px 15px 0px rgba(0,0,0,0.3);
	-webkit-box-shadow: 0px 8px 15px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 8px 15px 0px rgba(0,0,0,0.3);
}

	.info-pop-up-content a {
		color: #009de0 !important;
	}

		.info-pop-up-content a.mini-close {
			position: absolute;
			top: 8px;
			right: 10px;
			color: #ccc !important;
			border: none;
		}
/* -- opaste-popupit: loppu -- */


.styled-button.mpassid-login-button {
	background: var(--evalkoinen);
	display: block;
	width: 150px !important;
	box-shadow: inset 0 0 0 1px #ccc;
	color: transparent !important;
	text-transform: uppercase;
	background-image: url(/Pics/mpass.svg), none;
	background-size: 70% 70%;
	background-position: center;
	background-repeat: no-repeat;
	margin-top: 20px !important;
}

.styled-button.mpassid-login-buttonv2 {
	background: var(--evalkoinen);
	display: block;
	/*width: 150px !important;*/
	width: 205px !important;
	box-shadow: inset 0 0 0 1px #ccc;
	/*color: transparent !important;*/
	color: initial !important;
	/*text-transform: uppercase;*/
	text-transform: inherit;
	/*mpass.svg muutettu => mpass-logo-only.svg, koska tekstiä haluttiin muuttaa*/
	/*background-image: url(/Pics/mpass.svg), none;*/
	background-image: url(/Pics/mpass-logo-only.svg), none;
	/*background-size: 70% 70%;*/
	background-size: 67% 70%;
	/*background-position: center;*/
	background-position: left;
	background-repeat: no-repeat;
	margin-top: 20px !important;
	padding-right: 7px;
	padding-left: 0px;
	text-align: end;
}
body.mpass-register-hide-school-select #SchoolNameContainer {
	display: none !important;
}


a.infopopup {
	display: inline-block;
	width: 1em;
	height: 1em;
	background-color: var(--esininen);
	border-radius: 100px;
	color: var(--evalkoinen);
	font-size: 1em;
	text-align: center;
	line-height: 1em;
	position: relative;
	margin-left: 0.5em;
}

	a.infopopup:after {
		content: "i";
	}

	a.infopopup > span {
		display: none;
	}

	a.infopopup:hover > span:after, a.infopopup:active > span:after {
		display: block;
		position: absolute;
		margin-left: -3px;
		margin-top: -5px;
		left: 50%;
		top: 0;
		height: 0;
		width: 0;
		border-left: 5px solid transparent;
		border-right: 5px solid transparent;
		border-bottom: 5px solid var(--esininen);
		content: "";
	}

	a.infopopup:hover > span, a.infopopup:active > span {
		display: block;
		position: absolute;
		left: 0;
		top: 100%;
		margin-top: 10px;
		background-color: var(--esininen);
		color: var(--evalkoinen);
		text-align: left;
		width: 250px;
		margin-left: -125px;
		padding: 10px;
		overflow: visible;
		box-shadow: 0px 9px 8px -8px rgba(0,0,0,0.5);
	}


/* - MPASS otettu takaisin näkyviin kaikkialle - */
/* MPASS-kirjautumisen piilottaminen muualta paitsi digieditasta */
/*.login-wrapper .mpassid-login-button {
		display: none !Important;
	}
	form[action="/digiedita"] .login-wrapper .mpassid-login-button {
		display: block !Important;
	}*/


/*EditaShop-uudistus*/
.frontpage-submenu {
}
/*
OIKEA PALSTA VASEMMALLE
*/
@media only screen and (min-width: 768px) {
	body.flip-cols .col-right {
		position: absolute;
		top: 0;
		width: 340px;
		margin-left: -20px !important;
		float: none;
	}


	body.flip-cols .col-left-outer {
		float: left;
		width: 100%;
	}


	body.flip-cols .col-left-inner {
		margin-left: 320px;
		margin-right: 0 !important;
	}


	body.flip-cols .front-page-box-inner, body.flip-cols .banner-sub {
		margin-right: 0 !important;
		margin-left: 20px !important;
	}
}


#header_bottom {
	z-index: 1;
	padding-top: 20px;
}
/*
	#sub_menu > ul > li > a {
		eposition: relative;
	}
	*/
#sub_menu > ul > li.showmegamenu > .megamenu-submenu {
	display: block;
}


.megamenu-submenu {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 38px;
	overflow: auto;
	box-shadow: 0 10px 10px -10px rgba(0,0,0,0.1);
}

.megamenu-submenu-container {
	overflow: hidden;
	background-color: rgba(255,255,255,0.95);
	min-height: 300px;
	max-height: 600px;
	padding-bottom: 10px;
}

	.megamenu-submenu-container > ul > li {
		float: left;
		margin-left: 10px
	}

		.megamenu-submenu-container > ul > li:first-child {
			margin-left: 0;
		}


		.megamenu-submenu-container > ul > li > a {
			font-weight: bold;
			font-size: 1rem;
			text-transform: uppercase !important;
		}

		.megamenu-submenu-container > ul > li > ul > li > a {
			font-size: 0.83rem;
			height: auto !important;
			line-height: normal !important;
			padding-top: 2px;
			padding-bottom: 2px;
		}

		.megamenu-submenu-container > ul > li > ul.hascolumns {
			-webkit-columns: 2 auto;
			-moz-columns: 2 auto;
			columns: 2 auto;
			min-height: 200px;
			-moz-column-fill: auto;
			column-fill: auto;
			-webkit-column-gap: 10px;
			-moz-column-gap: 10px;
			column-gap: 10px;
			max-width: 480px;
			/*-webkit-column-gap: 2em;
			-moz-column-gap: 2em;
			column-gap: 2em;*/
		}

#sub_menu li li a:hover {
	overflow: auto;
	white-space: normal;
}

@media only screen and (max-width: 1090px) {
	.megamenu-submenu-container > ul > li > ul.hascolumns {
		-webkit-columns: auto auto;
		-moz-columns: auto auto;
		columns: auto auto;
	}
}

.bannerbox-cols-3 {
	background-color: var(--eliilavaalea);
	overflow: hidden;
	padding: 0;
	padding-left: 20px;
	margin-bottom: 20px;
}

	.bannerbox-cols-3 > div {
		width: 33.3333%;
		overflow: hidden;
		float: left;
		padding: 20px;
		padding-left: 0px;
		box-sizing: border-box;
		text-align: justify;
	}

@media only screen and (max-width: 1030px) {
	.bannerbox-cols-3 {
		padding-top: 20px;
	}

		.bannerbox-cols-3 > div {
			width: 100%;
			overflow: hidden;
			float: none;
			margin-right: 0;
			padding-top: 0;
		}
}

.font-weight-normal {
	font-weight: normal !important;
}

.uutuudet-item {
	overflow: hidden;
	display: block;
	margin-bottom: 20px;
}

.uutuudet-image {
	width: 33.333%;
	float: left;
	margin-right: 10px;
}

.uutuudet-title {
	display: block;
	margin-bottom: 10px;
}

.uutuudet-price {
}


@media only screen and (max-width: 767px) {
	.uutuudet-item {
		overflow: hidden;
		display: block;
		width: 50%;
		box-sizing: border-box;
		padding: 10px;
		text-align: center;
		float: left;
	}

	.uutuudet-image {
		height: 180px;
		width: auto;
		margin: 0;
		float: none;
	}

	.uutuudet-title {
		display: block;
		text-align: center;
		margin-bottom: 5px;
		margin-top: 5px;
		text-overflow: ellipsis;
		white-space: nowrap;
		overflow: hidden;
	}

	.uutuudet-price {
	}

	.square-box > .square-box-img {
		display: none;
	}

	.square-box > .square-box-a {
		background-size: cover;
		background-position: center center;
	}
}

li.frontpage-link {
	display: block;
	width: 100%;
}

	li.frontpage-link > a {
		color: var(--esininen) !important;
		font-weight: bold;
		text-transform: uppercase;
	}

/* Tilapäinen info opettajille. ----------- */

#teacher_info_bar {
	margin: 0;
	background: #fffed3;
	display: none;
	font-size: 12px;
	box-sizing: border-box;
}

	#teacher_info_bar .width-limit-inner {
		padding: 10px 0px;
		padding-right: 80px;
	}

	#teacher_info_bar a#teacher_info_accept {
		float: right;
		background: var(--esininen);
		text-align: center;
		padding: 8px;
		display: inline-block;
		padding: 5px;
		color: var(--evalkoinen);
		margin-top: -6px;
		margin-right: -80px;
	}

/* Tilapäinen info opettajille. : loppu ----------- */

/* Evästeiden hyväksyminen ----------- */
.th-cookie-consent {
	margin: 0;
	background: #fffed3;
	display: none;
	font-size: 12px;
	box-sizing: border-box;
}

	.th-cookie-consent > div > div {
		padding: 10px 0px;
		padding-right: 80px;
	}

	.th-cookie-consent a#cookieconsentaccept {
		float: right;
		background: var(--esininen);
		text-align: center;
		padding: 8px;
		display: inline-block;
		padding: 5px;
		color: var(--evalkoinen);
		margin-top: -6px;
		margin-right: -80px;
	}

body.cookiesnotaccepted .th-cookie-consent {
	display: block;
}

#header_bottom_sub {
	display: none;
}

@media only screen and (min-width: 768px) {
	#header_bottom_sub {
		display: block;
		background-color: var(--esininen);
		overflow: hidden;
	}
}


#sub_sub_menu {
	overflow: hidden;
	color: var(--evalkoinen);
}

	#sub_sub_menu > ul > li {
		color: var(--evalkoinen);
		float: left;
		margin-left: 40px;
		padding-top: 6px;
		padding-bottom: 6px;
	}

	#sub_sub_menu .frontpage-link {
		display: none;
	}

	#sub_sub_menu > ul > li:first-child {
		margin-left: 0px;
	}

	#sub_sub_menu > ul > li > a {
		color: var(--evalkoinen);
	}

	#sub_sub_menu > ul > li.selected > a {
		color: rgba(255,255,255,0.75);
	}


#sub_menu > ul > li > a.selected {
	position: relative;
}

	#sub_menu > ul > li > a.selected:after {
		content: "";
		display: block;
		position: absolute;
		bottom: -18px;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 0 12px 8px 12px;
		border-color: transparent transparent var(--eliila) transparent;
		left: 50%;
		margin-left: -6px;
	}

#sub_menu > ul > li:first-child > a.selected:after {
	left: 36px;
}




.product-bgimage {
	position: relative;
}



.producttype-icon-o, .producttype-icon-q, .producttype-icon-r, .producttype-icon-f {
	position: absolute;
	bottom: -12px;
	left: -12px;
	display: block;
	width: 24px;
	height: 24px;
	text-align: center;
	line-height: 24px;
	font-size: 12px;
	font-weight: bold;
	color: var(--evalkoinen);
	background: var(--esininen);
	border: 1px solid var(--esininen);
	-moz-border-radius: 100px;
	-webkit-border-radius: 100px;
	border-radius: 100px;
}



	.producttype-icon-o:after, .producttype-icon-q:after, .producttype-icon-r:after, .producttype-icon-f:after {
		background: url(/Images/Site/no-image-type-f-oppikirja.png) no-repeat center center;
		background-size: 24px 24px;
		display: block;
		content: "";
		width: 24px;
		height: 24px;
	}

	.producttype-icon-o:after {
		background-image: url(/Images/Site/edita_ekirja.png);
	}

	.producttype-icon-q:after {
		background-image: url(/Images/Site/edita_audio.png);
	}

	.producttype-icon-f:after {
		background-image: url(/Images/Site/edita_kirja.png);
	}

	.producttype-icon-r:after {
		background-image: url(/Images/Site/edita_aineisto.png);
	}




.productimage-container {
	position: relative;
}

	.productimage-container .producttype-icon-o, .productimage-container .producttype-icon-q, .productimage-container .producttype-icon-r, .productimage-container .producttype-icon-f {
		bottom: -8px;
	}



.product-bgimage .producttype-icon-o, .product-bgimage .producttype-icon-q, .product-bgimage .producttype-icon-r, .product-bgimage .producttype-icon-f {
	top: -32px;
	right: -12px;
	left: auto;
	width: 46px;
	height: 46px;
	line-height: 46px;
}

	.product-bgimage .producttype-icon-o:after, .product-bgimage .producttype-icon-q:after, .product-bgimage .producttype-icon-r:after, .product-bgimage .producttype-icon-f:after {
		background-size: 46px 46px;
		width: 46px;
		height: 46px;
	}

.productimage-container .producttype-icon-o, .productimage-container .producttype-icon-q, .productimage-container .producttype-icon-r, .productimage-container .producttype-icon-f {
	width: 64px;
	height: 64px;
	line-height: 64px;
}

	.productimage-container .producttype-icon-o:after, .productimage-container .producttype-icon-q:after, .productimage-container .producttype-icon-r:after, .productimage-container .producttype-icon-f:after {
		background-size: 64px 64px;
		width: 64px;
		height: 64px;
	}

.cart-view-item-wrapper .producttype-icon-o, .cart-view-item-wrapper .producttype-icon-q, .cart-view-item-wrapper .producttype-icon-r, .cart-view-item-wrapper .producttype-icon-f {
	bottom: -10px;
	right: 0px;
	width: 36px;
	height: 36px;
	line-height: 36px;
}

.cart-view-item-wrapper .producttype-icon-o, .cart-view-item-wrapper .producttype-icon-q, .cart-view-item-wrapper .producttype-icon-opettajan-aineisto, .cart-view-item-wrapper .producttype-icon-f {
	bottom: -10px;
	right: 0px;
	width: 36px;
	height: 36px;
	line-height: 36px;
}

	.cart-view-item-wrapper .producttype-icon-o:after, .cart-view-item-wrapper .producttype-icon-q:after, .cart-view-item-wrapper .producttype-icon-r:after, .cart-view-item-wrapper .producttype-icon-f:after {
		background-size: 36px 36px;
		width: 36px;
		height: 36px;
	}

/* -- Kunta/koulu-valintakäyttöliittymä -- */

.panel-separator {
	margin-top: 35px;
}

.filter-selectelem {
	max-height: 200px;
	overflow: auto;
	width: 312px;
	background-color: #f3f3f3;
}

	.filter-selectelem > a {
		display: block;
		height: 20px;
		font-size: 1em;
		line-height: 20px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		color: #444;
		background-color: #f3f3f3;
		padding-left: 5px;
		padding-right: 5px;
		text-decoration: none;
		transition: all 0.3s ease-in-out;
	}

		.filter-selectelem > a:hover {
			overflow: auto;
			background-color: var(--evalkoinen);
		}

	.filter-selectelem a.item-hidden {
		display: none;
	}

#SchoolNameContainer .filter-inputelem.has-full-match + a + .filter-selectelem {
	display: none !important;
}

#SchoolNameContainer .filter-inputelem {
	margin-bottom: 0px !important;
	background-image: url(/pics/search-grey.svg);
	background-position: 5px 2px;
	background-repeat: no-repeat;
	padding-left: 33px;
	padding-right: 27px;
	width: 250px;
}

	#SchoolNameContainer .filter-inputelem.has-full-match {
		background-color: var(--eliila);
		color: var(--evalkoinen);
		border-color: var(--eliila) !important;
		background-image: none;
		padding-left: 8px;
		width: 275px;
	}

.remove-search-button {
	width: 23px;
	height: 23px;
	border-radius: 23px;
	background-color: #f3f3f3;
	color: #888;
	margin-left: -32px;
	display: inline-block;
	position: relative;
	top: -1px;
	text-align: center;
	font-weight: bold;
	text-decoration: none;
}

	.remove-search-button:after {
		content: "x";
	}

	.remove-search-button:hover {
		color: #444;
		text-decoration: none;
	}

#select-school-container {
	position: relative;
	margin-top: 2px;
}

	#select-school-container:after {
		content: "";
		display: block;
		position: absolute;
		/*border-left: 3px solid #b0b0b0;*/
		/*border-top: 3px solid #b0b0b0;*/
		/*border-bottom: 3px solid #b0b0b0;*/
		width: 7px;
		height: 27px;
		top: -17px;
		left: -13px;
	}

/* -- Kunta/koulu-valintakäyttöliittymä: loppu -- */

/* -- Oppilaitostyypin valinta, responsiivisuus -- */

.oppilaitostyyppi-select {
	list-style: none !important;
	padding-left: 0 !important;
}

	.oppilaitostyyppi-select li input[type=radio] {
		margin-right: 5px;
	}

	.oppilaitostyyppi-select li label {
		position: relative;
		top: -1px;
	}

@media only screen and (min-width: 768px) {

	.oppilaitostyyppi-select li {
		display: inline-block;
		margin-right: 15px;
	}
}

/* -- Oppilaitostyypin valinta, responsiivisuus: loppu -- */













.groups-page {
	position: relative;
}

	.groups-page .filter-container {
		position: relative;
		float: left;
	}

	.groups-page input[type=text] {
		width: 150px !important;
	}

	.groups-page .reset-search {
		display: inline-block;
		margin-left: -22px;
		color: #404040;
		font-weight: bold;
		font-size: 15px;
		width: 15px;
		height: 15px;
		cursor: pointer;
	}

	.groups-page .reset-search {
		display: inline-block;
		margin-left: -22px;
		color: #404040;
		font-weight: bold;
		font-size: 15px;
		width: 15px;
		height: 15px;
	}

		.groups-page .reset-search:after {
			content: "x";
		}

	.groups-page .scroll-container > .list-row {
		position: relative;
		display: block;
		cursor: pointer;
		font-size: 12px;
		background-color: #eee;
		color: #404040;
		text-decoration: none;
		overflow: hidden;
		border-top: 1px solid #ddd;
	}

		.groups-page .scroll-container > .list-row.userrole-1 {
			background-color: #ddd;
		}

		.groups-page .scroll-container > .list-row:first-child {
			border-top: none;
		}

		.groups-page .scroll-container > .list-row > .select-cellcontainer > span {
			float: right;
			padding-left: 10px;
			padding-right: 10px;
		}

		.groups-page .scroll-container > .list-row > .select-actionscontainer > span > span > b {
			margin-right: 5px;
		}

	.groups-page .action-button {
		display: inline-block;
		background-color: #909090;
		color: var(--evalkoinen);
		border-radius: 2px;
		font-size: 10px;
		padding: 5px;
		line-height: 11px;
		cursor: pointer;
	}

	.groups-page .pending-user-role {
		/*width: 100px;*/
		width: initial;
		overflow: hidden;
		height: 30px;
		line-height: 30px;
		float: left !important;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		display: block;
		position: relative;
		color: black;
		background-color: initial;
	}

		.groups-page .action-button.copy-groupcode {
			margin-left: 10px;
		}

	.groups-page .scroll-container > .list-row:hover {
		background-color: var(--evalkoinen);
	}

	.groups-page .scroll-container > .list-row > .select-check:before {
		display: inline-block;
		border: 1px solid var(--esininen);
		background-color: transparent;
		border-radius: 2px;
		width: 10px;
		height: 10px;
		content: "";
		margin-left: 5px;
		margin-top: 10px;
	}
	/*TODO*/
	.groups-page .scroll-container > .list-row.selected > .select-check:before {
		background-color: var(--esininen) !important;
	}

	.groups-page .scroll-container > .list-row.not-selectable > .select-check:before {
		display: inline-block;
		border: 1px solid transparent !important;
		background-color: transparent !important;
	}


	/*
.scroll-container > .list-row:hover > .select-check:before {
	border: 1px solid #808080;
	background: #808080;
}
*/
	.groups-page .actions {
		float: left;
		position: relative;
		background-color: var(--esininen);
		color: var(--evalkoinen);
		height: 30px;
		line-height: 30px;
		overflow: visible;
		z-index: 2;
	}


		.groups-page .actions.menu:after {
			content: "▽";
			display: block;
			position: absolute;
			right: 2px;
			top: 0px;
			width: 20px;
			color: var(--evalkoinen);
		}

		.groups-page .actions.menu > span {
			padding-left: 5px;
			padding-right: 5px;
			margin-right: 30px;
			display: block;
		}



		.groups-page .actions > div {
			display: none;
			background-color: #808080;
			box-shadow: 10px 10px 10px 0 rgba(0,0,0,0.2);
		}

		.groups-page .actions:hover > div {
			display: block;
		}



		.groups-page .actions > div > a:first-child {
			box-shadow: inset 0 8px 5px -5px rgba(0,0,0,0.3);
		}

		.groups-page .actions > div > a {
			display: block;
			color: #a0a0a0;
			padding: 5px;
			text-decoration: none;
			background-color: #d0d0d0;
			transition: background 0.3s ease-in-out;
		}



			.groups-page .actions > div > a.massedit-select-all, .groups-page .actions > div > a.massedit-select-none {
				color: #404040;
			}

	.groups-page .list-container.has-selection .actions > div > a:not(.isdisabled) {
		color: #404040;
	}

.actions:hover > div > a:hover {
	background-color: #f0f0f0;
}

.groups-page .actions > div > span {
	display: block;
	border-bottom: 1px solid var(--evalkoinen);
}

.groups-page .info-container {
	position: absolute;
	display: block;
	background-color: #f0f0f0;
	color: #404040;
	text-align: center;
	bottom: 0;
	left: 80%;
	width: 150px;
	padding: 20px;
}

.groups-page .scroll-container > .list-row > .select-cellcontainer > span, .groups-page .select-container-header > ul > li {
	width: 100px;
	overflow: hidden;
	height: 30px;
	line-height: 30px;
	float: left !important;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: block;
	position: relative;
}

.groups-page .select-container-header > .header-flex > li.sortable {
	cursor: pointer;
}

	.groups-page .select-container-header > .header-flex > li.sortable:after {
		content: "▽";
		display: inline-block;
		margin-left: 5px;
		color: var(--evalkoinen);
	}

	.groups-page .select-container-header > .header-flex > li.sortable.ascending:after {
		content: "△";
	}

	.groups-page .select-container-header > .header-flex > li.sortable.sort-column:after {
		content: "▼";
	}

	.groups-page .select-container-header > .header-flex > li.sortable.sort-column.ascending:after {
		content: "▲";
	}






.groups-page .header-wrapper {
	background: var(--esininen);
}

.groups-page .select-container-header {
	overflow: hidden;
	margin-left: 15px;
}

	.groups-page .select-container-header > ul {
		padding: 0 !important;
	}

		.groups-page .select-container-header > ul > li {
			text-decoration: none;
			color: var(--evalkoinen);
			padding-left: 10px;
			padding-right: 10px;
			margin: 0;
		}



.groups-page .user-info > .julkaisu {
	overflow: hidden;
	margin-left: 20px;
}

	.groups-page .user-info > .julkaisu > span {
		color: #e8e8e8;
		padding: 5px;
		display: block;
		float: left;
		font-size: 12px;
		width: 33%;
	}

.groups-page .groups-tab-container .selected {
	background-color: #fff !important;
	text-overflow: initial;
}
/*
.groups-page .scroll-container > .list-row.selected {
	background-color: #fff !important;
}
*/

.groups-page .scroll-container > .list-row > .select-cellcontainer > span:hover {
	overflow: visible;
	z-index: 90000;
}

	.groups-page .scroll-container > .list-row > .select-cellcontainer > span:hover > span {
		background: #fff !important;
		height: 30px;
		line-height: 30px;
		float: left !important;
		overflow: hidden;
		white-space: nowrap;
		display: block;
		padding-left: 5px;
		padding-right: 5px;
		margin-left: -5px;
	}

.groups-page .select-check {
	width: 15px;
	float: left;
	height: 30px;
}

.groups-page .select-actionscontainer {
	width: 250px;
	float: left;
	height: 30px;
}

.groups-page .school-license-users .select-actionscontainer {
	width: 150px;
	float: left;
	height: 30px;
}

.groups-page .select-actionscontainer > span {
	width: 50%;
	display: block;
	float: left;
	line-height: 30px;
}

.groups-page .scroll-container.users .select-actionscontainer > span {
	width: 100%;
}



.groups-page .select-cellcontainer {
	width: calc(100% - 265px);
	float: left;
}

.groups-page .school-license-users .select-cellcontainer {
	width: calc(100% - 165px);
	float: left;
}


.groups-page .no-fixed-header .select-cellcontainer {
	width: calc(100% - 15px);
}



.groups-page .header-flex {
	width: calc(100% - 251px);
	float: left;
}

.groups-page .school-license-users .header-flex {
	width: calc(100% - 151px);
	float: left;
}



.groups-page .no-fixed-header .header-flex {
	width: 100%;
	float: left;
}

.groups-page .header-fixed {
	width: 250px;
	float: left;
	margin-left: -10px;
}

.groups-page .school-license-users .header-fixed {
	width: 150px;
	float: left;
	margin-left: -10px;
}

.groups-page .show-teachers-checkbox {
	float: right;
	height: 30px;
	text-align: top;
	line-height: 40px;
	overflow: hidden;
}

.groups-page #contexthelper {
	display: none;
	height: 0px;
	overflow: hidden;
	position: fixed;
	padding: 20px;
	padding-left: 50px;
	padding-top: 10px;
	padding-bottom: 10px;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: #404040;
	color: var(--evalkoinen);
	font-size: 0.813rem;
	opacity: 0;
	box-shadow: 0 -10px 10px -10px rgba(0,0,0,0.3);
	z-index: 60000;
}

	.groups-page #contexthelper.active {
		overflow: visible;
		height: auto;
		display: block;
		opacity: 1;
		transition: all 0.5s ease-in-out;
	}

	.groups-page #contexthelper:after {
		content: "!";
		display: block;
		position: absolute;
		height: 26px;
		width: 26px;
		top: 50%;
		margin-top: -13px;
		left: 10px;
		text-align: center;
		font-size: 24px;
		line-height: 26px;
		border-radius: 100px;
		color: #404040;
		background-color: var(--evalkoinen);
	}




.groups-page input.groupcode,
.groups-page input.licensecode {
	width: 70px !important;
	padding: 0px !important;
	margin: 0 !important;
	outline: none !important;
	font-size: 11px;
	border: none !important;
	background: transparent;
	color: #404040 !important;
}

.groups-page .search-hidden {
	display: none !important;
}

.groups-page .dialog-background {
	display: none;
	position: fixed;
	background: rgba(0,0,0,0.2);
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 50000;
}

.groups-page .dialog {
	display: block;
	position: fixed;
	width: 600px;
	height: 400px;
	top: 50%;
	left: 50%;
	margin-top: -175px;
	margin-left: -225px;
	background: var(--evalkoinen);
	box-shadow: 0 0 20px 0 rgba(0,0,0,0.3);
	padding: 20px;
	border-top: 20px solid var(--esininen);
}

/*KESKEN*/
.publicationgroup-container {
	font-size: 0.7rem;
}

.publications-in-group {
	overflow: auto;
	height: 100px;
}

.publications-in-group-box,
.license-info-box {
	padding: 5px;
	background: var(--eharmaavaalea);
}

.license-data-container {
	display: flex;
}

.license-code-container,
.license-info-container {
	flex: 1;
}

.publications-in-group-title,
.license-code-title,
.license-info-title {
	margin-top: 20px;
	font-weight: 700;
}

.license-info-activations-title,
.license-info-enddate-title {
	font-weight: 700;
}

body.dialog-on .groups-page .dialog-background {
	display: block;
}

.groups-page .dialog > div {
	display: none;
}

body.dialog-on.dialog-decline-pending-request .groups-page #dialog-decline-pending-request,
body.dialog-on.dialog-approve-pending-request .groups-page #dialog-approve-pending-request,
body.dialog-on.dialog-add-group .groups-page #dialog-add-group,
body.dialog-on.dialog-remove-group .groups-page #dialog-remove-group,
body.dialog-on.dialog-remove-groups .groups-page #dialog-remove-groups,
body.dialog-on.dialog-remove-user-from-group .groups-page #dialog-remove-user-from-group,
body.dialog-on.dialog-add-license .groups-page #dialog-add-license,
body.dialog-on.dialog-remove-license .groups-page #dialog-remove-license,
body.dialog-on.dialog-alert .groups-page #dialog-alert,
body.dialog-on.dialog-remove-users-from-group .groups-page #dialog-remove-users-from-group,
body.dialog-on.dialog-add-licenses .groups-page #dialog-add-licenses {
	display: block;
}










.groups-page .noborderbox, .groups-page .noborderbox * {
	box-sizing: border-box !important;
}

.groups-page .header-wrapper li {
	font-size: 12px;
}

.groups-page .list-container {
	margin-bottom: 40px;
}

.groups-page .list-frame {
	border: 1px solid var(--esininen);
}

.groups-page .clear-div {
	height: 0px !important;
}

.groups-page .scroll-container .list-row.userrole-1 {
	display: none;
}

body.show-teachers .groups-page .scroll-container .list-row.userrole-1 {
	display: block;
}

	body.show-teachers .groups-page .scroll-container .list-row.userrole-1 .username-cell {
		font-weight: bold;
	}

.groups-page .has-no-groups .select-container-header, .groups-page .has-no-users .select-container-header, .groups-page .has-only-teachers .select-container-header {
	height: 0;
	overflow: hidden;
}

.groups-page .has-no-groups .actions.menu, .groups-page .has-no-users .actions.menu, .groups-page .has-only-teachers .actions.menu {
	display: none;
}

.groups-page .no-content-info {
	display: none;
	padding: 20px;
	overflow: hidden;
	color: var(--evalkoinen);
	background-color: var(--esininen);
	text-align: center;
}

.groups-page .has-no-groups .no-content-info, .groups-page .has-no-users .no-content-info, .groups-page .has-only-teachers .no-content-info {
	display: block;
}

.groups-page #user-list-container.has-no-groups .no-content-info:after {
	content: "Yhtään ryhmää ei ole valittuna.";
}

.groups-page #group-list-container.has-no-groups .no-content-info:after {
	content: "Sinulla ei ole vielä yhtään ryhmää. Voit luoda uuden ryhmän napauttamalla Perusta uusi ryhmä -painiketta.";
}

.groups-page .has-no-users .no-content-info:after {
	content: "Valitussa ryhmässä ei ole yhtään jäsentä.";
}

.groups-page .has-only-teachers .no-content-info:after {
	content: "Ryhmässä on vain opettajia. Napauta Näytä myös opettajat -valintaa nähdäksesi heidät.";
}

.groups-page .users-filter-container {
	overflow: hidden;
}

.groups-page #user-list-container.has-no-groups .users-filter-container, .groups-page #user-list-container.has-no-users .users-filter-container {
	display: none;
}

.groups-page #user-list-container.has-only-teachers .users-filter-container > .filter-container {
	display: none;
}

.groups-page .dialog-actionbuttons {
	position: absolute;
	bottom: 10px;
	left: 20px;
	right: 20px;
	text-align: right;
}

.groups-page #group-list-container .actions.menu {
	display: none;
}

body.userrole-2 .groups-page #group-list-container .actions.menu {
	display: block;
}


.groups-page .license-quota-full {
	color: #a0a0a0 !important;
}

.groups-page .close-dialog.is-disabled {
	opacity: 0.5;
}

.option-none {
}
/*
.license-is-removable-info, .license-is-not-removable-info {
	display:none;
}

.license-is-removable .license-is-removable-info {
	display: block;
}

.license-is-not-removable .license-is-not-removable-info {
	display: block;
}

*/

body.loading-ajax .groups-page:after, body.loading-ajax .groups-page:before {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	content: "";
	z-index: 99999;
	background-color: rgba(255,255,255,0.8);
	animation: lockani 2s;
}

body.loading-ajax .groups-page:after {
	opacity: 1;
	animation: lockani 2s;
	content: "Haetaan sisältöä, odota hetki...";
	bottom: auto;
	top: 150px;
	height: 40px;
	text-align: center;
	color: #000;
	font-size: 1rem;
	background: rgba(0,0,0,0);
}

.userrole-pending > .select-check:before {
	border: none !important;
	background: transparent !important;
	color: #ff2020;
	content: "!" !important;
	text-align: center;
	font-weight: bold;
	font-size: 12px;
	line-height: 10px;
}

.userrole-pending .username-cell {
	color: #ff2020;
	font-weight: bold;
}

#groups-tab-selector {
	border-bottom: 3px solid var(--esininen) !important;
	list-style-type: none !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden;
}

#groups-tab-selector {
	display: none;
}

body.userrole-2 #groups-tab-selector {
	display: block !important;
}

#groups-tab-selector > li {
	padding: 10px;
	padding-left: 15px;
	padding-right: 15px;
	float: left;
	color: #000;
	background-color: #eeeeee;
	margin: 0;
	text-transform: uppercase;
	box-shadow: inset 0 -10px 10px -10px rgba(0,0,0,0.4);
	cursor: pointer;
	margin-right: 3px;
}

#groups-tab-selector > li.selected {
	color: var(--evalkoinen);
	background-color: var(--esininen);
	box-shadow: none;
	cursor: default;
}

#groups-tab-selector li.accounts-pending::before {
	content: "!";
	color: red;
	font-family: fantasy;
	margin-left: -5px;
	margin-right: 5px;
}

#groups-tab-3 .select-cellcontainer .actions-cell {
	color: #eee;
}


/*
#groups-tab-selector > li.selected + li {
	box-shadow: inset 0 -10px 10px -10px rgba(0,0,0,0.4), inset 5px 0px 5px -5px rgba(0,0,0,0.4);
}
*/
.groups-tab-container {
	display: none;
	margin-top: 50px;
}

body.userrole-1 .groups-tab-container:first-child {
	display: block;
}

.groups-tab-container.active {
	display: block;
}

.has-pending-members > span:first-child > span:before {
	content: "! ";
	color: #ff2020;
	font-weight: bold;
}

.all-licenses-used .licenses-used {
	color: #ff2020;
}

	.all-licenses-used .licenses-used:after {
		content: "";
		color: #ff2020;
		font-weight: bold;
	}

/* -- Käyttäjän tiedot -popup -- */
.display-user-info {
	height: 21px !important;
	width: 21px !important;
	box-sizing: border-box !important;
	text-align: center;
	font-size: 15px !important;
	line-height: 8px !important;
	border-radius: 50% !important;
	color: #909090 !important;
	background-color: transparent !important;
	border: 1px solid #909090;
	position: relative;
	top: 2px;
	margin-left: 4px;
}

.groups-page-wrapper #user-info-popup {
	display: none;
	position: absolute;
	min-width: 100px;
	max-width: 200px;
	padding: 7px;
	padding-right: 12px;
	box-sizing: border-box;
	background: var(--evalkoinen);
	border: 1px solid #bbb;
	/*border-radius: 8px;*/
	box-shadow: 0 0 20px 0 rgba(0,0,0,0.3);
	font-size: 12px;
	z-index: 3;
	word-break: break-all;
}

@media only screen and (min-width: 768px) {
	.groups-page-wrapper #user-info-popup {
		max-width: 400px;
	}
}

.groups-page-wrapper #user-info-popup:before,
.groups-page-wrapper #user-info-popup:after {
	position: absolute;
	content: '';
	display: block;
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 10px solid var(--evalkoinen);
	right: -10px;
	top: 50%;
	margin-top: -10px;
}

.groups-page-wrapper #user-info-popup:before {
	border-left-color: #bbb;
	right: -11px;
}
/* -- Käyttäjän tiedot -popup: loppu -- */

/* -- Jatkolisenssipoolin info -popup -- */
/*kasvateetaan klikattavan alueen koko läpinäkyvällä taustalla*/
.display-extend-lic-info {
	position: absolute;
	z-index: 100000;
	padding-top: 7px;
	padding-left: 4px;
	display: inline-block;
	width: 30px;
	height: 30px;
}

	.display-extend-lic-info > span {
		display: inline-block;
		height: 15px;
		width: 15px;
		box-sizing: border-box;
		text-align: center;
		font-size: 13px;
		line-height: 12px;
		border-radius: 50%;
		color: #909090;
		background-color: transparent;
		border: 1px solid #909090;
	}

.groups-page-wrapper #extend-lic-info-popup {
	display: none;
	position: absolute;
	min-width: 100px;
	max-width: 200px;
	padding: 7px;
	padding-right: 12px;
	box-sizing: border-box;
	background: var(--evalkoinen);
	border: 1px solid #bbb;
	box-shadow: 0 0 20px 0 rgba(0,0,0,0.3);
	font-size: 12px;
	z-index: 3;
	word-break: break-word;
}

@media only screen and (min-width: 768px) {
	.groups-page-wrapper #extend-lic-info-popup {
		max-width: 300px;
	}
}

.groups-page-wrapper #extend-lic-info-popup:before,
.groups-page-wrapper #extend-lic-info-popup:after {
	position: absolute;
	content: '';
	display: block;
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-right: 10px solid var(--evalkoinen);
	left: -10px;
	top: 50%;
	margin-top: -10px;
}

.groups-page-wrapper #extend-lic-info-popup:before {
	border-right-color: #bbb;
	left: -11px;
}
/* -- Jatkolisenssipoolin info -popup: loppu -- */


/*todo: poista oikeasti sivurakenteesta YRITYS, YHTEYSTIEDOT ja BLOGi*/
#top_menu, #mobile_menu > ul > li.independent-menu-item {
	display: none !important;
}

div.btn-page-refresh {
	text-align: end;
	position: relative;
	width: 150px;
	float: right;
	bottom: 50px;
}

.license-time-selection-container {
	margin-bottom: 15px;
}


.dialogs .dialog-background {
	display: block;
	position: fixed;
	background: rgba(0,0,0,0.2);
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 50000;
}

.dialogs .dialog {
	display: block;
	position: fixed;
	width: 400px;
	height: 100px;
	top: 50%;
	left: 50%;
	margin-top: -175px;
	margin-left: -225px;
	background: var(--evalkoinen);
	box-shadow: 0 0 20px 0 rgba(0,0,0,0.3);
	padding: 20px;
	border-top: 20px solid var(--esininen);
}

.dialogs .dialog-actionbuttons {
	position: absolute;
	bottom: 10px;
	left: 20px;
	right: 20px;
	text-align: right;
}

.dialogs .styled-button {
	display: inline-block;
	margin-top: 10px;
	margin-bottom: 10px;
}

dialog.light {
	position: fixed;
	width: 600px;
	min-height: 250px;
	top: 50%;
	left: 50%;
	margin-top: -175px;
	margin-left: -225px;
	background: var(--evalkoinen);
	box-shadow: 0 0 20px 0 rgba(0,0,0,0.3);
	padding: 20px;
	border-top: 20px solid var(--esininen);
}
dialog.light .dialogContent {
	position: absolute;
	top: 20px;
	bottom: 45px;
	left: 20px;
	right: 20px;
	overflow: auto;
}
dialog.light .dialogButtons {
	position: absolute;
	bottom: 10px;
	left: 20px;
	right: 20px;
	text-align: right;
}
dialog.light .dialogButtons button {
	border: none;
	text-align: center;
	text-transform: uppercase;
	background: #9d9d9d;
	color: var(--evalkoinen) !important;
	cursor: pointer;
	/*yliajettavat*/
	display: inline-block;
	height: 26px;
	line-height: 26px;
	padding-left: 10px;
	padding-right: 10px;
	/*estetty iOS:ää pyöristämästä nappien kulmia*/
	-webkit-appearance: none;
	border-radius: 0;
	transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
	background: var(--eliila);
}
dialog.light table.light {
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: rgb(64, 64, 64);
	border-collapse: separate;
	border: 1px solid var(--esininen);
}
dialog.light table.light td {
	background-color: #eee;
	padding: 5px;
	padding-left: 10px;
	padding-right: 10px;
	vertical-align: top;
}
dialog.light table.light tr:not(:first-child) td {
	border-top: 1px solid #ddd;
}
dialog.light table.light a {
	margin-left: 5px;
	display: inline-block;
	background-color: #909090;
	color: var(--evalkoinen);
	border-radius: 2px;
	font-size: 10px;
	padding: 5px;
	line-height: 11px;
	cursor: pointer;
}
table.light .cellTitle {
	color: #939598;
	font-weight: 600;
	font-size: 0.7em;
}
dialog.light .dialogContent:has(> table.light) {
	/*border: 1px solid var(--esininen);*/
}
/* Suosikit... */
.fav-star, .fav-star:hover {
	position: absolute;
	right: 5px;
	top: -5px;
	font-size: 30px;
	background-color: white;
	text-decoration: none;
}
.fav-star:after {
	content: '\2606';
}
.fav-star:hover:after {
	opacity: 0.5;
}
.fav-star.checked:after {
	content: '\2605';
}
.fav-star.checked:hover:after {
	opacity: 0.65;
}
.fav-refresh, .fav-refresh:hover {
	text-decoration: none;
	font-size: 20px;
	font-weight: bold;
}
.fav-refresh:hover {
	opacity: 0.65;
}
.fav-refresh::after,
.fav-refresh:hover::after {
	content: '\27F3';
}
.omat-tuotteet-col-right.onlyOld #fav-list-cont,
.omat-tuotteet-col-right.onlyOld .fav-star,
.omat-tuotteet-col-right[data-favcount="0"]:not(:has(#fav-list-container .fav-star)) .fav-refresh {
	display: none;
}

/*tää on myös styles-v22.css -filussa*/
#NavLinkLicenseJatko {
	display: none;
	padding-top: 0,5em;
	margin-top: 0,5em;
	border-top: solid 2px white;
	font-size: 0.9rem;
	width: 60%;
}

/* Tämä tarvitaan CHANGECUSTOMERTYPEDIALOG dialogille Checkout2Address.aspx.cs */
#modal {
	background: rgba(0,0,0,0.3);
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 1000;
	display: none;
}

/* Tämä tarvitaan CHANGECUSTOMERTYPEDIALOG dialogille Checkout2Address.aspx.cs */
#dk-dialog {
	display: none;
	position: fixed;
	width: 300px;
	overflow: auto;
	background-color: #ffffff;
	box-shadow: 0 0 10px 0 rgba(0,0,0,0.15);
	top: 50%;
	margin-top: -5em;
	left: 50%;
	margin-left: -160px;
	padding: 1rem;
}

#dk-dialog .dialog-text {
	padding-bottom: 1rem;
}

	#dk-dialog .button {
		float:right;
	}

	/* Tämä tarvitaan CHANGECUSTOMERTYPEDIALOG dialogille Checkout2Address.aspx.cs */
	.button {
		display: inline-block;
		padding: 0 10px;
		line-height: 26px;
		background-color: #004c5e;
		color: #ffffff;
		font-size: 1em;
		text-decoration: none;
		cursor: pointer;
	}

/* ... */