
#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;
    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);
}

.icon{
    left: -96% !important;
    right: -100% !important;
    width: auto !important;
    top: 16%;
    height: 60% !important;
    margin: 0 auto !important;
}

.hex h1, .hex p {
  width: 100%;
  padding: 5%;
  box-sizing:border-box;
  background-color: rgba(0, 0, 0, 0.4);
  font-weight: 300;
  -webkit-transition:  -webkit-transform .2s ease-out, opacity .3s ease-out;
          transition:          transform .2s ease-out, opacity .3s ease-out;
}

.hex h1 {
    bottom: 55%;
    padding-top: 36%;
    font-size: 1.2em;
    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: 45%;
    padding-bottom: 50%;
    -webkit-transform: translate3d(0,100%,0);
    -ms-transform: translate3d(0,100%,0);
    transform: translate3d(0,100%,0);
	font-size: 14px;
}

.hex h3{
	text-shadow: 0px 0px 2px rgba(0, 0, 0, 1);
    position: absolute;
    top: 38%;
    width: 100%;
    text-align: center;
    font-size: 28px;  
    font-weight: 600;
    color: black;
    /*background-color: #ffffff47;*/
    padding: 7px 0px;
}
.hexLink:hover h3{
	display:none;
}
/*** 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);
	margin-bottom: 0px;
}

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

@media (max-width: 1200px) and (min-width:901px) { /* <- 4-3  hexagons per row */
  #hexGrid{
    padding-bottom: 26.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 */
  }
}

@media (max-width: 900px) and (min-width:601px) { /* <- 3-2  hexagons per row */
  #hexGrid{
    padding-bottom: 27.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 */
  }
}

@media (max-width: 600px) { /* <- 2-1  hexagons per row */
  #hexGrid{
    padding-bottom: 30.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 */
  }
}

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


.navbar-dark .navbar-toggler {
    background: black !important;
    color: rgb(255 0 0 / 50%) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

@media (max-width: 992px) {
	#hexGrid {
		width: 80% !important;
	}

    .navbar {
       margin: 0 !important;
		text-align: right !important;
		width: 100% !important;
		justify-content: flex-end !important;
		-webkit-box-shadow: -3px 10px 5px 0px rgb(0 0 0 / 75%);
		-moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
		box-shadow: 0px 1px 2px 0px rgb(0 0 0 / 6%);
		padding-bottom: 30px;
		padding-top: 30px;
		top: 30px;
		position: fixed;
		z-index: 9999999;
		background: white;
		right: 0;
    }
	
	
	.mobile_img{
		display: block !important;
		position: absolute !important;
		left: 20px !important;
		top: 10px !important;
		width: 105px !important;
	}
	
	.top1{
		display: none !important;
	}

	.nav-item {
		width: 100%;
	}

	.navbar-nav {
		text-align: center !important;
	}
	.item_right {
		text-align: center !important;
	}
	
	.nav-cont{
		margin-top:0 !important;
	}
	
	.home_nav{
		margin-top: 150px;
	}
	
	.top_menu {
		position: fixed;
		width: 100%;
		z-index: 99999999999;
	}
	
	.right{
		padding-right: 15px;
	}
	
	.menu-cont{
		width: 100% !important;
		max-width: 100% !important;
		padding-right: 20px !important;
	}
}

@media (min-width: 992px) {
	.navbar-expand-lg .navbar-collapse {
		display: -ms-flexbox !important;
		display: flex !important;
		-ms-flex-preferred-size: auto;
		flex-basis: auto;
	}
}

@media (min-width: 992px){
	.navbar-expand-lg .navbar-toggler {
		display: none;
	}
}

@media (min-width: 992px){
	.navbar-expand-lg {
		-ms-flex-flow: row nowrap;
		flex-flow: row nowrap;
		-ms-flex-pack: start;
		justify-content: flex-start;
	}
}

@media (min-width: 992px) {
	.navbar-expand-lg .navbar-nav {
		-ms-flex-direction: row;
		flex-direction: row;
	}
}



.mobile_img{
	display: none;
}