.cb-slideshow,
.cb-slideshow:after {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 0;
}
.cb-slideshow:after {
    content: '';
/*   background: transparent url(../images/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;
	animation: imageAnimation 56s linear infinite 0s;
}

.cb-slideshow li div {
    z-index: 1000;
    position: absolute;
    bottom: 10px;
    left: 0px;
    width: 100%;
    text-align: left;
    opacity: 0;
    color: #fff;
    animation: titleAnimation 56s linear infinite 0s;
}
.cb-slideshow li div h3 {
    font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif;
    font-size: 160px;
    padding: 0 30px;
    line-height: 120px;
    color: rgba(169,3,41, 0.8);
}

.cb-slideshow li:nth-child(1) span { 
/*	background-image: url(../../../wp-content/uploads/2017/04/main-slide01.jpg);*/
	background-image: url(../../images/main-slide-1.jpg);
}
.cb-slideshow li:nth-child(2) span {
/*   background-image: url(../../../wp-content/uploads/2017/04/main-slide02.jpg);*/
	background-image: url(../../images/main-slide-2.jpg);
    animation-delay:  8s;
}
.cb-slideshow li:nth-child(3) span {
/*    background-image: url(../../../wp-content/uploads/2017/04/main-slide04.jpg);*/
	background-image: url(../../images/main-slide-3.jpg);
    animation-delay: 16s;
}
.cb-slideshow li:nth-child(4) span {
/*    background-image: url(../../../wp-content/uploads/2017/04/main-slide05.jpg);*/
	background-image: url(../../images/main-slide-4.jpg);
    animation-delay: 24s;
}
.cb-slideshow li:nth-child(5) span {
/*    background-image: url(../../../wp-content/uploads/2017/04/main-slide06.jpg);*/
	background-image: url(../../images/main-slide-5.jpg);
    animation-delay: 32s;
}
.cb-slideshow li:nth-child(6) span {
	background-image: url(../../images/main-slide-6.jpg);
    animation-delay: 40s;
}
.cb-slideshow li:nth-child(7) span {
    background-image: url(../../images/main-slide-7.jpg);
    animation-delay: 48s;
}

@keyframes imageAnimation {
    0% {
        opacity: 0;
        animation-timing-function: ease-in;
    }
    5% {
        opacity: 1;
        transform: scale(1.05);
        animation-timing-function: ease-out;
    }
    16% {
        opacity: 1;
        transform: scale(1.1);
    }
    20% {
        opacity: 1;
        transform: scale(1.1) translateX(-15%);
    }
    22% {
        opacity: 0;
        transform: scale(1.1) translateX(-20%);
    }
    30% {
        opacity: 0;
        transform: scale(1.1) translateX(-25%);
    }
    50% {
        opacity: 0;
        transform: scale(1.1) translateX(-80%);
    }
    100% { opacity: 0; }
}

/*
@keyframes imageAnimation {
    0% {
        opacity: 0;
        animation-timing-function: ease-in;
    }
    8% {
        opacity: 1;
        transform: scale(1.05);
        animation-timing-function: ease-out;
    }
    17% {
        opacity: 1;
        transform: scale(1.1);
    }
    22% {
        opacity: 0;
        transform: scale(1.1) translateX(-20%);
    }
    25% {
        opacity: 0;
        transform: scale(1.1) translateX(-100%);
    }
    100% { opacity: 0 }
}
*/
/* Show at least something when animations not supported */
.no-cssanimations .cb-slideshow li span{
	opacity: 1;
}
@media screen and (max-width: 1140px) { 
	.cb-slideshow li div h3 { font-size: 100px }
}
@media screen and (max-width: 600px) { 
	.cb-slideshow li div h3 { font-size: 50px }
}