@charset "utf-8";

html, body {
	background: #f9f5ed url(calia-maddalena-bg-lines.gif);
	cursor: default;
	font-family: Arial, Helvetica, sans-serif;
	height: 100%;
	margin: 0px;
	padding: 0px;
	position: absolute;
	width: 100%;
}
img {
	border-width: 0px;
	display: block;
	margin: 0px;
	padding: 0px;
	vertical-align: bottom;
}
a {
	text-decoration: none;
	color: inherit;
}
a:hover {
	color: #d00;
	text-decoration: underline;
}

/*------------------HEADER, FOOTER, ASIDE-----------------------*/
header, footer {
	background: #eae6e1 url(menu-bg-noise.jpg);
	padding: 5px 0;
	position: relative;
	width: 100%;
	z-index: 2;
	-webkit-box-shadow: 2px 2px 5px #666666;
	box-shadow: 2px 2px 5px #666666;
} 
header p a, footer p a {
	text-transform: lowercase;
}
header {
	margin-top: 40px;
	min-height: 85px;
}
header #logo  {
	display: block;
	float: left;
	margin: -45px auto 5px 10px;
}
header p {
	font-size: 12px;
	font-style: italic;
	margin: 0;
	padding: 0 50px 0 300px;
	text-align: right;
	text-transform: uppercase;
}
header ul {
	list-style: none none;
	margin: 10px 0 0;
	padding: 0 50px 0 300px;
	text-align: right;
}
header ul li, footer ul li, .button {
	background: #fcc url(button-bg-noise.jpg);
	border-radius: 6px;
	font-size: 14px;
	font-style: italic;
	font-weight: bold;
	display: inline-block;
	line-height: 14px;
	margin: 4px 0 4px 5px;
	padding: 4px 10px;
	text-transform: uppercase;
	color: #900;
	-webkit-box-shadow: 2px 2px 5px #666666;
	box-shadow: 2px 2px 5px #666666;
}
header ul a:hover, footer ul a:hover, .button:hover  {
	color: #FFFFFF;
	cursor: pointer;
	text-decoration: none;
}
header #open-aside {
	display: none;
	font-size: 40px;
	line-height: 40px;
	margin: 0 10px;
	transition: all 300ms ease 0s;
}
header #open-aside:hover {
	color: inherit;
	cursor: pointer;
	text-decoration: none;
	transform: rotate(180deg);
}
header #logo-txt {
	color: #b00;
	display: none;
	font-size: 24px;
	font-style: italic;
	font-weight: bold;
	margin: 6px 0;
	text-shadow: 2px 2px 2px #666666;
	text-transform: uppercase;
	vertical-align: top;
}
header #logo-txt:hover {
	text-decoration: none;
}
header #logo-txt span {
	color: white;
}
aside {
	color: white;
	background-color: rgba(0,0,0,0.95);
	display: none;
	font-size: 14px;
	height: 100%;
	left: 0;
	overflow: auto;
	padding: 0 20px;
	position: fixed;
	top: 0;
	width: 210px;
	z-index: 3;
}
aside.opened {
	display: block;
}
aside #close-aside {
	font-size: 40px;
	position: fixed;
	left: 215px;
	top: 0;
	transition: all 300ms ease 0s;
}
aside #close-aside:hover {
	color: inherit;
	cursor: pointer;
	text-decoration: none;
	transform: rotate(180deg);
}
aside a {
	display: block;
	margin-bottom: 8px;
	text-transform: uppercase;
}
aside span {
	color: #b00;
	display: block;
	margin: 15px auto 8px;
	text-transform: uppercase;
}
footer {
	margin-bottom: 10px;
	min-height: 62px;
	vertical-align: top;
}
footer ul {
	list-style: none none;
	text-align: left;
	margin: 0 50px 2px 40px;
	padding: 2px 480px 0 0;
}
footer p {
	display: block;
	font-size: 12px;
	font-style: italic;
	margin: 0;
	position: absolute;
	text-align: right;
	text-indent: 0;
	text-transform: uppercase;
	top: 8px;
	right: 50px;
}
footer p a::after {
	content: ",";
}
footer p a:last-child::after {
	content: none;
}
#siteby {
	color: gray;
	font-size: 10px;
	margin: -8px auto 2px;
	text-align: center;
	width: 100%;
}

