/* Sailing schedule page. Sections 1-2 copied from the legacy schedule/css/schedule.css + map.css (image paths
   made absolute); section 3 = changes for the static version (results rendered by js/sailing_schedule.js). */

/* ===== 1. legacy schedule.css ===== */
:root {
  --gray-100: #eeeeee;
  --gray-200: #aaaaaa;
  --blue: #0075a9;
  --black-primary: #212529;
  --white-background: rgba(255, 255, 255, 0.5);
  --gray-background: #c4d0de99;
  --blue-background: #9bcade;
}
a,
a:hover {
  color: unset;
}
body {
  font-family: "Segoe UI", Arial, sans-serif;
}
h1.main_title {
  font-family: sans-serif;
  padding-left: 0;
  font-size: 24px !important;
  font-weight: 700;
  line-height: 74.48px;
  text-align: center;
  color: #212529;
  margin-bottom: 0;
}
h3.sub_title {
  font-size: 1.2rem;
  font-family: sans-serif;
}
.container-width {
  margin-right: auto;
  margin-left: auto;
}
.contact_us {
  color: #495057;
  height: 320px;
  padding: 50px;
  background-image: url("/img/contact_image.jpg");
  background-size: 100%;
  box-shadow: -1px -1px 7px grey;
}
a:hover {
  text-decoration: none;
}
.page-top {
  height: 500px;
}
.back_top_btn {
  position: fixed;
  bottom: 35;
  right: 50;
  z-index: 999;
  width: 115px;
}
.back_page_btn {
  position: fixed;
  bottom: 35;
  left: 50;
  z-index: 999;
  width: 115px;
}
.height80 {
  height: 80px;
}
.schedule-main {
  background-image: url(/img/schedule-bg01.jpg);
  background-size: cover;
  min-height: 100vh;
}
.sel_area_div {
  width: 35%;
  background-color: rgb(255, 255, 255, 0.5);
  z-index: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  padding: 0 0 50px 30px;
}
.select2-container .select2-selection--single {
  height: 40px;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: 7px;
  right: 7px;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 38px;
}
.img-flag {
  width: 30px;
}
.select2-results__option {
  min-height: 36px;
}
.select2.select2-container.select2-container--default {
  width: 280px !important;
}
.sel_title {
  position: relative;
  font-size: 22px;
  display: inline-block;
  margin: 2rem 0 1rem -40px;
  padding: 1rem 3rem;
  color: #fff;
  border-radius: 0 100vh 100vh 0;
  background: #0075a9;
  -webkit-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
}
.sel_title:before {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0;
  height: 0;
  content: "";
  border-top: 10px solid #005276;
  border-left: 10px solid transparent;
}
.sel_area_div select {
  margin: 25px 30px 50px;
  padding: 10px;
  width: 80%;
}
.sel_title {
  padding: 1rem 3rem;
  color: #fff;
  border-radius: 0 100vh 100vh 0;
  background: #0075a9;
}

body {
  color: var(--black-primary);
}
button {
  border: unset;
  background: unset;
  color: unset;
}

button:focus {
  outline: none;
}

.search-schedule__item-content {
  position: relative;
}

.dropdown-menu {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  border: 1px solid var(--gray-100);
  z-index: 999999;
  background-color: #edf3fb;
}
.dropdown_list-item {
  max-height: 175px;
  overflow-y: auto;
  overflow-x: hidden;
}
.dropdown-menu.show {
  border: 1px solid #c5c5c5;
}
.map_dlButton button {
  position: absolute;
  background: none;
  color: #dc3545;
  border: none;
  font-size: 10px;
  z-index: 9;
  letter-spacing: -0.1em;
}
.map_dlButton button:focus {
  outline: none;
  box-shadow: 0 0 10px black;
  border-radius: 15px;
}
.map_dlButton button span {
  font-size: 11px;
  font-weight: 900;
  line-height: 17px;
  color: #dc3545;
  -webkit-text-fill-color: white;
  -webkit-text-stroke: 0.9px #dc3545;
  white-space: pre-wrap;
}
.map_area {
  margin: 0 auto;
}
.map_image {
  width: 1110px;
  display: block;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}
