.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: deeppink; /* The small arrow that points to the image. */
	border-width: 15px;
	left: 50%;
	margin: -20px 0 0 -15px;
}



/* This is the box that expands
.og-expander {
	position: absolute;
	background: #ffffff;
	top: auto;
	left: 0;
	width: 100%;
	margin-top: 10px;
	text-align: left;
	height: 0;
	overflow: auto;
}

.og-expander-inner {
	padding: 5px 3px;
	height: 100%;
    overflow: auto;
}

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

.og-close::before,
.og-close::after {
	content: '';
	position: absolute;
	width: 100%;
	top: 50%;
	height: 1px;
	background: #eeeeee;
	-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: #eeeeee;
}

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

.og-details {
	padding: 0 10px 0 5px;
}

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

.og-fullimg img {
	display: inline-block;
	max-height: 95%;
	max-width: 95%;
    vertical-align: middle;
    padding: 10px 0 0 0;
}

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

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

.og-details a {
	font-weight: 700;
	font-size: 16px;
	color: #333;
	text-transform: uppercase;
	letter-spacing: 2px;
	padding: 1px 2px;
	border: 0px solid #444;
	display: inline-block;
	margin: 3px 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;
}
*/


/* This is a animation that comes up while the image is loading
.og-loading {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #eeeeee;
	box-shadow: 0 0 1px #eeeeee, 15px 30px 1px #eeeeee, -15px 30px 1px #eeeeee;
	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: #ffffff; }
	33% { background: #ffffff; box-shadow: 0 0 1px #ffffff, 15px 30px 1px #ffffff, -15px 30px 1px #ffffff; }
	66% { background: #ffffff; box-shadow: 0 0 1px #ffffff, 15px 30px 1px #ffffff, -15px 30px 1px #ffffff; }
}

@-moz-keyframes loader {
	0% { background: #ffffff; }
	33% { background: #ffffff; box-shadow: 0 0 1px #ffffff, 15px 30px 1px #ffffff, -15px 30px 1px #ffffff; }
	66% { background: #ffffff; box-shadow: 0 0 1px #ffffff, 15px 30px 1px #ffffff, -15px 30px 1px #ffffff; }
}

@keyframes loader {
	0% { background: #ffffff; }
	33% { background: #ffffff; box-shadow: 0 0 1px #ffffff, 15px 30px 1px #ffffff, -15px 30px 1px #ffffff; }
	66% { background: #ffffff; box-shadow: 0 0 1px #ffffff, 15px 30px 1px #ffffff, -15px 30px 1px #ffffff; }
}

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

	.og-expander h3 { font-size: 32px; }
	.og-expander p { font-size: 13px; }
	.og-expander a { font-size: 12px; }

}

*/

/*
@media screen and (max-width: 650px) {
*/
	/*.og-fullimg { display: none; }*/
/*
    .og-fullimg { float: none; width: 90%; height: 40%;position: relative;}
	.og-details { float: none; width: 90%; height: 40%;position: relative; margin-top: -20px;}
    .og-expander h3 { font-size: 18px; padding: 0 5px 0 5px;}
}
*/