﻿body {
  font-size: 14px;
}

/*this makes sticky footer */
.site-content {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  /* this setting required to have bootstrap modals outside the site-content element*/
  flex-grow: 1;
}

.loadinglogo {
  opacity: 0.8;
  margin-top: -200px;
  width: 240px;
}

/* Override start.css */
.menu_due .sub-menu {
  right: 0
}

h2,
h3,
h4,
h5,
h6 {
  font-weight: 600 !important;
}

table tr th,
strong {
  font-weight: 600 !important;
}

  strong.text-gplus {
    font-weight: 700 !important;
  }


.assist_title small {
  color: #fff !important;
  line-height: unset !important;
}

select {
  background-image: url(/Assets/img/ico-down.svg) !important;
  /*  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: auto;
  padding-right: 32px;
*/
}

  select.input-sm {
    line-height: unset;
  }

/* Set sharp button */
.btn.sharp {
  border-radius: 0;
}

/* Set white border button */
.btn.white-border {
  border: 1px solid white;
}

/* Add extra vertical space between buttons */
.btn-grid {
  margin-top: 5px;
}

.btn-primary {
  color: #fff;
  background-color: #56A8E4;
  border-color: #56A8E4;
}

.btn-orange {
  color: #fff;
  /*background-color: #f0ad4e;*/
  background-color: #f39325;
  border-color: #eea236;
}

  .btn-orange:hover, .btn-orange:focus, .btn-orange.focus, .btn-orange:active, .btn-orange.active, .open > .dropdown-toggle.btn-orange {
    color: #fff;
    /*background-color: #ec971f;*/
    background-color: #d76b12;
    border-color: #d58512;
  }

.btn-blue-orange {
  color: #fff;
  background-color: #337ab7;
  border-color: #2e6da4;
}

  .btn-blue-orange:hover, .btn-orange:focus, .btn-orange.focus, .btn-orange:active, .btn-orange.active, .open > .dropdown-toggle.btn-orange {
    color: #fff;
    background-color: #f39325;
    border-color: #eea236;
  }

/* Override bootstrap input-lg */
.input-lg {
  font-size: 16px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
  white-space: normal;
}

/* Custom bootstrap panel */
.panel-orange {
  border-color: #f38225;
}

  .panel-orange > .panel-heading {
    color: #fff;
    background-color: #F39325;
    border-color: #f38225;
  }

    .panel-orange > .panel-heading + .panel-collapse > .panel-body {
      border-top-color: #f38225;
    }

    .panel-orange > .panel-heading .badge {
      color: #F39325;
      background-color: #fff;
    }

  .panel-orange > .panel-footer + .panel-collapse > .panel-body {
    border-bottom-color: #f38225;
  }

/* Netferry rainbow top line */
.header-rainbow {
  background: #fff url(/images/rainbow-border.png) center top repeat-x;
  border: 1px solid #e8e8e8;
  padding-top: 0px;
  height: 5px;
}

/* Breadcrumbs */
.breadcrumb-container {
  margin-bottom: 10px !important;
}

.btn-breadcrumb .btn:not(:last-child):after {
  content: " ";
  display: block;
  width: 0;
  height: 0;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 10px solid white;
  position: absolute;
  top: 50%;
  margin-top: -17px;
  left: 100%;
  z-index: 3;
}

.btn-breadcrumb .btn:not(:last-child):before {
  content: " ";
  display: block;
  width: 0;
  height: 0;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 10px solid rgb(173, 173, 173);
  position: absolute;
  top: 50%;
  margin-top: -17px;
  margin-left: 1px;
  left: 100%;
  z-index: 3;
}

