/**
 * BxSlider v4.0 - Fully loaded, responsive content slider
 * http://bxslider.com
 *
 * Written by: Steven Wanderski, 2012
 * http://stevenwanderski.com
 * (while drinking Belgian ales and listening to jazz)
 *
 * CEO and founder of bxCreative, LTD
 * http://bxcreative.com
 */

/** RESET AND LAYOUT
 ===================================*/

.slideshow {
	/*	height: 455px;*/
	width: 100%;
	float: left;
	padding-bottom: 40px;
}

ul.slider, ul.slider li {
	padding: 0;
	margin: 0;
	position: relative;
	width: 100%;
	overflow: hidden;
	max-height: 800px;
	display: flex;
	/*    justify-content: center;*/
	align-items: flex-start;
}
.bx-wrapper {
	position: relative;
	margin: 0;
	padding: 0;
	*zoom: 1;
}

ul.slider li img {
	width: 100%;
	height: auto;
	display: inline-block;
	position: relative;
	float: left;
}

.slider {
	position: relative;
}

.slider-text-holder {
	position: absolute;
	width: 100%;
	bottom: 0;
	background-color: rgba(44,140,188,.8);
	padding: 80px 0;
	text-align: center;
}

.slider-text {
	max-width: 800px;
	margin: auto;
	color: #fff;
	padding: 0 20px;
}

.slider-text-holder h1 {
	color: #fff;
}

/* Tar bort sidorna pÃ¥ bilden sÃ¥ att den inte blir fÃ¶r smal pÃ¥ smÃ¥ skÃ¤rmar */
@media all and (max-width: 500px) and (orientation: portrait) {
	ul.slider li img {
		min-width: 150% !important;
		margin-left: -25%;
		display: block;
	}
}
ul.slider li.slide p {
	background-color: rgba(255,255,255,.75);
	font-family: "Open Sans", Georgia, Arial, Helvetica, sans-serif;
	position: absolute;
	text-align: center;
	font-size: 20px;
	color: #333;
	padding: 10px;
	top: 0;
	left: 0;
	width: 100%;
	display: block;
	color: #005684;
}
ul.slider li.slide:hover p {
	display: block !important;
}
/* START - Dataslide */
ul.slider li.dataslide {
	background-color: #777;
	position: relative;
	display: table;
}
li.dataslide img {
	z-index: 100;
}
ul.slider li.dataslide p {
	background-color: #003A8E;
	background-color: rgba(0,58,142,.7);
	text-align: left;
	padding: 20px 30px;
	color: #fff;
	position: absolute;
	top: 15%;
	right: 0;
	overflow: hidden;
	width: 640px;
	max-width: 50%;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-ms-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 1.4s ease;
	z-index: 100;
}
ul.slider li.dataslide p strong {
	line-height: 40px;
	font-weight: normal;
	position: relative;
	margin: 0;
	font-size: 35px;
	color: inherit;
	display: block;
	width: 100%;
}
ul.slider li.dataslide p span {
	padding-top: 15px;
	display: block;
	width: 100%;
}

ul.slider li.active-slide p {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	-khtml-opacity: 1;
	opacity: 1;
	top: 10%;
}
@media all and (max-width: 960px) {
	ul.slider li.dataslide p {
		right: 5%;
		max-width: 40%;
	}
	ul.slider li.dataslide p strong {
		line-height: 35px;
		font-size: 30px;
	}
}
@media all and (max-width: 800px) {
	ul.slider li.dataslide p {
		width: 40%;
	}
	ul.slider li.dataslide p strong {
		line-height: 28px;
		font-size: 25px;
		display: inline;
	}
	ul.slider li.dataslide p span {
		display: none;
	}
}
@media all and (max-width: 500px) {
	ul.slider li.dataslide p {
		width: 40%;
	}
	ul.slider li.dataslide p strong {
		font-size: 22px;
	}
}
/* SLUT - Dataslide */

/** THEME
 ===================================*/

.bx-wrapper .bx-viewport {
	left: 0px;
}

.bx-wrapper .bx-pager, .bx-wrapper .bx-controls-auto {
	position: absolute;
	bottom: -50px;
	width: 100%;
	z-index: 999;
}

/* LOADER */

.bx-wrapper .bx-loading {
	min-height: 50px;
	background: url(../images/bx_loader.gif) center center no-repeat;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2000;
}

/* PAGER */

.bx-wrapper .bx-pager {
	text-align: center;
	font-size: .85em;
	font-family: Arial;
	font-weight: bold;
	color: #666;
	padding-top: 16px;
	bottom: 20px;
}

.bx-wrapper .bx-pager .bx-pager-item, .bx-wrapper .bx-controls-auto .bx-controls-auto-item {
	display: inline-block;
	*zoom: 1;
	*display: inline;
}

