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

#slider-main {
    /*width: 400px;
    height: 400px;
    margin: 0 auto; */ /* <<< This line here. */
    //display: flex;
    /* margin-left: auto;
    margin-right: auto;*/
    display: block;
    margin-left: 25%;
    margin-right: 25%;
    width: 50%;
}

    /*.frame {
    height: 200px;
    width: 200px;
    overflow: hidden;
}*/

    /*  #slider-main img {
        -webkit-transition: all 2s ease;
        -moz-transition: all 2s ease;
        -ms-transition: all 2s ease;
        transition: all 2s ease;
    }*/

    /*    #slider-main img:hover {
            width: 300px;
            height: 300px;
        }*/

    #slider-main img {
        /* margin: 100px;
        transition: transform 0.25s ease;
        cursor: zoom-in;
        animation: animateImage 5s ease-in-out;*/
    }



.img-slide {
    width: 100%;
    height: 100vh;
    z-index: 5;
    overflow-y: hidden;
}

   /* .img-slide img:hover {
        width: 300px;
        height: 300px;
    }*/

#prev {
    z-index: 10;
    color: #000;
    position: absolute;
    background: transparent;
    border: none;
    margin-top: 40vh;
    margin-left: -3.5%;
    font-size: 60px !important;
}

#next {
    color: #000;
    position: absolute;
    z-index: 100;
    background: transparent;
    border: none;
    margin-top: -60vh;
    margin-left: 51%;
    font-size: 60px !important;
}

.circle {
    border: #ccc 3px solid;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    background: transparent;
    display: inline-block;
    cursor: pointer;
}

#circles {
    margin-top: -15vh;
    margin-left: 48.6%;
    position: absolute;
    z-index: 9000;
}

/*.tab1 img {*/
    /*height: 200px;
    width: 200px;*/
    /*-webkit-transition: all 2s ease;
    -moz-transition: all 2s ease;
    -ms-transition: all 2s ease;
    transition: all 2s ease;
}

    .tab1 img:hover {
        width: 20%;*/
      /*  overflow: hidden;*/
    /*}*/

@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) {
    .img-slide {
        height: 40vh;
    }

    #prev {
        font-size: 30px !important;
        margin-top: 12vh;
        margin-left: 0.5%;
    }

    #next {
        font-size: 30px !important;
        margin-top: -28vh;
        margin-left: 88%;
    }

    .circle {
        width: 15px;
        height: 15px;
        border-radius: 15px;
    }

    #circles {
        margin-top: -10vh;
        margin-left: 36%;
    }
}
