.knowledgeinfo .button.btn {width:auto !important;}

.gallery-title
{
    font-size: 36px;
    color: #42B32F;
    text-align: center;
    font-weight: 500;
    margin-bottom: 70px;
}
.gallery-title:after {
    content: "";
    position: absolute;
    width: 7.5%;
    left: 46.5%;
    height: 45px;
    border-bottom: 1px solid #5e5e5e;
}
.filter-button
{
    font-size: 14px;
    /*border: 1px solid #42B32F;*/ border:none;
    border-radius: 0px;
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
	background:#383838;
	font-family: 'Lato', sans-serif;
 	-webkit-transition:all 1s ease-in-out;
		-moz-transition:all 1s ease-in-out;
		-o-transition:all 1s ease-in-out;
		-ms-transition:all 1s ease-in-out;
		transition:all 1s ease-in-out;
}
.filter-button:hover
{
    font-size: 14px;
    /*border: 1px solid #42B32F;*/border:none;
    border-radius: 0px;
    text-align: center;
    color: #ffffff;
    background-color: #2f5b9a !important;

}
.knowledgeinfo .btn-default:active .knowledgeinfo .filter-button:active
{
    background-color: #2f5b9a !important;
    color: white;
}

.loggedbtn .btn-default.focus, .btn-default:focus{background-color: #2f5b9a !important;
    color: white;}

.knowledgeinfo .btn-default.active, .knowledgeinfo .btn-default:active, .open>.dropdown-toggle.btn-default{background-color: #2f5b9a !important;
    color: white;}

.port-image
{
    width: 100%;
}

.gallery_product
{
    margin-bottom: 30px;
}



.mainwrap{width:360px; height:361px;}



.box {
    position: relative;
}

.box_content {
    position: absolute;
    top: 0;
    left: 0;
}

.title {
    position: absolute;
    bottom: 0;            /* This moves it to the bottom (initial state) */
    width: 100%;
    height: 20%;
    background: rgba(0, 0, 0, .6);
    transition: top 1s; font-family: 'Lato', sans-serif; font-size:24px; line-height:62px; color:#fff; line-height:30px;  -webkit-transition:all 1s ease-in-out; 
		-moz-transition:all 1s ease-in-out;
		-o-transition:all 1s ease-in-out;
		-ms-transition:all 1s ease-in-out;
		transition:all 1s ease-in-out; text-transform:none; padding:20px 0 0 0;
}

.box:hover .title {
    bottom: 0;           /* This moves it to the top (only on hover) */
	color:#fff;
	height:100%; background: rgba(0, 91, 154, .9);
}
