/* Reset.css */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {margin: 0;padding: 0;border: 0;font-size: 100%;vertical-align: baseline;}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {display: block;}

blockquote, q { quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after { content: ""; content: none; }

.clearfix:before, .clearfix:after { content: ""; display: table; }

.clearfix:after { clear: both; }

.clearfix { zoom: 1; }

html 
{
   overflow-y: scroll; 
   -webkit-text-size-adjust: 100%; 
   -ms-text-size-adjust: 100%; 
}


/*** General ***/

body 
{
   height: 100%;
   min-height: 100%;
   padding: 10px
   color: #666;
   font-family: 'Open Sans', sans-serif;
   font: 16px/28px;
   background: #FFFFFF;
}

a:hover, a:active, a:link, a:visited {
   text-decoration:none;
   color : #990000;
}


/* Structure */

#wrapper 		
{
   width: 100%;
   margin: 0 auto;
   background:#fff;
}

#header 		
{
   width: 100%;
   height: 110px;
   float:left;
   padding: 20px 20px 20px 20px;
   background:#EB3B3B;
}

#logotesta
{
    display: block;
    background-image: url('../../img/piccolo.jpg');
    background-repeat: no-repeat;
    border: 0px;
    width: 180px;
    height: 63px;
    margin: 0 auto;
} 

#mainmenu		
{
   width: 100%;
   float:left;
   background: #3B2316;
}

#slider 		
{
   width: 100%;
   float:left;
   margin: 0 auto;
   background:#FFFFFF;
}

#main 			
{
   width: 100%;
   float:left;
   padding: 20px 0 0 0;
}

/*** Header ***/
#site-title a 			
{
   font-family: oswald; 
   font-weight: 400; 
   font-size:25px; 
   text-transform:uppercase;
   margin-left:10px;
   float: left;
   color:#fff;
}

#site-title a:hover 	
{
   background: none;
}

/*** Menu ***/

#mainmenu		
{
   display:none;
}

#mainmenu ul 		
{
   margin: 0px 0 0px 0px;
   float:left;
   width:100%; 
   list-style: none;
}

#mainmenu ul li 	
{
   float: none;
   margin: 0 0px 0 0;
   position: relative;
}

#mainmenu a 		
{
   color: #fff; 
   display: block;
   font: 14px;
   padding: 14px 20px;
   font-family: oswald; 
   text-transform:uppercase;
}

#mainmenu a:hover 
{
    background:#666;
}

.btn-responsive-menu{display:block;}	
	
/* Button Responsive Menu*/

.btn-responsive-menu
{
    position: absolute;
    top: 25px; 
    padding:5px;
    cursor:pointer;
    margin:  0px 0px 0 0;
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background: #3B2316;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;border-radius: 4px;
}

.icon-bar 			
{
    display: block;
    width: 18px;
    height: 2px;
    margin:5px;
    background-color: #f5f5f5;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.show
{
    display:block!important
}

* 
{
    box-sizing: border-box;
}

.row::after
{
    content:"";
    clear:both;
    display:table;
}

.row{
    margin-top: 0px;
}

[class*="col-"] 
{
    width: 100%;
}

.demo 
{
    text-align: justify;
    padding-top: 10px;
    padding-right: 5px;
    padding-bottom: 10px;
    padding-left: 5px;
}

.demo h1 
{
    font-family: 'Roboto Condensed', sans-serif;
    margin-top: 0;
    text-align: center;
}

.demo h2 
{
    color: #990000;
    margin-top: 0;
    text-align: center;
}

.demo2 
{
    text-align: justify;
    padding-top: 10px;
    padding-right: 5px;
    padding-bottom: 10px;
    padding-left: 5px;
}

.demo2 h1 
{
    margin-top: 0;
    text-align: center;
    color: #990000; 
}

.demo3
{

    text-align: justify;
    font-size: 20px;
    padding-top: 10px;
    padding-right: 5px;
    padding-bottom: 10px;
    padding-left: 5px;
}

.footer 
{
    clear: both;
    width: 100%;
    position: relative;
    bottom: 0;
    left: 0;
    z-index: 10;
    margin-top: -0em;
    background-color: #232323;
    color: #FFF;
    text-align: center;
}

.footer a 		
{
   color: #FFFFFF; 
}

.footer a:hover 
{
   color: #F0F0F0; 
}

.pippo h3
{
    text-align: center;
}

.menu ul 
{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu li 
{
    padding: 8px;
    margin-bottom: 7px;
    background-color: #F31000;
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.menu li:hover 
{
    background-color: #DF1100;
}

#map 
{
    width:100%;
    height:500px;
}	

#newscontainer 		
{
    float:left;
    width:100%;
    padding: 2px 2px 2px 2px;
    background: #DCDCDC;
}

#newscontainer a 		
{
    color: #990000;
    padding: 2px 2px 2px 2px;
}

#newscontainer a:hover  		
{
    color: #000000;
    padding: 2px 2px 2px 2px;
}

#newscontainer p  		
{
    padding: 2px 2px 2px 2px;
}

#newstutte 		
{
    background: #FFFFFF;
}

#newsborder 		
{
    border:0,5PX solid #999;
    background: #DCDCDC;
}

.newstitolo h4
{
    text-align: left;
    color: #990000;
}

.avviso
{
    font-size:12px;
    font-weight:bold;
    font-style:italic;
    color:#990000;
    text-align: center;
}

.titolofoto
{
    font-size:12px;
    font-weight:bold;
    font-style:italic;
    color:#000000;
    background: #D8D8D8;
    text-align: center;
    text-valign: middle;
    padding: 10px 10px 10px 10px;
}

.colonnafoto
{
    font-size:12px;
    font-weight:bold;
    color:#000000;
    text-align: center;
    text-valign: middle;
    padding: 10px 10px 10px 10px;
}

#last img {
    width: 100%;
    height: auto;
}

.banner img {
    width: 80%;
    height: auto;
    margin: 10%;
}

.titolofile
{
    font-size:12px;
    font-weight:bold;
    font-style:italic;
    color:#000000;
    background: #D8D8D8;
    text-align: center;
    text-valign: middle;
    padding: 10px 10px 10px 10px;
}

.colonnafile
{
    font-size:12px;
    font-weight:bold;
    color:#000000;
    text-align: center;
    text-valign: middle;
    padding: 10px 10px 10px 10px;
}

#lastfile img {
    width: 50px;
    height: auto;
}

.titolomeno
{
    font-size:11px;
    font-weight:bold;
    color:#000000;
    text-align: center;
    text-valign: middle;
    padding: 1px 1px 1px 1px;
}

.opafoto 
{
    opacity: 1.0;
    filter: alpha(opacity=100); /* For IE8 and earlier */
}

.opafoto:hover {
    opacity: 0.5;
    filter: alpha(opacity=50); /* For IE8 and earlier */
}


#search_words {
    width: 200px;
    margin-top: 10px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    background-color: white;
    background-image: url('../../img/searchicon.png');
    background-position: 10px 10px; 
    background-repeat: no-repeat;
    padding: 12px 20px 12px 40px;
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
}

#search_words:focus {
    width: 100%;
}

