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

.og-grid li {
	display: inline-block;
	margin: 0;
	vertical-align: top;
    width: 33%;
	height: 600px;
}

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

.og-grid li > span.alternate img,
.og-grid li > a img {
    max-width: 600px;
    max-height: 600px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.og-grid li > a .product-text,
.og-grid li > span.alternate .product-text{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 80px 60px;
    color: rgba(237,215,154,0.6);
    background-color: transparent;
    -webkit-transition: background-color 1000ms linear;
    -moz-transition: background-color 1000ms linear;
    -o-transition: background-color 1000ms linear;
    -ms-transition: background-color 1000ms linear;
    transition: background-color 1000ms linear;
}

.og-grid li > a:hover .product-text,
.og-grid li > span.alternate:hover .product-text{
    color: #edd79a;
    background-color: rgba(0,0,0,0.8);
}

.product-text .product-name{
    display: block;
    font-size: 70px;
    font-family: "Mrs Saint Delafield",cursive;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 80px;
}

.product-text .product-link{
    display: none;
    color: #fdf6db;
    padding: 54px 0 10px 0;
    background: url(../images/product-link-top.png) no-repeat center top,
                url(../images/product-link-bottom.png) no-repeat center bottom;
}

.og-grid li > a:hover .product-link{
    display: block;
}

.og-grid li.og-expanded{
    height: 1040px;
}

.og-expander {
    display: none;
	position: absolute;
	background: #1d1d1d;
    color: #fdf6db;
	top: auto;
	left: 0;
	width: 100%;
	text-align: left;
	height: 440px;
	overflow: hidden;
    border-top: 1px solid #4b473c;
    border-bottom: 1px solid #4b473c;
}

/*.og-grid li.og-expanded .og-expander{
    display: block;
}*/

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

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

.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;
}

.og-fullimg{width: 66%;}
.og-details{width: 33%;}

.og-details {
    padding: 50px 20px;
}

.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: 64px;
	padding: 60px 0 10px;
	margin-bottom: 20px;
    color: #fdf6db;
    text-align: center;
    background: transparent url(../images/history-slider-link-85pct.png) no-repeat center bottom;
}

.og-details p {
	font-weight: 400;
	font-size: 12px;
	line-height: 22px;
	color: #fdf6db;
    text-align: center;
}

.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;
}


@media (min-width: 1500px) { /* medium - desktops */
    
    .og-grid li > a .product-text{padding: 140px 30px;}
    .product-text .product-name{margin-bottom: 70px;}
    .og-grid li {width: 33%;height: 600px;}
    .og-grid li.og-expanded{height: 1040px;}
    
}

@media (min-width: 1280px) and (max-width: 1499px) { /* medium - desktops */
    
    .og-grid li > a .product-text{padding: 110px 30px;}
    .product-text .product-name{margin-bottom: 70px;}
    .og-grid li {width: 33%;height: 430px;}
    .og-grid li.og-expanded{height: 870px;}
    
}

@media (min-width: 1170px) and (max-width: 1279px) { /* medium - desktops */
    
    .og-grid li > a .product-text{padding: 80px 30px;}
    .product-text .product-name{margin-bottom: 60px;}
    .og-grid li {width: 33%;height: 380px;}
    .og-grid li.og-expanded{height: 820px;}
    
}

@media (min-width: 992px) and (max-width: 1169px) { /* medium - desktops */
    
    .og-grid li > a .product-text{padding: 80px 30px;}
    .product-text .product-name{margin-bottom: 50px;}
    .og-grid li {width: 33%;height: 340px;}
    .og-grid li.og-expanded{height: 780px;}
    
}

@media (min-width: 768px) and (max-width: 991px) { /* small - tablets */
    
    .og-grid li {width: 50%;height: 600px;}
    .og-grid li > a .product-text{padding: 80px 30px;}
    .product-text .product-name{font-size: 56px;margin-bottom: 50px;}
    .og-fullimg{width: 33%;}
    .og-details{width: 66%;}
    
}

@media (max-width: 767px) { /* extra small - smartphones */
    
    .og-grid li {width: 100%;height: 600px;}
    .og-grid li > a .product-text{padding: 80px 30px;}
    .product-text .product-name{font-size: 42px;margin-bottom: 50px;}
    .og-fullimg{display: none;}
    .og-details{width: 100%;}
    
}