﻿/*
 * 4.9 GALLERY CATEGORY
 * ============================================================================
 */
/*.gallery-cat-section{
	
}*/
.gallery-cat-section .category{
	margin-right: -8px;
	margin-left: -8px;
}
.gallery-cat-section .category .cat-item{
	width: 25%;
	float: left;
	padding: 8px;
}
.gallery-cat-section .category .item:nth-child(4n+1){
	clear: left;
}
.gallery-cat-section .category .imgwrap{
	overflow: hidden;
	position: relative;
}

.gallery-cat-section .cat-item .imgwrap .images_gradient
{
	width: 100%;
    position: absolute;
    top: 0;
    background-image: url(../../images/gallery_gradient.png);
    background-repeat-y: no-repeat;
    z-index: 6;
    background-size: 100% 100%;
    background-repeat-x: repeat;
    height: 100%;
}


.gallery-cat-section .cat-item .imgwrap .img{
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 5;
	top: 0;
	left: 0;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: cover;
	 -webkit-transition: all 2s;
	-moz-transition: all 2s;
   	-ms-transition: all 2s;
   	-o-transition: all 2s;
    transition: all 2s;
}
.gallery-cat-section .cat-item:hover .imgwrap .img{
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-ms-transform: scale(1.1);
	-o-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition: transform 2s ease;
    -moz-transition: transform 2s ease;
    -ms-transition: transform 2s ease;
    -o-transition: transform 2s ease;
    transition: transform 2s ease;
}
.gallery-cat-section .category .imgwrap:before{
	content: '';
	width: 0;
	display: block;
	padding-top: 100%;
}
.gallery-cat-section .category .title{
	width: 100%;
	overflow: hidden;
	position: absolute;
	z-index: 10;
	bottom: 0;
	left: 0;
	padding: 0 15px 15px 15px;
}
.gallery-cat-section .category .title:after{
	content: '';
	display: block;
	clear: both;
}
.gallery-cat-section .category .title .icon{
	float: right;
	-webkit-transform: scale(0.88);
	-moz-transform: scale(0.88);
	-ms-transform: scale(0.88);
	-o-transform: scale(0.88);
	transform: scale(0.88);
}

/* Desktop */

@media all and (max-width: 2880px){
	
}
@media all and (max-width: 2560px){
	
}
@media all and (max-width: 2048px){
	
}
@media all and (max-width: 1920px){
	
}
@media all and (max-width: 1680px){
	
}
@media all and (max-width: 1600px){
	
}
@media all and (max-width: 1440px){
	
}
@media all and (max-width: 1366px){
	
}
@media all and (max-width: 1280px){
	
}
@media all and (max-width: 1200px){
	
}
@media all and (max-width: 1136px){
	
}
@media all and (max-width: 1024px){
	
}

/* ~ Tablets */

@media all and (max-width: 960px){
	.gallery-cat-section .category .cat-item{
		width: 33.333%;
	}
	.gallery-cat-section .category .item:nth-child(4n+1){
		clear: none;
	}
	.gallery-cat-section .category .item:nth-child(3n+1){
		clear: left;
	}
}
@media all and (max-width: 906px){
	
}
@media all and (max-width: 854px){
	
}
@media all and (max-width: 800px) {
	
}
@media all and (max-width: 768px){
	
}
@media all and (max-width: 736px){
	
}
@media all and (max-width: 720px){
	
}

/* ~ Cellphones */

@media all and (max-width: 667px){
	
}
@media all and (min-width: 641px){
	.gallery-cat-section .category .title .icon{
		display: none;
	}
}
@media all and (max-width: 640px){
	.gallery-cat-section .category{
		margin-right: 0;
		margin-left: 0;
	}
	.gallery-cat-section .category .cat-item{
		width: 50%;
		padding: 0;
	}
	.gallery-cat-section .category .item:nth-child(3n+1){
		clear: none;
	}
	.gallery-cat-section .category .item:nth-child(2n+1){
		clear: left;
	}
	.gallery-cat-section .category .imgwrap:before{
		padding-top: 65.51%;
	}
	/*.gallery-cat-section .category .imgwrap:after{
		content: '';
		width: 100%;
		height: 100%;
		display: block;
		opacity: 0.61;
		position: absolute;
		z-index: 6;
		top: 0;
		left: 0; 
	}*/
}
@media all and (max-width: 601px){
	
}
@media all and (max-width: 568px){
	
}
@media all and (max-width: 540px){
	
}
@media all and (max-width: 480px){
	.gallery-cat-section .category .cat-item{
		width: auto;
		float: none;
	}
}
@media all and (max-width: 414px){
	
}
@media all and (max-width: 384px){
	
}
@media all and (max-width: 375px){
	
}
@media all and (max-width: 360px){
	
}
@media all and (max-width: 320px){
	
}
@media all and (max-width: 218px){ /* Moto 360 Watch */
	
}
@media (max-device-width: 42mm) and (min-device-width: 38mm){ /* Apple Watch ~ 158px max, 143px min */
	
}