*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}







/* gridgallery begins */

.gridgallerycontainer {
	background: transparent;
	z-index: 999999;
border: 0;
}

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

.og-grid li {
	display: inline-block;
	margin: 10px 5px 0 5px;
	vertical-align: top;
	height: 250px;
}

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

.og-grid li > a {
border: 1px solid #212129;
}

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

.og-expander {
	position: absolute;
	background: #75a75f;
	top: auto;
	left: 0;
	width: 100%;
	margin-top: 10px;
	text-align: left;
	height: 0;
	overflow: hidden;
	padding: 0;
	-moz-border-radius:5px;
-khtml-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
}

.og-expander-inner {
	padding: 50px 4%;
	height: 100%;
	margin: 0 auto;
	border: 0;
}

.og-close {
	position: absolute;
	width: 40px;
	height: 40px;
	top: 20px;
	right: 20px;
	cursor: pointer;
	z-index: 999;
	background-color: transparent;
	background-image: url(../images/close.png);
	background-repeat: no-repeat;
	background-position: left top;
	z-index: 999;
	border: 0;
}


.og-fullimg {
	width: 60%;
	float: left;
	height: 100%;
	overflow: hidden;
	position: relative;
	border: 0;
	padding: 0;
}


.og-details {
	width: 40%;
	padding: 0 3% 0 3%;
	float: right;
	height: 100%;
	overflow: hidden;
	position: relative;
	border: 0;
}


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

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

.og-details h3 {
	font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 300;
	font-size: 52px;
	padding: 20px 0 10px;
	margin-bottom: 10px;
	color: #41414a;
	line-height: 90%;
	letter-spacing: -0.05em;
}

.og-details p {
	font-family: 'Raleway', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 22px;
	color: #fff;
	padding: 0;
	margin: 0;
}



.og-details a {
	color: #eaeaea;
	background-color: #41414a;
	text-transform: uppercase;
	text-decoration: none;
	padding: 7px 25px;
 font-size: 12px;
  font-family: 'Lato', Calibri, Arial, sans-serif;
    font-weight: 600;
	border: 0;
	text-align: center;
	display: inline-block;
	margin: 30px 0 0;
	outline: none;
  -webkit-transition: 300ms linear 0s;
	-moz-transition: 300ms linear 0s;
	-o-transition: 300ms linear 0s;
	transition: 300ms linear 0s;
-webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  -webkit-appearance: none;
-moz-appearance: none;
}


.og-details a:hover {
  background-color: #ef5481;
  color: #fff;
  -webkit-transition: 300ms linear 0s;
	-moz-transition: 300ms linear 0s;
	-o-transition: 300ms linear 0s;
	transition: 300ms linear 0s;
-webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  -webkit-appearance: none;
-moz-appearance: none;
}



.nobutton .og-details a {
display: none!important;	
}



.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: 40px; }
	.og-expander p { font-size: 16px; }
	.og-expander a { font-size: 12px; }

}

@media screen and (max-width: 650px) {
	
.og-expander {
	position: absolute;
	top: auto;
	width: 92%;
	right: 0;
	margin: 10px auto 0 auto!important;
	height: 0;
	overflow: hidden;
	border: 0;
}
	.og-expander-inner {
	padding: 50px 0;
	height: 100%;
	width: 100%;
	float: none;
	position: relative;
	margin: 0 auto;
	border: 0;
}

	.og-fullimg {
	display: none;
	}
	
	.og-details {
	float: none;
	width: 100%;
	position: relative;
	border: 0;
	margin: 0 auto;
	padding: 0 6% 0 6%;
	}
	
	
}

/* gridgallery ends */