/* image slider css */

#slider-main{
	width: 98.4%;
	height: auto;
	margin: auto;
	overflow: hidden;
}
.img-slide{
    width:100%;
	height:100%
	z-index: 5;
    overflow-y: hidden;
}
#prev{
    z-index: 10;
    color: #000;
    position: absolute;
    background: transparent;
    border: none;
    margin-top: 40vh;
    margin-left: 3%;
    font-size: 60px !important;
}
#next{
    color: #000;
    position: absolute;
    z-index: 100;
    background: transparent;
    border: none;
    margin-top: -60vh;
    margin-left: 93.5%;
    font-size: 60px !important;
}
.circle{
    border: #ccc 1px solid;
    width: 40px;
    height: 10px;
    border-radius: 0px;
    background: transparent;
    display: inline-block;
    cursor: pointer;
}
#circles{
    margin-top: -5vh;
    margin-left: 43.6%;
    position: absolute;
    z-index: 6;
}
.image-animated{
    animation: animateImage 5s ease-in-out; /* change time according to interval set */
}

@keyframes animateImage {
    0%{
        opacity: .2;
        transform: scale(1.2,1.2);
    }
    20%{
        opacity: 1;
        transform: scale(1,1);
    }
    80%{
        opacity: 1;
        transform: scale(1,1);
    }
    95%{
        opacity: .8;
        transform: scale(1.2,1.2);
    }
    100%{
        opacity: .8;
        transform: scale(1.2,1.2);
    }
}

figcaption {
    position: absolute;
    top: 380px;
    left: 0px;
    background-color: hsla(0, 100%, 100%, 0.6);

    font-family: sans-serif;
    font-size: 2em;
    padding: .2em 1em;

    border-top-right-radius: .5em;
    border-bottom-right-radius: .5em;    

    color: #b07540;
    text-shadow: 2px 2px 1px black;
    text-shadow: 1px 1px 1px black;    
}


@media (max-width: 767px) {
#slider-main{
	width: 100%;
	height: auto;
	overflow: hidden;
	background: #fff;
} 

 .img-slide{
        object-fit: cover;
    }
    #prev{
        font-size: 30px !important;
        margin-top: 12vh;
        margin-left: 0.5%;
    }
    #next{
        font-size: 30px !important;
        margin-top: -28vh;
        margin-left: 88%;
    }
    .circle{
        border: #ccc 1px solid;
		width: 20px;
        height: 5px;
        border-radius: 0px;
    }
    #circles{
        margin-top: -30px;
        margin-left: 32.5%;
    }
}
