


/*===========================
04.CATEGORY css 
===========================*/

.category-area{
	
}



.category-title{
	& .title{
		font-size: 24px;
		font-weight: 600;
		
		@media #{$xs}{
			font-size: 18px;
		}
		@media #{$sm}{
			font-size: 20px;
		}
	}
}


.single-category{
	& a{
		display: block;
		padding: 30px 20px;
		border: 1px solid $border-color;
		border-radius: 5px;
		@include transition(0.3s);
		
		@media #{$lg}{
			padding: 30px 6px;
		}
		@media #{$md}{
			padding: 30px 10px;
		}
		@media #{$xs}{
			padding: 20px 6px;
		}
		@media #{$sm}{
			padding: 30px 20px;
		}
		
		& img{
			@media #{$xs}{
				height: 50px;
			}
			@media #{$sm}{
				height: inherit;
			}
		}
		& .title{
			font-size: 16px;
			font-weight: 600;
			color: $heading-color;
			margin-top: 15px;
			@include transition(0.3s);
			
			@media #{$lg}{
				font-size: 15px;
			}
			@media #{$xs}{
				font-size: 14px;
			}
			@media #{$sm}{
				font-size: 16px;
			}
		}
		& p{
			font-size: 16px;
			color: $body-color;
			margin-top: 4px;
			@include transition(0.3s);
			
			@media #{$xs}{
				font-size: 14px;
			}
			@media #{$sm}{
				font-size: 16px;
			}
		}
		
		&:hover{
			border-color: $theme-color-2;
			
			& .title{
				color: $theme-color-2;
			}
		}
	}
}

.category-2{
	background-color: $gray-2;
	
	& .single-category{
		& a{
			border: 0;
			
			& .title{}
			& p{}
			
			&:hover{
				background-color: $theme-color;
				
				& .title{
					color: $white;
				}
				
				& p{
					color: $white;
				}
			}
		}
	}
}