.bx-wrapper .bx-pager.bx-default-pager a {
	background: #8F9D9E;
	text-indent: -9999px;
	display: block;
	width: 10px;
	height: 10px;
	margin: 0 5px;
	outline: 0;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover, .bx-wrapper .bx-pager.bx-default-pager a.active {
	background: #222;
}

/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev:before {
	position: relative;
	left: 0;
	font-family: "FontAwesome";
	font-weight: 900;
	font-size: 50px;
	color: #fff;
	content: "\f053";
}
.bx-wrapper .bx-next:before {
	position: relative;
	left: 0;
	font-family: "FontAwesome";
	font-weight: 900;
	font-size: 50px;
	color: #fff;
	content: "\f054";
}
.locations .bx-wrapper .bx-prev:before, .locations .bx-wrapper .bx-next:before {
	font-size: 25px;
}
.bx-wrapper .bx-prev:hover, .bx-wrapper .bx-next:hover {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	-khtml-opacity: 1;
	opacity: 1;
	text-decoration: none;
}

.bx-wrapper .bx-controls-direction a {
	position: absolute;
	top: 50%;
	margin-top: -40px;
	text-align: center;
	line-height: 60px;
	outline: 0;
	font-size: 0px;
	width: 40px;
	height: 55px;
	z-index: 999;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
	-moz-opacity: 0.5;
	-khtml-opacity: 0.5;
	opacity: 0.5;
}

.bx-wrapper .bx-prev {
	left: 25px;
}
.bx-wrapper .bx-next {
	right: 25px;
}
.locations .bx-wrapper .bx-prev {
	left: -50px;
}
.locations .bx-wrapper .bx-next {
	right: -50px;
}
.bx-wrapper .bx-controls-direction a.disabled {
	display: none;
}

/* AUTO CONTROLS (START / STOP) */

.bx-wrapper .bx-controls-auto {
	text-align: center;
}

.bx-wrapper .bx-controls-auto .bx-start {
	display: block;
	text-indent: -9999px;
	width: 10px;
	height: 11px;
	outline: 0;
	background: url(../images/controls.png) -86px -11px no-repeat;
	margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-start:hover, .bx-wrapper .bx-controls-auto .bx-start.active {
	background-position: -86px 0;
}

.bx-wrapper .bx-controls-auto .bx-stop {
	display: block;
	text-indent: -9999px;
	width: 9px;
	height: 11px;
	outline: 0;
	background: url(../images/controls.png) -86px -44px no-repeat;
	margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-stop:hover, .bx-wrapper .bx-controls-auto .bx-stop.active {
	background-position: -86px -33px;
}

/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
	text-align: left;
	width: 80%;
}

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
	right: 0;
	width: 35px;
}

/* IMAGE CAPTIONS */

.bx-wrapper .bx-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	background-color: #312820;
	background-color: rgba(49, 40, 32, 0.5);
	width: 100%;
}
.bx-wrapper .bx-caption span {
	color: #fff;
	display: block;
	padding: 10px;
}
@media all and (max-width: 800px) {
	.bx-wrapper .bx-caption span {
		color: #fff;
		display: block;
		padding: 1%;
	}
}

@media all and (max-width: 768px) {
	.slider-text-holder {
		display: none;
	}
}

/* Formaterar alla tumnaglar
 #gallery{
 margin: auto;
 width: 100%;
 float: left;
 }
 #gallery a.thumb:link, #gallery a.thumb:visited{
 background-color: #fff;
 border: 1px solid #fff;
 margin: 0px 10px 10px 0px;
 text-decoration: none;
 text-align: center;
 color: #000000;
 display: block;
 padding: 9px;
 height: 230px;
 width: 230px;
 float: left;
 font-size: 0;
 }
 #gallery a.thumb:hover{
 background-color: #e5e5e5;
 text-decoration: none;
 }
 #gallery a.thumb:link p, #gallery a.thumb:visited p{
 display: none;
 }
 #gallery a.thumb br{
 display: none;
 }
 #gallery a.thumb:link img, #gallery a.thumb:visited img{
 padding: 0;
 margin: 0 0 5px 0;
 max-height: 230px;
 max-width: 230px;
 height: auto;
 width: auto;
 }
 #gallerypagering{
 padding: 10px 0px 10px 0px;
 text-align: center;
 width: 100%;
 float: left;
 }
 #gallerypagering a.pagering:link, #gallerypagering a.pagering:visited{
 background-color: #e5e5e5;
 border: 1px solid #e5e5e5;
 padding: 1px 5px 1px 5px;
 margin: 0px 5px 0px 0px;
 text-decoration: none;
 color: #000000;
 }
 #gallerypagering a.pagering:hover{
 background-color: #ccc;
 border: 1px solid #ccc;
 }
 #gallerypagering a.active:link, #gallerypagering a.active:visited{
 background-color: #fff;
 }
 /* SLUT - CSS fÃ¶r bildgalleri */
