/**
 * 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
 ===================================*/

 .tiny-dot {
     font-size:26px;
 }

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    margin-bottom: 60px;
}

.slideshow {
    width: 100%;
    float: left;
    padding-bottom: 40px;
    position: relative;
}

ul.slider,
ul.slider li {
    padding: 0;
    margin: 0;
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
    min-height: 700px;
    height:auto;
}

.bx-wrapper {
    position: relative;
    margin: 0;
    padding: 0;
    *zoom: 1;
}

.section-parallax .bx-wrapper {
    max-width: 1200px !important;
}

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

ul.slider .img-blur:after {
    content: "";
    position: absolute;
    width: inherit;
    height: inherit;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #3937426e;
    width: 100%;
}

.slider {
    position: relative;
}

.slider-text-holder {
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 20px 10%;
    text-align: left;
    height: 100%;
    display: flex;
    left: 0;
}

.slider-text {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    color: #fff;
    font-weight: bold;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    z-index: 1;
    text-align: center;
}

.slider-text-holder h1 {
    color: #fff;
    font-size: 50px;
    font-family: 'Quicksand', sans-serif;
}

.slider-text-holder p {
    color: #fff;
    font-size: 30px;
    padding-top: 25px;
    font-family: 'Quicksand', sans-serif;
}

a.button {
    background-color: #ffffff;
    padding: 10px 30px;
    color: #333;
    display: inline-block;
    width: 100%;
    max-width: 200px;
    text-align: center;
    width: fit-content;
    display: table;
    -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 0.4s ease;
    margin: 20px auto;
}

a.button:hover {
    background-color: rgb(82, 82, 82);
    text-decoration: none;
}


/* 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, 0.75);
    font-family: "Open Sans", 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(15, 16, 11, 0.8);
    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%;
}


/* 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: 3;
}

.section-parallax .bx-wrapper .bx-pager,
.section-parallax .bx-wrapper .bx-controls-auto {
    bottom: 10px;
}



/* 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: 3;
}


/* PAGER */

.bx-wrapper .bx-pager {
    text-align: center;
    font-size: 0.85em;
    font-family: "Open Sans", sans-serif;
    font-weight: bold;
    color: #f3f3f3;
    padding-top: 16px;
    position: absolute;
}

.section-quotes .bx-wrapper .bx-pager {
    display: none;
}

.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: #3937426e;
    text-indent: -9999px;
    display: block;
    width: 5px;
    height: 5px;
    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: #393742c5;
}

.section-parallax .bx-wrapper .bx-pager.bx-default-pager a {
    background: #ffffffad;
}

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


/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev:before {
    position: relative;
    left: 0;
    font-family: "FontAwesome";
    font-weight: 900;
    font-size: 20px;
    color: #fff;
    color: #A58AA5;
    content: "\f053";
}

.bx-wrapper .bx-next:before {
    position: relative;
    left: 0;
    font-family: "FontAwesome";
    font-weight: 900;
    font-size: 20px;
    color: #fff;
    color: #A58AA5;
    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-controls-direction .bx-wrapper a.bx-prev {
    left: 50px;
}

.bx-controls-direction .bx-wrapper a.bx-next {
    right: 50px;
}

 section.section-quotes .bx-controls-direction .bx-wrapper a.bx-prev {
    left: 25px !important;
}

section.section-quotes .bx-controls-direction .bx-wrapper a.bx-next {
    right: 25px !important;
} 



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

section.section-quotes .bx-wrapper .bx-controls-direction a {
    display: block;
}

.bx-wrapper .bx-prev {
    left: 50px;
}

.bx-wrapper .bx-next {
    right: 50px;
}

section.section-quotes .bx-wrapper .bx-prev {
    left: 25px;
}

section.section-quotes .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: 960px) {
    /* .bx-wrapper .bx-pager,
    .bx-wrapper .bx-controls-auto {
        display: none;
    } */
    section.section-quotes .bx-wrapper .bx-pager,
    section.section-quotes .bx-wrapper .bx-controls-auto {
        display: block;
    }
    ul.slider li.dataslide p {
        right: 5%;
        max-width: 40%;
    }
    ul.slider li.dataslide p strong {
        line-height: 35px;
        font-size: 30px;
    }
    ul.slider li:after {
        width: 100%;
    }
    .slider-text-holder {
        width: 100%;
        padding: 20px 5%;
        text-align: center;
    }
    .slider-text .button {
        margin: 25px auto;
    }
    ul.slider,
    ul.slider li {
        min-height: 700px;
    }
    .slider-text-holder h1 {
        color: #fff;
        font-size: 36px;
    }
    .tiny-dot {
        font-size:22px;
    }
   
    .slider-text-holder p {
        color: #fff;
        font-size: 26px;
    }
    .bx-wrapper .bx-prev {
        left: 20px;
    }
    .bx-wrapper .bx-next {
        right: 20px;
    }
}

@media all and (max-width: 800px) {
    .bx-wrapper .bx-caption span {
        color: #fff;
        display: block;
        padding: 1%;
    }
}

@media all and (max-width: 768px) {
    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;
    }
    .slider-text-holder h1 {
        color: #fff;
        font-size: 24px;
    }
    .tiny-dot {
        font-size:16px;
    }
   
    .slider-text-holder p {
        color: #fff;
        font-size: 18px;
    }
    ul.slider,
    ul.slider li {
        min-height: 600px;
    }
}

@media all and (max-width: 550px) {
    ul.slider li.dataslide p {
        width: 40%;
    }
    ul.slider li.dataslide p strong {
        font-size: 22px;
    }
    ul.slider,
    ul.slider li {
        min-height: 600px;
    }
    .slider-text-holder h1 {
        color: #fff;
        font-size: 22px;
    }
    .slider-text-holder p {
        color: #fff;
        font-size: 16px;
    }
    .slider-text-holder {
        width: 100%;
        padding: 20px 2.5%;
    }
}