.img_container {
    width: 21%;
    height: auto;
    display: inline-block;
    padding: 1%;
    margin: 0 .5% 3% 0;
    border: solid 1px #000;
}

.thumb-img_large {
    width: 100%;
    padding:0;
    margin:0;
}

.thumb-img {
    width: 100%;
    padding:0;
    margin:0;
}

.thumb-img:hover {
    cursor:pointer;
    opacity: 0.25;
    filter: alpha(opacity=25);        
}

.img_container figcaption {
    font-size: 18px;
    text-align: center;
    width: 100%;
    background-color:#fff;
    margin:0;
}

.img_container figcaption:hover {
    cursor: pointer;
}

.img_container figure {
    padding:0;
    margin:0;
    width:100%;   
}

.img_container span {
    text-align: center;
    height:auto;
    padding:0;
    margin:0;
    display: inline-block;
    width: 100%;
    vertical-align: middle;
}

.img_container span select {
    width: 100%;
    padding: 1%;
    margin: 0;
}

#Image_Listing {
    padding:0;
    margin:0;    
}

.form-group .gallery-btn {
    margin:10px 0 10px 0;
    background-color:#727375;    
}

.form-group .gallery-btn:hover {
    background-color: #545556;   
}

.gallery-btn-group {
    padding:0;
}

.empty_msg {
     width:100%;
     text-align:center;
     padding-top:25px;    
}

@media(max-width:768px){
    .img_container {
        width: 46%;
        height: auto;
        display: inline-block;
        padding: 1%;
        margin: 0 .50% 3% 0;
        border: solid 1px #000;        
    } 
}

@media(max-width:400px){
    .img_container {
        width: 98%;
        height: auto;
        display: inline-block;
        padding: 1%;
        margin: 0 .50% 3% 0;
        border: solid 1px #000;        
    } 
}


