/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Mar 17, 2015, 4:42:58 PM
    Author     : jjrodr
*/

.cbn_next_article_container {
    box-sizing: border-box;
    width: 100%;
    height: 45px;
    margin-bottom: 30px;
    clear: both;
}

.previous-button, .next-button {
    height: 45px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position-y: 2px;
    width: 20px;
    float: left;
}

.previous-button { background-image: url("../img/blue_l-arrow-thin.svg"); }
.next-button { background-image: url("../img/blue_r-arrow-thin.svg"); }

.previous-link:hover a, .next-link:hover a, .previous-blog:hover a, .next-blog:hover a, .current-blog:hover a { text-decoration: none; color: #131313; }

.previous-link:hover .previous-button, .previous-blog:hover .previous-button { background-image: url("../img/dgray_l-arrow-thin.svg"); }
.next-link:hover .next-button, .next-blog:hover .next-button { background-image: url("../img/dgray_r-arrow-thin.svg"); }

.previous-link, .next-link {
    box-sizing: border-box;
    width: 50%;
    height: 100%;
    border-right: 1px solid #eee;
    text-align: center;
}

.previous-blog, .current-blog, .next-blog {
    box-sizing: border-box;
    width: 33.33333%;
    height: 100%;
    border-right: 1px solid #eee;
    text-align: center;
    float: left;
}

.current-blog {
    padding-top: 14px;
}

.previous-link {
    float: left;
}

.inactive-blog-link a {
    opacity: .5;
    color: #131313;
}

.inactive-blog-link .previous-button {
    background-image: url("../img/dgray_l-arrow-thin.svg");
    opacity: .5;
}

.inactive-blog-link .next-button {
    background-image: url("../img/dgray_r-arrow-thin.svg");
    opacity: .5;
}

.next-link, .next-blog {
    float: right;
    border: none;
}

.previous-link-text, .next-link-text {
    box-sizing: border-box;
    padding: 0px 15px;
    float: left;
    width: calc(100% - 20px);
    position: relative;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    top: 50%;
}

@media only screen and (max-width: 660px) {
    .previous-link-text, .next-link-text {
        overflow: hidden;
        font-size: 15px;
        text-align: left;
    }
    
    .current-blog {
        font-size: 15px;
        padding: 3px;
        padding-top: 8px;
        float: left;
    }
    
    .next-blog {
        width: 25%;
    }
    
    .previous-blog {
        width: 38%;
    }
    
    .next-link-text {
        text-align: right;
    }
    
    .previous-link {
        padding-left: 5px;
    }
    
    .next-link {
        padding-right: 5px;
    }
}