/** The Spacing **/
.btn-breadcrumb .btn {
  padding: 6px 12px 6px 18px;
}

  .btn-breadcrumb .btn:first-child {
    padding: 6px 6px 6px 10px;
  }

  .btn-breadcrumb .btn:last-child {
    padding: 6px 18px 6px 18px;
  }

  /** Default button **/
  .btn-breadcrumb .btn.btn-default:not(:last-child):after {
    border-left: 10px solid #fff;
  }

  .btn-breadcrumb .btn.btn-default:not(:last-child):before {
    border-left: 10px solid #ccc;
  }

  .btn-breadcrumb .btn.btn-default:hover:not(:last-child):after {
    border-left: 10px solid #ebebeb;
  }

  .btn-breadcrumb .btn.btn-default:hover:not(:last-child):before {
    border-left: 10px solid #adadad;
  }

  /** Primary button **/
  .btn-breadcrumb .btn.btn-primary:not(:last-child):after {
    /*border-left: 10px solid #337ab7;*/
    border-left: 10px solid #56A8E4;
  }

  .btn-breadcrumb .btn.btn-primary:not(:last-child):before {
    /*border-left: 10px solid #2e6da4;*/
    border-left: #56A8E4
  }

  .btn-breadcrumb .btn.btn-primary:hover:not(:last-child):after {
    /*border-left: 10px solid #285e8e;*/
    border-left: 10px solid #56A8E4;
  }

  .btn-breadcrumb .btn.btn-primary:hover:not(:last-child):before {
    /*border-left: 10px solid #285e8e;*/
    border-left: 10px solid #56A8E4;
  }

  /** Success button **/
  .btn-breadcrumb .btn.btn-success:not(:last-child):after {
    border-left: 10px solid #5cb85c;
  }

  .btn-breadcrumb .btn.btn-success:not(:last-child):before {
    border-left: 10px solid #4cae4c;
  }

  .btn-breadcrumb .btn.btn-success:hover:not(:last-child):after {
    border-left: 10px solid #47a447;
  }

  .btn-breadcrumb .btn.btn-success:hover:not(:last-child):before {
    border-left: 10px solid #398439;
  }

  /** Danger button **/
  .btn-breadcrumb .btn.btn-danger:not(:last-child):after {
    border-left: 10px solid #d9534f;
  }

  .btn-breadcrumb .btn.btn-danger:not(:last-child):before {
    border-left: 10px solid #d43f3a;
  }

  .btn-breadcrumb .btn.btn-danger:hover:not(:last-child):after {
    border-left: 10px solid #d2322d;
  }

  .btn-breadcrumb .btn.btn-danger:hover:not(:last-child):before {
    border-left: 10px solid #ac2925;
  }

  /** Warning button **/
  .btn-breadcrumb .btn.btn-warning:not(:last-child):after {
    border-left: 10px solid #f0ad4e;
  }

  .btn-breadcrumb .btn.btn-warning:not(:last-child):before {
    border-left: 10px solid #eea236;
  }

  .btn-breadcrumb .btn.btn-warning:hover:not(:last-child):after {
    border-left: 10px solid #ed9c28;
  }

  .btn-breadcrumb .btn.btn-warning:hover:not(:last-child):before {
    border-left: 10px solid #d58512;
  }

  /** Info button **/
  .btn-breadcrumb .btn.btn-info:not(:last-child):after {
    border-left: 10px solid #5bc0de;
  }

  .btn-breadcrumb .btn.btn-info:not(:last-child):before {
    border-left: 10px solid #46b8da;
  }

  .btn-breadcrumb .btn.btn-info:hover:not(:last-child):after {
    border-left: 10px solid #39b3d7;
  }

  .btn-breadcrumb .btn.btn-info:hover:not(:last-child):before {
    border-left: 10px solid #269abc;
  }


.top-buffer {
  margin-top: -8em;
}

/* Set no padding class */
.nopadding {
  padding: 0 !important;
}

.nopadding-left {
  padding-left: 0 !important;
}

.nopadding-right {
  padding-right: 0 !important;
}

.nopadding-top {
  padding-top: 0 !important;
}

.nopadding-bottom {
  padding-bottom: 0 !important;
}
/* Set no margin class */
.nomargin {
  margin: 0 !important;
}

.nomargin-left {
  margin-left: 0 !important;
}

