/* Modulo servicios y seguros personalizados */
.transfers-module {
  padding: 0 15px 15px;
  @media (min-width: $grid-float-breakpoint) {
    .transfers-elements {
      display: flex;
      flex-wrap: nowrap;
      .transfers-element {
        flex: 1 1 50%;
      }
      .transfers-element + .transfers-element {
        margin-left: 15px;
      }
    }
  }
  .transfers-element {
    margin-bottom: 15px;
  }
  .element-box {
    border: 1px solid $colorBordes;
    border-radius: $border-radius-large;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
    background: #fff;
    overflow: hidden;
    position: relative;
    transition: all $transition-time;
    min-height: 50px;
    padding-bottom: 0;
    &:hover {
      box-shadow: 0 2px 7px 0 rgba(0, 0, 0, 0.12);
    }
    .element-title {
      font-size: 0;
      padding: 10px 15px;
      .icon {
        width: 18px;
        height: 18px;
        vertical-align: middle;
        [dir='rtl'] & {
          transform: rotateY(180deg);
          transform-origin: center center;
        }
        &, & * {
          fill: $brand-brown-medium;
        }
      }
      .title-text {
        font-size: $font-size-large;
        @include medium-weight;
        margin-left: 10px;
        vertical-align: middle;
      }
    }
  }
  .transfers-elements .transfers-element.no-return {
    @media (max-width: $grid-float-breakpoint-max) {
      display: none;
    }
    @media (min-width: $grid-float-breakpoint) {
      flex: 0 1 50%;
      align-self: flex-start;
      display: flex;
      flex-direction: column;
    }
    .element-box {
      background: $brand-grey-light url('/headers/ilusion/'+ $assets-folder +'/dist/svg/icon-ownfill-deco-transfers.svg') center bottom 15px no-repeat;
      padding: 15px 15px 150px;
      flex: 1 0 100%;
      min-height: 306px;
      p {
        margin-bottom: 5px;
        strong {
          color: #bc5715;
        }
      }
    }
  }
  .transfer-itinerary {
    .transfer-segment {
      position: relative;
      padding-left: 36px;
      padding-bottom: 10px;
      &:before {
        /* position */
        content: '';
        display: block;
        position: absolute;
        top: 6px;
        left: 20px;
        z-index: 2;
        /* form & size */
        border-radius: 50%;
        height: 6px;
        width: 6px;
        background: #fff;
        border: 1px solid $brand-brown-medium;
      }
      &:after {
        content: '';
        display: block;
        position: absolute;
        top: 7px;
        left: 22px;
        z-index: 1;
        width: 0;
        height: 100%;
        border-right: 2px dotted #beb8b3;
      }
      &:last-child {
        &:after {
          display: none;
        }
      }
      .icon {
        float: left;
        margin-top: 2px;
        width: 16px;
        height: 16px;
        vertical-align: middle;
        &, & * {
          fill: $brand-brown-medium;
        }
        [dir="rtl"] & {
          transform: rotateY(180deg);
          transform-origin: center center;
        }
      }
      .segment-text {
        padding-left: 26px;
        display: block;

      }
    }
  }
  .transfer-daytime {
    padding-left: 62px;
    padding-bottom: 10px;
    .additional {
      color: $brand-copy-light;
    }
  }
  .transfer-options {
    .transfer-option {
      border-top: 1px dashed $colorBordes;
      padding: 15px;
      overflow: hidden;
      background: #fff;
      transition: background-color 0.3s;
      &.option-notselected {
        background: $brand-grey-light;
      }
      &.option-selected {
        border-left: 5px solid $interactive-color;
        padding: 15px 15px 15px 10px;
      }
      &:hover, &.option-selected:hover, &.option-notselected:hover {
        background: $menu-hover-bg;
      }
      .pseudo-radio, .deselect {
        float: left;
        &:hover {
          cursor: pointer;
        }
      }
      .deselect svg {
        width: 17px;
        height: 17px;
        cursor: pointer;
        &, & * {
          fill: $interactive-color;
        }
      }
      .option-content {
        display: block;
        padding-left: 28px;
        .option-imagetitle {
          overflow: hidden;
          .option-image {
            width: 100px;
            height: 61px;
            float: left;
          }
          .option-title {
            display: block;
            padding-left: 110px;
          }
        }
        .option-details {
          .details-top {
            overflow: hidden;
            padding: 10px 0 0;
            .btn-link {
              float: left;
              padding: 0;
              margin-top: 2px;
            }
            .collapse-link {
              &:after {
                content: '';
                background: url('/headers/ilusion/'+ $assets-folder +'/dist/svg/icon-ownfill-ui-chevron-up-3171c9.svg') no-repeat left center;
                background-position: left center;
                background-size: 100% auto;
                width: 10px;
                height: 10px;
                display: inline-block;
                vertical-align: middle;
                margin-left: 5px;
              }
              &.collapsed {
                &:after {
                  background-image: url('/headers/ilusion/'+ $assets-folder +'/dist/svg/icon-ownfill-ui-chevron-down-3171c9.svg');
                }
              }
            }
            .price-container {
              float: right;
              text-align: right;
              .price {
                @include medium-weight;
                font-size: $font-size-large;
                white-space: nowrap;
                .symbol {
                  font-size: 0.8em;
                }
              }
              .perperson {
                display: block;
                font-size: $font-size-small;
                line-height: 1;
              }
            }
          }
          .details-content {
            &.in, &.collapsing {
              padding-top: 10px;
            }
          }
        }
      }
    }
    .more-options {
      border-top: 1px solid $colorBordes;
      .btn-link {
        padding-top: 12px;
        padding-bottom: 12px;
        text-align: center;
        width: 100%;
      }
    }
  }
  .more-elements {
  }
}

.distance-info {
  background-color: $brand-grey-secondary;
  border: 1px solid $brand-grey-medium;
  color: #bc4206;
  height: 30px;
  margin-bottom: 20px;
  padding: 5px;
  text-align: center;
  svg {
    vertical-align: middle;
  }
  .distance-info-text {
    vertical-align: middle;
    margin-left: 5px;
  }
}