/* LAYOUT */

/*logo*/

body #logo a{
	font-size: 48px;
}
body #logo a span{
	margin-top: 31px;
	padding-left: 22px;
	display: block;
	float: right;
	font-family: 'HelveticaNeueW02-65Medi', sans-serif;
}
#topad,
body.chapter #topad {
	float: right;
	margin: 22px 0 0.5em;
	text-align: right;
}

body.chapter{
	background-image: url(images/swea_local_header_bg.gif);
	background-repeat: no-repeat;
	background-position: top right;
	background-attachment: scroll;
	border-top: 0px solid #000000;
}
body.chapter #logo a img{
	margin-top: -81px;
}
body.chapter #logo a span {
	margin-top: 33px;
	text-shadow:0 2px 0 #ECECEC;
}

body.full-width #header,
#nav-container, 
body.full-width #content, 
body.full-width #footer-widgets, 
body.full-width #footer {
	padding-left: 0;
	padding-right: 0;
}
body.full-width #content{
	background-color: #fff;
	padding-bottom: 25px;
}
/*header*/
#header-container {
	background-position: 0;
}
#header {
	padding: 44px 0 28px;
}
body.chapter #header {
	padding-bottom: 13px;
}

body.chapter #nav-container,
body.chapter #main-sidebar-container{
	background-color: #fff;
}

/*top nav*/
body.chapter .top-navigation{
 text-align: right;
}
body.chapter .top-navigation .menu-item {
	display: inline-block;
	text-align: left;
	float: none;
	margin-left: 1px;
}
body.chapter .top-navigation .menu-item li {
	display: block;
}

#top {
	background: #ede04a !important;/* overrides the background set through the WordPress editor */
	-webkit-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.5)!important;
	-moz-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.5)!important;
	box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.5)!important;
} 

/* Nav */
#nav-container {
	margin: 7px auto 20px;
	max-width: 980px;
}
#nav-container #navigation {
	min-height: 54px;
}

/* Footer */
div#disclaimer {
	clear:both;
	opacity:0.5;
	padding:1em 0;
	font-size: 82%;
}

@media only screen and (min-width:768px) {
	#top {
		background: #ede04a !important;/* overrides the background set through the WordPress editor */
	} 

	#top ul.nav li a {
		color: #466a7b;
	}

	#top ul.nav > li > a {
		font-weight: bold;
	}

	#top ul.nav li.current_page_item > a,
	#top ul.nav li.current_page_parent > a,
	#top ul.nav li.current-menu-ancestor > a,
	#top ul.nav li.current-cat > a,
	#top ul.nav li.current-menu-item > a {
		background: transparent !important;
	}

	#top ul.nav li.current_page_item a,
	#top ul.nav li.current_page_parent a,
	#top ul.nav li.current-menu-ancestor a,
	#top ul.nav li.current-cat a,
	#top ul.nav li.current-menu-item a {
    color: #466a7b !important;
	}

	#top ul.nav li.current_page_item:hover a,
	#top ul.nav li.current_page_parent:hover a,
	#top ul.nav li.current-menu-ancestor:hover a,
	#top ul.nav li.current-cat:hover a,
	#top ul.nav li.current-menu-item:hover a {
		color: #ffffff !important;
	}
}

ul.nav li a {
	padding-top: 20px !important;
	padding-bottom: 20px !important;
	font-size: arial, sans-serif;
	font-weight: bold;
	font-size: 14px;
	text-transform: uppercase;
}
#navigation .nav li.parent > a:after {
	border-color: #fff transparent transparent;
}
nav#navigation ul.nav li ul {
	padding: 0;
	border: 1px solid #DDD;
	border-width: 0 1px 1px;
	background-color: #fff !important;
}
nav#navigation ul.nav li ul li a {
	border-top: 1px solid #DDD;
	color: #666666 !important;
	text-transform: none;
}
#navigation ul.nav > li:hover .sub-menu a{
color: #666 !important;
}
nav#navigation ul.nav li ul li a:hover {
	text-decoration: none;
	background-color: #DDDDDD !important;
	color: #444 !important;
}

nav#navigation .sub-menu .sub-menu {
	top: 0;
}

/*btn search*/
.searchbutton{
	background: url(images/icon-search.png) center center no-repeat transparent;
	text-indent: -9999em;
	height: 54px;
	display: inline-block;
	width: 59px;
	background-color: #466a7b;
	position: absolute;
	right: 0;
}
.searchbutton:hover{
	text-indent: -9999em;
	background-color: #77979b;
}
#searchform {
	width: 230px;
	margin-top: 0px;
	position: relative;
	border: none;
	position: absolute;
	right: 0;
	top: 54px;
}
#searchform input#s {
	padding: 8px;
	height: 24px;
	width: 200px;
	margin: 0;
	background-color: #ddd;
	border: 7px solid #fff;
	color: #777;
	border-radius: 0;
}
#searchform input#s,
#searchform input:focus,
#searchform input:active,
#searchform input:link,
#searchform input:hover{
	box-shadow: 0 0 6px rgba(82, 82, 82, 0.7);
	-moz-box-shadow: 0 0 6px rgba(82, 82, 82, 0.7);
	-webkit-box-shadow: 0 0 6px rgba(82, 82, 82, 0.7);
}
#searchform #searchsubmit{
	display: none;
}

/*top nav*/
#top-nav{
	width: 980px;
}

#top-nav li a{
	text-transform: none;
	padding-left: 24px;
	margin-left: 7px;
}
#top .nav li.parent > a:after {
	border: .3em solid #466a7b;
	border-color: #466a7b transparent transparent transparent;
}

#top .nav li.parent:hover > a:after {
	border: .3em solid #ffffff;
	border-color: #ffffff transparent transparent transparent;
}

#top-nav .sub-menu {
	min-width: 212px;
}

ul#top-nav > li > a {
	position: relative;
}

#top-nav .login {
	float: right;
}

#top-nav .globe > a:before,
#top-nav .intl > a:before,
#top-nav .login > a:before,
#top-nav .net > a:before {
    position: absolute;
    left: 0;
    top: 10px;
    content: "";
    background-repeat: no-repeat;
	width: 19px;
    height: 16px;
	background-image: url(images/sprite-blue.svg);
}

#top-nav .globe:hover > a:before,
#top-nav .intl:hover > a:before,
#top-nav .login:hover > a:before,
#top-nav .net:hover > a:before {
    background-image: url(images/sprite.svg);
}

#top-nav .net > a:before {				/* network */
    background-position: 0 0;
}

#top-nav .globe > a:before {				/* global */
    background-position: -32px 0;
}

#top-nav .intl > a:before {				/* international */
    background-position: -64px 0;
}

#top-nav .login > a:before {				/* login */
    background-position: -96px 0;
}


#nav-container .sub-menu a{
	height: auto;
	padding-top: 15px !important;
	padding-bottom: 14px !important;
	line-height: 14px;
}

/*loop slider*/
.slider-wrapper {
	clear: both; 
}
#loopedSlider {
	height: 345px;
}
#loopedSlider .content{
	padding-top: 12px;
	padding-bottom: 33px;
}
#loopedSlider .content p:first-child{
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 	bold;	
	color: 	#fff;
}
#loopedSlider .content h2,
#loopedSlider .content h2 a{
	font-size: 48px;
	text-transform: none;
	font-family: 'HelveticaNeueW02-55Roma', sans-serif;
	font-weight: normal;
	line-height: 46px;
}
.flex-direction-nav {
	margin: -57px 15px;
}
.flex-direction-nav li {
	margin: 8px;
}
a.flex-prev:before, 
#post-gallery .pagination .jcarousel-prev:before,
a.flex-next:before, 
#post-gallery .pagination .jcarousel-next:after {
 	content:" ";
	height: 26px;
	width: 32px;
}
a.flex-next:before, 
#post-gallery .pagination .jcarousel-next:after {
	background: url(images/icon-slider-next.png) center left transparent no-repeat;
}
a.flex-prev:before, 
#post-gallery .pagination .jcarousel-prev:before {
	background: url(images/icon-slider-prev.png) center left transparent no-repeat;
}

