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

.og-grid li {
	display: inline-block;
	margin: 30px 50px 0px 0px; /* top right bottom left */
	vertical-align: top;
	height: ;
}
.og-grid li:nth-last-child(1) {
	margin: 30px 0px 0px 0px;
}

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

.og-grid li.og-expanded > a::after {
	
	border: solid transparent;
	content: " ";
	/*height: 0;
	width: 0;*/
	position: absolute;
	pointer-events: none;
	border-bottom-color: #ddd;
	border-width: 5px;
	top: auto;
	left: 50%;
	margin: -10px 0 0 0px;
}

.og-expander {
	position: absolute;
	background: #fff;/**/
	border:11px solid #f2eeea;
	width:80%; /* width: 95%; 720px */
	top:30%; /* top: auto; */
	left:10%;/**/
	
    margin:0 auto;
	/*margin-top: -350px;*/
	z-index:1;
	text-align: center; /* left */
	height:100px;  	/*height: 80%; height: 540px;*/
	/*overflow: hidden;*/
}

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

.og-close {
	position: absolute;
	width: 40px;
	height: 40px;
	top: 30px;
	right: 30px;
	cursor: pointer;
	z-index:1;
}
.og-more {
	position: absolute;
	width: 40px;
	height: 40px;
	bottom: 20px;
	
	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 {
	width:100%; /* 90%*/
  /*	float: left;*/
  text-align:center;
  margin: 0 auto;
	/*height: 100%;*/
	overflow: hidden;
	position: relative;
}

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

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

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

.og-details h3 {
	/*font-weight: 800;
	font-size: 20px;
	padding: 40px 0 10px;
	margin-bottom: 10px;*/
}

.og-details p {
	font-weight: 400;
	font-size: 16px;
	line-height: 22px;
	color: #4b4b4b;
	/*padding-left:20px;*/
	padding-top:20px;
}

.og-details a {

}

.og-details a::before {

}

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

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

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

}

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

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


@media only screen and (min-width: 320px) and (max-width: 479px) {

	.og-expander {
		left: 0px;
		width: 100%;
	}
	.og-expander-inner {
		padding: 10px 10px;
		height: 100%;
	}


}