/*	
	================================================
	IMAGE CLASSES
	================================================ 
	Use the classes .image_center, .image_left and .image_right 
	in figures to set the image width
*/
figure {
	margin: 0;
	padding: 0;
	text-align: center;
}

figcaption {
	font-size: 0.96em;
	font-style: italic;
	line-height: 125%;
	text-align: left;
	margin-top: 0.75rem;
}

.image_center figcaption {
	text-align: center;
}

td img,
figure img {
	width: 100%;
	height: auto;
	margin: 0 auto;
	background: #fff;
}

video {
	width: 100%;
	height: auto;
	margin: 0 auto;
}
audio {
	width: 100%;
	height: 60px;
	margin: 0 auto;
}

/*
	=====================================================
	The Image styles bellow are primarily used
	as Classes of the tag element FIGURE
	===================================================== 
*/

.image_left {
	float: left;
	margin: 0.25rem 1rem 0.5rem 0 !important;
	padding: 0;
	width: 34%;
}

.image_right {
	float: right;
	margin: 0.25rem 0 0.5rem 1rem !important;
	width: 34%;
}

/* multiple figures within a figure */
.image_left figure,
.image_right figure {
	margin-bottom: 5px;
}

.image_left figcaption,
.image_right figcaption {
	font-size: 0.8rem;
}

.image_center {
	display: block;
	position: relative;
	clear: both;
	width: 100%;
	text-align: center;
	margin-bottom: 1.5rem;
	padding: 0;
}

.image_center img,
.image_left img,
.image_right img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
}

article > img,
article p img {
	width: 100%;
	height: auto;
}

/*
	Block class for object, embed and iFrame
	- Define a DIV container with width/height ratio of 16:9
	- Can be used along or within all the above .image_* classes
*/

.video_wrapper {
	position: relative;
	/* ratio 16:9 */
	padding-bottom: 56.25%;
	height: 0;
}

.video_wrapper object,
.video_wrapper embed,
.video_wrapper iFrame {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

@media (min-width: 1200px) {
	figcaption {
		padding-left: 2%;
		padding-right: 2%;
	}
}

/*
	=====================================================
	Various image classes
	=====================================================
*/

.captcha_input {
	width: 200px !important;
}

.refresh_captcha img {
	width: 60px;
	height: 60px;
	background: #0b6fb8;
	display: inline-block;
}

.chart_flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	border: 1px solid #ddd;
	margin-bottom: 2rem;
	padding: 1rem 0;
}

.chart_container {
	position: relative;
	margin: auto;
	width: 100%;
	height: 100%;
	margin-bottom: 2rem;
}

@media (min-width: 768px) {
	.chart_container {
		width: 49%;
		height: 49%;
		margin-bottom: auto;
	}
}