
#similar_items, #style_with,  #gallery-tabs ul{
	list-style-type: none;
	margin:0;
	padding:0;
}

.related_items_row li{
	display: table-cell;
	vertical-align: top;
	width:287px;
	text-align:center;
	height:100%;
}

.related_items_row{
	text-align:center;
	transition:opacity .5s !important;
	display:inline-block;
	margin:auto !important;
}

.related-items-view{
	width:100%;
	max-width:1170px;
	overflow:hidden;
	margin:0 0 20px 0;
	text-align:center;
	
}

#related-items-title{
	margin:20px 0 0 10px;
	height:28px;
}

#related-items-div{
	position:relative;
	height:274px;
	overflow:hidden;
	margin: 0 0 20px 0;
}

.active-view{
	display:inline-block;
}

#galleryViews .activeView{
	display:inline-block !important
	position:relative;
}

#gallery-tabs{
	position:absolute;
	top:0;
	left:0;
}

#gallery-tabs ul li{
	display:inline;
	padding:10px;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    line-height: 32px;
    font-weight: 300;
    cursor: pointer;
    text-transform: uppercase;
    width:50%;
    border-left:solid 1px #ebe;
}
.first_tab{
	border-left:none !important;
}

.selected_gallery{
	border-bottom:solid 1px #4a4947;
}

.related_items_row li div{
	text-align:center;
	margin:auto;
	width:90%;
	font-size:12px;
	text-transform:uppercase;
	letter-spacing:1px;
	line-height:20px;
	white-space:normal;
	font-family:'Lato';
}

.related_items_row li div:hover {
	color:#a1895d;
}
.related_items_row img {
	width:100%;
	max-width:170px;
	margin:auto;
}



/*TABS*/

#gallery-tabs, .mobile-gallery-tab {
	width:100%;
	text-align: center;
	font-family: 'Lato', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 32px;
    font-weight: 400;
    cursor:pointer;
}

.mobile-gallery-tab{
	text-align:left;
	border-top:solid 1px;
	display:none;
}
.mobile-gallery-tab:hover{
	color:#a1895d;
}

.mobile-gallery-tab:hover .gallery-tab-control{
	color:#a1895d;
}

#galleryViews .active-tab:hover{
	color:#4a4947;
}

.gTab-1{
	width:100%;
	border-bottom:solid 1px #f9d8cd !important;
}

.gTab-2{
	width:50%;
	float:left;
	transition: all 0.3s;
	border-bottom:solid 1px #fff;
}
.gTab-2:hover{
	color:#a1895d;
	background:#fafafa;
}

.mobile-gallery-tab{
	border-bottom:solid 1px #fff;
}

#galleryViews .active-tab{
	border-bottom:solid 1px #fff;
}
#galleryViews{
	padding:40px 0 0 0;
}





.gallery-tab-control{
	float:right;
	padding:0 4px 0 0;
	color:#4a4947;
	cursor:pointer;
	font-family: Helvetica;
	font-size:17px;
	font-weight:none;
	font-smooth: never;
	-webkit-font-smoothing : none;
}

.active-tab .gallery-tab-control{
	display:none;
}
.gallery-tab-control:hover{
	color:#a1895d;
}
#gallery-tabs .active-tab{
	border-bottom:solid 1px #4a4947;
}




/* Small */
@media (max-width:768px){
	.related_items_row li {padding:20px;}
	.related_items_row img {width:75px;}
	.mobile-gallery-tab{display: block;}
	#gallery-tabs{display:none;}
	#galleryViews{padding:0;}
	#related-items-div{ height:220px;}
}
























