/*--------------SLIDER HEADER NAV----------*/
.header-slider-nav-box{
    position:absolute;
    width:    100%;
display:flex;
}
#header-slider-nav{
    width: 100%;
    height: 650px;
    overflow: hidden;
    /*border: 1px solid black;*/
}

#header-slider-nav div {
    position: relative;
    width: 500%;
    margin: 0px;
    left:0px;
    animation: slider-header 12s ease-out infinite;
}

#header-slider-nav div img {
    width: 20%;
    float: left;
}


@keyframes slider-header {
    0%{
        left:0%;
    }
    20% {
        left:0%;
    }
    25%{
        left: -100%;
    }
    45%{
        left: -100%;
    }
    50%{
        left: -200%;
    }
    70%{
        left:-200%;
    }
    75%{
        left:-300%
    }
    95%{
        left:-300%
    }
    100%{
        left:-400%
    }

}

#header-slider-nav-box-bullets ul {
    position: relative;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

#header-slider-nav-box-bullets ul li{
    width: 20px;
    height: 20px;
    border-radius: 100%;
    margin: 0px 10px 0px 10px;
    /*border: 1px solid black;*/
    display: inline-flex;
    justify-content: center;
    background-color: cadetblue;
    cursor: pointer;

}











/*---------------------SLIDER GALLERY-----------*/
.gallery {
    position: relative;
    margin: auto;
    width: 100%;
    max-width: 870px;
    top: 30px;
    height: auto;
    display: block;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}
.slider-box {
    width: 100%;
    max-width: 870px;
    min-width: 320px;
    height: auto;
    margin: auto;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
   /* border: 1px solid black;*/
}


ul, li {
    padding: 0;
    margin: 0;
    list-style: none inside;
    }

.slider {
    width: 100%;
    position: relative;
    width: 100%;
    top: 0px;
    height: 500px;
    display: block;
    flex-flow: column nowrap;

    top: 0px;
    margin: auto;

}

    ul.slider {
    width: 100%;
    height: auto;
    display: block;
    top: 0px;
    margin: auto;
    animation: changeimage 10s 100 linear;
    }

    ul.slider li {
    opacity: 0;
    transition: opacity .5s;
    position: absolute;
    display: flex;
    top: 0px;
    margin: 0px;
    padding: 0px;
    /*border: 2px solid red;*/
    background: #fff;
    }

    img {
        /*position: relative;*/
        width: 100%;
        height: auto;
        
    }

    ul.slider li:first-child {
        opacity: 1;
    }

    ul.slider li:target {
        opacity: 1;
    }

    .menu-box {
        position: relative;
        margin: auto;
        width: 100%;
        max-width: 870px;
        height: auto;
       /* border: 1px solid black;*/
        margin-top: 70%;
        margin-bottom: 20px;
        padding: 5px;
        background-color:white;
        display: inline-flex;
        flex-flow: column wrap;
        justify-content: center;
        align-items: center;
        z-index: 6;
    }

    .menu-slider {
        
        display: inline-flex;
        justify-content: space-between;

    }

    .menu-slider ul  li {
        display: block;
        width: 20px;
        height: auto;
        text-align: center;
        justify-content: space-between;
        align-items: center;

    }

    .slider img {
        width: 100%;
        height: auto;
    }



    @media all and (max-width: 997px) {
        .slider-box {
            width: 100%;
            max-width: 870px;
            min-width: 270px;
            height: auto;
            margin: auto;
            display: flex;
            flex-flow: column nowrap;
            justify-content: center;
            align-items: center;
           /* border: 1px solid black;*/
        }
        #header-slider-nav {
            width: 100%;
            height: auto;
            
        }
    }

    @media all and (max-width: 600px) {
        .slider-box {
            width: 100%;
            max-width: 870px;
            min-width: 270px;
            height: auto;
            margin: auto;
            display: flex;
            flex-flow: column nowrap;
            justify-content: center;
            align-items: center;
            /*border: 1px solid black;*/
        }
        #header-slider-nav {
            width: 100%;
            height: auto;
            
        }
    }

    @media all and (max-width: 480px) {
        .slider-box {
            width: 100%;
            max-width: 870px;
            min-width: 270px;
            height: auto;
            margin: auto;
            display: flex;
            flex-flow: column nowrap;
            justify-content: center;
            align-items: center;
           /* border: 1px solid black;*/
        }
        #header-slider-nav {
            width: 100%;
            height: auto;
            
        }
    }


 /*--------------------------@Media-----320px-------*/

 @media all and (max-width: 320px){

    .slider-box {
        width: 100%;
        max-width: 870px;
        min-width: 270px;
        height: auto;
        margin: auto;
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        align-items: center;
       /* border: 1px solid black;*/
    }

    #header-slider-nav {
        width: 140%;
        height: auto;
        
    }
 }