﻿* {
    box-sizing: border-box;
}

/* Position the image container (needed to position the left and right arrows) */
.custom-slider {
    max-width: 2537px;
    position: relative;
    margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
    cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 2em;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.8);
    -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

    /* On hover, add a black background color with a little bit see-through */
    .prev:hover,
    .next:hover {
        color: lightyellow;
    }

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* Container for image text */
.caption-container {
    text-align: center;
    background-color: #222;
    padding: 2px 16px;
    color: white;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Six columns side by side */
.column {
    float: left;
    width: 16.66%;
}

/* Add a transparency effect for thumnbail images */
.demo {
    opacity: 0.6;
}

.pause {
    position: absolute;
    bottom: 30px;
    left: 0.5em;
    font-size: 3em;
    color: #fff;
    text-align: center;
    opacity: .8;
    text-shadow: 2px 5px #888888;
    margin: 0.25em;
    padding: 0.25em;
    z-index: 16;
    background: #000;
}

.carousel-control {
    z-index: 10;
    list-style: none;
    margin: 0;
}

    .carousel-control:focus {
        outline: #054664 solid .25em !important;
        box-shadow: 0 0 0 1px #674817 !important;
    }

.flex-direction-nav {
    margin-left: 0px;
    list-style-type: none;
}

.slide-caption {
    border-left: 25px solid #CD4B0E;
    position: relative;
    z-index: 1;
    top: -290px;
    margin: 5% 10%;
    width: 60%;
    margin-top: -33%;
    padding: 50px 20px 50px 20px;
    background: rgba(5, 70, 100, 0.4);
    color: #fff;
    text-transform: uppercase;
    font-family: "nimbus-sans-condensed", sans-serif;
}

    .slide-caption p {
        right: 50px;
        padding: 10px;
        font-size: 38px;
        line-height: 38px;
    }

.fade {
    animation-name: fade;
    animation-duration: 0.5s;
}

@keyframes fade {
    from {
        opacity: .8
    }

    to {
        opacity: 1
    }
}

.flex-viewport {
    overflow: hidden;
    position: relative;
    max-height: 1000px;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

/*====================================================================================================================
* RESPONSIVE
* ====================================================================================================================*/
/* desktop/laptop/tablet landscape */

/*Mobile*/
@media only screen and (max-width: 768px) {
    .slide-caption {
        top: -2.5em;
        width: 80%;
        margin-top: -44%;
        padding: 0.15em;
    }

        .slide-caption p {
            font-size: 0.9em;
            line-height: 1.2em;
            padding: 5px;
        }

    .custom-slider img {
        margin-top: 0px;
    }

    .prev,
    .next {
        font-size: 2em;
        padding: 0.25em;
    }

    .pause {
        bottom: 0.2em;
        left: 0.2em;
        font-size: 1.5em;
    }
}


/* desktop/laptop/tablet landscape */
@media only screen and (min-width: 992px) {
    .slide-caption {
        top: -100px;
        width: 80%;
        margin-top: -40% !important;
    }

        .slide-caption p {
            font-size: 48px;
            line-height: 48px;
        }
}

@media only screen and (min-width: 1200px) {
    .slide-caption {
        top: -250px;
        width: 80%;
        margin-top: -46% !important;
    }

        .slide-caption p {
            font-size: 48px;
            line-height: 48px;
        }
}

/* desktop/laptop/tablet landscape - Use for tablet landscape*/
@media screen and (orientation:landscape) and (min-device-width: 1200px) {
    .slide-caption {
        top: -150px;
        width: 80%;
        margin-top: -30% !important;
        padding: 0.15em;
    }

        .slide-caption p {
            font-size: 1.8em;
            line-height: 1.4em;
            padding: 0.25em;
        }
}

/* desktop/laptop/tablet landscape*/
@media screen and (orientation:landscape) and (min-width: 1200px) {

    .slide-caption {
        top: -250px;
        width: 80%;
        margin-top: -32% !important;
    }

        .slide-caption p {
            font-size: 48px;
            line-height: 48px;
        }
}

/*Tablet portrait*/
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation:portrait) {

    .slide-caption {
        top: -70px;
        width: 80%;
        margin-top: -38%;
        padding: 5px 30px;
    }

        .slide-caption p {
            font-size: 26px;
            line-height: 26px;
        }

    .pause {
        bottom: 0.25em;
        left: 0.25em;
        font-size: 2em;
    }
}

/*Mobile landscape*/
@media screen and (orientation:landscape) and (max-width: 768px) {
    .slide-caption {
        top: 10px;
        width: 80%;
        margin-top: -52% !important;
        padding: 0.15em;
    }

        .slide-caption p {
            font-size: 1.8em;
            line-height: 1.4em;
            padding: 0.25em;
        }
}

