* {
    margin: 0; padding: 0; box-sizing: border-box;
    --color-accent: #036acb;
    --color-accent-alt: #305f8c;
}
body {
    font-family: "transat", sans-serif;
    font-weight: 400;   /* 300, 400, 500, 700, 900 */
    font-style: normal;
    color: #0f2c33;
    background: #faf6ef;
    line-height: 1.5;
    /* font-size: 20px; */
    /* font-size-adjust: 0.4; */
}

.avi-ui-dialog {
    font-size-adjust: 0.6;
}

.avi-ui-dialog select {
    font-size-adjust: 0.5;
}

a {
    color: #0f2c33;
    text-decoration: none;
    border-bottom: 1px dashed #0f2c33;
}

p {
    font-size: 1rem;
}

.fa-light {
    font-size-adjust: 0.8;
    margin-left: 0.2rem;
    margin-right: 0.2rem;
}

input, select {
    font-family: "transat", sans-serif;
    font-weight: 400;   /* 300, 400, 500, 700, 900 */
    /* font-size-adjust: 0.4; */
    font-size: 1rem;
}

nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 50px;
    z-index: 1;
    background: rgba(250, 246, 239, 0.4);
    transition: background 0.3s ease;
}

nav.scrolled {
    background: rgb(250, 246, 239);
}

nav .split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 1rem;
}

.split .counter {
    font-size: 1rem;
    line-height: 30px;
    color: #b70000;
}

.split .counter .number {
    /* background: #b70000;
    color: white;
    border-radius: 6px;
    padding: 0 0.4rem; */
    display: inline-block;
    line-height: 30px;
}

nav h2,
nav .h2 {
    display: inline-block;
    line-height: 30px;
    padding: 0;
    margin: 0;
    margin-right: 3rem;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5em;
}
nav a {
    text-decoration: none;
    border-bottom: 0;
    margin: 0 0.5rem;
    color: black;
    line-height: 30px;
    display: inline-block;
    padding: 0 1rem;
    font-size: 15px;
    height: 30px;
}

nav .h2 {
    position: relative;
    padding-bottom: 15px;
    height: 45px;
}

nav .menu {
    display: flex;
    align-items: center;
}

nav .h2::after {
    content: " ";
    position: absolute;
    bottom: 4px;
    left: 10px;
    right: 10px;
    height: 18px;
    background: url(/images/favicon.ico) no-repeat center center;
    background-size: cover;
}

nav a.active {
    color: white;
    border: none;
    border-radius: 6px;
    background: var(--color-accent);
}

header {
    background: url('/images/background.jpg') no-repeat right center;
    background-size: cover;
    padding: 4rem 2rem;
    text-align: left;
    position: relative;
    min-height: 680px;
    padding-top: 6rem;
}

header.empty {
    background: none;
    padding: 0;
    min-height: 70px;
}

.small-header {
    background: var(--color-accent);
    color: white;
    padding: 1rem 0;
    min-height: unset;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

header h1 {
    font-size: 2.4rem;
    font-weight: 600;
    /* color: #faf6ef; */
    /* color: var(--color-accent); */
}

header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    /* color: #faf6ef; */
    color: var(--color-accent-alt);
}

header h2 {
    font-size: 1.5rem;
    padding: 0 1.5rem;
    max-width: 500px;
}

header p {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    color: #333;
}

.booking-details h2 {
    margin-bottom: 1rem;
    margin-left: 0.5rem;
    font-weight: 600;
    font-size: 1.5rem;
}

.booking-box {
    position: relative;
    background: #fff;
    padding: 1.5rem;
    margin-top: 0rem;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
    margin-top: 8rem;
    width: 60%;
}

.booking-box .row {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(100px, 1fr));
}

.booking-box .booking-type-new {
    display: flex;
    white-space: nowrap;
    text-align: left;
    vertical-align: middle;
    line-height: 18px;
    margin-bottom: 1rem;
}

.booking-type-new input[type="radio"] {
    margin-bottom: 0.3rem;
    margin-right: 0.3rem;
    accent-color: var(--color-accent);
}

.booking-type-new label {
    margin-right: 2rem;
}

.booking-box h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
}

.loader-background {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(250, 246, 239, 0.8);
}

.billing-container {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: auto 300px;
    align-items: stretch;
}

