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

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

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

.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: #ebebeb;
	border-width: 15px;
	left: 50%;
	margin: -20px 0 0 -15px;
}

.og-expander {
	position: absolute;
	background: #ebebeb;
	top: auto;
	left: 0;
	width: 100%;
	margin-top: 10px;
	text-align: left;
	height: 0;
	overflow: hidden;
	z-index: 10000;
}

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

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

.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 {
	width: 50%;
	float: left;
	height: 100%;
	overflow: hidden;
	position: relative;
}

/* Expanded RIGHT */

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

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

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

/* Expanded section */

.og-details h3 {
	color: #009da0;
	font-size: 50px;
	font-weight: 300;
	margin: 50px 0 10px;
}

.og-details p {
	font-family: 'Open Sans', sans-serif;
	color: #666;
	font-size: 15px;
	line-height: 22px;
	font-weight: 400;
}

.og-details p strong {
	display: block;
	color: #333;
	font-size: 18px;
	margin: 15px 0 5px;
}

.og-details p em {
	display: block;
	font-family: 'Oswald', 'Open Sans', sans-serif;
	color: #009da0;
	font-size: 24px;
	line-height: 29px;
	font-style: normal;
	font-weight: 700;
	margin-bottom: 3px;
}

.og-details p sup {
	vertical-align: top !important;
	color: #888;
	font-size: 12px;
	line-height: 12px;
	font-weight: 100;
}

.og-details p span {
	color: #888;
	font-size: 10px;
	line-height: 24px;
}

.og-details p a {
	color: #666;
	text-decoration: underline;
	font-style: italic;
}

.og-details p hr {
	margin: 20px 0 0;
}

.og-details a.btn {
	background: #fff;
	padding: 15px 20px 10px;
	border: 3px solid #009da0;
	display: inline-block;
	margin: 30px 0 0;
	outline: none;
	color: #009da0;
	font-size: 18px;
	line-height: 18px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
}

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

.og-details a.btn:hover {
	background: #009da0;
	color: #fff;
}

.og-details a[href*='#'] {
	display: none;
}

a[href*='#'] + .og-expander img {
	margin-left: 20px;
}

.og-loading {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #ddd;
	-webkit-box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ccc;
	-moz-box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ccc;
	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; }
}

/* ================================================================================
	MEDIA QUERIES
================================================================================ */

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

	.og-expander-inner { padding-left: 30px; }

	.og-expander h3 { font-size: 32px; margin-top: 30px; }
	.og-expander p { font-size: 13px; }
	.og-details p em { font-size: 18px; line-height: 24px; margin-bottom: 0; }
	.og-expander a.btn { width: 100%; font-size: 20px; text-align: center; padding: 20px 20px 15px; }

}

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

	.og-fullimg { display: none; }
	
	.og-details {
		float: none;
		width: 100%;
	    padding: 0 20px !important;
	}

	.og-close {
		/* top: 40px; */
	}

}

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

	.og-expander-inner {
		padding: 40px 20px 50px;
	}
}