/* image slider css */
/* Authored by Boaz James Otieno */

#slider{
	min-height:285px !important;
}
#slider-main{
    width: 100%;
	max-height:550px;
    overflow: hidden;
	position:relative;
}
.img-slide{
    width: 100%;
    z-index: 5;
    overflow-y: hidden;
}
button:focus{
	outline:0 !important;
}
button:active {
outline: none !important;
}
*:focus {outline:none !important}
button {
  outline: none !important;
}
#prev{
    z-index: 10;
    color: #fff;
    position: absolute;
    background: transparent;
    border: none;
    margin-top: 15%;
    left: 15px;
    font-size: 60px !important;
	transition: all .2s ease-in-out;
	
}
#next{
    color: #fff;
    position: absolute;
    z-index: 100;
    background: transparent;
    border: none;
    margin-top: 15%;
    right: 15px;
    font-size: 60px !important;
	transition: all .2s ease-in-out;
}
#prev:hover, #next:hover{
	color:#7ba90e;
}
#prev:hover .fa-angle-double-left, #next:hover .fa-angle-double-right{	
	-moz-text-shadow: 2px 2px 4px #000;
  -webkit-text-shadow: 2px 2px 4px #000;
  text-shadow: 2px 2px 4px #000;
}
.circle{
    border: #ccc 3px solid;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    background: transparent;
    display: inline-block;
    cursor: pointer;
}
#circles{
    top: 85%;
    left: 42%;
    position: absolute;
    z-index:100;
}
.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);
    }
}

@media (max-width: 767px) {
	#slider{
		min-height:auto !important;
	}
	#slider-main {
		min-height: 134px;		
	}
    .img-slide{
        
    }
    #prev{
        font-size: 30px !important;
         margin-top: 15%;
         left: 15px;
    }
    #next{
        font-size: 30px !important;
        margin-top: 15%;
        right: 15px;
    }
    .circle{
        width: 15px;
        height: 15px;
        border-radius: 15px;
    }
    #circles{
      top: 85%;
	  left: 36%;
	  z-index: 9000;
    }
}
