/**
 *
 * slippry v1.4.0 - Responsive content slider for jQuery
 * http://slippry.com
 *
 * Authors: Lukas Jakob Hafner - @saftsaak
 *          Thomas Hurd - @SeenNotHurd
 *
 * Copyright 2016, booncon oy - http://booncon.com
 *
 *
 * Released under the MIT license - http://opensource.org/licenses/MIT
 */
/* kenBurns animations, very basic */
@-webkit-keyframes left-right {
    0% {
        -webkit-transform: translateY(-20%) translateX(-10%);
        transform: translateY(-20%) translateX(-10%);
    }

    100% {
        -webkit-transform: translateY(0%) translateX(10%);
        transform: translateY(0%) translateX(10%);
    }
}

@-o-keyframes left-right {
    0% {
        -o-transform: translateY(-20%) translateX(-10%);
        transform: translateY(-20%) translateX(-10%);
    }

    100% {
        -o-transform: translateY(0%) translateX(10%);
        transform: translateY(0%) translateX(10%);
    }
}

@keyframes left-right {
    0% {
        -webkit-transform: translateY(-20%) translateX(-10%);
        -o-transform: translateY(-20%) translateX(-10%);
        transform: translateY(-20%) translateX(-10%);
    }

    100% {
        -webkit-transform: translateY(0%) translateX(10%);
        -o-transform: translateY(0%) translateX(10%);
        transform: translateY(0%) translateX(10%);
    }
}

@-webkit-keyframes right-left {
    0% {
        -webkit-transform: translateY(0%) translateX(10%);
        transform: translateY(0%) translateX(10%);
    }

    100% {
        -webkit-transform: translateY(-20%) translateX(-10%);
        transform: translateY(-20%) translateX(-10%);
    }
}

@-o-keyframes right-left {
    0% {
        -o-transform: translateY(0%) translateX(10%);
        transform: translateY(0%) translateX(10%);
    }

    100% {
        -o-transform: translateY(-20%) translateX(-10%);
        transform: translateY(-20%) translateX(-10%);
    }
}

@keyframes right-left {
    0% {
        -webkit-transform: translateY(0%) translateX(10%);
        -o-transform: translateY(0%) translateX(10%);
        transform: translateY(0%) translateX(10%);
    }

    100% {
        -webkit-transform: translateY(-20%) translateX(-10%);
        -o-transform: translateY(-20%) translateX(-10%);
        transform: translateY(-20%) translateX(-10%);
    }
}

/* added to the original element calling slippry */
.sy-box.sy-loading {
    background: url("/images/sy-loader.gif") 50% 50% no-repeat;
    -webkit-background-size: 32px 32px;
    background-size: 32px;
    min-height: 40px;
}

.sy-box.sy-loading .sy-slides-wrap,
.sy-box.sy-loading .sy-pager {
    visibility: hidden; 
}

/* element that wraps the slides */
.sy-slides-wrap {
    position: relative;
    height: 100%;
    width: 100%;
}

.sy-slides-wrap:hover .sy-controls {
    /*display: block;*/
    /*PCSC*/
    display: none;
    /*E PCSC*/
} 

/* element that crops the visible area to the slides */
.sy-slides-crop {
    height: 100%;
    width: 100%;
    position: absolute;
    overflow: hidden;
}

/* list containing the slides */
.sy-list {
    width: 100%;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
}

.sy-list.horizontal {
    -webkit-transition: left ease;
    -o-transition: left ease;
    transition: left ease;
}

.sy-list.vertical {
    -webkit-transition: top ease;
    -o-transition: top ease;
    transition: top ease;
}

/* single slide */
.sy-slide {
    position: absolute;
    width: 100%;
    z-index: 2;
}

.sy-slide.kenburns {
    width: 140%;
    left: -20%;
}

.sy-slide.kenburns.useCSS {
    -webkit-transition-property: opacity;
    -o-transition-property: opacity;
    transition-property: opacity;
}