.dropdown-item,
.schedule_content-names,
.input-value,
.sailing-schedule-result:not(.open) .sailing-schedule_ship-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dropdown-item {
  padding-right: 0.5rem;
}
.schedule_detail-content {
  border-radius: 16px;
  padding: 32px 16px;
}
.schedule_content-names {
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
}
.collapse-update .schedule_content-names {
  white-space: wrap;
  overflow: unset;
}
span {
  cursor: pointer;
}
.schedule_detail-content
  .schedule_content-details:last-child
  .schedule_content-child {
  margin-bottom: 0;
}
.dropdown-menu .form-control {
  width: 90%;
  margin: 0 auto 10px;
}
.schedule_content-bookingcut {
  font-weight: 600;
}
.contact_guide {
  margin: 72px auto auto;
  text-align: center;
  font-size: 1.6em;
}
.br-991 {
  display: none;
}
.search-schedule__item-content .dropdown-menu .dropdown-item:active {
  background: var(--blue);
}

.dropdown-item-active {
  background: var(--blue);
  color: white;
}
#select-country .dropdown-item img,
.img-flag-country {
  width: 30px;
}
#ui-datepicker-div {
  z-index: 10;
  background-color: #edf3fb;
}
.start-date img,
.end-date img {
  width: 20px;
}
.sailing-schedule-port-calendar img {
  width: 24px;
  height: 24px;
  padding-right: 5px;
}

.input-value {
  font-size: 22px;
  color: #212529;
  font-weight: 600;
  line-height: 30px;
  cursor: pointer;
  background: unset;
}

.input-date::placeholder {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  color: #aaaaaa;
}
.icon-date {
  width: 16px;
  height: 16px;
  display: inline-block;
  position: relative;
  z-index: 2;
  margin-right: 8px;
}
.highlight {
  color: #dc3545 !important;
}
.max-content {
  max-width: 100%;
  position: relative;
}
.sailing-schedule-result {
  cursor: pointer;
}

.ui-state-active {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
}
.date-range {
  line-height: 30px;
}
.item-flex-first {
  width: 38px;
  height: 32px;
  margin-left: 15px;
}

@media screen and (max-width: 1200px) {
  .input-date {
    font-size: 20px;
  }
}
@media screen and (max-width: 991px) {
  .select_area {
    gap: 60px;
  }
  .sel_area_div {
    width: 35%;
  }
  .sel_title {
    font-size: 20px;
  }
  .select2.select2-container.select2-container--default {
    width: 215px !important;
  }
  .contact_guide {
    padding: 20px;
    font-size: 1.3em;
  }
  .br-991 {
    display: block;
  }
  .search-schedule__item {
    border-right: 0;
    border-bottom: 1px solid var(--gray-100);
  }
  .btn-search {
    border-radius: 0;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    height: 60px;
  }
  .input-value,
  .input-date,
  .input-date::placeholder {
    font-size: 16px;
    line-height: 22px;
  }
}

@media (max-width: 767px) {
  .schedule_infomation-detail {
    float: none;
    margin-top: 24px;
  }
}

@media screen and (max-width: 576px) {
  .search-schedule__item {
    padding: 16px;
    padding-bottom: 0;
  }
  .dropdown-menu {
    left: -12px !important;
  }
  .schedule_detail-ship .card {
    padding: 20px;
  }
  .btn-delete {
    right: 40%;
    line-height: 33px;
  }
}
@media screen and (max-width: 460px) {
  .btn-delete {
    right: 25%;
    line-height: 33px;
  }
}