.nomargin-right {
  margin-right: 0 !important;
}

.nomargin-top {
  margin-top: 0 !important;
}

.nomargin-bottom {
  margin-bottom: 0 !important;
}
/* Set alignment for booking legend */
.booking-legend {
  float: left;
  padding: 6px 12px;
}

/* Set alignment for booking-copy-voyage */
.booking-copy-voyage {
  float: right;
}

.text-gplus {
  color: #dd4b39;
}

.farequote {
  font-size: 80%;
}

.faded {
  opacity: 0.4;
  /*filter: blur(2px);*/
  pointer-events: none;
}

/* Set cursor for icon */
.icon-cursor {
  cursor: default;
}

/* Set cursor for icon */
.vert-div {
  clear: both;
  width: 100%;
  height: 0px;
}

/* Define vertical space */
.vert-div-h5 {
  clear: both;
  width: 100%;
  height: 5px;
}

.vert-div-h10 {
  clear: both;
  width: 100%;
  height: 10px;
}

.vert-div-h15 {
  clear: both;
  width: 100%;
  height: 15px;
}

.vert-div-h20 {
  clear: both;
  width: 100%;
  height: 20px;
}

.vert-div-h30 {
  clear: both;
  width: 100%;
  height: 30px;
}

.vert-div-h40 {
  clear: both;
  width: 100%;
  height: 40px;
}

.vert-div-h50 {
  clear: both;
  width: 100%;
  height: 50px;
}

.vert-div-h60 {
  clear: both;
  width: 100%;
  height: 60px;
}

.vert-div-h70 {
  clear: both;
  width: 100%;
  height: 70px;
}

.vert-div-h80 {
  clear: both;
  width: 100%;
  height: 80px;
}

.vert-div-h90 {
  clear: both;
  width: 100%;
  height: 90px;
}

.vert-div-h100 {
  clear: both;
  width: 100%;
  height: 100px;
}

/* Configure loading netferry spinner*/
#loading {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.7);
  z-index: 9999;
}

#loadingcontent {
  display: table;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

#loadingspinner {
  display: table-cell;
  vertical-align: middle;
  width: 100%;
  text-align: center;
  /*font-size: larger;*/
  padding-top: 80px;
}

/* Vertical alignment configuration */
.vcenter {
  display: inline-block;
  vertical-align: middle;
  float: none;
}

.vertical-align {
  display: flex;
  align-items: center;
}

/* Scrollable div configuration */
.booking-scroll {
  position: relative;
  height: 200px;
  overflow: auto;
}

/* Center Bootstrap Modal */
.vertical-alignment-helper {
  display: table;
  height: 100%;
  width: 100%;
}

.vertical-align-center {
  /* To center vertically */
  display: table-cell;
  vertical-align: middle;
}

.modal-content {
  /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
  width: inherit;
  height: inherit;
  /* To center horizontally */
  margin: 0px auto;
}

/* Mobile configuration */
#mobiledialog .modal-dialog {
  top: 60px;
  height: 90%;
}

#mobiledialog .modal-content {
  height: auto;
  /*border-radius: 0;*/
}

#mobiledialog .modal-fixed-height {
  min-height: 70%;
}

#mobiletypeahead .twitter-typeahead, .tt-hint, .tt-input, .tt-menu {
  width: 100%;
  max-height: 410px;
  overflow-y: auto;
}

#mobiledatepicker .datepicker {
  font-size: 16px;
}

  #mobiledatepicker .datepicker table tr td.day {
    border-radius: 150px;
    /*box-sizing: border-box;*/
    width: 45px;
    min-width: 45px;
    max-width: 45px;
    height: 30px;
    min-height: 30px;
    max-height: 30px;
    line-height: 35px;
  }

#mobiledatepicker .datepicker-inline {
  margin: 0 auto;
  width: 315px
}

#mobiledatepicker .datepicker table {
  /*margin: 0 auto;*/
}

