/* Nom prefixe par style : charge automatiquement par html_header.php. */
#accountShippingQuotes{display:block!important;width:100%;max-width:1200px;margin:20px auto;padding:10px 15px;box-sizing:border-box;font-size:14px;line-height:1.4}
#accountShippingQuotes #accountShippingQuotesHeading{display:block;margin:0 0 20px;color:#052E17;font-size:22px;font-weight:bold}
#accountShippingQuotes #prevShippingQuotes{display:block;width:100%;margin:18px 0}
#accountShippingQuotes #shippingQuoteTableHeading,#accountShippingQuotes .sq-row{display:block;width:100%;box-sizing:border-box;overflow:visible}
#accountShippingQuotes #shippingQuoteTableHeading{background:#D0E0D6;color:#052E17;font-weight:bold;padding:12px 8px;border-bottom:2px solid #052E17}
#accountShippingQuotes .sq-row{padding:14px 8px;border-bottom:1px solid #D0E0D6;min-height:48px;background:#fff}
#accountShippingQuotes .sq-col{float:left;display:block;box-sizing:border-box;padding:3px 8px}
#accountShippingQuotes .sq-col-date{width:15%}
#accountShippingQuotes .sq-col-number{width:14%}
#accountShippingQuotes .sq-col-recipient{width:25%}
#accountShippingQuotes .sq-col-status{width:16%}
#accountShippingQuotes .sq-col-total{width:15%;text-align:right}
#accountShippingQuotes .sq-col-action{width:15%;text-align:center}
#accountShippingQuotes .sq-col-number small{display:block;color:#666;font-size:11px;margin-top:3px}
#accountShippingQuotes .sq-confirm-button{display:inline-block;padding:8px 14px;background:#052E17;color:#fff!important;text-decoration:none;border-radius:3px;font-weight:bold}
#accountShippingQuotes .sq-confirm-button:hover,#accountShippingQuotes .sq-confirm-button:focus{background:#9D4D20;color:#fff!important}
#accountShippingQuotes .sq-not-payable{color:#777;font-size:.9em}
#accountShippingQuotes .sq-info{position:relative;font-weight:bold}
#accountShippingQuotes .sq-info span{display:none;position:absolute;z-index:1000;left:0;top:100%;min-width:380px;max-width:100%;padding:10px 12px;background:#fff;color:#333;border:1px solid #D0E0D6;box-shadow:0 3px 12px rgba(0,0,0,.18);font-weight:normal;line-height:1.5}
#accountShippingQuotes .sq-info:hover span,#accountShippingQuotes .sq-info:focus span{display:block}
@media(max-width:767px){
#accountShippingQuotes{margin:10px auto;padding:8px;font-size:13px}
#accountShippingQuotes #accountShippingQuotesHeading{font-size:19px;margin-bottom:16px}
#accountShippingQuotes #shippingQuoteTableHeading{display:none!important}
#accountShippingQuotes .sq-row{padding:12px;margin:0 0 12px;border:1px solid #D0E0D6;border-radius:3px;min-height:0}
#accountShippingQuotes .sq-col{float:none;width:100%;text-align:left;padding:5px 2px}
#accountShippingQuotes .sq-col:before{content:attr(data-label) " : ";display:inline-block;min-width:105px;color:#052E17;font-weight:bold}
#accountShippingQuotes .sq-col-number small{display:inline;margin-left:8px}
#accountShippingQuotes .sq-col-action{padding-top:10px}
#accountShippingQuotes .sq-col-action:before{content:"";min-width:0}
#accountShippingQuotes .sq-info span{position:static;display:none;margin-top:8px;max-width:none}
#accountShippingQuotes .sq-info:hover span,#accountShippingQuotes .sq-info:focus span{display:block}
}


/* Ajustements V3 : titre distinct de la ligne des colonnes */
#accountShippingQuotes {
  background: transparent !important;
}
#accountShippingQuotes #accountShippingQuotesHeading {
  display: block !important;
  width: 100%;
  box-sizing: border-box;
  background: transparent !important;
  padding: 0 10px 18px !important;
  margin: 0 0 12px !important;
  line-height: 1.3;
  clear: both;
}
#accountShippingQuotes #shippingQuoteTableHeading {
  clear: both;
  margin-top: 0;
  padding-top: 12px;
}
#accountShippingQuotes #prevShippingQuotes {
  clear: both;
}
#accountShippingQuotes .sq-row {
  clear: both;
}
#accountShippingQuotes .sq-info span {
  white-space: normal;
  overflow-wrap: anywhere;
}


/* V4 - Correctifs mobile : conserver toutes les colonnes dans la carte */
#accountShippingQuotes .sq-row:after {
  content: "";
  display: table;
  clear: both;
}

@media (max-width: 767px) {
  #accountShippingQuotes #prevShippingQuotes {
    display: block;
    width: 100%;
    overflow: visible;
  }

  #accountShippingQuotes .sq-row {
    display: flow-root;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible;
    box-sizing: border-box;
    padding: 10px 12px 12px;
    margin: 0 0 14px;
    border: 1px solid #D0E0D6;
    border-radius: 4px;
    background: #fff;
  }

  #accountShippingQuotes .sq-row:after {
    content: "";
    display: table;
    clear: both;
  }

  #accountShippingQuotes .sq-row .sq-col {
    display: block;
    float: none !important;
    clear: both;
    width: 100% !important;
    box-sizing: border-box;
    min-height: 0;
    padding: 5px 0;
    text-align: left !important;
  }

  #accountShippingQuotes .sq-row .sq-col:before {
    display: inline-block;
    width: 105px;
    min-width: 105px;
    vertical-align: top;
  }

  #accountShippingQuotes .sq-row .sq-col-number small {
    display: inline-block;
    margin-left: 6px;
  }

  #accountShippingQuotes .sq-row .sq-col-action {
    padding: 9px 0 2px 105px;
  }

  #accountShippingQuotes .sq-row .sq-col-action:before {
    display: none;
    content: none;
  }

  #accountShippingQuotes .sq-row .sq-col-action .sq-confirm-button {
    display: inline-block;
    margin: 0;
  }

  #accountShippingQuotes .buttonRow.forward {
    float: none !important;
    clear: both;
    display: block;
    width: 100%;
    margin: 14px 0 20px;
    padding: 0;
    text-align: left;
  }

  #accountShippingQuotes .buttonRow.forward a {
    float: none !important;
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
  }
}