@media screen and (max-width: 576px) {
  h2.area_title {
    font-size: 20px;
  }
  .contact_us {
    color: #495057;
    height: 260px;
    padding: 50px;
    background-image: url("/img/contact_image.jpg");
    background-size: 165%;
    box-shadow: -1px -1px 7px grey;
    background-position: right -95px center;
  }
  .back_top_btn {
    width: 70px;
    right: 5;
    bottom: 20;
  }
  .page-top {
    height: 550px;
  }
  .height80 {
    height: 50px;
  }
  h3.sub_title {
    font-size: 0.9rem;
  }
}
@media screen and (max-width: 460px) {
  .page-top {
    height: 460px;
  }
}
@media screen and (max-width: 400px) {
  .page-top {
    height: 460px;
  }
}
@media screen and (min-width: 576px) and (max-width: 767px) {
  h2.area_title {
    font-size: 28px;
  }
  .contact_us {
    background-size: 165%;
    background-position: right -95px center;
  }
  .back_top_btn,
  .back_page_btn {
    width: 100px;
  }
  .page-top {
    height: 350px;
  }
  .height80 {
    height: 50px;
  }
  h3.sub_title {
    font-size: 1.1rem;
  }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  h2.area_title {
    font-size: 28px;
  }
  .back_top_btn,
  .back_page_btn {
    width: 100px;
  }
  .page-top {
    height: 540px;
  }
  .height80 {
    height: 50px;
  }
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
  .page-top {
    height: 440px;
  }
  .schedule_content-title img:first-child,
  .item-flex-first {
    width: 32px;
  }
  .schedule_content-names {
    font-size: 16px;
  }
  .schedule_content-title-flex {
    font-size: 14px;
  }
  .schedule_detail-content {
    padding: 20px 16px;
  }
}
#result-schedule-no-data .modal-footer {
  justify-content: center;
  border: none;
}
.modal-content {
  padding: 40px;
  border-radius: 16px;
}

form {
  margin-bottom: 0;
}
input:focus,
input {
  border: none;
  outline: none;
}

h5 {
  margin-bottom: 0;
}
.sailing-schedule__search {
  border: 1px solid #eeee;
  box-shadow: 0px 0px 10px 0px #0000001a;
  backdrop-filter: blur(10px);
  border-radius: 8px;
  background-color: var(--white-background);
  position: relative;
  z-index: 10;
}

.search-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-align: left;
  color: #212529;
  margin-bottom: 4px;
}
.input-value {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  color: #212529;
  width: 100%;
}
.sailing-schdule__details:nth-child(2) {
  padding-bottom: 8px !important;
}

.btn-clear-form {
  background-color: #f4d7dd;
  border-bottom-left-radius: 8px;
  color: #dc3545;
  margin-right: 0.5px;
}
.btn-submit-form {
  background-color: #b1d1ec;
  border-bottom-right-radius: 8px;
  color: #4174ad;
  margin-left: 0.5px;
}
.btn-submit-form,
.btn-clear-form {
  padding: 13px;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  cursor: pointer;
  border: none;
}
.btn-form-search .row > .col-6 {
  padding: 0;
}
.block-border {
  border-bottom: 1px solid #eeee;
  padding: 0 16px 8px;
}
.schedule-result {
  background-color: var(--gray-background);
  margin-bottom: 24px;
  padding: 12px;
  overflow-y: scroll;
  overflow-x: hidden;
  height: 500px;
  resize: vertical;
}
.search-schedule {
  padding: 0 15px;
}
.schedule-result:has(.sailing-schedule_note-empty) {
  overflow-y: unset;
}
.sailing-schedule_note-empty {
  width: 100%;
  margin: 0 auto;
  padding: 250px 10px 0 10px;
}
.custom-col {
  flex: 0 0 20%;
  max-width: 20%;
}
.custom-col:not(:last-child) {
  padding-right: 12px;
}

.sailing-schedule-result {
  max-height: 200px;
  border-radius: 8px;
  background-color: #edf3fb;
  padding: 16px 12px 0;
  break-inside: avoid;
  margin-bottom: 12px;
  transition: max-height 0.2s linear;
}
.sailing-schedule-result_content {
  padding-left: 27px;
  position: relative;
}
.sailing-schedule-result_detail
  .sailing-schedule-result_content:not(:last-child) {
  padding-bottom: 22px;
}

.sailing-schedule-result_detail {
  margin-top: 8px;
  max-height: 85px;
  overflow: hidden;
  transition: max-height 0.2s linear;
}

.sailing-schedule-result_content:before {
  content: url(/img/schedule/port.svg);
  position: absolute;
  left: 0;
  top: 5px;
}
.sailing-schedule-result_content:not(:last-child):after {
  content: "";
  width: 2px;
  height: 50%;
  background-color: #b7cae3;
  position: absolute;
  top: 26px;
  left: 6px;
}
.btn-load {
  display: none;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #0075a9;
  padding: 8px 0 16px;
}
.label-less {
  display: none;
}
.sailing-schedule_ship-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 23.94px;
  padding: 0 8px;
}
.sailing-schedule_name-company {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #4c545c;
  padding-left: 46px;
}
.sailing-schedule_name-port {
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
}
.sailing-schedule_date {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #4c545c;
}
.red-dot {
  width: 10px;
  height: 10px;
  background-color: #ffffff;
  border: 3px solid #dc3545;
  border-radius: 50%;
  margin: 0 auto;
}
#form-select-area {
  position: absolute;
  top: 0;
  left: 0;
}