/*HOME*/

/*ads*/
.widget.ads-place-1{
	display: block;
	float: none !important;
	width: auto;
	min-height: 30px !important;
	border: none;
	background: none;
}
.widget.ads-place-1 img{
	width: 	728px;
	margin:0 auto;
	display: block;	
}
.widget.ads-place-4,
.two-col-left #sidebar .ads-place-4,
.three-col-left #sidebar .ads-place-4{
	border: 7px solid #DDDDDD;
	background-color: #ddd;
	color: #000;
	min-height: 276px;
	width: 299px;
}
.widget.ads-place-4 h2,
.two-col-left #sidebar .ads-place-4 h3,
.three-col-left .ads-place-4 h3{
	font-size: 12px;
	color: #919191;
	padding: 5px 0 10px;
	border: none;
	margin-bottom: 0;
	font-family: Arial, sans-serif;
	font-weight: normal;
}
.row_0 .simple_ads_manager_block_widget div div, 
.row_2_ads .simple_ads_manager_block_widget div div,
.row_7 .simple_ads_manager_block_widget div div {
	margin-right: 7px !important;
	margin-left: 7px !important;
}
.widget.ads-block-2 {
	width: 293px;
	height: 83px;
	padding: 5px;
	min-height: 0;
}
.row_0 .simple_ads_manager_block_widget, 
.row_2_ads .simple_ads_manager_block_widget,
.row_7 .simple_ads_manager_block_widget {
	min-height: 0 !important;
	height: auto !important;
	width: 969px;
	margin-left: 0;
}

/*color cards*/
.color-blue {
	background-color: #466a7b;
}
.color-yellow {
	background-color: #77979b;
}
.widget-color-card{
	min-height: 272px;
	width: 290px;
}
.widget-color-card 	{
	border: none;
	width: 293px;
	padding-left: 20px;
	padding-top: 20px;
	padding-bottom: 0;
	min-height: 271px !important;
}
.row_2 .widget-color-card {
	width: 293px;
}
.widget-color-card h3,
.widget-color-card p,
.widget-color-card a {
	color: #fff;
	}	
.widget-color-card h3{
	font-size: 50px;
	font-weight: normal;
	border-bottom: none;
	margin-top: 0;
	margin-bottom: 9px;
	padding-bottom: 0;
	font-family: 'HelveticaNeueW02-65Medi', sans-serif;
	}	
.widget-color-card p:first-child{
	padding-bottom: 0;
	}	
.widget-color-card p{
	width: 244px;
	font-family: 'Arial', sans-serif;
	font-weight: normal;
	font-size: 14px;
	line-height: 17px;
	}	
.widget-color-card .readmore{
	padding-bottom: 0;
	margin-bottom: 0;
	}	
.widget-color-card .readmore a{
	font-family: 'Arial', sans-serif;
	font-weight: bold;
	font-size: 14px;
	}


/* Facebook */
.widget_facebook-like-box {
	border: none;
	border: 5px solid #ddd;
	overflow: hidden;
	}
.fb_iframe_widget span {
	height: 281px !important;
	width: 303px !important;
}

/*post widget*/
.widget-row {
	clear: both;
}
.widget-row .widget:first-child {
	margin-left: 0px;
}
.widget {
	float: left;
	min-height: 280px;
	margin: 0 0 20px 20px;
}
.widget_recent_entries{
	padding: 18px;
	min-height: 246px;
	min-width: 260px;
}
.last-post-text p:first-child{
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 9px;
}
.last-post-text p{
	font-size: 14px;
	color: #666;
	font-weight: normal;
	line-height: 18px;
}
.last-post-text h3,
.last-post-text .readmore{
	border-bottom: none;
	padding-bottom: 0;
}
.last-post-text h3{
	font-family: 'HelveticaNeueW02-55Roma', sans-serif;
	font-weight: normal;
	font-size: 24px;
	line-height: 29px;
	text-transform: none;
	margin-bottom: 0px;
}
.widget_recent_entries .last-post-text h3{
	margin-bottom: 17px;
}
.row_1 .last-post-text h3{
	margin-bottom: 21px;
}
.last-post-text .readmore{
	margin-bottom: 0;
}
.last-post-text .readmore a{
	color:#666;
	text-transform: none;
	font-weight: bold;
	font-size: 14px;
	display: block;
	font-family: Arial, sans-serif;
}
.row_1  .last-post-x2  .last-post-thumb{
	max-height: 369px;
	max-width: 100%;
}
.last-post-x1 .last-post-thumb{
	max-height: 120px;
	max-width: 100%;
	width: 269px;
}
.last-post-x2 .last-post-thumb{
	max-height: 244px;
	max-width: 100%;
	width: 279px;
}
.last-post-thumb{
	display: block;
	width:auto;
	text-align:left;
	float: left;
}
.last-post-x1 .last-post-thumb img{
	display: block;
	text-align: center;
}
.last-post-text{
	float: left;
	padding-left: 20px;
}
.last-post-x1 {width: 267px;}
.last-post-x2{width: 600px;}
.last-post-x3{width: 933px;}

.last-post-x3 .last-post-thumb{
	float: right;
}
.last-post-x3 .last-post-text{
	float: left;
	width: 63%;
}
.last-post-x3 .last-post-text h3{
	font-size: 48px;
	line-height: 48px;
}
.last-post-x3 .last-post-text p{
	font-size: 24px;
	line-height: 28px;
}
.row_1 .last-post-x2 .last-post-text{
	width: 50%;
}
.row_1 .last-post-x2 h3 a{
	font-size: 40px;
	line-height: 40px;
	margin-bottom: 25px;
}
.last-post-x2 .last-post-text{
	width: 44%;
}
.last-post-x1 .last-post-text{
	width: 90%;
	padding-left: 0;
}
.last-post-x1 .last-post-text p{
	display: none;
}
.last-post-x1 .last-post-text h3 {
	margin-bottom: 7px;
	margin-top: 31px;
}
.last-post-x1 .last-post-text .readmore{
	display: block;
}

/*calendar*/
.home .widget_em_calendar,
.widget_em_calendar {
 	min-height: 282px;
	width: 277px;
 	padding: 0 13px;
}
.widget_em_calendar h2,
.two-col-left .widget_em_calendar h3{
	margin-top: 10px;
}
.widget_em_calendar h2{
	color: #466a7b;
}
.widget_em_calendar h3,
.widget_rsg  h3{
	font-family: 'HelveticaNeueW02-55Roma', sans-serif;
	font-weight: normal;
	font-size: 25px;
	line-height: 1.2em;
	color: #466a7b;
	border-bottom:none;
	margin-bottom: 15px;
	}
.widget_em_calendar h3{
	padding: 12px 15px 0px 15px;
	}
.em-calendar{
	width: 96%;
	margin: 10px auto;
	}
.em-calendar .eventless-today{
	color: #fff;
	}
table.em-calendar td.eventless-today, 
table.em-calendar td.eventful-today {
	background-color: #466a7b;
	}
.em-calendar .days-names{
	color: #466a7b;
	font-family: 'Arial', sans-serif;
	font-weight: bold;
	font-size: 14px;
	text-transform: uppercase;
	}
table.em-calendar td {
	padding: 4px 11px;
	font-size: 14px;
	}
table.em-calendar .em-calnav-prev{
	text-indent: -9999em;
	display: block;
	background:url(images/icon-calendar-prev.png) left center no-repeat transparent;
	}
table.em-calendar .em-calnav-next{
	text-indent: -9999em;
	display: block;	
	background:url(images/icon-calendar-next.png) right center no-repeat transparent;
	}
table.em-calendar .em-calnav.em-calnav-next:hover,
table.em-calendar .em-calnav.em-calnav-prev:hover,
table.em-calendar .em-calnav.em-calnav-next:focus,
table.em-calendar .em-calnav.em-calnav-prev:focus{
	text-indent: -9999em;
	text-decoration: none;
	}
.eventless-pre, .eventful-pre, .eventful-post, .eventless-post{
	visibility: hidden;
	}
