/*
Theme Name:     TekRevue
Theme URI:      http://webdevstudios.com
Description:    Custom theme for James Tanous
Author:         WebDev Studios
Author URI:     http://webdevstudios.com/
Version:        1.0
Template:		startbox
*/

/*----- Zebra Striping -----*/
#wrap, #footer_wrap {
/*	overflow: visible;*/
	width: 100%;
}
#wrap {
	margin: 0 auto 10px auto;
}
#header_wrap, 
#footer_wrap {
	background: url(img/subtle_carbon.png) #000;;
}
#header {
	margin: 0 auto;
	max-width: 960px;
	width: 100%;
}
.nav-wrap {
	background: url(img/binding_dark.png) #222;
	border-top: solid 1px #444;
	border-bottom: solid 2px #444;
	-webkit-box-shadow: 0px 5px 10px rgba(125, 125, 125, 0.3);
	-moz-box-shadow:    0px 5px 10px rgba(125, 125, 125, 0.3);
	box-shadow:         0px 5px 10px rgba(125, 125, 125, 0.3);
	margin: 0 0 10px 0;
	padding: 3px 0 0px 0;
}
.nav-wrap .nav-primary {
	margin: 0 auto;
	max-width: 960px;
	width: 100%;	
}
.nav-wrap .nav {
	border-bottom: none;
}
.post-type-archive-tip .nav-primary, 
.tax-tip_sections .nav-primary,
.single-tip .nav-primary {
	-webkit-box-shadow: none;
	-moz-box-shadow:    none;
	box-shadow:         none;
	
}
.nav-primary ul,
.nav-secondary ul {
	margin: 0 auto;
	max-width: 960px;
	width: auto;
	text-align: center;
}
#container_wrap {
	margin: 30px auto 0;
	max-width: 960px;
	width: 100%;
}
#footer_wrap {
	-webkit-box-shadow: 0 -5px 7px rgba(125,125,125,0.75);
	-moz-box-shadow: 0 -5px 7px rgba(125,125,125,0.75);
	box-shadow: 0 -5px 7px rgba(125,125,125,0.75);	
}
div#footer {
	margin: 0 auto;
	max-width: 960px;
	width: 100%;
}
#footer_sidebar {
	padding: 20px 0 0 0;
}

/*----- Self-clearing -----*/
#header_wrap:after,
#header:after,
#header-widget .widget.sb_social_widget:after,
.nav-primary ul:after,
.nav-secondary ul:after,
#featured_wrap:after,
#container_wrap:after,
.entry-content:after,
.author-info:after,
#footer_wrap:after,
#footer:after,
#footer_sidebar:after,
#header-widget .widget.textwidget:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	overflow: hidden;
}

/*----- Overloads -----*/
body {
	color: #555;
	font-family: "nimbus-sans", sans-serif;
	font-size: 12px;
}
h1, h2, h3, h4, h5, h6 {
	font-family: "nimbus-sans-condensed", sans-serif;
	font-weight: bold;
	line-height: 1.2em;
	/* text-transform: uppercase; */
}
#header h1 {
	margin-bottom: .5em;
	font-size: 1.8em;
}
a, a:visited {
	color: #2b95c1;
}
.layout-two-col-right div#primary, .layout-two-col-right div#secondary, .layout-two-col-right div#tertiary {
	width: 240px;
}
.single.layout-two-col-right div#primary,
.single.layout-two-col-right div#secondary,
.single.layout-two-col-right div#tertiary {
	margin-top: 40px;
}