* {
  margin: 0;
  padding: 0;
}

.schedule-result:not(:has(.schedule-result_details #result-schedule-no-data)) {
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.dropdown-menu.show {
  min-width: 100%;
  width: fit-content;
}

@media screen and (min-width: 768px) {
  .sailing-schdule__details:not(:last-child) {
    padding: 16.5px 24px 8px;
  }
  .search-row {
    border-color: #eeee !important;
  }
  .sailing-schdule__details:nth-child(2) {
    padding-bottom: 28.5px !important;
  }
  .search-row {
    border-bottom: 1px solid #eeee;
  }
  .sailing-schdule__details:nth-child(2) {
    padding-bottom: 20px !important;
  }
  h1.main_title {
    font-size: 36px !important;
  }
  .sailing-schedule-result {
    max-height: 320px;
    height: 320px;
  }
  .sailing-schedule-result_detail {
    max-height: 205px;
  }
}

@media screen and (min-width: 992px) {
  .sailing-schedule {
    display: flex;
    flex-wrap: wrap;
  }
  .sailing-schedule_form-search {
    padding-right: 24px;
  }
}
@media screen and (min-width: 1200px) {
  .sailing-schedule {
    flex-wrap: nowrap;
  }
  .block-border:nth-child(1),
  .block-border:nth-child(4) {
    padding-left: 24px;
  }
  .block-border:nth-child(6),
  .block-border:nth-child(3) {
    padding-right: 24px;
  }
  .block-border:nth-child(4),
  .block-border:nth-child(5),
  .block-border:nth-child(6) {
    padding-top: 29.5px;
    padding-bottom: 18.5px;
    border-bottom: unset;
  }
  .search-schedule {
    padding: 30.5px 15px 0;
  }
  .block-border {
    padding: 0 16px 35.5px;
  }
  .btn-form-search {
    padding-top: 8px;
  }
  .search-title {
    margin-bottom: 20px;
  }
  .sailing-schedule_form-search {
    padding-right: 24px;
    width: calc(100% - 535px);
  }
  .schedule-result {
    margin-top: 24px;
    height: calc(100vh - 490px);
  }
}
@media screen and (min-width: 1400px) {
  .container {
    max-width: 1200px;
  }
}
@media screen and (min-width: 1650px) {
  .schedule-result_details {
    padding: 0 12px;
  }
  .container {
    max-width: 1600px;
  }
}
@media screen and (max-width: 575px) {
  .container > * {
    margin-left: 24px;
    margin-right: 24px;
  }
  .schedule-result {
    margin-bottom: 24px;
  }
}

@media screen and (max-width: 768px) {
  .dropdown-item {
    font-size: 13px;
  }
}

@media screen and (max-width: 1199px) {
  .search-title {
    padding-top: 10px;
  }
}

/* ===== 2. legacy map.css ===== */
#map-pc {
    display: none;
}
#map {
    position: relative;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1019607843);
    border-radius: 8px;
    font-family: "Segoe UI", sans-serif;
    font-weight: 700;
    background-color: var(--white-background);
}
#map svg path {
    fill:#AAAAAA;
    transition: 0.3s;
}
#map .area-name {
    font-size: 10px;
    position: absolute;
    text-align: center;
}
#map .area-name button span {
    color: #fff;
    text-shadow: #2B2625 0 0 2px, #2B2625 0 0 2px, #2B2625 0 0 2px, #2B2625 0 0 2px, #2B2625 0 0 2px, #2B2625 0 0 2px;
    white-space: pre-wrap;
}
#map .area-name:hover {
    cursor: pointer;
    opacity: 1;
}
#map .area-name span {
    position: relative;
    opacity: 0.7;
    padding-bottom: 15px;
    padding-top: 10px;
    white-space: nowrap;
}
#map .area-name button:hover span {
    opacity: 1;
    text-shadow: -1px -1px 0 #2B2625, 0 -1px 0 #2B2625, 1px -1px 0 #2B2625, 1px 0 0 #2B2625, 1px 1px 0 #2B2625, 0 1px 0 #2B2625, -1px 1px 0 #2B2625, -1px 0 0 #2B2625;
}
#map .area-name button:hover span:before {
    background:white;
    border: 4px solid #DC3545;
}
#map .area-name span:before {
    content: "";
    width: 12px;
    height: 12px;
    bottom: 0;
    border-radius: 50%;
    position: absolute;
    background: #DC3545;
    border: 4px solid white;
    box-sizing: border-box;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
}
#map .area-active span {
    opacity: 1 !important;
    text-shadow: -1px -1px 0 #2B2625, 0 -1px 0 #2B2625, 1px -1px 0 #2B2625, 1px 0 0 #2B2625, 1px 1px 0 #2B2625, 0 1px 0 #2B2625, -1px 1px 0 #2B2625, -1px 0 0 #2B2625 !important;
}
#map .area-active span:before {
    background: white;
    border: 4px solid #DC3545;
}

