.og-grid, .og-grid2 {
	list-style: none;
	padding: 0 0 20px 0;
	margin: 0 auto;
	text-align: center;
	width:980px;
	clear:both;
}

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

.og-grid li > a, .og-grid2 li > a {
	border: 1px solid #d7d7d7;
	outline: none;
	display: block;
	position: relative;
	width:230px;
	height:250px;
	background-color:#FFF;
	vertical-align:middle;
}

.og-grid li > a img, .og-grid2 li > a img {
	outline: none;
	display: inline-block;
	position: relative;
	vertical-align:middle;
	top:15%;
}

.og-grid li.og-expanded > a::after, .og-grid2 li.og-expanded2 > a::after {
	top: auto;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	/*border-bottom-color: #ddd;*/
	border-width: 30px;
	left: 32%;
	margin: 216px 0 0 0;
	background:url(images/thumbnail-arrow.png) no-repeat;
}

.og-expander, .og-expander2 {
	position: absolute;
	/*background: #ddd;*/
	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAIklEQVQIW2NkQAJnz56dyQjjgzjGxsbpYAEYB8RmROaABADfyw8Fr8GeUQAAAABJRU5ErkJggg==) repeat;
	top: auto;
	left: 0;
	width: 100%;
	min-width:980px;
	margin-top: 10px;
	text-align: left;
	height: 0;
	overflow: hidden;
}

.og-expander-inner, .og-expander-inner2 {
	/*padding: 50px 30px;*/
	height: 100%;
	width:980px;
	margin:0 auto;
}

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

.og-close::before,
.og-close::after,
.og-close2::before,
.og-close2::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, .og-close2::after {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

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

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

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

.og-details, .og-details2 {
	width: 28%;
	float: right;
	height: 100%;
	overflow: hidden;
	position: relative;
	padding: 0 0 0 0;
}

.og-details h3, .og-details2 h3 {
	font-weight: 700;
	font-size: 52px;
	padding: 40px 0 10px;
	margin-bottom: 10px;
	color:#333;
}

.og-details p, .og-details2 p {
	font-weight: 400;
	font-size: 18px;
	line-height: 24px;
	color: #333;
}

.og-details a, .og-details2 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;
	display:none;
}

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

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

.og-loading, .og-loading2 {
	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; }
}