/* fullscreen slideshow */
/*
 * jQuery Nivo Slider v3.0.1
 * http://nivo.dev7studios.com
 *
 * Copyright 2012, Dev7studios
 * Free to use and abuse under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */

/* The Nivo Slider styles */

/* NIVOSLIDER */

.nivoSlider {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    background-repeat: no-repeat no-repeat;
}

.nivoSlider img {
    position: absolute;
    width: 100%;
}

.nivo-main-image {
    display: block !important;
    position: relative !important;
    width: 100% !important;
}

/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    z-index: 6;
    display: none;
}

/* The slices and boxes in the Slider */
.nivo-slice {
    display: block;
    position: absolute;
    z-index: 5;
    height: 100%;
    top: 0;
}

.nivo-box {
    display: block;
    position: absolute;
    z-index: 5;
    overflow: hidden;
}

.nivo-box img {
    display: block;
}

/* Caption styles */
.nivo-caption {
    position: absolute;
    left: 0px;
    bottom: 0px;
    background: #000;
    color: #fff;
    width: 100%;
    z-index: 8;
    padding: 5px 10px;
    opacity: 0.8;
    overflow: hidden;
    display: none;
    -moz-opacity: 0.8;
    filter: alpha(opacity=8);
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box; /* Opera/IE 8+ */
}

.nivo-caption p {
    padding: 5px;
    margin: 0;
}

.nivo-caption a {
    display: inline !important;
}

.nivo-html-caption {
    display: none;
}

/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
    position: absolute;
    top: 50%;
    margin: -18px 0 0 0;
    z-index: 9;
    cursor: pointer;
    height: 36px;
    line-height: 36px;
    opacity: 0.7;
    filter: alpha(opacity=70); /* For IE8 and earlier */
}

.nivo-directionNav a:hover {
    opacity: 1.0;
    filter: alpha(opacity=100); /* For IE8 and earlier */
}

.nivo-prevNav {
    padding: 0 15px;
    background: #000;
    color: #fff;
    left: 0;
}

.nivo-nextNav {
    padding: 0 15px;
    background: #000;
    color: #fff;
    right: 0;
}

/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {
    text-align: center;
    padding: 15px 0;
}

.nivo-controlNav a {
    cursor: pointer;
    display: inline-block;
    width: 6px;
    height: 6px;
    background: url(../image/layout/bullets.png) no-repeat;
    text-indent: -9999px;
    border: 0;
    margin: 0 2px;
}

.nivo-controlNav a.active {
    background: url(../image/layout/bullets.png) 0 6px;
}

/* SUPERSIZED */
#supersized-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    text-indent: -999em;
    background: url(../image/layout/slideshow/supersized/progress.gif) no-repeat center center;
}

#supersized {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    z-index: 0;
    height: 100%;
    width: 100%;
}

#supersized img {
    width: auto;
    height: auto;
    position: relative;
    display: none;
    outline: none;
    border: none;
}

#supersized.speed img {
    -ms-interpolation-mode: nearest-neighbor;
    image-rendering: -moz-crisp-edges;
}

/*Speed*/
#supersized.quality img {
    -ms-interpolation-mode: bicubic;
    image-rendering: optimizeQuality;
}

/*Quality*/

#supersized li {
    display: block;
    list-style: none;
    z-index: -30;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #111;
}

#supersized a {
    width: 100%;
    height: 100%;
    display: block;
}

#supersized li.prevslide {
    z-index: -20;
}

#supersized li.activeslide {
    z-index: -10;
}

#supersized li.image-loading {
    background: #111 url(../image/layout/slideshow/supersized/progress.gif) no-repeat center center;
    width: 100%;
    height: 100%;
}

#supersized li.image-loading img {
    visibility: hidden;
}

#supersized li.prevslide img, #supersized li.activeslide img {
    display: inline;
}

/* Controls Bar
----------------------------*/
#controls-wrapper {
    display: none !important;
    margin: 0 auto;
    height: 42px;
    width: 100%;
    bottom: 0px;
    left: 0;
    z-index: 4;
    background: url(../image/layout/slideshow/supersized/nav-bg.png) repeat-x;
    position: absolute;
}

#controls {
    overflow: hidden;
    height: 100%;
    text-align: left;
    z-index: 5;
}

#slidecounter {
    float: left;
    color: #999;
    font: 14px "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-shadow: #000 0 -1px 0;
    margin: 0px 10px 0 15px;
    line-height: 42px;
}

/*#slidecaption { position: absolute; top: 10px; left: 10px; background: url('../image/layout/slideshow/supersized/bg-black.png'); overflow:hidden; color:#FFF; font:400 14px "Helvetica Neue", Helvetica, Arial, sans-serif; text-shadow:#000 1px 1px 2px; margin:0 20px 0 0; padding: 15px; }*/

#navigation {
    float: right;
    margin: 0px 20px 0 0;
}

#play-button {
    float: left;
    margin-top: 1px;
    border-right: 1px solid #333;
    background: url('../image/layout/slideshow/supersized/bg-hover.png') repeat-x 0 44px;
}

#play-button:hover {
    background-position: 0 1px;
    cursor: pointer;
}

#prevslide, #nextslide {
    position: absolute;
    height: 43px;
    width: 43px;
    top: 50%;
    margin-top: -21px;
    opacity: 0.6;
}

#prevslide {
    left: 10px;
    background: url('../image/layout/slideshow/supersized/back.png');
}

#nextslide {
    right: 10px;
    background: url('../image/layout/slideshow/supersized/forward.png');
}

#prevslide:active, #nextslide:active {
    margin-top: -19px;
}

#prevslide:hover, #nextslide:hover {
    cursor: pointer;
}

