@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@100;300;500&display=swap');

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

}
#elastic_grid_demo {
	background-color: #eee;
}
#container {
	display: block;
	zoom: 1;
	position: relative;
	width: 100%;
	max-height:none;
	margin:0px auto 0px;
	z-index:10;
	text-align:left;
	/* reset box-sizing (to boostrap friendly) */
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	font-family: 'Fira Sans', sans-serif;
	}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

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

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

.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:  #42585e;
	border-width: 15px;
	left: 50%;
	margin: -20px 0 0 -15px;
	z-index: 10000;
}




.og-expander {
	position: absolute;
	background-image: url("../images/overlay.png"), linear-gradient(315deg, rgba(0, 97, 147, 0.25) 25%, rgba(227, 123, 124, 0.25) 50%, rgba(255, 228, 180, 0.25));
	background-size: 128px 128px, auto;
	background-color:#143c4a;
	color: #fff;
	top: auto;
	left: 0;
	width: 100%;
	margin-top: 0;
	text-align: left;
	height: 0;
	overflow: hidden;
}

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


.og-close{
	position:absolute;
	width:40px;
	height:40px;
	top:5px;
	right:5px;
	cursor:pointer;
	z-index:1000;
	background-color:#1a4a5a;; 
}
.og-close::before,
.og-close::after {
	content: '';
	position: absolute;
	width: 100%;
	top:50%;
	right:0px;
	height: 0.25em;
	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:#333;
	}

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


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

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

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

/* css style button */

.og-details a {
	font-weight: 700;
	font-size: 14px;
	color: #7a7775;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 6px 12px;
	border: 3px solid #7a7775;
	display: inline-block;
	margin: 30px 15px 0 20px;
	outline: none;
	
}

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

.og-details a:hover {
	background-color:#4ebef2;	
	border-color: #eee;
	color: #eee;
	text-decoration:none;
}

/* fin css style button */

.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 p { font-size: 13px; }
	.og-expander a { font-size: 12px; }
	.og-details a.link-button{
	font-weight: 700;
	font-size: 10px;
	color: #333;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 4px 8px;
	border: 2px solid #333;
	display: inline-block;
	margin: 15px 15px 0 0;
	outline: none;
}

}

@media screen and (max-width: 650px) {
    .og-fullimg { display: none; }
	.og-details { float: none; width: 100%; }
	.og-details a.link-button{
	font-weight: 700;
	font-size: 10px;
	color: #333;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 4px 8px;
	border: 2px solid #333;
	display: inline-block;
	margin: 15px 15px 0 0;
	outline: none;
}
	
}