.og-grid {
	list-style: none;
	padding: 20px 0;
	margin: 0 auto;
	text-align: center;
	width: 100%;
}

.og-grid li {
	display: inline-block;
	/*padding: 10px 5px 0 5px;*/
	vertical-align: top;
	/*height: 250px;*/
	padding: 20px;
}

/*
.og-grid li img {
    height:250px;
    width:auto;
}*/
.grey-bg {
	background: #eee;
	padding-bottom: 150px;
}

.og-grid li>a,
.og-grid li>a img {
	border: none;
	outline: none;
	display: block;
	position: relative;
}

.og-grid li>a {
	/*padding: 20px;*/

}

.og-grid li>a img {
	box-shadow: 0px 0px 0px grey;
	-webkit-transition: box-shadow 0.25s;
}

.og-grid li>a:hover {
	background: #eee;
}

.og-grid li>a:hover img {
	box-shadow: 10px 10px 15px grey;
}

.og-grid li.og-expanded>a::after {
	top: auto;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-bottom-color: rgb(188, 189, 188);
	border-width: 20px;
	left: 50%;
	margin: -20px 0 0 -20px;
}

.og-expander {
	position: absolute;
	background: #fff;
	top: auto;
	left: 0;
	width: calc(100% + 100px);
	/*margin-top: 10px;*/
	padding-right: 50px;
	padding-left: 50px;
	margin-left: -50px;
	text-align: left;
	height: 0;
	overflow: hidden;
	margin-top: 20px;
	box-shadow: -1px 2px 15px 3px rgba(0, 0, 0, 0.3) inset;
}

.og-expander-inner {
	padding: 50px 30px;
	height: 100%;
}

.og-close {
	position: absolute;
	width: 40px;
	height: 40px;
	top: 20px;
	right: 70px;
	cursor: pointer;
}

.og-close::before,
.og-close::after {
	content: '';
	position: absolute;
	width: 100%;
	top: 50%;
	height: 1px;
	background: #888;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	transform: rotate(45deg);
}

.og-close::after {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.og-close:hover::before,
.og-close:hover::after {
	background: #333;
}

.og-fullimg,
.og-details {
	float: left;
	height: 100%;
	overflow: hidden;
	position: relative;
}

.og-fullimg {
	width: 40%;
}

.og-details {
	width: 60%;
}

.og-details {
	padding: 0 40px 0 20px;
}

.og-details h3,
.og-details h4,
.og-details hr {
	color: #009595;
}

.og-details hr {
	border-top: 2px solid;
}

.og-fullimg {
	text-align: center;
}

.og-fullimg img {
	display: inline-block;
	max-height: 100%;
	max-width: 100%;
}

.og-details h3 {
	font-weight: 300;
	font-size: 52px;
	padding: 40px 0 10px;
	margin-bottom: 10px;
}

.og-details p {
	font-weight: 400;
	font-size: 16px;
	line-height: 22px;
	color: #999;
}

.og-details a {
	font-weight: 700;
	font-size: 16px;
	color: #333;
	text-transform: uppercase;
	letter-spacing: 2px;
	padding: 10px 20px;
	border: 3px solid #333;
	display: inline-block;
	margin: 30px 0 0;
	outline: none;
}

.og-details a::before {
	content: '\2192';
	display: inline-block;
	margin-right: 10px;
}

.og-details a:hover {
	border-color: #999;
	color: #999;
}

.og-loading {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #ddd;
	box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ccc;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -25px 0 0 -25px;
	-webkit-animation: loader 0.5s infinite ease-in-out both;
	-moz-animation: loader 0.5s infinite ease-in-out both;
	animation: loader 0.5s infinite ease-in-out both;
}

@-webkit-keyframes loader {
	0% {
		background: #ddd;
	}

	33% {
		background: #ccc;
		box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ddd;
	}

	66% {
		background: #ccc;
		box-shadow: 0 0 1px #ccc, 15px 30px 1px #ddd, -15px 30px 1px #ccc;
	}
}

@-moz-keyframes loader {
	0% {
		background: #ddd;
	}

	33% {
		background: #ccc;
		box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ddd;
	}

	66% {
		background: #ccc;
		box-shadow: 0 0 1px #ccc, 15px 30px 1px #ddd, -15px 30px 1px #ccc;
	}
}

@keyframes loader {
	0% {
		background: #ddd;
	}

	33% {
		background: #ccc;
		box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ddd;
	}

	66% {
		background: #ccc;
		box-shadow: 0 0 1px #ccc, 15px 30px 1px #ddd, -15px 30px 1px #ccc;
	}
}


/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
	.og-grid li {
		width: 49%;
	}
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.og-grid li {
		width: 32%;
	}
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.og-grid li {
		width: 24.5%;
	}
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	.og-grid li {
		width: 19%;
	}
}


@media screen and (max-width: 991px) {

	.og-expander h3 {
		font-size: 32px;
	}

	.og-expander p {
		font-size: 16px;
	}

	.og-expander a {
		font-size: 16px;
	}

	.og-fullimg {
		display: none;
	}

	.og-details {
		float: none;
		width: 100%;
	}
}

@media screen and (max-width: 767px) {

	.og-fullimg {
		display: none;
	}

	.og-details {
		float: none;
		width: 100%;
	}

}

@media (max-width: 575px) {
	.og-grid li {
		width: 49%;
	}
}


/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
	.og-grid li {
		width: 49%;
	}
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.og-grid li {
		width: 32%;
	}
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.og-grid li {
		width: 24.5%;
	}
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	.og-grid li {
		width: 19%;
	}
}

.og-wrapper {
	position: relative;
	border-style: solid;
	border-width: 1px;
	border-color: red;
}

.og-overlay {
	position: absolute;
	background-color: rgba(0, 149, 149, 0.34);
	/*dim the background*/
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: black;
	text-align: center;
	z-index: 100;
	opacity: 0;
	-webkit-transition: opacity 0.5s;
}

.og-overlay:hover {
	opacity: 1;
}

.og-overlay span {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.og-overlay span h3 {
	color: #fff;
	text-transform: uppercase;
	font-size: min(max(1rem, 3.5vw), 19px);
}

.dont-break-out {

	/* These are technically the same, but use both */
	overflow-wrap: break-word;
	word-wrap: break-word;

	-ms-word-break: break-all;
	/* This is the dangerous one in WebKit, as it breaks things wherever */
	word-break: break-all;
	/* Instead use this non-standard one: */
	word-break: break-word;

	/* Adds a hyphen where the word breaks, if supported (No Blink) */
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;

}