.eventful{
	background-color: #466a7b;
	}
.eventful a{
	color:#FFF !important;
	text-decoration: none;
	}

/*Gallery Widget*/
.widget_rsg {
	width: 279px;
	padding: 12px;
	min-height: 257px;
	}
.widget_rsg  h2{
	margin-bottom: 20px;
	}
.rsgallery{
	overflow: hidden;
	}
.rsg_item {
  	display: block;
  	float: left;
 	margin: 2px;
  	width: 65px !important;
	height: 49px !important;
	}

/*footer*/
#footer-widgets .widget_nav_menu{
	border: none;
	list-style: none;
	min-height: 190px;
}
#menu-footer-menu,
#menu-footer-menu .sub-menu{
	list-style-position:none;
	list-style-type:none;
	list-style: none;
	padding: 0;
}
#menu-footer-menu .sub-menu{
	margin-top:3px;
}
#menu-footer-menu .menu li{
	float: left;
	width: 20%;
}
#footer-widgets .block.footer-widget-1 {
	width: 80%;
	float: left;
	margin-bottom: 10px;
}
#footer-widgets .block.footer-widget-2{
	width: 15%;
	float: right;
	margin-right: 0;
}
#footer-widgets .block.footer-widget-2 .widget_text{
	border: none;
	margin: 0;
	display: block;
	width: 100%;
	min-height: 0;
}
#footer-widgets .block.footer-widget-2 h3{
	font-size: 12px;
	font-weight: bold;
	color: #fff;
	line-height: 20px;
	border:none;
	margin-bottom: 4px;
}
#menu-footer-menu .sub-menu li{
	width: 70%;
	line-height: 25px;
}
#menu-footer-menu li{
	float: left;
	width: 23%;
}
#menu-footer-menu li a{
	color: #fff;
	font-size: 12px;
	font-weight:bold;
	color: #fff;
	line-height: 20px;
}
#menu-footer-menu .sub-menu li a{
	font-weight: normal;
	line-height: 24px;
}

/*footer 2*/
#footer-container {
	background-color: #77979b;
	border:none;
}
#footer a {
	color: #fff;
}
#footer .col-left{
	width: 700px;
}
#footer .col-left img{
/*	float: left; */
	margin-top: 5px;
	text-align: left;
}
#footer .col-left ul{
/*	float: left; 
	width: 300px; */
	margin-left: 175px;
	display: flex;
	margin-top: -30px;
}

#footer .col-left li{
	width: 155px;
	margin: 0;
	padding-left: 24px;
}
#footer .col-left .contact{
	background: url(images/icon-footer-mail.png) 0px 1px no-repeat transparent;
	margin-bottom: 6px;
	}
#footer .col-left .phone{
	background: url(images/icon-footer-phone.png) 0px 2px no-repeat transparent;
	display: none;
}
#footer .col-left .address{
	background: url(images/icon-footer-home.png) 2px 4px no-repeat transparent;
	width: 220px;
	margin-top: -3px;
	line-height: 24px;
}

/*two-cols*/
body.two-col-left #main-sidebar-container #sidebar {
	width: 333px;
}
body.two-col-left #main-sidebar-container #main {
	width: 63.385%;
}
#main .page .title{
	font-size: 48px;
} 
.page-title, 
.post .title, 
.page .title, /* H1 */
h2,
h3 {
	font-family: 'HelveticaNeueW02-55Roma', sans-serif;
	font-weight: normal;
	}
.page .entry p:first-child {
	font-size: 24px;
	line-height: 29px;
	color: #393939;
	}
.page .entry .hentry p:first-child,
.page-template-template-blog-php .entry  p:first-child {
	font-size: inherit;
	line-height: inherit;
	}	
.entry h2, 
.entry h3{
	font-size: 24px;
	}
.entry p {
	font: 300 14px/1.5em sans-serif;
	color: #0F0F0F;
	}

.ivycat-post h2.entry-title {
	clear: left;
}

#main h3 {
	clear: both;
}

/*three cols*/
body.three-col-left-980 #main-sidebar-container {
	width: 83.92%;
}
body.three-col-left-980 #main-sidebar-container #main {
  width: 56%;
}
body.three-col-left-980 #main-sidebar-container #sidebar {
  width: 40.5%;
}
body.three-col-left-980 #sidebar-alt {
  width: 15.3%;
}
/*form*/
	input.vfb-medium, input[type="text"].vfb-medium, input[type="tel"].vfb-medium, 
	input[type="email"].vfb-medium, input[type="url"].vfb-medium, select.vfb-medium {
		width: 95%;
		height: 30px;
	}
	textarea.vfb-medium {
		width: 95%;
	}
	.entry ul.vfb-section{
		margin: 0 0 -15px 0;
		padding: 0 0 0 12px;
		list-style: none;
	}
	.entry ul.vfb-section li{
		list-style-type: none;
	} 
/*img gallery*/
.gallery {
	clear: both;
	}
.gallery img {
	border: 5px solid #cfcfcf !important;
	padding: 0;
	width: 85%;
	}
.gallery .gallery-caption {
	margin-top: 2px;
	}
.entry .wp-caption-text {
	font: 300 11px/1.5em "Helvetica Neue", Helvetica, sans-serif;
	padding: 6px;
	background-color: #FFF;
	border: none;
	color: #a2a2a2;
	}
.entry .wp-caption {
	background: none;
	border: none;
	margin-bottom: 0;
	box-shadow: none;	
	border-radius: 0;
	}
.entry .wp-caption img{
	border: 5px solid #cfcfcf !important;
	padding: 	0px;
	}

.single-event .nocomments {
	display: none;
}	
	
@media only screen and (max-width : 1024px) {
	.col-full, #wrapper {
		width: 100%;
	}
	body.full-width #inner-wrapper {
		padding: 0;
		/*padding-left: 0.5%;
		padding-right: 0.5%;*/
	}
	body.full-width #header, #nav-container, 
	body.full-width #content {
		padding-left: 2px;
		padding-right: 2px;
	}
	body.two-col-left #main-sidebar-container #sidebar {
		width: 313px;
	}
	body.full-width #content {
		background-color: #fff;
		width: 100%;
	}
	body.one-col-980 #main-sidebar-container #main {
		width: 99% !important;
	}
	.searchbutton {
		position: absolute;
		right: 0;
	}
	#top-nav {
		width: 100%;
	}
	body.chapter {
		background-position: 628px 0;
	}
	body.chapter #top-nav {
		width: 100%;
	}
	body.chapter #topad {
		margin: 30px 16px 0.5em;
	}
	.row_1 .last-post-x2 .last-post-text {
		width: 43%;
		padding-left: 20px;
	}
	.last-post-x1 .last-post-text p, 
	.last-post-x2 .last-post-text p{
		font-size: 13px;
	}
	.row_1 .last-post-x2 .last-post-text h3, 
	.row_1 .last-post-x2 .last-post-text h3 a {
		font-size: 36px;
		line-height: 36px;
	}
	.last-post-x1 .last-post-thumb img{
		width: auto;
		height: 115px;
	}
	.widget-color-card h3 {
		font-size: 44px;
	}
	.row_0 .simple_ads_manager_block_widget, 
	.row_2_ads .simple_ads_manager_block_widget,
	.row_7 .simple_ads_manager_block_widget {
		width: 99%;
	}
	.row_0 .simple_ads_manager_block_widget div div,
	.row_2_ads .simple_ads_manager_block_widget div div,
	.row_7 .simple_ads_manager_block_widget div div {
		margin-right: 8px !important;
	}
	#footer-widgets .block.footer-widget-1{
		width: 80%;
	}
	#footer-widgets .block.footer-widget-2{
		width: 116px;
	}
	.last-post-text {
		padding-left: 15px;
		float: left;
		width: 37%;
	}
	#main-sidebar-container #main {
		width: 63.385%;
		padding-left: 10px;
	}
	.col-right {
		margin-right: 5px;
	}
	.col-left {
		margin-left: 5px;
	}
	div#copyright.col-left {
		width: auto;
	}
	#sidebar .widget-color-card {
		width: 94%;
	}
	.three-col-left #sidebar .widget-color-card{
		width: 87.5%;
	}
	.three-col-left .widget,
	.three-col-left .widget,
	#sidebar .widget  {
		margin: 0 0 20px 0px;
	}
	#main-sidebar-container #main {
		width: 61.385% !important;
	}
	.three-col-left #main-sidebar-container #main {
		width: 51.385% !important;
	}
	.three-col-left #main-sidebar-container #main {
		padding-left: 0;
		width: 55.385% !important;
	}
	.three-col-left #main-sidebar-container {
		width: 80.92%;
	}
	.three-col-left #sidebar-alt {
		width: 17.3%;
	}
	.two-col-left .rsgallery {
		width: 207px;
		margin: 0 auto;
	}
	.home .rsgallery {
		width: 103%;
	}
}
@media only screen and (max-width : 1023px) {
	#content {
		padding: 0 0 25px;
	}
	body.full-width #inner-wrapper {
		padding:0;
		}
	.three-col-left #main-sidebar-container {
		width: 100% !important;
	}
	.three-col-left #main-sidebar-container #sidebar {
		width: 32% !important;
		float: right;
	}
	.three-col-left #sidebar .widget-color-card {
		width: 64.5%;
	}
	.three-col-left .ads-block-3{
		width: 95.2%;
		margin: 0 0 20px 4px !important;
	}
	.three-col-left-980 .ads-block-3 div{
		float: left;
	}
	.three-col-left-980 #sidebar-alt {
		width: 32.5% !important;
		float: right;
	}
	.one-col #main-sidebar-container #main {
		width: 97% !important;
	}
	.three-col-left #sidebar .widget-color-card {
		width:93.5%;
	}
	.three-col-left #sidebar .widget_rsg {
		width: 88.7%;
	}
	.three-col-left #main-sidebar-container #main {
		padding-left: 7px;
		width: 55.385% !important;
	}
}
@media only screen and (min-width: 1025px) and (max-width: 1183px)  {
	body.chapter {
		background-position: 670px 0;
	}
}
@media only screen and (min-width: 1183px) and (max-width: 1440px) {
	body.chapter {
		background-position: 750px 0;
	}
}
@media only screen and (min-width: 1440px)  {
	body.chapter {
		background-position: top right;
	}
}

