.img-responsive,
.thumbnail > img,
.thumbnail a > img {
  display: block;
  max-width: 100%;
  height: auto;
}
[role="button"] {
  cursor: pointer;
}
.text-left    { text-align: left; }
.text-right   { text-align: right; }
.text-center  { text-align: center; }
.-nowrap  { white-space: nowrap; }

/** TOLGO **/
.text-nowrap  { white-space: nowrap; }
/** FINE TOLGO **/


.-capitalize { text-transform: capitalize; }

h4.-success, span.-success, em.-success,
h4.-success:hover, span.-success:hover, em.-success:hover,
h4.-success:focus, span.-success:focus, em.-success:focus { color: #10a714; }

.-info { color: #006699; }
a.-info:hover,
a.-info:focus { color: #004466; }

/** TOLGO **/
.text-success { color: #2c842c; }
a.text-success:hover,
a.text-success:focus { color: #1f5e1f; }

.text-info { color: #006699; }
a.text-info:hover,
a.text-info:focus { color: #004466; }
/** FINO QUI TOLGO **/

.text-danger { color: #990000; }
a.text-danger:hover,
a.text-danger:focus { color: #660000; }

.row {
  margin-left: -15px;
  margin-right: -15px;
}
.col-xs-1, .col-sm-1, .col-md-1, 
.col-xs-2, .col-sm-2, .col-md-2, 
.col-xs-3, .col-sm-3, .col-md-3, 
.col-xs-4, .col-sm-4, .col-md-4,
.col-xs-5, .col-sm-5, .col-md-5,
.col-xs-6, .col-sm-6, .col-md-6,
.col-xs-7, .col-sm-7, .col-md-7,
.col-xs-8, .col-sm-8, .col-md-8,
.col-xs-9, .col-sm-9, .col-md-9,
.col-xs-10, .col-sm-10, .col-md-10,
.col-xs-11, .col-sm-11, .col-md-11,
.col-xs-12, .col-sm-12, .col-md-12 {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}
.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
  float: left;
}
.col-xs-12 { width: 100%; }
.col-xs-11 { width: 91.66666667%; }
.col-xs-10 { width: 83.33333333%; }
.col-xs-9  { width: 75%; }
.col-xs-8  { width: 66.66666667%;}
.col-xs-7  { width: 58.33333333%;}
.col-xs-6  { width: 50%;}
.col-xs-5  { width: 41.66666667%;}
.col-xs-4  { width: 33.33333333%;}
.col-xs-3  { width: 25%;}
.col-xs-2  { width: 16.66666667%; }
.col-xs-1  { width: 8.33333333%;}

@media (min-width: 768px) {
  .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
    float: left;
  }
  .col-sm-12 { width: 100%; }
  .col-sm-11 { width: 91.66666667%; }
  .col-sm-10 { width: 83.33333333%; }
  .col-sm-9  { width: 75%; }
  .col-sm-8  { width: 66.66666667%; }
  .col-sm-7  { width: 58.33333333%; }
  .col-sm-6  { width: 50%; }
  .col-sm-5  { width: 41.66666667%; }
  .col-sm-4  { width: 33.33333333%; }
  .col-sm-3  { width: 25%; }
  .col-sm-2  { width: 16.66666667%; }
  .col-sm-1  { width: 8.33333333%; }
  .col-sm-offset-12 { margin-left: 100%;  }
  .col-sm-offset-11 { margin-left: 91.66666667%; }
  .col-sm-offset-10 { margin-left: 83.33333333%; }
  .col-sm-offset-9 { margin-left: 75%;}
  .col-sm-offset-8 { margin-left: 66.66666667%; }
  .col-sm-offset-7 { margin-left: 58.33333333%; }
  .col-sm-offset-6 { margin-left: 50%; }
  .col-sm-offset-5 { margin-left: 41.66666667%; }
  .col-sm-offset-4 { margin-left: 33.33333333%; }
  .col-sm-offset-3 { margin-left: 25%; }
  .col-sm-offset-2 { margin-left: 16.66666667%; }
  .col-sm-offset-1 { margin-left: 8.33333333%; }
  .col-sm-offset-0 { margin-left: 0%; }
}
@media (min-width: 992px) {
  .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
    float: left;
  }
  .col-md-12 { width: 100%; }
  .col-md-11 { width: 91.66666667%; }
  .col-md-10 { width: 83.33333333%;  }
  .col-md-9 { width: 75%; }
  .col-md-8 { width: 66.66666667%; }
  .col-md-7 { width: 58.33333333%; }
  .col-md-6 { width: 50%; }
  .col-md-5 { width: 41.66666667%; }
  .col-md-4 { width: 33.33333333%; }
  .col-md-3 { width: 25%; }
  .col-md-2 { width: 16.66666667%;}
  .col-md-1 { width: 8.33333333%; }
}

.-warning {
  color: #ffffff;
  background-color: #f0ad4e;
  border-color: #eea236;
}
.-warning:focus,
.-warning.focus {
  color: #ffffff;
  background-color: #ec971f;
  border-color: #985f0d;
}
.-warning:hover {
  color: #ffffff;
  background-color: #ec971f;
  border-color: #d58512;
}
.-warning:active {
  color: #ffffff;
  background-color: #ec971f;
  border-color: #d58512;
}
.-warning:active:hover
.-warning.active.focus {
  color: #ffffff;
  background-color: #d58512;
  border-color: #985f0d;
}
.-warning:active {
  background-image: none;
}
.-warning.disabled:hover,
.-warning[disabled]:hover,
fieldset[disabled] .-warning:hover,
.-warning.disabled:focus,
.-warning[disabled]:focus,
fieldset[disabled] .-warning:focus,
.-warning.disabled.focus,
.-warning[disabled].focus,
fieldset[disabled] .-warning.focus {
  background-color: #f0ad4e;
  border-color: #eea236;
}
.-warning .badge {
  color: #f0ad4e;
  background-color: #ffffff;
}

.fade {
  opacity: 0;
  -webkit-transition: opacity 0.15s linear;
  -o-transition: opacity 0.15s linear;
  transition: opacity 0.15s linear;
}

.collapse { display: none; }
.collapse.in { display: block; }
tr.collapse.in {  display: table-row; }
tbody.collapse.in { display: table-row-group; }
.collapsing {
  position: relative;
  height: 0;
  overflow: hidden;
  -webkit-transition-property: height, visibility;
  -o-transition-property: height, visibility;
     transition-property: height, visibility;
  -webkit-transition-duration: 0.35s;
  -o-transition-duration: 0.35s;
     transition-duration: 0.35s;
  -webkit-transition-timing-function: ease;
  -o-transition-timing-function: ease;
     transition-timing-function: ease;
}
.open > a {
  outline: 0;
}

.nav {
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}
.nav > li {
  position: relative;
  display: block;
}
.nav > li > a {
  position: relative;
  display: block;
  padding: 10px 15px;
}
.nav > li > a:hover,
.nav > li > a:focus {
  text-decoration: none;
  background-color: #eeeeee;
}
.nav > li.disabled > a {
  color: #777777;
}
.nav > li.disabled > a:hover,
.nav > li.disabled > a:focus {
  color: #777777;
  text-decoration: none;
  background-color: transparent;
  cursor: not-allowed;
}
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
  background-color: #eeeeee;
  border-color: #993300;
}

.nav > li > a > img {
  max-width: none;
}

.label {
  display: inline;
  padding: .2em .6em .3em;
  font-size: 75%;
  font-weight: bold;
  line-height: 1;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25em;
}
a.label:hover,
a.label:focus {
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}
.label:empty {
  display: none;
}

.badge {
  display: inline-block;
  min-width: 10px;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: bold;
  color: #ffffff;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
  text-align: center;
  background-color: #444444;
  margin-right: 1px;
}
.badge:empty {
  display: none;
}

a.badge:hover,
a.badge:focus {
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}
.media {
  margin-top: 15px;
}
.media:first-child {
  margin-top: 0;
}
.media,
.media-body {
  zoom: 1;
  overflow: hidden;
}
.media-body {
  width: 10000px;
}
.media-right,
.media > .pull-right {
  padding-left: 10px;
}
.media-left,
.media > .pull-left {
  padding-right: 10px;
}
.media-left,
.media-right,
.media-body {
  display: table-cell;
  vertical-align: top;
}
.media-middle {
  vertical-align: middle;
}
.media-bottom {
  vertical-align: bottom;
}
.media-heading {
  margin-top: 0;
  margin-bottom: 5px;
}
.media-list {
  padding-left: 0;
  list-style: none;
}
.panel {
  margin-bottom: 20px;
  background-color: #ffffff;
  border: 1px solid transparent;
  border-radius: 6px;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}
.panel-body {
  padding: 15px;
}
.panel-heading {
  padding: 10px 15px;
  border-bottom: 1px solid transparent;
}
.panel-title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 16px;
  color: inherit;
}
.panel-title > a,
.panel-title > small,
.panel-title > .small,
.panel-title > small > a,
.panel-title > .small > a {
  color: inherit;
}
.panel-footer {
  padding: 10px 15px;
  background-color: #f5f5f5;
  border-top: 1px solid #dddddd;
}
.panel-warning {
  border-color: #faebcc;
}
.panel-warning > .panel-heading {
  color: #8a6d3b;
  background-color: #fcf8e3;
  border-color: #faebcc;
}
.panel-warning > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #faebcc;
}
.panel-warning > .panel-heading .badge {
  color: #fcf8e3;
  background-color: #8a6d3b;
}
.panel-warning > .panel-footer + .panel-collapse > .panel-body {
  border-bottom-color: #faebcc;
}

.well {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 20px;
  position: relative;
  width: calc(100% + 40px);
  transform: translateX(-20px);
}
.well.-bg {
    background: #f0f0f0;
}

.is-mobile .well.-bg {
  padding-bottom: 55px;
}

@media screen and (min-width: 1100px) {
  .well.-grid2 {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row; 
  }
}

.well.acquisti {
  margin: 15px;
  padding: 15px;
  transform: initial;
  width: 100%;
}


.close {
  float: right;
  font-size: 21px;
  font-weight: bold;
  line-height: 1;
  color: #000000;
  text-shadow: 0 1px 0 #ffffff;
  opacity: 0.2;
  filter: alpha(opacity=20);
  text-align:right;
}
.close:hover,
.close:focus {
  color: #000000;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.5;
  filter: alpha(opacity=50);
}
button.close {
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
}

.tooltip {
  position: absolute;
  z-index: 1070;
  display: block;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-style: normal;
  font-weight: normal;
  letter-spacing: normal;
  line-break: auto;
  line-height: 1.42857143;
  text-align: left;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  white-space: normal;
  word-break: normal;
  word-spacing: normal;
  word-wrap: normal;
  font-size: 12px;
  opacity: 0;
  filter: alpha(opacity=0);
}
.tooltip.in {
  opacity: 0.9;
  filter: alpha(opacity=90);
}
.tooltip.top {
  margin-top: -3px;
  padding: 5px 0;
}
.tooltip.right {
  margin-left: 3px;
  padding: 0 5px;
}
.tooltip.bottom {
  margin-top: 3px;
  padding: 5px 0;
}
.tooltip.left {
  margin-left: -3px;
  padding: 0 5px;
}
.tooltip-inner {
  max-width: 200px;
  padding: 3px 8px;
  color: #ffffff;
  text-align: center;
  background-color: #000000;
  border-radius: 6px;
}
.tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}
.tooltip.top .tooltip-arrow {
  bottom: 0;
  left: 50%;
  margin-left: -5px;
  border-width: 5px 5px 0;
  border-top-color: #000000;
}
.tooltip.top-left .tooltip-arrow {
  bottom: 0;
  right: 5px;
  margin-bottom: -5px;
  border-width: 5px 5px 0;
  border-top-color: #000000;
}
.tooltip.top-right .tooltip-arrow {
  bottom: 0;
  left: 5px;
  margin-bottom: -5px;
  border-width: 5px 5px 0;
  border-top-color: #000000;
}
.tooltip.right .tooltip-arrow {
  top: 50%;
  left: 0;
  margin-top: -5px;
  border-width: 5px 5px 5px 0;
  border-right-color: #000000;
}
.tooltip.left .tooltip-arrow {
  top: 50%;
  right: 0;
  margin-top: -5px;
  border-width: 5px 0 5px 5px;
  border-left-color: #000000;
}
.tooltip.bottom .tooltip-arrow {
  top: 0;
  left: 50%;
  margin-left: -5px;
  border-width: 0 5px 5px;
  border-bottom-color: #000000;
}
.tooltip.bottom-left .tooltip-arrow {
  top: 0;
  right: 5px;
  margin-top: -5px;
  border-width: 0 5px 5px;
  border-bottom-color: #000000;
}
.tooltip.bottom-right .tooltip-arrow {
  top: 0;
  left: 5px;
  margin-top: -5px;
  border-width: 0 5px 5px;
  border-bottom-color: #000000;
}
.row:before,
.row:after,
.nav:before,
.nav:after,
.panel-body:before,
.panel-body:after {
  content: " ";
  display: table;
}
.row:after,
.nav:after,
.panel-body:after {
  clear: both;
}
.center-block {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.pull-right { float: right !important; }
.pull-left { float: left !important; }

html.is-desktop .pull-right-desktop { float: right !important; }
html.is-desktop .pull-left-desktop { float: left !important; }

.hide { display: none !important; }
.show { display: block !important; }
.invisible { visibility: hidden; }
.affix {
  position: fixed;
}

/** HIDDEN E VISIBILE VARI **/
.visible-xs, .-visible-xs { display: none !important; }
html.is-mobile .visible-xs, html.is-mobile .-visible-xs { display: block !important; }
html.is-mobile table.visible-xs, html.is-mobile table.-visible-xs { display: table !important; }
html.is-mobile tr.visible-xs, html.is-mobile tr.-visible-xs { display: table-row !important; }
html.is-mobile th.visible-xs,
html.is-mobile td.visible-xs, 
html.is-mobile th.-visible-xs,
html.is-mobile td.-visible-xs { display: table-cell !important; }

.visible-xs-inline, .-visible-xs-inline { display: none !important; }
html.is-mobile .visible-xs-inline, html.is-mobile .-visible-xs-inline { display: inline !important; }

.visible-xs-block, .-visible-xs-block { display: none !important; }
html.is-mobile .visible-xs-block, html.is-mobile .-visible-xs-block { display: block !important; }

.visible-lg-block, .-visible-lg-block { display: none !important; }
html.is-desktop .visible-lg-block, html.is-desktop .-visible-lg-block { display: block !important; }

.hidden { display: none !important; }
html.is-mobile .hidden-xs { display: none !important; }
html.is-tablet .hidden-sm { display: none !important; }
html.is-desktop .hidden-md { display: none !important; }
html.is-desktop .hidden-lg { display: none !important; }
/** Nuovi **/
html.is-mobile  .hidden-mobile,  html.is-mobile  .-hidden-mobile { display: none !important; }
html.is-desktop .hidden-desktop, html.is-desktop .-hidden-desktop { display: none !important; }
html.is-tablet .hidden-tablet,   html.is-tablet  .-hidden-tablet { display: none !important; }

/* ***************** ACTION MENU ********************** */

.action-menu { width: 100% }

.action-menu > li > a { 
    color: #000000;  
    font-size: 18px;
    font-weight: normal;
  }

.action-menu >li.active >a { 
    color: #000000;
  }

.action-menu >li > span {
    position: relative;
    display: block;
    padding: 10px 15px; 
    line-height: 1.42857143;
    border: 1px solid transparent;
    text-align: center;
    margin-bottom: 5px;
  }

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) { 
  .action-menu { margin-bottom: 20px; }
  
  .action-menu>li>span {
    margin-bottom: 0;
    border-bottom: 1px solid #ddd;
  }
  
}
/*********** TABLE ***********/

.is-viva1 .table-responsive {
  overflow-x: auto;
  min-height: 0.01%; 
}

.is-viva1 .table tr {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  width: 100%; 
}

html.is-mobile .is-viva1 .table tr {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  border-bottom: 3px solid #dddddd;
  margin-bottom: 20px; 
}

html.is-mobile .is-viva1 .table tr.is-th {
  border-bottom: 0;
  margin-bottom: 0px; 
}

.is-viva1 .table th, .is-viva1 .table td {
  padding: 6px 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-preferred-size: 100%;
      flex-basis: 100%;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1; 
}

.is-viva1 .table th.-small, .is-viva1 .table td.-small { font-size: 80%; }
.is-viva1 .table th.-right, .is-viva1 .table td.-right { text-align: right; }
.is-viva1 .table th.-left, .is-viva1 .table td.-left { text-align: left; }
.is-viva1 .table th.-center, .is-viva1 .table td.-center { text-align: center; }
.is-viva1 .table th.col2, .is-viva1 .table td.col2 { -webkit-box-flex: 2; -ms-flex: 2; flex: 2; }
.is-viva1 .table th.col3, .is-viva1 .table td.col3 { -webkit-box-flex: 3; -ms-flex: 3; flex: 3; }
.is-viva1 .table th { text-align: left; vertical-align: top; word-break:normal; }
.is-viva1 .table th.-bg { background: #fcfcfc; }

html.is-mobile .is-viva1 .table.-has-label th { display: none; }

html.is-mobile .is-viva1 .table.-has-label td:before {
  content: attr(data-label);
  white-space: nowrap;
  top: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  /* arbitrary */
  text-align: left;
  padding: 0 10px 0 0px;
  font-weight: 600; }

.is-viva1 .table-scroll {
    /*!
    // IE needs inline-block to position scrolling shadows otherwise use:
    // display: block;
    // max-width: min-content;
    */
  display: inline-block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  border-spacing: 0;
  -webkit-overflow-scrolling: touch; 
}
.is-viva1 .table-scroll th, .is-viva1 .table-scroll td { padding: 6px 12px; }
.is-viva1 .table-scroll th.-small, .is-viva1 .table-scroll td.-small { font-size: 80%; }
.is-viva1 .table-scroll th.-right, .is-viva1 .table-scroll td.-right { text-align: right; }
.is-viva1 .table-scroll th.-left, .is-viva1 .table-scroll td.-left { text-align: left; }
.is-viva1 .table-scroll th.-center, .is-viva1 .table-scroll td.-center { text-align: center; }
.is-viva1 .table-scroll th { text-align: left; vertical-align: top; }
.is-viva1 .table-scroll th.-bg { background: #fcfcfc; }

html.is-mobile .is-viva1 .table-scroll.-has-label th { display: none; }
html.is-mobile .is-viva1 .table-scroll.-has-label td:before {
  content: attr(data-label);
  white-space: nowrap;
  top: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  /* arbitrary */
  text-align: left;
  padding: 0 10px 0 0px;
  font-weight: 600; 
}

/** MODIFICATORI **/
.is-viva1 .table-bordered > thead > tr > th,
.is-viva1 .table-bordered > tbody > tr > th,
.is-viva1 .table-bordered > tfoot > tr > th,
.is-viva1 .table-bordered > thead > tr > td,
.is-viva1 .table-bordered > tbody > tr > td,
.is-viva1 .table-bordered > tfoot > tr > td {
  border: 1px solid #dddddd; 
}

.is-viva1 .-row-bordered > thead > tr > th,
.is-viva1 .-row-bordered > tbody > tr > th,
.is-viva1 .-row-bordered > tfoot > tr > th {
  border-bottom: 2px solid #dddddd; 
}

.is-viva1 .-row-bordered > thead > tr > td,
.is-viva1 .-row-bordered > tbody > tr > td,
.is-viva1 .-row-bordered > tfoot > tr > td {
  border-bottom: 1px solid #dddddd;
  border-top: 1px solid #dddddd; 
}

html.is-mobile .is-viva1 .-row-bordered > thead > tr > td, html.is-mobile
.is-viva1 .-row-bordered > tbody > tr > td, html.is-mobile
.is-viva1 .-row-bordered > tfoot > tr > td {
  border: 0px; 
}

/**********************/


@media (min-width: 1024px) {
  .w-50-md {  width:50%;   }
  .w-100-md { width: 100%; max-width:100%!important; }
}
@media (max-width: 1024px) {
  .w-50-md {  width:66%;   }
  .w-100-md { width: 100%; max-width:100%!important;  }
}
@media (max-width: 768px) {
  .w-100-xs { width:100%; max-width:100%!important;   }
  .w-100-md { width: 100%; max-width:100%!important;  }
}
.card-header {
  border:1px solid #E0E0E0; 
}
.card-header-base {
  background-color: #F6F6F6;
  color:#000;   
}

.card-header-btn {
  color: inherit;
  width:100%; 
  text-align:left; 
  background-color:transparent;
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  vertical-align: middle;
    -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 14px !important;
  line-height: 1.42857143;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
  user-select: none;
}
.card-header-btn:hover {
  background-color:transparent;
}

.card.panel .collapse .card-body {
  border: 1px solid #E0E0E0;
}

.viva1-card-item {
  border-bottom: 1px solid #C0C0C0;
}
.viva1-card-item .card-row {
  padding: 4px 8px;
}

.amount-buttons {
  display:inline-block;
  border: 1px solid #A0A0A0;
  background-color: #FFF;
}
.amount-buttons button.btn {
  padding-left:6px; 
  padding-right:6px;
}

.items-body div.row {
  margin-top: 2px;
}

div.ghost-button {
  width:25px; 
  display:inline-block;
  height:28px;
}

div.seat-amount {
  margin-left:6px;
  margin-right:6px;
  font-size:14px;
  width:16px;
  text-align:center;
  display:inline-block;
  height: 16px;
  vertical-align: middle;
  -webkit-appearance: none;
}
div.total-row {
  width: 100%;
  z-index: 10;
  background-color: #FFF;
  color: #000;
  border-top: 1px solid #000;
  vertical-align: middle;
  padding-top: 10px;
}

@media (max-width: 767px) {
  div.total-row { height: 116px; }
  div.total-row.total-captcha { height: 186px; }
}

div.items-head {
  background-color:#E0E0E0;
  text-transform:lowercase; 
  font-variant:small-caps; 
  margin-top:4px;
  font-size: 16px;
}
div.items-body {
  border: 1px solid #D0D0D0;
  background-color: #99330015;
}

#page-alert .close {
	color: #444444;
	opacity: 0.9;
	width:24px;
}

#page-alert #alert-title {
	display: block;	
}

#page-alert .alert-title {
	font-weight: bold;
}

#page-alert #alert-icon {
	margin-right: 6px;
}

