@charset "utf-8";
/* CSS Document */
/*
    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) */
.cycle-slideshow, .cycle-slideshow * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*.cycle-slideshow { width: 100%; min-width: 225px; max-width: 940px; margin: 10px auto; padding: 0; position: relative;
    background: url(../images/spinner.gif) 50% 50% no-repeat;

}*/

.cycle-slideshow {
    position: relative;
    max-width: 360px;                           /* stejná šířka nastavena i obrázku v slideshow-cycle.php */
    height: auto;
    /*background: url(../slideshow-cycle/images/spinner_48.gif) 50% 50% no-repeat;*/
    margin: 0 auto;
    padding: 0;
    overflow: hidden;                           /* přidáno, aby se obrázek při zmenšení ořezával */
}

/* 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;
    display: block;
    left: 0;                                    /* nastavené vycentrování, při ořezávání obrázku z levé a pravé strany */
    top: 0;                                     /* nastaveno v jquery.cycle2.js */
    max-width: 100%;
    height: auto;
    padding: 0;
}

/* 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;
    top: 10px;
    overflow: hidden;
}

.cycle-pager span {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 50px;
    width: 16px;
    height: 16px;
    display: inline-block;
    color: #FFFFFF;
    cursor: pointer;
}
.cycle-pager span.cycle-pager-active { color: #FF0000;}
.cycle-pager > * { cursor: pointer;}


/* caption */
.cycle-caption { position: absolute; color: white; bottom: 15px; right: 15px; z-index: 700; }


/* overlay */
.cycle-overlay {
    font-family: tahoma, arial;
    position: absolute; bottom: 0; width: 100%; z-index: 600;
    background: black; color: white; padding: 15px; opacity: .5;
}

/* přidáno */
.cycle-title {
    position: absolute;
    width: 100%;
    height: auto;
    left: 0;
    /*top: 0;*/                                 /* 0 = absolutní vertikální střed */
    right: 0;
    bottom: 10%;                                /* 0 = absolutní vertikální střed */
    text-align: center;
    margin: auto;
    z-index: 900;
}

.cycle-title a {
    display: inline-block;
    background-color: #FF1B22;
    font-size: 24px;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    padding: 8px 28px;
    border: 2px solid #FF1B22;
    -webkit-border-radius: 2px 2px 2px 2px;
    -moz-border-radius: 2px 2px 2px 2px;
    border-radius: 2px 2px 2px 2px;
    -webkit-text-shadow: 1px 1px 0px #000000;
    -moz-text-shadow: 1px 1px 0px #000000;
    text-shadow: 1px 1px 0px #000000;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.cycle-title a:hover {
    background-color: transparent;
    color: #FF1B22;
    text-decoration: none;
}
/* přidáno - konec */

/* prev / next links */
.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(../slideshow-cycle/images/left.png) 25% 50% no-repeat;}
.cycle-next { right: 0; background: url(../slideshow-cycle/images/right.png) 75% 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);
}

/* Spinner */
.cycle-content-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    transform: translate(-50%,-50%);
}

#cycle-spinner {
    width: 48px;
    height: 48px;
    border: 6px solid #FFFFFF;
    border-top: 6px solid #62AF3D;
    border-radius: 50%;

    /*Animation code for older Chrome, Safari, Opera*/
    -webkit-transition-property: -webkit-transform;
    -webkit-transition-duration: 1.2s;
    -webkit-animation-name: rotate;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;

    /*Animation code for older Firefox*/
    -moz-transition-property: -moz-transform;
    -moz-animation-name: rotate;
    -moz-animation-duration: 1.2s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;

    /*Default animation code*/
    transition-property: transform;
    animation-name: rotate; /*Call to @keyframe rule*/
    animation-duration: 1.2s; /*Change to speed up or slow down the animation*/
    animation-iteration-count: infinite; /*Make the animation go forever*/
    animation-timing-function: linear;
}

/*keyframes rule for older Chrome, Safari, Opera*/
@-webkit-keyframes rotate {
    from {-webkit-transform: rotate(0deg);}
    to {-webkit-transform: rotate(360deg);}
}

/*keyframes rule for older Firefox version*/
@-moz-keyframes rotate {
    from {-moz-transform: rotate(0deg);}
    to {-moz-transform: rotate(360deg);}
}

/*Default @keyframes rule*/
@keyframes rotate {
    from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}
}

/* 
    media queries 
    some style overrides to make things more pleasant on mobile devices
*/

@media only screen and (max-width: 480px), only screen and (max-device-width: 480px) {
    /*.cycle-slideshow { width: 200px;}*/
    .cycle-overlay { padding: 4px; }
    .cycle-caption { bottom: 4px; right: 4px }
}