.layout-two-col-right div#content {
margin: 0 260px 0 0;
}
pre {
	overflow-x: scroll;
}
#logo {
	margin: 0;
	padding: 20px 0;
	max-width: 39.5%;	
}
#site-title img {
	height: auto;
	width: 100%;
}
#header-widget {
	color: #969696;
	float: right;
	font-size: 0;
	padding-top: 45px;
	text-align: right;	
	width: 60%;
}
#header-widget .widget.textwidget {
	display: inline-block;
	margin: 0 0 5px 0;
	padding: 0;
	vertical-align: top;	
	width: auto;
}
#header-widget .widget.sb_search_widget {
	display: inline-block;
	margin: 0 0 0 0;
	padding: 0;
	vertical-align: top;
	width: 50%;
}
#header-widget .textwidget ul {
	border: none;
}
#header-widget .widget.widget_text {
	display: inline-block;
	width: auto;	
}
#header-widget .textwidget li {
	display: inline-block;
	margin-left: .1em;
}
#header-widget .textwidget li a {
	border: none;
	display: inline;
	padding: 0;
}
#header-widget .textwidget li a img {
	margin: 0 0 0 5px;
	width: 30px;
	height: auto;	
}
#header-widget .sb_search_widget .searchtext {
	margin: 0 -1px 0 0;
	border-top: solid 1px #999;
	border-left: solid 1px #999;
	border-bottom: solid 1px #999;
	-moz-border-radius-topleft: 3px;
	-webkit-border-top-left-radius: 3px;
	 border-top-left-radius: 3px;
	-moz-border-radius-bottomleft: 3px;
	-webkit-border-bottom-left-radius: 3px;
	border-bottom-left-radius: 3px;	
	-webkit-box-shadow: -5px 0px 4px rgba(80, 80, 80, .5), inset 0 0 5px #888;
	-moz-box-shadow:    -5px 0px 4px rgba(80, 80, 80, .5), inset 0 0 5px #888;
	box-shadow:         -5px 0px 4px rgba(80, 80, 80, .5), inset 0 0 5px #888;	
	background: #CCC;
	color: #000 !important;
	display: inline-block;
	font-size: 14px;
	font-weight: bold;
	padding: 5px 5px 4px 5px;
	vertical-align: top;
	width: 80%;
}
#header-widget .sb_search_widget .button {
	background: url(img/search-button.png) -1px -1px no-repeat;
	-moz-border-radius-topright: 3px;
	-webkit-border-top-right-radius: 3px;
	border-top-right-radius: 3px;
	-moz-border-radius-bottomright: 3px;
	-webkit-border-bottom-right-radius: 3px;
	border-bottom-right-radius: 3px;
	-moz-border-radius-bottomleft: 0px;
	-webkit-border-bottom-left-radius: 0px;
	border-bottom-left-radius: 0px;
	-moz-border-radius-topleft: 0px;
	-webkit-border-top-left-radius: 0px;
	border-top-left-radius: 0px;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;	
	border: none;
	display: inline-block;
	height: 30px;
	padding: 0;
	overflow: hidden;
	width: 30px;
	vertical-align: top;
}
.nav {
	font-family: "nimbus-sans-condensed", sans-serif;
	font-size: 19px;
	font-weight: 400;
	text-transform: uppercase;
}
.nav-primary li {
	padding-top: 5px;
	display: inline;
	float: none;
}
.nav-secondary {
	background: #333;
	border-bottom: 2px solid #444;
	-webkit-box-shadow: 0px 5px 10px rgba(125, 125, 125, 0.3);
	-moz-box-shadow:    0px 5px 10px rgba(125, 125, 125, 0.3);
	box-shadow:         0px 5px 10px rgba(125, 125, 125, 0.3);
	font-size: 16px;
	margin: -10px auto 10px auto;	
}
.nav li a, .nav li a:visited {
	color: #FFF;
	padding: 0;
	margin: 0 15px 0 0;
}
.nav-secondary .sub-menu {
	-webkit-box-shadow: 1px 1px 3px rgba(125, 125, 125, 0.3);
	-moz-box-shadow:    1px 1px 3px rgba(125, 125, 125, 0.3);
	box-shadow:         1px 1px 3px rgba(125, 125, 125, 0.3);		
}
.nav .sub-menu a {
	font-size: 14px;
	margin: 0;
	padding-left: 15px;
}
body .nav li:hover a,
body .nav li:hover a:visited,
body .nav li a:hover,
body .nav li a:active,
body .nav li a:focus,
body .nav li.current-menu-item a,
body .nav li.current-menu-item a:visited,
body .nav li.current-menu-ancestor a,
body .nav li.current-menu-ancestor a:visited,
body .nav li li.current-menu-item a
	 {
 	color: #2b95c1; 
	border-bottom: none;
}
body .nav li li a,
body .nav li:hover li a,
body .nav li.current-menu-item a, {
	background: #2b95c1;
	color: #FFF;
	text-transform: uppercase;
}
body .nav li:hover li a{
	color: #FFF;
}
body .nav li:hover li a:hover,
body .nav li:hover li a:active {
	background:#2b95c1;
	color: #FFF;	
}
.nav li ul, .nav li:hover li ul {
	top: 32px;
}
#secondary_nav li {
	padding-bottom: 2px;
	display: inline-block;
	float: none;	
}
#secondary_nav .sub-menu li {
	padding-bottom: 0;
	display: block;
}
#secondary_nav .sub-menu a{
	background: #444;
	color: #FFF;
	padding-left: 0;
}
#secondary_nav .sub-menu a:hover {
	background:#2b95c1;
	color: #FFF;		
}
.page-title,
.page .hentry .page-title {
 	display: none;
}
.hentry .page-title,
.home .page-title,
.archive.author .page-title {
 	display: block; 
}
div.post,
div.tip {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 45px;
	position: relative;
}
.single div.tip {
	margin-bottom: 0;
}
.single .page-title {
	font-size: 40px;
	font-weight: bold;
}
.hentry {
	position: relative;
}
.entry-header h2 {
	clear: none;
}
h2.entry-title {
	font-size: 24px;
	font-weight: bold;
	padding-right: 30px;
}
.entry-meta {
	color: #CCC;
	font-size: 10px;
	text-transform: uppercase;
}
.entry-meta a {
	color: #CCC;
}
.single .entry-meta {
	color: #999;
	font-size: 13px;	
}
.single .entry-meta a {
	color: #999;
}
.entry-photo {
	float: left;
	margin: 0 10px 0 0;
}
.entry-photo img {
	border-top: solid 2px #CCC;
	border-left: solid 2px #CCC;
	border-right: solid 2px #CCC;		
}
.entry-content {
	font-size: 14px;
	line-height: 21px;
}
.archive .entry-content, 
.home .entry-content,
.search .entry-content {
	margin-left: 215px;
}
.single .entry-content {
	font-size: 15px;
	line-height: 22px;
}
.single .entry-content img {
	height: auto;
	max-width: 100%;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-bottom: .25em;
}
.entry-content h3 {
	font-size: 1.6em;
}
blockquote {
	color: #5a5e62;
	/* font-family: 'Open Sans', sans-serif; */
	font-style: italic;
	line-height: 24px;
	padding: 0 5%;
	margin: 0;
}
.wp-caption {
	background: none;
	border: none;
	color: #888;
	font-family: 'nimbus-sans-condensed',sans-serif;
}
.box.info {
	background: #FFF;
	border-bottom: solid 5px #BBB;
	border-top: solid 5px #BBB;
	color: #2b95c1;
	float: right;
	font-family: 'nimbus-sans', sans-serif;
	font-size: 16px;
	text-align: center;
	margin: 15px 0 15px 15px;
	text-transform: uppercase;
	width: 195px;
	font-weight: bold;
}
.box.infoleft {
	background: #FFF;
	border-bottom: solid 5px #BBB;
	border-top: solid 5px #BBB;
	color: #2b95c1;
	float: left;
	font-family: 'nimbus-sans', sans-serif;
	font-size: 16px;
	text-align: center;
	margin: 15px 15px 15px 0;
	text-transform: uppercase;
	width: 195px;
	font-weight: bold;
}
.box.note {
	background: none;
	border: none;
	display: block;
	font-family: 'nimbus-sans-condensed', sans-serif;	
	color: #5a5e62;
	padding: 10px 20px;
	position: relative;
	clear: both;
	font-style: italic;	
	line-height: 30px;
	font-size: 24px;
	margin-bottom: 18px;
	text-align: center;
	padding: 0 5%;
}
.more-link {
	clear: none;
}
.entry-footer {
	margin-top: -5px;
}
.single .entry-footer {
	height: 55px;	
}
.post-categories {
	display: inline-block;
	list-style: none;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
	vertical-align: top;
}
.entry-footer span.tags {
	display: block;
	float: left;
	margin-right: -60px;
	width: auto;
}
.post-tags {
	float: left;
	list-style: none;
	margin: 0 120px 0 47px;
	padding: 0;
	text-transform: uppercase;
	vertical-align: top;
}
.post-categories li {
	background: #CCC;
	display: inline-block;
	margin: 0 0 3px 0;
	padding: 3px 5px;
	vertical-align: top;
	width: auto;
} 
.post-tags li {
	background: #CCC;
	display: inline-block;
	margin: 0 3px 3px 0;
	padding: 3px 5px;
	vertical-align: top;
	width: auto;
}
.post-categories a,
.post-tags a {
	color: #FFF;
	font-size: 12px;
}
#nav-below {
	margin: 20px 0;
}
#nav-below a {
	background: #2b95c1;
	color: #FFF;
	display: inline-block;
	font-size: 12px;
	
	text-transform: uppercase;
	padding: 4px 5px;
}
#nav-below a:hover {
	background: #29abe2;
}
.single #nav-below {
	display: none;
}
#comments {
	padding-top: 20px;	
}
li.widget {
	margin-bottom: 5px;
	padding-bottom: 30px;
}
h3.widget-title {
	color: #333;
	font-size: 20px;
	font-weight: normal;
}
.widget + div {
	background: #f7f7f7;
	border: solid 2px #CCC;
}
.widget ul {
	border-top: none;
}
.widget li a, .widget li a:visited {
	border-top: none;
	border-bottom: solid 1px #CCC;
}
.widget li:last-child a, .widget li:last-child a:visited {
	border-bottom: none;
}
.widget .featured-item {
	border-top: none;
	padding: 10px 0;
}
.widget .featured-item a.featured-title {
	color: #000;
	font-size: 14px;
	font-weight: normal;
	line-height: 1.25em;
}
.widget .featured-item a.featured-title:hover {
	color: #2b95c1;
}
.aside .xoxo .sb_featured_content_widget h3 {
	border-bottom: none;
}
.aside .xoxo .sb_featured_content_widget ul {
	background: #f7f7f7;
	border: solid 2px #CCC;
	padding: 10px;
}
.featured-meta {
	font-size: 10px;
}
.featured-meta .entry-categories {
	background: rgba(43,149,193,.8);
	bottom: 10px;	
	left: 0;
	position: absolute;
	text-align: center;
	width: 75px;
}
.featured-meta a { 
	color: #FFF;
}
/*----- Anticipate Archives and Category widgets with post counts -----*/
.widget.widget_archive li {
	padding:5px;
}
.widget.widget_archive li:hover {
	background: #111;
	color: #fff;
}
.widget.widget_archive li a,
.widget.widget_archive li a:visited,
.widget.widget_categories li a,
.widget.widget_categories li a:visited {
	display: inline;
	padding: inherit;
	border-top: none;
	border-bottom: none;
}

