/* * {
    margin: 0;
    padding: 0;
}
body {
    background: rgb(123, 158, 158);
} */
#hexGrid {
  display: flex;
  flex-wrap: wrap;
  width: 75%;
  margin: 0 auto;
  overflow: hidden;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  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: #fff;
	background-color: #FFF;
    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_parallex_bg{
	/* background-image: url(../../assets/img/photos/header-front-hex-bg.jpg); */
	position: relative;
    background-attachment: fixed;
    background-position: center;
    /* background-size: cover; 
    background-position-y: -125px;*/
	padding:50px 0px !important
}

.hex_ribbon{
	height: 46px;
    /* background-color: #e48d0b; */
    position: absolute;
    top: 40%;
    left: 29%; 
    right: 0;
    z-index: 0;
    width: 82%;
    bottom: 0;
    margin: auto;
    text-align: center;
    /* padding: 25px 0px; */
    overflow: hidden;
    color: #132831;
    font-weight: 600;
	
	background-size: 100%;
    background-repeat: no-repeat;
}
/*http://collectorshive.com/*/
.on_trade{
	background-image:url(../assets/img/on_trade.png);
}

.on_sale{
	background-image:url(../assets/img/on_sale.png);
}

.on_sale_trade{
	background-image:url(../assets/img/on_sale_trade.png);
}

/*** 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);
    z-index: -1;
}

.hex h1, .hex p {
  width: 100%;
  padding: 5%;
  box-sizing:border-box;
 /*  background-color: rgba(0, 128, 128, 0.8); */
  background-color: rgba(255, 153, 0, 1);
  color: #132831 !important;
  font-family: sans-serif;
  -webkit-transition:  -webkit-transform .2s ease-out, opacity .3s ease-out;
          transition:          transform .2s ease-out, opacity .3s ease-out;
}
.hex h1 {
  bottom: 50%;
  padding-top:50%;
  font-size: 12px !important;
  z-index: 1;
  -webkit-transform:translate3d(0,-100%,0);
      -ms-transform:translate3d(0,-100%,0);
          transform:translate3d(0,-100%,0);
}

.hex h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 45%;
  width: 10%;
  text-align: center;
  border-bottom: 1px solid #fff;
}
.hex p {
  top: 50%;
  padding-bottom:50%;
  -webkit-transform:translate3d(0,100%,0);
      -ms-transform:translate3d(0,100%,0);
          transform:translate3d(0,100%,0);
}


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


.hexDiv{
	z-index: 3;
    position: relative;
}
.hexDiv_bg{
	position: absolute;
    height: 100%; 
	/* background-color: rgba(255, 255, 255, 0.14); 
    background-color: rgba(0, 0, 0, 0.14);*/
	background-color:#cacaca;
    width: 100%;   
	top: 0;  
	left: 0;
	z-index:2;
	border-bottom: 1px solid #adadad;
}

/*** HEXAGON SIZING AND EVEN ROW INDENTATION *****************************************************************/
@media (min-width:1201px) { /* <- 5-4  hexagons per row */
  #hexGrid{
    padding-bottom: 4.4%
  }
  .hex {
    width: 20%; /* = 100 / 5 */
  }
  .hex:first-child{
	  margin-left:20%
  }
  .hex:nth-child(9n+4){ /* first hexagon of even rows */
    margin-left:10%;  /* = width of .hex / 2  to indent even rows */
  }
  .hex:nth-child(9n+17){ /* first hexagon of even rows */
    margin-left:20%;  /* = width of .hex / 2  to indent even rows */
  }
}

@media (max-width: 1200px) and (min-width:901px) { /* <- 4-3  hexagons per row */
  #hexGrid{
    padding-bottom: 5.5%
  }
  .hex {
    width: 25%; /* = 100 / 4 */
  }
  .hex:nth-child(7n+5){ /* first hexagon of even rows */
    margin-left:12.5%;  /* = width of .hex / 2  to indent even rows */
  }
  .hex:last-child, .hex:nth-child(15){
	  display:none
  }
}

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

@media (max-width: 600px) { /* <- 2-1  hexagons per row */
  #hexGrid{
    padding-bottom: 11.2%
  }
  .hex {
    width: 50%; /* = 100 / 3 */
  }
  .hex:nth-child(3n+3){ /* first hexagon of even rows */
    margin-left:25%;  /* = width of .hex / 2  to indent even rows */
  }
  .hex:last-child{
	  display:none
  }
  .hex h1{
	font-size: 12px;
  }
  .hexLink h1 {
    /* top: -40px; */
    /* display: block; */
    font-size: 11px !important;
    padding: 80px 5px 0 5px;
  }
  .hex h1::after {border: none !important;}
}

@media (max-width: 400px) {
    #hexGrid {
        font-size: 12px;
    }
}