div#shopping-accordion {
  max-width:768px; 
  min-width:340px;
}
div#shopping-accordion .card.panel {
  margin-bottom:10px;
}

.card-header .btn div.shopper {
  font-size:small; padding-left: 24px; white-space:initial;
}

.reduction-badge {
  float:right;
}
@media screen and (max-width: 768px) {
	.reduction-badge {
		top:20px!important;
	}
}
.item-mandatory {
  background-color: #D0D0D0;  
}

.item-cell {
  height: 34px;
  padding-top: 2px;
}
.item-row {
  padding-bottom:6px;
}
.item-separator {
  height:2px;
}
.item-exclusive-border-up {
  border-top: 1px solid lightgrey;
  border-left: 1px solid lightgrey;
  border-right: 1px solid lightgrey;
  border-top-right-radius:4px;
  border-top-left-radius:4px;
}
.item-exclusive-border-down {
  border-bottom: 1px solid lightgrey;
  border-left: 1px solid lightgrey;
  border-right: 1px solid lightgrey;
  border-bottom-right-radius:4px;
  border-bottom-left-radius:4px;
}
.item-exclusive-border-middle {
  border-left: 1px solid lightgrey;
  border-right: 1px solid lightgrey;
}

.item-exclusive-border {
  border-top: 2px solid darkgrey;
}
.item-icon {
  margin-top: 6px;
  margin-right: -2px;
}

