/*
	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 {
    position: absolute;
    /* This one fixes the IE positioning bug */
    overflow: hidden;
    top: 50%;
    left: 50%;
    width: 960px;
    height: 540px;
    margin-left: -480px;
    margin-top: -270px;
}


/*
	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;
        margin-left: -360px;
        margin-top: -225px;
    }
}

/*
	Makes the image slider invisible by default
*/

#threesixty_images {
    display: none;
}

#threesixty_images li {
  list-style-type: none;
}

/*
	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;
    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;
}


/* Sharepoint Integration for FIAT 124 */

#headerbg {}

.threesixty-section {
    position: relative;
    height: 580px;
    background: url("/Resources/img/cars/124/360view/124_360_background.jpg");
  }

.overlay-button {
    position: absolute;
    left: 10%;
    bottom: 10%;
    height: 40px;
}

.overlay-button a {
    display: inline-block;
    padding: 15px;
}