.payment-details-container {
    display: flex;
    flex-direction: column;
}

#payment-details-container {
    flex: 1;
}

.payment-details-container table {
    width: 100%;
    border-collapse: collapse;
}

.payment-details-container table tr td:last-of-type {
    text-align: right;
}

.payment-details-container table td.discount {
    padding-top: 0.5rem;
    color: var(--color-accent);
}

.payment-details-container table tr.vat td {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.payment-details-container table tr.total td {
    border-top: 1px solid black;
    font-weight: bold;
    font-size: 1rem;
}

.booking-box div.error,
.form-card div.error {
    font-size: 12px;
}

.booking-box label,
.form-card label {
    font-size: 0.9rem;
    color: #555;
    display: block;
    margin-bottom: 0.3rem;
}

.booking-box select,
.booking-box input[type="text"],
.form-card input,
.form-card select {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.form-card input,
.form-card select {
    margin-bottom: 1rem;
}

.form-card input[type="checkbox"] {
    display: inline-block;
    width: unset;
    padding: 0;
    margin: 0;
    margin-bottom: 0.4rem;
}

.booking-box select.error,
.booking-box input.error,
.form-card input.error,
.form-card select.error {
    margin-bottom: 0;
    border: 1px solid rgb(166, 61, 45);
}

.booking-box div.error,
.form-card div.error {
    margin-bottom: 0.2rem;
    line-height: 0.8rem;
    height: 0.8rem;
    text-align: right;
    color:rgb(166, 61, 45)
}

.booking-box select + .error,
.booking-box input + .error,
.form-card input ~ .error,
.form-card select + .error {
    display: none;
}

.booking-box select.error + .error,
.booking-box input.error + .error,
.form-card input.error ~ .error,
.form-card select.error + .error {
    display: block;
}

.split {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.split.split-3 {
    grid-template-columns: repeat(3, 1fr);
}

.split.split-5 {
    grid-template-columns: repeat(5, 1fr);
}

.booking-box button,
.form-card button,
.left-panel button,
.change-times-button {
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: 6px;
    background: var(--color-accent);
    color: #fff;
    font-weight: 400;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
}

.change-times-button {
    width: 200px !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 30px;
    background-color: rgb(21, 140, 0) !important;
}

.booking-type {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 0.6rem;
    margin-top: 0.3rem;
}

.booking-type input[type="radio"] {
  display: none;
}

.booking-type label {
  display: block;
  padding: 5px 20px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid var(--color-accent);
  color: #000;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s;
  width: 100%;
}

/* Selected state */
.booking-type input[type="radio"]:checked + label {
  background: var(--color-accent);
  border: 1px solid transparent;
  color: #fff;
}

.booking-type input[type="radio"]:disabled + label {
    border-color: #aaa;
    color: #aaa;
}

.booking-type:has(#booking-box-one-way:checked) + .return-container {
    display: none;
}

.section {
    padding: 3rem 2rem;
}

.section h2 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.routes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.route-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 3px 10px rgba(0,0,0,0.08);
    text-align: center;
}

.route-card img {
    width: 100%;
    height: 380px;
    object-fit: contain; /* cover and keep aspect ratio */
    padding: 1rem 1rem 0 1rem;
}

.route-card div {
    padding: 1rem;
}

.route-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.feature h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.route-card p {
    color: #777;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.feature p {
    color: #777;
    font-size: 0.9rem;
}

.route-card button {
    background: var(--color-accent);
    color: #fff;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.feature {
    flex: 1;
    min-width: 200px;
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0px 3px 10px rgba(0,0,0,0.08);
}

.loader {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 10px solid rgb(166, 61, 45);
    border-top-color: transparent;
    animation: spin 2s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.date-container {
    display: flex;
    justify-content: center;
    margin-top: 10px !important;
    margin-bottom: 20px !important;
}

.time-container {
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px 10px;
    align-items: center;
    justify-items: center;
    align-content: center;
}

.time-slot {
    border: 1px solid #ccc;
    border-radius: 6px;
    text-align: center;
    line-height: 20px;
    width: 50px;
    cursor: pointer;
    background-color: #faf6ef;
}

.time-slot.inactive {
    color: #ccc;
    background-color: transparent;
    cursor: not-allowed;
}

.time-slot.discounted {
    position: relative;
    background-color: rgb(228 255 233); /* rgb(255, 255, 195); */
}

.time-slot.discounted::after {
    position: absolute;
    left: -3px;
    top: -8px;
    font-size: 14px;
    color: green;
    content: '%';
    font-weight: 900;
}

.time-slot.active {
    background-color: rgb(21, 140, 0);
    color: white;
    cursor: default;
}

.inactive-time-container .time-slot {
    cursor: default;
}

.inactive-time-container .time-slot.active {
    background-color: var(--color-accent-alt);
}

.steps {
  display: flex;
  justify-content: space-between;
  margin: 2rem auto;
  font-size: 0.9rem;
  color: #888;
  max-width: 500px;
}

.steps .active {
  color: var(--color-accent);
  font-weight: 600;
}

.timeslot-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
}

.timeslot-card-overlay {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.inactive-time-card .timeslot-card-overlay {
    display: block;
}

.timeslot-card .error {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    margin-bottom: 0;
    line-height: 1.2rem;
    height: 1.2rem;
    text-align: center;
    background:rgb(166, 61, 45);
    color: white;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    display: none;
}

.square {
  width: 130px; 
  height: 100px;
  overflow: hidden; /* hide overflow */
  border-radius: 12px;
}

.timeslot-card h4 {
    display: block;
    margin: 0;
    font-weight: bold;
    font-size: 1rem;
}

.timeslot-card h4.end {
    min-width: 100px;
}

.timeslot-card .route {
    display: flex;
    gap: 10px;
}

.timeslot-card .bottom-box {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    visibility: hidden;
}

.timeslot-card .price-box {
    background-color: var(--color-accent-alt);
    color: white;
    border-top-left-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 0;
    min-width: 140px;
}

.timeslot-card .price-box .fare-type {
    font-size: 0.8rem;
    white-space: nowrap;
    text-align: right;
    padding: 0.2rem 1rem 0 1rem;
    background-color: rgb(166, 61, 45);
    border-top-left-radius: 12px;
}

.timeslot-card .price {
    padding: 0 1rem 0.2rem 1rem;
    margin: 0;
    font-size: 1.1rem;
    text-align: center;
}

.timeslot-card .vat {
    font-size: 0.9rem;
    text-align: right;
    position: relative;
    top: -10px;
}

.timeslot-card .desc {
    font-size: 0.9rem;
    text-align: center;
    margin-top: 0rem;
    margin-right: 20px;
}

.timeslot-card .date {
    max-width: 130px;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    text-align: center;
    font-weight: bold;
}

.boat-desc {
    max-width: 130px;
    font-size: 0.9rem;
    text-align: center;
}

.square img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* cover and keep aspect ratio */
}

.timeslot-card .label {
    padding-top: 30px;
    font-size: 0.9rem;
}
.timeslot-card .travel-route {
    padding-top: 29px;
    padding-left: 1rem;
    padding-right: 1rem;
    line-height: 30px;
    border-bottom: 1px solid var(--color-accent);
    min-width: 150px;
    text-align: center;
}

.summary-card, .form-card, .timeslot-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.form-card.transparent {
    background-color: transparent;
    box-shadow: none;
    padding: 0 1.5rem;
}

.summary-card.notification {
    font-size: 1.0rem;
}

.summary-card.notification.error {
    border: 1px solid rgb(166, 61, 45);
}

.summary-card b {
    color: var(--color-accent);
    font-weight: 600;
}

.form-card form {
    /* max-width: 720px; */
}

.summary-card h2,
.form-card h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.price {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 1rem;
}

/* INTERFACE */

.avi-drp {
    font-family: 'avi-font', Arial, Helvetica, sans-serif;
    position: relative;
    border: 1px solid #aaaaaa;
    border-radius: 4px;
    width: 376px;
    height: 263px;
    margin: 1px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.avi-ui-form-container > form > div > div > .avi-drp {
    border: none;
}

.avi-drp-error-note {
    margin-top : 5px;
    margin-left: 10px;
}

.avi-drp .avi-drp-hour-select-container {
    position: absolute;
    top: 0px;
    right: 0px;
    margin: 10px;
    padding-left: 10px;
    padding-top: 4px;
    padding-bottom: 4px;
    border-left: 1px solid #aaaaaa;
}

.avi-drp.with-title .avi-drp-hour-select-container {
    top: 24px;
}

.avi-drp.with-title {
    height: 287px;
}

.avi-drp.avi-drp-picker-only {
    width: 344px;
}

.avi-drp.avi-drp-picker-only.with-time {
    width: 335px;
}

.avi-drp.avi-drp-picker-only.avi-drp-no-bottom-bar {
    height: 315px;
}

.avi-drp.avi-drp-picker-only.avi-drp-no-bottom-bar.with-title {
    height: 242px;
}

.avi-drp-left {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 168px;
    padding: 10px;
    box-sizing: content-box;
}

.avi-drp.with-title .avi-drp-left {
    padding-top: 34px;
}

.avi-drp .avi-drp-title {
    background-color: #aaaaaa;
    text-align: center;
    font-weight: 400;
    line-height: 24px;
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
}

.avi-drp-picker-only .avi-drp-left {
    width: auto;
}

.avi-drp-right {
    position: absolute;
    left: 189px;
    top: 0px;
    width: 168px;
    padding: 10px;
    box-sizing: content-box;
}

.avi-drp-bottom {
    position: absolute;
    left: 0px;
    top: 213px;
    width: 355px;
    height: 29px;
    padding: 10px;
    border-top: 1px solid #aaaaaa;
    text-align: right;
    box-sizing: content-box;
}

.avi-drp-picker-only .avi-drp-bottom {
    width: 278px;
}

.avi-drp-bottom .avi-button {
    margin-left: 5px;
}

.avi-drp-bottom span {
    margin-right: 10px;
}

.avi-drp table {
    border-collapse: collapse;
    border: 0px;
    color: var(--color-text);
}

.avi-drp table th,
.avi-drp table td {
    padding: 0px;
    margin: 0px;
    text-align: center;
    line-height: 24px;
    height: 24px;
    width: 24px;
    border-radius: 4px;
    cursor: default;
}

.avi-drp table td .custom-data {
    font-size: smaller;
    font-weight: bold;
    color: var(--color-accent);
}

.loading-dots {
    display: flex;
    gap: 2px;
    justify-content: center;
}

.loading-dots span {
  width: 20px;
  height: 14px;
  background:  var(--color-accent);
  /* border-radius: 50%; */
  opacity: 0.2;
  animation: fade 1s infinite;
  margin-top: 1px;
}

@keyframes fade {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.7; }
}

.avi-drp-picker-only table th,
.avi-drp-picker-only table td {
    width: 50px;
}

.avi-drp-picker-only table td {
    height: 50px;
    vertical-align: middle;
    line-height: 15px;
}

.avi-drp-picker-only.with-time table th,
.avi-drp-picker-only.with-time table td {
    width: 32px;
}

.avi-drp .avi-drp-hour-select-container th,
.avi-drp .avi-drp-hour-select-container td {
    height: 16px;
    line-height: 16px;
}

.avi-drp table.avi-drp-error {
    background-color: #FFD2D2 !important;
}

.avi-drp table th {
    font-weight: 400;
}

.avi-drp table td:hover {
    background-color: #e2d2b8;
}

.avi-drp table td.avi-drp-selected {
    background-color: var(--color-hover);
    border-radius: 4px 0px 0px 4px;
}

.avi-drp table td.avi-drp-highlighted:hover,
.avi-drp table td.avi-drp-selected.avi-drp-highlighted {
    color: #900000;
}

.avi-drp table td.avi-drp-selected.avi-drp-only {
    border-radius: 4px;
}

.avi-drp table td.avi-drp-selected.avi-drp-end {
    background-color: #428ff3;
    border-radius: 0px 4px 4px 0px;
}

.avi-drp table td.avi-drp-selected-between {
    background-color: lightblue;
    border-radius: 0px;
}

.avi-drp table td.avi-drp-prevmonth,
.avi-drp table td.avi-drp-nextmonth {
    color: var(--color-button);
}

.avi-drp table td.avi-drp-history {
    color: #999;
}

.avi-drp table td.avi-drp-highlighted {
    color: #bb0000;
}

.avi-drp table td.avi-drp-highlighted-2 {
    position: relative;
}

.avi-drp table td.avi-drp-highlighted-3 {
    position: relative;
}

.avi-drp table td.avi-drp-highlighted-2::before {
    content: ' ';
    position: absolute;
    left: 1px;
    top: 1px;
    right: 2px;
    bottom: 2px;
    border: 1px solid #428ff3;
    border-radius: 50%;
}

.avi-drp table td.avi-drp-highlighted-3::before {
    content: ' ';
    position: absolute;
    left: 1px;
    top: 1px;
    right: 2px;
    bottom: 2px;
    border: 1px solid #900000;
    border-radius: 50%;
}

.avi-drp table th.avi-drp-prevmonth-button:hover,
.avi-drp table th.avi-drp-nextmonth-button:hover {
    background-color: #aaaaaa;
}

.avi-drp table td.avi-drp-prevmonth:hover,
.avi-drp table td.avi-drp-nextmonth:hover {
    background-color: transparent;
}

.avi-drp table td.avi-drp-month-select {
    width: 28px;
    line-height: 14px;
    height: 14px;
}

.avi-drp table td.avi-drp-year-select {
    width: 40px;
    line-height: 14px;
    height: 14px;
}

.avi-drp table td.avi-drp-year-switch {
    width: 24px;
    line-height: 14px;
    height: 14px;
}

.avi-drp select {
    font-family: 'avi-font', Arial, Helvetica, sans-serif;
    font-weight: 400;
    border-radius: 4px !important;
    background-color: white;
    height: 20px;
    float: none;
    border-style: solid !important;
}

.avi-ui-form-container > form .avi-drp select {
    background-color: transparent;
    border: 0 solid transparent;
    line-height: 20px;
    height: 20px;
    padding: 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
    box-sizing: border-box;
    font-size: var(--font-size);
    border-radius: 0 !important;
}

.avi-drp .avi-drp-select-month {
    margin-right: 2px;
    width: 54px !important;
}

.avi-drp-picker-only .avi-drp-select-month {
    width: 172px !important;
}

.avi-drp .avi-drp-select-year {
    width: 60px !important;
}

.passengers-form {
    max-width: 100% !important;
}

.passengers-form input,
.passengers-form select {
    margin-bottom: 0 !important;
}

.passenger-box {
    display: flex;
    margin-bottom: 1rem;
}

.passenger-box > .manage {
    border-right: 1px solid var(--color-accent);
    padding-right: 0.5rem;
    text-align: right;
    width: 2rem;
    font-size: 1.5rem;
    padding-top: 1.3rem;
}

.passenger-box > .manage > button {
    font-size: 12px;
    line-height: 12px;
    background-color: #bb0000;
}

.passenger-box > .form {
    flex: 1;
    padding-left: 1rem;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion input {
    display: none;
}

.accordion-label {
    display: block;
    padding: 15px 20px;
    cursor: pointer;
    background: #fff;
    font-weight: 300;
    transition: background 0.3s;
    font-size: 1rem;
}

.accordion-label:hover {
    background: #f0f0f0;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    background: #fafafa;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
}

.accordion input:checked ~ .accordion-content {
    max-height: unset;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.book-btn {
    background-color: rgb(21, 140, 0) !important;
}

.change-date-button {
    cursor: pointer;
}

footer {
    border-top: 1px solid #428ff3;
    color: #777;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    padding-top: 0.5rem;
}

footer a {
    color: #777;
    text-decoration: none;
    border-bottom: 1px dashed #777;
}

footer .container {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

footer .container > div {
    flex: 1;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}



.js-gallery-image {
    cursor: pointer;
}

.avi-image-viewer {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    /* background: rgba(25, 32, 69, 0.7); */
    z-index: 1;
}

.avi-image-viewer .avi-image-viewer-close-button {
    position: absolute;
    top: 0;
    right: 0;
    width: 16px;
    height: 16px;
    background-color: var(--color-accent-1);
    color: var(--color-light);
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0px 0px 5px 1px rgba(34, 60, 80, 0.5);
}

.avi-image-viewer .avi-image-viewer-close-button:hover {
    background-color: var(--color-accent-1-hover);
}

.avi-image-viewer .image-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.avi-image-viewer .image-container > div {
    position: relative;
}

.avi-image-viewer .image-container img {
    display: block;
    margin: 0 auto;
    background-color: white;    /* for images with transparent background, e.g. pdf */
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.8);
}
