/* Box-sizing -*/
* {
 -webkit-box-sizing: border-box;
 -moz-box-sizing: border-box;
 box-sizing: border-box;
}

/* Display block per gli elementi HTML5 su IE */
article,aside,details,figcaption,figure,footer,header,hgroup,nav,section { display: block;}

tr, p {  }
th  { font-size:12px; }

table td { padding:5px; }

/* IMMAGINI RESPONSIVE */
img { 
 border:0; 
	vertical-align:middle; 
	-ms-interpolation-mode:bicubic;
}
 
img.scala { 
 	max-width:100%; 
	height:auto; 
}

.flex-img {max-width: 100%}

/* Stili di base e tipografia */
html {
  font-size: 100%;
}

body {
 margin: 0;
 padding: 0;
 font-family: 'Biryani', CenturyGothic,"Century Gothic", "Futura", Geneva, Helvetica, Arial, SunSans-Regular; 
 font-size: 16px;
 line-height: 20px;
 color: #343650; 
 background-color: #ffffff;
 -webkit-text-size-adjust:100%;
}

/* Video responsive */

.video {
position:         relative;
padding-top:      15px;
padding-bottom:   65%;
height:           0;
overflow:         hidden;
}

.video iframe
{
position:  absolute;
top:       0;
left:      0;
width:     100%;
height:    100%;
}

/* Griglia */

.riga {
 width: 100%; 
 margin: 0 auto;
}
.riga2 {
 width: 100%; 
 margin: 0 auto;
}

[class*='colonna-'] {
 float: left; 
 min-height: 1px; 
 padding: 0 15px; 
}

.colonna-1-4 {
 width: 25%;
}

.colonna-1-3 {
 width: 33.333333333%;
}

.colonna-1-2 {
 width: 50%;
}

.colonna-1 {
 width: 100%;
}

/*[class*="colonna-"] + [class*="colonna-"]:last-child {float: left;} */

/* Micro-clearfix */
.riga:before,
.riga:after {
 content: " "; 
 display: table;
}

.riga:after {
 clear: both;
}

.riga {
 *zoom: 1;
}


/* Stili  per le varie sezioni */
header {
 height: 66px;
 position: relative;
}

header #logo {
 float: left;
}

#logo a {display: block;}

footer {
 border-top: 1px solid #333;
 border-bottom: 1px solid #333;
}

nav {
 float: right;
 padding: 20px 20px 0 0; 
}

nav ul, nav li {
 margin: 0;
 padding: 0;
}

nav ul li {
 list-style: none;
 float: left;
 margin-right: 5px;
}

nav ul li a {
 display: block;
 padding: 5px;
}

a.attiva-nav {
 display: none;
}

.box-contact{
}

#banner-parallax {
	height:500px;
	background-size:cover;
    background-repeat: no-repeat;
	background-image:url(../banner-parallax/home.jpg);
}
#banner-parallax-pasticceria {
	height:500px;
	background-size:cover;
    background-repeat: no-repeat;
	background-image:url(../banner-parallax/pasticceria-biella.jpg);
}

#banner-parallax-contact-pasticceria {
	height:500px;
	background-size:cover;
    background-repeat: no-repeat;
	background-image:url(../banner-parallax/contact-pasticceria-biella.jpg);
}

#banner-parallax-salute-pasticceria {
	height:500px;
	background-size:cover;
    background-repeat: no-repeat;
	background-image:url(../banner-parallax/salute-pasticceria-biella.jpg);
}

#banner-parallax-gallery {
	height:500px;
	background-size:cover;
    background-repeat: no-repeat;
	background-image:url(../banner-parallax/pasticceria-gallery.jpg);
}

@media only screen and (max-width:600px) {
	
#banner-parallax {
	max-width:100%;
	height: 300px;
	background-image:url(../banner-parallax/home.jpg);
	background-attachment: scroll;
	background-size:600px;
	background-position:center;
}
#banner-parallax-pasticceria {
	max-width:100%;
	height: 300px;
	background-image:url(../banner-parallax/pasticceria-biella.jpg);
	background-attachment: scroll;
	background-size:600px;
	background-position:center;
}
	
#banner-parallax-contact-pasticceria {
	max-width:100%;
	height: 300px;
	background-image:url(../banner-parallax/contact-pasticceria-biella.jpg);
	background-attachment: scroll;
	background-size:600px;
	background-position:center;
}	
	
