/*
Theme Name: Wordpress Foundation
Theme URI: http://320press.com/wpfoundation
Description: A bones/Zurb foundation based wordpress theme.
Version: 2.0
Author: 320press
Author URI: http://320press.com
Tags: bones, zurb, foundation, 320press, clean, basic
*/

/* layout */

.more-link{
	white-space: nowrap;
}

p.attribution{
	text-align: right;
}

article.post{
	margin-bottom: 18px;
	border-bottom: 1px solid #E6E6E6;
}

html { background:#4c5a66; }

/** header */
header .siteinfo { position:relative; }
header .siteinfo h1 { position:absolute; top:20px; left:0; z-index:99; }
#logo { border:none; }
#logo img { max-width:400px; border:none; width:100%; height:auto; margin-left:15px; position:relative; }

header .header_img { height:300px; width:100%; padding-top:0; overflow:hidden; position:relative; max-width:1300px; margin:0 auto; }
header .header_img div { position:absolute; top:0; left:0; width:100%; height:300px; background-repeat:no-repeat; background-size:auto 100%; background-position:center top; opacity:0; }

header .header_img div.slider-1 { opacity:1; }

header .header_img div.slide_image { background-image:url(images/muster_header.jpg); opacity:1; }

header .menu-action {
    float: left;
    margin-top: 0;
    position: relative;
    top: 1px;
}

header .menu-action .button.small {
    padding: 8px;
}

b { font-weight:600; }

.container img { height:auto; max-width:100%; max-height:100%; }

.post_content strong { font-size:1.3em; font-weight:600; color:#5f8cb5; display:inline-block; margin:20px 0 10px; }
.post_content em { color:#5f8cb5; font-style:normal; }

/* menu */
header .nav_bg { 
	background: #4d5b67;
	background: -moz-linear-gradient(left,  #4d5b67 0%, #5c6974 36%, #4d5b67 100%);
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,#4d5b67), color-stop(36%,#5c6974), color-stop(100%,#4d5b67));
	background: -webkit-linear-gradient(left,  #4d5b67 0%,#5c6974 36%,#4d5b67 100%);
	background: -o-linear-gradient(left,  #4d5b67 0%,#5c6974 36%,#4d5b67 100%);
	background: -ms-linear-gradient(left,  #4d5b67 0%,#5c6974 36%,#4d5b67 100%);
	background: linear-gradient(to right,  #4d5b67 0%,#5c6974 36%,#4d5b67 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d5b67', endColorstr='#4d5b67',GradientType=1 );  
	padding-top:8px; 
	box-shadow:inset 0 -1px 2px rgba(0,0,0,.2); 
}
/* /menu */
header .nav_bg .nav-bar { margin:0; background:none; border:none; height:38px; }
header .nav_bg .nav-bar li { border:none; }
header .nav_bg .nav-bar li:first-child { margin-left:-20px; position:relative; }
header .nav_bg .nav-bar li.active:first-child { margin-left:auto; position:relative; }
header .nav_bg .nav-bar li li:first-child { margin-left:auto; position:relative; }
header .nav_bg .nav-bar a { text-transform:uppercase; font-weight:600; color:#fff; padding-left:14px; padding-right:14px; }
header .nav_bg .nav-bar li:hover { background:none!important; }
header .nav_bg .nav-bar li:hover a { text-shadow:0 2px 5px rgba(0,0,0,.5); }
/* header .nav_bg .nav-bar li.active { box-shadow:0 -5px 20px rgba(0,0,0,.4); } */
header .nav_bg .nav-bar li.active a:first-child, header .nav_bg .nav-bar li.active:hover a:first-child { 
	background:#6a91b4 url(images/gradient.svg) right top no-repeat;
	box-shadow:inset -1px 1px 0 rgba(255,255,255,.3), 0 -2px 5px rgba(0,0,0,.2);
	text-shadow:0 1px 1px rgba(0,0,0,.6);
}
header .nav_bg .nav-bar li:hover a:first-child { 
	background:rgba(106,145,180,.5);
	box-shadow:inset -1px 1px 0 rgba(255,255,255,.1), 0 -2px 5px rgba(0,0,0,.2);
	text-shadow:0 1px 1px rgba(0,0,0,.2);
}
header .nav_bg .nav-bar li.active li a:first-child, 
header .nav_bg .nav-bar li.active:hover li a:first-child,
header .nav_bg .nav-bar li:hover li a:first-child { background:none; box-shadow:none; }

header .nav_bg .nav-bar ul { background:#3e7cb1; left:0; width:auto; margin-top:-2px; border-radius:3px; box-shadow:0 -3px 10px rgba(0,0,0,.2)!important; border:none; border-top:1px solid #77a2c7; padding:0; } 
header .nav_bg .nav-bar ul:before { //content:''; position:absolute; top:-10px; left:50%; margin-left:-10px; border-left:10px solid transparent; border-right:10px solid transparent; border-bottom:10px solid #3e7cb1; }
header .nav_bg .nav-bar ul li { border:none; border-top:1px solid rgba(255,255,255,.3); }
header .nav_bg .nav-bar ul li:first-child { border:none; }
header .nav_bg .nav-bar ul li a { border:none; font-size:13px; box-shadow:none; background:none; text-shadow:0 1px 2px rgba(0,0,0,.3)!important; padding:10px 8px; }
header .nav_bg .nav-bar ul li:hover a { color:#fff; background:rgba(255,255,255,.1)!important; }
header .nav_bg .nav-bar ul li.active a { color:#fff; background:rgba(255,255,255,.2)!important; }

header .menu-action .button.small svg {
    opacity: 0.5;
}
/* language switch */
#lang_sel_list { position:absolute; right:0; width:500px; z-index:99; }
#lang_sel_list ul { float:right; border:none; }
#lang_sel_list li { float:left; width:auto; list-style:none; }
#lang_sel_list li a { padding:10px 10px; display:block; border:none; background:none; color:#5e8eb4; text-shadow:1px 1px 1px rgba(0,0,0,.2), -1px -1px 1px rgba(255,255,255,.5); }
#lang_sel_list li.active a, #lang_sel_list li.active a:hover { background:#6a91b4 url(images/gradient.svg) right top no-repeat; box-shadow:inset -1px 1px 0 rgba(255,255,255,.3), 1px 1px 2px rgba(0,0,0,.3); text-shadow:1px 1px 1px rgba(0,0,0,.3); color:#fff; }
#lang_sel_list li a:hover { background:#9fb5c8; background:rgba(106,145,180,.5); box-shadow:inset -1px 1px 0 rgba(255,255,255,.3), 1px 1px 2px rgba(0,0,0,.3); text-shadow:1px 1px 1px rgba(0,0,0,.3); color:#fff; }

/* Mobile Menu Button */
#mobile_menu_btn { position:absolute; right:0; top:-3px; padding:13px 20px 12px 40px; border-left:1px solid rgba(255,255,255,.3); font-size:16px; text-transform:uppercase; color:#fff; }
#mobile_menu_btn img { width:20px!important; height:auto; position:absolute; left:14px; margin-top:1px; }

/** /header */

h1, h2, h3, h4, h5, h6 { font-weight:400!important; }
h3 { font-weight:600!important; }
.post_content h3 { font-weight:400!important; }

/** clearfix hr */
hr.clearfix { margin:0; padding:0; height:0; width:100%; display:block; border:none; background:none; clear:both; }

/** breadcrumb */
.breadcrumb_bg { background:#6a91b4; padding:5px 0 0; position:relative; z-index:1; margin-bottom:40px; }
.breadcrumb_bg .twelve.columns { padding-left:8px; }
.breadcrumb_bg p { margin:0; padding:0 0 5px; color:#fff; font-size:12px; text-transform:uppercase; }
.breadcrumb_bg p a { color:#fff; }
/** /breadcrumb */

/** footer */
.footer { background:#4c5a66; border-top:5px solid #608db5; box-shadow:inset 0 1px 2px rgba(0,0,0,.2); }

.footer_contacts { color:#fff; line-height:1.5; font-weight:400; text-shadow:0 1px 2px rgba(0,0,0,.3); }
.footer_contacts span { text-transform:uppercase; }
.footer_contacts .three, .footer_contacts .four, .footer_contacts .two { margin-top:20px; margin-bottom:20px; }

#menu-footer { margin:auto; }
#menu-footer li { margin:0; display:block; float:left; clear:both; line-height:1.5; }
#menu-footer li a { text-transform:uppercase; color:#88b6df; }
#menu-footer li a:hover { color:#fff; }
/** /footer */

#content { min-height:300px; }

/** error */
h1.error { color:#6a91b4; text-align:center; padding-top:130px; position:relative; z-index:4; }
h1.error:before { content:'404'; position:absolute; width:100%; left:0; top:-20px; text-align:center; z-index:-1; color:#f8f8f8; font-size:220px; }
p.error { text-align:center; }

/** homepage layout */
.posts .subheader { font-size:18px; padding-bottom:10px; margin-bottom:0; }
.posts .post { border-top:1px solid #ccc; display:block; }
.posts .post h2 { font-size:18px; font-weight:600; line-height:1.3; margin-top:15px; }
.posts .post h2 a { color:#495b69; }
.posts .post p { font-size:13px; }
.posts .post img { border:1px solid #ccc; }
.posts .post .more a { color:#495b69; font-weight:600; }
.homepage_subfooter { background:#f5f5f5; margin-top:30px; border-top:1px solid #e8e8e8; padding:30px 0; }
.homepage_subfooter h3 { font-size:18px; color:#495b69; text-transform:none; font-weight:600; padding-left:50px; margin-bottom:30px; position:relative; }
.homepage_subfooter .subfooter_1 h3:before { content:url(images/norddeutsche_steuer.png); position:absolute; left:-7px; top:-19px; }
.homepage_subfooter .subfooter_2 h3:before { content:url(images/norddeutsche_wirtschaft.png); position:absolute; left:-7px; top:-19px; }
.homepage_subfooter .subfooter_3 h3:before { content:url(images/norddeutsche_recht.png); position:absolute; left:-7px; top:-19px; }
.homepage_subfooter p { font-size:14px; }
/** /homepage layout */

#main ul { margin-left:0; padding-left:20px; }
#main ul li { margin:0 0 8px; list-style-type:none; position:relative; }
#main ul li:before { content:'•'; position:absolute; left:-20px; top:-5px; color:#608db5; font-size:20px; }

/** sidebar left layout */
.page-left { margin-bottom:40px; }
h2 { margin-top:0; font-size:28px; margin-bottom:20px; color:#4c5a67; }
h4 { margin:30px 0 20px; }
.page-left post_content { font-size:15px; }
#sidebar1 { border-right:1px solid #ccc; box-shadow:inset -1px 0 0 rgba(255,255,255,.7); background:url(images/shadow.svg) no-repeat right top; background-size:auto 100%; }
#sidebar1 .submenu { margin:10px 0; padding:0; font-weight:600; }
#sidebar1 .submenu li { list-style-type:none; margin:0; }
#sidebar1 .submenu li a { color:#666; display:block; margin:5px 0; padding:5px 0; }
#sidebar1 .submenu li a:hover { color:#608db6; }
#sidebar1 .submenu li.current_page_item a {
	background: -moz-linear-gradient(left,  rgba(229,233,236,1) 0%, rgba(229,229,229,0) 100%);
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(229,233,236,1)), color-stop(100%,rgba(229,229,229,0)));
	background: -webkit-linear-gradient(left,  rgba(229,233,236,1) 0%,rgba(229,229,229,0) 100%);
	background: -o-linear-gradient(left,  rgba(229,233,236,1) 0%,rgba(229,229,229,0) 100%);
	background: -ms-linear-gradient(left,  rgba(229,233,236,1) 0%,rgba(229,229,229,0) 100%);
	background: linear-gradient(to right,  rgba(229,233,236,1) 0%,rgba(229,229,229,0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5e9ec', endColorstr='#00e5e5e5',GradientType=1 );
	position:relative;
	margin:5px 0 5px -8px;
	padding:5px 0 5px 8px;
}

#sidebar1 .downloads { border-top:1px solid #ddd; margin-top:60px; padding-top:10px; font-weight:600; }
#sidebar1 .downloads li { list-style-type:none; font-size:12px; text-transform:uppercase; margin:7px 0; color:#666; }
#sidebar1 .downloads li a { color:#608db6; }
#sidebar1 .downloads li a:hover { color:#666; }
#sidebar1 .downloads li a:after { content:'›'; margin-left:7px; }
/** /sidebar left layout */

/** sidebar left archive */
#sidebar3 { border-right:1px solid #ccc; box-shadow:inset -1px 0 0 rgba(255,255,255,.7); background:url(images/shadow.svg) no-repeat right top; background-size:auto 100%; }
#sidebar3 .widgettitle { border-bottom:1px solid #ddd; padding-bottom:10px; font-size:20px; }
#sidebar3 ul { margin:10px 0; padding:0; font-weight:600; }
#sidebar3 ul li { list-style-type:none; margin:0; }
#sidebar3 ul li a { text-transform:uppercase; color:#666; display:block; margin:10px 0; }
#sidebar3 ul li a:hover { color:#608db6; }

.posts.archive .post:first-child { border:none; }
.posts.archive .post { border:none; border-top:1px solid #ccc; }
.posts.archive .post:first-child h2 { margin-top:0; }
.posts.archive .post:first-child h2 { padding-top:0; }
.posts.archive .post h2 { font-size:20px; padding-top:20px; }
.posts.archive .pagination {  }
/** /sidebar left archive */

/** sidebar right layout */
#sidebar2 { border-left:1px solid #ccc; box-shadow:inset -1px 0 0 rgba(255,255,255,.7); background:url(images/shadow_right.svg) no-repeat left top; background-size:auto 100%; }
#sidebar2 p { font-size:18px; margin:5px 0; padding:0; line-height:1.3; color:#5f8cb5; }
#sidebar2 p.address { color:#495b69; margin-bottom:15px; }
#sidebar2 p strong { display:block; text-transform:uppercase; font-weight:600; }
#sidebar2 .btn { background:#608db6; color:#fff; float:right; padding:13px 20px; box-shadow:1px 1px 0 rgba(0,0,0,.2); margin:15px 0 25px; }
#sidebar2 .btn:hover { opacity:.8; }
/** /sidebar right layout */

/** single layout */
body.single .post { border:none; }
body.single .post h3, body.archive .post h3, body.archive .post h3 a { font-size:20px; color:#495b69; font-weight:600; margin-top:0; }
.post_content { margin-bottom:40px; }
/** /single layout */

/** form */
form { margin-top:30px; }
form span { display:block; }
form input[type="text"], form input[type="email"], form textarea { background:#e6edf3; border:1px solid #e3e9ed; box-shadow:inset 0 0 15px rgba(0,0,0,.05); }
form textarea { height:150px; resize:vertical; }
form p { color:#777; }
form input[type="submit"] { background:#608db6; color:#fff; float:right; padding:13px 20px; box-shadow:1px 1px 0 rgba(0,0,0,.2); margin:15px 0 25px; border:none; font-family:'Open Sans', sans-serif; font-size:14px; line-height:1; font-weight:300; letter-spacing:.1em; cursor:pointer; }
form input[type="submit"]:hover { opacity:.8; }

.ajax-loader { max-width:16px!important; max-height:16px!important; float:right; margin-top:27px!important; }

.wpcf7-response-output { padding:20px!important;; border-color:#6a91b4!important; font-family:'Open Sans', sans-serif!important; float:none!important; clear:both!important; margin-left:0!important; margin-right:0!important; }
.wpcf7-not-valid-tip { position:absolute!important; left:auto!important; right:0!important; background:none!important; border:none!important; color:red!important; text-align:right; top:-25px!important; }

/** /form */

.mobile-nav-container{
	margin-left: -100%;
	float: left;
	width: 50%;
	position: absolute;
	top: 150px;
}

.active .mobile-nav-container{
	display: block;
	margin-left: 0;
}

.active #main{
	margin-left: 55%;
}

.mobile-nav-container,
#main{
	-moz-transition: all 0.25s ease-in 0s;
}

.side-nav{
	height: auto;
}

ul.tabs.vertical {
    border-bottom: 1px solid #E6E6E6;
    height: auto;
}

ul.tabs {
    border-bottom: 1px solid #E6E6E6;
    display: block;
    height: 40px;
    margin-bottom: 20px;
    padding: 0;
}

ul.tabs.vertical li {
    border-left: 3px solid #CCCCCC;
}

ul.tabs.vertical li, ul.tabs.vertical li {
    float: none;
    height: auto;
}

ul.tabs li:first-child {
    margin-left: 0;
}

ul.tabs li {
    display: block;
    float: left;
    margin: 0;
    padding: 0;
}

ul.tabs.vertical li a {
    -moz-border-bottom-colors: none;
    -moz-border-image: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: none repeat scroll 0 0 #F2F2F2;
    border-color: #E6E6E6;
    border-style: solid;
    border-width: 1px 1px 0 0;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
    color: #555555;
    display: block;
    font-size: 14px;
    height: auto;
    line-height: 1;
    padding: 15px 20px;
}

ul.tabs li a {
    color: #6F6F6F;
    display: block;
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    padding: 0 23.8px;
}

/* typography */
body { font-family:'Open Sans', sans-serif; }
h1, h2, h3, h4, h5, h6{ font-family: 'Open Sans', sans-serif; font-weight: 400;}

.siteinfo h1{ font-weight: 800; }

/* post styling */

#main p.meta{
	font-style: italic;
	color: #808080;
}

div[id*='attachment_']{
	max-width: 100%;
	height: 100%;
}

#main article img{
	max-width: 100%;
	margin-bottom: 18px;
}

h1.single-title{
	line-height: 1.1;
}

img.alignleft{
	margin-right: 10px;
	float: left;
}

img.alignright{
	margin-left: 10px;
	float: right;
}

img.aligncenter{
	display: block;
	margin: 0 auto;
}

p.tags a:hover{
	color: #f0f0f0;
}

video {
	max-width: 100%;
	height: auto;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.video-container iframe,  
.video-container object,  
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video-wrapper {
	width: 630px;
	max-width: 100%;
	margin-bottom: 18px;
}

pre {
    background-color: #F5F5F5;
    border: 1px solid rgba(0, 0, 0, 0.15);
    display: block;
    font-size: 12px;
    line-height: 18px;
    margin: 0 0 18px;
    padding: 8.5px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

code {
    color: rgba(0, 0, 0, 0.75);
    padding: 1px 3px;
}

code, pre {
    font-family: Monaco,Andale Mono,Courier New,monospace;
    font-size: 12px;
	padding: 5px 15px;
}

/* featured posts slider */
#featured{
	border: 1px solid #E6E6E6;
}

#featured div{
	padding: 0 15px;
}

#featured h3{
	margin-top: .2em;
	padding-left: .05em;
}

#featured p{
	padding-left: .1em;
}

#featured h3,
#featured p{
	width: 100%;
}

/* page styling */

.page-template-page-homepage-php #main {
	border-bottom: none;
}

/* comments */

#comments{
	line-height: 3.1rem;
	margin-bottom: 18px;
}

ol.commentlist,
ol.commentlist ul.children{
	list-style-type: none;
	margin-left: 0;
}

ol.commentlist div.avatar{
	float: left;
	margin-right: 10px;
}

ol.commentlist time{
	font-size: .8em;
	color: #eeeeee;
}

ol.commentlist div.comment-author{
	position: relative;
}

.panel ol.commentlist a.comment-edit-link{
	color: #ffffff;
	text-decoration: none;
}

ol.commentlist span.edit-comment{
	position: absolute;
	right: 1.5em;
	top: 0;
}

.comment h4{
	margin-bottom: 0;
}

a.comment-reply-link{
	position: absolute;
	right: 1.5em;
	bottom: 0;
}

#cancel-comment-reply{
	padding-left: 20px;
}

#comment-nav ul{
	list-style-type: none;
	margin: 0;
}

#comment-form-elements{
	list-style-type: none;
	margin: 0;
}

/* specific post-type styles */

/* image attachment */

.attachment #main .post_content img{
	max-width: 100%;
}

li.next{
	text-align: right;
}

#sidebar1 .metadata,
#sidebar1 .caption{
	padding-bottom: 20px;
}

/* widget styles */

.widget{
	margin-bottom: 18px;
}

.widget li{
	margin-bottom: 2px;
}

.widget ul.children{
	margin-bottom: 0;
}

.widget ul.children li{
	margin-left: 9px;
}

#tag-cloud{
	margin-bottom: 18px;
}

a[class^='tag-link-']:hover{
	color: #f0f0f0;
}

.row.siteinfo { margin-top:-1px; }

@media only screen and (max-width: 767px) {
	header .siteinfo {
		min-height:40px;
		background: #4d5b67;
		background: -moz-linear-gradient(left,  #4d5b67 0%, #5c6974 36%, #4d5b67 100%);
		background: -webkit-gradient(linear, left top, right top, color-stop(0%,#4d5b67), color-stop(36%,#5c6974), color-stop(100%,#4d5b67));
		background: -webkit-linear-gradient(left,  #4d5b67 0%,#5c6974 36%,#4d5b67 100%);
		background: -o-linear-gradient(left,  #4d5b67 0%,#5c6974 36%,#4d5b67 100%);
		background: -ms-linear-gradient(left,  #4d5b67 0%,#5c6974 36%,#4d5b67 100%);
		background: linear-gradient(to right,  #4d5b67 0%,#5c6974 36%,#4d5b67 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d5b67', endColorstr='#4d5b67',GradientType=1 );  
		padding-top:8px; 
	}
	#top-header .siteinfo h1 { position:relative; }
	#logo_mobile img { margin:0; width:50%; display:none; }
	#logo_mobile_quad { position:absolute; z-index:99; margin-top:8px; width:45px; height:auto; }
	#top-header { position:fixed; top:0; left:0; z-index:999; width:100%; border-bottom:1px solid rgba(0,0,0,.2); }
	
	.container { padding-top:75px!important; }
	.breadcrumb_bg { margin-bottom:0; }
	
	#mobile_menu_nav { display:none; }
	
	#lang_sel_list_mobile { background:#597d9c; }
	#lang_sel_list_mobile ul { margin:0; border-bottom:1px solid rgba(255,255,255,.3); }
	#lang_sel_list_mobile ul:after { content:''; display:block; width:100%; clear:both; }
	#lang_sel_list_mobile li { list-style-type:none; float:left; width:50%; border-bottom:1px solid rgba(0,0,0,.3)!important; }
	#lang_sel_list_mobile li a { display:block; padding:15px 0; line-height:1!important; text-align:center; border:0!important; border-left:1px solid rgba(0,0,0,.3)!important; border-right:1px solid rgba(255,255,255,.3)!important; }
	#lang_sel_list_mobile li.active a { //background:#7196b5; }
	
	#mobile_menu_nav { background:#6a91b4; margin-top:-20px; }
	#mobile_menu_nav ul li { border:none; }
	#mobile_menu_nav ul li a { background:none; margin:0; border:none; border-top:1px solid rgba(255,255,255,.3); border-bottom:1px solid rgba(0,0,0,.3); color:#fff; box-shadow:none; }
	#mobile_menu_nav ul li.fly-out > a:first-child:after { content:''; position:absolute; margin:4px 0 0 10px; border-top:5px solid #fff; border-left:5px solid transparent; border-right:5px solid transparent; }
	#mobile_menu_nav ul li:first-child a { border-top:none; }
	#mobile_menu_nav ul ul { display:none; margin:0; background:#80a7ca; border-bottom:1px solid rgba(0,0,0,.3); }
	#mobile_menu_nav ul ul li a { padding-left:40px; }
	#mobile_menu_nav ul li li.sub_active, #mobile_menu_nav ul li li.active { background:#94bbde; }
	#mobile_menu_nav ul ul li:last-child a { border-bottom:none; }
	#mobile_menu_nav ul ul li:first-child a { border-top:1px solid rgba(255,255,255,.3); }
	
	#content { margin-top:20px; }
	
}

@media only screen and (max-width: 950px) {
	header .nav_bg .nav-bar a { text-transform:uppercase; font-weight:600; color:#fff; padding-left:10px; padding-right:10px; }
}

@media only screen and (max-width: 900px) {
	header .nav_bg .nav-bar a { text-transform:uppercase; font-weight:600; color:#fff; font-size:12px!important; padding-left:10px; padding-right:10px; }
	.footer_contacts * { font-size:13px; }
	#sidebar2 p { font-size: 16px; }
}

@media only screen and (max-width: 822px) {
	header .nav_bg .nav-bar a { text-transform:uppercase; font-weight:600; color:#fff; font-size:12px!important; padding-left:9px; padding-right:9px; }
	header .nav_bg .nav-bar > li.has-flyout > a:first-child { padding-right:28px!important; }
	header .nav_bg .nav-bar > li.has-flyout > a:first-child:after { right:10px!important; }
	.footer_contacts * { font-size:12px; }
	#sidebar2 p { font-size: 14px; }
}

@media only screen and (min-width: 767px) {
	ol.commentlist div.avatar{
		margin-right: 0;
	}
	
	#main{
		border-bottom: none;
	}

	#featured h3{
		margin-top: 2em;
		padding-left: 2em;
	}

	#featured p{
		padding-left: 4em;
	}

	#featured h3,
	#featured p{
		width: 66%;
	}
}

@media only screen and (min-width: 940px) {
	/* desktop specific styles */
	
	#main{
		margin-bottom: 0;
	}
	
	ol.commentlist div.avatar{
		margin-right: 0;
	}
	
}