html { position: relative; margin: 0; padding: 0; }
body { margin: 0; padding: 0; text-align: left; }
#imPage { position: relative; width: 100%; }
#imHeaderBg { position: absolute; left: 0; top: 0; width: 100%; }
#imMnMnGraphics { position: absolute; top: 0; bottom: 0; z-index: 9; }
#imContentContainer { position: relative; }
#imContent { position: relative; }
#imContentGraphics { position: absolute; top: 0; bottom: 0; }
#imFooPad { float: left; margin: 0 auto; }
#imBtMnContainer { clear: both; }
.imPageRow { position: relative; clear: both; overflow: hidden; zoom: 1; float: left; width: 100%; }
.imHGroup:after, .imUGroup:after, .imVGroup:after { content: ""; display: table; clear: both; }
#imFooterBg { position: absolute; left: 0; bottom: 0; width: 100%; }
#imFooter { position: relative; }
#imPageToTop { position: fixed; bottom: 30px; right: 30px; z-index: 100; display: none; opacity: 0.75 }
#imPageToTop:hover {opacity: 1; cursor: pointer; }
@media (min-width: 987px) {
		html { background-image: url('bg-1.png'); background-position: center center; background-repeat: repeat-y; background-attachment: scroll; background-color: #F2F9FF; }
		#imPage { padding-top: 0; margin-top: 0px; margin-bottom: 0px; min-width: 987px; }
		#imHeaderBg { height: 0px; background-image: none; background-color: transparent; }
		#imHeader { position: relative; margin-bottom: 36px; margin-left: auto; margin-right: auto; height: 230px; background-image: url('header.jpg'); background-position: center bottom; background-repeat: no-repeat; background-attachment: scroll; background-color: transparent; }
		#imHeaderObjects { position: relative; height: 230px; }
		#imMnMnContainer { position: absolute; top: 230px; left: 0; right: 0; margin-left: auto; margin-right: auto; }
		#imMnMn { position: relative; height: 36px; padding: 0px 0px 0px 0px; background-image: url('fondo-head.png'); background-position: center top; background-repeat: repeat-x; background-attachment: scroll; background-color: #FFFFC0; }
		#imMnMn > ul { text-align: center; }
		#imMnMn li { display: inline; }
		#imMnMnGraphics { display: none; }
		#imContent { min-height: 380px; padding: 0px 0 0px 0; }
		#imContentGraphics { left: 0; right: 0; margin-left: auto; margin-right: auto; min-height: 380px;  background-image: none; background-color: #FFFFC0; }
		#imFooterBg { height: 90px; background-image: none; background-color: transparent; }
		#imFooter { margin-left: auto; margin-right: auto; height: 90px; background-image: url('footer_2.jpg'); background-position: left top; background-repeat: no-repeat; background-attachment: scroll; background-color: transparent; }
		#imFooterObjects { position: relative; height: 90px; }
		#imFooPad { height: 380px; }
		#imHeader, #imMnMnContainer, #imFooter { width: 987px; }
		#imMnMn { width: 987px; }
		#imContentGraphics { width: 987px; }
	
}
@media  (max-width: 986px) {
		html { background-image: none; background-color: #F0F0F0; }
		#imPage { padding-top: 0; margin-top: 0px; margin-bottom: 0px; }
		#imHeaderBg { height: 25px; background-image: none; background-color: #83361A; }
		#imHeader { position: relative; margin-bottom: 100px; margin-left: auto; margin-right: auto; height: 25px; background-image: none; background-color: #83361A; }
		#imHeaderObjects { position: relative; height: 25px; }
		#imMnMnContainer { position: absolute; top: 25px; left: 0; right: 0; margin-left: auto; margin-right: auto; }
		#imMnMn { position: relative; height: 100px; padding: 0px 0px 0px 0px; background-image: url('logo_mobile.jpg'); background-position: left top; background-repeat: no-repeat; background-attachment: scroll; background-color: #FFFFC1; }
		#imMnMn > ul { text-align: center; }
		#imMnMn li { display: inline; }
		#imMnMnGraphics { display: none; }
		#imContent { min-height: 380px; padding: 10px 0 10px 0; }
		#imContentGraphics { left: 0; right: 0; margin-left: auto; margin-right: auto; min-height: 380px;  background-image: none; background-color: #FFFFC1; }
		#imFooterBg { height: 50px; background-image: none; background-color: #83361A; }
		#imFooter { margin-left: auto; margin-right: auto; height: 50px; background-image: none; background-color: transparent; }
		#imFooterObjects { position: relative; height: 50px; }
		#imFooPad, #imBtMnContainer, #imBtMn, #imPgMnContainer { display: none; }
		#imPage, #imMnMn, #imContent, #imContentGraphics, #imFooter { box-sizing: border-box; width: 100%; }
	
}
