.cbp-af-header {
	margin-top:25px;
	width: 100%;
	background: #73C04A;
	z-index: 10000;
	line-height: 50px;
	overflow: hidden;
	-webkit-transition: height 0.3s;
	-moz-transition: height 0.3s;
	transition: height 0.3s;
	
	border-bottom:2px solid #008e39;
}

.cbp-af-header {
	background: #bdc0c0;
	border-bottom:2px solid #494A48;
}

.cbp-af-header .cbp-af-inner {
	width: 100%;
	max-width: 960px;;
	margin: 0 auto;
}
.cbp-af-header img{display:none;}
.cbp-af-header h1,
.cbp-af-header nav {
	display: inline-block;
	position: relative;
}

 /* We just have one-lined elements, so we'll center the elements with the line-height set to the height of the header */
 
.cbp-af-header h1,
.cbp-af-header nav a {
	line-height: 0px;
}

.cbp-af-header h1 {
	text-transform: uppercase;
	color: #FFF;
	font-size: 12px;
	margin: 0;
	float: left;
}

.cbp-af-header nav {
	float: left;
}

.cbp-af-header nav a {
	/*width:166px;
	font-size: 18px;
	*/
	width:125px;
	font-size: 14px;
	line-height:50px;
	color: #FFF;
	font-weight: 300;
	
	border-right:1px solid #FFF;
	text-align:center;
	display:inline-block;
	text-decoration:none;
	margin-left:-4px;
}

.cbp-af-header nav a:hover {
	color: #73C04A;
	background-color:#FFF;
	margin-left:-4px;
}

/* Transitions and class for reduced height */
.cbp-af-header h1,
.cbp-af-header nav a {
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.cbp-af-header.cbp-af-header-shrink {
	height: 50px;
	position:fixed;
	top:0px;
	left:0px;
	margin:0;
	border-bottom:none;
}
.cbp-af-header.cbp-af-header-shrink img { display:block; float:left; }
.cbp-af-header.cbp-af-header-shrink img.logo{ border-right:1px solid #FFF; }
.cbp-af-header.cbp-af-header-shrink h1,
.cbp-af-header.cbp-af-header-shrink nav a {
	line-height: 50px;
	color:#fff;
	margin-left:-4px;
	vertical-align:top;
}
.cbp-af-header.cbp-af-header-shrink nav a:last-child {
	width:36px;
	border:none;
	height:36px; 
	margin-top:5px;
	margin-left:4px !important;
	display:inline-table;
	-webkit-border-radius: 18px;
    border-radius: 18px;
}
.cbp-af-header.cbp-af-header-shrink nav a:hover{
	color: #FFFFFF;
	background-color:#494A48;
}

.cbp-af-header.cbp-af-header-shrink nav a.active{
	line-height: 50px;
	color: #FFFFFF;
	background-color:#494A48;
}



.cbp-af-header.cbp-af-header-shrink h1 {
	font-size: 2em;
}

/* Example Media Queries */
@media screen and (max-width: 55em) {
	
	.cbp-af-header .cbp-af-inner {
		width: 100%;
	}

	.cbp-af-header h1,
	.cbp-af-header nav {
		display: block;
		margin: 0 auto;
		text-align: center;
		float: none;
	}

	.cbp-af-header h1,
	.cbp-af-header nav a {
		line-height: 115px;
	}

	.cbp-af-header nav a {
		margin: 0 10px;
	}

	.cbp-af-header.cbp-af-header-shrink h1,
	.cbp-af-header.cbp-af-header-shrink nav a {
		line-height: 45px;
	}

	.cbp-af-header.cbp-af-header-shrink h1 {
		font-size: 2em;
	}

	.cbp-af-header.cbp-af-header-shrink nav a {
		font-size: 1em;
	}
}

@media screen and (max-width: 32.25em) {
	.cbp-af-header nav a {
		font-size: 1em;
	}
}

@media screen and (max-width: 24em) {
	.cbp-af-header nav a,
	.cbp-af-header.cbp-af-header-shrink nav a {
		line-height: 1;
	}
}




/* LIST IMAGES */

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

.og-grid li {
	display: inline-block;
	margin: 10px 5px 0 5px;
	vertical-align: top;
	height: 250px;
	border-bottom:none !important;
	padding: 0 10px 40px !important;
}

.og-grid li > a,
.og-grid li > a img,
.og-grid li > a div {
	border: none;
	outline: none;
	display: block;
	position: relative;
	width:297px;
	height:297px;
	background:#b5d79c;
	cursor:pointer;
	-webkit-transition: background 0.5s ease-out;
		-moz-transition: background 0.5s ease-out;
        -ms-transition: background 0.5s ease-out;
        -o-transition: background 0.5s ease-out;
		transition: background 0.5s ease-out;
}

.og-grid li.og-expanded > a,
.og-grid li.og-expanded > a div {
	border: none;
	outline: none;
	display: block;
	position: relative;
	width:297px;
	height:297px;
	background:#494A48;
}

.og-grid li > a div p{
	margin:0;
	padding-top:77px;
	line-height:1;
	text-align:center;
	font-size:45px;
	color:#fff;
}

.og-grid li.og-expanded > a::after {
	top: auto;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-top-color: #494A48;
	border-width: 15px;
	left: 50%;
	z-index:9999;
	margin: 0 0 0 -15px;
}

.og-expander {
	position: absolute;
	top: auto;
	left: 0;
	width: 100%;
	margin-top: 30px;
	text-align: left;
	height: 0;
}

.og-expander:before{
	content:'';
	position:absolute;
	height:300px;
	background:#fff;
	width:300%;
	display:inline-block;
	top:0;
	left:-100%;	
}

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

.og-close {
	position: absolute;
	width: 30px;
	height: 30px;
	top: 20px;
	right: 20px;
	cursor: pointer;
	background:#ccc;
	-webkit-border-radius: 100%;
    border-radius: 100%;
}

.og-close::before,
.og-close::after {
	content: '';
	position: absolute;
	width: 50%;
	top: 50%;
	margin-left:7px;
	height: 1px;
	background: #fff;
	-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: #fff;
}

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

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

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

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

.og-details h3 {
	font-weight: 300;
	font-size: 42px;
	padding: 0px;
	margin:0px;
	line-height:1;
}

.og-details h3.name {
	color:#0C0;
}

.og-details h3.date {
	color:#ccc;
	margin-bottom:30px;
}

.og-details p {
	font-size: 33px; color:#F09; line-height:1;margin:0;
}

.og-details a {
	font-weight: normal;
	font-size: 16px;
	color: #fff;
	text-transform: uppercase;
	padding: 0px 9px;
	display: inline-block;
	margin: -26px 0 0 0;
	background: #494A48;
	-webkit-border-radius: 20px;
	border-radius: 20px;
	float: right;
}

.og-details a::before {
}

.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: 33px; color:#F09; line-height:1;margin:0;}
	.og-expander a { font-size: 12px; }

}

@media screen and (max-width: 650px) {

	.og-fullimg { display: none; }
	.og-details { float: none; width: 100%; }
	
}