
.jcarousel-wrapper {
    margin: 0;
    position: relative;
    border: 6px solid #47d9b8;
    line-height: 100%;
}

/** Carousel **/

.jcarousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 400px;
}

.jcarousel ul {
    width: 20000em;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.jcarousel li {
    width: 400px !important;
    max-width: 450px;
    float: left;
    border: 6px solid #47d9b8;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;

}

.jcarousel img {
    display: block;
    min-height: 400px;
    min-width: 400px;
    max-width: 450px;
    
}




/** Carousel Controls **/


    .gallery_arrow_bg{
        max-height: 100%;  
        max-width: 100%; 
        width: auto;
        height: auto;
        position: absolute; 
        right: 0;
        left: 0;
        top: 0;  
        bottom: 0;  
        margin: auto;
        z-index: 0;
    }
    .gallery_arrow{
        max-height: 100%;  
        max-width: 40%; 
        width: auto;
        height: auto;
        position: absolute;  
        right: 0;
        left: 0;
        top: 0;  
        bottom: 0;  
        margin: auto;
        z-index: 1;
    }
.jcarousel-control-prev .gallery_arrow_bg{
    left: 0;  
    right: -1.5;
}

.jcarousel-control-prev .gallery_arrow{
    margin-right: 35px;
}

.jcarousel-control-next .gallery_arrow_bg{
    left: -1.5;  
    right: 0;
}

.jcarousel-control-next .gallery_arrow{
        margin-left: 35px;
}


@media(min-width:924px) {
    .jcarousel-control-prev,
    .jcarousel-control-next {
        position: absolute;
        top: 25%;
    }
    .frame {  
        height: 180px; /*can be anything*/
        width: 80px; /*can be anything*/
        position: relative;
    }
    
}
@media(max-width:923px) {
    .jcarousel-control-prev,
    .jcarousel-control-next {
        position: absolute;
        top: 25%;
    }

    .frame {  
        height: 150px; /*can be anything*/
        width: 60px; /*can be anything*/
        position: relative;
    }
}

@media(max-width:923px) {
    .jcarousel-control-prev,
    .jcarousel-control-next {
        position: absolute;
        top: 30%;
    }

    .frame {  
        height: 150px; /*can be anything*/
        width: 60px; /*can be anything*/
        position: relative;
    }
}

.jcarousel-control-prev {
    left: -2px;
}

.jcarousel-control-next {
    right: -2px;
}

/** Carousel Pagination **/

.jcarousel-pagination {
    width: 100%;
    position: absolute;
    bottom: -40px;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    margin: 0;
}
    
.jcarousel-pagination a {
    -ms-transform: rotate(45deg); /* IE 9 */
    -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
    transform: rotate(45deg);
    text-decoration: none;
    display: inline-block;
    font-size: 11px;
    height: 7px;
    width: 7px;
    line-height: 10px;
    background: rgba(71,217,184,0.4);
    color: rgba(71,217,184,0.4);
    text-indent: -9999px;
    margin-right: 16px;
    

}

.jcarousel-pagination a.active {
    background: #47d9b8;
    color: #47d9b8;
    opacity: 1;

}

#gallery_top{
    width: 100%;
    height: 120px;
    margin: 0;
    background-image: url("../img/gallery_top.png");
    background-size: cover;
    background-position: bottom center; 
    position: relative;
}

@media(min-width:1440px){
    #gallery_top{
    height: 180px;
    }
    #gallery-h {
    padding-top: 80px;
    }
}