.datepicker.datepicker-dropdown {
  /*text-transform: uppercase;*/
  width: 330px;
}

.datepicker .datepicker-switch,
.datepicker table tr th {
  font-weight: 600;
}

  .datepicker table tr th.dow {
    font-weight: 600;
    color: #0000008a;
  }

.datepicker table tr td.day {
  border-radius: 150px;
  /*box-sizing: border-box;*/
  width: 35px;
  height: 35px;
  line-height: 35px;
}

.datepicker table tr td.today {
  font-weight: 400;
}

.datepicker table tr td.disabled.highlighted,
.datepicker table tr td.disabled.highlighted:hover {
  background-color: #f5f5fa;
}

.datepicker table tr td.highlighted {
  font-weight: 400;
}

.datepicker table tr td.active.day.highlighted,
.datepicker table tr td.active.day.highlighted:hover {
  font-weight: 600;
  background-color: #56a8e4;
}

.datepicker table tr td.disabled,
.datepicker table tr td.disabled:hover {
  color: #3939394d;
}

/*floating-label*/
.floating-label {
  position: absolute;
  top: 12px;
  padding-left: 12px;
  pointer-events: none;
  transition: all .25s ease-out;
  color: #adaeb4
}

  .floating-label.fixed {
    font-size: 12px;
    top: 1px;
  }

.floating-input {
  padding: 26px 16px 14px 16px !important;
}

.responsivetext {
  text-align: center;
}

.icon-overlay {
  color: #56A8E4;
  font-size: 16px;
  float: left;
  left: 50%;
  margin-left: -25px;
  margin-top: -34px;
  position: relative;
  z-index: 2;
}

.rowselectedvoyage {
  border: 2px solid #337ab7 !important;
  box-shadow: 6px 4px 8px -2px #337ab7 !important;
}

.radio-inline,
.checkbox-inline {
  position: relative;
  display: inline-flex;
  cursor: pointer;
  font-weight: 300;
}

.radio-inline {
  gap: 8px;
  margin-right: 16px;
}

  .radio input[type="radio"],
  .radio-inline input[type="radio"] {
    position: unset;
    margin-top: 2px;
  }

input[type="checkbox"] {
  top: 5px;
}

  input[type="radio"]:focus,
  input[type="checkbox"]:focus {
    outline: unset;
    outline-offset: unset;
  }

.heroimg {
  position: relative;
  padding: 150px 0;
  -o-object-position: center;
  object-position: center
}

.heroimg_title {
  height: 80px;
  text-align: left;
  color: #fff;
  text-shadow: 0px 0px 12px rgba(0,39,78,.25)
}

  .heroimg_title h1, .heroimg_title h2 {
    line-height: 100%
  }

  .heroimg_title small {
    display: block;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -.96px
  }

.heroimg img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center
}

mark {
  background: #ffe36e;
  padding: 0;
}

span.twitter-typeahead .tt-suggestion-mobile {
  padding: 3px 0px;
  border-top: 1px solid #ccc;
  margin: 0;
  white-space: normal;
}

.table > tbody > tr > td {
  vertical-align: middle;
}

.table > thead > tr > th {
  vertical-align: middle;
}

dt {
  font-size: 16px;
}

dd {
  font-size: 14px;
}

a.text-decoration-none {
  text-decoration: none !important
}

span.available-no {
  color: gainsboro;
  text-decoration: none;
}

span.available-yes {
  color: #337ab7;
  text-decoration: none;
}

.navbar-bookprice {
  color: #fff;
  /*background-color: #003C78;*/
  background-color: #277bc0;
  padding: 2em 0;
}

input[type="password"] {
  font-weight: 400;
  padding: 14px 16px;
  border: 1px solid #f1f2f6;
  border-radius: 8px;
  color: #00274e;
  background-color: #f1f2f6;
  caret-color: #277bc0;
  -webkit-transition: border 0.25s ease, background-color 0.25s ease;
  transition: border 0.25s ease, background-color 0.25s ease;
  -webkit-box-shadow: none;
  box-shadow: none;
}

