
/* General grid styles */
.cbp-ig-grid {
	list-style: none;
	padding: 0 0 0px 0;
	margin: 0;
}

/* Clear floats */
.cbp-ig-grid:before, 
.cbp-ig-grid:after { 
	content: " "; 
	display: table; 
}

.cbp-ig-grid:after { 
	clear: both; 
}

/* grid item */
.cbp-ig-grid li {
	width: 100%;
	float: left;
	text-align: center;
	border: 1px solid #ddd;
}

/* we are using a combination of borders and box shadows to control the grid lines */
.cbp-ig-grid li:nth-child(-n+3){
	border-top: none;
}

.cbp-ig-grid li:nth-child(3n-1),
.cbp-ig-grid li:nth-child(3n-2) {
	box-shadow: 1px 0 0 #ddd;
}

/* anchor style */
.cbp-ig-grid li > a {
	display: block;
	height: 100%;
	color: #47a3da;
	-webkit-transition: background 0.2s;
	-moz-transition: background 0.2s;
	transition: background 0.2s;
	padding: 18px 30px;
	cursor: default;
}
.video-container img{ display: block; width: 100%; }

/* the icon with pseudo class for icon font */
.cbp-ig-icon {
	padding: 0px 0 0 0;
	display: block;
	-webkit-transition: -webkit-transform 0.2s;
	transition: -moz-transform 0.2s;
	transition: transform 0.2s;
	 margin: 0 auto;
}

.cbp-ig-grid li:nth-child(1) .cbp-ig-icon{ background: url(../../img/iconApp2.png) no-repeat; width: 200px; height: 98px;}

.cbp-ig-grid li:nth-child(1) > a:hover .cbp-ig-icon { background: url(../../img/iconApp2-hv.png) no-repeat;}

.cbp-ig-grid li:nth-child(2) .cbp-ig-icon{ background: url(../../img/iconApp6.png) no-repeat;width: 200px; height: 98px;}

.cbp-ig-grid li:nth-child(2) > a:hover .cbp-ig-icon { background: url(../../img/iconApp6-hv.png) no-repeat;}


.cbp-ig-grid li:nth-child(3) .cbp-ig-icon{ background: url(../../img/iconApp4.png) no-repeat;width: 200px; height: 98px;}

.cbp-ig-grid li:nth-child(3) > a:hover .cbp-ig-icon { background: url(../../img/iconApp4-hv.png) no-repeat;}

.cbp-ig-grid li:nth-child(4) .cbp-ig-icon{ background: url(../../img/iconApp10.png) no-repeat;width: 200px; height: 98px;}

.cbp-ig-grid li:nth-child(4) > a:hover .cbp-ig-icon { background: url(../../img/iconApp10-hv.png) no-repeat;}


.cbp-ig-grid li:nth-child(5) .cbp-ig-icon{ background: url(../../img/iconApp5.png) no-repeat;width: 200px; height: 98px;}

.cbp-ig-grid li:nth-child(5) > a:hover .cbp-ig-icon { background: url(../../img/iconApp5-hv.png) no-repeat;}


.cbp-ig-grid li:nth-child(6) .cbp-ig-icon{ background: url(../../img/iconApp9.png) no-repeat;width: 200px; height: 98px;}

.cbp-ig-grid li:nth-child(6) > a:hover .cbp-ig-icon { background: url(../../img/iconApp9-hv.png) no-repeat;}


.cbp-ig-grid li:nth-child(7) .cbp-ig-icon{ background: url(../../img/iconApp3.png) no-repeat;width: 200px; height: 98px;}

.cbp-ig-grid li:nth-child(7) > a:hover .cbp-ig-icon { background: url(../../img/iconApp3-hv.png) no-repeat;}


.cbp-ig-grid li:nth-child(8) .cbp-ig-icon{ background: url(../../img/iconApp1.png) no-repeat;width: 200px; height: 98px;}

.cbp-ig-grid li:nth-child(8) > a:hover .cbp-ig-icon { background: url(../../img/iconApp1-hv.png) no-repeat;}


.cbp-ig-grid .cbp-ig-title {
	text-transform: uppercase;
	margin: 40px 0 10px 0;
	padding: 20px 0 0 0;
	font-size: 18px;
	position: relative;
	-webkit-transition: -webkit-transform 0.2s;
	-moz-transition: -moz-transform 0.2s;
	transition: transform 0.2s;
	/*font-weight: 300;*/
}

.cbp-ig-grid .cbp-ig-title:before {
	content: '';
	position: absolute;
	background: #fbcf0a;
	width: 160px;
	height: 4px;
	top: 0px;
	left: 50%;
	margin: -10px 0 0 -80px;
	-webkit-transition: margin-top 0.2s; /* top or translate does not seem to work in Firefox */
	-moz-transition: margin-top 0.2s;
	transition: margin-top 0.2s;
}

.cbp-ig-grid .cbp-ig-category {
	display: inline-block;
	color: #fff;
	-webkit-transform: translateY(10px);
	-moz-transform: -moz-translateY(10px);
	-ms-transform: -ms-translateY(10px);
	transform: translateY(10px);
	opacity: 0;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.2s;
	-moz-transition: -moz-transform 0.3s, opacity 0.2s;
	-webkit-transition: transform 0.3s, opacity 0.2s;
}

.cbp-ig-grid li:hover .cbp-ig-category,
.touch .cbp-ig-grid li .cbp-ig-category {
	opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
}

/* Hover styles */

.cbp-ig-grid li > a:hover {
	background: #fbcf0a;
}

.cbp-ig-grid li > a:hover .cbp-ig-icon {
	-webkit-transform: translateY(10px);
	-moz-transform: translateY(10px);
	-ms-transform: translateY(10px);
	transform: translateY(10px);
}

.cbp-ig-grid li > a:hover .cbp-ig-icon:before,
.cbp-ig-grid li > a:hover .cbp-ig-title {
	color: #fff;
}

.cbp-ig-grid li > a:hover .cbp-ig-title {
	-webkit-transform: translateY(-30px);
	-moz-transform: translateY(-30px);
	-ms-transform: translateY(-30px);
	transform: translateY(-30px);
}

.cbp-ig-grid li > a:hover .cbp-ig-title:before {
	background: #fff;
	margin-top: 67px;
}


@media screen and (max-width: 62.75em) {
	.cbp-ig-grid li {
		width: 50%;
	}

	/* reset the grid lines */
	.cbp-ig-grid li:nth-child(-n+3){
		border-top: 1px solid #ddd;
	}

	.cbp-ig-grid li:nth-child(3n-1),
	.cbp-ig-grid li:nth-child(3n-2) {
		box-shadow: none;
	}

	.cbp-ig-grid li:nth-child(-n+2){
		border-top: none;
	}

	.cbp-ig-grid li:nth-child(2n-1) {
		box-shadow: 1px 0 0 #ddd;
	}
}

@media screen and (max-width: 41.6em) { 
	.cbp-ig-grid li {
		width: 100%;
	}

	.cbp-ig-grid li:nth-child(-n+2){
		border-top: 1px solid #ddd;
	}

	.cbp-ig-grid li:nth-child(2n-1) {
		box-shadow: none
	}

	.cbp-ig-grid li:first-child {
		border-top: none;
	}
}

@media screen and (max-width: 25em) { 
	.cbp-ig-grid {
		font-size: 80%;
	}

	.cbp-ig-grid .cbp-ig-category {
		margin-top: 20px;
	}
}