/*START RESET*/

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, a, 
abbr, acronym, address, applet, big, cite, code, del, dfn, em, img, ins, kbd, q, 
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, 
html{
  font-family: 'Oxygen', sans-serif;
}

body{
  margin: 0;
  padding: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav,
section, summary{
  display: block;
}

audio, canvas, progress, video{
  display: inline-block;
  vertical-align: baseline;
}

a{
  background: transparent;
}

a:active, a:hover{
  outline: 0;
}

a.text_none:hover{
  text-decoration: none;
}

a.link{
  font-style:italic;
}

a.link:hover{
  
}

b, strong{
  font-weight: bold;
}

img{
  border: 0;
}

button, input, optgroup, select, textarea{
  margin: 0;
}

button, select{
  text-transform: none;
}

button, input[type="button"], input[type="reset"], input[type="submit"]{
  cursor: pointer;
  outline: 0;
}

button[disabled], input[disabled]{
  cursor: default;
}

textarea{
  overflow: auto;
}

table{
  border-collapse: collapse;
  border-spacing: 0;
}

td, th{
  padding: 0;
}

button{
  outline:0;
}

.flex-wrap{
  padding-left:10px;
  padding-right:10px;
}

/*END RESET*/



/*START LAYOUT*/

div{
  box-sizing: border-box;
}

div#body{
  width: 100%;
  margin: 0 auto;
  color: #666;
}

.font_light{
  font-weight:300;
}

a{
  text-decoration: none;
}

a:hover{
  color: #7e0c22;
}

p{
  line-height:1.4;
  font-weight:300;
}
div#header{

}

div#article{

}

div#footer{
  background-color: #7e0c22;
  color: #fff;
  padding: 20px;
  margin-top:40px;
}

div.content{
  width: 1280px;
  margin: 0 auto;
}

@media only screen and (max-width: 1280px){ 

  div.content{
    width: 100%;
    margin: 0 auto;
  }
  
}

div#top{
  padding: 10px;
  background-color: #7e0c22;
}

div#menu{
  margin-top: 10px;
  padding-bottom: 5px;
}

a.menu_selected{
  color: #7e0c22 !important;
}

.modalDialog{
  padding:0px;
}
a#closeModal {
  top: -30px;
  right: -10px;
  position: absolute;
  content: " ";
  width: 20px;
  height: 20px;
  color: #fff;
}
a#closeModal:after,
a#closeModal:before{
  background-color: #fff;
}
a#closeModal:hover:after, a#closeModal:hover:before {
   background-color: #fff; 
}
#mainMenuNav ul li{
  padding: 15px;
}
#mainMenuNav ul li a{
  color:#666;
  transition: 0.3s ease-in-out;
  -webkit-transition: 0.3s ease-in-out;
}
#mainMenuNav ul li a:hover{
  color:#7e0c22;
}


#mainMenuNav ul li.active a{
  color:#7e0c22;
}

div#intro {
  padding: 30px;
  background-color: #f1f1f1;
  margin-bottom: 60px;
  margin-top: -5px;
  box-sizing: border-box;
}
/*END LAYOUT*/

.fa-2{
  font-size: 2em;
}

.dot{
  background-color: #7e0c22;
}

.footer-item{
  padding-top: 2em;
  padding-bottom: 2em;
}

.footer-ico{
  color: #7e0c22;
}

span.ico_box {
  color: #fff;
  border: 1px solid #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 12px;
  height: 65px;
  width: 65px;
  line-height: 6.8;
}
.detail_footer {
  font-size: 14px;
  padding-left: 20px;
}
.detail_footer a{
  color:#fff;
}
.detail_footer.tel{
  margin-top:12px;
}
.thumb {
  width: 170px;
  height: 170px;
  display: inline-block;
  margin: 0 5px 0 5px;
  border: 2px solid #fff;
  outline: 1px solid #7e0c22;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 0px;
  transition: 0.3s ease-in-out;
  -webkit-transition: 0.3s ease-in-out;
}
.thumb:hover {
  border: 5px solid #7e0c22;
}
#mainMenu{
  background-color: #fff;
  z-index: 20;
}

.button{
  padding: 10px;
  background-color: #7e0c22;
  border: none;
  border-radius:3px;
  color: #fff;
}

.button:hover{
  background-color: #333;
}

.selected{
  color: #7e0c22;
}

div#mainMenu {
  padding: 20px;
  margin-bottom: 20px;
  left:0px;
  right:0px;
}