#banner-parallax-salute-pasticceria {
	max-width:100%;
	height: 300px;
	background-image:url(../banner-parallax/salute-pasticceria-biella.jpg);
	background-attachment: scroll;
	background-size:600px;
	background-position:center;
}	

#banner-parallax-gallery {
	max-width:100%;
	height: 300px;
	background-image:url(../banner-parallax/pasticceria-gallery.jpg);
	background-attachment: scroll;
	background-size:600px;
	background-position:center;
}	


.riga { 
 width: auto;
 min-width: 0; 
 margin-left: 0; 
 margin-right: 0;
}
	
.riga2 { 
 width: auto;
 min-width: 0; 
 margin-left: 0; 
 margin-right: 0;
}	
    
    
[class*="colonna-"] { 
 width: auto !important; 
 float: none;  
}

[class*="colonna"] + [class*="colonna"]:last-child {float: none;}
 
[class*="colonna-"]:before, [class*="colonna-"]:after {
 content:""; 
 display:table;
}

[class*="colonna-"]:after {clear: both;}

a.attiva-nav {
	display: block;
	float: right;
	color: #FF6600;
	background: #dddddd;
	text-decoration: none;
	margin: 0px;
	padding: 1px;
	font-size: 14px;
	font-weight: bold;
	line-height: 22px;
	height: 22px;
}

nav {
 clear: both;
 position: absolute;
	top: 70px;
	width: 100%;
	z-index: 10000;
	background: #fff;
	padding: 0;
	display: none;
}

nav ul {
 margin: 0;
 padding: 0;
}
nav ul li {
 list-style: none;
 float: none;
}

nav ul li a { 
 padding: 5px;
 display: block;
 border-bottom: 1px solid #333; 
}

.box-contact{
	height:140px;
	margin-bottom:30px;
}

}

/*FINE PARTE RESPONSIVE */

/* RESPONSIVE FACEBOOK */

.blocco-variabile { 
		width: 70%;
		height: 30%;
		margin: 100px auto; 
}

#fb-root { display: none; }
.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
    width: 100% !important;
}

/* CODICE NORMALE */

.content {
	width: 450px;
	padding-top: 0px;
	padding-right: 20px;
	padding-bottom: 20px;
	padding-left: 30px;
	text-align: left;
	float: left;
	height: 900px;
}
.social-stripes {
	background-color: #333;
	padding: 10px;
	height: auto;
	width: 100%;
}
.bottom {
	background-color: #DDD;
	padding: 10px;
	height: auto;
	width: 100%;
}
.sub-title {
margin:20px 0px;
}
.sub-title, a.sub-title:link, a.sub-title:visited, a.sub-title:active {
	color: #232525;/*7BB7AA;*/
	font-size: 26px;
	font-family: 'Biryani', CenturyGothic,"Century Gothic", "futura", Geneva, Helvetica, Arial, SunSans-Regular, sans-serif;
	line-height: 34px;
	background-repeat: no-repeat;
	text-decoration: none;
	word-spacing: 2px;
	letter-spacing: 1px;
}

a.sub-title:hover {
	color: #666666;
	font-size: 26px;
	font-family: 'Biryani', CenturyGothic,"Century Gothic", "futura", Geneva, Helvetica, Arial, SunSans-Regular, sans-serif;
	line-height: 34px;
	background-repeat: no-repeat;
	text-decoration: none;
	word-spacing: 2px;
	letter-spacing: 1px;
	transition: 0.5s;
}

.dati, a.dati:link, a.dati:visited, a.dati:active {
	color: #666666;
	font-size: 12px;
	font-family: 'Biryani', CenturyGothic,"Century Gothic", "futura", Geneva, Helvetica, Arial, SunSans-Regular, sans-serif;
	line-height: 14px;
	text-decoration: none;
}
a.dati:hover {
	color: #CCCCCC;
	font-size: 12px;
	font-family: 'Biryani', CenturyGothic,"Century Gothic", "futura", Geneva, Helvetica, Arial, SunSans-Regular, sans-serif;
	line-height: 14px;
	text-decoration: underline;
}

