/* ----------- FONT ------------- */

@font-face {
  font-family: 'Babas';
  font-style: normal;
  font-weight: normal;
  src: url("/prova/grafica/font/BebasNeue_Regular.otf") format("opentype");
}

/* ----------- GENERICO ----------- */

html, body {
	width: 100%;
	height: 100%;
	margin: 0;
}

/* ----------- HEADER ----------- */

#contenitore{
	width:100%;
}

#header {
  position:relative;
  margin-left: auto;
  margin-right: auto; 
  text-align: left;
  width: 90%;
}

#header_logo {
  min-width: 28em;
}

#logo_grafico {
	position: relative;
	float: left;
	height: 3em;
	width: 3em;
	margin: 0.4em 0.2em 0 0;
	background-image: url("/grafica/logo.jpg");
	background-size: 3em 3em;
    background-repeat: no-repeat;
}

#logo_scritta {
	padding: 0.2em;
	min-height: 4em;
}

#nome {
  font-size: 3em;
  line-height: 75%;
  font-family: Cambria, Georgia, serif;
}

#slogan {
  font-size: 1em;
  font-family: Cambria, Georgia, serif;
  text-align: center;
  letter-spacing: 1.63em;
  line-height: 120%;
}

.no-border {
  margin: 0em;
  border: 0em;
}

span.no-space {
  letter-spacing: 0em;
}

#header_social {
}

#header_social ul {
	position: absolute;
	top: 0.3em;
	right: 5em;
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
	font-family: sans-serif;
}

#header_social li {
    float: left;
}

#header_social li a {
    display: block;
    text-align: center;
    padding: 1em 0.3em 0.3em 0.3em;
    text-decoration: none;
	color: #111;
}

#header_social li a:hover {
    background-color: #e7e7e7;
}

#header_social li a:visited {
    color: #111;
}

#header_social li ul { 
	display:none;
	position:absolute;
}

#search {
  position: absolute;
  top: 0.7em;
  right: 5.5em;
}

#social_insta {
  max-height: 2em;
  position: absolute;
  top: 0.3em;
  right: 2.3em;
}

#social_insta:hover {
  opacity: 0.5;
}

#social_fb {
  max-height: 2em;
  position: absolute;
  top: 0.3em;
  right: 0em;
}

#social_fb:hover {
  opacity: 0.5;
}

#header_indirizzo{
  position: absolute;
  top: 2.8em;
  right: 0em;
  font-family: sans-serif;
}

/* ----------- MENU ----------- */

#menu {
	position:relative;
	margin-left: auto;
	margin-right: auto; 
	text-align: left;
	width: 100%;
	font-family: sans-serif;
}

#menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
	padding-left: 5%;
	padding-right: 5%;
}

#menu li {
    float: left;
}

#menu li a {
    display: block;
    color: white;
    text-align: center;
    padding: 1em;
    text-decoration: none;
}

#menu li a:hover {
    background-color: #111;
}

#menu li ul { 
	display:none;
	position:absolute;
} 

/* ----------- PAGE ----------- */

#pagina {
	position:relative;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.test {
	text-align: center;
	background-color: #f3f5f4;
	padding: 2em 0 2em 0;
	color: #545454;
}

.test h1 {
	margin: 0;
	font-size: 3em;
	font-family: Cambria, Georgia, serif;
	font-weight: 500;
	line-height: 2;
}

.test h2 {
	margin: 0;
	font-size: 2em;
	font-family: Cambria, Georgia, serif;
	font-weight: 500;
	line-height: 2;
}

.test h3 {
	margin: 0;
	font-size: 2em;
	font-family: Cambria, Georgia, serif;
	text-decoration: underline;
	font-weight: 500;
	line-height: 2;
}

.test p {
	margin: 0;
	font-size: 1.3em;
	font-family: Cambria, Georgia, serif;
	font-weight: 500;
	line-height: 1.5;
	margin-bottom: 1em;
}

.testB {
	text-align: center;
	background-color: white;
	padding: 2em 0 2em 0;
	color: #545454;
}

.appuntamento {
	text-align: center;
	background-color: #f3f5f4;
	padding: 2em 0 2em 0;
	color: #545454;
	font-family: sans-serif;
}

.appuntamento h1 {
	margin: 0;
	font-size: 2em;
	font-family: sans-serif;
	font-weight: 500;
	line-height: 2;
}

.appuntamento h2 {
	margin: 0 3em 0 3em;
	font-size: 1.5em;
	font-family: sans-serif;
	font-weight: 500;
	line-height: 1.3;
	margin-bottom: 1em;
}

.appuntamento p {
	margin: 0;
	font-size: 1.3em;
	font-family: sans-serif;
	font-weight: 500;
	line-height: 1;
}

#prenota{
	position:relative;
	margin-left: auto;
	margin-right: auto;
	margin-top: 1em;
	width: 60%;
	background-color: #bbbbbb;
	text-align: center;	
	color: black;
	font-family: sans-serif;
	border-radius: 5px;
}

