@charset "utf-8";
/* CSS Document */
/* =========================================
   John Palamidy's Slideshow
   ========================================= */

.johnpalamidy-slideshow {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    /*background: #46aac4;*/
		background: #666;
}

.johnpalamidy-slide {
    display: none;
    position: relative;
    width: 100%;
}

.johnpalamidy-slide.active {
    display: block;
    animation: slideshowFade 0.8s ease-in-out;
}

.johnpalamidy-slide img {
	margin:0 auto;
    display: block;
    width: 100%; 
		max-width: 1400px;   		
		max-height: 700px;object-fit: contain;
}
/*Can also use this at 90%

.arturo-slide img {
    margin: 0 auto;
    display: block;
    width: auto;
    max-width: 90%;
    height: 550px;
    object-fit: contain;
}
*/

.johnpalamidy-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 2em;
    text-align: center;
}

/* Previous / Next buttons */

.johnpalamidy-prev,
.johnpalamidy-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 60px;
    border: 0;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 32px;
    line-height: 60px;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
}

.johnpalamidy-prev {
    left: 0;
}

.johnpalamidy-next {
    right: 0;
}

.johnpalamidy:hover,
.johnpalamidy-next:hover,
.johnpalamidy-prev:focus,
.johnpalamidy-next:focus {
    background: rgba(0, 0, 0, 0.7);
}

/* Navigation dots */

.johnpalamidy-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 52px;
    text-align: center;
}

.johnpalamidy-dot {
    width: 11px;
    height: 11px;
    margin: 0 4px;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.johnpalamidy-dot.active,
.johnpalamidy-dot:hover,
.johnpalamidy-dot:focus {
    background: #fff;
}

/* Fade */

@keyframes slideshowFade {
    from {
        opacity: 0.35;
    }

    to {
        opacity: 1;
    }
}

/* Mobile */
@media screen and (max-width: 600px) {

    .johnpalamidy-slide img {
        width: 100%;
        max-width: 100%;
        height: 280px;
        object-fit: contain;
    }

    .johnpalamidy-caption {
        padding: 8px 10px;
        font-size: 14px;
    }

    .johnpalamidy-prev,
    .johnpalamidy-next {
        width: 35px;
        height: 45px;
        font-size: 24px;
        line-height: 45px;
    }

    .johnpalamidy-dots {
        bottom: 38px;
    }

    .johnpalamidy-dot {
        width: 9px;
        height: 9px;
        margin: 0 3px;
    }
}
@media screen and (max-width: 900px) {
    .johnpalamidy-slide img {
        height: 400px;
    }
}

@media screen and (max-width: 600px) {
    .johnpalamidy-slide img {
        height: 280px;
    }
}



/*@media screen and (max-width: 600px) {

    .arturo-caption {
        padding: 8px 10px;
        font-size: 14px;
    }

    .arturo-prev,
    .arturo-next {
        width: 35px;
        height: 45px;
        font-size: 24px;
        line-height: 45px;
    }

    .arturo-dots {
        bottom: 38px;
    }

    .arturo-dot {
        width: 9px;
        height: 9px;
        margin: 0 3px;
    }
}

