/* CMS:n sisältöjen custmo-tyylit. Tätä voi käyttää suoraan myös www-sivustolla. */

figure, figure * {
	box-sizing: border-box;
}

figure
{
	text-align: center;
	border: solid 1px #ccc;
	border-radius: 2px;
	background: rgba(0,0,0,0.05);
	padding: 10px;
	margin: 10px 20px;
	display: inline-block;
}

figure > figcaption
{
	text-align: center;
	display: block; /* For IE8 */
}

/* Never exceed parent's size. */
figure {
	max-width: 100% !important;
	height: auto !important;
}

/* Let the image have figure's size. */
figure img {
	max-width: 100% !important;
	height: auto !important;
	margin-bottom: 5px;
}

/* Image narrow style. */
figure.image-narrow img, img.image-narrow {
	max-width: 300px;
	height: auto;
}

/* Image medium style. */
figure.image-medium img, img.image-medium {
	max-width: 450px;
	height: auto;
}

/* Image wide style. */
figure.image-wide img, img.image-wide {
	max-width: 600px;
	height: auto;
}

/* Image alignment styles. */
.image-align-right {
	float: right;
	margin-left: 20px;
	margin-bottom: 10px; 
}

.image-align-left {
	float: left;
	margin-right: 20px;
	margin-bottom: 10px; 
}

.image-align-center {
	text-align: center;
}

.image-align-center > figure {
	display: inline-block;
}

.image-border-radius {
	border-radius: 10px;
}

/* Embed narrow style. */
.embed-narrow {
	max-width: 300px;
	height: auto;
}

/* Embed medium style. */
.embed-medium {
	max-width: 450px;
	height: auto;
}

/* Embed wide style. */
.embed-wide {
	max-width: 600px;
	height: auto;
}

/* Embed center style. */
.embed-align-center {
	margin-left: auto;
	margin-right: auto;
}





moduuli,
newsletter,
kuvasarja
{
	display: inline-block;
	background: #fff2d8;
	padding: 0.5em;
	border: 1px solid #fadca8;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}


.info-btn
{
	display: inline-block;
	min-width: 20px;
	height: 20px;
	border: 0;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
	background-color: rgb(85, 150, 255);
	padding: 1px;
	box-sizing: border-box;
	text-align: center;
	font-size: 12px;
	color: #fff;
	cursor: default;
}