#map .canada button span {
    position: absolute;
    top: 15%;
    left: 17%;
}
#map .canada.area-active svg path {
    fill: #3268D1 !important;
}
#map .canada .area-name {
    position: absolute;
    top: 32%;
    right: 29%;
}
#map .canada .area-name:hover ~ svg path {
    fill: #3268D1;
}

#map .carib button span {
    position: absolute;
}

#map .usa button span {
    position: absolute;
    top: -16%;
    left: 18%;
}
#map .carib.area-active svg path {
    fill: #FAA919;
}
#map .carib .area-name {
    top: -20%;
    left: -37px;
}
#map .carib .area-name span {
    white-space: nowrap;
}
#map .carib .area-name:hover ~ svg path {
    fill: #FAA919;
}

#map .south-america.area-active svg path {
    fill: #E88BBA;
}
#map .south-america .area-name {
    top: 50%;
    left: 20%;
}
#map .south-america .area-name:hover ~ svg path {
    fill: #E88BBA;
}
#map .south-america .area-name span:before {
    top: -5px;
    left: 34%;
}
#map .other-area {
    position: absolute;
    top: 21px;
    left: 4%;
}
#map .middle-asia.area-active svg path {
    fill: #F86624;
}
#map .middle-asia span {
    white-space: nowrap;
}
#map .middle-asia .area-name {
    top: -36%;
    left: 17%;
    z-index: 3;
}
#map .middle-asia .area-name:hover ~ svg path {
    fill: #F86624;
}

#map .west-africa.area-active svg path {
    fill: #8D81C7;
}
#map .west-africa .area-name {
    white-space: nowrap;
    top: 78%;
    left: -30%;
    z-index: 3;
}
#map .west-africa .area-name:hover ~ svg path {
    fill: #8D81C7;
}
#map .west-africa .area-name span:before {
    top: -5px;
    left: 34%;
}

#map .east-africa.area-active svg path {
    fill: #FF34AE;
}
#map .east-africa .area-name {
    top: 76%;
    left: -27%;
}
#map .east-africa .area-name:hover ~ svg path {
    fill: #FF34AE;
}
#map .east-africa .area-name span:before {
    top: -5px;
    left: 34%;
}

#map .south-east-asia.area-active svg path {
    fill: #89BA28;
}
#map .south-east-asia .area-name:hover ~ svg path {
    fill: #89BA28;
}
#map .south-east-asia .area-name span:before {
    left: 34%;
}

#map .europe.area-active svg path {
    fill: #A0C261;
}
#map .europe .area-name {
    top: 47%;
    left: 26%;
}
#map .europe .area-name:hover ~ svg path {
    fill: #A0C261;
}

#map .australia button span  {
    position: absolute;
    top: 17px;
}

#map .australia.area-active svg path {
    fill: #DC3545;
}
#map .australia .area-name {
    top: 15%;
}
#map .australia .area-name:hover ~ svg path {
    fill: #DC3545;
}
#map .new-zealand.area-active svg path {
    fill: #662E9B;
}
#map .new-zealand .area-name {
    left: -218%;
    top: 83%;
}
#map .new-zealand .area-name:hover ~ svg path {
    fill: #662E9B;
}

