/* GENERAL */

body {
   color: #666;
   font: 16px/28px Lora;
   font-family: 'Lora', serif;
   font-weight: 400;
   background: #fefec6;
   /* FONT RENDERING !!! */
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
   -webkit-appearance: none;
   -moz-appearance: none;
   /*   min-font-size: 15px!important;*/
}
/* BLANK */
#blankBM95, #blankBM96, #blankBM97, #blankBM99 , #blankBM101 {
   background: #fefec6;
}

/* TYPOGRAPHY */

a {
   color: #000;
   text-decoration: none;
}
a:hover {
   color: #AA206A;
   border-bottom: 1px solid #AA206A;
}
a:active {
   outline: none;
}
p,
dl,
hr,
h1,
h2,
h3,
ol,
ul,
dd,
pre,
table,
fieldset {
   margin-bottom: 10px;
}
ul {
   list-style-type: none;
}
li {
   padding: 3px 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
   /*text-shadow: 0 1px 0 #fff;*/
   font-weight: 400;
   color: #AA206A;
   clear: both;
}
h1 {
   font-size: 3.2em;
}
h2 {
   font-size: 2.5em;
}
h3 {
   font-size: 1.6em;
}
h4 {
   font-size: 1.4em;
}
h5 {
   font-size: 1.2em;
}
h6 {
   font-size: 1.1em;
}
p {
   line-height: 1.45em;
}
/* STRUCTURE */

#logo,
#logodef,
#logopng {
   position: absolute;
   z-index: 10;
   top: 35px;
   left: 25px;
}
#logo,
#logodef {
   font-size: 3.5em;
   color: #fff;
   text-shadow: -2px 2px 0 #AA206A;
   font-style: italic;
   top: 40px;
   left: 180px;
}
#logodef {
   top: 110px;
   font-size: 1.2em;
   /*text-shadow: none;
   color: #AA206A;
   text-shadow: -1px 1px 0 #fff;*/
}
#wrapper {
   padding-top: 30px;
}
#header {
   width: 100%;
   height: 200px;
   overflow: hidden;
}
#content {
   width: 76%;
   float: left;
   padding: 0 2%;
}
#sidebar {
   width: 20%;
   float: left;
}
#footer {
   width: 76%;
   float: left;
   margin-left: 22%;
   padding: 15px 2% 20px 0;
   border-top: 1px solid #AA206A;
}
/* HEADER */

#header img {
   width: 100%;
   min-height: 200px;
   height: auto;
}
@media screen and (max-width: 1280px) {
   #header img {
      width: auto;
   }
}
/* SIDEBAR */
#mainmenu {
   padding-left: 20px;
}
#mainmenu ul {
   padding-bottom: 30px;
}
#mainmenu ul li.current a {
   color: #AA206A;
   border-bottom: 1px solid #AA206A;
}
#mainmenu ul ul {
   padding-left: 15px;
   padding-bottom: 0;
   list-style-type: disc;
}
#mainmenu ul li.current ul li a {
   color: #000;
   text-decoration: none;
   border-bottom: none;
}
#mainmenu ul li.item-145 {
   font-style:italic;
   font-weight: 700;
}
#mainmenu p {
   padding: 0;
   margin: 0;
   padding-bottom: 3px;
}
#mainmenu img {
   width: 100%;
   height: auto;
}
#mainmenu p a:hover,
#mainmenu p a:hover img {
   border: 0;
}
input::-moz-focus-inner {
   border: 0;
}

/* IMAGES */
#content img {
   max-width: 100%;
   height: auto;
}
#content img.storie {
   width: 300px;
   height: auto;
   float: left;
   margin: 0 30px 10px 0;
}
.vert {
   max-height: 200px;
}

.vert a:hover {
   border-bottom: none;
}

/* TABLES */
table {
   border-collapse: collapse;
}
td {
   padding: 4px 4px 4px 0;
   border-top: 1px solid #AA206A;
   vertical-align: top;
}

/* TROLLEY - COUNT */
#trolley_count {
   position: fixed;
   top:0;
   right:0;
   z-index:100;
   background: #fefec6;
   box-shadow: -1px 3px 5px rgba(0,0,0,.6);
   text-align: right;
   padding:.7%;
   border-radius: 0 0 0 10px;
   font-size: .8rem;
}
#trolley_count .trolley_not_empty {
   padding-bottom: 5px;
   font-size: .9rem;
   color: #951B80
}
#trolley_count img {
   padding-right: 5px;
}

/* ELENCO PRODOTTI */
#blankBM96 table {
   width:100%;
}
#blankBM96 table td:first-child div {
   min-width: 120px;
   width:10%;
   text-align: center;
}
#blankBM96 table td:first-child img {
   width:100%;
   height: auto;
}
#blankBM96 table td div.immagine_preview a:hover {
   border: none;
}
#blankBM96 table td div.immagine_preview img {
   height: 100px;
   width:auto;
   padding:0 0 0 20%;
   box-sizing:border-box;
}
#blankBM96 table td div.immagine_preview a:after {
   content:'+';
   vertical-align: top;
}
#blankBM96 table td:nth-child(2) {
   width:65%;
}
#blankBM96 table td:nth-child(3) {
   width:20%;
}
#blankBM96 table td:nth-child(3) {
   width:10%;
   text-align: center;
}

