
/** BLUR STYLES **/
ul.ib-container:before,
ul.ib-container:after {
    content:"";
    display:table;
}
ul.ib-container:after {
    clear:both;
}
ul.ib-container li{
    /*
    display: block;
    width: 140px;
    height: 220px;
    background: #fff;
    cursor: pointer;
    float: left;
    border: 10px solid #fff;
    margin: 15px;
    text-align: left;
    */
    text-transform: none;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    box-shadow:
            0px 0px 0px 10px rgba(255,255,255,1),
            1px 1px 3px 10px rgba(0,0,0,0.2);
    -webkit-transition:
            opacity 0.4s linear,
            -webkit-transform 0.4s ease-in-out,
            box-shadow 0.4s ease-in-out;
    -moz-transition:
            opacity 0.4s linear,
            -moz-transform 0.4s ease-in-out,
            box-shadow 0.4s ease-in-out;
    -o-transition:
            opacity 0.4s linear,
            -o-transform 0.4s ease-in-out,
            box-shadow 0.4s ease-in-out;
    -ms-transition:
            opacity 0.4s linear,
            -ms-transform 0.4s ease-in-out,
            box-shadow 0.4s ease-in-out;
    transition:
            opacity 0.4s linear,
            transform 0.4s ease-in-out,
            box-shadow 0.4s ease-in-out;

}
ul.ib-container h3 a{
    font-size: 16px;
    font-weight: 400;
    /*
    color: #000;
    color: rgba(0, 0, 0, 1);
    text-shadow: 0px 0px 0px rgba(0, 0, 0, 1);
    */
    opacity: 0.8;
}
ul.ib-container li header span{
    /*
    font-size: 10px;
    font-family: "Big Caslon", "Book Antiqua", "Palatino Linotype", Georgia, serif;
    padding: 10px 0;
    display: block;
    color: #FFD252;
    color: rgba(255, 210, 82, 1);
    text-shadow: 0px 0px 0px rgba(255, 210, 82, 1);
    text-transform: uppercase;
    opacity: 0.8;
    */
}
ul.ib-container h3 a,
ul.ib-container li header span,
ul.ib-container li p{
    -webkit-transition:
            opacity 0.2s linear,
            text-shadow 0.5s ease-in-out,
            color 0.5s ease-in-out;
    -moz-transition:
            opacity 0.2s linear,
            text-shadow 0.5s ease-in-out,
            color 0.5s ease-in-out;
    -o-transition:
            opacity 0.2s linear,
            text-shadow 0.5s ease-in-out,
            color 0.5s ease-in-out;
    -ms-transition:
            opacity 0.2s linear,
            text-shadow 0.5s ease-in-out,
            color 0.5s ease-in-out;
    transition:
            opacity 0.2s linear,
            text-shadow 0.5s ease-in-out,
            color 0.5s ease-in-out;
}
/* Hover Style for all the items: blur, scale down*/
ul.ib-container li.blur{
    box-shadow: 0px 0px 20px 10px rgba(255,255,255,1);
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -o-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
    opacity: 0.7;
}
ul.ib-container li.blur h3 a{
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.9);
    color: rgba(0, 0, 0, 0);
    opacity: 0.5;
}
ul.ib-container li.blur header span{
    text-shadow: 0px 0px 10px rgba(255, 210, 82, 0.9);
    color: rgba(255, 210, 82, 0);
    opacity: 0.5;
}
ul.ib-container li.blur  p{
    text-shadow: 0px 0px 10px rgba(51, 51, 51, 0.9);
    color: rgba(51, 51, 51, 0);
    opacity: 0.5;
}

/* Hover Style for single item: scale up */
ul.ib-container li.active{
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -o-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    box-shadow:
            0px 0px 0px 10px rgba(255,255,255,1),
            1px 11px 15px 10px rgba(0,0,0,0.4);
    z-index: 100;
    opacity: 1;
}
ul.ib-container li.active h3 a,
ul.ib-container li.active header span,
ul.ib-container li.active p{
    opacity; 1;
}


/* /END BLUR STYLES */
/*-----------------*/
/* HEXAGON STYLES*/
.hexagon-wrapper {
    min-height: 600px;
}
* {
    margin: 0;
    padding: 0;
}
body {
    background: rgb(123, 158, 158);
}
#ib-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
    font-size: 15px;
    list-style-type: none;
    margin-top: 3%;
}

.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: 98%;
    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);
}
a.hexLink:hover{
    color: #FFFFFF;
}
/*** 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 h1, .hex p {
    width: 100%;
    padding: 10% 0;
    box-sizing:border-box;
    background-color: rgba(248, 218, 17, 0.5);
    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: 46.5%;
    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);
}
.hexLink h1 img {
    position: absolute;
    top: 24%;
    width: 90px;
    height: 90px;
}
.hex h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 45%;
    width: 10%;
    text-align: center;
}
.hex p {
    top: 50%;
    padding-bottom:50%;
    -webkit-transform:translate3d(0,100%,0);
    -ms-transform:translate3d(0,100%,0);
    transform:translate3d(0,100%,0);
}
img.hexagon-bottombg {
    position: absolute;
    bottom: 22%;
    width: 95%;
    height: 71%;
    z-index: -1;
}

/*** 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);
}*/
/* Hover Categorias */
.over-hexagon {
    position: absolute;
    width: 100%;
    color: #ffffff;
    z-index: 99;
    visibility: hidden;
}
.hexagon-right{
    left: 100%;
}
.hexagon-left{
    right: 98%;
}
.ib-container li:hover .over-hexagon {
    visibility: visible;
    list-style: none;
    margin-top: 5%;
    margin-bottom: -1px;
}
ul.over-hexagon li {
    outline: none;
    border: none;
    box-shadow: none;
    text-align: center;
    background: #d8272f;
    padding: 5% 3%;
}
li.overhex {
    background: none !important;
    height: 45px;
    text-align: center;
    padding: 0 !important;
    margin-bottom: -1px;
    margin-top: -1px;
}
li.overhex img {
    width: 100%;
}
.over-hexagon li a {
    font-size: 15px;
    font-weight: 600;
}
/* Change the always active hover */
.hexLink h1, .hexLink p{
    -webkit-transform:translate3d(0,0,0);
    -ms-transform:translate3d(0,0,0);
    transform:translate3d(0,0,0);
}
/*** HEXAGON SIZING AND EVEN ROW INDENTATION *****************************************************************/
@media (min-width:1201px) { /* <- 5-4  hexagons per row */
    #ib-container{
        padding-bottom: 0;
    }
    .hex {
        width: 25%; /* = 100 / 4 */
    }
    .hex:nth-child(7n+5){ /* first hexagon of even rows */
        margin-left:12%;  /* = width of .hex / 2  to indent even rows */
    }
}

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

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

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

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

/* /END HEXAGONS SECTION */