/*Azienda*/
article#azienda{
  margin-bottom:30px;
}
article#azienda h1 {
  font-size: 26px;
  text-align: center;
  font-weight: 400;
  margin: 40px;
  margin-top: 0px;
}
article#azienda h1:after{
    content: ' ';
  width: 55px;
  height: 4px;
  background-color: #7e0c22;
  position: absolute;
  margin: auto;
  left: 0px;
  right: 0px;
  margin-top: 40px;
}
article#azienda p{
  text-align:center;
  margin-bottom:40px;
}
article#azienda .flex-wrap {
  display:block;
}


/*Prodotti*/
article#prodotti{
  margin-bottom:30px;
}
article#prodotti h1 {
  font-size: 26px;
  text-align: center;
  font-weight: 400;
  margin: 40px;
  margin-top: 0px;
}
article#prodotti h1:after{
    content: ' ';
  width: 55px;
  height: 4px;
  background-color: #7e0c22;
  position: absolute;
  margin: auto;
  left: 0px;
  right: 0px;
  margin-top: 40px;
}
article#prodotti p.subtitle{
  text-align:center;
  margin-bottom:40px;
}
article#prodotti h2{
  font-style:italic;
  text-align:center;
  font-size:16px;
  color:#7e0c22;
  margin-bottom:20px;
}

/*prodotto*/
div.prodotto{
  padding:20px;
  box-sizing: border-box;
}
div.prodotto div.box{
  border:1px solid #ccc;
  box-sizing: border-box;
  position:relative;
}
div.prodotto div.box p {
  margin: 0px;
  padding: 0px;
  text-align: center;
  text-transform: uppercase;
  position: absolute;
  top: 130px;
  background-color: #fff;
  text-align: left;
  font-size: 12px;
  padding: 10px 12px;
  left: 15px;
}
div.prodotto div.box ul{
  list-style-type: circle;
  margin:0px;
  padding:0px;
  padding:15px;
  margin-left:15px;
}
div.prodotto div.box ul li {
  font-size: 12px;
  line-height: 1.5;
}
div.prodotto div.box div.thumb {
  width: 100%;
  height: 180px;
  display: block;
  margin: 0px;
  border: 0px solid #fff;
  outline: 0px solid #7e0c22;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 0px;
  transition: 0.3s ease-in-out;
  -webkit-transition: 0.3s ease-in-out;
  box-sizing: border-box;
}

/*Contatti*/
article#contact{
  margin-bottom:30px;
}
article#contact h1 {
  font-size: 26px;
  text-align: center;
  font-weight: 400;
  margin: 40px;
}
article#contact h1:after{
    content: ' ';
  width: 55px;
  height: 4px;
  background-color: #7e0c22;
  position: absolute;
  margin: auto;
  left: 0px;
  right: 0px;
  margin-top: 40px;
}
article#contact p{
  font-size:14px;
  line-height:1.4;
  margin-bottom:10px;
}
article#contact div.contact_form div.item{
  padding:10px;
}
article#contact div.contact_form textarea,
article#contact div.contact_form input{
  display:block;
  width:100%;
  box-sizing: border-box;
} 
article#contact div.contact_form textarea{
  height:200px;
}
article#contact div.contact_form input{
  margin-bottom:15px;
}
article#contact div.contact_form input.antispam_input{
  width: 60px;
  display: inline-block;
}
span.antiSpam {
  display: inline-block;
}
input[type=text],input[type=email],input[type=password],input[type=url],input[type=tel]{ 
  width: 100%;
  height: 32px;
  font-size: 14px;
  line-height: 1.5;
  background-color: #fff;
  background-image: none;
  border: 1px solid #dde6e9;
  color: #555;
  border-radius: 4px;
  padding-left:10px;
}
input[type=number] {
  height: 32px;
  font-size: 14px;
  line-height: 1.5;
  background-color: #fff;
  background-image: none;
  color: #555;
  border: 1px solid #dde6e9;
  border-radius: 4px;
  padding: 0px 0px 0px 0px;
  text-align:center;
  display:inline-block;
  width:60px;
  font-size:14px;
}
textarea{
  border: 1px solid #dde6e9;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
  padding:5px;
}
.text_center{
  text-align:center;
}
.adv {
  padding: 60px 75px;
}
.box_btn{
  width:100%;
}
.form_button {
  padding: 10px 24px;
  background-color: #7e0c22;
  border: none;
  border-radius: 3px;
  color: #fff;
  display: block;
  float: right;
}

.copertina{
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 300px;
}

#copertina-prodotti{
  background-image: url('../img/prodotti/copertina-prodotti.jpg');
}