#map .australia .area-name span:before {
    top: -5px;
}
.sailing-schedule_map {
    margin-top: 24px;
}
#map-pc {
    display: none;
}
#map-sp-1, #map-sp-2 {
    width: 375px;
    position: relative;
}
.sailing-schedule_map-sp {
    position: relative;
    margin: 0 auto;
}
@media screen and (min-width: 1200px) {
    .sailing-schedule_map {
        margin-top: 0;
    }
}

@media (max-width:767px) {
    .sailing-schedule_map-sp {
        width: 375px;
        margin: 0 auto;
        position: relative;
    }

    #map {
        text-align: center;
        padding: 10px;
        height: auto;
    }

    #map .europe {
        position: absolute;
        top: 5%;
        left: 5%;
    }

    #map .europe button {
        width: 112px;
        height: 91px;
    }

    #map .west-africa {
        position: absolute;
        top: 18%;
        left: -3%;
    }

    #map .west-africa button {
        width: 87px;
        height: 137px;
    }

    #map .middle-asia {
        position: absolute;
        top: 18%;
        left: 20%;
    }

    #map .middle-asia button {
        width: 71px;
        height: 45px;
    }

    #map .east-africa {
        position: absolute;
        top: 25%;
        left: 20%;
    }

    #map .east-africa button {
        width: 71px;
        height: 87px;
    }

    #map .south-asia {
        position: absolute;
        top: 18%;
        left: 39%;
    }

    #map .south-asia button {
        width: 50px;
        height: 60px;
    }
    #map .east-asia {
        position: absolute;
        top: 16%;
        left: 53%;
    }
    #map .east-asia button {
        width: 67px;
        height: 43px;
    }
    #map .south-east-asia {
        position: absolute;
        top: calc(22% + 3px);
        left: 53%;
    }
    #map .south-east-asia button {
        width: 64px;
        height: 58px;
    }
    #map .rusian {
        position: absolute;
        top: 8%;
        left: 57%;
    }
    #map .rusian button {
        width: 88px;
        height: 48px;
    }
    #map .australia {
        position: absolute;
        top: 30%;
        left: 60%;
    }
    #map .australia button{
        width: 85px;
        height: 67px;
    }
    #map .papua-new-guinea {
        position: absolute;
        top: 25%;
        left: 71%;
    }
    #map .papua-new-guinea button {
        width: 96px;
        height: 37px;
    }
    #map .new-zealand {
        position: absolute;
        top: 34%;
        right: 16%;
    }
    #map .new-zealand button {
        width: 56px;
        height: 45px;
    }
    #map .new-zealand button span{
        position: absolute;
        top: -3px;
        left: 19px;
    }
    #map .micronesa {
        position: absolute;
        top: 19%;
        left: 71%;
    }
    #map .micronesa button {
        width: 144px;
        height: 43px;
    }
    #map .micronesa button span{
        position: absolute;
        top: -11%;
        left: 25%;
    }
    #map .hawaii {
        position: absolute;
        top: 68%;
        left: -6%;
    }
    #map .hawaii button {
        width: 98px;
        height: 57px;
    }
    #map .pacific {
        position: absolute;
        top: 78%;
        left: -10%;
    }
    #map .pacific button {
        width: 146px;
        height: 80px;
    }
    #map .canada {
        position: absolute;
        top: 50%;
        left: 94%;
    }
    #map .canada button{
        width: 280px;
        height: 74px;
    }
    #map .usa {
        position: absolute;
        top: 60%;
        left: 27%;
    }
    #map .usa button {
        width: 251px;
        height: 64px;
    }
    #map .usa button span {
        top: 1%;
    }
    #map .carib {
        position: absolute;
        top: 69%;
        left: 42%;
    }
    #map .carib button{
        width: 232px;
        height: 74px;
    }
    #map .carib button span {
        top: -15%;
    }
    #map .south-america {
        position: absolute;
        bottom: 20%;
        left: 40%;
    }
    #map .south-america button {
        width: 202px;
        height: 146px;
    }
    #map.map-ja .new-zealand button span {
        position: absolute;
        top: -20px;
        left: 2px;
    }
    #map.map-ja .papua-new-guinea button span {
        position: absolute;
        top: -38%;
        left: -27%;
    }
    #map.map-ja .south-east-asia button span {
        position: absolute;
        bottom: 51%;
        left: -6%;
    }
    #map .middle-asia button span {
        position: absolute;
        top: -53%;
        left: 11%;
    }
}

