
.feedwrap {
    margin: 10px auto;
}

ul.feedtabs {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

ul.feedtabs li {
    background: none;
    color: black;
    display: table-cell;
    padding: 0.2rem 2.5rem;
    cursor: pointer;
    border: 1px solid black;
}

ul.feedtabs li:hover {
    background-color: #fdb827;
}

ul.feedtabs li.current {
    color: white;
    font-weight: 600;
    background-color: #00a0f8; /* #fdb827 */
}

.tab-content {
    width: 100%;
    max-width: 770px;
    display: none;
}

.tab-content.current {
    display: inherit;
}

#featureimage {
    position: relative;
    border: 1px solid #444;
    margin-top: -1px;
}

#featureimage img {
    width: 100%;
}

.headline {
    font-size: 2.7rem;
    line-height: 3.2rem;
    font-weight: bold;
    text-shadow: 0 2px 0 #000;
    width: 100%;
    position: absolute;
    bottom: 0;
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.8))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.8) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.8) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.8) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.8) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#cc000000',GradientType=0 ); /* IE6-9 */
}

.stories {
    width: 100%;
    height: 100%;
}

.stories ul {
    list-style: none;
    padding: 0;
    margin: 0 0 5px 0;
}

.stories ul li {
    width: 20%;
    max-width: 154px;
    display: table-cell;
}

.features img {
    width: 100%;
    border: 2px solid #ffffff;
    margin-left: -2px;
    margin-bottom: -3px;
}

.features a {
    font-size: 9pt;
    line-height: 0.5rem;
}

ul.blogfeature {
    padding: 0;
    margin: 0;
    list-style-type: none;
    border: 1px solid #444;
    margin-top: -1px;
}

ul.blogfeature li {
    width: 33%;
    max-width: 257px;
    display: table-cell;
    /*border: 1px solid white;
    margin-bottom: 15px;*/
    background-color: black;
}

.borderl {
	border-right: 2px solid white;
}

.borderb {
	border-bottom: 2px solid white;
}

ul.blogfeature img {
    padding-bottom: 10px;
    z-index: 2;
    width: 100%;
    position: relative;
}

a.blog-link {
    color: #fff;
}

a.feature-link {
	padding: 5px;
	position: relative;
    bottom: 3px;
	color: #fff;
}

a:hover.blog-link, a:focus.blog-link {
    color: #fff;
}

.blogfeature .blog-link a, #blogfeature .blog-link a:hover, #blogfeature .blog-link a:focus {
    color: #fff;
}

.blog-intro {
    max-width: 210px;
    background-color: #007fb0;
    z-index: -1;
    color: #eaeaea;
    font-size: 9pt;
    position: absolute;
    padding: 5px;
    width: 100%;
    margin-left: 0.5%;
}

p.blog-title {
    padding: 5px;
    color: #fff;
    margin: 5px 0;
    font-weight: 600;
    font-size: 1.1em;
}

.sm-icons {
	text-align: right;
}

.sm-icons img {
	margin: 0px 5px;
}

.fill {
  margin-left: 1%;
}

.inline-block {
	display: inline-block;
}

.toplinks {
	padding: 4px;
	text-align: center;
}

.toplinksitem {
	display: inline-block;
	width: 18%;
	vertical-align: top;
}

.toplinksitem a {
	text-decoration: none;
}

.toplinksitem div {
	vertical-align: middle;
	display: inline-block;
	font-size: 14px;
	line-height: 16px;
	text-align: left;
}

.toplinksitem img:first-child{display:inline-block}
.toplinksitem img:nth-child(2){display:none}
.toplinksitem:hover img:first-child{display:none}
.toplinksitem:hover img:nth-child(2){display:inline-block}


@media only screen and (min-width: 1170px) {
.toplinksitem {margin-right: 5px;}

}

@media screen and (max-width: 500px)
	and (orientation: portrait)
{
	.toplinks {font-size:0.8rem;text-align:left;}
	.halfwidth: 100%;
}