scalapay-widget.dark-bg {
  color: #000;
  font-weight: 700;
  filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(112deg) brightness(105%) contrast(101%);
}

/* Override responsive configuration */
@media only screen and (max-width: 1280px) {
}

/* Override responsive configuration */
@media only screen and (max-width: 1200px) {
  
  .heroimg img {
    /* -o-object-position: 75%;
      object-position: 75%;*/
    -o-object-position: right;
    object-position: right;
  }

  .responsivetext {
    text-align: center;
  }

  .icon-overlay {
    margin-left: -25px;
    margin-top: -35px;
  }
}

@media only screen and (max-width: 992px) {
  .heroimg {
    padding: 140px 0 60px;
  }
    .heroimg img {
      /* -o-object-position: 75%;
      object-position: 75%;*/
      -o-object-position: right;
      object-position: right;
    }

  .heroimg_title {
    height: 120px;
    text-align: left
  }

  .responsivetext {
    text-align: center;
  }

  .icon-overlay {
    margin-top: -35px;
  }

  .radio input[type="radio"],
  .radio-inline input[type="radio"] {
    position: unset;
    margin-top: 1px;
  }

  .booking-copy-voyage {
    float: left;
  }
}

@media only screen and (max-width: 768px) {
  body {
    font-size: 12px;
  }

  .container {
    margin: 0 auto;
    width: 95%
  }

  .container-myreservation {
    margin: 0 auto;
    width: 100%
  }

  .top-buffer {
    margin-top: -5em;
  }

  .heroimg {
    position: relative;
    padding: 140px 0 60px
  }
    .heroimg img {
       -o-object-position: 75%;
      object-position: 75%;
    }

  .heroimg_title {
    height: 55px;
    text-align: center;
  }

    .heroimg_title small {
      font-size: 16px;
    }

  .menu_due .has-menu, .menu_due .sub-menu li {
    display: block
  }

  .menu_due .sub-menu {
    padding-left: 22px
  }

    .menu_due .sub-menu a:before {
      font-family: "drxnetferry";
      content: "\e802";
      color: #277bc0;
      margin-right: 8px;
      font-size: 12px;
    }

  .responsivetext {
    text-align: center;
  }

  .icon-overlay {
    margin-top: -33px;
  }

  .floating-label {
    top: 14px;
  }

    .floating-label.fixed {
      top: 2px;
    }

  /* Center Bootstrap Modal */
  .vertical-alignment-helper {
    width: 90%;
    margin-left: 5%;
  }

  /* Force table to not be like tables anymore */
  #no-more-tables table,
  #no-more-tables thead,
  #no-more-tables tbody,
  #no-more-tables th,
  #no-more-tables td,
  #no-more-tables tr {
    display: block;
  }
    /* Hide table headers (but not display: none;, for accessibility) */
    #no-more-tables thead tr {
      position: absolute;
      top: -9999px;
      left: -9999px;
    }

  #no-more-tables tr {
    border: 1px solid #ccc;
    margin-top: 20px;
  }

  #no-more-tables td {
    /* Behave  like a "row" */
    border: none;
    /*remove border*/
    /*border-bottom: 1px solid #eee;*/
    border-collapse: separate;
    border-spacing: 0 15px;
    position: relative;
    padding-left: 50%;
    white-space: normal;
    text-align: left;
  }

    #no-more-tables td:before {
      /* Now like a table header */
      position: absolute;
      /* Top/left values mimic padding */
      top: 6px;
      left: 6px;
      width: 45%;
      padding-right: 10px;
      white-space: nowrap;
      text-align: left;
      font-weight: bold;
    }

    /* Label the data */
    #no-more-tables td:before {
      content: attr(data-title);
    }

  #no-more-tables tr td[colspan] {
    display: contents;
  }
}

@media only screen and (max-width:460px) {
  .header__container {
    width: 70%;
  }

  .menu_due li.last {
    margin-bottom: 10vh;
  }
}