.widget.widget_categories li {
	padding:5px;
}
.widget.widget_categories li: hover {
	background: #FFF;
	color: #fff;
}
.widget.widget_categories li a:visited {
	display: inline;
	padding: inherit;
}
.widget.widget_recent_comments li a {
	display: inline;
}
.sb_tagcloud_widget a {
	background: #2a9bf0;
	color: #FFF;	
	display: inline-block;
	font-size: 20px;
	margin: 0 2px 2px 0;
	padding: 8px 10px;
	vertical-align: top;

}
#footer h3.widget-title {
	border-bottom: none;
	color: #FFF;
	font-size: 18px;
}
#footer .widget div {
	background: none;
	border: none;
	color: #FFF;
}
#footer li.widget {
	border-bottom: none;
	padding-bottom: 0;
}
.footer_text {
	color: #CCC;
}
.footer_text a,
.footer_text a:visited,
.footer_text a:hover, {
	color: #CCC;
}

/*----- Forums -----*/
.forum-archive.archive .entry-content {
	margin-left: 0;
}
.forum-archive .page-title span {
	display: none;
}

/*----- Customs -----*/
#leaderboard-widget {
	float: none;
	margin: 0 auto;
	max-width: 960px;
	width: 100%;
}
#leaderboard-widget .textwidget {
	text-align: center;
}
#leaderboard-widget li.widget {
	margin-bottom: 0;
	padding: 20px 0;
}
#featured_wrap {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box; 
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 959px;
	width: 100%;
}
#featured_wrap h1 {
	text-transform: uppercase;
}
#featured_wrap .post {
	float: left;
	position: relative;
	height: 295px;
	width: 25%;
