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

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

.og-grid li {
	display:inline-block;
	vertical-align:top;
	margin:0 0 5px 1px;
	height: 245px;
	width:245px;
	
   -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
           box-sizing: border-box;
}

.og-grid li > a{
	display: block;
	position: relative;
	border:3px solid #000
}
.og-grid li > a img {
	border: none;
	outline: none;
	display: block;
	position: relative;
}
 
.og-grid li.og-expanded > a::after {
	top: auto;
	bottom:-19px;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-bottom-color: #ccc;
	border-width: 15px;
	left: 50%;
	margin: -20px 0 0 -15px;
	z-index:99;
	
	display:none;
}

.og-expander {
	position: absolute;
	top: auto;
	left: 0;
	width: 100%;
	/*height:auto !important;*/
	margin-top:17px;
	text-align: left;
	height: 0;
	overflow: hidden;
	z-index:999;
	
	background:url(../img/thumbnail_caption_bg.png) 0 0 no-repeat;
	background-size:cover;
}

.og-expander-inner {
	padding:0;
	height: 100%;
}

.og-close {
	position: absolute;
	width: 30px;
	height: 30px;
	top: 17px;
	right: -11px;
	cursor: pointer;
	z-index:9;
	background:#828080;
	
		-webkit-border-radius: 50%;
     -moz-border-radius: 50%;
          border-radius: 50%;
}

.og-close::before,
.og-close::after {
	content: '';
	position: absolute;
	width:65%;
	top: 50%;
	left:6px;
	height: 3px;
	background: #b7b7b7;
	
		-webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
	/*-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 {
	width: 100%;
	float: left;
	height:480px;
	overflow: hidden;
	position: relative;
}

.og-details {
	padding:0 0 20px;
	color:#fff;
	position:relative;
	bottom:0px;
	left:0px;
	right:0px;
	width:100%;
	height:255px;
	float: left;
	
	float:left;
	margin-top:-60px;
}
.og-details:before{
	content:'';
	position:absolute;
	left:0px;
	top:0px;
	 
	width:100%;
	height:60px;
	
	background:url(../img/thumbnail_caption_bg.png) 0 0 no-repeat;
	background-size:cover;
}
.og-details-inner{
	margin: 0 auto 0;
	width: 750px;
}
.og-details-inner .thumb_icons{
	left:0px;
}
.og-details-inner .boxscroll{
	height:120px;
	padding-right:15px;
}

.og-fullimg {
	text-align: center;
	position:relative;
	top:0px;
	left:0px;
	width:100%;
	background-repeat:no-repeat;
	background-position:center center;
	background-size:cover;
	 
}

.og-fullimg img {
	/*width:100%;*/
}

.og-details h3 {
	padding: 14px 0 20px;
	margin-bottom: 10px;
	color:#fff;
	font-family: "HelveticaNeueLTStd-Bd";
    font-size: 22px;
    line-height: 35px;
}
.og-details b{
	font-size:22px;
	line-height:35px;
	font-weight:normal;
	margin-bottom:0px;
	display:block;
	font-family:"db_helvethaica_x75_bd";
}
.og-details p {
	font-size: 19px;
	line-height:22px;
	margin-top:10px;
}

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

@-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 (min-device-width: 768px) and (max-device-width: 979px) {
	.og-details-inner{ width:724px;}
	.og-grid li{ width:300px; height:300px}
}

@media (max-width: 767px) {
	.og-close{ right:10px; top:11px}
	.og-fullimg{
		height:380px;
		background-size:800px;
	}
	
	.og-details-inner{
		padding-left:15px;
		padding-left:15px;
		width:auto;
	}
	.og-details{ margin-top:-100px}
	
	.og-details:before{ height:50px;}
	.og-details-inner .boxscroll{height:250px;}
	.og-details h3{
		font-size:18px;
		line-height:25px;
		padding-bottom:10px;
	}
	.thumb .og-details-inner:before{ 
		top:-245px !important;
		
				webkit-transform: scale(0.8);
	      -moz-transform: scale(0.8);
	        -o-transform: scale(0.8);
	           transform: scale(0.8);
	    -webkit-transform-style: preserve-3d;
              -webkit-transform: scale3d(0.8,0.8,0.8);
   }
   
}
@media (max-width: 480px) {
	.og-fullimg{
		height:200px;
		background-size:500px;
	}
	.og-details{ margin-top:-50px}
	
	.thumb .og-details-inner:before{ 
		top:-178px !important;
		left:-25px !important;
		
				webkit-transform: scale(0.5);
	      -moz-transform: scale(0.5);
	        -o-transform: scale(0.5);
	           transform: scale(0.5);
	    -webkit-transform-style: preserve-3d;
              -webkit-transform: scale3d(0.5,0.5,0.5);
   }
   .og-details-inner .boxscroll{height:300px;}
	
}
@media (max-device-width: 767px) {
	.og-grid{ margin:0}
	.og-details-inner{ width:auto; padding:0 20px}
	.og-grid li{
		width:420px; 
		height:420px;    
		margin-lef:0;
		margin-right:0
	}
	.og-grid li > a img{ width:100%}
	.thumb_icons{ top:13% !important}
    .thumbnail_title{
	   font-size:20px !important;
	   padding:20px 0px  12px!important;
	   line-height:24px !important;
   }
}

@media (max-device-width: 480px) {
	.og-grid li{width:100%; height:auto;}
}