/* -----------------------------------------------------------------------------

  HEXAGON GRID
  
----------------------------------------------------------------------------- */
#vcmp_hexagon_grid *{
	margin:0;
	padding:0;
}
#vcmp_hexagon_grid{
	overflow:hidden;
	width:100%;
	margin:0 auto;
	padding: 0;
}
.vcmp_clr:after{
	content:"";
	display:block;
	clear:both;
}
#vcmp_hexagon_grid li {
	position:relative;
	list-style-type:none;
	width:27.85714285714286%; /* = (100-2.5) / 3.5 */
	padding-bottom: 32.16760145166612% !important; /* =  width /0.866 */
	float:left;
	overflow:hidden;
	visibility:hidden;
	-webkit-transform: rotate(-60deg) skewY(30deg);
	-ms-transform: rotate(-60deg) skewY(30deg);
	transform: rotate(-60deg) skewY(30deg);
}
#vcmp_hexagon_grid li:nth-child(3n+2){
	margin:0 1%;
}
#vcmp_hexagon_grid li:nth-child(6n+4){
	margin-left:0.5%;
}
#vcmp_hexagon_grid li:nth-child(6n+4),
#vcmp_hexagon_grid li:nth-child(6n+5),
#vcmp_hexagon_grid li:nth-child(6n+6) {
	margin-top: -6.9285714285%;
	margin-bottom: -6.9285714285%;
	-webkit-transform: translateX(50%) rotate(-60deg) skewY(30deg);
	-ms-transform: translateX(50%) rotate(-60deg) skewY(30deg);
	transform: translateX(50%) rotate(-60deg) skewY(30deg);
}
#vcmp_hexagon_grid li:nth-child(6n+4):last-child, 
#vcmp_hexagon_grid li:nth-child(6n+5):last-child, 
#vcmp_hexagon_grid li:nth-child(6n+6):last-child{
	margin-bottom:0%;
}
#vcmp_hexagon_grid li *{
	position:absolute;
	visibility:visible;
}
#vcmp_hexagon_grid li > div{
	width:100%;
	height:100%;
	text-align:center;
	color:#fff;
	overflow:hidden;
	-webkit-transform: skewY(-30deg) rotate(60deg);
	-ms-transform: skewY(-30deg) rotate(60deg);
	transform: skewY(-30deg) rotate(60deg);
	-webkit-backface-visibility:hidden;
}

/* HEX CONTENT */
#vcmp_hexagon_grid li img{
	left:-100%; 
	right:-100%;
	width: auto; 
	height:100%;
	margin:0 auto;   
}

#vcmp_hexagon_grid a {
    position: relative;
}

#vcmp_hexagon_grid div .hexagon-title,
#vcmp_hexagon_grid div p {
	width:100%;
	padding:0 5%;
	background-color:#008080; 
	background-color: rgba(0, 128, 128, 0.8);
	font-family: 'Raleway', sans-serif;
	-webkit-transition: top .2s ease-out, bottom .2s ease-out, .2s padding .2s ease-out;
	-ms-transition: top .2s ease-out, bottom .2s ease-out, .2s padding .2s ease-out;
	transition: top .2s ease-out, bottom .2s ease-out, .2s padding .2s ease-out;
}
#vcmp_hexagon_grid li .hexagon-title{
	bottom:110%;
	font-weight:normal;
	font-size:1.5em;
	padding-top:100%;
	padding-bottom:100%;
}
#vcmp_hexagon_grid li p{
	padding-top:50%;
	top:110%;
	padding-bottom:50%;
}

#vcmp_hexagon_grid li .defaulthexcontent {
    display: block;
    margin: -25px auto 0 !important;
    position: relative !important;
    text-align: center;
    line-height: 11px;
	padding-top: 65%;
}

#vcmp_hexagon_grid li .hoverhexcontent {
    display: block;
    margin: -25px auto 0 !important;
    position: relative !important;
    text-align: center;
    line-height: 1.3;
}


/* HOVER EFFECT  */

#vcmp_hexagon_grid li div:hover .hexagon-title {
  bottom:50.8%;
  padding-bottom:10%;
}

#vcmp_hexagon_grid li div:hover p{
  top:49%;
  padding-top:10%;
}

.griddershare { display: block; width: 90%; margin:10px auto 0 !important; text-align: center;}
.griddershare .share-btn { background: rgba(33, 33, 33, 0.37); border-radius: 100%; color: #fff; display: inline-table; height: 24px; line-height: 14px; margin-right: 3px !important; padding: 5px !important; text-align: center; width: 24px; position: relative !important; box-shadow: none;}
.griddershare .share-btn:hover { color: #000; text-decoration:none;}

/*Media Queries*/
@media (max-width: 800px) {
	#vcmp_hexagon_grid li {
		position:relative;
		width:100%; /* = (100-2.5) / 3.5 */
		padding-bottom: 115.473% !important; /* =  width /0.866 */
		float:left;
		overflow:hidden;
		visibility:hidden;
		-webkit-transform: rotate(-60deg) skewY(30deg);
		-ms-transform: rotate(-60deg) skewY(30deg);
		transform: rotate(-60deg) skewY(30deg);
	}
	#vcmp_hexagon_grid li:nth-child(6n+4), 
	#vcmp_hexagon_grid li:nth-child(6n+5), 
	#vcmp_hexagon_grid li:nth-child(6n+6) {
		margin-bottom: 0;
		margin-top: 0;
		transform: translateX(0%) rotate(-60deg) skewY(30deg);
	}
	
	#vcmp_hexagon_grid li:nth-child(3n+2), 
	#vcmp_hexagon_grid li:nth-child(3n+3), 
	#vcmp_hexagon_grid li:nth-child(3n+2), 
	#vcmp_hexagon_grid li:nth-child(3n+4) {
		margin-bottom: 1%;
		margin-left: 0;
		margin-top: 1%;
	}
}