/* =========================================================
   CALENDAR PAGE: FULL WIDTH
   ========================================================= */

body:has(.lpe-editable-calendar) .widget-area,
body:has(.lpe-editable-calendar) #secondary,
body:has(.lpe-editable-calendar) aside {
  display: none !important;
}

body:has(.lpe-editable-calendar) .content-area,
body:has(.lpe-editable-calendar) #primary,
body:has(.lpe-editable-calendar) main,
body:has(.lpe-editable-calendar) article,
body:has(.lpe-editable-calendar) .entry-content {
  width: 100% !important;
  max-width: 100% !important;
}


/* =========================================================
   CALENDAR: DESKTOP TABLE
   ========================================================= */

.lpe-editable-calendar {
  max-width: 1250px;
  width: 100%;
  margin: 0 auto;
}

.lpe-editable-calendar table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.lpe-editable-calendar th {
  background: #000;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 15px 10px;
  text-align: center;
  text-transform: uppercase;
}

.lpe-editable-calendar td {
  background: #f7f7f7;
  border-top: 1px solid rgba(32, 32, 32, 0.08);
  color: #4d4d4d;
  font-size: 15px;
  line-height: 1.5;
  padding: 18px 10px;
  text-align: center;
  vertical-align: middle;
}

.lpe-editable-calendar th:nth-child(1),
.lpe-editable-calendar td:nth-child(1) {
  width: 25%;
}

.lpe-editable-calendar th:nth-child(2),
.lpe-editable-calendar td:nth-child(2) {
  width: 30%;
}

.lpe-editable-calendar th:nth-child(3),
.lpe-editable-calendar td:nth-child(3) {
  width: 13%;
}

.lpe-editable-calendar th:nth-child(4),
.lpe-editable-calendar td:nth-child(4) {
  width: 14%;
}

.lpe-editable-calendar th:nth-child(5),
.lpe-editable-calendar td:nth-child(5) {
  width: 18%;
}


/* =========================================================
   CALENDAR: COLORS, LINKS, BUTTONS
   ========================================================= */

.lpe-editable-calendar tr:has(td:nth-child(4) strong) td {
  background: #f4d0d0;
}

.lpe-editable-calendar strong {
  color: #921616;
  font-weight: 700;
}

.lpe-editable-calendar td a {
  color: #6f875c;
  text-decoration: none;
}

.lpe-editable-calendar td a:hover {
  color: #5f754d;
  text-decoration: underline;
}

.lpe-editable-calendar td:nth-child(5) a {
  background: #6f875c;
  border: 1px solid #6f875c;
  border-radius: 6px;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  min-height: 36px;
  padding: 0 14px;
  text-decoration: none !important;
  text-transform: uppercase;
  white-space: nowrap;
}

.lpe-editable-calendar td:nth-child(5) a:hover {
  background: #5f754d;
  border-color: #5f754d;
  color: #fff !important;
}


/* =========================================================
   CALENDAR: TABLET AND PHONE
   ========================================================= */

@media (max-width: 900px) {
  body:has(.lpe-editable-calendar) .entry-content {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .lpe-editable-calendar,
  .lpe-editable-calendar table,
  .lpe-editable-calendar tbody,
  .lpe-editable-calendar tr,
  .lpe-editable-calendar td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .lpe-editable-calendar {
    margin: 0 auto !important;
  }

  .lpe-editable-calendar table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    table-layout: auto !important;
  }

  .lpe-editable-calendar thead {
    display: none !important;
  }

  .lpe-editable-calendar tr {
    background: #f7f7f7 !important;
    border: 1px solid rgba(32, 32, 32, 0.12) !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
  }

  .lpe-editable-calendar tr:has(td:nth-child(4) strong) {
    background: #f4d0d0 !important;
  }

  .lpe-editable-calendar td,
  .lpe-editable-calendar tr:has(td:nth-child(4) strong) td {
    background: transparent !important;
    border-top: 1px solid rgba(32, 32, 32, 0.08) !important;
    color: #4d4d4d !important;
    display: block !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
    padding: 14px 16px !important;
    text-align: left !important;
    width: 100% !important;
  }

  .lpe-editable-calendar td:first-child {
    border-top: 0 !important;
  }

  .lpe-editable-calendar td::before {
    display: block !important;
    color: #111 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    line-height: 1.2 !important;
    margin-bottom: 7px !important;
    text-transform: uppercase !important;
  }

  .lpe-editable-calendar td:nth-child(1)::before {
    content: "Date";
  }

  .lpe-editable-calendar td:nth-child(2)::before {
    content: "Tour Name";
  }

  .lpe-editable-calendar td:nth-child(3)::before {
    content: "Cost";
  }

  .lpe-editable-calendar td:nth-child(4)::before {
    content: "Space";
  }

  .lpe-editable-calendar td:nth-child(5)::before {
    content: "Status";
  }

  .lpe-editable-calendar td:nth-child(5) a {
    background: #6f875c !important;
    border: 1px solid #6f875c !important;
    border-radius: 6px !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    line-height: 1 !important;
    min-height: 38px !important;
    min-width: 124px !important;
    padding: 0 16px !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    width: auto !important;
  }

  .lpe-editable-calendar strong {
    font-size: inherit !important;
  }
}


/* =========================================================
   CALENDAR: SMALL PHONES
   ========================================================= */

@media (max-width: 520px) {
  body:has(.lpe-editable-calendar) .entry-content {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .lpe-editable-calendar td,
  .lpe-editable-calendar tr:has(td:nth-child(4) strong) td {
    font-size: 15px !important;
    padding: 13px 14px !important;
  }

  .lpe-editable-calendar td::before {
    font-size: 10px !important;
    margin-bottom: 6px !important;
  }

  .lpe-editable-calendar td:nth-child(5) a {
    font-size: 12.5px !important;
    min-height: 36px !important;
    min-width: 118px !important;
    padding: 0 14px !important;
  }
}