.side-margin {
  margin-left: auto;
  margin-right: auto;
}

.thumbnail.fanticket:hover {
  background-color:#E0E0E0;
  cursor: pointer;
}

.table-submit {
  margin-right: 50px; 
}
@media (min-width:768px) {
  .table-submit {margin-top: 10px;}
}

.ticket-image {
  max-height: 100px;
}

.h72 {  height: 100px; }

.to-bottom {  position: relative; }
.to-bottom > div {
  position: absolute;
  bottom:0px;
  margin-right:28px;
}

html.is-mobile .to-bottom>div {
  position: relative;
  bottom:0px;
  margin-right:0;
  text-align: center;
}

html.is-mobile .to-bottom > #transcription {
  margin: auto;
  display:block;
}

.bs-total {  padding-top: 6px; }
html.is-mobile .bs-total {  margin-top: 20px; font-size: 0.8em;}


.item-mandexc>span {
  color:#F00;
}
.row-warning {
  background-color: #fff8aa;
}

.fa-compress.pull-right, fa-expand.pull-right {
  margin-left:0px!important;
}

.box-msg { padding: 5px 0px; }
.box-msg > * {padding: 12px}
.box-msg .table {padding: 0}
.box-msg.-bg {
  background: #f0f0f0;
}

/* permetto una colonna con padding 2x */
html.is-desktop .grid-wrapper.-grid3 > .grid-column.-x2 { width: 66%; }
html.is-desktop .grid-wrapper.-grid4 > .grid-column.-x2 { width: 50%; }
html.is-desktop .grid-wrapper.-grid4 > .grid-column.-x3 { width: 74%; }
html.is-desktop .grid-wrapper.-grid5 > .grid-column.-x2 { width: 40%; }
html.is-desktop .grid-wrapper.-grid5 > .grid-column.-x3 { width: 60%; }

