/* specific.css: templates override and alternative layouts */
	
/* -------------------------------------------- BOOTSTRAP OVERRIDE */

.button, button, .btn {
	background: #2f80c0 !important;
	color:#fff !important;
	-webkit-border-radius: 0;
	border-radius: 0;
}
.button:hover, button:hover, .btn:hover {
	background: #60a3d9 !important;
	color:#fff !important;
	-webkit-border-radius: 0;
	border-radius: 0;
}

/* pagination (pagination.php in /html */
.page-link {
	color:#2f80c0;
}

.page-item.active .page-link {
	background-color:#2f80c0;
	border-color:#2f80c0;
}
/* -------------------------------------------- BOOTSTRAP OVERRIDE END */
.retino::before, .retino2::before {
	content:'';
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	opacity:.5;
	z-index:-1;
}

/* -------------------------------------------- BOOTSTRAP OVERRIDE END */


/* -------------------------------------------- icone brea */
#ico-naturale a, #ico-ricerca a, #ico-glutenfree a, #ico-acquisto a, #ico-risparmio a {
	width: 32px;
	height: 32px;
	display: block;
}
#ico-naturale a {
	background: url(../images/ico-naturale.png) top;
}
#ico-naturale a:hover {
	background: url(../images/ico-naturale.png) bottom;
}
#ico-ricerca a {
	background: url(../images/ico-ricerca.png) top;
}
#ico-ricerca a:hover {
	background: url(../images/ico-ricerca.png) bottom;
}
#ico-glutenfree a {
	background: url(../images/ico-glutenfree.png) top;
}
#ico-glutenfree a:hover {
	background: url(../images/ico-glutenfree.png) bottom;
}
#ico-acquisto a {
	background: url(../images/ico-acquisto.png) top;
}
#ico-acquisto a:hover {
	background: url(../images/ico-acquisto.png) bottom;
}
#ico-risparmio a {
	background: url(../images/ico-risparmio.png) top;
}
#ico-risparmio a:hover {
	background: url(../images/ico-risparmio.png) bottom;
}

/* -------------------------------------------- paypal buttons */
.paypalbut {
	right: 10px;
	width: auto;
}
.paypalbut form {
	margin: 0;
}
/* -------------------------------------------- dancustomban override */

/* -------------------------------------------- TOPBAR SITE SWITCH */
#topbar {
	width: 100%;
	height: 30px;
	position: relative;
	margin: 0 auto;
	background: #009859;
	border-bottom: solid 4px #009859;
	-webkit-box-shadow: 0 14px 5px rgba(0,0,0,0.08);
	-moz-box-shadow: 0 14px 5px rgba(0,0,0,0.08);
	box-shadow: 0 14px 5px rgba(0,0,0,0.08);
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 10px;
}
#topbar ul {
	width: 100%;
	margin: 0 auto;
	list-style-type: none;
}
#topbar ul li {
	text-align: center;
	float: left;
	position: relative;
	background-position: inherit;
	background-repeat: inherit;
	line-height: inherit;
	padding-left: inherit;
	padding-top: inherit;
}
#topbar a {
	display: block;
	color: #ccc;
	text-decoration: none;
	line-height: 3em;
	letter-spacing: 2pt;
	padding: 0 20px;
	transition: color 350ms ease-in-out 0s;
	font-weight: normal;
}
#topbar ul li img {
	vertical-align: middle;
	width: 20px;
	height: auto;
	float: left;
	margin-right: 5px;
	margin-top: 5px;
}
#topbar ul li a {
}
#topbar a:hover {
	display: block;
	color: #fff;
}
#topbar ul li.current a {
	display: block;
	color: #fff;
	text-shadow: 0px 0px 2px #fff;
}
/* -------------------------------------------- END TOPBAR */

/* -------------------------------------------- quad blog view */

#quad .quad {
	padding-bottom:100%;
	z-index:0;
	position:relative;
	cursor:pointer;
	-webkit-box-shadow: 0px 5px 3px 0px #ccc;
	box-shadow: 0px 5px 3px 0px #ccc; 
}

#quad .title {
	position:absolute;
	top:0;
	left:0;
	z-index:3;	
}
#quad .text {
	position:absolute;
	bottom:0;
	left:0;
	width:100%;
	font-size:0.8em;
	z-index:2;
	background-color: rgba(255, 255, 255, 0.7);
}
#quad .btn {
	position:absolute;
	bottom:0;
	left:0;
	width:100%;
	font-size:0.8em;
	z-index:2;
}
#quad .image {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-repeat:no-repeat;
	background-position:center;
	background-size:cover;
	background-color:#ccc;
	z-index:1;
}

nav#menu ul li  {
	background:#2f80c0 !important;
}