@media screen and (min-width:768px) {
    .sailing-schedule_map-sp {
        width: 635px;
        height: 300px;
    }
    #map .carib button span {
        top: -41%;
    }
    #map .middle-asia {
        position: absolute;
        top: calc(41% + 8.5px);
        left: calc(15% - 5px);
    }
    #map .middle-asia button {
        width: 68px;
        height: 44px;
    }
    #map .usa {
        position: absolute;
        top: 35%;
        right: calc(33% - 4px);
    }
    #map .middle-asia button span {
        position: absolute;
        bottom: 19%;
        right: 10%;
    }
    #map .usa button {
        width: 167px;
        height: 44px;
    }
    #map-pc {
        display: block;
        scale: 1.28;
        padding: 30px 0 0 70px;
    }
    #map-sp-1, #map-sp-2 {
        display: none;
    }
    #map .west-africa {
        position: absolute;
        top: calc(50% - 18px);
        left: 1%;
    }
    #map .east-asia {
        position: absolute;
        top: 39%;
        left: 31%;
    }
    #map .east-asia button {
        width: 60px;
        height: 42px;
    }
    #map .south-america {
        position: absolute;
        right: 26%;
        top: 67%;
    }
    #map .south-america button {
        width: 129px;
        height: 98px;
    }
    #map .canada {
        position: absolute;
        right: 6%;
        top: 14%;
    }
    #map .canada button {
        width: 199px;
        height: 64px;
    }
    #map .west-africa button {
        width: 83px;
        height: 123px;
    }
    #map .carib {
        position: absolute;
        right: 24%;
        top: 50%;
    }
    #map .carib button {
        width: 149px;
        height: 49px;
    }
    #map .papua-new-guinea {
        position: absolute;
        top: 59%;
        left: calc(39% + 5px);
    }
    #map .papua-new-guinea button{
        width: 62px;
        height: 35px;
    }
    #map .micronesa {
        position: absolute;
        top: 47%;
        left: calc(41% - 3px);
    }
    #map .micronesa button {
        height: 36px;
        width: 91px;
    }
    #map .australia {
        position: absolute;
        top: calc(66% + 20px);
        left: calc(37% - 14.5px);
    }
    #map .australia button {
        width: 82px;
        height: 59px;
    }
    #map .europe {
        position: absolute;
        top: calc(10% + 18px);
        left: calc(3% + 14px);
    }
    #map .europe button {
        width: 103px;
        height: 84px;
    }
    #map .pacific {
        position: absolute;
        top: 59%;
        left: calc(50% - 4px);
    }
    #map .pacific button {
        width: 103px;
        height: 63px;
    }
    #map .hawaii {
        position: absolute;
        top: 41%;
        left: 55%;
    }
    #map .rusian {
        position: absolute;
        top: 20%;
        left: 32%;
    }
    #map .rusian button  {
        width: 85px;
        height: 53px;
    }
    #map .hawaii button {
        width: 67px;
        height: 49px;
    }
    #map .new-zealand {
        position: absolute;
        top: 80%;
        left: 48%;
    }
    #map .new-zealand button {
        width: 60px;
        height: 58px;
    }
    #map .new-zealand button  span{
        position: absolute;
        top: 50%;
        left: 25%;
    }
    #map .south-asia {
        position: absolute;
        top: 44%;
        left: 25%;
    }
    #map.map-ja .new-zealand {
        top: 76%;
        left: 46%;
    }
    #map.map-ja .new-zealand .area-name span:before {
        top: 0;
    }

    #map .south-asia button {
        height: 56px;
        width: 39px;
    }

    #map .south-east-asia {
        position: absolute;
        top: calc(49% + 14px);
        left: calc(32% - 5.5px);
    }
    #map .south-east-asia button {
        width: 55px;
        height: 52px;
    }
    #map .east-africa {
        position: absolute;
        top: calc(57% + 5.5px);
        left: calc(14% + 2px);
    }
    #map .east-africa button {
        width: 68px;
        height: 77px;
    }
    #map .new-zealand .area-name span:before {
        top: -5px;
    }
    #map.map-ja .australia button span {
        position: absolute;
        top: 25px;
        left: 10px;
    }
    #map .papua-new-guinea button span {
        position: absolute;
        top: -69%;
        left: -22%;
    }
    #map .micronesa button span {
        position: absolute;
        top: -55%;
        left: 21%;
    }
    #map .hawaii button span {
        position: absolute;
        bottom: 10%;
        left: 10%;
    }
}
@media screen and (max-width: 480px) {
    #map.map-ja .new-zealand button span {
        top: -26px;
        left: -13px;
    }
    .sailing-schedule_map-sp {
        width: 260px;
    }
    #map-sp-1, #map-sp-2 {
        width: 260px;
    }
    #map .europe button {
        height: 64px;
    }
    #map .west-africa button {
        width: 63px;
    }
    #map .middle-asia button {
        width: 56px;
        height: 33px;
    }
    #map .east-africa button {
        width: 55px;
        height: 87px;
    }
    #map .rusian button {
        width: 92px;
        height: 42px;
    }
    #map .rusian button span {
        position: absolute;
        top: -60%;
        left: 15%;
    }
    #map .south-asia button {
        width: 39px;
        height: 60px;
    }
    #map .east-asia button {
        width: 46px;
        height: 34px;
    }
    #map .east-asia button span{
        position: absolute;
        top: -95%;
        left: 9%;
    }
    #map .south-east-asia button {
        width: 40px;
        height: 58px;
    }
    #map .micronesa button {
        width: 82px;
        height: 24px;
    }
    #map .micronesa button span {
        top: -74%;
    }
    #map .papua-new-guinea button {
        width: 80px;
        height: 24px;
    }
    #map .australia button {
        width: 49px;
        height: 40px;
    }
    #map .australia {
        position: absolute;
        top: 30%;
        left: 63%;
    }
    #map .canada button {
        width: 202px;
        height: 51px;
    }
    #map .hawaii {
        top: 68%;
        left: -1%;
    }
    #map .hawaii button {
        width: 74px;
        height: 44px;
    }
    #map .pacific {
        position: absolute;
        top: 78%;
        left: -2%;
    }
    #map .pacific button {
        width: 114px;
        height: 51px;
    }
    #map .usa button {
        width: 182px;
        height: 46px;
    }
    #map .carib button {
        width: 180px;
        height: 53px;
    }
    #map .south-america button {
        width: 155px;
        height: 101px;
    }
    #map .papua-new-guinea button span {
        position: absolute;
        bottom: 10%;
        left: -39%;
    }
    #map .south-east-asia button span {
        position: absolute;
        top: 20px;
        left: 2px;
    }
    #map .south-east-asia span:before {
        top: -4px;
    }
    #map .middle-asia span:before {
        top: -1px;
    }
    #map .middle-asia button span {
        top: 31%;
        left: -8%;
    }
}
@media screen and (max-width: 1199px) {
    #map {
        margin: 0 auto;
    }
    .sailing-schedule_map {
        margin: 24px auto;
    }
}