@media (max-width: 995px){
	.chapter #content,
	.chapter #nav-container {
		border: none !important;
	}
	.chapter #content {
		padding-top: 20px;
	}
	body.full-width #content {
		padding-left: 8px;
	}
	.slider-wrapper {
		max-width: 98.5%;
	}
	.widget_recent_entries {
		max-width: 94%;
		min-width:262px;
	}
	.widget_rsg {
		width: 27.7%;
	}
	.home .widget_em_calendar {
		width: 27.8%;
	}
	.widget-color-card {
		width: 29.3%;
	}
	.widget.ads-place-4 {
		width: 30.1%;
	}
	.last-post-x1 {
		width: 256px;
	}
	.last-post-x2 {
		width: 590px;
	}
	.last-post-x3 {
		width: 100%;
	}
	.widget_facebook-like-box {
		width: 30.5%;
	}
	.fb_iframe_widget span {
		max-width: 293px !important;
	}
	.rsgallery {
		width: 77%;
		margin: 0 auto;
	}
	.widget.ads-block-2 {
		padding: 3px;
		height: 89px;
	}
	.two-col-left #main-sidebar-container #sidebar {
		width: 295px;
		margin-right: 13px;
	}
	.two-col-left #sidebar .ads-place-4 {
		min-height: 200px;
		width: 96%;
	}
	.two-col-left #sidebar .widget_em_calendar,
	.two-col-left #sidebar .ads-place-4{
		width: 92%;
		padding: 0 7px;
	}
	.two-col-left .widget_rsg{
		width: 89%;
	}
	.home .widget_rsg {
		width: 28%;
	}
	.row_0 .simple_ads_manager_block_widget, 
	.row_2_ads .simple_ads_manager_block_widget,
	.row_7 .simple_ads_manager_block_widget  {
		width: 97.6%;
	}
	.two-col-left .widget-color-card{
		width: 93.3% !important;
	}
	.two-col-left .widget_rsg h3,
	.three-col-left .widget_rsg h3{
		margin-bottom: 0;
	}
	.home .widget-color-card {
		width: 29.4% !important;
	}
	.three-col-left #main-sidebar-container #sidebar {
		width: 33.3% !important;
	}
	.three-col-left-980 #sidebar-alt {
		width: 33.7% !important;
	}
	.three-col-left #sidebar .widget-color-card {
		width: 89.5%;
	}
	.three-col-left #sidebar .widget_rsg {
		width: 85.7%;
	}
	.three-col-left .ads-block-3 {
		width: 91.5%;
	}
	body.one-col-980 #main-sidebar-container #main {
		width: 97% !important;
	}
}
@media (max-width: 980px){
	#loopedSlider {
		max-height: 338px !important;
	}
	.widget {
		margin: 0 0 20px 19px;
	}
	.row_0 .simple_ads_manager_block_widget, 
	.row_2_ads .simple_ads_manager_block_widget, 
	.row_7 .simple_ads_manager_block_widget {
		width: 97.4%;
	}
	.widget_recent_entries {
		max-width: 93.7%;
		min-width: 257px;
	}
	.widget.ads-block-2 {
		max-width: 289px;
		width: 287px;
	}
	.home .widget_em_calendar {
		width: 27.7%;
	}
	.widget_facebook-like-box {
		width: 30.4%;
		min-height: 282px;
	}
	.last-post-x2 {
		width: 579px;
	}
	.last-post-x2 .last-post-text {
		width: 42%;
	}
	.last-post-x3 {
		width: 100%;
	}
	.three-col-left #main-sidebar-container #main {
		padding-left: 10px;
		width: 59.385% !important;
	}
	.three-col-left #main-sidebar-container #sidebar {
		width: 33.5% !important;
		margin-right: 3px;
	}
	.three-col-left #sidebar-alt {
		float: right;
		width: 33.6% !important;
		margin-right: 6px !important;
	}
	.three-col-left #sidebar .widget-color-card {
		width:91% !important;;
	}
	.three-col-left .widget-color-card p {
		width: 219px !important;;
	}
	.three-col-left .em-calendar-wrapper,
	.two-col-left .em-calendar-wrapper{
		width: 271px;
		margin: 0 auto;
	}
	.three-col-left .ads-block-3 {
		width: 93.5%;
	}
	.three-col-left #sidebar .widget_rsg {
		width: 86.5% !important;
	}
	.three-col-left .widget_em_calendar {
		width: 85.6% !important;
		min-height: 237px;
	}
	.three-col-left #sidebar .ads-place-4 {
		min-height: 220px !important;
		width: 92.5% !important;
		}
	.three-col-left table.em-calendar td {
		padding: 2px 9px;
		font-size: 12px;
	}
}