max-width: 25%;
	margin-bottom: 0;
}
#featured_wrap .featured-1 {
	width: 49.5%;
	max-width: 49.5%;
	overflow: hidden;
}
#featured_wrap .featured-2 {
	margin: 0 .25%;
}
#featured_wrap img {
	border-top: solid 4px #16b1f4;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}
#featured_wrap .info {
	position: absolute;
	bottom: 0;
	width: 100%;	
	z-index: 2;	
}
/*#featured_wrap span {
	background: #2b95c1;
	color: #FFF;
	font-size: 14px;
	font-weight: bold;
	padding: 5px 10px;
	text-transform: uppercase;
}*/
#featured_wrap h1 {
	background: rgba(0,0,0,.6);
	color: #FFF;
	font-size: 18px;
	font-weight: normal;
	margin-bottom: 0;
}
#featured_wrap h1 a {
	display: block;
}
#featured_wrap h1 a, #featured_wrap h1 a:visited, #featured_wrap h1 a:hover, #featured_wrap span a, #featured_wrap span a:visited, 

#featured_wrap span a:hover {
	color: #FFF;
	display: block;
	padding: 10px;	
}
.postcats {
	background: #2b95c1;
	border-bottom: 2px solid #CCC;
	border-left: 2px solid #CCC;
	border-right: 2px solid #CCC;
	color: #FFF;
	clear: left;
	float: left;
	font-weight: bolder;
	font-size: 11px;
	margin-top: 0;
	padding: 0 4px;
	text-transform: uppercase;
	width: 192px;	
}
.postcats a, .postcats a:visited, .postcats a:hover {
	color: #FFF;
}
.pros {
	background: #D8D8D8 url('img/pro.png') -10px -10px no-repeat;
	float: left;
	font-family: "Open Sans", sans-serif;	
	height: 200px;
	margin-bottom: 10px;
	overflow: hidden;
	width: 49.5%;
}
.cons {
	background: #D8D8D8 url('img/con.png') -10px -10px no-repeat;
	float: right;
	font-family: "Open Sans", sans-serif;	
	height: 200px;	
	margin-bottom: 10px;	
	overflow: hidden;
	width: 49.5%;	
}
.pros h3, .cons h3 {
	padding: 13px 0 0 40px;
	margin: 0;
}
.pros ul, .cons ul {
	list-style: square;
	margin: 0;
	padding-bottom: 25px;
}
.pros li, .cons li {
	padding-left: 0px;
	margin-left: 60px;
	margin-right: 20px
}
.cons:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;	
}
.custom-source {
	margin: 20px 0 0 0;
}
.custom-via {
	margin: 0;
}
.custom-source span,
.custom-via span,
span.categories, 
span.tags {
	background: #2b95c1;
	color: #FFF;
	display: inline-block;
	margin: 0;
	padding: 3px 5px;
	vertical-align: top;
	text-transform: uppercase;
	width: auto;
}
.custom-source a,
.custom-via a {
	background: #CCC;
	color: #FFF;
	display: inline-block;	
	margin: 0 5px 3px 0;
	padding: 3px 5px;	
	vertical-align: top;	
	text-transform: uppercase;		
	width: auto;
}
.custom-source a:visited, .custom-source a:hover, .custom-via a:visited, .custom-via a:hover {
	color: #FFF;
}