/**
Box di errore
*/

.msg-box {
  margin-top: 5px;
  margin-bottom: 10px;

}  
.msg-box.error-msg { color: #FA1D00; }
.msg-box.error-msg h1, 
.msg-box.error-msg h2,
.msg-box.error-msg h3,
.msg-box.error-msg h4,
.msg-box.error-msg h5,
.msg-box.error-msg h6 { color:  #FA1D00; }

span.__btn { cursor: default; }
span.__btn :not(.-inverted, .-outline):hover {
    background-color: #000; 
}

.error-box .__btn, .success-box .__btn {
	color: #fff;
}

/** HEADER FLAG**/
.head-country {
	width: 20px;
	height: 20px;
	margin-bottom: 4px;
	margin-right: 10px;
}

.header-language::before, .mobMenu-button::before {
	background: none;
}

.header-mobLoginRegister {
	min-height: 70px;	
}

.header-mobLoginRegister .header-icon {
	margin-right: 20px;	
	margin-bottom: 8px;
}

/** MODAL **/
.modal-wrapper .modal.-light-padded { padding: 25px; }
html.is-desktop .modal-wrapper .modal {
    max-height: 85vh;
}
html.is-mobile  .modal-wrapper .modal.-light-padded { padding: 20px 15px; }

.-cta.-euroIconClass {
  background: url('/wms_images/icona_euro.png') center 2em no-repeat;
  padding-top: 90px;
}

.collapsed.collapsed-bottom-bordered {
    border-bottom: 1px solid #e3e3e3;
}

.RequiredField:after {
  content : '*';
}

caption {
  padding-top:8px;
  padding-bottom: 8px;
  color: #777;
}

ul.menub2b {
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 32px;
  padding-left: 0px;
}

.grid-wrapper.nested-wrapper, .inline-wrapper.nested-wrapper {
  padding:0px;
}

html.is-mobile .grid-wrapper.nested-wrapper .grid-column {
  padding: 0px 14px;
}

html.is-mobile .grid-wrapper.nested-wrapper .grid-column:first-of-type {
  margin-bottom: 0px;  
}

html.is-mobile .grid-wrapper.nested-wrapper .grid-column.-spaced {
  margin-bottom: 14px;  
}

html.is-mobile .grid-wrapper.nested-wrapper .grid-column.-nopadding {
  padding:0px;
}

html.is-mobile label.__text {
  line-height: 20px;
}

h4.__title.-default {
  padding-top:32px;
  border-bottom: 2px solid #e5e5e5;
}

.input-wrapper > select {  margin-bottom: 29px; }
.__select.-vt1-field, .__input.-vt1-field { height: 50px; }
.__select.-vt1-field { border: solid 1px #f0f0f0; }
.__select.-vt1-field:active, .__select.-vt1-field:focus  { border-color:#000; }
.__select.-vt1-field.-narrow, .__input.-vt1-field.-narrow { margin-bottom:2px; }
.__select.-vt1-field.-narrow, .__input.-vt1-field.-narrow + * {  margin-bottom:12px; }
.input-wrapper > select.-error { margin-bottom: 0; }
.input-wrapper > select.-error.-errorSpaced { margin-bottom: 29px; }
select.-error, .__select.-vt1-field.-error {
    border-color: #c72f1c;
    background: url(https://devcdn.vivaticket.com/webapp/assets/images/icons/cancel.svg) no-repeat right 15px center/25px;
}

.input-wrapper>input.-error.-errorSpaced { margin-bottom: 29px; }

.radio-obj > .radio-group {  margin-bottom: 10px; }
.-vt-flat-field {	padding:0px; }
.input-wrapper>input.-with-help {
  margin-bottom: 0 
}


.checkbox-group.-vt1-field, .radio-group.-vt1-field {
  display: inline-table;
  margin-bottom: 4px; /* valutare se solo su mobile */
}

.modal .-vt1-modal-form {
  display: block;
  text-align: left;
}

.modal .-vt1-modal-form > div {
  margin-left:24px;
  margin-right:24px;
}

span.-vt1-button-right {
  float: right;
}

.-vt1-100, table.-vt1-table-full, table td.-vt1-text-full, table th.-vt1-text-full {
  width:100%;
}

form.-vt1-form-full {
  width: 100%;
  position: relative;
  padding: 0;
  margin: 0 auto;

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.card-item.-vt1-card-full {
  display: block;
  width: 100%;
}

.card-item .cart-img {
  width: 45px;
}

tfoot tr {
  border-top: 4px double #e5e5e5;
}

.sticky-container {
  display: flex;
  align-items: flex-start;
}
.sticky-top {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

.sticky-bottom {
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  align-self: flex-end;
}

input.-small {
  padding: 5px 15px;
}

.privacy-box {
    max-height: 150px;
    padding: 15px;
    margin-bottom: 1em;
    margin-top: 1em;
    border: 1px solid #ccc;
    font-size: 11px;
    line-height: 1.5;
    overflow: auto;
}

.privacy-box .page-content {
	margin: 0px;
}

.checkbox-inline {
    position: relative;
    display: inline-block;
    padding-left: 20px;
    margin-bottom: 0;
    vertical-align: top;
    font-weight: normal;
    cursor: pointer;
    flex-direction: row;
}

.radio-inline {
    vertical-align: top;
    font-weight: normal;
    cursor: pointer;
    flex-direction: row;
}

.radio-inline .radio-obj {
	padding-left: 20px; 
  margin-bottom: 0;
}

.radio-obj .__label {
	margin-top: 4px;
}

/* header */
#countdownHeader {
	font-weight: bold;
}

/* in alto nel carrello*/
.countdown {  
  display: inline;
  color: #FFF;
  font-weight: bold;
  margin-right: 4px;
  padding: 10px 4px;
  min-width: 54px;
  max-height: 48px;
}
/*
.countdownHeaderHolder.redCountdown {
  background-color: #990000;
  border: 2px solid #990000;
}
*/
.countdownHolder {
	border: 2px solid #2C842C;
  padding-left: 4px;
  color: #2C842C;
  font-weight: bold;
}
.countdownHolder.redCountdown {
	border: 2px solid #990000;
  color: #990000;
}
#countdown.countdownSummary {
	padding-left: 4px;
  color: #2C842C;
  font-weight: bold;
  border: none;
}
#countdown.countdownSummary.redCountdown {	
  color: #990000;
}

.vt1-flex-container {
  display: flex;
}

.modal-body.-left {
  text-align:left;
  display: block;
}

.insurance-badge {
  display: inline;
  margin-left: 8px;
}

.delivery-block {
  margin-left: 12px;
}

ol.-alpha { list-style: lower-alpha}


div.sellMap { 
  overflow: hidden;
}


#shopping-cart button {
  width: auto;
  padding: 1px 6px;
  font-size: 1.2rem;
}

html.is-mobile .card-body .card {
  font-size: 0.9em;
}


html.is-mobile .text-item-description {
  min-width: 250px;
}


.price-table td {
  border: none;
  white-space: nowrap;
  font-size: 80%;
}


.-abboTable .__select {
  height: 61px;
}

/*** TABELLE ***/

.is-viva1 .card-item .table-bordered th:first-child, .is-viva1 .card-item .table-bordered td:first-child {
	border-left: 0px;
}

.is-viva1 .card-item .table-bordered th:last-child, .is-viva1 .card-item .table-bordered td:last-child {
	border-right: 0px;
}

.is-viva1 .card-item .table-bordered tr:last-child td, .is-viva1 .card-item .table-bordered tr:last-child th {
	border-bottom: 0px;
}


/****************** CALENDARIO *********************/
  
.month {
  max-width: 560px;
  margin: 20px auto;
}

.month .header,
.month .week {
  display: flex;
  height: 30px;
  width: 210px;
}

.month .header div {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0;

  color: #FFF;
  background-color: #444444;
  box-shadow: 
    -1px -1px #dddddd, 
    inset -1px -1px 0 0 #dddddd;
  text-align: center;
}

.month .header div.name {
  flex-grow: 5;
  flex-shrink: 1;
  flex-basis: 0;
}

.month .header div a{
  color: #FFF;
}
.month .day {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0;

  color: #444444;
  padding: 5px;
  background-color: #FFFFFF;
  box-shadow: 
    -1px -1px #dddddd, 
    inset -1px -1px 0 0 #dddddd;
  text-align: center;
}

.month .time {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0;

  color: #444444;
  padding: 5px;
  background-color: transparentize(white, 0.30);
  box-shadow: 
    -1px -1px #dddddd, 
    inset -1px -1px 0 0 #dddddd;
  text-align: center;
}

.month .-small {font-size: 80%;}


.personal-detail-form .form-group .checkbox-wrapper,
.personal-detail-form .form-group .radio-wrapper {
  margin-bottom: 10px;
}

.__title.-huge.-icon {display:flex; align-items: center;}
.__title.-huge.-icon .cart-icon { width: 20px; }
html.is-desktop .__title.-huge.-icon .cart-icon { width: 55px; padding-right:15px;}
.cart-icon > .__img { width: 100%; height: auto; }


.-bg {
  background: #f0f0f0
}

.calendar div.selected { background-color: #444444;}
.calendar div.selected>a { color: #FFF;}
/**************** MAPPA SHOW ********************/

#mappaSettori.mappahtml,.mappahtml.postiScelti {
    display: none;
    clear: both;
    max-width:640px;
}

#mappaSettori.mappahtml {
    font-size: 11px;
    position: relative;
    float: left;
    z-index: 0;
}

#mappaSettori.mappahtml>div {
	  width:100%;
    overflow-x:auto;
}

#mappaSettori.mappahtml table {
    width: 100%;
    border-collapse: collapse;
}

#mappaSettori.mappahtml th {
    width: auto;
}

