/*
	Sets the style of the image slider wrapper <div> to be centered horizontally and vertically.
	It also sets its default dimensions and the overflowing hidden (to fix the IE image positioning bug).
*/
#threesixty {
	/* This one fixes the IE positioning bug */
	display: block;
	margin-left: auto;
	margin-right: auto;
	overflow:hidden;
	width: 100%;
	max-width:960px;
	height:540px;
	cursor:move; cursor:-webkit-grab; cursor:grab;
	background-color: red;


	background-color: #fff;
	margin-left: auto;
	margin-right: auto;
	position: absolute;
	top: 100px;
	border-radius: 10px;
	padding: 10px;

	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
		z-index: 999;
		
-webkit-box-shadow: -1px 2px 55px -20px rgba(0,0,0,0.75);
-moz-box-shadow: -1px 2px 55px -20px rgba(0,0,0,0.75);
box-shadow: -1px 2px 55px -20px rgba(0,0,0,0.75);


}
a.closelink {
	font-size: 20px;
	font-weight: bold;
	color: #f00;
	position: absolute;
	left: 10px;
	top: 10px;
	z-index: 99999;
	padding: 5px;
	visibility: visible;
}
a.closelink2 {
	font-size: 20px;
	font-weight: bold;
	color: #f00;
	position: absolute;
	left: 10px;
	top: 105px;
	z-index: 99999;
	padding: 5px;
	visibility: hidden;
}

ol, ul {
	list-style: none;
}
/*
	Defines the criteria for the max. 1024px wide tablets portrait mode and sets the image slider dimensions and centering according to it.
*/
@media	screen and (max-device-width: 1024px) and (orientation:portrait) {
	#threesixty {
		width:720px;
		height:450px;
	}
	a.closelink {
		visibility: hidden;
	}
	a.closelink2 {
		visibility: visible;
	}
}
/*
	Defines the criteria of the max. 480px wide mobiles' landscape mode and sets the image slider dimensions and centering according to it.
*/
@media	screen and (max-device-width: 480px) and (orientation:landscape),
				screen and (-webkit-min-device-pixel-ratio: 2) and (orientation:landscape) {
	#threesixty {
		width:360px;
		height:225px;
	}
}
/*
	Defines the criteria of the max. 480px wide mobiles' portrait mode and sets the image slider dimensions and centering according to it.
*/
@media	screen and (max-device-width: 480px) and (orientation:portrait),
				screen and (-webkit-min-device-pixel-ratio: 2) and (orientation:portrait) {
	#threesixty {
		width: 290px;
		height: 164px;
	}
}
/*
	Makes the image slider invisible by default
*/
#threesixty_images {
	display: none;
	margin-left: auto;
	margin-right: auto;
	background-color: blue;
}
/*
	Sets every image in the slider to be absolute positioned and dynamically sized.
*/
#threesixty img {
	position:absolute;
	/* This one fixes the IE positioning bug */
	top:0;

	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
		z-index: 9999;

	width:100%;
	height:auto;
}
/*
	Sets the style of the visible current frame of the image slider animation
*/
.current-image {
	visibility:visible;
	width:100%;
}
/*
	Sets the style of the visible "previous" frame of the image slider animation
*/
.previous-image {
	visibility:hidden;
	width:0;
}
/*
	Sets the dimensions of the CanvasLoader placeholder <div>, it also centeres it horizontally and vertically inside the wrapper and makes it invisible by default
*/
#spinner {
	position:absolute;
	left:50%;
	top:50%;
	width:90px;
	height:90px;
	margin-left:-45px;
	margin-top:-50px;
	display:none;
}
/*
	Sets the style of the percentage <span> of the preloader by setting its dimensions and centering it horizontally and vertically 
*/
#spinner span {
	position:absolute;
	top:50%;
	width:100%;
	color:#333;
	font:0.8em Arial, Verdana, sans;
	text-align:center;
	line-height:0.6em;
	margin-top:-0.3em;
}