/* CSS for Paged model */

#site-header hgroup {
	background-color: #fff;
}

#header-layout1 #access ul ul a, 
#header-layout1 #access ul li:hover > a, 
#header-layout1 #access ul li > a:focus, 
#header-layout1 #access .current-menu-item > a, 
#header-layout1 #access .current-menu-ancestor > a, 
#header-layout1 #access .current_page_item > a, 
#header-layout1 #access .current_page_ancestor > a {
    color: #fff;
}

.av-main-color-light #sidebar-primary .widget-title:before,
.av-main-color-light #sidebar-primary .widget-title,
.av-main-color-light #access > div > ul > li > a {
	color: #222; 
}

/* Widget */

#sidebar-primary .widget-title {
	margin: -20px -20px 20px;
    padding: 10px 20px;
    background-color: #4EB9E0;
    color: #fff;
    position: relative;
}

#sidebar-primary .widget-title:before,
.widget_archive ul li a:before,
.widget_categories ul li a:before,
.widget_meta ul li a:before,
.widget_links ul li a:before,
.widget_recent_entries ul li a:before,
.widget_recent_comments ul li a.url:before,
.widget_nav_menu ul li a:before {
	font-family: "elegant-icons" !important;
	font-style: normal !important;
	font-weight: normal !important;
	font-variant: normal !important;
	text-transform: none !important;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 16px;
}

.widget_archive ul li a:before,
.widget_categories ul li a:before,
.widget_meta ul li a:before,
.widget_links ul li a:before,
.widget_recent_entries ul li a:before,
.widget_nav_menu ul li a:before {
	content: "j";
}

.widget_recent_comments ul li a.url:before {
	content: "B";
	padding-right: 0.25em;
}

#sidebar-primary .widget-title:before {
	position: absolute;
	right: 20px;
	top: 10px;
	display: inline-block;
	color: #fff;
}

#sidebar-primary .widget_recent_entries .widget-title:before,
#sidebar-primary .widget-altervista-latest-posts .widget-title:before {
	content: "5";
}

#sidebar-primary .widget_categories .widget-title:before {
	content: "x";
}

#sidebar-primary .widget_tag_cloud .widget-title:before {
	content: "q";
}

#sidebar-primary .widget_text .widget-title:before {
	content: "$";
}

#sidebar-primary .widget_recent_comments .widget-title:before {
	content: "p";
}

#sidebar-primary .widget_nav_menu .widget-title:before {
	content: "";
}

/* Altervista Widgets */

#sidebar-primary .AV_Google_Plus_Badge_Widget h3,
#sidebar-primary .AV_Facebook_Fanbox_Widget h3 {
	margin: 0;
}

.widget-area .banner_altervista_300X250,
.widget-area .AlterVista_GoogleAdsense,
.widget-area .AV_Google_Plus_Badge_Widget,
.widget-area .AV_Facebook_Fanbox_Widget {
	padding: 0;
	text-align: center;
}

.widget-area .AlterVista_GoogleAdsense,
.widget-area .AV_Google_Plus_Badge_Widget,
.widget-area .AV_Facebook_Fanbox_Widget {
	overflow: hidden;
}

/* Type 2 */

.type_2 .entry-footer {
	padding: 0 0 20px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Media Queries */

@media screen and (min-width: 1280px) {
	#wrap {
	padding: 40px 0;
	}
	/* Widgets */
	#sidebar-primary .AV_Google_Plus_Badge_Widget h3,
	#sidebar-primary .AV_Facebook_Fanbox_Widget h3 {
	margin: -20px -20px 20px;
	}
	.widget-area .banner_altervista_300X250,
	.widget-area .AlterVista_GoogleAdsense,
	.widget-area .AV_Google_Plus_Badge_Widget,
	.widget-area .AV_Facebook_Fanbox_Widget {
	padding: 20px;
	}
}

@media screen and (max-width: 1023px) {
	#page {
	padding: 20px;
	}
}

@media screen and (max-width: 768px) {
	/* Small menu */
	#header-layout1 #access.main-navigation.toggled .nav-menu a,
	#header-layout1 #access.main-navigation.toggled .nav-menu ul a, 
	#header-layout2 #access.main-navigation.toggled .nav-menu a,
	#header-layout2 #access.main-navigation.toggled .nav-menu ul a {
	color: #3a3a3a !important;
	background: #fff !important;
	border-bottom: 1px solid #eee;
	}
}