#mappaSettori.mappahtml th.fila,#mappaSettori.mappahtml th.posto {
    color: #000;
    font-weight: bold;
}

#mappaSettori.mappahtml th.fila {
    vertical-align: bottom;
    color: #000;
    font-weight: bold;
    width: 16px;
}

#mappaSettori.mappahtml th.fila span {
    bottom: 5px;
    left: -5px;
    position: absolute;
    top: auto;
    display: block;
    word-break: normal;
    transform: rotate(-90deg);
}

#mappaSettori.mappahtml th.nfila {
    width: 18px;
    padding: 0 2px;
}

#mappaSettori.mappahtml th.posto {
    text-align: left;
}

#mappaSettori.mappahtml th > div {
    height: 100%;
    width: 100%;
    position: relative;
}

#mappaSettori.mappahtml th > div > span {
    position: absolute;
    top: 0;
    left: 0;
}

.mappahtml th,.mappahtml td {
    color: #666666;
    height: 20px;
}

.mappahtml td.stato_L {
    border: 2px solid #FFF;
    background: #8ba73d;
    cursor: pointer;
}

.mappahtml td.stato_O {
    border: 2px solid #FFF;
    background: #c2beb2;
}

.mappahtml td.stato_S {
    border: 2px solid #FFF;
    background: #005daa;
    cursor: pointer;
}