p {
	color: #444;
	font-size: 15px;
	font-family: 'Biryani', CenturyGothic,"Century Gothic", "futura", Helvetica, Geneva, Arial, SunSans-Regular, sans-serif;
	line-height: 21px;
	text-decoration: none;
}
a:link, a:visited, a:active {
	color: #333333;
	font-size: 15px;
	font-family: 'Biryani', CenturyGothic,"Century Gothic", "futura", Helvetica, Geneva, Arial, SunSans-Regular, sans-serif;
	line-height: 21px;
	text-decoration:underline;
}
a:hover {
	color: #999999;
	font-size: 15px;
	font-family: 'Biryani', CenturyGothic,"Century Gothic", "futura", Helvetica, Geneva, Arial, SunSans-Regular, sans-serif;
	line-height: 21px;
	text-decoration:underline;
	transition: ease-in 0.2s;
}

.txt, a.txt:link, a.txt:visited, a.txt:active {
	color: #2C0001;
	font-size: 16px;
	font-family: 'Biryani', CenturyGothic,"Century Gothic", "futura", Helvetica, Geneva, Arial, SunSans-Regular, sans-serif;
	line-height: 23px;
	text-decoration: none;
}
a.txt:hover {
	color: #2C0001;
	font-size: 16px;
	font-family: 'Biryani', CenturyGothic,"Century Gothic", "futura", Helvetica, Geneva, Arial, SunSans-Regular, sans-serif;
	line-height: 23px;
	text-decoration: none;
	transition: 0.5s;
}

h1, a.h1:link, a.h1:visited, a.h1:active {
	color: #a0a0a0;
	font-size: 32px;
	font-family: 'Biryani', CenturyGothic, "Century Gothic", "futura", Geneva, Helvetica, Arial, SunSans-Regular, sans-serif;
	line-height: 35px;
	font-weight: lighter;
	margin: 0px;
	text-decoration: none;
	word-spacing: 2px;
	letter-spacing: 1px;
}
a.h1:hover {
	font-size: 32px;
	font-family: 'Biryani', CenturyGothic,"Century Gothic", "futura", Geneva, Helvetica, Arial, SunSans-Regular, sans-serif;
	font-weight: lighter;
	margin: 0.67em 0;
	color: #8D0E10;
	text-decoration: none;
	line-height: 34px;
}

h2, a.h2:link, a.h2:visited, a.h2:active {
	color: #000000;
	font-size: 25px;
	font-family: 'Biryani', CenturyGothic, "Century Gothic", "futura", Geneva, Helvetica, Arial, SunSans-Regular, sans-serif;
	margin: 0px;
	text-decoration: none;
	word-spacing: 2px;
	letter-spacing: 1px;
	line-height:30px;

}
a.h2:hover {
	font-size: 25px;
	font-family: 'Biryani', CenturyGothic,"Century Gothic", "futura", Geneva, Helvetica, Arial, SunSans-Regular, sans-serif;
	margin: 0.67em 0;
	color: #8D0E10;
	text-decoration: none;
	line-height: 34px;
}

.title, a.title:link, a.title:visited, a.title:active {
	font-size: 40px;
	font-family: 'Biryani', CenturyGothic,"Century Gothic", "futura", Geneva, Helvetica, Arial, SunSans-Regular, sans-serif;
	font-weight: lighter;
	margin: 0.67em 0;
	color: #431112;
	text-decoration: none;
	line-height: 34px;
}
a.title:hover {
	font-size: 40px;
	font-family: 'Biryani', CenturyGothic,"Century Gothic", "futura", Geneva, Helvetica, Arial, SunSans-Regular, sans-serif;
	font-weight: lighter;
	margin: 0.67em 0;
	color: #8D0E10;
	text-decoration: none;
	line-height: 34px;
}

.awd, a.awd:link, a.awd:visited, a.awd:active {
	color: #a0a0a0;
	font-size: 9px;
	font-family: 'Biryani', CenturyGothic, "Century Gothic", "futura", Geneva, Helvetica, Arial, SunSans-Regular, sans-serif;
	line-height: 14px;
	text-decoration: none;
	word-spacing: 2px;
	letter-spacing: 1px;
}
a.awd:hover {
	color: #666;
	font-size: 9px;
	font-family: 'Biryani', CenturyGothic, "Century Gothic", "futura", Geneva, Helvetica, Arial, SunSans-Regular, sans-serif;
	line-height: 14px;
	word-spacing: 2px;
	letter-spacing: 1px;
	text-decoration: underline;
}

.photo-on-txt { float: right; clear: left; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-bottom: 5px; padding-left: 5px; }