.sy-slide.kenburns.useCSS.sy-ken:nth-child(1n) {
    -webkit-animation-name: left-right;
    -o-animation-name: left-right;
    animation-name: left-right;
    -webkit-animation-fill-mode: forwards;
    -o-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

.sy-slide.kenburns.useCSS.sy-ken:nth-child(2n) {
    -webkit-animation-name: right-left;
    -o-animation-name: right-left;
    animation-name: right-left;
    -webkit-animation-fill-mode: forwards;
    -o-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

.sy-slide.sy-active {
    z-index: 3;
}

.sy-slide>img {
    margin: 0;
    padding: 0;
    display: block;
    width: 100%;
    border: 0;
}

.sy-slide>a {
    margin: 0;
    padding: 0;
    display: block;
    width: 100%;
}

.sy-slide>a>img {
    margin: 0;
    padding: 0;
    display: block;
    width: 100%;
    border: 0;
}

/* next/ prev buttons, with arrows and clickable area a lot larger than the visible buttons */
.sy-controls {
    display: none;
    list-style: none;
    height: 100%;
    width: 100%;
    position: absolute;
    padding: 0;
    margin: 0;
}

.sy-controls li {
    position: absolute;
    width: 10%;
    min-width: 4.2em;
    height: 100%;
    z-index: 33;
}

.sy-controls li.sy-prev {
    left: 0;
    top: 0;
}

.sy-controls li.sy-prev a:after {
    background-position: -5% 0;
    transform: scale(-1);
}

.sy-controls li.sy-next {
    right: 0;
    top: 0;
}

.sy-controls li.sy-next a:after {
    background-position: 105% 0;
}

.sy-controls li a {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    text-indent: -9999px;
}

.sy-controls li a:link,
.sy-controls li a:visited {
    opacity: 0.4;
}

.sy-controls li a:hover,
.sy-controls li a:focus {
    opacity: 0.8;
    outline: none;
}

.sy-controls li a:after {
    content: "";
    /*pcsc*/
    background-image: url("./../images/arrows.svg");
    /*END pcsc*/
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    text-align: center;
    text-indent: 0;
    line-height: 2.8em;
    color: #111;
    font-weight: 800;
    position: absolute;
    background-color: #fff;
    width: 2.8em;
    height: 2.8em;
    left: 50%;
    top: 50%;
    margin-top: -1.4em;
    margin-left: -1.4em;
    border-radius: 50%;
}

@media only screen and (max-device-width: 600px) {
    .sy-controls {
        display: block;
    }

    .sy-controls li {
        min-width: 2.1em;
    }

    .sy-controls li a:after {
        width: 1.4em;
        height: 1.4em;
        margin-top: -0.7em;
        margin-left: -0.7em;
    }
}

/* captions, styled fo the overlay variant */
.sy-caption-wrap {
    position: absolute;
    bottom: 2em;
    z-index: 12;
    left: 50%;
}

.sy-caption-wrap .sy-caption {
    position: relative;
    left: -50%;
    background-color: rgba(0, 0, 0, 0.54);
    color: #fff;
    padding: 0.4em 1em;
    border-radius: 1.2em;
}

.sy-caption-wrap .sy-caption a:link,
.sy-caption-wrap .sy-caption a:visited {
    color: #e24b70;
    font-weight: 600;
    text-decoration: none;
}

.sy-caption-wrap .sy-caption a:hover,
.sy-caption-wrap .sy-caption a:focus {
    text-decoration: underline;
}

@media only screen and (max-device-width: 600px),
screen and (max-width: 600px) {
    .sy-caption-wrap {
        left: 0;
        bottom: 0.4em;
    }

    .sy-caption-wrap .sy-caption {
        left: 0;
        padding: 0.2em 0.4em;
        font-size: 0.92em;
        border-radius: 0;
    }
}

/* pager bubbles */
.sy-pager {
    clear: both;
    display: block;
    width: 100%;
    margin: 1em 0 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.sy-pager li {
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    margin: 0 1em 0 0;
    border-radius: 50%;
}

.sy-pager li.sy-active a {
    background-color: #e24b70;
}

.sy-pager li a {
    width: 100%;
    height: 100%;
    display: block;
    background-color: #ccc;
    text-indent: -9999px;
    -webkit-background-size: 2em 2em;
    background-size: 2em;
    border-radius: 50%;
}

.sy-pager li a:link,
.sy-pager li a:visited {
    opacity: 1.0;
}

.sy-pager li a:hover,
.sy-pager li a:focus {
    opacity: 0.6;
}

/* element to "keep/ fill" the space of the content, gets intrinsic height via js */
.sy-filler {
    width: 100%;
}

.sy-filler.ready {
    -webkit-transition: padding 600ms ease;
    -o-transition: padding 600ms ease;
    transition: padding 600ms ease;
}



/*DEMO*/


.demo_wrapper {
    width: 50%;
    margin: 0 auto;
}

@media only screen and (max-device-width: 800px),
screen and (max-width: 800px) {
    .demo_wrapper {
        width: 80%;
    }
}

.demo_block {
    width: 100%;
}
/*PCSC*/
.sy-slide {
    max-width: 1100px;
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fit,minmax(500px,1fr));
    grid-auto-rows: 400px;
    /*grid-auto-rows: auto;*/
    grid-auto-flow: dense;
    padding: 0em;
    justify-content: center;
    align-items: center;
}



/** RESPONSIVE MODE **/

/** 1440px **/
@media (max-width: 102.8rem) {
    .sy-slide {
        grid-auto-rows: 300px;
    }
}

/** 1024px **/
@media (max-width: 73.1rem) {
    .sy-slide {
        grid-auto-rows: 250px;
    }
}

/** 980px **/
@media (max-width: 70rem) {
    .sy-slide {
        grid-auto-rows: 200px;
    }
}

/** 768px **/
@media (max-width: 54.8rem) {
    .sy-slide {
        grid-auto-rows: auto;
    }
}

/** 690px**/
@media (max-width: 49.2rem) {
    .sy-slide {
        grid-auto-rows: auto;
    }
}

/** 425px **/
@media (max-width: 30.3rem) {
    .sy-slide {
        grid-auto-rows: auto;
    }
}

/** 375px **/
@media (max-width: 26.7rem) {
    .sy-slide {
        grid-auto-rows: auto;
    }
}

/** 320px **/
@media (max-width: 22.8rem) {
    .sy-slide {
        grid-auto-rows: auto;
    }
}

/*E PCSC*/

.sy-slides-wrap {
    box-shadow: 2px 2px 2px #cacaca;
    background: #ffffff;
}

/* News */
.news-slider {
    /* Style the actual content */
    text-align: center;
    padding: 0em;
}

.news-slider .text-content {
    /*position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 1em;
    width: 30%;
    height: 100%;*/
    padding: 2.5em;
    background: #ffffff
}

.news-slider .text-content h1 {
    margin: 0;
    color: #386d2d;
    font-size: 2em;
}

.news-slider .text-content p {
    margin: 1em 0;
}

.news-slider .text-content a.button-link {
    padding: 0.25em 0.5em;
    /*PCSC*/
    /*position: absolute;
    bottom: 1em;
    right: 1em;*/
    /*E PCSC*/
}

.news-slider .image-content {
    line-height: 0;
    /*padding: 1.5em;*/
    max-height: 400px;
    overflow: hidden;
}

.news-slider .image-content img {
    min-width: 100%;
    max-width: 125%;
    /*CROP*/ 
}

.news-slider .news-pager {
    text-align: right;
    text-align: CENTER;
    display: block;
    /*margin: 0.2em 0 0;*/
    margin: 0 auto;
    padding: 0.5em;
    list-style: none;
}

.news-slider .news-pager li {
    display: inline-block;
    /*padding: 0.6em;*/
    margin: 0;
    padding: 0.5em 0.75em;
    border-radius: 25px;
}

.news-slider .news-pager li.sy-active {
    background: #6cb640;
}

.news-slider .news-pager li.sy-active a {
    color: #ffffff;
}

.news-slider .news-pager li a {
    font-weight: 500;
    text-decoration: none;
    display: block;
    color: #222;
}