.hexGridWrapper * {
    margin: 0;
    padding: 0;
}


div.ttc-wrapper {
	display: none;
}

div.tooltip-content ul {
	font-size: 16px;
	line-height: 180% !important;
	letter-spacing: 0px !important;
	list-style-type: none;
	float: left;
	clear: both;
	margin: 10px;
	padding: 0px;
}

.tooltip {
	opacity: 1;
}

div.tooltip-content ul li {
	line-height: 180% !important;
	text-align: center;
}

.hexGridWrapper {
	/*background-color: rgba(255, 255, 255, 0.8);*/
	font-family: Arial, sans-serif;
	margin: 0 auto 1em;
	width: 100%;
	max-width: 1400px;
	/*padding: 80px 0px;*/
}

#hexGrid {
  display: flex;
  flex-wrap: wrap;
  width: 90%;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
  list-style-type: none;
}

.hex {
  position: relative;
  visibility:hidden;
  outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
}
.hex::after{
  content:'';
  display:block;
  padding-bottom: 86.602%;  /* =  100 / tan(60) * 1.5 */
}
.hexIn{
  position: absolute;
  width:96%;
  padding-bottom: 110.851%; /* =  width / sin(60) */
  margin:0 2%;
  overflow: hidden;
  visibility: hidden;
  outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
  -webkit-transform: rotate3d(0,0,1,-60deg) skewY(30deg);
      -ms-transform: rotate3d(0,0,1,-60deg) skewY(30deg);
          transform: rotate3d(0,0,1,-60deg) skewY(30deg);
}
.hexIn * {
  position: absolute;
  visibility: visible;
  outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
}
.hexLink {
    display:block;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #ffffff !important;
    overflow: hidden;
    -webkit-transform: skewY(-30deg) rotate3d(0,0,1,60deg);
        -ms-transform: skewY(-30deg) rotate3d(0,0,1,60deg);
            transform: skewY(-30deg) rotate3d(0,0,1,60deg);
}

/*** HEX CONTENT **********************************************************************/
.hex img {
  left: -100%;
  right: -100%;
  width: auto;
  height: 100%;
  margin: 0 auto;
  -webkit-transform: rotate3d(0,0,0,0deg);
      -ms-transform: rotate3d(0,0,0,0deg);
          transform: rotate3d(0,0,0,0deg);
}

.hex h2 {
  width: 100%;
  height: 100%;
  padding: 5%;
  margin: 0px !important;
  box-sizing:border-box;
  background: -webkit-linear-gradient(top, #ff4819 0%, #40678c 100%);
  font-size: 20px !important;;
  font-weight: bold;
  -webkit-transition:  -webkit-transform .2s ease-out, opacity .3s ease-out;
          transition:          transform .2s ease-out, opacity .3s ease-out;
}
.hex h2 {
  /*bottom: 50%;*/
  padding-top:50%;
  font-size: 1.5em;
  z-index: 1;
  -webkit-transform:translate3d(0,-100%,0);
      -ms-transform:translate3d(0,-100%,0);
          transform:translate3d(0,-100%,0);
}
/*.hex h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 45%;
  width: 10%;
  text-align: center;
  border-bottom: 1px solid #fff;
}*/


/*** HOVER EFFECT  **********************************************************************/
.hexLink:hover h2, .hexLink:focus h2 {
  -webkit-transform:translate3d(0,0,0);
      -ms-transform:translate3d(0,0,0);
          transform:translate3d(0,0,0);
}

/*** HEXAGON SIZING AND EVEN ROW INDENTATION *****************************************************************/


@media (max-width: 3000px) and (min-width:601px) { /* <- 3-2  hexagons per row */
  #hexGrid{
    padding-bottom: 7.4% !important
  }
  .hex {
    width: 33.333% !important; /* = 100 / 3 */
  }
  .hex:nth-child(5n+4){ /* first hexagon of even rows */
    margin-left:16.666% !important;  /* = width of .hex / 2  to indent even rows */
  }
}

@media (max-width: 600px) { /* <- 2-1  hexagons per row */
  #hexGrid{
    padding-bottom: 11.2% !important
  }
  .hex {
    width: 50% !important; /* = 100 / 3 */
  }
  .hex:nth-child(3n+3){ /* first hexagon of even rows */
    margin-left:25% !important;  /* = width of .hex / 2  to indent even rows */
  }
  .hex h2 {font-size:16px !important;}
}

@media (max-width: 500px) {
  .hex h2 {font-size:12px !important;}
}
