.GridPager a, .GridPager span {
    display: block;
    height: 15px;
    width: 15px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    padding: 5px;
    line-height: 100%;
}

.GridPager a {
    background-color: #f5f5f5;
    color: #969696;
    border: 1px solid #969696;
}

.GridPager span {
    background-color: #A1DCF2;
    color: #000;
    border: 1px solid #3AC0F2;
    line-height: 100%;
}

.newsimage:hover {
    transform: rotate(2deg);
    -ms-transform: rotate(2deg);
    -webkit-transform: rotate(2deg);
}

.newsimage {
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
    border: 1px dashed #ccc;
    padding: 5px;
    margin:10px;

}



.imgNews {
    display: table-cell;
    vertical-align: middle;
}

.contentNews {
    display: table-cell;
    vertical-align: middle;
}


@media all and (max-width: 500px) {
    .imgNews {
        display: block;
    }

    .contentNews {
        display: block;
    }
}