/* Browser Resets */
.flex-container a:active,.flexslider a:active,.flex-container a:focus,.flexslider a:focus {
	outline: none;
}

.flex-slides,.flex-control-nav,.flex-direction-nav {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* FlexSlider Necessary Styles */
.flexslider {
	margin: 0;
	padding: 0;
}

.flexslider .flex-slides > li {
	display: none;
	position: relative;	
}

/* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .flex-slides img {
	display: block;
	width: 100%;
}

.flex-pauseplay span {
	text-transform: capitalize;
}

/* Clearfix for the .flex-slides element */
.flex-slides:after {
	display: block;
	visibility: hidden;
	clear: both;
	height: 0;
	content: ".";
	line-height: 0;
}

html[xmlns] .flex-slides {
	display: block;
}

* html .flex-slides {
	height: 1%;
}

/* No JavaScript Fallback */
.no-js .flex-slides > li:first-child {
	display: block;
}

/* FlexSlider Default Theme */
.flexslider {
	position: relative;
	margin: 0 0 18px; /* rms: was 0 0 20px */
	zoom: 1;
	background: transparent url("../../../../view/theme/rps/image/rps_border.gif") repeat-x scroll center bottom border-box; /* rms */
	padding-bottom: 35px; /* rms */
}

.flexslider:before,.flexslider:after {
	display: table;
	content: "";
	line-height: 0;
}

.flex-viewport {
	max-height: 2000px;

	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-o-transition: all 1s ease;
	-ms-transition: all 1s ease;
	transition: all 1s ease;
}

.loading .flex-viewport {
	max-height: 300px;
}

.flexslider .flex-slides {
	overflow: hidden;
	zoom: 1;
}

.carousel li {
	margin-right: 5px;
}

/* Direction Nav */
.flex-direction-nav {
	*height: 0;
}

.flex-direction-nav a {
	position: absolute;
	top: 50%;
	z-index: 10;
	display: block;
	margin: -15px 0 0;
	width: 30px;
	height: 30px;
	background: url(images/bg_direction_nav.png) no-repeat 0 0;
	text-indent: -9999px;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
	cursor: pointer;

	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	-ms-transition: all .3s ease;
	transition: all .3s ease;
}

.flex-direction-nav .flex-next {
	right: -2%;
	background-position: 100% 0;
}

.flex-direction-nav .flex-prev {
	left: -2%;
}

.flexslider:hover .flex-next {
	right: 2%;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
	opacity: .5;
}

.flexslider:hover .flex-prev {
	left: 2%;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
	opacity: .5;
}

.flexslider:hover .flex-next:hover,.flexslider:hover .flex-prev:hover {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	opacity: 1;
}

.flex-direction-nav .flex-disabled {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
	visibility: hidden;
}

/* Control Nav */
.flex-control-nav {
	position: absolute;
	bottom: 2%;
	width: 100%;
	text-align: center;
}

.flex-control-nav li {
	display: inline-block;
	margin: 4px;
	zoom: 1;
	*display: inline;
}

.flex-control-paging li a {
	display: block;
	width: 6px;
	height: 6px;
	border: 2px solid rgba(0,0,0,0.4);
	border-radius: 50%;
	text-indent: -9999px;
	cursor: pointer;

	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	-ms-transition: all .3s ease;
	transition: all .3s ease;
}

.flex-control-paging li a:hover,.flex-control-paging li a.flex-active {
	-webkit-box-shadow: inset -6px -6px 6px rgba(0,0,0,0.1);
	box-shadow: inset -6px -6px 6px rgba(0,0,0,0.1);
}

.flex-control-paging li a.flex-active {
	cursor: default;
}

.flex-control-thumbs {
	position: static;
	overflow: hidden;
	margin: 5px 0 0;
}

.flex-control-thumbs li {
	float: left;
	margin: 0;
	width: 25%;
}

.flex-control-thumbs img {
	display: block;
	width: 100%;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
	filter: alpha(opacity=70);
	opacity: .7;
	cursor: pointer;
}

.flex-control-thumbs img:hover {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	opacity: 1;
}

.flex-control-thumbs .flex-active {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	opacity: 1;
	cursor: default;
}

/* Carousel  */
.flexCarousel {
	margin-top: -10px;
}

.flexCarousel .flex-slides li {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
	opacity: .5;
	cursor: pointer;

	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	-ms-transition: all .3s ease;
	transition: all .3s ease;
}

.flexCarousel .flex-slides li:hover,.flexCarousel .flex-slides .flex-active-slide {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	opacity: 1;
}

/* Caption  */
.flex-caption {
	position: absolute;
	width: 980px; /* rms: was max-width: 55% */
	height: 100%; /* rms: was max-height: 70% */
	top: 0; /* rms: was 33% */
	bottom: 0; /* rms: was auto */
}
.caption-left {
	/* left: 0px; rms: was
	right: auto;
	text-align: left; 5% */
}
.caption-right {
	left: auto;
	right: 7%;
	text-align: right;
}

.rps-flex-caption-left { /* rms */
	max-width: 800px;
	position: absolute;
	top: 210px;
}
.rps-flex-caption-right { /* rms */
	max-width: 800px;
	right: 0px;
	position: absolute;
	top: 295px;
	text-align: right;
}

.flex-caption h2 {
	color:  rgba(255,255,255,1);
	line-height: 46px;
	font-weight: normal; /* rms: was bold */
	margin-bottom: 10px;
	/* text-shadow: 1px 1px #333; */
	padding: 6px 20px 12px; /* rms */
	background: rgba(42, 122, 40, 0.7) none repeat scroll 0% 0%;
	-webkit-font-smoothing: antialiased; /* rms font smoothing for Chrome, Safari */
	-moz-osx-font-smoothing: grayscale; /* rms font smoothing for Firefox */
	font-family: yorkten_norm_deminorm_demi, "Lucida Grande", Arial, Helvetica, sans-serif; /* rms: added webfonts */
}

.flex-caption p {
	color: white;
	/* font-weight: normal;
	font-style: normal;
	margin-bottom: 30px; */
	padding: 0px 20px 4px; /* rms */
	letter-spacing: -0.02em; /* rms */
	/* text-shadow: 1px 1px #555; */
	font-family: yorkten_norm_thinnorm_thin,"Lucida Grande",Arial,Helvetica,sans-serif; /* rms */
	-webkit-font-smoothing: antialiased; /* rms font smoothing for Chrome, Safari */
	-moz-osx-font-smoothing: grayscale; /* rms font smoothing for Firefox */
	line-height: 72px;
	background: rgba(136, 201, 34, 0.65) none repeat scroll 0% 0%;
	display: inline; /* rms */
	box-decoration-break: clone; /* rms: padding an jedem Zeilenumbruch wiederholen */
	-webkit-box-decoration-break: clone;  /* rms: ditto für Chrome, Android */
}

/* rms: fonts sizes by langauages */
/* english */
html[lang|="en"] .flex-caption h2 {
	font-size: 48px;
}
html[lang|="en"] .flex-caption p {
	font-size: 47px;
}
/* german */
html[lang|="de"] .flex-caption h2 {
	font-size: 44px;
}
html[lang|="de"] .flex-caption p {
	font-size: 43px;
}
/* spanish */
html[lang|="es"] .flex-caption h2 {
	font-size: 44px;
}
html[lang|="es"] .flex-caption p {
	font-size: 43px;
}
/* french */
html[lang|="fr"] .flex-caption h2 {
	font-size: 44px;
}
html[lang|="fr"] .flex-caption p {
	font-size: 43px;
}
/* rms: end */

/* rms Button */
.rps-flex-button {
	position: absolute;
	text-align: center;
	width: 980px;
	bottom: 15px;
}
.rps-flex-button span {
	padding: 1px 15px;
	-webkit-border-radius: 11px;
	-moz-border-radius: 11px;
	-khtml-border-radius: 11px;
	border-radius: 11px;
	background: rgba(255,255,255,0.3);
}
.flex-caption a, .flex-caption a:hover {
	color: #FFF;
	text-decoration: none;
}
/* rms end */
