/* TARGETS BOTH FEATURED AND LIST */
.category {
	margin-bottom:15px;
}
body.category {
	margin-bottom:0px;
}
.category .header .headline {
	margin-bottom:10px;
}
.category .category-list-item img,
.category .category-featured img {
	width: 100%;
	height: auto;
}
.category-list-item .image {
	position:relative;
}
.byline a {
	color: black;
    text-decoration: underline;
}
.category-name {
	margin-bottom: 4px;
	display:none;
}
.category-name a {
	text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
}
.category-list-item header p.byline-timestamp {
	margin-bottom: 8px !important;
	display: block;
}
.category-list-item header .byline {
	margin-right: 10px;
}

.byline-timestamp .timestamp,
.category-list-item header p.byline-timestamp .timestamp {
    color: #326891;
    text-transform: uppercase;
}

/* default FEATURED */
.category-featured {
	border-bottom:1px solid #ccc;
	padding-bottom:15px;
}
.category-featured .image {
	max-height: 550px;
	overflow: hidden;
}
.category-featured .image.no-crop {
    overflow: visible;
    max-height: 100%;
}
.category-featured .image img {
	margin-bottom: 15px;
}
.category-featured .header .headline {
	margin-bottom:15px;
}
.category-featured .header .headline a {
	font-size: 42px;
    line-height: 46px;
	margin-bottom: 15px;
}
.category-featured .byline {
	margin-right: 10px;
}
.category-featured .next-to-inline-rectangle-ad {
	width: calc(100% - 330px); /* make room for 300px wide ad */
	display: inline-block; 
	float: left;
}
.category-featured .inline-rectangle-ad {
	width: 300px;
    display: inline-block;
    float: right;
    text-align: center;
    margin-right: 12px;
}
.more-stories-contain {
	margin: 0px 0px 15px 0px;
}

/* default FEATURED Media Queries*/

@media (max-width: 1000px) {
	.category-featured .next-to-inline-rectangle-ad {
		width: 100%;
	}
	.category-featured .next-to-inline-rectangle-ad,
	.category-featured .inline-rectangle-ad {
		width: 100%;
	    display: block;
	    float: none;
	    
	}
	.category-featured .inline-rectangle-ad {
		padding-top: 15px;
	    border-top: 1px solid #ccc;
	    margin-top: 15px;
	    margin-bottom: 0px;
	}
}




@media (max-width: 767px) {
	article.category-featured {
	    margin-top: 0px !important;
	    margin-bottom: 0px;
	}
	.category-featured .header .headline,
	.category-featured .header .headline a{
		letter-spacing: .25px;
	    font-size: 30px;
	    line-height: 36px;
	}		
}



/* default block LIST */
.category-list-item img {
	width: 100%;
    height: auto;
} 
.category-list-item {
	border-bottom: 1px solid #ccc;
	height: 360px;
    overflow: hidden
}
.category-list-item .header .headline {
	letter-spacing: .25px;
    font-size: 24px;
    line-height: 30px;
}
.category-list-item .header .image {
	margin-bottom: 4px !important;
    overflow: hidden;
    margin-right: 10px;
        max-height: 250px;
}
.category-list-item .header .image.no-crop {
    overflow: visible;
    max-height: 100%;
}
/* default LIST Media Queries*/
@media (max-width: 1300px) {
	section.category-template-default .category-list-item {
		height: 400px;
	}
}
@media (max-width: 767px) {
	.category-list-item {
		height: auto !important;
		overflow: visible;
		padding-bottom: 15px;
		margin-bottom: 0px !important;
		padding-top: 15px;
	}
}

/* Top Child Category list */
.category-children {    
	text-align: center;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 4px 0;
}
.category-children .btn-group .btn {
	background: none;
	-webkit-box-shadow: inset 0 0px 0px rgba(0,0,0,0) !important;
    box-shadow: inset 0 0px 0px rgba(0,0,0,0) !important;
}

