.ccm-block-next-previous-wrapper {
    text-align: justify;
    -ms-text-justify: distribute-all-lines;
    text-justify: distribute-all-lines;
}
.ccm-next-previous-previouslink, .ccm-next-previous-parentlink, .ccm-next-previous-nextlink, .ccm-next-previous-wrapper .spacer {
    display: -moz-inline-block;
    display: inline-block;
    *display: inline;
    zoom: 1;
    text-align: left;
    -ms-text-justify: auto;
    text-justify: auto;
}
.ccm-block-next-previous-wrapper .spacer {
    font-size: 1px;
    line-height: 1px;
    width: 100%;
}


.ccm-block-next-previous-wrapper a { position: relative; z-index: 1;
font-size: 16px; padding: 10px 5%; color: #000 !important;/* background: #947550; 
-moz-border-radius: 8px; border-radius: 8px; */text-decoration: none !important; }
 
.ccm-block-next-previous-wrapper a:before {
	 position: absolute;
    content: '';
    display: block;
    top: -2px;
    left: -2px;
    width: 100%;
    height: 100%;
    margin: 0%;
    padding: 0;
    vertical-align: middle;
    transition: all 0.35s ease-in-out;
    box-sizing: content-box;
    border: #ffca05 2px solid;
	background: #none;
    z-index: -1; 
 }
/*.ccm-block-next-previous-wrapper a:hover { 
font-size: 16px; padding: 10px 25px; color: #fff !important; background: #fd5100; }
*/


.ccm-block-next-previous-parent-link a { color: #000 !important; }
.ccm-block-next-previous-parent-link a:hover { color: #000 !important; }
.ccm-block-next-previous-parent-link a:before { background: none !important; }
.ccm-block-next-previous-wrapper a:hover:before {
    background: #ffcc00 !important;
    border: #ffca05 2px solid !important;
    color: #000 !important;
}

@media screen and (min-width: 300px){

.ccm-next-previous-previouslink,
.ccm-next-previous-parentlink, 
.ccm-next-previous-nextlink { text-align: center; width: 100%; vertical-align: top; }

.ccm-next-previous-previouslink a,
.ccm-next-previous-parentlink a, 
.ccm-next-previous-nextlink a { 
display: block; width: 90%; margin: 5px auto; }

}
@media screen and (min-width: 800px){
	
.ccm-next-previous-previouslink,
.ccm-next-previous-parentlink, 
.ccm-next-previous-nextlink { width: 33%; }
	
/*.ccm-block-next-previous-previouslink { text-align: left; }
.ccm-block-next-previous-parentlink { text-align: center; }
.ccm-block-next-previous-nextlink { text-align: right; }*/

.ccm-next-previous-previouslink a,
.ccm-next-previous-parentlink a, 
.ccm-next-previous-nextlink a { 
width: auto; display: inherit; margin: 0; }

}