.buttons, a.buttons:link, a.buttons:active, a.buttons:visited  {
	width: 250px;
	font-family: "Century Gothic", "futura", Helvetica, Arial;
	padding: 10px;
	background-color: #232525;/*7BB7AA;*/
	color: #ffffff;
	text-decoration: none;
	display: block;
	text-align: center;
	font-size: 17px;
	line-height: 20px;
	border-radius: 10px;
	/*box-shadow: inset 3px 3px 5px #555555;*/
}
a.buttons:hover {
	font-family: "Century Gothic", "futura", Helvetica, Arial;
	width: 250px;
	padding: 10px;
	background-color: #666666;
	color: #FFFFFF;
	text-decoration: none;
	display: block;
	text-align: center;
	font-size: 17px;
	line-height: 20px;
	border-radius: 5px;
	transition: all 0.6s ease;
	/*box-shadow: 2px 1px 5px #999999;*/
}
#buttons, #buttons:link, #buttons:active, #buttons:visited  {
	width: 150px;
	font-family: "Century Gothic", "futura", Helvetica, Arial;
	padding: 10px;
	background-color: #b33c13;/*7BB7AA;*/
	color: #ffffff;
	text-decoration: none;
	display: block;
	text-align: center;
	font-size: 17px;
	line-height: 20px;
	/*box-shadow: inset 3px 3px 5px #555555;*/
}
#buttons:hover {
	font-family: "Century Gothic", "futura", Helvetica, Arial;
	width: 150px;
	padding: 10px;
	background-color: #666666;
	color: #FFFFFF;
	text-decoration: none;
	display: block;
	text-align: center;
	font-size: 17px;
	line-height: 20px;
	transition: all 0.6s ease;
}
input {
	font-family: "Century Gothic", "futura", Helvetica, Arial;
	text-decoration: none;
	text-transform: none;
	color: #023273;
	background: #ffffff;
	box-sizing: border-box;
	border: 1px solid #cccccc;
	font-size: 16px;
	padding: 7px;
	margin: 0px 0px 10px 0px;
	width:100%;
	border-radius:5px;
}
/*Imposto i parametri per le textarea*/
textarea {
	border-left: 1px solid #ffffff;
	border-right: 1px solid #ffffff;
	border-top: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;
	font-family: "Century Gothic", "futura", Helvetica, Arial;
	text-decoration: none;
	text-transform: none;
	color: #333333;
	background: #ffffff;
	font-size: 13px;
	padding: 5px;
	width: 100%;
	border-radius: 5px;
	border: 1px solid #cccccc;
}
#checkbox {
	float: none;
	display: auto;
	width: auto;
}

a.divbox:active,a.divbox:link,a.divbox:visited{
	display:block;
	width: 100%;
	color:#333;
	line-height:2;
	text-align:center;
	text-decoration:none;
	font-weight:900;
}
a.divbox:hover{
	color:#000;
	transition: all 0.3s ease;
	box-shadow: 0px 0px 25px #FC6;	
}

.item {
  position: relative;
  
  margin: 0px;
  overflow: hidden;
  width: 540px;
}
.item img {
  max-width: 100%;
  
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.item:hover img {
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
select {
  /*margin: 10px;
  padding: 1px;*/
  font-size: 16px;
  border: 1px solid #cccccc;
  height: 34px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* CAUTION: IE hackery ahead */
select::-ms-expand { 
    display: none; /* remove default arrow on ie10 and ie11 */
}

.acenter {text-align:center;}
.tbl {width:100%;border-collapse:collapse;border-spacing:0;border:0;}
.tbl td {padding:5px 10px;border:1px solid #666;}
.no_border td {border:0 !important;}
tr.th {background:#ddd}

.bg_a {background:#b33c13;/*BCDA65*/}
.bg_b {background:#232525;}

    
.art_ll {border-left: #b33c13 solid 5px;padding-left:12px;text-align:justify;}
.art_tit {color:#442b1f;}
.pages {
text-align: center;
}
.pages a {
display:inline-block;
cursor:pointer !important;
line-height:28px;
}
.leggi{width:180px !important;}
.mb20{margin-bottom:20px}
.mb40{margin-bottom:40px}

.header {
    text-align:center;
    background-image: url(../img/back-top.jpg); background-repeat:repeat-y;background-size:cover; background-position:top;
}

@media all and (max-width: 800px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {

.tbl {
width:96%;
}
}