#prenota h1{
	font-family: sans-serif;
	font-size: 1.5em;
	padding: 1em;
}

.prenota_sub1{
	position:relative;
	width: 40%;
	float: left;
	text-align: left;
	font-family: sans-serif;
	padding: 0 0 0 1em;
	margin-left: 7%;
}

.prenota_sub2{
	position:relative;
	width: 40%;
	float: left;
	text-align: left;
	font-family: sans-serif;
	padding: 0 0 0 1em;
}

.prenota_sub3{
	position:relative;
	width: 80%;
	float: left;
	text-align: left;
	font-family: sans-serif;
	padding: 0 0 0 1em;
	margin-left: 7%;
	
}

.input_form_mio2 {
	float: left;
	font-size: 1em;
	font-family: sans-serif;
	width: 100%;
}

#richiedi{
	padding: 1em;
	margin: 1em;
}

#richiedi:hover {
	cursor: pointer;
}

.slice1 {
	width: 100%;
	animation: pulse1 20s;
	animation-iteration-count: infinite;
	opacity: 0;
	z-index: 1;
}

@keyframes pulse1 {
  0%   { opacity: 1; }
  5%   { opacity: 1; }  
  28%  { opacity: 1; }
  33%  { opacity: 1; }
  38%  { opacity: 0; }  
  61%  { opacity: 0; }
  66%  { opacity: 0; }
  71%  { opacity: 0; }  
  94%  { opacity: 0; }
  100% { opacity: 1; }
}

.slice2 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;	
	animation: pulse2 20s;
	animation-iteration-count: infinite;
	opacity: 0;
	z-index: 1;
}

@keyframes pulse2 {
  0%   { opacity: 0; }
  5%   { opacity: 0; }  
  28%  { opacity: 0; }
  33%  { opacity: 0; }
  38%  { opacity: 1;}  
  61%  { opacity: 1; }
  66%  { opacity: 1; }
  71%  { opacity: 0; }  
  94%  { opacity: 0; }
  100% { opacity: 0; }
}

.slice3 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	animation: pulse3 20s;
	animation-iteration-count: infinite;
	opacity: 0;
	z-index: 1;
}

@keyframes pulse3 {
  0%   { opacity: 0; }
  5%   { opacity: 0; }  
  28%  { opacity: 0; }
  33%  { opacity: 0; }
  38%  { opacity: 0; }  
  61%  { opacity: 0; }
  66%  { opacity: 0; }
  71%  { opacity: 1; }  
  94%  { opacity: 1; }
  100% { opacity: 0; }
}

.note1 {
	position: absolute;
	bottom: 0;
	background-color: black;
	opacity: 0;
	width: 100%;
	animation: note1 20s;
	animation-iteration-count: infinite;
	z-index: 1;
}

@keyframes note1 {
  0%   { opacity: 0.6; }
  5%   { opacity: 0.6; }  
  28%  { opacity: 0.6; }
  33%  { opacity: 0.6; }
  38%  { opacity: 0; }  
  61%  { opacity: 0; }
  66%  { opacity: 0; }
  71%  { opacity: 0; }  
  94%  { opacity: 0; }
  100% { opacity: 0.6; }
}

.note2 {
	position: absolute;
	bottom: 0;
	background-color: black;
	width: 100%;
	margin-top: -100%;
	opacity: 0;
	animation: note2 20s;
	animation-iteration-count: infinite;
	opacity: 0;
	z-index: 1;
}

@keyframes note2 {
  0%   { opacity: 0; }
  5%   { opacity: 0; }  
  28%  { opacity: 0; }
  33%  { opacity: 0; }
  38%  { opacity: 0.6; }  
  61%  { opacity: 0.6; }
  66%  { opacity: 0.6; }
  71%  { opacity: 0; }  
  94%  { opacity: 0; }
  100% { opacity: 0; }
}

.note3 {
	position: absolute;
	bottom: 0;
	background-color: black;
	width: 100%;
	margin-top: -100%;
	opacity: 0;
	animation: note3 20s;
	animation-iteration-count: infinite;
	opacity: 0;
	z-index: 1;
}

@keyframes note3 {
  0%   { opacity: 0; }
  5%   { opacity: 0; }  
  28%  { opacity: 0; }
  33%  { opacity: 0; }
  38%  { opacity: 0; }  
  61%  { opacity: 0; }
  66%  { opacity: 0; }
  71%  { opacity: 0.6; }  
  94%  { opacity: 0.6; }
  100% { opacity: 0; }
}

.note_testo {
	font-family: sans-serif;
	color: #d8d8d8;
	text-align: center;
	font-size: 1.5em;
	margin: 2em;
	opacity: 1;
}

#prodotti {
	position:relative;
	overflow: auto;
	margin-left: auto;
	margin-right: auto;
	width: 90%;
}