.mappahtml.istruzioni {
    display: none;
    width: 320px;
    height: auto;
    overflow: hidden;
    margin-top: 38px;
    margin-left: 14px;
    float: right;
}

.mappahtml.istruzioni th {
    padding: 0 0 6px 6px;
}

.mappahtml.istruzioni td.stato_L,.mappahtml.istruzioni td.stato_O,.mappahtml.istruzioni td.stato_S {
    width: 15px;
    height: 20px;
}

.mappahtml.postiScelti {
    padding-top: 20px;
}

.mappahtml.postiScelti table {
    border-collapse: separate;
    border-spacing: 0;
    width: 99.5%;
    margin: 2px auto;
}

.mappahtml.postiScelti td {
    text-align: center;
    font-size: 16px;
    padding: 2px;
    height: auto;
}

.mappahtml.postiScelti th {
    font-size: 12px;
    height: auto;
}

.mappahtml.postiScelti tr.sceltaposti td {
    text-align: center;
    font-size: 14px;
}

#mapster_wrap_0 {
	margin: auto;
	width:100%;
}

#tableWrap {
	margin-left: 10%;	
	margin-right: 10%;
}

.pointer {
  cursor: pointer;
}


.CardImage {position:relative; width: 400px}
.CardImage #photoPreview {
    width: 100px; height: 129px;
    padding: 0;
    position: absolute; top: 20px; left: 271px;
    background: #ffffff ;
    overflow: hidden;
}
#file_upload { 
	position:absolute; 
	left:0; top:0;  
	padding:0; margin:0; 
	font: 25px monospace !important; 
	cursor: pointer; 
	z-index: 1; 
	opacity: 0; 
	width: 100%;
}