/* PRODOTTI */
#content table#prodotti td {
   vertical-align: top;
}
#content table#prodotti td img,
#content table#prodotti td a img {
   width: auto;
   max-width: none;
}
#content table#prodotti td img.bandiere {
   width: 50px;
   max-height: 40px;
}
ul#prodotti {
   list-style-type: disc;
}

/* TROLLEY - LIST */
table.trolley_list {
   width:100%;
}

#content table.trolley_list th:nth-child(3) {
   text-align: center;
}
#content table.trolley_list td {
   padding: .5em 0;
   border-bottom: 1px solid #deb9b1;
   white-space: normal;
}
#content table.trolley_list td.linea_totale {
   border-top: 2px solid #951B80;
}
#content table.trolley_list td:first-child {
   width: 5%;
}
#content #coldx table.trolley_list td.td_formato img {
   width: 20px;
   height: auto;
   margin-bottom: 5px;
}
#content #coldx table.trolley_list td.isbn {
   font-size: .7rem;
}
#content table.trolley_list td:nth-child(2) {
   width: 40%;
}
#content table.trolley_list td:nth-child(3),
#content table.trolley_list td:nth-child(4),
#content table.trolley_list td:nth-child(6){
   width: 15%
}
#content table.trolley_list td:nth-child(5) {
   width: 10%
}
#content table.trolley_list td input {
   width: 40%;
   text-align: center;
   font-family: 'Lato', sans-serif;
   border: none;
}
#content table.trolley_list td input,
#content table.trolley_list td div.reduce_qt,
#content table.trolley_list td div.add_qt {
   display: inline-table;
}
#content table.trolley_list td input {
   border:1px solid #deb9b1;
   padding: 3px 0;
   position:relative;
   top:-2px;
}
#content table.trolley_list td div.reduce_qt,
#content table.trolley_list td div.add_qt {
   background: #951B80;
   text-align: center;
   width: 25%;
   border-radius: 3px;
   cursor: pointer;
   font-weight: 700;
   -webkit-transition: all 0.2s ease;
           transition: all 0.2s ease;
   color:#fff;
}
#content table.trolley_list td div.reduce_qt:hover,
#content table.trolley_list td div.add_qt:hover {
   background: #deb9b1;
   color: #000;
}
#content table.trolley_list tr.trolley_totale td {
   color: #951B80;
   text-align: right !important;
}
/* INVIA_ORDINE */

#content form#invia_ordine table tr.titolo td {
   text-transform: uppercase;
   font-size: .9rem;
   font-weight: 700;
   padding-top: 1rem;
   color: #951B80;
}
#content form#invia_ordine table td {
   vertical-align: middle;
   padding: .3em 0;
   border:none;
}
#content form#invia_ordine table td input,
#content form#invia_ordine table td textarea,
#content form#invia_ordine table td select {
   font-family: 'Lato', sans-serif;
   font-size: 1rem;
   padding: .3em .5em;
   box-sizing: border-box;
   background: #deb9b1;
}
#content form#invia_ordine table td input:focus {
   background: #fff;
}
#content form#invia_ordine table td:first-child {
   width: 10%;
}
#content form#invia_ordine table td:nth-child(2) {
   width: 80%;
}
#content form#invia_ordine table td.nocolspan {
   width: 20%;
}
#content form#invia_ordine table td.colspan2 {
   width: 30%;
}
#content form#invia_ordine table td input,
#content form#invia_ordine table td textarea {
   width: 100% !important;
   border: none;
}
#content form#invia_ordine table td textarea {
   max-height: 50px;
   min-height: 50px;
   max-width: 100%;
   min-width: 100%;
}
#content form#invia_ordine table td select {
   width: 40% !important;
   border: 0 !important;
   border-radius: 0;
   outline: none !important;
}
#content form#invia_ordine table td select:focus {
   background: #fff;
}
#content input#check_ritiro_in_cantina,
#content form#invia_ordine table td input#check_mailing,
#content form#invia_ordine table td input.pagamento {
   width: 20px !important;
   height: 20px;
}
#content input#check_ritiro_in_cantina {
   /*display: none;*/
}
#content form#invia_ordine table td input.prosegui {
   border-radius: 5px;
   background: #951B80;
   color: #fff;
   text-transform: uppercase;
   -webkit-transition: all 0.2s ease;
           transition: all 0.2s ease;
   margin-bottom:30px;
}
#content form#invia_ordine table td input.prosegui:hover {
   background: #deb9b1;
   color: #000;
   cursor: pointer;
}

