/**
 * @version 1.0
 * @author 202-ecommerce
 * @copyright 2014-2017 202-ecommerce
 *
 *    ██████╗  ██████╗ ██████╗
 *    ╚════██╗██╔═████╗╚════██╗
 *     █████╔╝██║██╔██║ █████╔╝
 *    ██╔═══╝ ████╔╝██║██╔═══╝
 *    ███████╗╚██████╔╝███████╗
 *    ╚══════╝ ╚═════╝ ╚══════╝
 *
 *       e - c o m m e r c e
 *
 *    =========================
 *    http://202-ecommerce.com
 *    =========================
 *
 */

/**
 * 'Preview shipping cost' button
 * visible on product page and checkout page.
 */
#totshippingpreview {
  display: inline-block;
  margin-bottom: 9px;
}

.totlabel_tooltip {
  padding: 0 5px;

  font-size: 13px;
  text-decoration: none;

  color: #3586AE;
  background-color: #edf7fb;

  border: none;
  border-bottom: solid 1px #D8EDF7;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

#order #totshippingpreview {
  text-align: center;
  padding: 16px 64px;
}

#totshippingpreview.label {
  padding: .4em 1.2em .6em;

  font-size: 100%;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;

  color: #fff;

  border-radius: 0;
}

#totshippingpreview.label-info {
  background-color: #5192f3;
  border: 1px solid #4b80c3;
}

/* Truck icon */
#totcamion {
  display: inline-block;
  margin-right: 3px;
}

#totcamion img {
  width: auto;
  max-height: 14px;
}

/* Main popup */
.totselectzone {
  box-sizing: border-box;
  padding: 15px 50px;
  width: 700px;
  max-width: 100%;

  font-family: helvetica, arial, sans-serif;

  color: #333333;
  overflow: hidden;
}

.totselectzone__title {
  margin: -15px -50px 0 -50px;
  padding: 15px;

  font-size: 16px;
  font-weight: 600;
  text-align: center;

  color: #666666;

  border-bottom: solid 1px #d8d8d8;
}

/**
 * Optional inputs in BO
 * Allow user to add custom content at start and/or end of the popup.
 */
#shipping_before,
#shipping_after {
  margin-top: 15px;
}

#shipping_before p,
#shipping_after p {
  margin: 0px;
  padding: 0px;
}

#shipping_zone {
  margin-top: 15px;
}

#totselectzone label {
  margin-bottom: 0;
  font-weight: normal;
  font-size: 11px;
}

select#tot_zone_1,
select#tot_zone_2 {
  display: inline-block;
  width: 200px;
}

/* Hide second select */
.choice_2 {
  display: none;
  margin-top: 5px;
}

/* Shipping fees table */
.totselectzone__table-container {
  margin-top: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.totselectzone__table {
  width: 100%;
  border-collapse: collapse;
}

.totselectzone__table td,
.totselectzone__table th {
  padding: 9px 10px;
  text-align: left;
}

.totselectzone__table tr {
  min-height: 40px;
}

.totselectzone__table .has-image {
  padding: 0 10px;
}

.totselectzone__table .fees {
  white-space: nowrap;
}

.totselectzone__table img {
  display: block;
  margin: auto;
}

.totselectzone__row--head {
  height: 40px;
  background: #333333;
  color: #DDDDDD;
}

.totselectzone__row--head th {
  font-weight: 300 !important;
}

/* Add colored background on odd lines */
.totselectzone__row--odd {
  background: #eaeaea;
}

@media screen
and ( min-width: 200px )
and ( max-width: 650px ) {
  .totselectzone {
    padding: 15px 15px;
  }

  .totselectzone .has-image {
    display: none;
  }
}