#filePreview {padding: 10px 0; position: relative}
.uploadProgress { 
	border: 1px solid #dddddd; 
	height: 15px; 
	margin-bottom: 20px;
}


.uploadBar { height: 100%; background: green; }
#fileData {display: inline-block}
.openCropModal { display: none; position: relative;}


#uploadButton { overflow: hidden; position: relative; box-sizing: border-box; width: 154px;}
#uploadButton .bigButton {position: relative;}


.radio-obj > .__text { font-size: 16px; line-height: 1.4em}
.checkbox-obj > .__label { line-height: 1.4em}

input.__text {
  color: #000000;   opacity: 1;
}

input.-captcha-input#transcription {
	min-width: 100px;
	padding: 5px;
}

.input-slider {
	margin-top:14px;	
}

.resale-badge {
	padding:16px;
}



/* **********  PUNTI VENDITA ********** */

#sellPointsMapBox {
  margin-bottom: 10px;
  width: 100%;
  height: 300px;
}
.sell-point-list { position:relative; }
.sell-point-list li { padding-bottom: 10px; }

@media (min-width: 768px) {
  #sellPointsMapBox { height: 500px;}
}  


/* ***************** FIXME ******************** */
/* TEMPORANEO PER AVERE LE IMMAGINI SHOW QUADRATE */
.responsive-picture.-portrait {
	padding-top:100%!important;
}

