// Cart - step 2, doprava a platba
//------------------------------------------------------

.deliveries {

   .disabled {
      @include opacity(.5);
   }

   .delivery-item,
   .payment-item {
      clear: both;
      padding: 12px 0;
      margin: 0;
      line-height: 30px;

      > span {
         width: 100px;
         display: inline-block;
      }

      > strong {
         float: right;
         text-transform: uppercase;

         small {
            font-size: .75em;
            margin-right: 1em;
            text-transform: none;
         }
      }
   }


   .delivery-item + .delivery-item {
      background: url("../../../../static/images/cart/delivery_divider.png") repeat-x top;
   }

   .payment-item {
      background: url("../../../../static/images/cart/delivery_divider.png") repeat-x bottom;

      &:last-child {
         background: none;
      }
   }

   .inperson .delivery-item span {
      padding-right: 15px;
   }
}

.delivery_description {
   padding-left: 100px;

   p {
      color: $font-color-light;
      font-size: .875em;
   }
}

@import "@css/project/order/_order.delivery-class";


// THEPAY METHOD IMPORTANT
//-------------------------------------------
.thepay-method {

   .payment-item {
      padding: 0 0 2px; // obrazky z PayU maji vlastni padding uz v sobe

      strong {
         padding-top: 1em;
      }

      &.disabled + .payu-more,
      &.disabled + .payment-item-small {
         cursor: default;
         opacity: .5;

         &:hover {
            text-decoration: underline;
         }
      }

      &.packed {
         display: none;
      }

      &-small {
         display: inline-block;
         width: 60px;
         margin-right: 6px;
         padding-top: 5px;

         img {
            width: 100%;
            height: auto;
         }
      }
   }

   // zobrazit všechny možnosti
   .btn.thepay-more {
      font-size: .875em;
      font-weight: 700;
      padding-right: 15px;
      margin: 20px 20px 0 0;
      float: left;

      span {
         color: $font-color;
         font-size: .785714em;
         margin-left: .5em;
      }

      &:hover {
         text-decoration: none;
      }
   }

   .payment-item-small {

   }
}


// PAYU METHOD IMPORTANT (bude mozne smazat)
//-------------------------------------------
.payu-method {

   > .payment-item {
      padding: 0; // obrazky z PayU maji vlastni padding uz v sobe

      strong {
         padding-top: 1em;
      }

      &.disabled + .payu-more,
      &.disabled + .payment-item-small {
         @include opacity(.5);

         cursor: default;

         &:hover {
            text-decoration: underline;
         }
      }

      &.packed {
         display: none;
      }

      &-small {
         display: inline-block;
         width: 60px;
         margin-right: 6px;
         padding-top: 5px;

         img {
            width: 100%;
            height: auto;
         }
      }
   }

   // zobrazit všechny možnosti
   .payu-more {
      font-size: .875em;
      font-weight: 700;
      padding-right: 15px;
      text-decoration: underline;

      span {
         color: $font-color;
         font-size: .785714em;
         margin-left: .5em;
      }

      &:hover {
         text-decoration: none;
      }
   }
}


// ESSOX
//-------------------------------------------
.deliveries .essox + .payment-item {
   padding: 5px 0;
   background: none;
}
