﻿* {
    box-sizing: border-box
}

/* Slideshow container */
.banner {
    border: 1px;
    border-style: solid;
    border-color: #bbb;
}

.bg-banner {
    /*background-image: linear-gradient(to top,  #f9faeb,#4b3303);*/
        
}

.banner-inner a {
    color: #4d4d4d;
}

.banner-inner {
    min-height: 450px;
    max-height: 450px;   
    width: 100%;    
}

.banner-inner-info img {
    min-height: 450px;
    max-height: 450px;
    object-fit: cover;
    object-position: 100% 0;
    width: 100%;
}

.banner-inner-info img:hover {
    box-shadow: 0 0 3px #0e6daf;
    background-image: none;
    opacity: 1;
    color: #000;
}

.banner-inner-info a h2:hover {
    text-decoration: none;
}

.banner-inner-info a h2 {
    text-align: center;
    color: #fff;
    font-weight: 500;
    font-size: 3.5em;
    letter-spacing: 0.7px;
    text-shadow: 2px 2px 8px #bfccd2;
    position: absolute;
    top: 40%;
    left: 43%;       
    transform: translate(-40%, -40%);
    max-height: 200px;
}

.banner-inner-info-heading {
    position: absolute;
    bottom: 0px;
    width: 100%;
    right: 0px;
    left: 0px;
    background: rgba(1,37,44,0.5);
    height: 80px;
}

.banner-inner-info-heading a {
    font-size: 1.4em;
    font-weight: 600;
    text-align: justify;
    margin: 15px 10px 15px 10px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    text-transform: none;
    text-shadow: 1px 1px 1px #024b58;
}

@media screen and (min-width:300px) and (max-width:480px) {

    .banner {
        min-height: 250px;
        max-height: 250px;
    }
    .banner-inner-info{
        
        
        width: 100%;
    }
    .banner-inner-info img {
        min-height: 250px;
        max-height: 250px;
        object-fit: contain;
        width: 100%;
        margin: auto;
    }
    .banner-inner-info-heading {        
        height: 70px;
    }

    .banner-inner-info-heading a {
        font-size: 1.2em;
        font-weight: 500;           
    }
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: #bbb;
    font-weight: bold;
    font-size: 2em;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 5px;
    border-radius: 3px 0 0 3px;
    text-decoration: none;
}

/* Position the "next button" to the right */
.prev {
    left: 5px;
    border-radius: 3px 0 0 3px;
    text-decoration: none;
}

    /* On hover, add a black background color with a little bit see-through */
    .prev a:hover, .next a:hover {
        background-color: rgba(0,0,0,0.9);
        text-decoration: none;
    }

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}


@-webkit-keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}