@media (max-width: 767px) {
	.resale-badge {padding: 6px; }
}


.-invoice .cards-list {
  min-height: auto;
}
.-invoice .card-item {
	background: #FFF;
}


.basket-panel {
  padding: 0px 15px;
  background-color: #f5f5f5;
  border-top: 1px solid #dddddd;
}

.basket-panel.-warning {
	background-color: #fff8aa;
  color: #000000;
}

.basket-panel.-error {
  color: #900;
  background-color: #f2dede;
  border-color: #ebccd1;
}

.basket-panel .accordion-wrapper:first-of-type {
	border-top: 0;
}

.accordion-heading .__title.-alone {
	margin-left: 0px;
}

.basket-panel .card-item.-selected,
.is-desktop .basket-panel .card-item.card-item.card-item.card-item.card-item.card-item.-selected:hover {
	border: 2px solid #000;
}

.-emptyCard {
  display: none;
}

@media only screen and (min-width: 1100px) {
  .basket-panel .-emptyCard {
    display: flex;
  }
  .basket-panel .cards-list{
    width: 100%;
  }
}


.btn-wrapper {
	margin: 0 0 0 -5px;
}

.btn-wrapper .__btn {
  min-width: auto;
  padding: 15px 1em;
  margin: 10px 5px
}
.btn-wrapper div {
	display: inline-block;
  margin: 10px 5px;
}


html.is-mobile .btn-wrapper {
  margin: 0 0 0 -10px;
}
html.is-mobile .btn-wrapper .__btn {
  margin: 10px
}
html.is-mobile .btn-wrapper div {
  margin: 10px;
}


.__btn.-trash,
.-cta.-trash  {
    background: url(https://cdn.vivaticket.com/webapp/assets/images/icons/cancel.svg) no-repeat  10px center/25px
}

.-voucher-trash {
	display: block;
}

.fa-open-chevron:before {content: "\f078"; width: 1em; display:inline-block;}
.collapsed .fa-open-chevron:before {content: "\f054";}

form#voucherData{
	display:block;
}	
	
.-vivacardheader {
	display: flex;
  align-items: center;
}

.-vivacardheader .responsive-picture:before {
  background: inherit;
} 

.-vivacardheader .responsive-picture.-portrait {
  padding-top: 75%!important;
}

@media (min-width: 768px) {
  .-vivacardheader .responsive-picture.-portrait {
      padding-top: 40%!important;
  }
}

.-vivacardheader .responsive-picture.-landscape img {
  width: 75%;
}

.accordion-wrapper.-vivacardgift{
    border-top: 1px solid #f0f0f0;
}
.accordion-header.-vivacardgiftTrigger {
	padding: 10px 0 0 0 ;
}


a.tec-anchor {
    display: block;
    position: relative;
    top: -200px;
    visibility: hidden;
}

.-half-padded.-half-padded.-half-padded.-half-padded {
    padding: 0.5em;
}


/** BUGFIX VIVA2 **/

html.is-mobile .inline-wrapper.-grid2>.grid-column,
html.is-mobile .inline-wrapper.-grid3>.grid-column,
html.is-mobile .inline-wrapper.-grid4>.grid-column,
html.is-mobile .inline-wrapper.-grid5>.grid-column {
    width: 100%
}


#desktopCarousel .carousel-placeholder {
    background-color: #000;
    width: 100%;
    min-height: 388px;
}
.is-desktop #mobileCarousel, .is-tablet #mobileCarousel {
   display:none;
}

#mobileCarousel .carousel-placeholder {
    background-color: #000;
    width: 100%;
    min-height: 130px;
}
.is-mobile #desktopCarousel {
   display:none;
}

.carouselViva2 img {
    width: 150%;
}
.carouselViva2 { display: none; }

a.mb-scrollButtons.mb-scrollButtons {
  z-index: 90;
}


.radio-wrapper-group>.error-msg {
    color: #c72f1c;
    font-size: .625em;
    text-transform: uppercase;
    margin-top: 5px;
    margin-bottom: 10px;
}

.autocomplete-suggestions {
    box-shadow: none;
    font-size: 16px;
    font-size: .9em;
    
}

.__btn.-seat-amount {
  padding: 7px;
  font-size: .6875em;
  width: 25px;
}