.blocco {
	float: left;
	margin:1em 1em 0.5em 0;
	width: 16.5em;
	border-top: 0.05em solid #ECEDED;
	border-left: 0.05em solid #ECEDED;
	border-right: 0.05em solid #ECEDED;
	border-bottom: 0.3em solid #ECEDED;
}

.blocco span {
	display: block;
	font-family: Helvetica,Arial,sans-serif;
	font-size:2em;
	font-weight: 400;
	color: rgb(255,255,255);
	background-color: #384249;
	opacity: 0.30;
	padding-top: 0.9em;
	width: 3em;
	height: 2.1em;
	border-radius: 50%;
	margin-left: 32%;
	margin-top: -55%;
	margin-bottom: 20%;
}

.immagine {
	text-align: center;	
}

.immagine a {
	text-decoration: none;
}

.immagine:hover span{
	-webkit-transition: opacity 1s ease-in-out;
	opacity: 0.8;
	-webkit-transition-duration: 0.4s;
	-moz-transition: opacity 1s ease-in-out;
	opacity: 0.8;
	-moz-transition-duration: 0.6s;
}

.testo {
	text-align: center;	
}

.testo a {
	color: #31373b;
	text-decoration: none;
	font-size: 2em;
	font-family: 'Open Sans Condensed', sans-serif;
	font-style: normal;
}
.testo a:visited {
	color:#31373b;
}
.testo a:hover, .posttitle a:focus, .posttitle a:active {
	color: #8fb9d4;
}

.thumb {
	width: 100%;
}

#pagina_testo {
	position:relative;
	margin-left: auto;
	margin-right: auto;
	width: 90%;
}

/* ----------- LAVORA CON NOI ----------- */

#contenitoreAnnunci {
	width:100%;
}

.contenitoreAnnunci p {
	margin: 0;
	font-size: 1.3em;
	font-family: sans-serif;
	font-weight: 500;
	line-height: 1;
}

#AnnuncioVenditore {
	background-color: #ffffff;
	color: #545454;
	font-family: sans-serif;
	position: relative;
	clear: both;
	min-height: 25vw;
}

#AnnuncioTappezziere {
	background-color: #7f6266;
	color: #dac6be;
	font-family: sans-serif;
	position: relative;
	clear: both;
	min-height: 25vw;
}

#AnnuncioSarta {
	background-color: #44a5c5;
	color: #2f5764;
	font-family: sans-serif;
	position: relative;
	clear: both;
	min-height: 25vw;
}

.TitoloAnnuncio {
    padding: 10px 0 0 10px;
	margin: 0px;
	font-size: 1.5em;
	font-family: sans-serif;
	font-weight: 500;
	line-height: 2;	
}

.SottoTitoloAnnuncio {
    padding: 0 0 0 30px;
	font-size: 1.3em;
	font-family: sans-serif;
	font-weight: 500;
	line-height: 2;	
}

.TestoAnnuncio {
    padding: 0 0 0 10px;
	font-size: 1em;
	font-family: sans-serif;
	font-weight: 500;
	line-height: 2;	
}

.Dettagli {
	font-size: 0.8em;
	line-height: 20px;
	padding: 0 0 0 15px;
}

.Indirizzo {
	font-size: 0.6em;
	padding: 0 0 15px 15px;
	margin: 0px;
}

.ClassImgAnnuncio {
	float: left;
	width: 25vw;
	padding: 0 15px 0 0;
}

/* ----------- FOOTER ----------- */

footer {
	position:relative;
	margin: 0 auto 0 auto;
	text-align: left;
	width: 100%;
	font-family: sans-serif;
	background-color: #7b6a5c;
}

#fondo {
	position:relative;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	width: 88%;
	padding: 2em 0 6em 0;
}

#fondo a {
	color: #d8d8d8;
}

#pri {
	width: 33%;	
	float: left;
}

#sec {
	width: 33%;
	float: left;
}

#ter {
	width: 33%;
	float: left;
}

/* ----------- SLICER ----------- */

#foto {
  width: 100%;	
}

#freccia_sx {
	
 position: absolute; 
 height: 10vh;
 top: 50%;
 left: 1%;
 opacity:0.3;
 -ms-transform: translate(0%, -50%); /* IE 9 */
 -webkit-transform: translate(0%, -50%); /* Chrome, Safari, Opera */ 
 transform: translate(0%, -50%);

}

#freccia_dx {
	
 position: absolute; 
 height: 10vh;
 top: 50%;
 right: 1%;
 opacity:0.3;
 -ms-transform: translate(0%, -50%); /* IE 9 */
 -webkit-transform: translate(0%, -50%); /* Chrome, Safari, Opera */ 
 transform: translate(0%, -50%); 

}

#frecciaD img:hover {
	
   opacity:0.7;
   cursor:pointer;
   
}

#frecciaS img:hover {
	
   opacity:0.7;
   cursor:pointer;
   
}