/*
    these are just the default styles used in the Cycle2 demo pages.  
    you can use these styles or any others that you wish.
*/


/* set border-box so that percents can be used for width, padding, etc (personal preference) */


/* slider home - start */

.slider {
    max-height: 700px;
    height: auto!important;
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    margin-top: 0;
}

.cycle-slideshow, .cycle-slideshow * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.cycle-slideshow {
    width: 100%;
    max-height: 700px;
    padding: 0;
    position: relative;
    background: url(http://malsup.github.com/images/spinner.gif) 50% 50% no-repeat;
}

.char-icon2 {
    width: 124px;
    height: 124px;
    background-image: url(../img/videoPlayButton.jpg);
    margin: 0 auto;
}

.playVideo iframe {
    width: 100%;
    height: 100%;
}

.grid-block {
    width: 100%;
    height: 682px;
}
    .cycle-slide-active {
        left: 0px!important;
    }

/* slider home - end */


/* slideshow images (for most of the demos, these are the actual "slides") */

.cycle-slideshow img {
    /* 
    some of these styles will be set by the plugin (by default) but setting them here
    helps avoid flash-of-unstyled-content
    */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    display: block;
}


/* in case script does not load */

.cycle-slideshow img:first-child {
    position: static;
    z-index: 100;
}


/* pager */

.cycle-pager {
    text-align: center;
    width: 100%;
    z-index: 500;
    position: absolute;
    bottom: 25px;
    overflow: hidden;
}

.cycle-pager span {
    display: inline-block;
    cursor: pointer;
    width: 20px;
    height: 20px;
    color: white;
    background-color: white;
    border: 3px solid #283387;
    margin: 0 5px;
}

.cycle-pager span.cycle-pager-active {
    width: 20px;
    height: 20px;
    background-color: #283387;
    border: 3px solid #283387;
    color: #283387;
}

.cycle-pager > * {
    cursor: pointer;
}


/* caption */

.cycle-overlay div {
    width: 600px;
}

.cycle-caption {
    position: absolute;
    color: white;
    bottom: 15px;
    right: 15px;
    z-index: 700;
}

.image-caption {
    top: 40%;
    position: relative;
    width: 100%;
    display: block;
    margin: 0 auto;
}

.image-caption-wrap h4 {
    line-height: 2em;
}

.image-caption-wrap {
    text-align: center;
}


/* overlay */

.cycle-overlay {
    position: absolute;
    bottom: 40%;
    right: 20%;
    z-index: 600;
    text-align: right;
    width: 100%;
    height: 180px;
    color: #fefefe;
    font-family: BebasNeueBold;
    font-size: 55px;
    font-weight: 400;
    line-height: 70px;
}

.cycle-overlay div {
    width: 600px;
    float: right;
}


/* prev / next links */

.center {
    position: absolute;
    z-index: 999;
    top: 50%;
    width: 100%;
}

#prev {
    float: left;
    margin: 0 0 0 5%;
    width: 27px;
    height: 46px;
    background-image: url(../img/nav-l.png);
    background-repeat: no-repeat;
}

#next {
    float: right;
    margin: 0 5% 0 0;
    width: 27px;
    height: 46px;
    background-image: url(../img/nav-r.png);
    background-repeat: no-repeat;
}

.cycle-prev, .cycle-next {
    position: absolute;
    top: 0;
    width: 30%;
    opacity: 0;
    filter: alpha(opacity=0);
    z-index: 800;
    height: 100%;
    cursor: pointer;
}

.cycle-prev {
    left: 0;
    background: url(http://malsup.github.com/images/left.png) 50% 50% no-repeat;
}

.cycle-next {
    right: 0;
    background: url(http://malsup.github.com/images/right.png) 50% 50% no-repeat;
}

.cycle-prev:hover, .cycle-next:hover {
    opacity: .7;
    filter: alpha(opacity=70)
}

.disabled {
    opacity: .5;
    filter: alpha(opacity=50);
}


/* display paused text on top of paused slideshow */

.cycle-paused:after {
    content: 'Paused';
    color: white;
    background: black;
    padding: 10px;
    z-index: 500;
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 10px;
    opacity: .5;
    filter: alpha(opacity=50);
}


/* 
    media queries 
    some style overrides to make things more pleasant on mobile devices
*/

@media only screen and (min-width: 571px) and (max-width: 1024px) {
    .cycle-overlay {
        bottom: 20%;
        font-size: 35px;
        line-height: 50px;
        widows: 370px;
    }
    .cycle-overlay div {
        width: 410px;
    }
}

@media only screen and (min-width: 320px) and (max-width: 570px) {
    .cycle-overlay {
        bottom: -50px;
        font-size: 23px;
        line-height: 24px;
        right: 2%;
    }
    .cycle-overlay div {
        width: 370px;
    }
    .cycle-pager {
        display: none;
    }
}