:root {
  --highlight-color: #003087;             /* R24k default */
  --highlight-color-transparent: #00308714; /* Transparent version */
}
.icon::before {
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
body {
	background: #fafafa;
	display: flex;
	flex-direction: column;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
	font-size: 15px;
	margin: 0;
	min-height: 100vh;
}
.pull-to-refresh {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    font-size: 13px;
    color: #666;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}
.pull-to-refresh.active {
    opacity: 1;
}

html,
body {
  height: 100%;
  margin: 0;
}

.app-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.nav-section {
  align-items: center;
  background: #f9f9f9;
  border-bottom: 1px solid #ddd;
  display: flex;
  height: 80px;
  justify-content: space-around;
}

.nav-block {
  align-items: center;
  background: var(--highlight-color-transparent, #00308714);
  border-radius: 15px;
  color: var(--highlight-color, #003087);
  cursor: pointer;
  display: flex;
  flex: 1;
  font-weight: 600;
  justify-content: center;
  margin: 0 10px;
  position:relative;
  transition: all 0.3s ease;
}

.nav-block i {
  font-size: 36px;
  line-height: 40px;
  margin: 10px;
}

.nav-block.active {
  background: var(--highlight-color, #003087);
  color: #fff;
}

.main-section {
  height: calc(100vh - 80px);
  overflow-y: auto;
  padding: 12px;
}

/* HEADER */
.trip-header {
  background: #fff;
  border-radius: 15px 15px 0 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: -10px;
  padding: 15px 10px;
  text-align: center;
}

.trip-header h2 {
  font-size: 20px;
  margin: 0;
}

.trip-header p {
  color: #555;
  font-size: 14px;
  margin: 2px 0 0;
}

/* MAP */
#map {
  border-radius: 0 0 15px 15px;
  height: 300px;
  overflow: hidden;
  width: 100%;
}

/* MAIN CONTAINER FLEX GROW */
.uk-container {
  flex: 1;
}

/* ACCORDION */
.uk-accordion-title {
  background: var(--highlight-color-transparent, #00308714) !important;
  border-radius: 15px !important;
  color: var(--highlight-color, #003087) !important;
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  padding: 10px 15px;
  position:relative;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s;
  width: calc(100% - 30px);
}

.uk-accordion-title::before {
  display: none !important;
}
.uk-accordion>:nth-child(n+2) {
    margin-top: 15px;
}
.uk-accordion-title:hover,
.uk-accordion-title:focus,
.uk-accordion-title:active {
  background: var(--highlight-color-transparent, #00308714) !important;
  border-radius: 15px !important;
  box-shadow: none !important;
  color: var(--highlight-color, #003087) !important;
  outline: none !important;
}

.uk-open > .uk-accordion-title {
  background: var(--highlight-color, #003087) !important;
  border-radius: 15px !important;
  color: #fff !important;
}

.bubble {
  background: var(--highlight-color, #eee);
  border-radius: 15px;
  color: #fff;
  display: inline-block;
  font-size: 13px;
  margin: 3px;
  padding: 6px 12px;
}

.footer {
  color: var(--highlight-color, #777);
  font-size: 12px;
  padding: 15px;
  text-align: center;
}

/* GALLERY */
.image-gallery {
  margin-top: 10px;
}

.image-gallery .main-image img {
  border-radius: 15px;
  object-fit: cover;
  width: 100%;
}
.image-gallery .thumb-row img {
  border-radius: 15px;
  cursor: pointer;
  object-fit: cover;
  transition: opacity 0.2s;
  width: 100%;
}
.image-gallery .thumb-row img:hover {
  opacity: 0.8;
}

.image-gallery .uk-grid-small {
    margin-left: -5px;
}
.image-gallery .uk-grid-column-small>*, .image-gallery .uk-grid-small>* {
    padding-left: 5px;
}
.image-gallery .uk-margin-small-bottom {
    margin-bottom: 5px !important;
}

/* POPUP */
.popup {
  font-size: 13px;
  max-width: 140px;
}

.popup img {
  border-radius: 6px;
  margin: 10px 0 5px;
  width: 100%;
}

.popup h4 {
  font-size: 14px;
  margin: 0 0 3px;
}

.popup p {
  margin: 0;
}

/* ITINERARY / VOUCHERS */
#info > .uk-container,
#itinerary > .uk-container,
#vouchers > .uk-container {
	margin-top: 15px !important;
  padding-left: 0;
  padding-right: 0;
}
#info .uk-card {
	border-radius: 15px;
	padding:15px;
}
#info .uk-card img {
	border-radius:10px;
}
#vouchers h3 {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}

#itinerary .uk-accordion-content {
  padding: 0 5px;
}

.accommodation-holder h4,
.accommodation-holder p {
  margin: 10px 0;
}
.uk-accordion-content h4 {
	font-size: 16px;
	margin: 20px 0 0;
	text-decoration:underline;
}
.meals {
	border-bottom:1px solid #ccc;
	border-top:1px solid #ccc;
	font-size: 14px;
	padding: 10px 0;
}
/* VOUCHERS */
.voucher-card {
  border-radius: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
  overflow: hidden;
}
.voucher-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 5px;
}

.voucher-card img {
  max-height: 160px;
  object-fit: cover;
  padding:15px;
  width: 100%;
}

.voucher-meta {
  color: #666;
  font-size: 13px;
  margin-bottom: 8px;
}
.r24k-fitbounds-btn:hover {
  opacity: 0.9;
}
.messages {
	background: #eee;
    border-radius: 15px;
	font-size: 14px;
    margin: 0 -5px;
	padding: 5px 15px;
}
.messages li {
	border-bottom: 1px solid #ddd;
	line-height: 2.4em;
	list-style: none;
}
.messages li:last-child {
	border-bottom: 0;
}
.messages li::before {
  /* Set the font to Solid */
  font: var(--fa-font-regular);
  /* Set the Unicode value for the "fa-ghost" icon */
  content: '\f0a4';
  margin-right: 8px;
}
.message {
    font-size: 13px;
    margin-bottom: 4px;
}
.msg-time {
    font-weight: bold;
    margin-right: 4px;
    color: #555;
}
.new-message {
    background: #fff3cd;
    animation: fadeHighlight 5s forwards;
}
@keyframes fadeHighlight {
    from { background: #fff3cd; }
    to { background: transparent; }
}
.day-alert {
	background-color: red;
	border-radius: 10px;
	color: #fff;
	display: inline-block;
	font-size: 12px;
    font-weight: bold;
	height: 16px;
	line-height: 16px;
    margin-left: 6px;
    position: absolute;
		right: 8px;
		top: 8px;
	text-align: center;
	width: 16px;
}
.new-voucher {
    background: #e6f7ff;
    animation: fadeVoucher 5s forwards;
}
@keyframes fadeVoucher {
    from { background: #e6f7ff; }
    to { background: transparent; }
}
