.hexagon {
    position: relative;
    width: 100px;
    height: 57.74px;
    background-color: #64C7CC;
    margin: 28.87px 0;
    margin: 30px 5px;
    float: right;
    cursor: pointer;
}

    .hexagon .text {
        position: absolute;
        top: 0;
        left: 0;
        color: #fff;
        width: 100px;
        height: 57.92305px;
        text-align: center;
        overflow: hidden;
        font-size: 13px;
        font-family: arial;
    }

    .hexagon span label {
        display: block;
        max-width: 100%;
        margin-bottom: 0px;
        font-weight: normal;
        cursor: pointer;
        line-height: 26px;
    }

    .hexagon:before,
    .hexagon:after {
        content: "";
        position: absolute;
        width: 0;
        border-left: 50px solid transparent;
        border-right: 50px solid transparent;
    }

    .hexagon:before {
        bottom: 100%;
        border-bottom: 28.87px solid #64C7CC;
    }

    .hexagon:after {
        top: 100%;
        width: 0;
        border-top: 28.87px solid #64C7CC;
    }

/*large hexagon*/

.hexagon_lg {
    position: relative;
    width: 220px;
    height: 127.02px;
    background-color: #64C7CC;
    margin: 64px 5px;
    float: left;
    cursor: pointer;
}

    .hexagon_lg .text {
        position: absolute;
        top: 0;
        left: 0;
        color: #fff;
        width: 220px;
        height: 125.92305px;
        text-align: center;
        overflow: hidden;
        font-size: 13px;
        font-family: arial;
    }

    .hexagon_lg span label {
        display: block;
        max-width: 100%;
        margin-bottom: 0px;
        font-weight: normal;
        cursor: pointer;
    }

    .hexagon_lg:before,
    .hexagon_lg:after {
        content: "";
        position: absolute;
        width: 0;
        border-left: 110px solid transparent;
        border-right: 110px solid transparent;
    }

    .hexagon_lg:before {
        bottom: 100%;
        border-bottom: 63.51px solid #64C7CC;
    }

    .hexagon_lg:after {
        top: 100%;
        width: 0;
        border-top: 63.51px solid #64C7CC;
    }

/*medium hexagon*/

.hexagon_md {
    position: relative;
    width: 120px;
    height: 69.28px;
    background-color: #64C7CC;
    margin: 30px 5px;
    float: right;
    cursor: pointer;
}

    .hexagon_md .text {
        position: absolute;
        top: 0;
        left: 0;
        color: #fff;
        width: 120px;
        height: 68.92305px;
        text-align: center;
        overflow: hidden;
        font-size: 13px;
        font-family: arial;
    }

    .hexagon_md span label {
        display: block;
        max-width: 100%;
        margin-bottom: 0px;
        font-weight: normal;
        cursor: pointer;
        line-height: 26px;
    }

    .hexagon_md:before,
    .hexagon_md:after {
        content: "";
        position: absolute;
        width: 0;
        border-left: 60px solid transparent;
        border-right: 60px solid transparent;
    }

    .hexagon_md:before {
        bottom: 100%;
        border-bottom: 34.64px solid #64C7CC;
    }

    .hexagon_md:after {
        top: 100%;
        width: 0;
        border-top: 34.64px solid #64C7CC;
    }


.hexagon, .hexagon_md {
    -webkit-transition: all 200ms ease-in;
    -webkit-transform: scale(1);
    -ms-transition: all 200ms ease-in;
    -ms-transform: scale(1);
    -moz-transition: all 200ms ease-in;
    -moz-transform: scale(1);
    transition: all 200ms ease-in;
    transform: scale(1);
}

    .hexagon:hover, .hexagon:focus, .hexagon:active,
    .hexagon_md:hover, .hexagon_md:focus, .hexagon_md:active {
        -webkit-transition: all 200ms ease-in;
        -webkit-transform: scale(1.2);
        -ms-transition: all 200ms ease-in;
        -ms-transform: scale(1.2);
        -moz-transition: all 200ms ease-in;
        -moz-transform: scale(1.2);
        transition: all 200ms ease-in;
        transform: scale(1.2);
        z-index: 1000;
        box-shadow: 0 0 5px rgba(15,15,15,1);
    }
/*hexa with img*/
.hexa {
    width: 250px;
    height: 286px;
    float: left;
    cursor: pointer;
    position: relative;
    top: 0px;
    -wekit-transform: rotate(60deg);
    -moz-transform: rotate(60deg);
    transform: rotate(60deg);
}

    .hexa, .hexa div {
        margin: 0 auto;
        transform-origin: 50% 50%;
        overflow: hidden;
    }

.hex1 {
    transform: rotate(-60deg);
}
/*.hex2 {
  transform: rotate(-60deg);
}*/

.im_1, .im_2, .im_3, .im_4, .im_5, .im_6, .im_7, .im_8, .im_9, .im_10, .im_11, .im_12, .im_13, .im_14, .im_15, .im_16, .im_17, .im_18, .im_19, .im_20 {
    display: none;
}

.hex2 img.im_show {
    display: block;
}

.hexa div {
    width: 100%;
    height: 100%;
}


@media only screen and (max-width: 1280px) {
    .hexagon {
        position: relative;
        width: 70px;
        height: 40.41px;
        background-color: #64C7CC;
        margin: 27.21px 3px;
    }

        .hexagon:before,
        .hexagon:after {
            content: "";
            position: absolute;
            width: 0;
            border-left: 35px solid transparent;
            border-right: 35px solid transparent;
        }

        .hexagon:before {
            bottom: 100%;
            border-bottom: 20.21px solid #64C7CC;
        }

        .hexagon:after {
            top: 100%;
            width: 0;
            border-top: 20.21px solid #64C7CC;
        }

        .hexagon .text {
            width: 70px;
            height: 50.41px;
            top: -7px;
        }

            .hexagon .text img {
                width: 25px;
            }

        .hexagon span label {
            font-size: 11px;
        }

    .hexa {
        width: 200px !important;
        height: 238px !important;
    }
}