/*------------------ARTICLE-----------------------*/
article {
	margin: 20px 40px;
	position: relative;
}
h1 {
	color: #b00;
	font-size: 36px;
	line-height: 36px;
	margin: 0 0 0 40px;
	padding: 14px 0;
	text-transform: uppercase;
}
h2, h3 {
	color: #b00;
	font-size: 32px;
	margin: 30px 0 10px 40px;
	padding: 14px 0;
	text-transform: uppercase;
}
article > p {
	margin: 0 0 5px 0;
	text-indent: 20px;
	padding: 0;
}
article p a {
	text-decoration: underline;
}
article img {
	-webkit-border-radius: 8px 8px 8px 8px;
	border-radius: 8px 8px 8px 8px;
}
.su-misura {
	bottom: 130px;
	display: block;
	position: fixed;
	right: 30px;
	-webkit-transform: rotate(-30deg);
	-moz-transform: rotate(-30deg);
	-ms-transform: rotate(-30deg);
	-o-transform: rotate(-30deg);
	transform: rotate(-30deg);
}
.banner {
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=80);
	-moz-opacity: 0.8;
	-khtml-opacity: 0.8;
	opacity: 0.8;
	-webkit-transition: all 300ms ease 0s;
	-moz-transition: all 300ms ease 0s;
	-o-transition: all 300ms ease 0s;
	transition: all 300ms ease 0s;
}
.banner:hover {
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
	-moz-opacity: 1;
	-khtml-opacity: 1;
	opacity: 1;
}
.banner img {
	border: 2px solid  rgba(170,0,0,1);
	border-radius: 15px;
	height: auto;
	width: 100%;
	-webkit-box-shadow: 0 0 2px #666666;
	box-shadow: 0 0 2px #666666;
}

/*------------------CATALOGO-----------------------*/
/* [class|=tile] instead .tile to avoid trigger js "catalog tiles" section */
[class|=tile] > div {
	background: #eee url(menu-bg-noise.jpg);
	display: inline-block;
	height: auto;
	margin: 5px 10px 8px 0;
	max-width: 350px;
	padding: 2px;
	position: relative;
	text-align: left;
	vertical-align: top;
	-webkit-border-radius: 8px 8px 8px 8px;
	border-radius: 8px 8px 8px 8px;
	-webkit-box-shadow: 2px 2px 5px #666666;
	box-shadow: 2px 2px 5px #666666;
}
[class|=tile] > div:hover {
	background: #fff none;
}
.tile > div:hover {
	cursor: pointer;
}
[class|=tile] > div img {
	height: auto;
	width: 100%;
}
[class|=tile] > div h2 {
	color: black;
	font-size: 18px;
	line-height: 18px;
	margin: 0;
	padding: 7px 0 7px 5px;
}
[class|=tile] > div p {
	font-size: 12px;
	line-height: 14px;
	margin: 0;
	padding: 0 5px 5px;
	text-indent: 0;
}
[class|=tile] > div p span {
	font-weight: bold;
}
#note {
	font-size: 20px;
	color: #b00;
	padding: 20px 0 10px;
	text-transform: uppercase;
}