#content form#invia_ordine table tr:nth-child(5) td:nth-child(3),
#content form#invia_ordine table tr:nth-child(5) td:nth-child(5),
#content form#invia_ordine table tr:nth-child(6) td:nth-child(3),
#content form#invia_ordine table tr:nth-child(7) td:nth-child(3) {
   text-align:right;
   padding:0 10px 0 0 !important;
}
#content form#invia_ordine table tr:nth-child(5) td:nth-child(3) {
   width:20%;
}

#content form#invia_ordine table tr:nth-child(9) td:nth-child(3),
#content form#invia_ordine table tr:nth-child(9) td:nth-child(4) {
   width:15%;
}
#content form#invia_ordine table tr:nth-child(9) td:nth-child(6) select {
   width:100%!important;
}



/* LOGIN */

#content .login_form .label {
   width: 98px;
   display: inline-table;
}
#content .login_form input {
   width: 200px;
   box-sizing: border-box;
   padding: 4px 5px;
   border: 1px solid #666;
   background: #deb9b1;
   margin-bottom: .6em;
   font-family: 'Lato', sans-serif;
   font-size: 1.1em;
   display: inline-table;
   -webkit-transition: all 0.2s ease;
           transition: all 0.2s ease;
}
#content .login_form input:focus {
   background: #fff;
}
#content .login_form input#login {
   width: auto;
   background: #951B80;
   border-radius: 3px;
   border:none;
   font-size: .9em;
   font-weight: 700;
   color: #fff;
   margin-left: 100px;
   padding: 5px 8px;
   -webkit-transition: all 0.2s ease;
           transition: all 0.2s ease;
}
#content .login_form input#login:hover {
   background: #deb9b1;
   color: #000;
   cursor: pointer;
}
#content .login_form .alert,
.alert {
   color: #951B80;
   border: 1px solid #951B80;
   padding: 2px 5px;
}
.alert_show {
   display: inline-table;
}
.alert_hide {
   display: none;
}
#content form#loginform input#logout {
   background: #951B80;
   border-radius: 3px;
   border: none;
   font-size: .9em;
   font-weight: 700;
   color: #aaa;
   padding: 5px 8px;
   position: relative;
   top: -38px;
   -webkit-transition: all 0.2s ease;
           transition: all 0.2s ease;
}
#content form#loginform input#logout:hover {
   background: #deb9b1;
   color: #000;
   cursor: pointer;
}


/* H2 */
.fiore-dx,
.fiore-sx,
h1, h2 {
   display: inline-table;
   font-size: 2.5em;
}
.fiore-dx {
   padding-left: 10px;
}
.fiore-sx {
   padding-right: 10px;
}
/* VIDEO */

.avPlayerWrapper {
   float: left;
   margin: 0 10px 10px 0;
}

/* HR */
hr {
   clear: both;
   padding: 0;
   border: none;
   border-top: medium double #AA206A;
   color: #AA206A;
   text-align: center;
}
hr:after {
   content: "§";
   display: inline-block;
   position: relative;
   top: -0.7em;
   font-size: 1.1em;
   padding: 0 0.25em;
   background-color: #fefec6;
}

p.pulsante a {
   background: #AA206A;
   border-radius: 30px;
   padding:10px 15px;
   font-weight: bold;
   color:#fff;
}
p.pulsante a:hover {
   background: #fff;
   color:#AA206A;
   border:0;
}
/* TABELLE VENDEMMIA / DORMIRE-MANGIARE */
table#vendemmia, table#dormire-mangiare {
   width:100%;
   border-collapse: collapse;
   padding:0;
}
table#vendemmia tr {
   vertical-align: bottom;
}
table#dormire-mangiare tr {
   vertical-align: top;
}
table#vendemmia td, table#dormire-mangiare td {
   width:50%;
   padding:10px 0;
   text-align:center;
   vertical-align: bottom;
}
table#dormire-mangiare td {
   text-align:left;
   vertical-align: top;
   padding-right:2%;
}
table#dormire-mangiare td:nth-child(2) {
   padding-left:2%;
   padding-right:0;
}
table#vendemmia td p, table#dormire-mangiare td p {
   font-size:1.2rem;
}
table#vendemmia td img, table#dormire-mangiare td img {
   width:100%;
   height:auto;
}

/* JOOMLA */ 
.icons {
   display:none;
}

/* FORCE TEXT */
p span, h1 span, h2 span,h3 span,h4 span,h5 span {
  font-size:1rem!important;
  line-height:1.2!important;
}
.grande1, .grande1 span,span.grande1, span.grande1 span{
  font-size:2.5vw!important;
}
.grande2, .grande2 span,.span.grande2, .span.grande2 span{
  font-size:2vw!important;
}
.grande3, .grande3 span,span.grande3, span.grande3 span {
  font-size:1.5vw!important;
}
table {
  width:100%!important;
  margin:0 auto;
  height:auto!important;
}