/* Sticky plugin */
#sticker {
	width: 100%;
	z-index: 1000;

}
.is-sticky #sticker {

}
.admin-bar .is-sticky #sticker {
	margin-top:25px !important;
}
#sticker-sticky-wrapper {
	width: 100%;
	margin: 0 auto;
}
#primary_nav .menu-item-home {
	background: url('img/logo-white-sm.png') 0 -3px no-repeat;
	display: none;
	height: 35px;
	width: 160px;
	margin-right: 15px;
}
#primary_nav .menu-item-home a {
	display: inline-block;
	text-indent: -9999px;	
	width: 160px;
	border: none !important;
}
.is-sticky #primary_nav .menu-item-home {
	display: inline;
}
.is-sticky .nav-wrap {
	padding: 7px 0 0px 0;
}
.is-sticky .nav-primary {
	padding: 1px 0 2px 0;
}
.is-sticky #secondary_nav {
	height: 25px;
}
.is-sticky .nav-secondary {
	height: 25px;
}
.is-sticky #secondary_nav li {
	height: 25px;
}
.is-sticky #secondary_nav a {
	line-height: 25px;
}
.is-sticky .nav li ul {
	top: 25px;
}

/*----- Social Sharing Toolkit -----*/

.entry-footer div.mr_social_sharing_wrapper {
	height: auto; 
	width: auto;
	margin: 4px 0;
	padding: 0;
	border: 0;
	line-height: 0;
	text-align: right;
}
.entry-footer span.mr_social_sharing {
	background: transparent;
}
span.mr_social_sharing iframe.twitter-share-button {
	margin-left: -30px;
}
/*----- Authors Index -----*/
.author-container {
    border: solid 2px #CCC;
    color: #BBB;
	clear: both;
	font-size: 12px;
	margin-bottom: 20px;
}
.author-info {
    background: #f7f7f7;
    border-bottom: solid 2px #CCC;
    color: #333;
    margin-bottom: 10px;
    padding: 5px;
}
.author-info img  {
    border: solid 2px #CCC;
	float: left;
	margin: 0 5px 0 0;
}
.author-info h3 {
	clear: none;
}
.author-container ul {
	clear: both;
	list-style: none;
	margin: 0;
	padding-left: 90px;
	padding-bottom: 10px;
}
.author-container li {
	margin-bottom: 5px;
}
.author-container li span {
	padding-left: 12px;
}
.author-container ul a {
	font-size: 14px;
	font-weight: bold;
}
/*----- smart archives plugin -----*/
span.month-archive-link {
	display: none;
}
#smart-archives-fancy {
	color: #BDC0C3;
	font-family: 'nimbus-sans', sans-serif;
}
.page-archives #archives-page {
	display: none;
}

