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

.og-grid li {
	display: inline-block;
	/*margin: 10px 5px 0 5px;*/
	margin: 70px 5px 0 5px;
	vertical-align: top;
	height: 390px; /*250px*/
	
	width: 310px; /*316px*/
/*	float: left;*/
	
	margin-bottom: 10px;
}

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


.og-grid li > a {
 /*   height: 400px;*/
	
	position: relative;
	z-index:1;
}


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

.og-expander {
	position: absolute;
/*	background: #ddd;*/

	
	
	/*background:url(../img/fonthumb.png) repeat;
*/
	
	
	
	
	top: auto;
	left: 0;
	
	
	
	width: 100%;
	
	
	
	margin-top: 10px;
	text-align: left;
	height: 0;
	overflow: hidden;
	
	z-index:500;
}

.og-expander-inner {
	padding: 50px 30px;
	height: 100%;
	width: 980px;
	background: #f3efe4;
}

.og-close {
	position: absolute;
	width: 40px;
	height: 40px;
	top: 10px;
/*	right: 20px;*/
	cursor: pointer;
	
	right: 50%;
	margin-right: -480px;
}

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

.og-details {
	padding: 0 40px 0 20px;
	float: right;
	
	/*background:url(../img/oblpasp.png) left 90% no-repeat;*/

}


.og-details form {
    /*position: absolute;*/
    z-index: 2;
    bottom: 0;
}



.og-details form p {
	    display: inline;
    float: right;
    overflow:hidden;
	
	font-size: 28px;
	color: #b6814c;
	font-family: mach_oc;
	   width: 225px;
    height: 34px;
	text-align: center;
	margin-bottom: 20px;
}

.og-details form .inp {
    display: inline;
	float: right;
	overflow:hidden;
	width: 225px;
	height: 34px;
	
	background:url(../img/inp.png) no-repeat;
	
	   margin-bottom: 20px;
}

.og-details form .inp input {
    display: inline;
    float: right;
    overflow:hidden;
    width: 219px;
    height: 30px;
	
	margin: 2px 3px 2px 3px;
    
    background: transparent;
	font-size: 18px;
	font-style: italic;
	border: 0;
	color: #ea7400;
}


.og-details form .zakbut {
	    display: inline;
    float: right;
    overflow: visible;
    width: 225px;
    height: 80px;
	
	color: #fff;
	background: #c8d7b9;
	text-align: center;
	font-size: 28px;
	
	
	font-family:TelluralAlt;
	
	    position: relative;
    z-index: 4;
    -webkit-box-shadow: 4px 4px 6px #4c4c4c;
    -moz-box-shadow: 4px 4px 6px #4c4c4c;
    -khtml-box-shadow: 4px 4px 6px #4c4c4c;
    box-shadow: 4px 4px 6px #4c4c4c;
    box-shadow: 4px 4px 6px #4c4c4c\9;
    behavior: url(js/PIE.htc);
	
	
	    position: relative;
    z-index: 5;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -khtml-border-radius: 10px;
    border-radius: 10px;
    behavior: url(js/PIE.htc);
	
	border: 0;
}

.og-details form .zakbut:hover {
	background: #0d7200;
	cursor: pointer;
}







.og-fullimg {
	text-align: center;
	
	width: 425px;
	/*height: 283px;*/
	height: 250px;
	overflow: hidden;
	position: absolute;
	z-index: 5;
}


.og-fullimg2,
.og-fullimg3,
.og-fullimg4,
.og-fullimg5 {
    text-align: center;
    
    width: 100px;
    height: 85px;
    overflow: hidden;
	display: inline;
	float: left;
	margin-top: 230px;
	margin-left: 5px;
}




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


.og-fullimg2 img,
.og-fullimg3 img,
.og-fullimg4 img,
.og-fullimg5 img {
    display: inline-block;
/*  max-height: 100%;*/
    max-width: 100%;
}







.og-details h3 {
	font-weight: 300;
	font-size: 52px;
	padding: 0px 0 10px;
	margin-bottom: 10px;
	
	color: #ea7400;
	text-align: center;
	font-size: 29px;
	font-family:TelluralAlt;
	font-weight: bolder;
}

.og-details p {
	font-weight: 400;
	font-size: 13px;
	line-height: 1.4;
	color: #646464;
	
	 font-family: Tahoma, sans-serif;
}

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

@-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: 32px; }
	.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%; }
	
}