.cb-slideshow,
.cb-slideshow:after {
    width: 100%;
    height: 550px;
    z-index: 0;
    position: relative;
    overflow: hidden;
}
.cb-slideshow:after {
    content: '';
    background: transparent url(../img/common/pattern.png) repeat top left;
}
.cb-slideshow li span {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
    opacity: 0;
    z-index: 0;
	-webkit-backface-visibility: hidden;
    -webkit-animation: imageAnimation 32s linear infinite 0s;
    -moz-animation: imageAnimation 32s linear infinite 0s;
    -o-animation: imageAnimation 32s linear infinite 0s;
    -ms-animation: imageAnimation 32s linear infinite 0s;
    animation: imageAnimation 32s linear infinite 0s;

}
.cb-slideshow li > div {
    z-index: 1000;
    position: absolute;
    top: 30px;
    left: 0px;
    width: 100%;
    text-align: center;
    opacity: 0;
    -webkit-animation: titleAnimation 32s linear infinite 0s;
    -moz-animation: titleAnimation 32s linear infinite 0s;
    -o-animation: titleAnimation 32s linear infinite 0s;
    -ms-animation: titleAnimation 32s linear infinite 0s;
    animation: titleAnimation 32s linear infinite 0s;

}
.cb-slideshow li > div {
    padding: 0;
	color: #fff;
	font-size: 1.1em;
}
.cb-slideshow li div h3 {
	font-size: 2.2em;
	font-weight: 300;
}
.cb-slideshow li.image1 span { background-image: url(../img/slides/main_01.png) }
.cb-slideshow li.image2 span {
    background-image: url(../img/slides/main_02.png);
    -webkit-animation-delay: 8s;
    -moz-animation-delay: 8s;
    -o-animation-delay: 8s;
    -ms-animation-delay: 8s;
    animation-delay: 8s;
}
.cb-slideshow li.image3 span {
    background-image: url(../img/slides/main_03.png);
    -webkit-animation-delay: 16s;
    -moz-animation-delay: 16s;
    -o-animation-delay: 16s;
    -ms-animation-delay: 16s;
    animation-delay: 16s;
}
.cb-slideshow li.image4 span {
    background-image: url(../img/slides/main_04.png);
    -webkit-animation-delay: 24s;
    -moz-animation-delay: 24s;
    -o-animation-delay: 24s;
    -ms-animation-delay: 24s;
    animation-delay: 24s;
}

.cb-slideshow li.image2 div {
    -webkit-animation-delay: 8s;
    -moz-animation-delay: 8s;
    -o-animation-delay: 8s;
    -ms-animation-delay: 8s;
    animation-delay: 8s;
}
.cb-slideshow li.image3 div {
    -webkit-animation-delay: 16s;
    -moz-animation-delay: 16s;
    -o-animation-delay: 16s;
    -ms-animation-delay: 16s;
    animation-delay: 16s;
}
.cb-slideshow li.image4 div {
    -webkit-animation-delay: 24s;
    -moz-animation-delay: 24s;
    -o-animation-delay: 24s;
    -ms-animation-delay: 24s;
    animation-delay: 24s;
}

