/*
 mileagem.css
*/

#mileagem {
	position: absolute;
	top: 50%;
	left: 50%;
	height: 150px;
	width: 150px;
	margin: -75px 0 0 -75px;
	padding: 0;
	text-align: left;
}

/* The container that holds everything */
.MM_Container {
	position: relative;
	width: 100%;
	height: 100%;
	background: none;
	padding: 0;
	margin: 0;
}

.MM_Button {
	cursor: pointer;
	text-decoration: none;
	border: none;
	background: none;
	margin: 0;
	padding: 0;
}

/* The buttons on the side when you view a gallery */
.MM_Sides {
	position: absolute;
	top: 50%;
	left: 0;
	clear: both;
	width: 100%;
	padding: 0;
	margin: 0;
}
.MM_Sides * { padding: 0; margin: 0; }
.MM_Sides li {
	list-style-type: none;
	position: relative;
}

.MM_PrevSide { float: left; }
.MM_NextSide { float: right; }
.MM_Sides .MM_Wrapper {
	width: 100%;
	height: 100%;
	cursor: pointer;
}
.MM_Sides .MM_Button {
	float: left;
	background: none;
}

/* The frames above and below the center, that hold the corners.
   It's recommended not to change anything here, a lot is done in
   javascript to build further upon this based on your settings.
*/
.MM_Frames {
	width: 100%;
	height: 100%;
	position: relative;
	padding: 0;
	margin: 0;
}
.MM_Frames li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.MM_Frame {
	width: 100%;
	display: block;
}
.MM_Frame * { padding: 0; margin: 0; }
.MM_FrameTop {
	position: absolute;
	left: 0;
	width: 100%;
	display: block;
}
.MM_FrameBottom {
	position: relative;
	float: left;
	clear: both;
}

.MM_Liquid {
	position: relative;
	float: left;
	width: 100%;
	overflow: hidden;
	clear: both;
}
.MM_Liquid .MM_Filler {
	position: absolute;
	height: 100%;
	width: 2px;
	top: 0;
	left: 50%;
}

.MM_Half {
	display: block;
	height: 100%;
	clear: both;
	line-height: 0px;
}
.MM_Half li { list-style-type: none; }
.MM_Corner {
	float: left;
	position: relative;
}
.MM_CornerTr, .MM_CornerBr { float: right; }

.MM_Fill {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
}

.MM_Half .MM_CornerWrapper {
	float: left;
	position: relative;
	width: 50%;
	height: 100%;
	overflow: hidden;
}
.MM_HalfRight .MM_CornerWrapper { float: right; }

.MM_Corner { position: relative; }
.MM_Corner canvas { position: relative; }
.MM_HalfLeft .MM_Corner { float: left; }
.MM_HalfRight .MM_Corner {
	position: relative;
	float: right;
}

/* To position content correctly in the center with correct
   rounded corner display we need a few wrappers.
   This is to get it right on all browsers.
*/
.MM_Center {
	position: relative;
	clear: both;
	height: 100%;
	overflow: hidden;
	background: none;
	padding: 0;
	margin: 0;
}
.MM_WrapUp {
	position: absolute;
	left: 0;
	height: 100%;
	width: 100%;
	overflow: hidden;
	padding: 0;
	margin: 0;
}
.MM_WrapDown {
	position: relative;
	height: 100%;
	width: 100%;
	overflow: hidden;
	padding: 0;
	margin: 0;
}
.MM_WrapCenter {
	position: relative;
	padding: 0;
	margin: 0;
}

/* The loading indicator */
.MM_Loading {
	position: absolute;
	top: 50%;
	left: 50%;
}
.MM_Loading .MM_Button {
	float: left;
	height: 100%;
	width: 100%;
}

.MM_MediaWrapper {
	position: relative;
	width: 100%;
	display: block;
	overflow: hidden;
	clear: both;
	padding: 0;
	margin: 0;
}
.MM_MediaWrapper img {
	position: relative;
	float: left;
	padding: 0;
	margin: 0;
}

/* The overlays on top of images that toggle the previous/next buttons */
.MM_PrevNext {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
}
.MM_PrevNext * { padding: 0; margin: 0; }
.MM_PrevNext .MM_Button {
	position: relative;
	height: 100%;
}
.MM_PrevButton { float: left; }
.MM_NextButton { float: right; }

/* The bar that holds title, caption, imagenumber, slideshow and closebutton */
.MM_MenuBar {
	clear: both;
	position: relative;
	width: 100%;
	font: 11px Arial, Helvetica, sans-serif;
	color: #7a7a7a;
	padding: 0;
	margin: 0;
	text-align: left;
}
.MM_MenuBar * { padding: 0; margin: 0;}


.MM_Close {
    position: relative;
	float: right;
	overflow: hidden;
	width: 100%;
	height: 100%;
}

.MM_Data {
	position: relative;
	float: left;
	padding-bottom: 3px;
	line-height: 13px;
	overflow: hidden;
}

/* simulates padding-left inside .MM_Data 
.MM_DataText div, .MM_ImgNumber div { margin-left: 3px; } */

.MM_Data li {
	list-style-type: none;
	float: left;
	margin-top: 3px;
}
.MM_DataText { width: 100%; }
.MM_DataText .MM_Title {
	font-weight: bold;
	margin-bottom: 2px;
}
.MM_DataText .MM_Caption { clear: both; }
.MM_Data .MM_ImgNumber {
	color: #a7a7a7;
	margin-right: 5px;
	margin-top: 5px;
}