@media (max-width: 962px){
	.widget.ads-place-1 {
		margin-left: auto !important;
		margin-right: auto;	
	}
	.three-col-left .em-calendar-wrapper, .two-col-left .em-calendar-wrapper {
		width: 97%;
	}
	.home .widget_em_calendar, .widget_em_calendar {
		min-height: 254px;
		width: 41%;
	}
	body.home #content #main-sidebar-container {
		width: 85% !important;
		margin: 0 auto;
	}
	.two-col-left #content #main-sidebar-container {
		width: 100% !important;
		margin: 0 auto;
	}

	#main-sidebar-container #main {
		width: 59.385% !important;
	}
	.three-col-left #main-sidebar-container #sidebar {
		width: 34% !important;
	}
	.three-col-left #sidebar-alt {
		width: 34.2% !important;
	}
	/*widget*/
	.widget {
		margin: 0 0 20px 0;
		max-width: 97%;
		min-height: 155px;
		min-height: 260px;
	}
	.widget_recent_entries {
		min-width: 93%;
		width: 93%;
	}
	.home .widget-color-card {
		width: 98% !important;
		max-width: 100%;
	}
	.widget-color-card {
		min-height: 200px !important;
		padding-bottom: 15px;
		width: 93.7% !important;
	}
	.widget-color-card img {
		max-width: 33%;
	}
	.widget-color-card p {
		width: 90%;
		margin-bottom: 10px;
	}
	.widget.ads-block-2 {
		max-width: 100%;
		width: 96.8%;
	}
	/*post*/
	.widget_recent_entries {
		min-height: 115px;
	}
	.last-post-x1 {
		width: 100%;
	}
	.last-post-x1 .last-post-text {
		width: 55%;
		margin-left: 15px;
	}
	.last-post-x1 .last-post-text h3 {
		margin-top: 0;
	}
	.last-post-x2 {
		width: 100%;
	}
	.last-post-x2 .last-post-text {
		width: 51%;
	}
	/*calendar*/
	.home .widget_em_calendar {
		width:94.3%;
	}
	.home .em-calendar {
		width: 49%;
	}
	.three-col-left .em-calendar {
		width: 64%;
	}
	/*facebook*/
	.widget_facebook-like-box {
		max-width: 99%;
		width: 97.5%;
		max-height: 200px;
	}
	/*photo gallery*/
	.widget_rsg {
		min-width: 95.6%;
		min-height: 130px;
	}
	.home .rsgallery {
		width: 94%;
	}
	.home .widget_rsg {
		width: 94.5%;
	}
	.two-col-left .widget_rsg {
		min-width: 87.6%;
	}
	.three-col-left .widget_rsg {
		min-width: 85.8%;
	}
	/*ads*/
	.widget.ads-place-1 img {
		width: 100%;
	}
	.ads-block-3 {
		width: 100% !important;
	}
	.three-col-left .ads-block-3 {
		width: 93.5% !important;
	}
	.ads-block-3 div{
		float: left;
	}
	.home .widget.ads-place-4 {
		width: 97.6%;
	}
	.home .widget.ads-place-4 img{
		margin: 0 auto;
		display: block;
	}
	.row_0 .simple_ads_manager_block_widget, 
	.row_2_ads .simple_ads_manager_block_widget,
	.row_7 .simple_ads_manager_block_widget {
		width: 97.5%;
		max-width: 98%;
	}
	.three-col-left table.em-calendar td {
		padding: 4px 11px;
		font-size: 14px;
	}
	#footer-widgets{
		padding-left: 9px !important;
		padding-right: 9px !important;
	}
}
@media (max-width: 887px){
	body.two-col-left-980 #main-sidebar-container {
		width: 100%;
	}
	.home .widget.ads-place-4 {
		width: 96.6%;
	}
	.three-col-left #main-sidebar-container #sidebar {
		width: 37.5% !important;
		margin-right: 3px;
	}
}

@media (max-width: 880px) { 

	body.chapter #header {
			padding-top: 0 !important;
		}
	body.chapter #topad {
		float: left;
		margin: -52px 0 0 287px;
	}
	body.chapter #logo a span {
		margin-top: 22px;
		font-size: 45px;
	}
	body.chapter #logo a img {
		margin-top: -44px;
	}
	.last-post-x3 .last-post-text h3 {
		font-size: 40px;
		line-height: 40px;
	}
	.last-post-x3 .last-post-text p {
		font-size: 16px;
		line-height: 23px;
		width: 90%;
	}
	.last-post-x3 .last-post-text{
		width: 55%;
	}
		
		/*lopp slider*/
	.slider-wrapper {
		margin-bottom: 20px;
		max-height: 300px;
		max-width: 98.4%;
		height: auto;
	}
	#loopedSlider .content h2, 
	#loopedSlider .content h2 a {
		font-size: 38px;
		line-height: 41px;
	}
		
	/*article*/
	.two-col-left #main-sidebar-container #sidebar {
		margin-right: 15px;
	}
	.one-col  #content {
		padding-left: 0px;
	}
	.three-col-left #main-sidebar-container #sidebar {
		margin-right: 8px;
	}
	.two-col-left .rsgallery,
	.three-col-left	.rsgallery {
		width: 84%;
	}
	.three-col-left .ads-block-3 {
		width: 92.2% !important;
	}
	.three-col-left #sidebar-alt {
		width: 38.2% !important;
	}
}

@media (max-width: 860px) { 
	#main-sidebar-container #main {
		width: 55.385% !important;
	}
}
@media (max-width: 768px) { 
	body.chapter .top-navigation {
		text-align: left;
	}
	body.chapter #logo a img {
		margin-top: 0px;
		margin-left: 2px;
	}
	body.chapter #logo a span {
		margin-top: 62px;
	}
	body.full-width #header{
		padding:0!important;
	}
	body.full-width #content {
		width: 98%;
		padding: 0;
		margin-top: 20px;
	}
	/*widget*/
	.widget {
		margin: 0 0 20px 0;
		min-width: 95%;
		min-height: 155px;
	}
	#sidebar .widget {
		max-width: 98%;
	}
	.widget_recent_entries {
		min-width: 94%;
	}
	.widget-color-card {
		min-width: 97.5%;
		min-height: 200px !important;
	}
	.widget-color-card img {
		max-width: 14%;
	}
	#sidebar .widget-color-card img {
		max-width: 39%;
	}
	.widget-color-card p {
		width: 96% !important;
		margin-bottom: 10px;
	}
	
	/*lopp slider*/
	.slider-wrapper {
		margin-bottom: 20px;
		max-height: 346px;
		height: 346px;
		max-width: 100%;
	}
	#loopedSlider .content h2, 
	#loopedSlider .content h2 a {
		font-size: 38px;
		line-height: 41px;
	}
	/*post*/
	.widget_recent_entries {
		min-height: 115px;
	}
	.last-post-x1 {
		width: 100%;
	}
	.last-post-x1 .last-post-text {
		width: 48%;
		margin-left: 15px;
	}
	.last-post-x1 .last-post-text h3 {
		margin-top: 0;
	}
	.last-post-x2 {
		width: 100%;
	}
	.last-post-x2 .last-post-text {
		width: 51%;
	}
	/*calendar*/
	.em-calendar {
		width: 64%;
	}
	.home .widget_em_calendar {
		width: 95.5%;
	}
	/*facebook*/
	.widget_facebook-like-box{
		min-width: 100%;
		max-height: 200px;
	}
	/*photo gallery*/
	.home .widget_rsg {
		max-width: 96.4% !important;
		}
	.widget_rsg {
		min-width: 95% !important;
		min-height: 130px;
		width: 96% !important;
	}
	.three-col-left  #sidebar .widget_rsg,
	.two-col-left #sidebar .widget_rsg {
		width: 95.3% !important;
		max-width: 100%;
		min-width: 0 !important;
	}
	.three-col-left .ads-block-3 {
		width:95% !important;
	}
	.home .rsgallery {
		width: 100%;
	}
	/*ads*/
	.row_0 .simple_ads_manager_block_widget, 
	.row_2_ads .simple_ads_manager_block_widget,
	.row_7 .simple_ads_manager_block_widget {
		max-width: 100%;
		width: 99.6%;
	}
	.widget.ads-block-2 {
		width: 98.8%;
	}
	.widget.ads-place-1 {
		max-width: 100% !important;
	}
	.widget.ads-place-1 img {
		width: 100%;
		margin-top: 20px;
	}
	.widget.ads-place-4 {
		width: 99% !important;
		max-width: 100%;
	}
	.ads-block-3 {
		width: 100% !important;
	}
	.ads-block-3 div{
		float: left;
	}
	/*footer*/
	#menu-footer-menu{
		margin-left: 15px;
	}
	#menu-footer-menu li {
		float: none;
		width: 100%;
		margin-top: 10px;
	}
	#menu-footer-menu .sub-menu {
		margin-top: 0px;
	}
	#menu-footer-menu li .sub-menu li{
		margin-top: 0;
	}
	#footer-widgets .block.footer-widget-2 {
		margin-top: 10px;
	}
	#footer .col-right {
		margin-right: 20px;
		margin-left: 15px;
	}
	#footer .col-left {
		width: auto;
		margin-left: 15px;
		width: 59%;
	}
	#footer .col-left ul {
		float: none;
		width: max-content;
		clear: both;
		margin: 20px auto;
	}	
	#footer .col-left ul li{
		margin-bottom: 6px;
	}
	li.contact, li.address {
		display: inline-block;
		min-width: 150px;
	}
