/*
Theme Name: Confesercenti-Imola
Version: 1.1
Description: Tema Confesercenti Imola by Studio Mado
Author: studiomado
Template: confesercenti-mado
*/
a:hover {
 color: #008a57;
}
#header .logo {
    width: 742px;
    height: 95px;
    display: inline-block;
    float: none;
    overflow: unset;
}
.loghetti {
	display: inline-block;
	margin-left: 270px;
	vertical-align: top;
	float: right;
}
#main-menu .current-menu-item, #main-menu .current_page_item {
    background: #333333;
}

#main-menu ul li a:hover {
    background-color: #333333 !important;
    color: #fff;
}

#searchform .submit{
	background: url("images/search.png") no-repeat;
}

#ads-zone-mado .ads-zone-mado {
    display: inline-block;
    width: 30%;
    vertical-align: top;
}

#ads-zone-mado .ads-zone-mado:nth-child(3n+2) {
    margin: 0 5%;
}

#right-sidebar{	
	float: right;	
	overflow: hidden;
}

#content.page-mado, #content.single {
	max-width:75%;
	width:1240px;
	margin-right:0;
}

#content.page-right {
	margin-right:30px;
}

.footer-green {
	background: #99cc66;
    padding: 20px;
}

#footer {
	margin-top: 30px;
}

#footer .widget {
	width: 277px!important;
}

.footer-green strong {
    color: #008a57;
    font-size: 1.3em;
}

#footer .footer-widgets {
    margin-top: 10px;
    padding-bottom: 10px;
	border-bottom:none;
    overflow: hidden;
}

.footer-info {
	margin-top:20px;
}

#cookie-notice .button {
    margin-left: 10px;
    background: #99cc66;
    padding: 6px;
    border-radius: 10px;
    font-size: 14px;
}
@media only screen and (max-width: 1259px) {
		.loghetti {
		margin-left: 50px;
	}
}
@media only screen and (min-width: 1023px) and (max-width: 1259px) {
	#header .logo  {
    	width: 62%;
	}

	#right-sidebar {
		width: 670px;
		margin: 20px 0;
		float: right;
		-moz-column-count: 1;
		-moz-column-gap: 20px;
		-webkit-column-count: 1;
		-webkit-column-gap: 20px;
		column-count: 1;
		margin-left: 270px;
	}

	#right-sidebar .widget {
		width: inherit;
		margin: 0;
		margin-bottom: 10px;
		margin-right: 30px;
	}

	.widget_search #searchform .searchfield {
    	width: 600px;
	}
}
@media only screen and (max-width: 1023px) {
	#header .logo  {
    	width: 62%;
	}
	#header .logo img {
    	max-width: 100%;
	}

	#right-sidebar {
		width: 100%;
		margin: 20px 0;
		float: right;
		-moz-column-count: 1;
		-moz-column-gap: 20px;
		-webkit-column-count: 1;
		-webkit-column-gap: 20px;
		column-count: 1;
	}

	.widget_search #searchform .searchfield {
    	width: 60%;
    	min-width: 200px;
    	max-width: 600px;
	}

}
@media only screen and (min-width: 801px) and (max-width: 1023px) {
	#main-menu {
	width: 100%;
	background: #333333;
	float: left;
	position: relative;
	z-index: 30;
	margin-top: 30px;
	height: 58px;	
}
	#main-menu ul { 
		display:block; 
	}

	#header .logo  {
    	width: 62%;
	}
	.loghetti {
		margin-left: 10px;
	}
}

@media only screen and (min-width: 660px) and (max-width: 800px) {

	#main-menu {
		display: none;		
	}

	#header .logo  {
    	width: 100%;
	}
	.loghetti {
		display: none;
	}
}

@media only screen and (min-width: 480px) and (max-width: 659px) {

	#main-menu {
		display: none;		
	}

	.sidebar .widget{
		max-width: 100%;
	}

	#header .logo  {
    	width: 100%;
	}
	.loghetti {
		display: none;
	}

}

@media only screen and (max-width: 479px) {
#header .logo  {
    	width: 100%;
	}
.loghetti {
	display: none;
}
#main-menu {
		display: none;		
	}
}

.btn {
	border: none;
	font-family: inherit;
	font-size: 14px;
	color: inherit;
	background: none;
	cursor: pointer;
	padding: 10px;
	display: inline-block;

	letter-spacing: 1px;
	outline: none;
	position: relative;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
	width: 100%;
}

.btn:after {
	content: '';
	position: absolute;
	z-index: -1;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

/* Pseudo elements for icons */
.btn:before{
	font-family: 'dashicons';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	position: relative;
	content: "\f338";
	-webkit-font-smoothing: antialiased;
}

.btn-3 {
	background: #008a57;
	color: #fff;
}

.btn-3:hover {
	background: #99cc66;
}

.btn-3:active {
	background: #ff6600;
	top: 2px;
}

.btn-3:before {
	position: absolute;
	height: 100%;
	left: -1px;
	top: 0;
	line-height: 2;
	font-size: 140%;
	width: 60px;
}

.btn-3a:before {
	color: #fff;
}

.widget h3{
	background-color: #ff6600 !important;
}

.widget h3 a {
    background-color: #ff6600 !important;
    color: #fff !important;
}

#main-menu ul li ul li a {
    background-color: #333 !important;
    color: #fff !important;
}

#main-menu ul li ul li a:hover {
    background-color: #99cc66 !important;
    color: #444 !important;
}

#main-menu ul li a:hover {
    background-color: #99cc66 !important;
    color: #fff !important;
}

.widget h3.area-riservata {
	margin-bottom: 0;
}

.widget#text-15 h3 {
   background-color: #444 !important;
  color: #fff !important;
}

.widget_nav_menu h3 {
   background-color: #444 !important;
  color: #fff !important;
}

.widget.cat-post-widget h3 {
   background-color: #444 !important;
  color: #fff !important;
}

div .area-riservata-bg {
	background:#ccc;
	padding:20px 10px;
}
.area-riservata-bg p {
	font-style:italic;
}
@media only screen and (max-width: 1260px)  { 
	#main-menu {
		display: none;		
	}
	#header .logo  {
    	width: 100%;
	}
	.loghetti {
		display: none;
	}
}