/* slippry v1.2.1 - Simple responsive content slider
 * http://slippry.com
 * Author(s): Lukas Jakob Hafner - @saftsaak
 *            Thomas Hurd - @SeenNotHurd
 * Copyright 2013, booncon oy - http://booncon.com
 * Thanks @ http://bxslider.com for the inspiration!
 * Released under the MIT license - http://opensource.org/licenses/MIT
*/

div.sy-box
{
	position: relative;
	max-width: 2000px;
	margin-left: auto;
	margin-right: auto;
}

.sy-box.sy-loading
{
	background: url(../images/sy-loader.gif) 50% 50% no-repeat;
	-webkit-background-size: 32px;
	-moz-background-size: 32px;
	-o-background-size: 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;
	-moz-transition: left ease;
	-o-transition: left ease;
	transition: left ease;
}

.sy-list.vertical
{
	-webkit-transition: top ease;
	-moz-transition: top ease;
	-o-transition: top ease;
	transition: top ease;
}

/* single slide */
.sy-slide
{
	display: block;
	position: absolute;
	width: 100%;
	z-index: 2;
}

.sy-slide.kenburns
{
	width: 140%;
	left: -20%;
}

.sy-slide.kenburns.useCSS
{
	-webkit-transition-property: opacity;
	-moz-transition-property: opacity;
	-o-transition-property: opacity;
	transition-property: opacity;
}

.sy-slide.kenburns.useCSS.sy-ken:nth-child(1n)
{
	-webkit-animation-name: left-right;
	-webkit-animation-fill-mode: forwards;
	-moz-animation-name: left-right;
	-moz-animation-fill-mode: forwards;
	-o-animation-name: left-right;
	-o-animation-fill-mode: forwards;
	animation-name: left-right;
	animation-fill-mode: forwards;
}

.sy-slide.kenburns.useCSS.sy-ken:nth-child(2n)
{
	-webkit-animation-name: right-left;
	-webkit-animation-fill-mode: forwards;
	-moz-animation-name: right-left;
	-moz-animation-fill-mode: forwards;
	-o-animation-name: right-left;
	-o-animation-fill-mode: forwards;
	animation-name: right-left;
	animation-fill-mode: forwards;
}

.sy-slide.sy-active
{
	z-index: 3;
}