.MM_Data .MM_innerPrevNext, 
.MM_Data .MM_Slideshow {
	position: relative;
	border-left: 1px solid #d7d7d7;
	padding: 0 5px;
	margin-top: 5px;
	vertical-align: middle;
}
.MM_Data .MM_Slideshow { padding-right: 0px; }

.MM_Data .MM_innerPrevNext .MM_Button, 
.MM_Data .MM_Slideshow .MM_Button { /* play and stop */
	float: left;
	background-position: center left;
	background-repeat: no-repeat;
}

/* the boxes that hold media or external content */
.MM_contentTop,
.MM_contentBottom {
	position: relative;
	float: left;
	margin: 0;
	padding: 0;
	clear: both;
}

#mileagem iframe {
	float: left;
	border: 0;
	clear: both;
	padding: 0;
	margin: 0;
	background: none;
}

/* The container that hold buttons above the view, currently only topclose */
.MM_topButtons {
	position: absolute;
	left: 0;
	width: 100%;
	overflow: hidden;
	margin: 0;
	padding: 0;
}
.MM_topcloseButtonImage { cursor: pointer; }


/* The error/warning/download message that will appear when
   a required plugin is not installed.
*/
#mileagemError p { padding: 0 0 10px 0; }
#mileagemError div {
	padding: 6px;
	font: 11px Arial, Helvetica, sans-serif;
}
#mileagemError .message {
	background: #fcb5b5;
	color: #dd1f1f;
	margin-bottom: 3px;
}
#mileagemError .type { font-weight: bold; }
#mileagemError .pluginspage {
	background: #b5fcbd;
	color: #21be30;
}
#mileagemError a,
#mileagemError a:hover,
#mileagemError a:visited {
	color: #21be30;
	text-decoration: none;
	background: none;
	font-weight: bold;
	border-bottom: 1px solid #7de689;
}
#mileagemError p {
	margin-left: 0;
	padding: 0;
}

#MM_overlay {
  position: absolute; /* Opera will use fixed */
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

/* navbar
   Adds a bar below the view that takes over the default Controller
*/
#mileagemController {
	position: fixed;
	bottom: 0;
	top: 0;
	left: 50%;
	margin: 0;
	padding: 0;
	color: #d2d2d2;
	font: 11px Arial, Helvetica, sans-serif;
}
* html body #mileagemController { /* IE6 */
	position: absolute;
	top: auto;
	margin-top: expression( (-1 * this.offsetHeight / 2 + (document.documentElement ? document.documentElement.scrollTop : 0) + (Lightview.controllerOffset || 0)) + 'px');	
}
#mileagemController ul {
	display: block;
	height: 100%;
	float: left;
	margin: 0;
	padding: 0;
	position: relative;
}
.MM_controllerTop, .MM_controllerMiddle, .MM_controllerBottom {
	list-style-type: none;
	float: left;
	display: block;
	position: relative;
	clear: both;
	overflow: hidden;
	margin: 0;
	padding: 0;
}
.MM_controllerCenter  { width: auto; float: left; }
.MM_controllerCornerWrapper {
	position: absolute;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}
.MM_controllerCornerWrapperTopLeft,
.MM_controllerCornerWrapperBottomLeft { top: 0; left: -100%;}
.MM_controllerCornerWrapperTopRight,
.MM_controllerCornerWrapperBottomRight { top: 0; left: 100%;}

#mileagemController .MM_CornerWrapper {
	width: 100%;
}
#mileagemController .MM_Corner { float: left; }
#mileagemController .MM_Corner {
	float: right;
	position: relative;
}
#mileagemController .MM_CornerTr, #mileagemController .MM_CornerBr { float: left; }
.MM_controllerBetweenCorners {
	position: relative;
	height: 100%;
	overflow: hidden;
}

.MM_controllerMiddle {
	position: relative;
	height: 100%;
	float: left;
}
.MM_controllerCenter { float: left; width: auto;}
.MM_controllerCenter li {
	list-style-type: none;
	float: left;
	display: inline;
	position: relative;
	clear: none;
}
.MM_controllerSetNumber {
	float: left;
	text-align: center;
}

#mileagemController .MM_Button {
	float: left;
	position: relative;
	height: 100%;
	clear: none;
}
.MM_controllerSetNumber {
	position: relative;
	height: 100%;
	padding-right: 3px;
}
.MM_controllerPrev, 
.MM_controllerNext, 
.MM_controllerSlideshow, 
.MM_controllerClose {
	float: left;
	position: relative;
	height: 100%;
	padding-left: 3px;
}

.MM_controllerPrev { border-left: 1px solid #3c3c3c; }
#mileagemController .MM_controllerNext { padding-right: 3px; border-right: 1px solid #3c3c3c; }

* html #mileagem { /* IE6 */
	position: absolute;
	margin-top: expression( (-1 * this.offsetHeight / 2 + (document.documentElement ? document.documentElement.scrollTop : 0) - (Lightview.controllerHeight || 0)) + 'px');
	margin-left: expression( -1 * this.offsetWidth / 2 + (document.documentElement ? document.documentElement.scrollLeft : 0) + 'px');
}

/* Always cover 100% of the screen in IE6 */
html #MM_overlay {
	position: absolute;
	height: expression(((window.Enumerable && window.Enumerable.max) ? [document.body.scrollHeight, document.documentElement.scrollHeight, document.body.offsetHeight, document.documentElement.clientHeight].max() : document.documentElement.scrollHeight) + 'px' );
	width: expression(((window.Enumerable && window.Enumerable.max) ? [document.body.scrollWidth, document.documentElement.scrollWidth, document.body.offsetWidth, document.documentElement.clientHeight].max() : document.documentElement.scrollWidth) + 'px' );
}