/*------------------PRODUCT PAGE-----------------------*/
div#photo {
	float: left;
	font-size: 0;
    max-width: 100%;
    width: 720px;
}
div#photo .button {
	margin: 20px;
}
div#photo > a {
	display: inline-block;
	margin: 0 10px 10px 0;
    max-width: 100%;
	-webkit-border-radius: 8px 8px 8px 8px;
	border-radius: 8px 8px 8px 8px;
	-webkit-box-shadow: 2px 2px 5px #666666;
	box-shadow: 2px 2px 5px #666666;
}
div#photo > p {
	font-size: 18px;
	line-height: 1.8;
}
section, section#info {
	clear: none;
	margin-left: 730px;
}
section h1 {
	font-size: 30px;
	margin: 0;
}
section h1 + p {
	font-size: 18px;
	margin-top: 0;
}
section h2 {
	font-size: 24px;
	margin: 0;
}
section h2 + p {
	font-size: 14px;
	font-style: italic;
	margin-top: 0;
}
#tabella-colori {
	font-size: 0;
	max-width: 710px;
}
#tabella-colori img {
	display: inline-block;
	margin: 0 6px 6px 0;
	width: 65px;
	-webkit-box-shadow: 2px 2px 5px #666666;
	box-shadow: 2px 2px 5px #666666;
}
#prezzi table {
	background-color: white;
	border-collapse: collapse;
	border-radius: 8px 8px 8px 8px;
	font-size: 14px;
	overflow: hidden;
	max-width: 710px;
	width: 100%;
	-webkit-box-shadow: 2px 2px 5px #666666;
	box-shadow: 2px 2px 5px #666666;
}
@media screen\0 {
	#prezzi table {
		display: block;
	}
	#prezzi table th, #prezzi table td {
		width: 50%;
	}
} /*apply shadow to IE*/
#prezzi table tr:nth-of-type(odd) {
	background-color: rgb(240,240,240);
}
#prezzi table tr:nth-of-type(n+2):hover {
	text-decoration: underline;
}
#prezzi table th {
	font-style: italic;
}
#prezzi table th, #prezzi table td {
	padding: 3px 10px;
	text-align: left;
}
#prezzi table + p {
	font-style: italic;
	font-weight: bold;
}
#prezzi .button {
	display: block;
	margin-bottom: 10px;
	max-width: 710px;
	padding: 10px 0;
	text-align: center;
}
article + h3 {
	clear: both;
	font-size: 24px;
}

/*------------------SAMBOX-----------------------*/
.sambox {
	background: #eae6e1 url(menu-bg-noise.jpg);
	cursor: pointer;
	overflow: hidden;
	position: relative;
	-webkit-border-radius: 8px 8px 8px 8px;
	border-radius: 8px 8px 8px 8px;
}
.sambox:hover {
	color: inherit;
	background: white none;
	text-decoration: none;
}
.sambox img {
	max-width: 100%;
}
.sambox p {
	font-size: 14px;
	margin: 0;
	padding: 4px 8px 5px;
	text-align: center;
}
#samboxOuter {
	background: rgba(40,40,40,0.9);
	height: 100%;
	left: 0;
	position: fixed;
	text-align: center;
	top: 0;
	width: 100%;
	z-index: 10;
}
#samboxInner {
	background-color: white;
	display: inline-block;
	margin: auto;
	max-height: 100%;
	max-width: 100%;
	position: relative;
	-webkit-border-radius: 8px 8px 8px 8px;
	border-radius: 8px 8px 8px 8px;
	-webkit-box-shadow: 2px 2px 5px #666666;
	box-shadow: 2px 2px 5px #666666;
}
#samboxInner img {
	max-width: 100%;
	-webkit-border-radius: 8px 8px 8px 8px;
	border-radius: 8px 8px 8px 8px;
}
#samboxInner p {
	font-size: 16px;
	margin: 0;
	padding: 6px 0 7px;
	text-align: center;
}
#samboxNext, #samboxPrev, #samboxClose, #samboxFull {
	background-color: white;
	border: 2px solid #484848;
	border-radius: 20px 20px 20px 20px;
	cursor: pointer;
	font-size: 28px;
	height: 36px;
	opacity: 0.7;
	position: absolute;
	transition: all 500ms ease 0s;
	width: 36px;
}
#samboxNext:hover, #samboxPrev:hover, #samboxClose:hover, #samboxFull:hover, #samboxNextWrap:hover div, #samboxPrevWrap:hover div {
	border: 2px solid white;
	opacity: 1;
	transform: rotate(360deg);
}
#samboxClose {
	line-height: 34px;
	right: -2px;
	top: -2px;
}
#samboxFull {
	font-size: 22px;
	line-height: 34px;
	left: -2px;
	top: -2px;
}
#samboxNextWrap, #samboxPrevWrap {
	cursor: pointer;
	height: 100%;
	position: absolute;
	top: 0;
	width: 100px;
}
#samboxNextWrap {
	right: 0;
}
#samboxPrevWrap {
	left: 0;
}
#samboxNext, #samboxPrev {
	line-height: 30px;
	margin-top: -20px;
	top: 50%;
}
#samboxNext {
	right: -2px;
}
#samboxPrev {
	left: -2px;
}
#samboxLoading {
	border-width: 10px;
	border-style: solid;
	border-bottom-color: white;
	border-left-color: #b00;
	border-right-color: #b00;
	border-top-color: white;
	border-radius: 50%;
	height: 100px;
	left: 50%;
	margin-left: -50px;
	margin-top: -50px;
	position: absolute;
	top: 50%;
	width: 100px;
  -webkit-animation: spin 3s linear 0s infinite reverse;
  animation: spin 3s linear 0s infinite reverse;
}
@-webkit-keyframes spin {
    from {-webkit-transform: rotate(360deg);}
    to {-webkit-transform: rotate(0deg);}
}
@keyframes spin {
    from {transform: rotate(360deg);}
    to {transform: rotate(0deg);}
}
@media (max-width:480px) {
	div#photo .sambox {
		margin: 0 0 10px 0;
	}
}
.atss /*social buttons*/ {
	z-index: 2 !important;
}

