/* CONTENTS
	1. GENERAL STYLES
	2. BLOG HEADER
	3. BLOG LANDING PAGE / CATEGORY PAGE
	4. BLOG ARTICLE RENDERING PAGE
	5. BLOG ARCHIVE PAGE
----------- */

/* 1. GENERAL STYLES
----------------- */

@import url('//fonts.googleapis.com/css?family=Lato');
@import url('//fonts.googleapis.com/css?family=Roboto');

.breadcrumb {
	padding: 0 20px;
}
.trademark {
	position: relative; 
	font-size: 25%; 
	line-height: 0; 
	vertical-align: baseline; 
	top: -2.1em
	
}
.breadcrumb li a:after {
	color: #ccc;
    content: ">";
    margin-left: 5px;
}
.breadcrumb li:last-child a {
	background: none;
	font-family: Georgia, serif;
	font-style: italic;
}
.breadcrumb li:last-child a:after {
	content: "";
}
h1.blog-name, .primary-content h1.blog-name { 
	width:100%; 
	text-align:center; 
	border-bottom: 1px solid #000; 
	line-height:0.1em; 
	margin:30px 0 30px; 
    font-family: 'Lato';
    font-size: 24px;
    font-weight: 400;
	font-style: normal;
} 
h1.blog-name span { background:#fff; padding:0 10px; }

.blog-button {
	-webkit-border-radius: .5em; 
	-moz-border-radius: .5em;
	border-radius: .5em;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
	display: inline-block;
	font-size: 14px;
	line-height: 20px;
	margin: 20px 0 0;
	outline: none;
	padding: .5em 2em .5em;
	text-align: center;
	text-decoration: none;
}
.blog-button:active {
	position: relative;
	top: 1px;
}
body .blog-button-white {
	background: #ededed;
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ededed));
	background: -moz-linear-gradient(top, #fff, #ededed);
	border: 1px solid #b7b7b7;
	color: #606060;
}
body .blog-button-white:hover,
.blog-categories > li:hover > a {
	background: #dcdcdc;
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#dcdcdc));
	background: -moz-linear-gradient(top,  #fff,  #dcdcdc);
}
body .blog-button-white:active {
	backgorund: #fff;
	background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#fff));
	background: -moz-linear-gradient(top,  #ededed,  #fff);
	color: #999;
}
body .blog-button-gray {
	background: #575757;
	background: -webkit-gradient(linear, left top, left bottom, from(#888), to(#575757));
	background: -moz-linear-gradient(top, #888, #575757);
	border: 1px solid #555;
	color: #e9e9e9;
}
body .blog-button-gray:hover {
	background: #4b4b4b;
	background: -webkit-gradient(linear, left top, left bottom, from(#757575), to(#4b4b4b));
	background: -moz-linear-gradient(top,  #757575,  #4b4b4b);
}
body .blog-button-gray:active {
	background: #888;
	background: -webkit-gradient(linear, left top, left bottom, from(#575757), to(#888));
	background: -moz-linear-gradient(top,  #575757,  #888);
	color: #afafaf;
}
.blog-button-rounded {
	-webkit-border-radius: 1em;
	-moz-border-radius: 1em;
	border-radius: 1em;
	padding: 0.25em 1.5em 0.25em;
}
.spinner {
	background: url('../images/osfwordpress_spinner.gif') center center no-repeat;
	height: 48px;
	margin: 0 0 20px;
	width: 100%;
}
/* ---------------
GENERAL STYLES END */

/* 2. BLOG HEADER
----------------- */
.blog-name {
	font-size: 30px;
	line-height: 36px;
	text-align: center;
}
.blog-name a {
	color: inherit;
}
.blog-categories {
	margin: 25px 20px;
	padding: 0;
	position: relative;
	text-align: center;
}
.blog-categories > li {
	display: inline-block;
	font-size: 0;
	width: 18%;
}
.blog-categories .small-menu-item {
	width: 10%;
	display:none;
}
.blog-categories > li > a {
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	box-sizing: border-box;
	line-height: 34px;
	height: 36px;
	margin: 0;
	overflow: hidden;
	padding: 0 1.5em;
	position: relative;
	width: 100%;
}
#wrapper h2.header-blog-title {margin-bottom: 5px; font-family: Verdana,Arial,sans-serif;}
.blog-categories > li > div {
	background: #fff;
	background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#fff));
	background: -moz-linear-gradient(top, #ededed, #fff);
	border: 1px solid #b7b7b7;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
	display: none;
	font-size: 14px;
	opacity: 0;
	padding: 20px;
	position: absolute;
	top: 2.6em;
	-webkit-transiton: opacity 0.2s;
  	-moz-transition: opacity 0.2s;
  	-ms-transition: opacity 0.2s;
  	-o-transition: opacity 0.2s;
  	transition: opacity 0.2s;
	visibility: hidden;
	z-index: 2;
}
.blog-categories > li:hover > div {
	display: block;
	opacity: 1;
	visibility: visible;
}
.blog-categories > li > div ul {
	border-right: 1px solid #b7b7b7;
	float: left;
	padding: 0 20px;
}
.blog-categories > li > div ul:first-child {
	padding-left: 0;
}
.blog-categories > li > div ul:last-child {
	border-right: 0;
	padding-right: 0;
}
.blog-categories > li > div a {
	display: block;
	font-size: 12px;
	line-height: 18px;
	padding: 10px 0;
	text-align: left;
}
.blog-categories > li > div a:hover {
	text-decoration: underline;
}
.blog-categories .expandable {
	padding-right: 2.5em;
}
.blog-categories .expandable:after {
	background: url('../images/osfwordpress_arrow-down.png');
	content: "";
	display: block;
	height: 16px;
	position: absolute;
	right: 0.75em;
	top: 0.75em;
	width: 16px;
}
/* ------------
BLOG HEADER END */

/* 3. BLOG LANDING PAGE / CATEGORY PAGE
--------------------------------------- */
.blog-featured-article {
	border-bottom: 1px solid #d9d9d9;
	margin: 0 20px 20px;
	padding: 0 0 20px;
}
.blog-featured-article header {
	overflow: hidden;
	text-align: center;
}
.blog-featured-article > div {
	padding: 0 100px;
	text-align: center;
}
.blog-featured-article header img {
	max-height: 300px;
	max-width: 100%;
}
.blog-featured-article header iframe {
	height: 300px;
	width: 480px;
}
.blog-featured-article h3 {
	font-size: 22px;
	margin: 10px 0;
}
.blog-featured-article h3 a {
	color: inherit;
}
.featured-article-categories a:after,
.blog-article-categories a:after,
.blog-article-tags a:after,
.category-title a:after {
	content: ",";
}
.featured-article-categories a:last-child:after,
.blog-article-categories a:last-child:after,
.blog-article-tags a:last-child:after,
.category-title a:last-child:after {
	content: "";
}
.blog-featured-article p {
	font-size: 14px;
	line-height: 20px;
	margin: 5px 0;	
}
.blog-featured-article .short-description {
	margin: 20px 0 0;
	text-align: justify;
}
.primary-content .blog-category-name,
.primary-content .blog-archive-title {
	font-size: 24px;
	line-height: 30px;
	margin: 0 0 25px;
	text-align: center;
	text-transform: capitalize;
}
.blog-articles,
.blog-archive-articles {
	float: left;
	margin: 0 0 0 20px;
	padding: 0 35px 0 0;
	text-align: center;
	width: 100%;
}
.blog-articles article.article-left {
	width: 62%;
	float: left;
	@media screen and (min-device-width:768px) and (max-width: 1024px){
		width: 96%;
		float: none;
	}	
	margin-right: 2%
}
.blog-articles article.article-right {
	width: 30%;
	@media screen and (min-device-width:768px) and (max-width: 1024px){
		width: 47%;
	}
	margin-right: 2%;
}

.blog-articles article,.blog-articles article-asset,
.blog-archive-articles article,.blog-archive-articles article-asset {
	border-bottom: 1px solid #d9d9d9;
	background-color: #eeeeee;
	margin: 0 0 20px;
	padding: 10px 0 10px;
	text-align: left;
	float: left;
    margin-right: 2%;
    width: 30%;
    height: 384px;
    overflow: hidden;
}
.blog-articles article:last-child,
.blog-archive-articles article:last-child {
	border: none;
}
.blog-articles article p {
	margin: 5px 0;
}
.blog-articles article img,
.blog-articles article iframe {
	margin: 5px 0;
	max-height: 280px;
	max-width: 100%;
	width: 100%;
    height: 280px;
}
.blog-articles article iframe {
	height: 200px;
	width: 320px;
}
.blog-articles article p {
	font-size: 14px;
	line-height: 20px;
}
.blog-articles article p.description a {
	font-size: 16px;
	font-family: 'Roboto';
	font-weight: 400;
	font-style: normal;
	text-decoration: none;
	color: #3d3d3d;
}
	
	
.blog-articles article div.wrapper {
    margin: 0 auto;
    width: 90%;center;
}


.blog-articles article h4 {
	font-size: 18px;
	line-height: 24px;
	margin: 10px 0;
	text-decoration: none;
}
.blog-articles article h4 a {
    font-family: 'Lato';
    font-size: 24px;
    font-weight: 400;
	font-style: normal;
    color: #3d3d3d;
    text-decoration: none;
}

.footer-sharing {
	font-family:'Roboto';
	font-size: 16px;
	color:#3d3d3d;
	position:absolute;
	left:-40px; 
	top:-29px;
}

.blog-show {
	display:none;
	position:relative;
}

.blog-articles article .short-description {
	padding: 0 10px;
	text-align: justify;
}
.blog-articles article .blog-button {
	font-size: 12px;
	line-height: 18px;
	margin: 10px 0 0;
}
.blog-articles .load-more,
.blog-archive-articles .load-more {
	margin: 0;
	padding: 10px 2em;
	background: #ed1c24; 
	color: white;
	text-decoration: none;
	border-radius: 0;
    text-transform: uppercase;
}
.blog-popular-posts,
.blog-archive-menu {
	float: right;
	margin: 0 20px 0 0;
	text-align: center;
	width: 300px;
}
.popular-posts-title {
	font-size: 18px;
	line-height: 24px;
	margin: 5px 0 15px;
	text-transform: uppercase;
}
.blog-popular-posts article {
	border-bottom: 1px solid #d9d9d9;
	margin: 0 0 20px;
	padding: 0 5px 10px;
	text-align: center;
}
.blog-popular-posts article:last-child {
	border: none;
}
.blog-popular-posts article .date {
	font-size: 12px;
	line-height: 18px;
	margin: 5px 0;
}
.blog-popular-posts article h5 {
	font-size: 14px;
	line-height: 20px;
	margin: 0;
}
.blog-popular-posts article h5 a {
	color: inherit;
}
.blog-popular-posts article img {
	max-height: 150px;
	max-width: 100%;
}
.blog-popular-posts article iframe {
	height: 150px;
	width: 240px;
}
/* ----------------------------------
BLOG LANDING PAGE / CATEGORY PAGE END */

/* 4.BLOG ARTICLE RENDERING PAGE
------------------------------ */
.content-asset .blog-content-asset p {
    font-family: 'Roboto';
    font-weight: 400;
	font-style: normal;
    font-size: 16px;
    color: #3d3d3d;
    margin: 0;
}
.blog-content-asset h2.background{
	margin-bottom: 15px;
}
.blog-content-asset h3.background {
	margin: 15px 0px 10px 0px;
}

@media (max-width: 767px) {
	.blog-content-asset h3.background {
		font-size: 24px;
		margin: 15px 0px 5px 0px;
		text-align: center;
		text-transform: uppercase;
	}
}
#primary-osf .blog-subHeader a, #primary-osf .header-blog-title a, #primary-osf .blog-subHeader a:hover{
    text-decoration: none;
    color: #000;
}
.blog-subHeader {text-align: center; margin: 0 0 0.714em;}
.blog-subHeader span {
	text-transform: uppercase;
    font-size: 16px;
	font-weight: 600;
}
.blog-content-asset .blog-assets h2.background{
	margin-top: 15px;
}
.primary-content h1.blog-article-title, h1.blog-article-title {
	font-size:24px;
	font-family: 'Lato';
	font-weight: 400;
	text-transform: capitalize;
	color: #3d3d3d;
	line-height: 31px;
}
h2.blog-article-subtitle {
	font-size:16px;
	font-family: 'Roboto';
	font-weight: 700;
	text-transform: capitalize;
	color: #3d3d3d;
	line-height: 21px;
}
.content-asset .blog-content-asset p.blog-article-title {
    margin: 10px 0;
    font-size: 24px;
    font-family: 'Lato';
}

.blog-content-asset .asset-body {
	background-color: #eeeeee;
	padding: 15px 15px;
    margin-bottom: 20px;
}
.blog-content-asset .socialshare_menu .fd-icon {
    width: 19%;
    text-align: center;
    font-size: 35px;
    color: rgb(90,90,90);
}
.socialshare_menu {
    width: 36%;
    text-align: center;
    margin: 0 auto;
}

.blog-content-asset  .socialshare_menu div {
    display: inline;
}

.blog-content-asset-orig header {
	margin: 0;
	overflow: hidden;
	position: relative;
}

.blog-article-date {
	float: left;
	margin-right: 20px;
}
.blog-article-categories {
	float: right;	
}
.blog-content-asset p,
.blog-content-asset ul,
.blog-content-asset ol,
.blog-content-asset code {
	font-size: 16px;
}
.blog-content-asset blockquote {
	margin: 0;
}
.blog-content-asset img {
	max-width: 100%;	
}
.blog-related-posts {
	overflow: hidden;
	padding: 10px 0 0;
	font-family: 'Roboto';
    font-size: 16px;
    font-weight: 400;
	font-style: normal;
    color: #3d3d3d;
}
.blog-related-posts .blog-related-posts-title {
	font-size: 22px;
	font-weight: bold;
	line-height: 28px;
	margin: 0 0 15px;
	text-align: center;
	text-transform: capitalize;
}
.osf-inspiration-articles h2.background span {
	color: #000;
}
.blog-inspiration a  {
	color: #3d3d3d;
}
.blog-inspiration > div{
	background-color: #eeeeee;
    margin: 0 5px 0 4px;
    padding: 10px 0 10px;
    text-align: left;
    float: left;
    width: 24%;
    height: 270px;
    overflow: hidden;
}

.blog-inspiration div.wrapper {
    margin: 0 auto;
    width: 90%;
    overflow: hidden;
}

.blog-related-posts > div {
	background-color: #eeeeee;
    margin: 0 1.6% 0 1.7%;
    padding: 10px 0 10px;
    text-align: left;
    float: left;
    width: 30%;
    height: 384px;
    overflow: hidden;
}
.blog-assets > div {
	background-color: #eeeeee;
    margin: 0 1.6% 0 1.7%;
    padding: 10px 0 10px;
    text-align: left;
    float: left;
    width: 30%;
    height: 315px;
    overflow: hidden;
}
.blog-related-posts .wrapper, .blog-assets .wrapper, .blog-assets .content-asset {
    width: 90%;
    margin: 0 auto;
}

.blog-assets h2.background span, .blog-related-posts  h2.background span, .blog-assets h3.background span, .blog-related-posts  h3.background span {
	color: #ed1c24;
    font-family: 'Lato';
}
.blog-assets h2  {
    padding: 0;
    color: #6b6b6b;
}
.blog-assets h4 {
	font-size: 20px;
	font-weight: bold;
	margin: 10px 0px 0px 0px;
}
.blog-assets p  {
    color: #6b6b6b;
}
.blog-related-posts h2 {
	padding: 10px 0;
}
.blog-related-posts > div > a {
	display: block;
	height-x: 150px;
}
/* ghost element to allow the vertical centering of the contained image */
.blog-related-posts > div > a:before {
  	display: inline-block;
  	height: 100%;
  	vertical-align: middle;
  	margin-right: -0.25em;
}
.blog-related-posts > div img {
	display: inline-block;
	max-height: 280px;
	max-width: 100%;
	vertical-align: middle;
	height: 87%;
}
.blog-related-posts iframe {
	display: inline-block;
	height: 150px;
	vertical-align: middle;
	width: 230px;
}
.blog-related-posts .date {
	font-family: 'Roboto';
    font-size: 16px;
    font-weight: 400;
	font-style: normal;
    color: #3d3d3d;
	line-height: 20px;
	margin: 5px 0;
}
.blog-related-posts p.description {
	font-family: 'Roboto';
	font-weight: 400;
	font-style: normal;
    font-size: 16px;
    color: #3d3d3d;
    margin-top: 5px;
}
.blog-related-posts h5 {
	margin: 10px 0px 0px 0px;
	height: 65px;
	
}
#primary-osf .blog-related-posts h5 a {
	font-family: 'Lato';
    font-size: 20px;
    font-weight: bold;
	font-style: normal;
    color: #3d3d3d;
    text-decoration: none;
}
#primary-osf a {
    text-decoration: underline;
}
/* ----------------------------
BLOG ARTICLE RENDERING PAGE END */

/* 5. BLOG ARCHIVE PAGE
-------------------- */
.blog-subtitle {
	font-size: 16px;
	font-weight: bold;
	line-height: 22px;
	margin: 5px 0 25px;
	text-align: center;
}
.blog-archive-articles {
	width: 700px;
}
.blog-archive-articles article {
	overflow: hidden;
	text-align: center;
	height: 320px;
}
.blog-archive-articles article > a {
	font-size: 0;
	width: 200px;
}
.blog-archive-articles article > a img {
	max-height: 280px;
	max-width: 100%;
    width: 92%;
    height: 280px;
}
.blog-archive-articles article iframe {
	float: left;
	height: 150px;
	width: 200px;
}
.blog-archive-articles article > div {
	width: auto;
}
.blog-archive-articles article > div h4 {
	font-size: 14px;
	line-height: 20px;
	margin: 2px 0 15px;
}
.blog-archive-articles article > div h4 a {
	color: inherit;
}
.blog-archive-articles article > div p {
	font-size: 12px;
	line-height: 18px;
	margin: 0;
}
.blog-archive-articles article > div .date {
	margin: 0 0 5px;
}
.blog-archive-articles .more {
	font-size: 12px;
	line-height: 18px;
}
.blog-archive-articles .more:after {
	content: '...';
}
.blog-archive-menu {
	padding: 0;
	text-align: left;
	width: 150px;
}
.blog-archive-menu a {
	color: #000;
	font-size: 14px;
	font-weight: bold;
	line-height: 20px;
	text-decoration: underline;
}
.blog-archive-menu a:hover,
.blog-archive-menu a.active {
	text-decoration: none;
}
.blog-archive-menu > ul {
	margin: 0 0 15px;
	padding: 0 0 0 25px;
}
.blog-content-asset header p.blog-article-date {
    display: none;
}
.blog-content-asset header p.blog-article-categories {
    display: none;
}
	    
@media screen and (min-device-width:768px) and (max-width: 1024px){
	.blog-articles article,.blog-articles article-asset,
	.blog-archive-articles article,.blog-archive-articles article-asset {    	
		width: 47%;
    }    	
    .blog-articles article.article-left {
		width: 96%;
		float: none;
	}
	.blog-articles article.article-right {
		width: 47%;
	}
	.blog-related-posts > div {width:30%;}
	.socialshare_menu { width: 60%;}
}

@media screen and (max-width:767px) {
	
	.blog-inspiration > div {
	    width: 100%;
	    margin: 5px 5px;
	    height: auto;
	}
	.blog-article-tags {
 	   padding-bottom: 20px;
	}
	.socialshare_menu {width: 100%;}
	.blog-articles, .blog-archive-articles {width:94%;     margin: 0 0 0 15px;}
	.blog-related-posts > div,.blog-assets > div{
    	width: 100%;
    	margin: 10px auto 0px auto;
    	height: auto;
	}
	.blog-assets > div {
		padding: 10px 20px;
		box-sizing: border-box;
	}
	.blog-assets img, .blog-related-posts > div img {width: 100%;}
	.blog-related-posts, .blog-assets { padding: 0px 10px; }
	.blog-articles article,.blog-articles article-asset,
	.blog-archive-articles article,.blog-archive-articles article-asset,
    .blog-articles article.article-left, .blog-articles article.article-right  {
		width: 96%;
	}
	.blog-categories > li { width: 38%;}
	.blog-categories .small-menu-item {width: 21%;}
	.blog-categories > li > a {padding: 0 0.3em;}
	
	h2.background {
	    font-size: 33px;
	    margin-top: 30px;
	    text-align: center;
	    text-transform: uppercase;
	}
	
}

 
/* ------------------
BLOG ARCHIVE PAGE END */

/*-------------
Client asked for header to use same styles in asset, quick-and-easy, so the following css was pulled directly from asset
*/



@media (min-width: 767px) and (max-width: 991px) {
	h2.background, h3.background {
		position: relative;
		z-index: 1;
		margin-bottom: 0px;
		margin-top: 0px;
		font-size: 33px;
		text-align: center;
		text-transform: uppercase;
	}
	h2.background:before, h3.background:before {
		border-top: 1px solid #d6d6d6;
		content: "";
		margin: 0 auto;
		/* this centers the line to the full width specified */
		position: absolute;
		/* positioning must be absolute here, and relative positioning must be applied to the parent */
		top: 50%;
		left: 0;
		right: 0;
		bottom: 0;
		width: 95%;
		z-index: -1;
	}
	h2.background span, h3.background span {
		/* to hide the lines from behind the text, you have to set the background color the same as the container */
		background: #fff;
		font-weight: 600;
		font-size: 38px;
		padding: 0 15px;
		color: black;
	}
}
@media (min-width: 992px) and (max-width: 1199px) {
	h2.background, h3.background {
		position: relative;
		z-index: 1;
		margin-bottom: 0px;
		margin-top: 0px;
		font-size: 33px;
		text-align: center;
		text-transform: uppercase;
	}
	h2.background:before, h3.background:before {
		border-top: 1px solid #d6d6d6;
		content: "";
		margin: 0 auto;
		/* this centers the line to the full width specified */
		position: absolute;
		/* positioning must be absolute here, and relative positioning must be applied to the parent */
		top: 50%;
		left: 0;
		right: 0;
		bottom: 0;
		width: 95%;
		z-index: -1;
	}
	h2.background span, h3.background span {
		/* to hide the lines from behind the text, you have to set the background color the same as the container */
		background: #fff;
		font-weight: 600;
		font-size: 38px;
		padding: 0 15px;
		color: black;
	}
}
@media (min-width: 1200px) {
	h2.background, h3.background {
		position: relative;
		z-index: 0;
		margin-bottom: 20px;
		margin-top: 0px;
		font-size: 33px;
		text-align: center;
		text-transform: uppercase;
	}
	h2.background:before, h3.background:before {
		border-top: 1px solid #d6d6d6;
		content: "";
		margin: 0 auto;
		/* this centers the line to the full width specified */
		position: absolute;
		/* positioning must be absolute here, and relative positioning must be applied to the parent */
		top: 50%;
		left: 0;
		right: 0;
		bottom: 0;
		width: 95%;
		z-index: -1;
	}
	h2.background span, h3.background span {
		/* to hide the lines from behind the text, you have to set the background color the same as the container */
		background: #fff;
		font-weight: 600;
		font-size: 38px;
		padding: 0 15px;
		color: black;
	}
}
