/*==========================***---GALLERY---***==========================*/


.th {
    width: 100%;
    position: relative;
}
.th img {
    width: inherit;
    transition: all 0.2s ease-in-out;
}

div.on-hover {
    position: absolute;
    background: none repeat scroll 0 0 rgba(3, 3, 3, 0.6);
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    -webkit-transition: all 300ms ease-out;
    -moz-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
    display: none;
}
.on-hover-text {
    position: relative;
    width: 80%;
    margin: 20px auto;
    color: #fff;
    height: auto;
    text-align: center;
    padding: 0 20px;
    text-decoration: underline;
    top: 35%;
}
.gallery-content {
    padding-left: 15px;
}
.gallery-content ul li:hover .on-hover {
    display: block;
}

ul.clearing li {
    width: 32%;
    margin-right: 1%;
}
.visible-img img {
    width: auto;
}
.clearing-blackout {
    background: rgba(0, 0, 0, 0.95);
}
.clearing-assembled .clearing-container .visible-img {
    background: rgba(0, 0, 0, 0.3);
}
.clearing-assembled .clearing-container .carousel {
    background: rgba(0, 0, 0, 1);
}
.clearing-caption {
    background: rgba(0, 0, 0, 0.95);
}

@media (max-width: 640px) {
    ul.clearing li {
        width: 48%;
    }
}

/*===========----***GALLERY-ENDS***----===========*/

/*Gallery changes 30/01/2015*/

.gallery-content .th {
    border: 4px solid transparent;
    box-shadow: none;
}
.gallery-content .th:hover, #gallery .th:focus {
    box-shadow: none;
    border: 4px solid;
}
.gallery-content .on-hover {
    background: none;
}
.gallery-content .th img {
 border: 1px solid;
}