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

.og-grid li {
	display: inline-block;
	padding: 5px 5px 5px 5px;
	vertical-align: top;
	/*height: 100px;*/
}

.og-grid li:hover{
	padding: 10px 0 0 10px;
}

@media (max-width: 300px) {
	.og-grid > li {
		width: 100%;
	}
}

@media (min-width: 300px) {
	.og-grid > li {
		width: 50%;
	}
}

@media (min-width: 600px) {
	.og-grid > li {
		width: 33.3%;
	}
}

@media (min-width: 900px) {
	.og-grid > li {
		width: 25%;
	}
}

@media (min-width: 1200px) {
	.og-grid > li {
		width: 20%;
	}
}

@media (min-width: 1500px) {
	.og-grid > li {
		width: 16.6%;
	}
}

@media (min-width: 1800px) {
	.og-grid > li {
		width: 14.2%;
	}
}

@media (min-width: 2100px) {
	.og-grid > li {
		width: 12.5%;
	}
}

@media (min-width: 2400px) {
	.og-grid > li {
		width: 11.11%;
	}
}

@media (min-width: 2700px) {
	.og-grid > li {
		width: 10%;
	}
}

.og-grid li > a,
.og-grid li > a img {
	border: none;
	outline: none;
	display: block;
	position: relative;
	/*height: 100px;*/
	width: 100%;
}

.og-grid li > a{
	box-shadow: 5px 5px 5px #7C7C7C;
}

.og-grid li > a:hover{
	box-shadow: 0 0 0 #FFF;
}

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

.og-expander {
	position: absolute;
	background: #B6B6B6;
	top: auto;
	left: 0;
	width: 100%;
	margin-top: 10px;
	text-align: left;
	height: 0;
	overflow: hidden;
}

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

.og-close {
	position: absolute;
	width: 30px;
	height: 30px;
	top: 10px;
	right: 10px;
	cursor: pointer;
	z-index: 1000;
}

.og-close::before,
.og-close::after {
	content: '';
	position: absolute;
	width: 95%;
	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-previous {
	position: absolute;
	width: 40px;
	height: 65px;
	top: 50%;
	left: 10px;
	cursor: pointer;
	z-index: 1000;
}

.og-previous::before,
.og-previous::after {
	box-shadow: 1px -1px 1px white;
    border-right: 2px solid;
    content: '';
    display: block;
    height: 33px;
    margin-top: -24px;
    position: absolute;
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    left: 18px;
    top: 50%;
    width: 0;
}

.og-previous::after {
    margin-top: -1px;
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}

.og-next {
	position: absolute;
	width: 40px;
	height: 65px;
	top: 50%;
	right: 10px;
	cursor: pointer;
	z-index: 1000;
}

.og-next::before,
.og-next::after {
	box-shadow: 1px 1px 1px white;
    border-right: 2px solid;
    content: '';
    display: block;
    height: 33px;
    margin-top: -24px;
    position: absolute;
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
    right: 18px;
    top: 50%;
    width: 0;
}

.og-next::after {
    margin-top: -1px;
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.og-fullimg,
.og-details {
	width: 50%;
	float: left;
	height: 100%;
	overflow: hidden;
	position: relative;
	/*padding-left: 20px;*/
}

.og-details {
	padding: 5px;
}

.border tr {
	border-bottom: 1px solid black;
}

.og-fullimg {
	text-align: center;
	padding: 10px;
}

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

.og-details h3 {
	font-weight: bold;
	font-size: 24px;
	padding-left: 15px;
	/*padding: 40px 0 10px;*/
	/*margin-bottom: 10px;*/
}

.og-details h4 {
	font-weight: bold;
	font-size: 20px;
	padding-left: 15px;
	font-style: italic;
	/*padding: 40px 0 10px;*/
	/*margin-bottom: 10px;*/
}

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

/*.og-details a.og-href {
	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.accordion-toggle {
	font-size: 14px;
}

.nav-tabs > li > .tab {
	box-shadow: 0px 0px 0px;
	font-size: 14px;
	color: #000000 !important;
}

.nav-tabs > .active > a, .nav-tabs > .active > a:hover, .nav-tabs > .active > a:focus {
	cursor: default;
	background-color: #B6B6B6 !important;
	border: 1px solid #000 !important;
	/*border: 1px #A0A0A0 !important;*/
	border-bottom-color: transparent !important;
}

.nav > li > a:hover, .nav > li > a:focus {
	background-color: #B6B6B6 !important;
	border: 1px solid #000 !important;
	border-bottom-color: transparent !important;
}

.nav-tabs {
	border-bottom: 1px solid #000 !important;
}

.nav {
	margin-bottom: 0px !important;
}

.tab-content {
	background-color: #B6B6B6 !important;
}

.tab-pane {
	margin: 20px;
}

/*.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%; }
	
}
