
.carousel { position:relative; min-height: 150px; height:auto !important; height: 150px;  background:url(/public/images/loader.gif) center center no-repeat; }
      .carousel .next,
      .carousel .prev { display:none; width:56px; height:56px; position:absolute; bottom:20px; left:50%; margin-top:-28px; z-index:9999; cursor:pointer; }
      .carousel .prev { margin-left:-60px; background:url(/public/img/prev.png) 0 0 no-repeat;  }
      .carousel .next { margin-right:-60px;  background:url(/public/img/next.png) 0 0 no-repeat; }
      .carousel li { display:none; }
      .carousel li img { width:auto; float: left; height:200px;  margin: 10px; }
      .paging { position:absolute; z-index:9998; }
      .paging > a { display:block; cursor:pointer; width:40px; height:40px; float:left; background:url(/public/img/dots.png) 0px -40px no-repeat; }
      .paging > a:hover,
      .paging > a.current { background:url(/public/img/dots.png) 0px 0px no-repeat;  }
      .badge { display:block; width:104px; height:104px; background:url(/public/img/badge.png) 0 0 no-repeat; z-index:9000; position:absolute; top:-3px; left:-3px; }
      img {
-webkit-user-select: none;  /* Chrome all / Safari all */
  -moz-user-select: none;     /* Firefox all */
  -ms-user-select: none;      /* IE 10+ */
  -o-user-select: none;
  user-select: none;    
}

#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modalimage {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modalimage-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modalimage-content, #caption {    
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* The Close Button */
.modalimageclose {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.modalimageclose:hover,
.modalimageclose:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modalimage-content {
        width: 100%;
    }
}