.single-category-2{
	background-color: $white;
	
	& .category-image{
		background-color: #21c87a;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 100 60'%3E%3Cg fill-opacity='0.48'%3E%3Crect fill='%2321c87a' width='11' height='11'/%3E%3Crect fill='%2323c97b' x='10' width='11' height='11'/%3E%3Crect fill='%2326c97d' y='10' width='11' height='11'/%3E%3Crect fill='%2328ca7e' x='20' width='11' height='11'/%3E%3Crect fill='%232aca7f' x='10' y='10' width='11' height='11'/%3E%3Crect fill='%232dcb81' y='20' width='11' height='11'/%3E%3Crect fill='%232fcb82' x='30' width='11' height='11'/%3E%3Crect fill='%2331cc83' x='20' y='10' width='11' height='11'/%3E%3Crect fill='%2333cc85' x='10' y='20' width='11' height='11'/%3E%3Crect fill='%2336cd86' y='30' width='11' height='11'/%3E%3Crect fill='%2338cd87' x='40' width='11' height='11'/%3E%3Crect fill='%233ace89' x='30' y='10' width='11' height='11'/%3E%3Crect fill='%233dce8a' x='20' y='20' width='11' height='11'/%3E%3Crect fill='%233fcf8b' x='10' y='30' width='11' height='11'/%3E%3Crect fill='%2341cf8d' y='40' width='11' height='11'/%3E%3Crect fill='%2344d08e' x='50' width='11' height='11'/%3E%3Crect fill='%2346d08f' x='40' y='10' width='11' height='11'/%3E%3Crect fill='%2348d191' x='30' y='20' width='11' height='11'/%3E%3Crect fill='%234ad192' x='20' y='30' width='11' height='11'/%3E%3Crect fill='%234dd293' x='10' y='40' width='11' height='11'/%3E%3Crect fill='%234fd395' y='50' width='11' height='11'/%3E%3Crect fill='%2351d396' x='60' width='11' height='11'/%3E%3Crect fill='%2354d497' x='50' y='10' width='11' height='11'/%3E%3Crect fill='%2356d499' x='40' y='20' width='11' height='11'/%3E%3Crect fill='%2358d59a' x='30' y='30' width='11' height='11'/%3E%3Crect fill='%235bd59b' x='20' y='40' width='11' height='11'/%3E%3Crect fill='%235dd69d' x='10' y='50' width='11' height='11'/%3E%3Crect fill='%235fd69e' x='70' width='11' height='11'/%3E%3Crect fill='%2362d79f' x='60' y='10' width='11' height='11'/%3E%3Crect fill='%2364d7a1' x='50' y='20' width='11' height='11'/%3E%3Crect fill='%2366d8a2' x='40' y='30' width='11' height='11'/%3E%3Crect fill='%2368d8a4' x='30' y='40' width='11' height='11'/%3E%3Crect fill='%236bd9a5' x='20' y='50' width='11' height='11'/%3E%3Crect fill='%236dd9a6' x='80' width='11' height='11'/%3E%3Crect fill='%236fdaa8' x='70' y='10' width='11' height='11'/%3E%3Crect fill='%2372daa9' x='60' y='20' width='11' height='11'/%3E%3Crect fill='%2374dbaa' x='50' y='30' width='11' height='11'/%3E%3Crect fill='%2376dbac' x='40' y='40' width='11' height='11'/%3E%3Crect fill='%2379dcad' x='30' y='50' width='11' height='11'/%3E%3Crect fill='%237bdcae' x='90' width='11' height='11'/%3E%3Crect fill='%237dddb0' x='80' y='10' width='11' height='11'/%3E%3Crect fill='%2380deb1' x='70' y='20' width='11' height='11'/%3E%3Crect fill='%2382deb2' x='60' y='30' width='11' height='11'/%3E%3Crect fill='%2384dfb4' x='50' y='40' width='11' height='11'/%3E%3Crect fill='%2386dfb5' x='40' y='50' width='11' height='11'/%3E%3Crect fill='%2389e0b6' x='90' y='10' width='11' height='11'/%3E%3Crect fill='%238be0b8' x='80' y='20' width='11' height='11'/%3E%3Crect fill='%238de1b9' x='70' y='30' width='11' height='11'/%3E%3Crect fill='%2390e1ba' x='60' y='40' width='11' height='11'/%3E%3Crect fill='%2392e2bc' x='50' y='50' width='11' height='11'/%3E%3Crect fill='%2394e2bd' x='90' y='20' width='11' height='11'/%3E%3Crect fill='%2397e3be' x='80' y='30' width='11' height='11'/%3E%3Crect fill='%2399e3c0' x='70' y='40' width='11' height='11'/%3E%3Crect fill='%239be4c1' x='60' y='50' width='11' height='11'/%3E%3Crect fill='%239de4c2' x='90' y='30' width='11' height='11'/%3E%3Crect fill='%23a0e5c4' x='80' y='40' width='11' height='11'/%3E%3Crect fill='%23a2e5c5' x='70' y='50' width='11' height='11'/%3E%3Crect fill='%23a4e6c6' x='90' y='40' width='11' height='11'/%3E%3Crect fill='%23a7e6c8' x='80' y='50' width='11' height='11'/%3E%3Crect fill='%23a9e7c9' x='90' y='50' width='11' height='11'/%3E%3C/g%3E%3C/svg%3E");
		// background-attachment: fixed;
		background-size: 100%;
		position: relative;
		overflow: hidden;
		border-top-left-radius: 10px;
		border-top-right-radius: 10px;
		height: 150px;
		
		& a{
			display: block;
		}
		
		& img{
			width: 100%;
			@include transition(0.3s);
		}
		
		& .ctg-title{
			position: absolute;
			bottom: 30px;
			left: 0;
			width: 100%;
			z-index: 5;
			
			& .title{
				color: $white;
				font-size: 18px;
				font-weight: 600;
			}
			
			& p{
				font-size: 14px;
				color: $white;
			}
		}
		
		&::before{
			position: absolute;
			content: '';
			width: 100%;
			height: 100%;
			top: 0;
			left: 0;
			background-color: $heading-color;
			z-index: 2;
			@include transition(0.3s);
			opacity: 0.5;
		}
	}
	& .category-content{
		padding: 20px 40px 40px;
		border: 1px solid rgba($heading-color, 0.1);
		border-bottom-left-radius: 10px;
		border-bottom-right-radius: 10px;
		
		@media #{$lg}{
			padding: 5px 20px 20px;
		}
		@media #{$xs}{
			padding: 10px 30px 30px;
		}
		
		& .category-list{
			& li{
				& a{
					margin-top: 15px;
					font-size: 14px;
					font-weight: 300;
					color: $body-color;
					@include transition(0.3s);
					
					&:hover{
						color: $theme-color-5;
						text-decoration: underline;
					}
				}
			}
		}
	}
	
	&:hover{
		& .category-image{
			overflow: hidden;
			
			& img{
				@include transform(scale(1.1));
			}
			&::before{
				background-color: $theme-color-5;
			}
		}
	}
	
	&.category-3{
		&:hover{
			& .category-image{
				overflow: hidden;
				
				&::before{
					background-color: $theme-color-7;
				}
			}
		}
	}
}