ul#slide-list {
    padding: 15px 0;
    float: left;
    position: absolute;
    left: 50%;
}

ul#slide-list li {
    list-style: none;
    width: 12px;
    height: 12px;
    float: left;
    margin: 0 5px 0 0;
}

ul#slide-list li.current-slide a, ul#slide-list li.current-slide a:hover {
    background-position: 0 0px;
}

ul#slide-list li a {
    display: block;
    width: 12px;
    height: 12px;
    background: url('../image/layout/slideshow/supersized/nav-dot.png') no-repeat 0 -24px;
}

ul#slide-list li a:hover {
    background-position: 0 -12px;
    cursor: pointer;
}

#tray-button {
    float: right;
    margin-top: 1px;
    border-left: 1px solid #333;
    background: url('../image/layout/slideshow/supersized/bg-hover.png') repeat-x 0 44px;
}

#tray-button:hover {
    background-position: 0 1px;
    cursor: pointer;
}


/* Progress Bar
----------------------------*/
#progress-back {
    z-index: 5;
    position: fixed;
    bottom: 42px;
    left: 0;
    height: 8px;
    width: 100%;
    background: url('../img/progress-back.png') repeat-x;
}

#progress-bar {
    position: relative;
    height: 8px;
    width: 100%;
    background: url('../img/progress-bar.png') repeat-x;
}


/* Thumbnail Navigation
----------------------------*/
#nextthumb, #prevthumb {
    z-index: 2;
    display: none;
    position: absolute;
    bottom: 61px;
    height: 75px;
    width: 100px;
    overflow: hidden;
    background: #ddd;
    border: 1px solid #fff;
    -webkit-box-shadow: 0 0 5px #000;
}

#nextthumb {
    right: 12px;
}

#prevthumb {
    left: 12px;
}

#nextthumb img, #prevthumb img {
    width: 150px;
    height: auto;
}

#nextthumb:active, #prevthumb:active {
    bottom: 59px;
}

#nextthumb:hover, #prevthumb:hover {
    cursor: pointer;
}


/* Thumbnail Tray
----------------------------*/
#thumb-tray {
    position: absolute;
    z-index: 3;
    bottom: 0;
    left: 0;
    background: url(../image/layout/slideshow/supersized/bg-black.png);
    height: 150px;
    width: 100%;
    overflow: hidden;
    text-align: center;
    -moz-box-shadow: 0px 0px 4px #000;
    -webkit-box-shadow: 0px 0px 4px #000;
    box-shadow: 0px 0px 4px #000;
}

#thumb-back, #thumb-forward {
    position: absolute;
    z-index: 5;
    bottom: 42px;
    height: 108px;
    width: 40px;
}

#thumb-back {
    left: 0;
    background: url('../image/layout/slideshow/supersized/thumb-back.png') no-repeat center center;
}

#thumb-forward {
    right: 0;
    background: url('../image/layout/slideshow/supersized/thumb-forward.png') no-repeat center center;
}

#thumb-back:hover, #thumb-forward:hover {
    cursor: pointer;
    background-color: rgba(256, 256, 256, 0.1);
}

#thumb-back:hover {
    border-right: 1px solid rgba(256, 256, 256, 0.2);
}

#thumb-forward:hover {
    border-left: 1px solid rgba(256, 256, 256, 0.2);
}


ul#thumb-list {
    display: inline-block;
    list-style: none;
    position: relative;
    left: 0px;
    padding: 0 0px;
}

ul#thumb-list li {
    background: #111;
    list-style: none;
    display: inline;
    width: 150px;
    height: 108px;
    overflow: hidden;
    float: left;
    margin: 0;
}

ul#thumb-list li img {
    width: 200px;
    max-width: none;
    height: auto;
    opacity: 0.5;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
    filter: alpha(opacity=60);
    -webkit-transition: all 100ms ease-in-out;
    -moz-transition: all 100ms ease-in-out;
    -o-transition: all 100ms ease-in-out;
    -ms-transition: all 100ms ease-in-out;
    transition: all 100ms ease-in-out;
}

ul#thumb-list li.current-thumb img, ul#thumb-list li:hover img {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
}

ul#thumb-list li:hover {
    cursor: pointer;
}


/*
#occasions_header{
	position: relative;
}

#fss{
	position: absolute;
	z-index: 1000;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,1);
}
	#fullscreen_open, #fullscreen_close{
		display: block;
		position: absolute;
		width:32px;
		height:32px;
		background: rgba(0, 0, 0, 0.5) url('../image/layout/fss_icons.png');
		background-repeat: no-repeat;
		text-indent: -9999px;
		-webkit-border-radius: 4px;
		-moz-border-radius: 4px;
		border-radius: 4px;
		top: 200px;
		right:10px;
		z-index: 10000;
	}

	#fullscreen_open{
		position: absolute;
	}

	#fullscreen_close{
		background-position: -32px 0;
	}

	.fsloader{
		position: absolute;
		top: 50%;
		left: 50%;
		margin: -16px 0 0 -16px;
	}

	#fsshow{
		width:100%;
		max-width: none;
		height: 100%;
		background: none;
		overflow: hidden;
	}

		#fsshow .flex-viewport{
			overflow: hidden !important;
		}

		#fsshow .flex-viewport img{ height: auto; }

		#fsshow .flex-prev{
			left:15px;
			opacity: 1;
			background: url('../image/layout/slider/flex_prev.png') no-repeat 0 0;
		}

		#fsshow .flex-next{
			right:15px;
			opacity: 1;
			background: url('../image/layout/slider/flex_next.png') no-repeat 0 0;
		}

	@media screen and (max-width: 1024px){
		#fsshow{
			max-height:640px;
		}
	}
	*/