/* Animation for the slideshow images */
@-webkit-keyframes imageAnimation {
	0% {
	    opacity: 0;
	    animation-timing-function: ease-in;
	}
	8% {
	    opacity: 1;
	    animation-timing-function: ease-out;
	}
	17% {
	    opacity: 1;
	    transform: scale(1.05);
	    -moz-transform: scale(1.05);
	    -webkit-transform: scale(1.05);
	}
	25% {
	    opacity: 0;
	    transform: scale(1.1);
	    -moz-transform: scale(1.1);
	    -webkit-transform: scale(1.1);
	}
	100% { opacity: 0; z-index: 1;}
}
@-moz-keyframes imageAnimation {
	0% {
	    opacity: 0;
	    animation-timing-function: ease-in;
	}
	8% {
	    opacity: 1;
	    animation-timing-function: ease-out;
	}
	17% {
	    opacity: 1;
	    transform: scale(1.05);
	    -moz-transform: scale(1.05);
	    -webkit-transform: scale(1.05);
	}
	25% {
	    opacity: 0;
	    transform: scale(1.1);
	    -webkit-transform: scale(1.1);
	    -moz-transform: scale(1.1);
	}
	100% { opacity: 0; z-index: 1; }
}
@-o-keyframes imageAnimation {
	0% {
	    opacity: 0;
	    animation-timing-function: ease-in;
	}
	8% {
	    opacity: 1;
	    animation-timing-function: ease-out;
	}
	17% {
	    opacity: 1;
	    transform: scale(1.05);
	    -moz-transform: scale(1.05);
	    -webkit-transform: scale(1.05);
	}
	25% {
	    opacity: 0;
	    transform: scale(1.1);
	    -moz-transform: scale(1.1);
	    -webkit-transform: scale(1.1);
	}
	100% { opacity: 0; z-index: 1; }
}
@-ms-keyframes imageAnimation {
	0% {
	    opacity: 0;
	    animation-timing-function: ease-in;
	}
	8% {
	    opacity: 1;
	    animation-timing-function: ease-out;
	}
	17% {
	    opacity: 1;
	    transform: scale(1.05);
	    -moz-transform: scale(1.05);
	    -webkit-transform: scale(1.05);
	}
	25% {
	    opacity: 0;
	    transform: scale(1.1);
	    -moz-transform: scale(1.1);
	    -webkit-transform: scale(1.1);
	}
	100% { opacity: 0; z-index: 1; }
}
@keyframes imageAnimation {
	0% {
	    opacity: 0;
	    animation-timing-function: ease-in;
	}
	8% {
	    opacity: 1;
	    animation-timing-function: ease-out;
	}
	17% {
	    opacity: 1;
	    transform: scale(1.05);
	    -moz-transform: scale(1.05);
	    -webkit-transform: scale(1.05);
	}
	35% {
	    opacity: 0;
	    transform: scale(1.1);
	    -moz-transform: scale(1.1);
	    -webkit-transform: scale(1.1);
	}
	100% { opacity: 0; z-index: 1; }
}
/* Animation for the title */
@-webkit-keyframes titleAnimation {
	0% {
	    opacity: 0; z-index: 9999;
	}
	8% {
	    opacity: 1;
	}
	17% {
	    opacity: 1;
	}
	19% { opacity: 0; }
	25% {
	    opacity: 0;
	}
	100% { opacity: 0; z-index: 1; }
}
@-moz-keyframes titleAnimation {
	0% {
	    opacity: 0;z-index: 9999;
	}
	8% {
	    opacity: 1;
	}
	17% {
	    opacity: 1;
	}
	19% { opacity: 0; }
	25% {
	    opacity: 0;
	}
	100% { opacity: 0; z-index: 1; }
}
@-o-keyframes titleAnimation {
	0% {
	    opacity: 0;z-index: 9999;
	}
	8% {
	    opacity: 1;
	}
	17% {
	    opacity: 1;
	}
	19% { opacity: 0; }
	25% {
	    opacity: 0;
	}
	100% { opacity: 0; z-index: 1; }
}
@-ms-keyframes titleAnimation {
	0% {
	    opacity: 0;z-index: 9999;
	}
	8% {
	    opacity: 1;
	}
	17% {
	    opacity: 1;
	}
	19% { opacity: 0; }
	25% {
	    opacity: 0;
	}
	100% { opacity: 0; z-index: 1; }
}
@keyframes titleAnimation {
	0% {
	    opacity: 0;z-index: 9999;
	}
	8% {
	    opacity: 1;
	}
	17% {
	    opacity: 1;
	}
	19% { opacity: 0; }
	25% {
	    opacity: 0;
	}
	100% { opacity: 0; z-index: 1; }
}
/* Show at least something when animations not supported */
.no-cssanimations .cb-slideshow li span{
	opacity: 1;
}
