/* ----------------------------------------------------------------
	Sections
-----------------------------------------------------------------*/


.section {
    position: relative;
    margin: 60px 0;
    padding: 60px 0;
    background-color: #F9F9F9;
    overflow: hidden;
}

.parallax {
    background-color: transparent;
    background-attachment: fixed;
    background-position: 50% 0;
    background-repeat: no-repeat;
    overflow: hidden;
}

.mobile-parallax,
.video-placeholder {
    background-size: cover !important;
    background-attachment: scroll !important;
    background-position: center center;
}

.section .container { z-index: 2; }

.section .container + .video-wrap { z-index: 1; }

.revealer-image {
    position: relative;
    bottom: -100px;
    transition: bottom .3s ease-in-out;
    -webkit-transition: bottom .3s ease-in-out;
    -o-transition: bottom .3s ease-in-out;
}

.section:hover .revealer-image { bottom: -50px; }

.swiper-slide .video-wrap,
.section .video-wrap,
.swiper-slide .yt-bg-player,
.section .yt-bg-player {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
}

.dark .section,
.section.dark {
    background-color: #282828;
    border-color: rgba(255,255,255,0.1);
}

.parallax.dark .testimonial .flex-control-nav {
    height: 8px;
    margin-top: 30px;
}

.parallax.dark .testimonial .flex-control-nav li {
    width: 8px;
    height: 8px;
    margin: 0 3px;
}

.parallax.dark .testimonial .flex-control-nav li a {
    width: 8px !important;
    height: 8px !important;
    border: 1px solid #FFF;
    background-color: transparent;
}

.parallax.dark .testimonial .flex-control-nav li:hover a,
.parallax.dark .testimonial .flex-control-nav li a.flex-active { background-color: #FFF; }


.full-screen .swiper_wrapper { height: auto; }

@media (min-width: 768px) and (max-width: 991px) {

    .swiper_wrapper:not(.full-screen):not(.canvas-slider-grid),
    .swiper_wrapper:not(.full-screen):not(.canvas-slider-grid) .swiper-slide { height: 400px !important; }
}

@media (min-width: 480px) and (max-width: 767px) {

    .full-screen:not(.force-full-screen) .container.vertical-middle {
        width: 470px !important;
    }

    .swiper_wrapper:not(.force-full-screen),
    .swiper_wrapper:not(.force-full-screen):not(.canvas-slider-grid) .swiper-slide {
        height: 300px !important;
    }
}

@media (max-width: 479px) {

    .full-screen:not(.force-full-screen) .container.vertical-middle {
        width: 310px !important;
    }

    .swiper_wrapper:not(.force-full-screen),
    .swiper_wrapper:not(.force-full-screen):not(.canvas-slider-grid) .swiper-slide,
    .ei-slider {
        height: 180px !important;
    }
}

/* ----------------------------------------------------------------
	from events
-----------------------------------------------------------------*/
.parallax .iconlist li { margin: 5px 0; }

.single-event .entry-overlay,
.parallax .entry-overlay-meta {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(0,0,0,0.85);
    text-align: center;
    line-height: 80px;
    font-size: 22px;
    color: #FFF;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
    z-index: 5;
}

.parallax .entry-overlay,
.parallax .entry-overlay-meta {
    background: transparent;
    width: auto;
    text-align: right;
    bottom: 30px;
    left: auto;
    right: 30px;
}

.parallax .entry-overlay-meta {
    padding: 20px;
    font-size: 14px;
    text-align: left;
    right: 38px;
    bottom: 130px;
    width: 368px;
    height: auto;
    line-height: inherit;
    background-color: rgba(0,0,0,0.7);
    border-radius: 3px;
}

.parallax.overlay-left .entry-overlay,
.parallax.overlay-left .entry-overlay-meta {
    right: auto;
    left: 30px;
}

.parallax.overlay-left .entry-overlay-meta { left: 38px; }

.parallax.overlay-center .entry-overlay,
.parallax.overlay-center .entry-overlay-meta {
    bottom: 100px;
    right: auto;
    left: 50%;
    margin-left: -192px;
}

.parallax.overlay-center .entry-overlay-meta {
    top: 100px;
    bottom: auto;
    margin-left: -184px;
}

.parallax .entry-overlay-meta h2 {
    font-size: 20px;
    text-transform: uppercase;
    border-bottom: 1px dashed rgba(255,255,255,0.2);
    padding-bottom: 17px;
}

.parallax .entry-overlay-meta h2 a { color: #FFF; }

.parallax .entry-overlay-meta h2 a:hover { color: #DDD; }

.parallax .countdown { top: 0; }

.parallax .countdown-section {
    border-left: 0;
    width: 80px;
    height: 80px;
    margin: 0 8px;
    font-size: 13px;
    background-color: rgba(0,0,0,0.7);
    border-radius: 3px;
    padding-top: 14px;
}

.parallax .countdown-amount {
    font-size: 28px;
    margin-bottom: 6px;
}


@media (max-width: 479px) {
    .parallax .entry-overlay-meta,
    .parallax .entry-overlay {
        left: 50% !important;
        right: 0 !important;
        margin: 0 0 0 -140px !important;
        width: 280px !important;
    }

    .parallax .entry-overlay { width: 288px !important; }

    .parallax .countdown-section {
        width: 64px;
        height: 64px;
        margin: 0 8px 0 0;
        font-size: 11px;
        padding: 0;
        padding-top: 12px;
    }

    .parallax .countdown-amount { font-size: 20px; }
}