/** LIST **/
.post {
	display: block;
	margin: 30px 0px 0px 0px;
	padding: 30px 0px 0px 0px;
}

.post .image {
	display: block;
	float: left;
	width: 250px;
	padding: 10px;
}

.post .image img {
	max-width: 100%;
	height: auto;
}

.post .text-wrapper {
	display: block;
	margin: 0px 0px 0px 300px;
}

.post .text-wrapper .title {
	display: block;
	font-size: 1.5em;
}

.post .text-wrapper .text {
	display: block;
	margin: 10px 0px 20px 0px;
}

.post {
	border-top: 1px dotted #CCCCCC;
}

.post .image {
	border: 1px solid #CCCCCC;
}

.post .text-wrapper .title {
	color: #393A3A;
}

.post .text-wrapper .text {
	color: #777777;
}



/** POST **/
.blog-post-title {
	margin: 0px 0px 20px 0px;
	padding: 0px 0px 20px 0px;
}

.blog-image {
	max-width: 100%;
	height: auto;
}

.post-content {
	margin: 30px 0px;
}

.blog-post-title {
	border-bottom: 1px dotted #CCCCCC;
}



/** GALLERY **/
.ImageGallery {
	list-style: none;
	margin: 0px;
	padding: 20px 0px;
	display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
	text-align: center;
}

.ImageGallery li {
	display: block;
	background-color: #FF4040;
}

.ImageGallery li a {
	position: relative;
	display: block;
	padding: 75% 0px 0px 0px;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
}

.ImageGallery li a span {
	display: block;
	color: #FFFFFF;
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 0;
	right: 0;
	margin: -34px 0px 0px 0px;
	-webkit-opacity: 0;
	-moz-opacity: 0;
	opacity: 0;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	font-size: 16px;
}

.ImageGallery li a span i {
	display: block;
	font-size: 36px;
}

.ImageGallery li a:hover span {
	-webkit-opacity: 0;
	-moz-opacity: 0;
	opacity: 0;
}

.ImageGallery li a:after {
	content: '';
	position: absolute;
	z-index: 1;
	top: 50%;
	bottom: 50%;
	left: 50%;
	right: 50%;
	background-color: rgba(0,0,0,0.7);
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.ImageGallery li a:hover:after {
	top: 0%;
	bottom: 0%;
	left: 0%;
	right: 0%;
}

@media screen and (max-width:840px) {
	.ImageGallery {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width:660px) {
	.post .image {
		float: none;
		clear: both;
		width: 94%;
		padding: 3%;
		margin: 0px auto 20px auto;
		text-align: center;
	}

	.post .text-wrapper {
		clear: both;
		margin: 0px 0px 0px 0px;
	}

}

@media screen and (max-width:480px) {
	.ImageGallery {
		grid-template-columns: repeat(1, 1fr);
	}
}