.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
{
	list-style: none;
	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
{
	display: block;
	width: 46px;
	height: 47px;
	background: url("/banners/images/arrows.png") no-repeat;
	opacity: 0.4;
	text-indent:-9999px;
	border: 0;
}

.sy-controls li.sy-next
{
	right: 0;
	top: 0;
}

.sy-controls li.sy-next a::after
{
	display: block;
	width: 46px;
	height: 47px;
	background: url("/banners/images/arrows.png") no-repeat;
	background-position: -46px 0;
	opacity: 0.4;
	text-indent:-9999px;
	border: 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(../images/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: 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;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	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;
	}

	.sy-controls li.sy-prev a::after,
	.sy-controls li.sy-next a::after
	{
		width: 1.4em;
	}
}

/* captions, styled fo the overlay variant */
.sy-caption-wrap
{
	position: absolute;
	left: 0;
	top: 0;
	z-index: 12;
	width:100% !important;
    height: 100%;
 }

.sy-caption-wrap .sy-caption
{
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 8;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.sy-caption-wrap .sy-caption a:link, .sy-caption-wrap .sy-caption a:visited
{

}

.sy-caption-wrap .sy-caption a:hover, .sy-caption-wrap .sy-caption a:focus
{

}

/* Toggles */
div.sy-pager-container
{
	z-index: 500;
	position: absolute;
	display: inline-block;
	right: 0;
	bottom: 0;
	padding-right: 20%;
	width: 100%;
	text-align: right;
}

@media screen and (max-width:600px)
{
	div.sy-pager-container
	{
		display: none;
	}
}

.sy-pager
{
	display: inline-block;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.sy-pager li
{
	float: left;
	list-style: none;
}

.sy-pager li.sy-active a
{
	background-position: 0 -22px;
}

.sy-pager li a
{
    display: inline-block;
    width: 22px;
    height: 22px;
    background: url("/banners/images/bullets.png") no-repeat;
    text-indent: -9999px;
    border: 0;
    margin-left: 2px;
    margin-right: 2px;
    cursor: pointer;
    vertical-align: text-bottom;
    color: transparent;
}

.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;
	-moz-transition: padding 600ms ease;
	-o-transition: padding 600ms ease;
	transition: padding 600ms ease;
}

/* Responsive Banner Styles */
#responsive-banner-container
{
	opacity: 0;
	animation: fadein ease-in 1;
	animation-fill-mode: forwards;
	animation-duration: 1s;
	animation-delay: 0.3s;
}

#banner-caption-container
{
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	align-items: center;
	height: 100%;
}

#banner-caption-container .banner-caption
{
	display:  inline-block;
	position: relative;
	z-index: 10;
	font-family: 'OpenSans-Bold', Arial, sans-serif;
	font-size: calc(14px + 3.8vw);
	font-weight: normal;
	line-height: 1;
	margin: 0 0 5px 0;
	color: #ffffff;
	text-shadow: 0 0 20px rgba(0,0,0,0.7);
	opacity: 0;
	animation: fadein ease-in 1;
	animation-fill-mode: forwards;
	animation-duration: 1s;
	animation-delay: 0.6s;
}

#banner-caption-container span.banner-description
{
	position: relative;
	display: inline-block;
	font-family: 'OpenSans-Semibold', Arial, sans-serif;
	font-style: italic;
   	font-size: calc(12px + 1.7vw);
    line-height: 1.2;
    color: white;
    text-shadow: 0 0 20px rgba(0,0,0,0.7);
    opacity: 0;
	animation: fadein ease-in 1;
	animation-fill-mode: forwards;
	animation-duration: 1s;
	animation-delay: 0.9s;
}

#banner-caption-container div.banner-description
{
	position: relative;
	display: inline-block;
	font-family: 'OpenSans-Semibold', Arial, sans-serif;
   	font-size: calc(12px + 1.7vw);
    line-height: 1.2;
    color: white;
    text-shadow: 0 0 20px rgba(0,0,0,0.7);
    opacity: 0;
	animation: fadein ease-in 1;
	animation-fill-mode: forwards;
	animation-duration: 1s;
	animation-delay: 0.9s;
}

#banner-caption-container span.banner-description::before
{
	content: '';
	position: absolute;
	display: block;
	top: 0;
	height: 3px;
	width: 100%;
	background-color: #57a249;
}

#banner-caption-container span.banner-description::after
{
	content: '';
	position: absolute;
	display: block;
	bottom: 0;
	height: 3px;
	width: 100%;
	background-color: #57a249;
}

#banner-caption-container .banner-button:link,
#banner-caption-container .banner-button:visited
{
	display: inline-block;
	font-family: 'OpenSans-Bold', Arial, sans-serif;
	font-size: calc(12px + 0.5vw);
	font-weight: normal;
	color: #ffffff;
	background-color: #58a645;
	text-decoration: none;
	margin-top: 5px;
	padding: calc(3px + 0.5vw) calc(10px + 0.5vw);
	transition: all 200ms;
	opacity: 0;
	animation: fadein ease-in 1;
	animation-fill-mode: forwards;
	animation-duration: 1s;
	animation-delay: 1.2s;
}

/* Lock Max Sizes once hitting the banner image width actual size */
@media screen and (min-width:1024px)
{
	#banner-caption-container .banner-caption
	{
		font-size: 58px;
	}

	#banner-caption-container .banner-description
	{
		font-size: 42px;
	}

	#banner-caption-container .banner-button:link,
	#banner-caption-container .banner-button:visited,
	#banner-caption-container .banner-button:hover,
	#banner-caption-container .banner-button:active
	{
		font-size: 22px;
		padding: 11px 18px;
	}
}

#banner-caption-container .banner-button:hover
{
	background-color: #68c851;
}

#banner-caption-container .banner-button:active
{
	background-color: #43922F;
	transform: 	translateY(2px)
				scale(0.99);
}