.clearFix{ 
	display: block !important;
	float: none !important;
	clear: both !important;
	width: 0px !important;
	height: 0px !important;
	padding: 0px !important;
	border-width: 0px !important;
}

body {
	font-family: Arial, sans-serif;
	font-size: 14px;
}
#container { border:4px solid gray;	margin:0px auto; overflow:hidden;
	width: 600px; /* to be adjusted later by JS */ }
#page { height:100%; width:100%; background-color:#fff; margin:0 auto; overflow:hidden}

#sections {
	background: url('../img/logo.png') no-repeat top center #000;
	color: white;
	overflow:hidden;
	position:relative; z-index:10;
	float: left;
	width: 132px;
}
#rightPanel {position:relative; padding-left:136px; height:625px}

#navigation {
	background-color: #b4b4b4; height:25px; position:relative; width:auto
}
#content {
	width: auto; /* this is going to be fluid later, adjusted by JS */
	text-align: center; 
	min-height:360px; position:relative
}

#content #image {
	position: relative;
	left: 200px;
	border: 0px solid black;
	width: auto;
	height: auto;
 //height: 90%;
}
#slideImage {
	position: absolute;
	width: auto; right:0;
	height: auto;
	border: 0px solid black;
	height: 600px; 
}

#slides {
	position: absolute;
	width: auto;
	height: 72px;
	background: #676767;
	color: black;
	overflow: hidden;
	padding-top: 0px;
	margin-top: -96px;
}
#slides-container {
	position: relative;
	width: auto;
	height: 72px;
	max-height: 72px;
}
/* -- Sections Menu Items ----------------------------------------------------- */

#sections ul {
	list-style-type: none;
	text-align: center;
	padding: 0px;
	padding-left: 3px;
	padding-right: 0px;
	font-size: 12px;
	margin-top: 50%;
}
#sections li {
	position: relative;
	padding: 10px;
	padding-top: 8px;
	height: 12px;
	margin-bottom: 0px;
	background: darkorange;
	border: 2px solid black;
	border-bottom: 3px solid black;
	opacity: 1.0;
	cursor: pointer;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;/* transitions */

	/*-webkit-transition: background-position 1s;*/

}
#sections li:hover {
/*background-position: 0px 0px;*/

}
#sections li:nth-child(1) {
	background: url('../img/menu-item-red.png') no-repeat -100px 0px gray;/*background-position: 0px 0px;*/

}
#sections li:nth-child(1):hover {
/*background-position: 0px 0px;	*/

}
#sections li:nth-child(2) {
	background: url('../img/menu-item-pink.png') no-repeat -100px 0px gray;
}
#sections li:nth-child(3) {
	background: url('../img/menu-item-orange.png') no-repeat -100px 0px gray;
}
#sections li:nth-child(4) {
	background: url('../img/menu-item-blue.png') no-repeat -100px 0px gray;
}
#sections li:nth-child(5) {
	background: url('../img/menu-item-lightblue.png') no-repeat -100px 0px gray;
}
#sections li:nth-child(6) {
	background: url('../img/menu-item-purple.png') no-repeat -100px 0px gray;
}
#sections li:nth-child(7) {
	background: url('../img/menu-item-lightgreen.png') no-repeat -100px 0px gray;
}
#sections li:nth-child(8) {
	background: url('../img/menu-item-green.png') no-repeat -100px 0px gray;
}
/* -- Navigation -------------------------------------------------------------- */

#navigation ul {
	list-style-type: none;
	padding: 0px;
	padding-top: 3px;
	margin: 0px;
}
#navigation li {
	float: right;
	margin: 0 0 0 0px;
	padding: 2px;
	cursor: pointer;
}
#navigation #prev {
	background: url('../img/button-prev-small.png') no-repeat transparent;
	width: 20px;
	height: 19px;
}
#navigation #next {
	background: url('../img/button-next-small.png') no-repeat transparent;
	width: 20px;
	height: 19px;
}
#navigation #play {
	background: url('../img/button-play-small.png') no-repeat transparent;
	width: 20px;
	height: 19px;
}
#navigation #play.active {
	background: url('../img/button-pause-small.png') no-repeat transparent;
}
#navigation #speed {
	background: url('../img/button-speed-small.png') no-repeat transparent;
	width: 54px;
	height: 19px;
}
#navigation #fullscreen {
	background: url('../img/button-fullscreen-small.png') no-repeat transparent;
	width: 25px;
	height: 19px;
}
/* -- Slides ------------------------------------------------------------------ */

