/* SVG */
svg [font-family="DINPro_Light_Regular"] {
	font-family: 'urw-din';
	font-weight: 300;
}
svg [font-family="DINPro_Regular_Regular"] {
	font-family: 'urw-din';
	font-weight: 400;
}
svg [font-family="DINPro_Medium_Regular"] {
	font-family: 'urw-din';
	font-weight: 500;
}
svg [font-family="DINPro_Bold_Bold"] {
	font-family: 'urw-din';
	font-weight: 700;
}

svg [font-family="Calibri_Regular"] {
	font-family: 'myriad-pro';
	font-weight: 400;
}


/******************************************************/


/* TYYLEJÄ */
.painike, .nappi {
    background-color: #2f4057;
}


/* ÄÄNITIEDOSTOT */
#painikkeet.soitin-esilla {
	display: flex;
	align-items: center;
}
#painikkeet.soitin-esilla-tyhja {
	justify-content: center;
}
.mobile #painikkeet.soitin-esilla {
	flex-wrap: wrap-reverse;
	justify-content: center;
}

.no-mobile #painikkeet.soitin-esilla > * {
	margin-top: 0 !important;
}

#painikkeet.soitin-esilla #sivu-soitin {
	position: relative;
	left: auto;
	right: auto;
	bottom: auto;
	text-align: left;
	margin-bottom: 0;
}
.mobile #painikkeet.soitin-esilla #sivu-soitin {
	flex: 0 0 100%;
}
.mobile.lisamateriaali-kaytossa:not(.fullscreen) #painikkeet.soitin-esilla #sivu-soitin {
	flex: 0 0 calc(100% - 2em);
	margin-left: auto;
}

#aanitiedostopainikkeet {
	font-size: .75em;
	margin: 0 auto 0 1em !important;
}
#painikkeet.soitin-esilla-tyhja #aanitiedostopainikkeet {
	margin: 0 0 0 1em !important;
}
.mobile #aanitiedostopainikkeet {
	flex: 0 0 100%;
	margin: 1em auto .5em !important;
}
#aanitiedostopainikkeet > *:first-child {
	border-top-left-radius: 1.25em;
	border-bottom-left-radius: 1.25em;
}
#aanitiedostopainikkeet > *:last-child {
	border-top-right-radius: 1.25em;
	border-bottom-right-radius: 1.25em;
}
#aanitiedostopainikkeet > * {
	position: relative;
	border: 1px solid #2f4057;
}
#aanitiedostopainikkeet > *:not(:last-child) {
	border-right: none;
}
#aanitiedostopainikkeet > *.selected {
	color: #000;
	background-color: #fff;
	padding-left: 2em;
	padding-right: 1em;
	pointer-events: none;
}
#aanitiedostopainikkeet > *.selected::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: .25em;
	width: 1.5em;
	background-image: url(https://digikirjat.edukustannus.fi/aineistot/koodit/ope-2018-01-16/lib/images/nappi/kuuntele_musta.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}