/* ===== 3. static version ===== */
.schedule-result {
  transform: none !important;
  opacity: 1 !important;
}
.schedule-result.is-empty {
  overflow-y: unset;
}
.sailing-schedule_note-empty {
  display: none;
}
.sailing-schedule-result.open {
  max-height: none !important;
  height: auto !important;
}
.sailing-schedule-result.open .sailing-schedule-result_detail {
  max-height: none;
}
.sailing-schedule-result.open .label-more {
  display: none;
}
.sailing-schedule-result.open .label-less {
  display: inline;
}
.sailing-schedule-result .sailing-schedule__ship img {
  width: 38px;
}
.input-date {
  border: none;
  background: transparent;
  font-family: inherit;
  width: 100%;
  min-width: 0;
}
.input-date:disabled,
.btn-submit-form:disabled {
  opacity: 0.5;
  cursor: default;
}
.back_top_btn {
  bottom: 35px;
  right: 50px;
}
@media screen and (max-width: 576px) {
  .back_top_btn {
    right: 5px;
    bottom: 20px;
  }
}
/* No CONTACT US block under the results any more (legacy pulled it up with margin-bottom:-60px):
   keep a gap between the result box and the footer. */
.sailing-page .schedule-main {
  padding-bottom: 40px;
}
.sailing-page .schedule-result {
  margin-bottom: 0;
}
