

/* ===================================================================
 *  12. bricks masonry - (_layout.scss)
 *
 * ------------------------------------------------------------------- */
#bricks {
	padding-top: 4.2rem;
}

#bricks .masonry {
	max-width: 1440px;
}

#bricks .pagination {
	margin-top: 6rem;
}

#bricks.with-top-sep {
	position: relative;
}

#bricks.with-top-sep::before {
	content: "";
	display: block;
	position: absolute;
	left: 50%;
	top: 0;
	margin-left: -100px;
	width: 200px;
	height: 1px;
	background-color: #D1D1D1;
}

.bricks-wrapper:before,
.bricks-wrapper:after {
	content: "";
	display: table;
}

.bricks-wrapper:after {
	clear: both;
}

.bricks-wrapper .grid-sizer,
.bricks-wrapper .brick {
	width: 33%;
	margin-bottom:4.5%;
}

.bricks-wrapper .brick:nth-of-type(2) {margin-top:5%;}

.bricks-wrapper .brick {
	float: left;
	padding: 0 20px;
}

.bricks-wrapper .featured-grid {
	width: 66.66667%;
}

.bricks-wrapper .featured-grid .entry-content {
	width: 100%;
	background: #151515;
}

.brick a {text-decoration:none; display: block; width: 100%; height: auto; background: #fff; box-sizing: border-box; padding: 25px; border:1px solid #efefef;}

.entry-text {padding-top:15px; padding-bottom:40px}
.entry-text p {font-size:15px; color:#444; font-weight:500; padding-bottom:5px; word-break:break-all; text-align: center; font-family:'Carbel', sans-serif; margin-bottom: 0; line-height: 1;}
.entry-text p strong {font-size:27px; color:#222; font-weight:700;}
.entry-text p span {font-weight:700; color:#222;}

.entry-thumb {position:relative;  -webkit-transition: -webkit-transform 250ms;transition: -webkit-transform 250ms;transition: transform 250ms;transition: transform 250ms, -webkit-transform 250ms;}
.entry-thumb img {width: 100%; height: auto;}

.bricks2:before,
.bricks2:after {
	content: "";
	display: table;
}

.bricks2:after {
	clear: both;
}

.bricks2 .grid-sizer,
.bricks2 .brick {
	width: 33%;
	margin-bottom:4.5%;
}

.bricks2 .brick:nth-of-type(2) {margin-top:2.5%;}

.bricks2 .brick {
	float: left;
	padding: 0 20px;
}

.bricks2 .featured-grid {
	width: 66.66667%;
}

.bricks2 .featured-grid .entry-content {
	width: 100%;
	background: #151515;
}



/* responsive:
/* bricks masonry
 * ------------------------------------------------------------------- */
/*@media only screen and (max-width:1280px) {
	.bricks-wrapper .grid-sizer,
	.bricks-wrapper .brick {
		width: 33.33333%;
	}

	.bricks-wrapper .featured-grid {
		width: 66.66667%;
	}
}*/
@media only screen and (max-width:1024px) {
	.bricks-wrapper .brick {
		padding: 0 18px;
	}	
	.bricks2 .brick {
		padding: 0 18px;
	}

}
@media only screen and (max-width:960px) {
	.bricks-wrapper .grid-sizer,
	.bricks-wrapper .brick {
		width: 50%;
	}
	.bricks-wrapper .brick:nth-of-type(2) {margin-top:0;}

	.bricks-wrapper .featured-grid {
		width: 100%;
	}	
	
	.bricks2 .grid-sizer,
	.bricks2 .brick {
		width: 50%;
	}
	.bricks2 .brick:nth-of-type(2) {margin-top:0;}

	.bricks2 .featured-grid {
		width: 100%;
	}
}
@media only screen and (max-width:768px) {
	.bricks-wrapper .brick {
		padding: 0 15px;
	}
	
	.bricks2 .brick {
		padding: 0 15px;
	}

}

@media only screen and (max-width:600px) {
	#bricks .row {
		max-width: 460px;
	}

	.bricks-wrapper .grid-sizer,
	.bricks-wrapper .brick {
		width: 100%;
		padding: 0 10px;
		clear: both;
	}
	.bricks2 .grid-sizer,
	.bricks2 .brick {
		width: 100%;
		padding: 0 10px;
		clear: both;
	}
}
@media only screen and (max-width:400px) {
	.bricks-wrapper .brick {
		width: 100% !important;
		float: none !important;
		clear: both !important;
		margin-left: 0;
		margin-right: 0;
		padding: 0;
	}	
	.bricks2 .brick {
		width: 100% !important;
		float: none !important;
		clear: both !important;
		margin-left: 0;
		margin-right: 0;
		padding: 0;
	}

}

/* -------------------------------------------------------------------
 * go to top
 * ------------------------------------------------------------------- */
#go-top {
	position: fixed;
	bottom: 24px;
	right: 30px;
	z-index: 700;
	display: none;
}

#go-top a {
	text-decoration: none;
	border: 0 none;
	display: block;
	height: 63px;
	width: 60px;
	line-height: 63px;
	text-align: center;
	background: #b5b5b5;
	color: #555;
	text-align: center;
	text-transform: uppercase;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

#go-top a i {
	font-size: 24px;
	line-height: inherit;
}

#go-top a:visited {
	background: #b5b5b5;
	color: #555;
}

#go-top a:hover,
#go-top a:focus {
	background: #000000;
	color: #FFFFFF;
}

/* responsive:
 * go top
 * ------------------------------------------------------------------- */
@media only screen and (max-width:600px) {
	#go-top {
		bottom: 0;
		right: 0;
	}

}
