a {
/*color: #c60;*/
background-color: transparent;
text-decoration: none;
}

ul {
padding: 0;
}

/*li {*/
/*float: left;*/
/*list-style: none;*/
/*}*/


.imagegallery{
margin-top: 20px;
border: 1px solid #e1e1e1;
background-color: #f1f1f1;
display: block;
height: 168px;
width: 560px;
border-radius: 0 4px 4px 0;
}

.imagegallery li {
background-color: #fff;
margin: 0px 0px 0px 20px;
cursor: pointer;
border-radius: 4px;
border: 1px solid #d7d7d7;
}

.imagegallery li a {
position: relative;
display: block;
width: 80px;
height: 80px;
margin: 3px;
overflow: hidden;
border-radius: 4px;
}

.imgw {
width: 80px;
position: absolute;
left: 0;
top: 50%;
}

.imgh {
height: 80px;
/*position: absolute;*/
left: 50%;
top: 0;
}

.imge {
height: 80px;
width: 80px;
position: absolute;
left: 0;
top: 0;
}

/* The Modal (background) */
.bigimgmodal {
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: #BDBDBD; /* Fallback color */
/*background-color: rgba(0,0,0,0.9); !* Black w/ opacity *!*/
}

/* Modal Content (image) */
/*.modal-content {
margin: auto;
display: block;
/*width: 30%;
max-width: 100%;
}*/

/* 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 */
/*.modal-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.1)}
to {transform: scale(1)}
}


/* 100% Image Width on Smaller Screens
@media only screen and (max-width: 700px){
.modal-content {
width: 100%;
}
}*/

.but{width:40px;height:80px;position:absolute;top:266px;}
#but1{left:62px;background:url(../img/left.png);}
#but2{right:62px;background:url(../img/right.png);}

.closebtn{position:absolute;
    top:80px;
    left:1511px;
    right:62px;
    background-image:url(../img/close.png);
}