.og-grid {
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: center;
	width: 80%;
	margin: auto;
	min-height: 16vw;
}

.og-grid li {
	display: inline-block;
	margin: 0;
	padding: 0;
	vertical-align: top;
	/*height: 10vw;
	width: 10vw;*/
	/*width: 15.7vw;*/
	margin: 2px 0;
}

li.agripreneurs {
	/*width: 19%;*/
}

#filters {
	width: 80%;
	margin: auto;
	margin-bottom: 10px;
}

#agripreneurs-test .og-grid li {
	width: 251px;
	height: 251px;
}

.ideas .og-grid li:nth-child(1), 
.ideas .og-grid li:nth-child(4),
.ideas .og-grid li:nth-child(9), 
.ideas .og-grid li:nth-child(12)  {
	background-color: #7fca9f;
}
.ideas .og-grid li:nth-child(2), 
.ideas .og-grid li:nth-child(5), 
.ideas .og-grid li:nth-child(7), 
.ideas .og-grid li:nth-child(10) {
	background-color: #2ea962;
}
.ideas .og-grid li:nth-child(3), 
.ideas .og-grid li:nth-child(6), 
.ideas .og-grid li:nth-child(8), 
.ideas .og-grid li:nth-child(11) {
	background-color: #009640;
}

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

.ideas .og-grid li > a,
.ideas .og-grid li > a img {
	margin: auto;
}

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

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

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

@media screen and (max-width: 767px) {
	.og-expander {
		left: 10px;
		right: 10px;
		width: auto;
		margin-top: -1px;
	}

	.og-expander-inner {
		padding: 70px 0 90px;
	}
}

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

.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: #333;
}

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

.og-details {
	padding: 0 40px 0 20px;
	overflow-y: auto;
}

.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: 52px;
	padding: 40px 0 10px;
	margin-bottom: 10px;
}

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

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

#competition-ideas .container-fluid, #competition-ideas .container {
	padding-left: 0;
	padding-right: 0;
}
#competition-ideas .col-sm-12 {
	width: auto;
}

.element-item-open {
  position: initial !important;
  top: 0 !important;
  left: 0 !important;
}

.og-grid .avatar {
	width: 100% !important;
	height: 100% !important;
}

.grid-item-info {
    color: white !important;
    /*background-color: rgba(128,128,128, 0.6);*/
    background: none;
    text-align: center;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
}
.grid-item-info p {
    color: white !important;
    margin-bottom: 2px;
    font-size: 1.2vw !important;
    background-color: rgba(128,128,128, 0.6);
}

.grid_overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0,128,0);
  background-color: rgba(0,128,0, 0.8) !important;
  overflow: hidden;
  width: 0;
  height: 100%;
  transition: .5s ease;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.element-item:hover .grid_overlay, .element-item-open:hover .grid_overlay {
  width: 100%;
}
.grid_overlay p {
  color: white !important;
  font-size: 1vw !important;
  margin-bottom: 5px;
}


@-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 (max-width: 991px) {

	.og-grid li {
		height: 20vw;
		width: 20vw;
	}
}
@media (max-width: 480px) {

	.og-grid {
		width: 100%;
	}
	.og-grid li {
		height: 60vw;
		width: 60vw;
	}
	.grid_overlay p {
		font-size: 6.5vw !important;
	}
	.overlay .text {
		width: 90%;
	}
}