/*	#footer .col-left .address {
		float: none;
		margin-right: 0;
		margin-top: 5px;
		line-height: auto;
	} */
	#footer .col-left img {
		float: none;
		display: block;
	}
	#footer-container {
	/*	background: url(images/bg_bottom-footer.png) center top no-repeat #023867;*/
		padding-top: 13px;
	}
	/*articles*/
	#main .page .title {
		font-size: 40px;
	}
	#main-sidebar-container #main {
		width: 96% !important;
	}
	body.two-col-left #main-sidebar-container #sidebar,
	body.three-col-left-980 #main-sidebar-container {
		width: 97% !important;
		margin-left: auto;
		margin-right: auto;
	}
	body.two-col-left #main-sidebar-container #sidebar{
		float: none;
		display: block;
	}
	.three-col-left .em-calendar-wrapper, .two-col-left .em-calendar-wrapper {
		width: 80%;
	}
	.two-col-left #sidebar .widget_em_calendar, .two-col-left #sidebar .ads-place-4 {
		width: 98.6%;
		padding: 0;
		max-width: 100%;
	}
	body.three-col-left-980 #main-sidebar-container #sidebar {
		width: 97% !important;
		margin-right: 0;
	}
	body.three-col-left-980 #content{
		width: 100% !important;
	}
	body.three-col-left #main-sidebar-container #main {
		width: 98% !important;
	}
	body.three-col-left-980 #sidebar-alt {
		width: 97.5% !important;
		margin-right: 0 !important;
	}
	.three-col-left #sidebar .ads-place-4 {
		width: 98% !important;
	}
	.three-col-left #sidebar .ads-place-4 img,
	.two-col-left #sidebar .ads-place-4 img{
		width: auto;
		display: block;
		margin: 0 auto;
	}
	body.full-width #footer-widgets{
		width: 96%;
	}
}

@media (max-width: 767px) { 
	body.home #content #main-sidebar-container {
		width: 97% !important;
	}
	/*body*/
	body.full-width #inner-wrapper {
		padding: 0;
	}
	body.full-width #content {
		width: 100%;
		padding-left: 0;
		padding-right: 0;
	}
	body.full-width .nav-toggle:before {
		padding: 1.1em 1em 1.1em 0.5em;
	}
	body.chapter #topad {
		float: none;
		clear: both;
		margin: 0;
		padding-top: 21px;
		margin-bottom: 9px;
		text-align: center;
	}
	body.chapter #logo a span {
		font-size: 	40px;
		float: 	left;	
		width: 100%;
		padding-left: 0;
		text-align:center;	
	}
	body.chapter #logo a img {
		margin-top: -44px;
		display: block;
		margin: 0 auto;
	}
	body.chapter #logo{
		margin-top: 0;
	}
	/*header*/
	#header {
		padding: 30px 0 16px;
	}
	#header-container{
		border-bottom:1px solid #ddd;
		margin-bottom: 0; 	
	}
	#logo {
		display: block;
		width: 100%;
		text-align: center;
		margin-top: 15px;
	}
	#logo span {
		display: block;
		width: 100%;
		text-align: center;
		font-size: 40px;
	}
	#topad {
		float: none;
		display: block;
		width: 100%;
		text-align: center;
		margin-top: 70px;
		margin-bottom: 15px;
	}
	#nav-container {
		margin: 0;
	}
	body.full-width #content {
		margin-top: 15px;
	}
	nav#navigation ul.nav li ul li a:hover {
		text-decoration: underline;	
	}
	ul.nav li a {
	border-bottom: 1px solid #ddd;
	}
	nav#navigation ul.nav li ul li a {
		border-top: none;	
	}

	#navigation ul {
		margin-bottom: 2.618em;
	}
	#navigation ul ul {
		margin: 0 0 0 0.618em;
	}
	#navigation h3 {
		font-size: 19px;
		border-bottom: 2px solid #466a7b;
	}
	#nav-container #main-nav .sub-menu a {
		height: auto;
	}
	#top-nav .sub-menu li a {
		padding-left: 13px;
		margin-left: 0;
		height: 9px;
	}
	#nav-container, body.full-width #content {
		padding-left: 2px;
		padding-right: 2px;
		padding-top: 0;
		width: auto;
	}
	nav#navigation ul.nav li ul {
		margin: 0;
		border: none;	
	}
	#top-nav li{
		margin-left: 0;
		width: 100%;
	}
	#top-nav li .sub-menu li {
		background-color: #fff;
		margin: 0;
		padding: 0;
		width: 100%;
	}
	#navigation .menus .nav.fl .sub-menu a{
		font-weight: normal;
		height: 16px;
	}
	#top-nav .globe a,
	#top-nav .intl a,
	#top-nav .net a,
	#top-nav .login a {
		/*background:none;*/
		padding-left:0;
	}

	#top-nav .globe > a:before,
	#top-nav .intl > a:before,
	#top-nav .net > a:before,
	#top-nav .login > a:before,
	#top-nav .globe:hover > a:before,
	#top-nav .intl:hover > a:before,
	#top-nav .net:hover > a:before,
	#top-nav .login:hover > a:before {
		background:none;
	}

	#top-nav .sub-menu li a{
		padding-left: 13px !important;
	}
	.searchbutton {
		display: none;
	}
	div#copyright {
		width: 100% !important;
		
	}
	div#disclaimer,
	div#credit {
		text-align: center;
	}
	div#disclaimer {
		clear:both;
		opacity:0.5;
		padding:1em 0;
		font-size: 82%;
	}
	div#copyright img {
		margin: 0 auto;
	}
}

