/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 8 nov 2021, 22:29:52
    Author     : gianl
*/

.form-preventivo ul {
    width: 100%;
}

.form-preventivo li {
    display:inline-block;
    width: 19%;
    text-align: center;
}

.form-preventivo select, .form-preventivo input, .form-preventivo button {
    width:95%;
}

.preventivo-wrapper {
    text-align:center;
    
}

.preventivo-wrapper .header-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.preventivo-wrapper .header-form div.button {
    margin: 1em 0.5em;
    padding: 1em 2em;    
    font-weight: bold;
    border-radius: 15px;
}

.general-button {
    background-color: #333092;
    color:#FFFFFF;
}

/*.general-button:hover {
    background-color: #FDB934;
    color: #333092;
}*/

.edit-button {
    margin: 1em 0.5em;
    padding: 1em 2em;
    font-weight: bold;
}
.edit-button input, .button textarea {
    color: #333092;
    padding: 0.5em;
    min-width: 400px;
    border: 1px solid #333092;
}

.economico-button {
    background-color: orange;
}

.pari-originale-button {
    background-color: #00b9eb;
}

.originale-button {
    background-color: #EE312A;
}

.active-button {
    cursor: pointer;
    border: 2px solid #FFFFFF;
    color:#FFFFFF;
}

.active-button:hover {
    border: 2px solid #333092;
}

.preventivo-btn-active {
    border: 2px solid #333092;
    box-shadow: 2px 2px 2px #333092;
}

.preventivo-h3 {
    color: #848484;
}

.button textarea {
    width: 500px;
}

.submit-button {
    cursor: pointer;
   background-color: #FDB934;
}

.submit-button:hover {
    color: #333092;
    background-color: #FDB934;
}

.preventivo-opacity {
    opacity: 0.2;
}

.preventivo_table {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

.preventivo_table caption {
  font-size: 1.5em;
  margin: .5em 0 .75em;
}

.preventivo_table tr {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  padding: .35em;
}

.preventivo_table th,
.preventivo_table td {
  padding: .625em;
  text-align: center;
}

.preventivo_table th {
  font-size: .85em;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.woocommerce-MyAccount-content .icon-table-detail {
    max-width: 24px !important;
    display:inline-block;
}

.stronger-font {
    font-weight: bold;
}

.legend-table {
/*    text-align: right;*/
    font-weight: bold;
    text-align: right !important;
    width:30%;
}

.value-table {
    text-align: left !important;
}

.add-item  {
    text-align: center;
}

.btn_elimina {
    font-size: 16px;
    color:red;
    font-weight: bold;
}

div.add-item button {
    height: 32px;
    line-height: 32px;
    text-transform: capitalize;
/*    background-color: #ff2d37 !important;*/
    color: #000;
    font-size: 13px;
    padding: 0 10px;
    border-radius: 17px;
    margin-right: 5px;
}

p.add-item-confirm button {
    height: 32px;
    line-height: 32px;
    text-transform: capitalize;
    background-color: #ff2d37 !important;
    color: #fff;
    font-size: 13px;
    padding: 0 10px;
    border-radius: 17px;
    margin-right: 5px;
}

.articoli {
    display: flex;
    border: 2px solid lightgrey !important;
    margin: 10px auto;
}

.articoli .add-articolo-desc {
    width: 100%;
    margin-right: 20px;
}

.articoli .add-articolo-quantita {
    width: 70px;
    margin-right: 20px;
}

.articoli .add-articolo-quantita input {
    width: 70px;
}

.articoli .add-articolo-price {
    width: 150px;
}

.articoli .add-articolo-price input {
    width: 150px;
    text-align:right;
}

.remove-duplicate-article-row {
    display:none;
}

.preventivi-grid-table {
    font-size:0.8em !important;
}

.grid_preventivo {
    width: 100%;
}

.error_form_preventivo  {
    color: red;
    display: none;
}

input::placeholder {
    color: grey !important;
}

@media screen and (max-width: 600px) {
  .preventivo_table {
    border: 0;
  }

  .preventivo_table caption {
    font-size: 1.3em;
  }
  
  .preventivo_table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  .preventivo_table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
  }
  
  .preventivo_table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
    text-align: right;
  }
  
  .preventivo_table td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  .preventivo_table td:last-child {
    border-bottom: 0;
  }
}

.styled-table {
    border-collapse: collapse;
/*    margin: 25px 0;*/
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.styled-table thead tr {
    background-color: #009879;
    color: #ffffff;
    text-align: left;
}

.styled-table th,
.styled-table td {
    padding: 12px 15px;
    border: 1px solid grey  !important;;
    line-height: 0.8em !important;    
    border-collapse: collapse;
    font-size: 0.9em !important;
}

.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}

.styled-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}

.ricerca_veloce {
    margin: auto;
    width: 100%;
    text-align: right;
}

.ricerca_veloce input {
    border: 1px solid grey;
}

.ricerca_veloce ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: grey;
  opacity: 1; /* Firefox */
}

ricerca_veloce :-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: grey;
}

ricerca_veloce ::-ms-input-placeholder { /* Microsoft Edge */
  color: grey;
}

table.preventivo_product {
    border: 1px solid grey; 
    font-size: 0.8em;
}
tr.preventivo_product_header {
    background: lightgrey;
    text-align: center;
}
tr.preventivo_product_header th {
    font-size: 0.9em; 
    border: 1px solid grey !important;
    line-height: 0.8em !important;
    border-collapse: collapse;
}

tr.preventivo_product_body td {
    border: 1px solid grey  !important;;
    line-height: 0.8em !important;    
    border-collapse: collapse;
    font-size: 0.9em !important; 
}
