.matrix-bg-1 {
    /*background-color: #e54e26 !important;*/
    background: #2d3691;
    background-image: -webkit-linear-gradient(left, #c82426, #f46231);
    background-image: -moz-linear-gradient(left, #c82426, #f46231);
    background-image: -ms-linear-gradient(left, #c82426, #f46231);
    background-image: -o-linear-gradient(left, #c82426, #f46231);
    background-image: linear-gradient(to left, #c82426, #f46231);
}

.matrix-bg-2 {
    /*background-color: #006295 !important;*/
    background: #2d3691;
    background-image: -webkit-linear-gradient(left, #c82426, #f46231);
    background-image: -moz-linear-gradient(left, #c82426, #f46231);
    background-image: -ms-linear-gradient(left, #c82426, #f46231);
    background-image: -o-linear-gradient(left, #c82426, #f46231);
    background-image: linear-gradient(to left, #c82426, #f46231);
}

.matrix-bg-3 {
    /*background-color: #40ffee !important;*/
    background: #2d3691;
    background-image: -webkit-linear-gradient(left, #c82426, #f46231);
    background-image: -moz-linear-gradient(left, #c82426, #f46231);
    background-image: -ms-linear-gradient(left, #c82426, #f46231);
    background-image: -o-linear-gradient(left, #c82426, #f46231);
    background-image: linear-gradient(to left, #c82426, #f46231);
}

.matrix-bg-4 {
    /*background-color: #ebdb8d !important;*/
    background: #2d3691;
    background-image: -webkit-linear-gradient(left, #c82426, #f46231);
    background-image: -moz-linear-gradient(left, #c82426, #f46231);
    background-image: -ms-linear-gradient(left, #c82426, #f46231);
    background-image: -o-linear-gradient(left, #c82426, #f46231);
    background-image: linear-gradient(to left, #c82426, #f46231);
}

.matrix-bg-5 {
    /*background-color: #884dff !important;*/
    background: #2d3691;
    background-image: -webkit-linear-gradient(left, #c82426, #f46231);
    background-image: -moz-linear-gradient(left, #c82426, #f46231);
    background-image: -ms-linear-gradient(left, #c82426, #f46231);
    background-image: -o-linear-gradient(left, #c82426, #f46231);
    background-image: linear-gradient(to left, #c82426, #f46231);
}

.matrix-bg-6 {
    /*background-color: #00cc4d !important;*/
    background: #2d3691;
    background-image: -webkit-linear-gradient(left, #c82426, #f46231);
    background-image: -moz-linear-gradient(left, #c82426, #f46231);
    background-image: -ms-linear-gradient(left, #c82426, #f46231);
    background-image: -o-linear-gradient(left, #c82426, #f46231);
    background-image: linear-gradient(to left, #c82426, #f46231);
}

.skills-section {
    padding: 70px 0;
    margin-bottom: -50px !important;
}

.tile{
    float: left;
    margin: 5px;
}

.tile-rectangle-big{
    width: 260px;
    height: 125px;
}
.tile-square-small{
    width: 125px;
    height: 125px;
}
.tile-inner{
    cursor: pointer;
    display: block;
    color: #fff;
    font-size:.85em;
    font-family:verdana;
    font-weight:bold !important;
}
a.tile-inner:hover{
    color:#fff !important;
    text-decoration:underline;
}

.metro-tile{
    margin: 0 auto;
    padding-top: 3px;
}
/*   Over lay  */
.tile-rectangle-big {
    position: relative;
}
.tile-square-small {
    position: relative;
}
.tile-rectangle-big:hover .tile-rectangle-big-overlay {
    width: 100%;
    left: 0;
}
.tile-square-small:hover .tile-square-small-overlay {
    width: 100%;
    left: 0;
}
.tile-rectangle-big-overlay {
    position: absolute;
    bottom: 0;
    left: 0%;
    right: 0;
    background: #c52127;
    background-image: -webkit-linear-gradient(left, #0068b3, #69b4e3);
    background-image: -moz-linear-gradient(left, #0068b3, #69b4e3);
    background-image: -ms-linear-gradient(left, #0068b3, #69b4e3);
    background-image: -o-linear-gradient(left, #0068b3, #69b4e3);
    background-image: linear-gradient(to left, #0068b3, #69b4e3);
    overflow: hidden;
    width: 0;
    height: 100%;
    transition: .5s ease;
}
.tile-square-small-overlay {
    position: absolute;
    bottom: 0;
    left: 100%;
    right: 0;
    background: #c52127;
    background-image: -webkit-linear-gradient(left, #0068b3, #69b4e3);
    background-image: -moz-linear-gradient(left, #0068b3, #69b4e3);
    background-image: -ms-linear-gradient(left, #0068b3, #69b4e3);
    background-image: -o-linear-gradient(left, #0068b3, #69b4e3);
    background-image: linear-gradient(to left, #0068b3, #69b4e3);
    overflow: hidden;
    width: 0;
    height: 100%;
    transition: .5s ease;
}
.text-overlay {
    white-space: nowrap;
    color: white;
    font-size: 12px;
    position: absolute;
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
.text-overlay h4{
    padding-bottom: 10px;
}
.metro{
    width: 90%;
}

#metro-array{
    display: inline-block !important;
}
/* Responsive */
@media screen and (max-width: 501px){
    .metro{
        width: 100%;
    }
    .tile{
        float: none;
        margin: 5px 0 !important;
    }
    .tile-rectangle-big{
        width: 250px;
        height: 125px;
    }
    .tile-square-small{
        width: 250px;
        height: 125px;
    }
    .tile-rectangle-big:hover .tile-rectangle-big-overlay {
        height: 100%;

    }
    .tile-square-small:hover .tile-square-small-overlay {
        height: 100%;
        bottom: 0;
    }
    .tile-square-small-overlay {
        position: absolute;
        bottom: 100%;
        left: 0;
        right: 0;
        background: #c52127;
        background-image: -webkit-linear-gradient(top, #0068b3, #69b4e3);
        background-image: -moz-linear-gradient(top, #0068b3, #69b4e3);
        background-image: -ms-linear-gradient(top, #0068b3, #69b4e3);
        background-image: -o-linear-gradient(top, #0068b3, #69b4e3);
        background-image: linear-gradient(to top, #0068b3, #69b4e3);
        overflow: hidden;
        width: 100%;
        height:0;
        transition: .5s ease;
    }
    .tile-rectangle-big-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: #c52127;
        background-image: -webkit-linear-gradient(bottom, #0068b3, #69b4e3);
        background-image: -moz-linear-gradient(bottom, #0068b3, #69b4e3);
        background-image: -ms-linear-gradient(bottom, #0068b3, #69b4e3);
        background-image: -o-linear-gradient(bottom, #0068b3, #69b4e3);
        background-image: linear-gradient(to bottom, #0068b3, #69b4e3);
        overflow: hidden;
        width: 100%;
        height: 0;
        transition: .5s ease;
    }
    .matrix-bg-1 {
        /*background-color: #e54e26 !important;*/
        background: #2d3691;
        background-image: -webkit-linear-gradient(bottom, #c82426, #f46231);
        background-image: -moz-linear-gradient(bottom, #c82426, #f46231);
        background-image: -ms-linear-gradient(bottom, #c82426, #f46231);
        background-image: -o-linear-gradient(bottom, #c82426, #f46231);
        background-image: linear-gradient(to bottom, #c82426, #f46231);
    }

    .matrix-bg-2 {
        /*background-color: #006295 !important;*/
        background: #2d3691;
        background-image: -webkit-linear-gradient(top, #c82426, #f46231);
        background-image: -moz-linear-gradient(top, #c82426, #f46231);
        background-image: -ms-linear-gradient(top, #c82426, #f46231);
        background-image: -o-linear-gradient(top, #c82426, #f46231);
        background-image: linear-gradient(to top, #c82426, #f46231);
    }

    .matrix-bg-3 {
        /*background-color: #40ffee !important;*/
        background: #2d3691;
        background-image: -webkit-linear-gradient(bottom, #c82426, #f46231);
        background-image: -moz-linear-gradient(bottom, #c82426, #f46231);
        background-image: -ms-linear-gradient(bottom, #c82426, #f46231);
        background-image: -o-linear-gradient(bottom, #c82426, #f46231);
        background-image: linear-gradient(to bottom, #c82426, #f46231);
    }

    .matrix-bg-4 {
        /*background-color: #ebdb8d !important;*/
        background: #2d3691;
        background-image: -webkit-linear-gradient(top, #c82426, #f46231);
        background-image: -moz-linear-gradient(top, #c82426, #f46231);
        background-image: -ms-linear-gradient(top, #c82426, #f46231);
        background-image: -o-linear-gradient(top, #c82426, #f46231);
        background-image: linear-gradient(to top, #c82426, #f46231);
    }

    .matrix-bg-5 {
        /*background-color: #884dff !important;*/
        background: #2d3691;
        background-image: -webkit-linear-gradient(bottom, #c82426, #f46231);
        background-image: -moz-linear-gradient(bottom, #c82426, #f46231);
        background-image: -ms-linear-gradient(bottom, #c82426, #f46231);
        background-image: -o-linear-gradient(bottom, #c82426, #f46231);
        background-image: linear-gradient(to bottom, #c82426, #f46231);
    }

    .matrix-bg-6 {
        /*background-color: #00cc4d !important;*/
        background: #2d3691;
        background-image: -webkit-linear-gradient(top, #c82426, #f46231);
        background-image: -moz-linear-gradient(top, #c82426, #f46231);
        background-image: -ms-linear-gradient(top, #c82426, #f46231);
        background-image: -o-linear-gradient(top, #c82426, #f46231);
        background-image: linear-gradient(to top, #c82426, #f46231);
    }


}
@media screen and (max-width: 300px) {
    .tile-rectangle-big {
        width: 230px !important;
        height: 125px;
    }

    .tile-square-small {
        width: 230px !important;
        height: 125px;
    }
}