@media (max-width: 757px) { 
	.last-post-x1 .last-post-text {
		width: 56%;
		margin-left: 10px;
	}
}
@media (max-width: 726px) { 
	.last-post-x3 .last-post-thumb {
		float: none;
		display: block;
		width: 100%;
		margin-bottom: 15px;
	}
	.last-post-x3 .last-post-text {
		width: 100%;
	}
	.last-post-x3 .last-post-thumb img {
		text-align: center;
		display: block;
		width: auto;
		margin: 0 auto;
	}
}
@media (max-width: 691px) { 
	#footer-widgets .block.footer-widget-2 {
		width: 50%;
		margin-left: 15px;
		float: none;
		display: block;
		margin-bottom: 10px;
	}
	.last-post-x1 .last-post-text {
		width: 55% !important;
		margin-left: -40px !important;
	}
	.last-post-x1 .last-post-thumb img {
		width: 89% !important;
		height: auto !important;
		max-width: 76%;
	}
	.widget_recent_entries {
		min-width: 93%;
		min-height: 81px;
	}
	.widget-color-card {
		min-width: 97%;
	}
	.last-post-x2 .last-post-thumb img {
		min-width: 77%;
		height: auto;
	}
	.last-post-x2 .last-post-text {
		width: 53%;
		margin-left: -58px;
	}
	.widget.ads-place-4 {
		width: 98% !important;
	}
	.home .widget_em_calendar, 
	.widget_em_calendar {
		padding: 0 10px;
	}
	.widget_facebook-like-box {
		min-width: 98.5%;
	}
	.widget_rsg {
		width: 95% !important;
	}
}
@media (max-width: 691px){
	.row_1 .last-post-x2 .last-post-text {
		width: 57%;
		padding-left: 23px;
	}
	.last-post-x2 .last-post-thumb img {
		max-width: 81%;
	}		
}
@media (max-width: 661px) { 
	body.full-width #content {
		width: 99%;
	}
	.two-col-left #content,
	.three-col-left #content {
		width: 100% !important;
	}
	.slider-wrapper {
		height: 229px;
	}
	.widget_recent_entries {
		min-width: 93%;
	}
	.three-col-left #sidebar .widget_rsg, .two-col-left #sidebar .widget_rsg {
		width: 94% !important;
	}
	.two-col-left #sidebar .widget_em_calendar, .two-col-left #sidebar .ads-place-4 {
		width: 98%;
	}
	.three-col-left .ads-block-3 {
		width: 96% !important;
	}
}
@media (max-width: 639px){
	.row_1 .last-post-x2 .last-post-text {
		width: 48%;
	}
	.last-post-x2 .last-post-thumb img {
		max-width: 60%;
	}		
}
@media (max-width: 640px) { 
	.last-post-x2 .last-post-text {
		width: 49%; 
	}
	#loopedSlider .content h2, 
	#loopedSlider .content h2 a {
		font-size: 24px;
		line-height: 28px;
		padding-top: 0;
	}
	#loopedSlider .content {
		padding-top: 12px !important;
	}
}
@media (max-width: 574px) {
	.last-post-x1 .last-post-text {
		width: 50% !important;
		margin-left: -51px !important;
	}
	body.full-width #content {
		width: 97%;
	}
	.slider-wrapper {
		height: 477px;
		max-height: 477px;
	}
}
@media (max-width: 591px) { 
	.last-post-x2 .last-post-text {
		width: 42%; 
	}
}
@media (max-width: 522px) { 
	.row_1 .last-post-x2 .last-post-text {
		width: 93%;
		padding-left: 0px;
	}
	.three-col-left .em-calendar-wrapper, 
	.two-col-left .em-calendar-wrapper {
		width: 287px;
	}
	.home .widget_em_calendar, .widget_em_calendar {
		min-height: 200px;
	}
	.three-col-left .widget_em_calendar {
		width: 93.6% !important;
	}
	.widget-color-card {
		min-width: 95.5% !important;
	}
	.three-col-left #main-sidebar-container #main {
		padding-left: 0px;
	}
	.three-col-left #sidebar .widget_rsg, .two-col-left #sidebar .widget_rsg {
		width: 93% !important;
	}
	.three-col-left .ads-block-3 {
		width: 94.8% !important;
	}
	body.full-width #content {
		width: 97%;
	}
	.last-post-x1 .last-post-text {
		width: 92% !important;
		margin-left: 0px !important;
	}
	.last-post-x2 .last-post-text {
		width: 82%;
		margin: 0;
	}
	.last-post .last-post-text {
		margin-top: 12px;
	}
	.last-post-thumb {
		display: block;
		width: 100%;
		text-align: center;
		float: none;
		margin: 0 auto !important;
	}
	.last-post-x1 .last-post-thumb img {
		width: 70% !important;
		height: auto !important;
		max-width: 100%;
		display: block;
		text-align: center;
		margin: 0 auto;
	}
	.widget-color-card {
		min-width: 98%;
	}
	.widget_facebook-like-box {
		min-width: 100.5%;
	}
	.widget.ads-place-4 {
		width: 97.5% !important;
	}
	.widget_recent_entries {
		min-width: 91%;
		width: 91%;
	}
	.widget {
		min-width: 80%;
	}
	.widget_facebook-like-box {
		width: 98.1%;
	}
	.widget_rsg {
		width: 93.2% !important;
		min-width: 93.2% !important;
	}

	/*slider*/
	.flex-direction-nav {
		margin: 0 !important;
		z-index: 100;
		position: absolute;
		top: 14px;
		right: 10px;
	}
	#loopedSlider {
		min-height: 230px !important;
		position: relative;	
	}
	#loopedSlider img {
		max-width: none;
		margin-left: -50%;
	}
	.slider-wrapper {
		min-height: 336px;
	}
	#loopedSlider .content {
		position: relative !important;
		left: 0px !important;
		top: 0px !important;
		background: #2C2C2C !important;
		background: rgba(50, 50, 50) !important;
		max-width: 100% !important;
		width: 100% !important;
		height: auto !important;
		min-height: 120px !important;
		padding-bottom: 0;
	}
	#loopedSlider .content .title {
		margin: 0;
		margin-bottom: 20px;
	}
}
@media (max-width: 480px) { 
	/*slider*/
	.slider-wrapper {
		min-height: 320px;
	}
	/*body*/
	body.full-width #inner-wrapper {
		padding:0;
	}
	body.full-width #content {
		width: 97% !important;
		padding-left: 7px;
		padding-right: 7px;
	}
	/*widget*/
	.widget {
		min-width: 90% !important;
		margin: 0 0 20px 0px;
		min-height: 50% !important;
	}
	.widget-row .widget {
		width: 90%;
	}
	.home .widget-color-card {
		width: 96.7% !important;
	}
	.widget-color-card,
	.three-col-left #sidebar .widget-color-card, 
	.two-col-left #sidebar .widget-color-card {
		padding-left: 15px;
		padding-top: 15px;
		padding-bottom: 24px;
	}
	.widget-color-card{
		width: 97% !important;
	}
	.three-col-left #sidebar .widget-color-card, .two-col-left #sidebar .widget-color-card {
		width: 93.5% !important;
	}
	.widget-color-card p {
		width: 90%;
	}
	/*post*/
	.last-post-x1,
	.last-post-x2,
	.last-post-x3 {
		width: 100%;
	}
	.last-post-x2 .last-post-text,
	.last-post-x3 .last-post-text{
		margin-top: 13px;
	}
	.last-post-x1 .last-post-text {
		margin-left: 0 !important;
		width: 100% !important;
	}
	.last-post-x1 .last-post-thumb img {
		margin: 0 auto;
		width: 100% !important;
	}
	.last-post-x1 .last-post-text h3 {
		margin-top: 10px;
	}
	.last-post-x3 .last-post-text h3 {
		font-size: 44px;
		line-height: 45px;
	}
	.last-post-x3 .last-post-thumb {
		float:none;
	}
	.last-post-x3 .last-post-text p{
		font-size: 15px;
		line-height: 20px;
	}
	.last-post-text {
		padding-left: 0;
		width: 96% !important;
		margin-left: 0 !important;
	}
	.last-post-thumb {
		text-align: center;
		float: none;
	}
	/*facebook*/
	.widget_facebook-like-box {
		width: 98% !important;
	}
	.fb_iframe_widget span {
		height: 150px !important;
		width: 450px !important;
	}
	/*calendar*/
	.home .widget_em_calendar {
		width: 93.5%;
	}
	.three-col-left table.em-calendar td {
		padding: 4px 12px;
		font-size: 12px;
	}
	.three-col-left .em-calendar-wrapper, 
	.two-col-left .em-calendar-wrapper {
		width: 268px;
		margin-bottom: 10px;
	}
	.home .em-calendar-wrapper{
		width: auto !important;
	}
	.three-col-left .widget_em_calendar {
		width: 93% !important;
	}
	/*ads*/
	.ads-place-1{
		width: 100% !important;
	}
	.widget.ads-place-4{
		width: 97% !important;
	}
	.two-col-left #sidebar .ads-place-4, 
	.three-col-left #sidebar .ads-place-4 {
		width: 94% !important;
	}
	.row_0 .simple_ads_manager_block_widget, 
	.row_2_ads .simple_ads_manager_block_widget,
	.row_7 .simple_ads_manager_block_widget {
		width: 98% !important;
	}
	.widget.ads-block-2 div,
	.row_0 .simple_ads_manager_block_widget div,
	.row_2_ads .simple_ads_manager_block_widget div,
	.row_7 .simple_ads_manager_block_widget div {
		margin-right: auto !important;
		margin-left: auto !important;
		width: 100%;
	}
	.row_0 .simple_ads_manager_block_widget div div, 
	.row_2_ads .simple_ads_manager_block_widget div div,
	.row_7 .simple_ads_manager_block_widget div div {
		width: auto !important;
		text-align: center;
	}
	.widget.ads-block-2 div div{
		width: auto !important;
		text-align: center;
	}
	.widget.ads-block-2 {	
		width: 96.7% !important;
	}
	/*photo gallery*/
	.widget_rsg {
		width: 92.5% !important;
	}
	body.two-col-left #main-sidebar-container #sidebar,
	body.one-col-980 #main-sidebar-container #main {
		width: 100% !important;
	}
	.home .widget_rsg {
		min-width: 92.7% !important;
	}
	#main-sidebar-container #main {
		width: 100% !important;
		padding-left: 0;
	}
	.page #main-sidebar-container #main,
	.single #main-sidebar-container #main {
		width: 97% !important;
	}
	#content {
		padding-top: 0;
	}
	/*article*/
	#sidebar .widget {
		max-width: 98% !important;
	}
	#main .page .title {
		font-size: 38px;
	}
	.page .entry p:first-child {
		font-size: 19px;
		line-height: 25px;
	}
	.entry .wp-caption img {
		text-align: center;
		display: block;
		width: 85% !important;
		margin: 0 auto !important;
	}
	.entry .wp-caption {
		width: 98% !important;
		text-align: center;
		display: block;
	}
	.entry img{
		/*width: 95%;		margin-bottom: 15px;*/

		margin: 14px auto;
		display: block;
	}
	.alignright,
	.alignleft {
		float: none;
		margin: 0 auto;
	}
	.widget_rsg {
		min-width: 92.4% !important;
	}
	.gallery-item {
		width: 33.3% !important;
	}
	.gallery-item img{
		margin-bottom: 0;
	}
	.three-col-left #sidebar .widget_rsg, 
	.two-col-left #sidebar .widget_rsg {
		width: 89.5% !important;
	}
	body.two-col-left #main-sidebar-container #sidebar{
		width: 100% !important;
	}
	.two-col-left #sidebar .ads-place-4 img{
		display: block;
		margin: 0 auto;
	}
	.two-col-left #sidebar .widget_em_calendar, .two-col-left #sidebar .ads-place-4 {
		width: 94.7%;
	}
	.two-col-left .rsgallery, .three-col-left	.rsgallery {
		width: 68%;
	}
	body.three-col-left #main-sidebar-container #sidebar {
		margin-right: 3px;
		width: 99% !important;
	}
	.three-col-left .ads-block-3 {
		width: 95.5% !important;
	}

}
@media (max-width: 411px) { 
	.slider-wrapper {
		min-height: 300px;
	}
}
@media (max-width: 320px) { 
	body.two-col-left #main-sidebar-container #sidebar,
	body.three-col-left-980 #main-sidebar-container {
		width: 99% !important;
	}
	body.chapter #logo a span {
		font-size: 70%;
	}
	body.full-width #header{
		padding-left:0;
		padding-right: 0;
	}
	.three-col-left .em-calendar-wrapper, 
	.two-col-left .em-calendar-wrapper {
		width: 264px;
	}
	.three-col-left .widget_em_calendar,
	.two-col-left .widget_em_calendar {
		width: 89.6% !important;
	}
	.three-col-left #sidebar .widget_rsg, 
	.two-col-left #sidebar .widget_rsg {
		width: 85% !important;
	}
	#sidebar .widget {
		min-width: 91.5% !important;
	}
	body.chapter #logo a img {
		display: block;
		float: none;
	}
	body #logo a span {
		font-size: 70%;
	}

	/*widgets*/
	.widget {
		min-width: 83% !important;
	}
	.widget-row .widget {
		width: 83%;
	}
	.home .widget-color-card,
	.widget-color-card {
		max-width: 100%;
		width: 93.7% !important;
	}
	.widget-color-card img{
		max-width: 36%;
	}
	.widget-color-card p {
		margin-bottom: 10px;
	}
	/*slider*/
	.slider-wrapper {
		min-height: 272px;
	}
	/*calendar*/
	.home .widget_em_calendar,
	.widget_em_calendar {
		width: 89% !important;
	}
	.home .widget_em_calendar, .widget_em_calendar {
		padding: 0 9px;
	}
	/*posts*/
	.last-post-x2 .last-post-thumb img {
		max-width: 100%;
	}
	.last-post-text h3 {
		font-size: 22px;
		line-height: 25px;
	}
	.last-post-x3 .last-post-text h3 {
		font-size: 32px;
		line-height: 35px;
	}
	.last-post-x1 .last-post-text {
		width: 100% !important;
	}
	/*facebook*/
	.widget_facebook-like-box {
		width: 95.5% !important;
	}
	/*photo gallery*/
	.home .widget_rsg {
		min-width: 87.1% !important;
	}
	.home .rsgallery {
		width: 81%;
	}
	.widget_rsg {
		width: 87% !important;
	}
	.rsgallery {
		width: 81%;
		margin: 0 auto;
	}
	.gallery {
		width: 100%;
		margin:0 !important;
	}
	.gallery.gallery-columns-3 {
		width: 100%;
		margin: 0 !important;
	}

	/*ads*/
	.widget.ads-block-2 {
		width: 93.2% !important;
	}
	.widget.ads-place-4, 
	.two-col-left #sidebar .ads-place-4, 
	.three-col-left #sidebar .ads-place-4 {
		width: 91% !important;
	}
	.home .widget.ads-place-4 {
		width: 94% !important;
	}
	.row_0 .simple_ads_manager_block_widget, 
	.row_2_ads .simple_ads_manager_block_widget,
	.row_7 .simple_ads_manager_block_widget {
		width: 95.5% !important;
	}
	.row_0 .simple_ads_manager_block_widget div div, 
	.row_2_ads .simple_ads_manager_block_widget div div,
	.row_7 .simple_ads_manager_block_widget div div {
		width: 37%;
	}
	.ads-place-1 {
		width: 99% !important;
	}
	/*enties*/
	.page.type-page {
		width: 99%;
	}
	
	.entry img {
		width: 97%;
		margin-bottom: 0px;
	}
	.two-col-left .rsgallery, .three-col-left	.rsgallery {
		width: 82%;
	}
	.three-col-left #sidebar .widget-color-card, 
	.two-col-left #sidebar .widget-color-card {
		width: 91% !important;
	}
	.two-col-left #sidebar .widget_em_calendar{
		width: 93% !important;
	}
	.international.three-col-left #sidebar .ads-place-4 {
		width: 95% !important;
	}
	.international.three-col-left #sidebar .widget_em_calendar {
		min-width: 88.5% !important;
	}
	.international.three-col-left #sidebar .widget-color-card {
		width:94% !important;
	}
	.international.three-col-left .ads-block-3 {
		width: 93% !important;
	}
	.international.three-col-left .ads-block-3 div div{
		margin: 4px !important;
		padding: 4px !important;
	}
	.international.three-col-left  .em-calendar-wrapper {
		width: 221px;
		margin-bottom: 10px;
	}
}