/*------------------CAROUSEL-----------------------*/
#carousel {
	margin-bottom: 40px;
	overflow: hidden;
	position: relative;
	width: 100%;
	z-index: 2;
	-webkit-box-shadow: 2px 2px 5px #666666;
	box-shadow: 2px 2px 5px #666666;
}
#carousel ul {
	display: inline-block;
	margin: 0;
	padding: 0;
	white-space: pre;
}
#carousel ul li {
	cursor: pointer;
	display: inline-block;
	height: 184px;
	margin: 0;
	overflow: hidden;
	position: relative;
	vertical-align: top;
	width: 280px;
}
#carousel ul li img {
	width: 100%;
}
#carousel ul li p {
	background-color: rgba(255,255,255,0.6);
	bottom: 0;
	color: black;
	font-size: 14px;
	margin: 0;
	padding: 0;
	position: absolute;
	text-align: center;
	text-indent: 0;
	text-transform: uppercase;
	width: 100%;
}
#carousel ul li:hover p {
	background-color: rgba(255,255,255,0.8);
}

/*------------------RWD-----------------------*/
@media (max-width:1500px) {
	section {
		clear: both;
		margin-left: 0;
	}
}
@media (max-width:1050px) {
	footer ul {
		margin: 0 50px 2px 20px;
	}
	article {
		margin: 20px;
	}
	.su-misura {
		bottom: auto;
		display: inline-block;
		margin: 20px;
		position: relative;
		right: auto;
		vertical-align: middle;
		width: 200px;
		-webkit-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		transform: rotate(0deg);
	}
}
@media (max-width:950px) {
	header p {
		display: none;
	}
	header ul {
		margin: 0 10px 0 0;
		padding: 0;
		text-align: right;
	}
	footer ul {
		padding: 2px 0 0 0;
	}
	footer p {
		display: block;
		margin: 5px 25px;
		position: relative;
		text-align: left;
		top: auto;
		right: auto;
	}
	p {
		padding: 0;
		text-align: justify;
	}
	div#photo .button {
		display: none;
	}
	section#info {
		clear: both;
		margin-left: 0;
	}
}
@media (max-width:480px) {
	header {
		display: block;
		left: 0;
		margin-top: 0;
		min-height: 40px;
		padding: 0;
		position: fixed;
		top: 0;
	}
	header #logo, header p, header ul, footer ul {
		display: none;
	}
	header #open-aside, header #logo-txt {
		display: inline-block;
	}
	footer {
		margin-bottom: 0;
	}
	footer p {
		margin: 5px;
	}
	footer p a + a {
		display: none;
	}
	footer p a::after {
		content: none;
	}
	#siteby {
		margin: 5px auto;
	}
	article {
		margin: 50px 5px auto;
	}
	h1 {
		font-size: 30px;
		line-height: 30px;
		margin: 0 0 0 20px;
		padding: 14px 0;
	}
	h2, h3 {
		margin: 0 0 0 10px;
	}
	article > p {
		text-indent: 10px;
	}
	article p a {
		display: inline-block;
		margin-bottom: 8px;
	}
	[class|=tile] > div {
		margin: 5px 0;
		padding: 2px;
	}
}