.og-grid {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	text-align: center;
	width: 100%;
	position:relative;
}

.og-grid li {
	display: inline-block;
	vertical-align: top;
	/*width:24.75%;*/
	width:33%;
	margin-bottom:.2em;
}
.og-details h5{ color:#fff; font-size:20px;}

.og-grid li > a,
.og-grid li > a img {
	border: none;
	outline: none;
	display: block;
	position: relative;
	width:100%;
	height:auto;
	
	-webkit-transition:all .3s;
	transition:all .3s;
}
.og-grid li > a img {
	
}
.og-grid li > a img:hover{
	/*-webkit-transform:scale(1.05);
	transform:scale(1.05);*/
	z-index:999;
	position:relative;
}



.og-grid li > a img:hover{
        -webkit-animation: swing 1s ease;
        animation: swing 1s ease;
        -webkit-animation-iteration-count: 1;
        animation-iteration-count: 1;
}



@-webkit-keyframes swing
{
    15%
    {
        -webkit-transform: translateX(5px);
        transform: translateX(5px);
    }
    30%
    {
        -webkit-transform: translateX(-5px);
       transform: translateX(-5px);
    } 
    50%
    {
        -webkit-transform: translateX(3px);
        transform: translateX(3px);
    }
    65%
    {
        -webkit-transform: translateX(-3px);
        transform: translateX(-3px);
    }
    80%
    {
        -webkit-transform: translateX(2px);
        transform: translateX(2px);
    }
    100%
    {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}
@keyframes swing
{
    15%
    {
        -webkit-transform: translateX(5px);
        transform: translateX(5px);
    }
    30%
    {
        -webkit-transform: translateX(-5px);
        transform: translateX(-5px);
    }
    50%
    {
        -webkit-transform: translateX(3px);
        transform: translateX(3px);
    }
    65%
    {
        -webkit-transform: translateX(-3px);
        transform: translateX(-3px);
    }
    80%
    {
        -webkit-transform: translateX(2px);
        transform: translateX(2px);
    }
    100%
    {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}




/*.og-grid .overlay{
	width:100%;
	height:100%;
	position:absolute;
	z-index:99;
}
.og-grid{
	overflow:hidden !important;
}
.og-grid .count{
	color: rgba(255,255,255,0.12);
    font-size: 15vh;
    line-height: 14vh;
    position: absolute;
    z-index: 999;
    left: 50%;
    top: 50%;
	-moz-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    font-family: 'robotoblack';
	-webkit-transition:all .3s linear;
	-moz-transition:all .3s linear;
	transition:all .3s linear;
	-moz-transform-origin: top left;
	-webkit-transform-origin: top left;
	transform-origin: top left;
}
.og-grid li:hover .count{
	-moz-transform: scale(3) translate(-50%, -50%);
	-webkit-transform: scale(3) translate(-50%, -50%);
    transform: scale(3) translate(-50%, -50%);
	
	color: rgba(255,255,255,0.25);
	
}*/







.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: #f92323;
	border-width: 15px;
	left: 50%;
	margin: -20px 0 0 -15px;
	z-index:999;
}

.og-expander {
	position: absolute;
	background: #f92323;
	top: auto;
	left: 0;
	width: 100%;
	margin-top: 10px;
	text-align: left;
	height: 0;
	overflow: hidden;
}

.og-expander-inner {
	padding: 30px 20px;
	height: 100%;
}

.og-close {
	position: absolute;
	width: 30px;
	height: 30px;
	top: 20px;
	right: 20px;
	cursor: pointer;
	z-index:999;
}

.og-close::before,
.og-close::after {
	content: '';
	position: absolute;
	width: 100%;
	top: 50%;
	height: 1px;
	background: #ffffff;
	-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: #ffffff;
}

.og-fullimg,
.og-details {
	width: 50%;
	float: left;
	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: 300;
	font-size:2.5em;
	padding: 20px 0 10px;
	margin-bottom: 10px;
	color:#ffffff;
}

.og-details p {
	font-weight: 400;
	font-size: 16px;
	line-height: 22px;
	color: #fb9191 !important;
}

.og-details a {
	font-weight: 700;
	font-size: .9em;
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: 2px;
	padding: 12px 20px;
	border: 1px solid #ffffff;
	display: inline-block;
	margin: 15px 0 0;
	outline: none;
	text-decoration:none !important;
	
	-moz-transition: all .7s;
	-o-transition: all .7s;
	-ms-transition: all .7s;
	-webkit-transition: all .7s;
	transition: all .7s;
}

.og-details a::before {
	content: '\2192';
	display: inline-block;
	margin-right: 10px;
}

.og-details a:hover {
	color: #f92323;
	background:#ffffff;
}

.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 (max-width: 1200px) {
	.og-details h3{
		font-size: 2em;
	}
	.inner-content-block .content-box p{
		line-height: 1.3em;
	}
	.og-details h3{
		padding:0;
	}
	.og-details a{
		margin: 5px 0 0;
	}
}
@media (max-width: 992px) {
	.og-grid li {
	width:33%;
	margin-bottom:.2em;
}
}
@media (max-width: 680px) {
	.og-grid li {
	width:49.5%;
	margin-bottom:.2em;
}

}
@media (max-width: 380px) {
	.og-grid li {
	width:99.85%;
	margin-bottom:.25em;
}
}

@media screen and (max-width: 830px) {

	.og-expander h3 { font-size: 32px; }
	.og-expander p { font-size: 13px; }
	.og-expander a { font-size: 12px; }
	
	.og-expander h3 {
		font-size: 24px;
	}

}
@media screen and (max-width: 767px) {
.og-details h5{ font-size:16px;}
}
@media screen and (max-width: 650px) {

	.og-fullimg { display: none; }
	.og-details { float: none; width: 100%; }
	.og-expander h3 {
    font-size: 26px;
}
.og-expander p {
    font-size: 1.1em !important;
}
.og-details a{
	padding: 9px 15px;
}

	
}
@media (max-width: 380px) {
	.og-details {
	  padding: 0 12px 0 12px;
	}
	.og-expander h3 {
		font-size: 24px;
	}
	.og-close{
		width:20px;
		height:20px;
		top: 12px;
    right: 12px;
	}
}