@font-face{
    font-family: 'robotolight';
    src: url('fonts/roboto-light-webfont.eot');
    src: url('fonts/roboto-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/roboto-light-webfont.woff') format('woff'),
         url('fonts/roboto-light-webfont.ttf') format('truetype'),
         url('fonts/roboto-light-webfont.svg#robotolight') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face{
    font-family: 'robotoregular';
    src: url('fonts/roboto-regular-webfont.eot');
    src: url('fonts/roboto-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/roboto-regular-webfont.woff') format('woff'),
         url('fonts/roboto-regular-webfont.ttf') format('truetype'),
         url('fonts/roboto-regular-webfont.svg#robotoregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face{
    font-family: 'robotobold';
    src: url('fonts/roboto-bold-webfont.eot');
    src: url('fonts/roboto-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/roboto-bold-webfont.woff') format('woff'),
         url('fonts/roboto-bold-webfont.ttf') format('truetype'),
         url('fonts/roboto-bold-webfont.svg#robotobold') format('svg');
    font-weight: normal;
    font-style: normal;
}

.ax-links-home{
    width: 100%;
    position: relative;
    z-index: 2;
    top: -25px;
}

.ax-cont-flexible{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    flex-flow: row wrap;
}

.ax-item-link{
    vertical-align: middle;
    width: 24%;
    background-color:#231F20;
    background-image:url(http://ranking.camaramedellin.com.co/Portals/_default/skins/ccma/img/bg-remate.png);
    background-repeat:no-repeat;
    background-position:center;
    background-size: cover;
    box-sizing: border-box;
    padding: 1% 3% 2%;
    margin:0 0 1%;
    text-align: center;
    transition: all.3s ease-in-out;
}

.ax-item-link a{
    display: block;
    width: 100%;
    text-decoration:none!important;
    font-size:0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.ax-item-link a h2{
    font-family: 'robotobold';
    font-size: 1.15rem;
    color: #ffffff;
    width: 80%;
    margin: 0.625rem auto;
    position: relative;
    padding: 0 0 0 0.625rem;
    display:inline-block;
    vertical-align:top;
    letter-spacing: -0.7px;
    text-align:left;
}

.ax-item-link img {
    max-width: 30%;
    display: inline-block;
    vertical-align: top;
    height: auto;
}

.ax-item-link:nth-child(2) a h2{
    width: 75%;
}

.ax-item-link a h2:after{
    content: "";
    position: absolute;
    bottom: -5px;
    width: 40px;
    height:2px;
    background: #ED1C24;
    margin: auto;
    left: 0.625rem;
}

.ax-item-link.ax-hover-rojo:hover{
    background-color: #ED1C24;
    background-image:url(http://ranking.camaramedellin.com.co/Portals/_default/skins/ccma/img/bg-remate.png);
    background-repeat:no-repeat;
    background-position:center;
    background-size: cover;
}

.ax-item-link.ax-hover-naranja:hover{
    background-color: #f29000;
    background-image:url(http://ranking.camaramedellin.com.co/Portals/_default/skins/ccma/img/bg-remate.png);
    background-repeat:no-repeat;
    background-position:center;
    background-size: cover;
}

.ax-item-link:hover a h2:after{
    background: #231F20;
}

.ax-interna-full .ax-links-home,
.ax-int-general .ax-links-home{
    top:0;
}


@media (max-width: 800px){
    .ax-item-link {
        width: 100%;
        margin-bottom: 3px;
        padding: 2% 3%;
    }

    .ax-cont-flexible{
        flex-direction: column;
    }

    .ax-cont-flexible .ax-item-link:nth-child(1) {
        order: 4;
    }

    .ax-cont-flexible .ax-item-link:nth-child(2) {
        order: 3;
    }

    .ax-cont-flexible .ax-item-link:nth-child(3) {
        order: 2;
    }

    .ax-cont-flexible .ax-item-link:nth-child(4) {
        order: 1;
    }
    .ax-item-link img{
        max-width: 62px;
    }
}

@media screen and (min-width: 768px){
    .ax-item-link a{
        display:block;
    }

    .ax-item-link a h2:after{
        right: 0;
        left:0;
        bottom: -15px;
    }

    .ax-item-link a h2{
        text-align:center;
        width: 64%;
        min-height: 64px;
        display:block;
        letter-spacing: 0;
        padding: 0;
    }
}