/* WordPress bar */

@media only screen and (min-width: 783px) and (max-width: 1140px) {
	#wp-admin-bar-top-secondary #wp-admin-bar-csl-current-locale,
	#wp-admin-bar-search {
		display: none;
	}
}

@media only screen and (min-width: 783px) and (max-width: 1230px) {
	#wp-admin-bar-site-name {
		max-width: 130px;
	}
	#wp-admin-bar-wpengine_adminbar > div {
		max-width: 75px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;		
	}
	#wp-admin-bar-wp-logo,
	#wp-admin-bar-woothemes {
		display: none;
	}
}

.null-instagram-feed {
	padding: 12px;
	min-height: 258px;
	position: relative;
}

.null-instagram-feed h2 {
	margin-bottom: 20px;
	width: 208px;
	overflow: hidden;
}


.widget .instagram-pics {
	list-style: none;
	height: 194px;
}

.widget .instagram-pics li{
	width: 66px;
	display: inline-block;
	margin: auto 2px 4px 2px;

}

.null-instagram-feed p {
	position: absolute;
	top: 20px;
	right: 18px;
}

@media only screen and (min-width: 962px) {
	.widget .instagram-pics {
		width: 280px;
		height: 194px;
	}

}

@media only screen and (max-width: 480px) {
	.widget .instagram-pics li{
		width: 61px;
	}

	.widget-row .widget.null-instagram-feed {
		padding: 12px 12px 17px;
	}
}

@media only screen and (max-width: 330px) {

	.widget-row .widget.null-instagram-feed {
		padding: 12px 12px 17px;
		width: 87%;
	}
}