#google_translate_element {
    background-color: #EB3B3B;
}

.zoom {
    transition: transform .2s;
}

.zoom:hover {
    -ms-transform: scale(1.1); /* IE 9 */
    -webkit-transform: scale(1.1); /* Safari 3-8 */
    transform: scale(1.1); 
}

.imgbadge {
    width: 50%;
    height: auto;
    border: 3px solid #E0DECE;
    border-radius: 4px;
}

.imgbadgehome {
    width: 70%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 3px solid #E0DECE;
    border-radius: 4px;
}

.containervideo {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

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

.tendi {
   color: #000000;
   background-color: #F0F0F0;
   padding-left: 15px;
   border: 1px solid #CFCFCF;
}

#eratendi
{
    border: 1px solid #CFCFCF;
    height: 50px;
    font-family: Verdana, Helvetica, Sans-Serif; 
    font-weight: 100;
    font-size: 30px;
    color: #CFCFCF; 
} 

.titolone
{
	position: relative;
	font-family: Verdana, Arial, helvetica;
	font-size: 12px;
	color: #999999; 
	font-weight: bold;
}

.centered img {
  width: 70%;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.centered img {
  width: 70%;
  display: block;
}

.oras
{
    width: 40px;
    font-family: Verdana, Arial, helvetica;
    font-size:10px;
    color:#000000;
    background: #F0F0F0;
    text-align: left;
    text-valign: middle;
    padding: 2px 2px 2px 2px;
}

.datas
{
    font-family: Verdana, Arial, helvetica;
    font-size:10px;
    color:#000000;
    background: #ECECEC;
    text-align: middle;
    text-valign: middle;
    padding: 2px 2px 2px 2px;
}

.datasbig
{
    font-family: Verdana, Arial, helvetica;
    font-size:12px;
    color:#000000;
    background: #ECECEC;
    text-align: left;
    text-valign: middle;
    padding: 2px 2px 2px 2px;
}

.catncc
{
    font-family: Verdana, Arial, helvetica;
    font-size: 14px;
    font-weight: 400;
    background-color: #C5E0FD;
    color: #000000;
    padding: 2px 2px 2px 2px;
}

.titolonccbig
{
    font-family: Verdana, Arial, helvetica;
    font-size: 14px;
    font-weight: 800;
    background-color: #F0F0F0;
    color: #333333;
    padding: 2px 2px 2px 2px;
}

.titoloncc
{
    font-family: Verdana, Arial, helvetica;
    font-size: 14px;
    font-weight: 500;
    background-color: #F0F0F0;
    color: #333333;
    padding: 2px 2px 2px 2px;
}

.titoloncc a 
{
    background-color: #F0F0F0;
    color: #333333;
}

.titoloncc a:hover 
{
    color: #000000;
}

img.rounded-corners {

  border-radius: 10px;

}

.catblog
{
    font-family: Verdana, Arial, helvetica;
    font-size: 14px;
    font-weight: 400;
    background-color: #FEA671;
    color: #000000;
    padding: 2px 2px 2px 2px;
}

.titoloblogbig
{
    font-family: Verdana, Arial, helvetica;
    font-size: 14px;
    font-weight: 800;
    background-color: #F0F0F0;
    color: #333333;
    padding: 2px 2px 2px 2px;
}

.titoloblog
{
    font-family: Verdana, Arial, helvetica;
    font-size: 14px;
    font-weight: 500;
    background-color: #F0F0F0;
    color: #333333;
    padding: 2px 2px 2px 2px;
}

.titoloblog a 
{
    background-color: #F0F0F0;
    color: #333333;
}

.titoloblog a:hover 
{
    color: #000000;
}


.buttonmio {
  border-radius: 4px;
  background-color: #f4511e;
  border: none;
  color: #FFFFFF;
  text-align: center;
  font-size: 24px;
  padding: 15px;
  width: 150px;
  transition: all 0.5s;
  cursor: pointer;

  display: block; 
  margin: 0 auto;
}

.buttonmio span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.buttonmio span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -15px;
  transition: 0.5s;
}

.buttonmio:hover span {
  padding-right: 25px;
}

.buttonmio:hover span:after {
  opacity: 1;
  right: 0;
}

/* Catalogo */

.nota
{
	position: relative;
	font-family: Verdana, Arial, helvetica;
	font-size: 11px;
	color: #000000; 

}

.sotto
{
	position: relative;
	font-family: Verdana, Arial, helvetica;
	font-size: 11px;
	color: #000000; 
}

.grandesk
{
        position: relative;
        font-family: Verdana, Helvetica, Sans-Serif; 
        font-weight:100;
        font-size: 20px;
        color: #990000; 
}

.grande
{
        position: relative;
        font-family: Verdana, Helvetica, Sans-Serif; 
        font-weight:100;
        font-size: 20px;
        color: #999999; 
}

.rigosk
{
        width:100%;
        float:left; 
        display:block;
        padding: 5px 1px 1px 1px;
        background: #FFFFFF;
        border: none;
}

.frasefondo
{
	position: relative;
	font-family: Verdana, Arial, helvetica;
	font-size: 10px;
	color: #000000; 
}

/* Aggiuntive */

.grid-1 {
  display: grid;
  background: #FFFFFF;
  width: 100%;
  margin: 0 auto;
  grid-gap: 20px;
  
  grid-template-columns: repeat( auto-fill, minmax(250px, 1fr) );
}

article {
  position: relative;
}

.article-img {

  width: 100%;
  object-fit: cover;
}

.article-title {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.4);
  font-size: 1.3em;
  color: #000000;
}


#containerstock {
  display: flex;
  flex-flow: row wrap; /* This is where the magic happens!*/
  align-items: flex-start;
  align-content: flex-start;
  justify-content: space-around;
  border: 0px solid black;
}

#containerstock>div {
  flex-basis: 22.5%;
  /*Try to take up 22.5% of the space, which would be almost a quarter but with a spacing of 2.5% total*/
  background: #FFFFFF;
  border: 0px solid yellow;
  min-width: 50px;/* This is also where the magic happens */
  font-family: oswald; 
  font-weight: 200; 
  font-size:18px; 
}