/*----- IE8! -----*/
.ie8 .nav-primary select,
.ie8 .nav-secondary select {
	display: none;
}

/*----- Disqus -----*/
#disqus_thread {
	padding-top: 10px;
	border-top: 1px solid rgba(0,0,0,0.1);
	margin-top: 10px;
}

/*----- Tips-fu -----*/
.post-type-archive-tip #featured-content-widget-4 {
	display: none;
}
.single-tip #featured-content-widget-4, 
.tax-tip_sections #featured-content-widget-4,
.paged.post-type-archive-tip #featured-content-widget-4 {
	display: inherit;
}

/*----- Footer Links -----*/
#footer_sidebar .textwidget  {
	text-align: right;
}
#footer_sidebar .textwidget p {
	border-right: solid 1px #CCC;
	display: inline-block;
	font-family: "nimbus-sans-condensed", sans-serif;
	font-size: 14px;
	margin-bottom: 0;
	padding: 0 10px;
	text-align: center;
	text-transform: uppercase;
	width: auto;
}
#footer_sidebar .textwidget p a,
#footer_sidebar .textwidget p a:visited,
#footer_sidebar .textwidget p a:hover {
	color: #CCC;
}
#footer_sidebar .textwidget p:last-child {
	border-right: none;
}
#credits {
	font-family: "nimbus-sans-condensed", sans-serif;
	font-size: 14px;
	margin-bottom: 0;
	margin-top: -40px;
}


/*----- RESPONSIVE -----*/

/*----- Between tablet and widescreen -----*/
@media screen and (min-width: 769px) and (max-width: 959px) {
	#header_wrap {
		padding: 0 5px;
	}
	#primary_nav,
	#secondary_nav {
		padding: 0 5px;
	}
	.is-sticky #primary_nav {
		font-size: 16px;
	}
	.is-sticky #secondary_nav {
		font-size: 14px;
	}
	.layout-two-col-right div#content {
		padding-left: 5px;		
	}
	.layout-two-col-right div#primary, .layout-two-col-right div#secondary, .layout-two-col-right div#tertiary {
		padding-right: 5px;
	}	
	div#footer {
		margin: 0 auto;
		width: 96%;
	}	
}