/* Gallery Category Template  NEED TO CONFIGURE this templates IMAGES ONCE theyre ARE SHOWING UP PROPERLY*/
section.category-template-gallery .category-gallery-list-item {
	height: 335px;
}


/* Gallery Category Template WITH AUTHORSHIP  */
section.category-template-gallery .category-gallery-list-item.show-authorship {
	height: 335px;
}
/* Media Queries Gallery Category Template WITH AUTHORSHIP  */
@media (min-width: 768px) and (max-width: 991px) {
	section.category-template-gallery .category-gallery-list-item.show-authorship {
		height: 420px;
	}
	.category-list-item {
	    height: 440px !important;
	}
}

.excerpt p {
	line-height: 22px;
    font-size: 14px;
}

article.category-featured {

}
.divider
{
	display:block;
	margin-top:15px;
	margin-bottom:15px;
	clear:both;
}

.category-list-item .header p {
	display:inline;
}

/* default RIVER LIST */
.river-list-item {
	height: 100% !important;
    overflow: auto !important;
    border-bottom: 1px solid #ccc !important;
	padding-top:10px;
	padding-bottom:20px;
}
.river-list-item .image{
	padding-left: 0px;
	margin-bottom: 15px !important;
}

/* ADS */
#bnAdBlock-boxmedium-1 { 
	padding-bottom: 0px;
}

/* CUSTOM SIDEBAR FOR BUFFALO MAGAZINE */
		.buffalo-magazine-sidebar {
			border-bottom: 1px solid #ccc;
			padding-bottom: 20px;
			margin-bottom: 20px;
			padding-top: 5px;
		}
		.buffalo-magazine-sidebar .btn {
    		background: #ae173c;
    		font-size: 18px;
    		margin-top: 25px;
    	}
    	.buffalo-magazine-sidebar .col-center .btn a {
    		background: #ae173c !important;
    		color: white !important;
    	}
    	.buffalo-magazine-sidebar h3 {
    		color: #ae173c;
    		font-size: 22px;
    		line-height: 26px;
    		font-weight: 700;
    	}
    	.buffalo-magazine-sidebar p {
    		font-size: 14px;
    		line-height: 20px;
    	}
    	.buffalo-magazine-sidebar .buf-mag-logo {
    		max-width: 230px;
    		margin-bottom:10px;
    	}
    	.buffalo-magazine-sidebar .fa-angle-right {
    		margin-left:10px;
    	}
    	.buffalo-magazine-sidebar .col {
    		padding-right: 25px;
    		padding-left: 25px;
    	}
    	.buffalo-magazine-sidebar .col-center {
    		border-right: 1px solid #efefef;
    	}
    	.buffalo-magazine-sidebar .col-last {
    		padding-right: 0px;
    	}
    	.buffalo-magazine-sidebar .col-first {
    		padding: 0px;
    	}
/* END CUSTOM SIDEBAR FOR BUFFALO MAGAZINE */



/****** Mobile/Tablet Styles *******/

/*  bootstrap large */
@media screen and (min-width: 1200px) { 
	.buffalo-magazine-sidebar p {
   		font-size: 16px;
   		line-height: 22px;
   	}
}

/*  bootstrap medium */
@media screen and (min-width: 992px) and (max-width: 1199px) { 
	.things-to-know.style1 .body .item .text {
	    font-size: 1.45em;
	}
}

/*  bootstrap small */
@media screen and (min-width: 768px) and (max-width: 991px) { 
	.buffalo-magazine-sidebar p {
   		font-size: 14px;
   		line-height: 20px;
   	}
}

/*Bootstrap x-small*/
@media screen and (max-width: 767px) {
	.river-list-item {
	    margin-bottom: 15px !important;
	}
	.category-list-item .header .image {
	    margin-bottom: 10px !important;
	    margin-right: 0px;
	    padding-right: 0px;
	}
	.category .category-list-item img, 
	.category .category-featured img {
	    width: 104%;
	}
	.buffalo-magazine-sidebar .col-center {
    		border-right: 0px;
    	}
}

