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

.og-grid li {
	display: inline-block;
    margin: 0;
    vertical-align: top;
    height: 23vw;
    width: 25vw;
    padding: 5px;
}

.og-grid li img {
	width: 100%;
}

.og-name {
	color: #ffffff;
    text-transform: uppercase;
    font-size: 80%;
    background-color: rgba(24,125,173,1);
    padding: 10px;
    margin-top: 20px;
}

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

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

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

.og-expander-inner {
	padding: 70px 10vw;
	height: 100%;
}

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

.og-close::before,
.og-close::after {
	content: '';
	position: absolute;
	width: 100%;
	top: 50%;
	height: 2px;
	background: #333;
	-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 {
	width: 50%;
	float: right;
	height: 100%;
	overflow: hidden;
	position: relative;
}

.og-details {
	width: 50%;
	float: left;
	height: 100%;
	overflow: hidden;
	position: relative;
}

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

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

.og-fullimg img {
	display: inline-block;
	max-height: 100%;
	max-width: 100%;
	border: 2px solid #ffffff;
	box-shadow: 0px 1px 3px rgba(51,51,51,0.25);
}

.og-details h2 {
    text-transform: uppercase;
    font-size: 200%;
    font-weight: 300;
    letter-spacing: 1px;
	text-shadow: 0px 1px 3px rgba(51,51,51,0.25);
    padding: 8px;
}

.og-details p {
	font-size: 14px;
	line-height: 22px;
	color: #333333;
    padding: 30px 8px 0 8px;
}

.og-details a {
	-webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    color: #ffffff;
    background: rgba(51,51,51,1);
    padding: 10px 20px;
    border: solid #ffffff 2px;
	font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.5s;
	box-shadow: 0px 1px 3px rgba(0,0,0,0.07);
	display: inline-block;
	margin: 30px 0 0;
	outline: none;
}

.og-details a::before {
	content: '\2192';
	display: inline-block;
	margin-right: 10px;
}

.og-details a:focus {
    background: rgba(24,125,173,0);
    color: #ffffff;
	outline: none;
}

.og-details a:hover {
    background: rgba(24,125,173,1);
    color: #ffffff;
	box-shadow: 0px 1px 6px rgba(0,0,0,0.5);
	text-decoration: none;
}

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

.thumbTitle {
    opacity: 0;
    letter-spacing: 1px;
    position: absolute;
    text-transform: uppercase;
    color: #ffffff;
	text-shadow: 0px 1px 3px rgba(51,51,51,0.25);
    z-index: 90;
    transition: all .3s ease;
    padding: 25px;
}

.project:hover .thumbTitle {
    opacity: 1;
    transition: 0.5s!important;
    transition: all .3s ease;
}

.project {
	width: 100%;
    position: relative;
	background-color: #092546;
    border: solid #ffffff 1.5px;
    box-shadow: 0px 1px 5px rgba(51, 51, 51, 0.35);
	overflow: hidden;
    transition: all .3s ease;
}

.project:hover {
	border: solid #83d5cc 1.5px;
    transition: all .3s ease;
}

.project img {
	opacity: 1;
	filter: alpha(opacity=100);
    transition: all .3s ease;
}

.project:hover img {
	opacity: 0.25;
	filter: alpha(opacity=40);
    transition: all .3s ease;
}


@-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%; }
	
}

@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 812px)
and (orientation: portrait) {

.og-grid li {
    height: 37vw;
    width: 40vw;
}
}