@media screen and (min-width: 769px) {
	.nav-primary select,
	.nav-secondary select {
		display: none;
	}
}
/*----- Tablets -----*/
@media screen and (max-width: 768px) {
	#header_wrap {
		padding: 0 5px;
	}
	#header-widget img {
		max-width: 100%;
	}
	#header-widget .textwidget li {
		margin-left: 3px;
		width: 22px;
	}
	#header-widget .sb_search_widget .searchtext {
		margin: 0;
		color: #000 !important;
		display: inline-block;
		font-size: 11px;
		font-weight: bold;
		padding: 0px 5px;
		vertical-align: top;
		width: 80%;
	}
	#header-widget .sb_search_widget .button {
		background: url(img/search-button.png) -1px -1px no-repeat;
		-moz-background-size: contain;
		-webkit-background-size: contain;
		background-size: contain;
		-moz-border-radius: 3px;
		-webkit-border-radius: 3px;
		border-radius: 3px;
		border: none;
		display: inline-block;
		height: 22px;
		padding: 0;
		overflow: hidden;
		width: 22px;
		vertical-align: top;
	}

	#leaderboard-widget img {
		max-width: 100%;
		height: auto;
	}	
	#featured_wrap {
		padding: 0;
	}		
	#primary_nav,
	#secondary_nav {
		display: none;
	}
	.nav-primary,
	.nav-secondary,
	.is-sticky .nav-primary,
	.is-sticky .nav-secondary {
		padding: 5px 0 0 0;
	}
	.nav-secondary {
	}
	.nav-primary select,
	.nav-secondary select {
		margin: 0 auto;
		width: 95%;
		display: block;
	}
	.nav-primary option,
	.nav-secondary option {
	}
	.layout-two-col-right div#content {
		margin: 0 220px 0 0;
		padding: 0 25px;		
	}
	.layout-two-col-right div#primary, .layout-two-col-right div#secondary, .layout-two-col-right div#tertiary {
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box; 
		box-sizing: border-box;
		padding: 0 25px;
		width: 200px;
	}	
	.entry-photo img { 
		width: 125px;
		height: auto;
	}
	.postcats {
		width: 117px;
	}
	.archive .entry-content,
	.home .entry-content,
	.search .entry-content {
		margin-left: 145px;
	}
	.featured-meta {
		margin-left: 85px;
	}
	.featured-meta .entry-categories {
		padding: 1px;
		position: static;
		text-align: left;
		width: auto;
	}
	div#footer {
		margin: 0 auto;
		width: 96%;
	}
	#footer_sidebar > div {
		float: none;
		width: 100%;
	}
	.wp-caption {
		width: 100% !important;
	}
	.entry-footer div.mr_social_sharing_wrapper {
		text-align: left;
	}
	

}

/*----- Small screens: smartphones, etc -----*/
@media screen and (max-width: 568px) {
	#header_wrap {
		padding: 0 5px;
	}
	#featured_wrap {
		margin: 0 auto;
		max-width: 959px;
		width: 100%;
	}
	#featured_wrap .post {
		float: none;
		position: relative;
		height: 100px;
		width: 100%;
		max-width: 100%;
		margin-bottom: 0;
	}
	#featured_wrap .featured-1 {
		width: 100%;
		max-width: 100%;
		overflow: hidden;
	}
	#featured_wrap .featured-2 {
		margin: 5px 0;
	}
	#featured_wrap img {
		border-top: solid 4px #16b1f4;
		width: 100%;
		position: absolute;
		top: 0;
		left: 0;
		z-index: 1;
	}
	#featured_wrap .info {
		position: absolute;
		bottom: 0;
		width: 100%;	
		z-index: 2;	
	}
	#wrap, #footer_wrap {
		overflow: hidden;
	}
	.entry-photo img { 
		width: 75px;
		height: auto;
	}
	.postcats {
		font-size: 9px;
		width: 67px;
	}
	.archive .entry-title,
	.home .entry-title,	
	.archive .entry-content,
	.home .entry-content,
	.archive .entry-meta,
	.home .entry-meta,
	.search .entry-content {
		margin-left: 95px;
	}		
	.layout-two-col-right div#container {
		float: none;
		margin: 0;
		width: 100%;
	}
	.layout-two-col-right div#content {
		margin: 0;
	}
	.layout-two-col-right div#primary, .layout-two-col-right div#secondary, .layout-two-col-right div#tertiary {
		float: none;
		margin: 0 auto;
		width: 100%;
		/*-- this should inherit box-sizing: border-box --*/
	}
	.wp-caption {
		width: 100% !important;
	}
}

/*----- Tiny Screens -----*/
@media screen and (max-width: 480px) {
	#logo {
		max-width: 100%;
	}
	#header-widget {
		display: none;
	}
	.ar, .alignright, .right {
		float: none !important;
	}
	.al, .alignleft, .left {
		float: none !important;
	}
	.wp-caption {
		width: 100% !important;
	}
	
}