.voyage-details > div {
    width: 30%;
    margin-bottom: 1rem;
  }
  .voyage-details > div p {
    margin-bottom: 0;
  }
  .column-resize{
    display: flex !important;
    flex-direction: column !important;
  }
  .cargo-table-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .cargo-table-buttons button {
    width: 100%;
    max-width: calc(50% - .5rem);
    margin-bottom: 1rem;
    padding: 14px 0;
    border-radius: 12px;
    font-weight: 500;
    border: none;
  }
  .cargo-table-buttons a {
    text-decoration: unset;
    color: unset;
  }
  .cargo-table-buttons button:hover {
    background-color: lightgrey;
    transition: 250ms;
    font-weight: 700;
  }

  .cargo-table .slick-track {
    width: unset!important;
  }

  .map-overlay-card {
    position: absolute;
    top: 1rem;
    width: auto;
    left: 4rem;
    right: 4rem;
    padding: 1rem;
    background-color: white;
    display: flex;
    justify-content: space-around;
    border-radius: 12px;
  }

  .map-overlay-card h4 {
    font-size: 14px;
    font-weight: 600;
  }
  .map-overlay-card p {
    color: grey;
    font-size: 14px;
  }

  .map-overlay-details {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    border-radius: 12px;
    background-color: white;
    width: auto;
    display: flex;
  }
  .map-overlay-details h4 {
    font-size: 20px;
    font-weight: 600;
  }
  .map-overlay-details p {
    font-size: 14px;
    font-weight: 600;
    line-height: 14px;
  }
  .map-overlay-details button {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    border-radius: 12px;
  }

  .map-overlay-details-buttons button {
    padding: 6px 16px;
    border-radius: 4px;
    border: 1px solid grey;
    background-color: transparent;
    margin-right: 10px;
    font-size: 16px;
    height: 40px!important;
  }
  .map-overlay-details-buttons a {
    padding: 6px 16px;
    border-radius: 4px;
    border: 1px solid rgb(25, 135, 84);
    background-color: rgb(25, 135, 84);
    font-size: 16px;
    height: 40px!important;
    text-decoration: none;
    color: white;
  }

  .empty-table {
    font-size: 30px;
    height: 30vh;
  }

  #delete-subservice-button:hover {
    background-color: #dc3545;
  }
  #sub-service-edit-button:hover {
    background-color: #ffc107;
  }

  #add-leg-button:hover {
    background-color: #198754;
  }

  .card-container img {
    max-height: 25vh;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
    background-color: black;
    border: 1px solid lightgrey;
  }
  .voyage-contact-card {
    position: absolute;
    bottom: .5rem;
    left: .5rem;
    right: .5rem;
    background-color: rgba(255, 255, 255, .9);
    border-radius: 12px;
  }
  .loading-container {
    background-color: rgba(255, 255, 255, 1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 500;
  }

  .itinerary-item-port {
    width: 100%;
    max-width: calc(50% - 20px);
  }
  .itinerary-item:hover {
    border-color: black;
    transition: all 100ms;
  }
  .itinerary-item-icon {
    width: 20px;
  }
  .itinerary-body::-webkit-scrollbar {
    display: none;
  }
  .itinerary-body {
    overflow-x: scroll;
  }

  .panel-card {
    background-color: #F5F5F5;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
  }

  .panel-card div{
    line-height: 2;
  }
  .eta-input {
    border: none;
    padding: .4rem 0;
  }
  .eta-input:focus {
    outline: none;
  }
  .primary-hover:hover {
    background-color: #2C3333!important;
    color: #f2f2f2!important;
    transition: 300ms all;
    cursor: pointer;
  }
  .primary-hover:hover .text-black-50 {
    color: white!important;
  }
  @media(max-width: 1000px) {
    .voyage-itinerary,
    .itinerary-details {
      max-width: 100%;
      margin-bottom: 1rem;
    }

    .panel-card{
      background-color: #FFFFFF;
    }
  }

  
  @media(max-width: 576px) {
    .voyage-itinerary {
      height: 100% !important;
      overflow-y: unset;
      max-width: 100%!important;
    }
    .map-overlay-details-buttons {
      width: 100%!important;
      margin-top: .5rem;
    }
    .itinerary-details {
      position: relative;
      width: 100%;
      height: 100%;
      overflow: unset;
      margin-bottom: 25vh;
      max-width: 100%!important;
    }
    .map-overlay-card {
      top: 0;
      left: 0;
      right: 0;
      border-radius: 0px;
      height: unset;
    }
    #map-details {
      height: 50vh!important;
      margin-top: 20vh;
    }
    .map-overlay-card .el-flex-col {
      width: calc(100%/3 - 1rem);
      margin-right: 0!important;
    }

    .map-overlay-details {
      border-radius: 0;
      top: unset;
      left: 0;
      right: 0;
      bottom: none !important;
      height: unset;
      border-top: 1px solid lightgrey;
      border-bottom: 1px solid lightgrey;
      
    }

  }