/**
*
* slippry v1.4.0 - Responsive content slider for jQuery
* https://slippry.com
*
* Authors: Lukas Jakob Hafner - @saftsaak
*          Thomas Hurd - @SeenNotHurd
*
* Copyright 2016, booncon oy - https://booncon.com
*
*
* Released under the MIT license - https://opensource.org/licenses/MIT
*/

/* added to the original element calling slippry */
.sy-box {
position: relative;
}
.sy-box.sy-loading {
background: url("/img/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; 
}
/* 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: 5;
}
.sy-controls li.sy-prev {
left: 0;
top: 0;
}
.sy-controls li.sy-prev a:after {
background-position: -5% 0;
}
.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: "";
background-image: url(../img/arrows.svg);
background-repeat: no-repeat;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
text-align: center;
text-indent: 0;
line-height: 6.8em;
color: #111;
font-weight: 800;
position: absolute;
width: 6.8em;
height: 6.8em;
left: 50%;
top: 50%;
margin-top: -3.4em;
margin-left: -3.4em;
}
@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;
}
}
/* pager bubbles */
.sy-pager {
clear: both;
overflow: hidden;
width: 100%;
padding: 0;
list-style: none;
text-align: center;
bottom:08px;
z-index:5;
position:absolute;
}
.sy-pager li {
display: inline-block;
width: 1.2em;
height: 1.2em;
margin: 0 1em 0 0;
border-radius: 50%; 
border:2px solid #fff
}
.sy-pager li.sy-active a {
background-color: #254695; 
}
.sy-pager li a {
width: 100%;
height: 100%;
display: block;
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; 
}

.slider-text {
position: absolute;
bottom: 10%;
background: rgba(255, 255,255, 0.70);
width:40%;
padding: 15px 40px;
-webkit-box-shadow: 0px -8px 0px rgba(221, 221, 221, 0.58), 0px 8px 0px rgba(221, 221, 221, 0.58);
-moz-box-shadow:    0px -8px 0px rgba(221, 221, 221, 0.58), 0px 8px 0px rgba(221, 221, 221, 0.58);
box-shadow:         0px -8px 0px rgba(221, 221, 221, 0.58), 0px 8px 0px rgba(221, 221, 221, 0.58);
z-index:8;
}
.st_l{
left: 0;
}
.st_r{
right: 0;
}
.slider-text h2 {
color: #325878;
display: block;
font-weight:normal;
font-size: 25px;
margin-bottom:18px;	
text-shadow:1px 1px 1px #fff;
}
.slider-text p {
color: #777;
display: block;
font-size: 16px;
text-shadow:1px 1px 1px #fff;
}
.slider-text a:link, .slider-text a:visited{
color: #777;
display: inline-block;
margin-top:18px;
font-size: 14px;
padding:8px 15px;
border:1px solid #888;
background:rgba(255, 255, 255, 0.3);
float:right;
-webkit-transition: all 0.2s;
-moz-transition: all 0.2s;
transition: all 0.2s;
text-decoration:none;
}
.slider-text a:hover {
border:1px solid #254695;
color: #254695;
}
.slider-text {
visibility:hidden;
}
.slider-text.active-slide {
visibility: visible;
}