#slides #button-prev {
	position: relative;
	float: left;
	width: 32px;
	height: 72px;
	padding: 0;
	margin: 0px 0px 0px 0px;
	background: url('../img/button-prev.png') center center no-repeat #676767;
	z-index: 10;
	cursor: pointer;
}
#slides #button-next {
	position: relative;
	float: right;
	width: 32px;
	height: 72px;
	padding: 0;
	margin: -72px 0px 0px 0px;
	background: url('../img/button-next.png') center center no-repeat #676767;
	z-index: 10;
	cursor: pointer;
}
#slides ul {
	list-style-type: none;
	padding: 12px;
	padding-top: 0px;
}
#slides li {
	display: inline-block;
	position: relative;
	width: 60px;
	height: 40px;
	border: 3px solid darkgray;
	margin: 0 0 6px 6px;
	margin-top: 13px;
	background: no-repeat center center;
	-moz-background-size: 100%;
	-ms-background-size: 100%;
	-webkit-background-size: 100%;
	-o-background-size: 100%;
	background-size: 100%;
	-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
	-ms-box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
	-o-box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
	cursor: pointer;
	transition: border-color, transform 0.3s;
	-webkit-transition: border-color, -webkit-transform 0.3s;
	-o-transition: border-color, -o-transform 0.3s;
	-moz-transition: border-color, -moz-transform 0.3s;
}
#slides li:hover {
	border-color: white;
	transform: translate(0px, -8px);
	-o-transform: translate(0px, -8px);
	-ms-transform: translate(0px, -8px);
	-webkit-transform: translate(0px, -8px);
	-moz-transform: translate(0px, -8px);
}
#slides .selected {
	border-color: white;
	transform: translate(0px, -8px);
	-o-transform: translate(0px, -8px);
	-ms-transform: translate(0px, -8px);
	-webkit-transform: translate(0px, -8px);
	-moz-transform: translate(0px, -8px);
}





@media (max-width: 603px) {
#container {display:table; table-layout:fixed; zoom:0.92;  -ms-zoom:0.92; -webkit-zoom:0.92; -moz-transform:scale(0.92,0.92); -moz-transform-origin:0 0;}	
	}
	
@media (max-width: 568px) {
#container {display:table; table-layout:fixed; zoom:0.8;  -ms-zoom:0.8; -webkit-zoom:0.8; -moz-transform:scale(0.8,0.8); -moz-transform-origin:0 0;}	
	}
	
@media (max-width:480px) {
#container {display:table; table-layout:fixed; zoom:0.75;  -ms-zoom:0.75; -webkit-zoom:0.75; -moz-transform:scale(0.75,0.75); -moz-transform-origin:0 0;}
	}
	
@media (max-width:414px) {
#container {display:table; table-layout:fixed; zoom:0.65}	
html, body{height:408px}
	}
	
@media (max-width:374px) {
#container {display:table; table-layout:fixed; zoom:0.58;}
	}	
	
@media (max-width:360px) {
#container {display:table; table-layout:fixed; zoom:0.5;  -ms-zoom:0.5; -webkit-zoom:0.5; -moz-transform:scale(0.5,0.5); -moz-transform-origin:0 0;}
	}	

@media (max-width:320px) {
#container {display:table; table-layout:fixed; zoom:0.47;  -ms-zoom:0.47; -webkit-zoom:0.47; -moz-transform:scale(0.47,0.47); -moz-transform-origin:0 0;}
#sections li{ -webkit-text-size-adjust:54%;}
html, body{height:auto}
@-moz-document url-prefix() { 
  html, body, #container {position:fixed; min-width:100%; min-height:296px!important;}
}
	}
@-moz-document url-prefix() { 
  html, body {position:fixed; width:100%; height:100%;}
  #slides{bottom:0; top:auto!important}
}