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

.og-grid li {
	display: inline-block;
	margin: 4px 20px 0 20px;
	vertical-align: top;
	height: 360px;
}

.og-grid li > a,
.og-grid li > a img {
	border: none;
	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: rgba(51,51,51,1);
	border-width: 15px;
	left: 50%;
	margin: -20px 0 0 -15px;
	z-index:99;
}

.og-expander {
	position: absolute;
	background: rgba(51,51,51,1) repeat;
	top: auto;
	left: 0;
	width: 100%;
	margin: 10px 0px 10px 0px ;
	text-align: left;
	height: 0;
	overflow:visible;
}

.og-expander-inner {
	padding: 50px 30px;
	height: 100%;
	overflow: visible;
	
}

.og-close {
	position: absolute;
	width: 40px;
	height: 40px;
	top: 20px;
	right: 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: #aa388e;
}

.og-fullimg,
.og-details {
	float: left;
	height: 100%;
	overflow: visible;
	position: relative;
	min-height:90%;
}

.og-details {
	width:45%;
	padding: 0 40px 0 40px;
}

.og-fullimg {
	width:55%;
	text-align: center;
	padding: 0 20px 0 20px;
}

.og-details p li { 
	margin: 2px 0px 0px 28px;
	display:list-item !important;
	list-style-image: url(../images/award.png) !important;
	height:auto !important;
	padding: 0px 0px 0px 0px;
	background-repeat: no-repeat;
	background-position:top left !important;
	clear:both;
	text-indent:inherit;
}

.og-fullimg img{
	width:100%;
	max-width: 700px;
}
	
	
.og-details h3 {
	color:#aa388e;
	font-weight: 300;
	font-size: 44px;
	padding: 20px 0 0px;
	margin-bottom: 0px;
}

.og-details h4 {
	color:#f9f9f9;
	font-weight: 400;
	font-size: 22px;
	padding: 0px 0 10px;
	margin-bottom:0px;
	opacity:0.5;
}

.og-details p {
	font-family: 'Lato', Calibri, Arial, sans-serif;
	font-weight: 200;
	font-size: 17px;
	line-height: 22px;
	color: #dfdfdf;
}

.og-details a {
	font-weight: 700;
	font-size: 14px;
	color: #FFF;
	text-transform: uppercase;
	letter-spacing: 2px;
	padding: 10px;
	display: inline-block;
	margin: 40px 0 0;
	outline: none;
	background-color:#aa248f;
}


.og-details a:hover {
	background-color:#1caeb4;
	color: #FFF;
}

.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-expander-inner{ display: table; height:auto;}
	.og-fullimg {
		width:100%; height:auto; display:none; float:left; margin-top:20px;}
	.og-details {float:left; width:100%; display:table-header-group; margin:0px; padding:20px 0px 0px 20px;}
	.og-grid li {
	display: inline-block;
	margin: 10px 5px 0 5px;
	vertical-align: top;
	height: 360px;
	min-width:250px;
	}
}


/* TAGS */

.tags {
  list-style: none;
  margin: 10px 0px 40px 0px;
  overflow: hidden; 
  padding: 0px;
}

.tags li {
  float: left; 
  height: auto;
  margin:0px 10px 10px 0px;
}

.tag {
  background: #1caeb4;
  border-radius: 3px;
  color: #FFF;
  display: inline-block;
  height: 12px;
  line-height: 24px;
  font-size:12px;
  padding: 0 10px 0 18px;
  position: relative;
  margin: 0 10px 10px 0px;
  text-decoration: none;
  -webkit-transition: color 0.2s;
  opacity:0.8;
}

.tag::before {
  background: #fff;
  border-radius: 10px;
  box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
  content: '';
  height: 5px;
  left: 5px;
  position: absolute;
  width: 5px;
  top: 9px;
}




/* TESTE */

.og-grid figcaption {
	width:100%;
	top:0;
	margin:0;
	padding: 15px 4px 10px 10px;
	font-family: 'Lato', Calibri, Arial, sans-serif;
	background-color:rgba(58,58,58,1);
	text-align:left;
	width:250px;
	height:80px;
}

.og-grid figcaption h3 {
    position:relative;
	margin: 0px;
    padding: 0px;
    color: #FFF;
	font-size:14px;
	line-height:16px;
	font-weight: 200;
	width:230px;
	height:60%;
}


.og-grid figcaption span {
    position:relative;
	margin: 0px;
    padding: 0px 0px 0px 0px;
    color: #1caeb4;
	width:250px;
	font-size:14px;
	font-weight: 700;
	height:100%;
	
}

 