td#newShipBody {
  padding: 0 8px 8px 8px;
  font-size: 12px;
}

div#viewSelector {
  margin: 20px auto 0 auto;
  text-align: center;
  font-size: 13px;
}

form#viewSelect label {
  margin-right: 20px;
}

form#viewSelect label:last-child {
  margin-right: 0;
}

.newShipsSub {
  font-size: 17px;
  font-weight: bold;
  text-decoration: underline;
  margin: 20px 0 10px 0;
  font-style: italic;
  color: #033669;
}

.newShipsList {
  border-left: 1px solid #033669;
  border-right: 1px solid #033669;
}

.newShipsList th {
  font-weight: bold;
  text-align: left;
  background-color: #033669;
  color: #fff;
  padding: 5px 6px;
  font-size: 13px;
}

td.newShipDate,
th.newShipDate {
  text-align: center;
}

.newShipsList td {
  padding: 5px 6px;
  border-bottom: 1px solid #033669;
}

a.newShipCalendar {
  color: #fff !important;
}

.calendarDisclaimer {
  font-size: 11px;
  line-height: 16px;
  margin-top: 25px;
}

.newShipsGrid a:link,
.newShipsGrid a:visited {
  background-color: #ff3048;
  padding: 5px 6px;
  color: #fff;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  font-size: 13px;
}

.newShipsGrid a:hover {
  text-decoration: none !important;
  background-color: #c0142b;
}

.newShipsList .newShipImg {
  display: none !important;
  margin: 4px 0;
}

img.newShipImg {
  margin: 4px 0;
  max-width: 250px;
}

td.newShipHighlights p {
  margin: 4px 0;
}

.newShipsName {
  text-align: center;
  font-size: 13px;
  font-weight: bold;
}

form#viewSelect input[type='radio']:checked + label {
  font-weight: bold;
}

.newShipsGrid {
  text-align: center;
}

@media (max-width: 550px) {
  .newShipsList th {
    display: none;
  }

  .newShipsList tr:first-child {
    display: block;
    border-top: 1px solid #033669;
  }

  .newShipsList td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    border: none;
  }

  .newShipsList td:last-child {
    border-bottom: 1px solid #033669;
    padding-bottom: 10px;
  }
}

@media (max-width: 1199px) {
  .calendar-table {
    max-width: 100%;
  }

  .fancybox-inner {
    max-width: 100%;
  }

  .fancybox-wrap {
    max-width: 100%;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    top: 50% !important;
    transform: translateY(-50%);
    margin: 20px;
  }

  .fancybox-title-float-wrap .child {
    white-space: normal;
    line-height: 1.3;
    margin: 0;
  }

  .fancybox-title-float-wrap {
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
  }
}
