/* Image Boxes CSS Document */
	
	
	.home-boxes {
	position:absolute;
	bottom:-20px;
	width:960px;	
	z-index:980;
	-moz-transition:all 1s ease-out;
	-webkit-transition:all 1s ease-out;
	transition:all 1s ease-out;
	}
		.home-boxes.custom {position:relative; bottom:0; width:100%;}
			.image-boxes.home-boxes.custom .image-box {opacity:1; top:0;/* height:auto;*/}
		
			.image-boxes.home-boxes.show-home-boxes .image-box:nth-child(3n+1) {
			top:0px;
			opacity:1;
			}
			.image-boxes.home-boxes.show-home-boxes .image-box:nth-child(3n+2) {
			top:0px;
			opacity:1;
			}
			.image-boxes.home-boxes.show-home-boxes .image-box:nth-child(3n+3) {
			top:0px;
			opacity:1;
			}
	
	
		.image-boxes.home-boxes .image-box {
		top:50px;
		opacity:0;
		color:#ffffff;
		text-align:center;
		background-color:#00aeef;
		border-radius:30px;
		border-bottom-right-radius:0px;
		-moz-transition:all 1s cubic-bezier(0.455, 0.03, 0.515, 0.955);
		-webkit-transition:all 1s cubic-bezier(0.455, 0.03, 0.515, 0.955);
		transition:all 1s cubic-bezier(0.455, 0.03, 0.515, 0.955);
		position:relative;
		}
		
			.image-boxes.home-boxes .image-box:nth-child(3n+1) {background-color:#ed1c24;}
			.image-boxes.home-boxes .image-box:nth-child(3n+2) {
			background-color:#8dc63f;
			-moz-transition-delay:0.15s;
			-webkit-transition-delay:0.15s;
    		transition-delay:0.15s;
			}
			.image-boxes.home-boxes .image-box:nth-child(3n+3) {
			background-color:#00aeef;
			-moz-transition-delay:0.3s;
			-webkit-transition-delay:0.3s;
    		transition-delay:0.3s;
			}
		
			.image-boxes.home-boxes .image-box h3 {
			font-weight:100;
			padding:30px 0 32px 0;
			}
			
			.image-boxes.home-boxes .image-box .more {
			position:absolute;
			top:100%;
			left:100%;
			width:0px;
			height:0px;
			font-size:0px;
			line-height:0px;
			background-color:#00aeef;
			border-radius:0px;
			border-top-left-radius:0px;
			-moz-transition:all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
			-webkit-transition:all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
			transition:all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
			overflow:hidden;
			}
				
				.image-boxes.home-boxes .image-box:nth-child(3n+1) .more {background-color:#ed1c24;}
				.image-boxes.home-boxes .image-box:nth-child(3n+2) .more {background-color:#8dc63f;}
				.image-boxes.home-boxes .image-box:nth-child(3n+3) .more {background-color:#00aeef;}
			
				.image-boxes.home-boxes .image-box .more .material-icons {
				line-height:0px;
				font-size:0px;
				}
				
				.image-boxes.home-boxes .image-box:hover .more {
				width:40px;
				height:40px;
				line-height:40px;
				border-radius:10px;
				border-top-left-radius:0px;
				}
					.image-boxes.home-boxes .image-box:hover .more .material-icons {
					line-height:40px;
					font-size:24px;
					}
	
	
	/* Image boxes */
	.image-boxes {
	display:block;
	}
	
		.image-boxes .image-box {
		float:left;
		display:inline-block;
		position:relative;
		}
			/* 7 Column Image boxes */
			.image-boxes.seven-column .image-box {
			width:13%;
			margin-right:1.5%;
			margin-bottom:10px;
			}
				.image-boxes.text-over.seven-column .image-box {height:auto;}
				.image-boxes.seven-column .image-box:nth-child(7n+7) {margin-right:0%;}
				.image-boxes.seven-column .image-box:nth-child(7n+8) {clear:both;}
		
			/* 6 Column Image boxes */
			.image-boxes.six-column .image-box {
			width:15%;
			margin-right:2%;
			margin-bottom:20px;
			}
				.image-boxes.text-over.six-column .image-box {height:auto;}
				.image-boxes.six-column .image-box:nth-child(6n+6) {margin-right:0%;}
				.image-boxes.six-column .image-box:nth-child(6n+7) {clear:both;}
		
			/* 5 Column Image boxes */
			.image-boxes.five-column .image-box {
			width:16%;
			margin-right:5%;
			margin-bottom:30px;
			}
				.image-boxes.text-over.five-column .image-box {height:auto;}
				.image-boxes.five-column .image-box:nth-child(5n+5) {margin-right:0%;}
				.image-boxes.five-column .image-box:nth-child(5n+6) {clear:both;}
				
			/* 4 Column Image boxes */
			.image-boxes.four-column .image-box {
			width:22%;
			margin-right:4%;
			margin-bottom:30px;
			}
				.image-boxes.text-over.four-column .image-box {height:auto;}
				.image-boxes.four-column .image-box:nth-child(4n+4) {margin-right:0%;}
				.image-boxes.four-column .image-box:nth-child(4n+5) {clear:both;}
				
			/* 3 Column Image boxes */
			.image-boxes.three-column .image-box {
			width:30%;
			margin-right:5%;
			margin-bottom:20px;
			}
				.image-boxes.text-over.three-column .image-box {height:auto;}
				.image-boxes.three-column .image-box:nth-child(3n+3) {margin-right:0%;}
				.image-boxes.three-column .image-box:nth-child(3n+4) {clear:both;}
				
			/* 2 Column Image boxes */
			.image-boxes.two-column .image-box {
			width:47%;
			margin-right:6%;
			margin-bottom:40px;
			}
				.image-boxes.text-over.two-column .image-box {height:auto;}
				.image-boxes.two-column .image-box:nth-child(2n+2) {margin-right:0%;}
				.image-boxes.two-column .image-box:nth-child(2n+3) {clear:both;}
				
			/* 1 Column Image boxes */
			.image-boxes.one-column .image-box {
			width:100%;
			margin-right:0%;
			margin-bottom:30px;
			}
				.image-boxes.text-over.one-column .image-box {height:auto;}
		
		
		/* Text Over Image boxes */
		.image-boxes.text-over .image-box {
		overflow:hidden;
		}
			.image-boxes.text-over .image-box a.image-box-text {
			position:absolute;
			top:0px;
			left:0px;
			right:0px;
			bottom:0px;
			display:block;
			padding:10px;
			-webkit-box-sizing:border-box;
			-moz-box-sizing:border-box;
			-ms-box-sizing:border-box;
			box-sizing:border-box;
			z-index:500;
			}
				.image-boxes.text-over .image-box a.image-box-text,
				.image-boxes.text-over .image-box a.image-box-text .silent {color:#ffffff;}



		/* Text Under Image boxes */
		.image-boxes.text-under .image-box {}
		
			.image-boxes.text-under .image-box a.image-box-text {
			display:block;
			padding-top:10px;
			}
				
				
			/* Image box images */		
			.image-boxes .image-box a.image-box-image {
			display:block;
			}
			
				.image-boxes .image-box:hover a.image-box-image {
				opacity:0.7;
				}
				
			.image-boxes .image-box a.image-box-image {
			display:block;
			-webkit-backface-visibility:hidden;
			-moz-transition:all .3s ease-out;
			-webkit-transition:all .3s ease-out;
			transition:all .3s ease-out;
			}
		
				.image-boxes .image-box a.image-box-image img {
				vertical-align:middle;
				border-radius: 100px;
    			border-bottom-right-radius: 0px;
				}
				
				
				

/* Media Queries */

@media screen and (max-width: 1030px) {
	
	.home-boxes {
	width:100%;
    padding:0 36px;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-ms-box-sizing:border-box;
	box-sizing:border-box;
	}
	
	
	/* Image boxes */
	.image-boxes {}
			
			/* 7 Column Image boxes */
			.image-boxes.seven-column .image-box {
			width:13%;
			margin-right:1.5%;
			margin-bottom:10px;
			}
		
			/* 6 Column Image boxes */
			.image-boxes.six-column .image-box {
			width:15%;
			margin-right:2%;
			margin-bottom:20px;
			}
			
			/* 5 Column Image boxes */
			.image-boxes.five-column .image-box {
			width:16%;
			margin-right:5%;
			margin-bottom:30px;
			}
				
			/* 4 Column Image boxes */
			.image-boxes.four-column .image-box {
			width:22%;
			margin-right:4%;
			margin-bottom:30px;
			}
				
			/* 3 Column Image boxes */
			.image-boxes.three-column .image-box {
			width:32%;
			margin-right:2%;
			margin-bottom:20px;
			}
				
			/* 2 Column Image boxes */
			.image-boxes.two-column .image-box {
			width:48%;
			margin-right:4%;
			margin-bottom:40px;
			}
				
			/* 1 Column Image boxes */
			.image-boxes.one-column .image-box {
			width:100%;
			margin-right:0%;
			margin-bottom:30px;
			}
	
}


@media screen and (max-width: 850px) {
	
	/* Image boxes */
	.image-boxes {}
			
			/* 7 Column Image boxes - 4 Column */
			.image-boxes.seven-column .image-box {
			width:22%;
			margin-right:4%;
			margin-bottom:30px;	
			}	
			
				.image-boxes.seven-column .image-box:nth-child(7n+7) {margin-right:2%;}
				.image-boxes.seven-column .image-box:nth-child(7n+8) {clear:none;}
				
				.image-boxes.seven-column .image-box:nth-child(4n+4) {margin-right:0%;}
				.image-boxes.seven-column .image-box:nth-child(4n+5) {clear:both;}
	
	
			/* 6 / 5 / 4 Column Image boxes - 3 Column */
			.image-boxes.six-column .image-box,
			.image-boxes.five-column .image-box,
			.image-boxes.four-column .image-box {
			width:32%;
			margin-right:2%;
			margin-bottom:20px;
			}

				.image-boxes.six-column .image-box:nth-child(6n+6),
				.image-boxes.five-column .image-box:nth-child(5n+5),
				.image-boxes.four-column .image-box:nth-child(4n+4) {margin-right:2%;}
				
				.image-boxes.six-column .image-box:nth-child(6n+7),
				.image-boxes.five-column .image-box:nth-child(5n+6),
				.image-boxes.four-column .image-box:nth-child(4n+5) {clear:none;}
				
				.image-boxes.six-column .image-box:nth-child(3n+3),
				.image-boxes.five-column .image-box:nth-child(3n+3),
				.image-boxes.four-column .image-box:nth-child(3n+3) {margin-right:0%;}
				
				.image-boxes.six-column .image-box:nth-child(3n+4),
				.image-boxes.five-column .image-box:nth-child(3n+4),
				.image-boxes.four-column .image-box:nth-child(3n+4) {clear:both;}
				
}


@media screen and (max-width:750px) {
	
	
	.image-boxes.home-boxes {
	float:left;
	display:block;
	clear:both;
	margin:60px 0;
	position:relative;
	left:auto;
	bottom:0;
	transform:translateX(0);	
	}
	
		.image-boxes.home-boxes.three-column .image-box {
		width:100%;
		margin-bottom:0;
		margin-right:0;
		border-radius:0;
		}
		
			.image-boxes.home-boxes a.image-box:first-child {
			border-top-left-radius:30px;
			border-top-right-radius:30px;	
			}
			
			.image-boxes.home-boxes a.image-box:nth-child(3) {
			border-bottom-left-radius:30px;	
			}
			
		.image-boxes.home-boxes .image-box h3 {
		padding:15px 0 17px 0;
		}
		
		.image-boxes.home-boxes.custom .image-box {border-radius:0 !important;}
		
		.image-boxes.home-boxes.custom .image-box:first-child {border-top-left-radius:30px !important;border-top-right-radius:30px !important;}
		
		.image-boxes.home-boxes.custom .image-box:nth-last-child(2) {border-bottom-left-radius:30px !important;}
	
}


@media screen and (max-width: 650px) {
	
	/* Image boxes */
	.image-boxes {}
	
			/* 7 / 6 / 5 / 4 / 3 Column Image boxes - 2 Column */
			.image-boxes.seven-column .image-box,
			.image-boxes.six-column .image-box,
			.image-boxes.five-column .image-box,
			.image-boxes.four-column .image-box,
			.image-boxes.three-column .image-box {
			width:48%;
			margin-right:4%;
			margin-bottom:40px;
			}
			
				.image-boxes.seven-column .image-box:nth-child(7n+7),
				.image-boxes.seven-column .image-box:nth-child(4n+4),
				.image-boxes.six-column .image-box:nth-child(6n+6),
				.image-boxes.six-column .image-box:nth-child(3n+3),
				.image-boxes.five-column .image-box:nth-child(5n+5),
				.image-boxes.five-column .image-box:nth-child(3n+3),
				.image-boxes.four-column .image-box:nth-child(4n+4),
				.image-boxes.four-column .image-box:nth-child(3n+3),
				.image-boxes.three-column .image-box:nth-child(3n+3) {margin-right:4%;}
				
				.image-boxes.seven-column .image-box:nth-child(7n+8),
				.image-boxes.seven-column .image-box:nth-child(4n+5),
				.image-boxes.six-column .image-box:nth-child(6n+7),
				.image-boxes.six-column .image-box:nth-child(3n+4),
				.image-boxes.five-column .image-box:nth-child(5n+6),
				.image-boxes.five-column .image-box:nth-child(3n+4),
				.image-boxes.four-column .image-box:nth-child(4n+5),
				.image-boxes.four-column .image-box:nth-child(3n+4),
				.image-boxes.three-column .image-box:nth-child(3n+4) {clear:none;}
				
				.image-boxes.seven-column .image-box:nth-child(2n+2),
				.image-boxes.six-column .image-box:nth-child(2n+2),
				.image-boxes.five-column .image-box:nth-child(2n+2),
				.image-boxes.four-column .image-box:nth-child(2n+2),
				.image-boxes.three-column .image-box:nth-child(2n+2) {margin-right:0%;}
				
				.image-boxes.seven-column .image-box:nth-child(2n+3),
				.image-boxes.six-column .image-box:nth-child(2n+3),
				.image-boxes.five-column .image-box:nth-child(2n+3),
				.image-boxes.four-column .image-box:nth-child(2n+3),
				.image-boxes.three-column .image-box:nth-child(2n+3) {clear:both;}
				
}


@media screen and (max-width: 480px) {
	
	
	.image-boxes.home-boxes {
	margin:15px 0 40px 0;
	padding:0 15px;	
	}
	
	/* Image boxes */
	.image-boxes {}
	
		/* All Image boxes - 1 Column */
		.image-boxes.seven-column .image-box,
		.image-boxes.six-column .image-box,
		.image-boxes.five-column .image-box,
		.image-boxes.four-column .image-box,
		.image-boxes.three-column .image-box,
		.image-boxes.two-column .image-box {
		width:100% !important;
		margin-right:0% !important;
		margin-bottom:30px;
		}	
	
}