﻿/*	
================================================
	IMAGE CLASSES
================================================ 
*/

/*
	=====================================================
	Use the classes .imageCenter, .imageLeft and .imageRight in figures to set the image width
	=====================================================
*/
figure {
	margin: 0;
	padding: 0;
	text-align: center;
}

figcaption {
	font-size: 0.9em ;
	font-style: italic;
	line-height: 125%;
	text-align: left;
	padding: 8px 0 4px 0;
}

.imageCenter figcaption {
	text-align: center;
}

figcaption p {
	padding-top: 0;
	margin-top: 0
}

figure img {
	width: 100%;
	height: auto;
	margin: 0 auto;
	background: #fff;
}

video,
audio {
	width: 100%;
	height: auto;
	border: 1px black solid
}

/*
	=====================================================
	Use the Image styles bellow primarily as Classes within Figure
	===================================================== 
*/
.imageLeft {
	float: left;
	margin: 4px 1em 0.5em 0 !important;
	padding: 0;
	width: 34%;
}

.imageRight {
	float: right;
	margin: 4px 0 10px 20px !important;
	width: 34%;
}

.imageLeft figure,
.imageRight figure {
	margin-bottom: 5px;
}

.imageLeft object,
.imageLeft embed,
.imageLeft video,
.imageLeft audio,
.imageLeft iFrame,
.imageRight object,
.imageRight embed,
.imageRight video,
.imageRight audio,
.imageRight iFrame {
	width: 100%;
	min-height: 192px;
	border: 0;
	margin: 0;
	padding: 0;
}

.imageCenter {
	position: relative;
	clear: both;
	width: 100%;
	border: 0;
	text-align: center;
	margin-bottom: 20px;
	padding: 0;
}

.imageCenter object,
.imageCenter embed,
.imageCenter video,
.imageCenter iFrame {
	width: 100%;
	min-height: 380px;
	border: 0;
	margin: 0;
	padding: 0;
}

.imageCenter img,
.imageLeft img,
.imageRight img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
	border: 0;
}

.imgInList img {
	max-height: 140px;
}

/* 
	=====================================================
	For simple photo slider within texts 
	=====================================================
*/
.moreImages {
	display: block;
	margin-bottom: 24px;
}

.moreImages .figures {
	position: relative;
	clear: both;
	overflow: hidden;
}

.moreImages .figures figure {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	padding:0;
	margin: 0;
	visibility: visible;
	opacity: 0;
}
.moreImages .figures figure:first-child {
	position: static !important;
}

.moreImages .figure figure img {
	/*Use Not Block*/
	width: auto;
	height: auto;
	max-width: 100%;
	margin: 0 auto;
}

.moreImages .figures figure:first-child image {
	width: 100%;
	height: auto;
}

/*
	Navigation Menu
*/
.moreImages .flexBox {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: nowrap;
	padding: 20px 0 0 0;
}

.moreImages ul {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	list-style: none;
	text-align: center;
	background: transparent;
	cursor: pointer;
	line-height: 100%;
	margin: 0;
	padding: 0;
}

.moreImages li {
	font-size: 1em;
	padding: 4px 12px;
	margin: 0 2px 12px 2px;
	background: #fff;
	color: #999;
	border: 1px solid #ddd;
	border-radius: 3px;
}

.moreImages li:hover,
.moreImages li.selected {
	background: #eee;
	color: #000;
}

.moreImages .flexBox div {
	cursor: pointer;
	opacity: 0.6;
	padding: 0;
	margin: 0;
	z-index: 10;
}

.moreImages .flexBox div:hover {
	opacity: 1;
}

.moreImages .flexBox div img {
	display: block;
	width: 32px;
}

.moreImages p {
	font-size: 0.9em;
	font-style: italic;
	text-align: center;
	margin: 0 0 32px 0;
}

/*
	=====================================================
	NOT Used - Decorative images in default.asp page, if any
	=====================================================
*/
#imgBodyMiddle,
#imgBodyRight {
	display: table;
	table-layout: fixed;
	width: 100%;
}

#imgBodyRight {
	text-align: center;
}

#imgBodyMiddle img {
	display: block;
	margin-top: 10px;
	max-height: 60px;
	width: auto;
}

#imgBodyRight img {
	max-width: 100%;
	margin: 0 auto;
}
