/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Variables.css - Main application styles */
body {
    font-family: "Poppins", sans-serif !important;
    margin-top: 0px;
    min-height: 75rem;
    margin-left: 0px;
    margin-right: 0px;
}

.fixed-top-search {
    position: fixed;
    top: 69px;
    right: 0;
    left: 0;
    z-index: 1000;
}

.btn.btn-success {
    color: #ffffff !important;
}

.btn.booking:hover {
    background-color: white !important;
    color: white !important;
}

.btn.booking {
    background-color: #0289b5 !important;
    border-color: #0289b5 !important;
    color: white;
}

.btn.btn-success.book-now:hover {
    color: #198754 !important;
}

nav.navbar {
    height: 165px;
    padding-top: 116px;
    background: white;
}

nav.navbar.fixed-top {
    height: 115px;
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
    background: white;
}

.navbar-brand svg {
    height: 87px;
    width: auto;
}

.navbar a {
    font-size: 12px;
    letter-spacing: 1.5px;
    font-weight: 400;
}

.bar-flex-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 46px;
    background: #ffcb4c;
}

.bar-flex-container .giftcard {
    font-size: 14px;
}

.bar-flex-container a {
    text-decoration: none;
}

@media (max-width: 576px) {
    nav.navbar {
        height: 80px !important;
        padding-top: 50px !important;
    }

    nav.navbar.fixed-top {
        height: 70px !important;
        padding-top: 15px !important;
    }

    .navbar-brand svg {
        height: 40px;
    }

    #navbarsBennington > ul > li.nav-item {
        padding-left: 10px;
        padding-right: 10px;
    }
    .bar-flex-container .giftcard {
        font-size: 10px;
    }
}

.navbar-collapse {
    background: white;
}

.bg-light {
    background-color: white !important;
}

.search-sort-links {
    background: black;
}

.search-sort-links a {
    color: white;
    font-size: 12px;
    text-decoration: none;
}

.search-sort-links a:hover {
    color: white;
    font-size: 12px;
    text-decoration: none;
    background: black !important;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 50%;
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.row.map {
    height: 1000px;
}

#map {
    height: 100%;
    width: 100%;
}

.card-subtitle {
    font-size: 12px;
}

.modal-dialog {
    max-width: 80%;
}

a.property-card {
    text-decoration: none;
    color: black;
    font-family: "Poppins", sans-serif !important;
}

.property-card .location {
    font-size: 12px;
    background-color: rgba(0, 0, 0, 0.6);
    left: 10px;
    top: 12px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 600;
    border-radius: 3px;
    padding: 7px 10px 5px 10px;
    line-height: 1;
}

ul.rental-stats {
    font-size: 12px;
    list-style-type: none;
    padding-left: 0;
}

.rating {
    color: #ffcb4c;
}

i.fa.fa-star {
    color: #ffcb4c;
}

.pagination a {
    color: black;
}

.pagination .page-item.active a.page-link {
    background-color: #0289b5;
    border-color: #0289b5;
}

.form-check-input:checked {
    background-color: #0289b5;
    border-color: #0289b5;
}

i.fa,
i.far {
    color: #aaaaaa;
    width: 1.5em;
}

.irs--round .irs-handle {
    border: 4px solid #555555 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

.irs--round .irs-bar {
    background-color: #555555 !important;
}

.irs--round .irs-from,
.irs--round .irs-to,
.irs--round .irs-single {
    background-color: #555555 !important;
}

.quote_form .form-control[readonly] {
    background-color: #ffffff !important;
}

#filter_form .form-control[readonly] {
    background-color: #ffffff !important;
}

a:hover {
    color: #0289b5 !important;
    background-color: #fff !important;
}

.datepicker-days .day {
    color: #0289b5;
    background-color: rgb(2, 137, 181, 0.1);
}

.datepicker-days .day.disabled {
    color: #cccccc !important;
    background-color: #ffffff;
}

.datepicker-days td.active.selected.range-start.day {
    background-color: #0289b5 !important;
    background-image: none !important;
}

.devise .btn-primary {
    color: #fff;
    background-color: #0289b5;
    border-color: #0289b5;
}

.pricing .total {
    color: gray;
}

img.list-img {
    width: 80px;
}

table.list-view a {
    text-decoration: none;
}

[data-search-href-value] {
    cursor: pointer;
}

.search_icon {
    cursor: pointer;
}

i.sort-active {
    color: #0289b5;
}

table.search th {
    font-size: 16px;
}

.google-map-icon-label {
    border: 1px solid #0289b5;
    padding: 2px;
    border-radius: 5px;
    background: #08b6c4;
    text-align: center;
    line-height: 20px;
    font-weight: bold;
    font-size: 14px;
    color: #fff;
    -webkit-filter: drop-shadow(2px 2px 2px #222222);
    filter: drop-shadow(2px 2px 2px #222222);
}

.ben-google-map-icon-label {
    margin-top: 64px;
    border: 1px solid #0289b5;
    padding: 2px;
    border-radius: 5px;
    background: #08b6c4;
    text-align: center;
    line-height: 20px;
    font-weight: bold;
    font-size: 14px;
    color: #fff;
    -webkit-filter: drop-shadow(2px 2px 2px #222222);
    filter: drop-shadow(2px 2px 2px #222222);
}

.responsive_map {
    width: 100%;
    height: auto;
}

.datepicker table tr td.new,
.datepicker table tr td.old {
    height: 0;
    line-height: 0;
    visibility: hidden;
}

.datepicker .selected.range-start.day {
    background: #0289b5 !important;
    color: #fff;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.datepicker .range.day {
    background: #0289b5 !important;
    color: white !important;
    border-radius: 0 !important;
}

.datepicker .selected.range-end.day {
    background: #0289b5;
    color: white;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.datepicker table tr td.day.focused,
.datepicker table tr td.day:hover {
    background: #0289b5 !important;
    cursor: pointer;
    color: white !important;
}

.new-ribbon {
    position: absolute;
    width: 20%;
    left: 80%;
    top: 0%;
}

.new-ribbon-list {
    position: absolute;
    width: 50%;
    left: 50%;
    top: 0%;
}

.new-ribbon-detail {
    position: absolute;
    width: 18.7%;
    left: 80%;
    top: 0%;
}

.updated-ribbon {
    position: absolute;
    width: 20%;
    left: 80%;
    top: 0%;
}

.updated-ribbon-list {
    position: absolute;
    width: 50%;
    left: 50%;
    top: 0%;
}

.updated-ribbon-detail {
    position: absolute;
    width: 18.7%;
    left: 80%;
    top: 0%;
}

.special-ribbon {
    position: absolute;
    width: 20%;
    left: 80%;
    top: 0%;
}

.special-ribbon-list {
    position: absolute;
    width: 50%;
    left: 50%;
    top: 0%;
}

.special-ribbon-detail {
    position: absolute;
    width: 18.7%;
    left: 80%;
    top: 0%;
}

/* Turbo progress bar */
.turbo-progress-bar {
    height: 10px;
    background-color: red;
}

/* Scaffolds.css - Basic form and error styling */
div.field,
div.actions {
    margin-bottom: 10px;
}

#notice {
    color: green;
}

.field_with_errors {
    padding: 2px;
    background-color: red;
    display: table;
}

#error_explanation {
    width: 450px;
    border: 2px solid red;
    padding: 7px 7px 0;
    margin-bottom: 20px;
    background-color: #f0f0f0;
}

#error_explanation h2 {
    text-align: left;
    font-weight: bold;
    padding: 5px 5px 5px 15px;
    font-size: 12px;
    margin: -7px -7px 0;
    background-color: #c00;
    color: #fff;
}

#error_explanation ul li {
    font-size: 12px;
    list-style: square;
}

/* Image header grid layout styles */
.image-header {
    display: grid;
    position: relative;

    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr;

    gap: 5px;
    height: 100%;

    padding: 0px 5px;
}

.large-photo {
    grid-row-start: 1;
    grid-column-start: 1;

    grid-row-end: 3;
    grid-column-end: 3;

    cursor: pointer;
}

.small-image-1 {
    grid-row-start: 1;
    grid-column-start: 3;

    grid-row-end: 2;
    grid-column-end: 4;

    cursor: pointer;
}

.small-image-2 {
    grid-row-start: 1;
    grid-column-start: 4;

    grid-row-end: 2;
    grid-column-end: 5;

    cursor: pointer;
}

.small-image-3 {
    grid-row-start: 2;
    grid-column-start: 3;

    grid-row-end: 3;
    grid-column-end: 4;

    cursor: pointer;
}

.unit_header {
    background-color: #0289b5;
}

.small-image-4 {
    grid-row-start: 2;
    grid-column-start: 4;

    grid-row-end: 3;
    grid-column-end: 5;

    cursor: pointer;
}

.small-image-4 .btn {
    position: absolute;
    top: 90%;
    left: 90%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    background-color: #555;
    color: white;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

/* Mobile responsive layout for image header */
@media (max-width: 756px) {
    .image-header {
        display: grid;
        position: relative;

        grid-template-rows: 1fr auto auto;
        grid-template-columns: 1fr 1fr;

        gap: 5px;

        padding: 0px 5px;
    }

    .large-photo {
        grid-row-start: 1;
        grid-column-start: 1;

        grid-row-end: 2;
        grid-column-end: 3;

        cursor: pointer;
    }

    .small-image-1 {
        grid-row-start: 2;
        grid-column-start: 1;

        grid-row-end: 2;
        grid-column-end: 2;

        cursor: pointer;
    }

    .small-image-2 {
        grid-row-start: 2;
        grid-column-start: 2;

        grid-row-end: 2;
        grid-column-end: 3;

        cursor: pointer;
    }

    .small-image-3 {
        grid-row-start: 3;
        grid-column-start: 1;

        grid-row-end: 3;
        grid-column-end: 2;

        cursor: pointer;
    }

    .small-image-4 {
        grid-row-start: 3;
        grid-column-start: 2;

        grid-row-end: 3;
        grid-column-end: 3;

        cursor: pointer;
    }

    .updated-ribbon-detail {
        width: 17%;
    }

    .new-ribbon-detail {
        width: 17%;
    }

    .special-ribbon-detail {
        width: 17%;
    }
}

/* Owner and guest table styling */
tr.owner td,
tr.owner-guest td {
    color: #0289b5 !important;
}

/* Google map label styling */
.ben-google-map-icon-label {
    margin-top: 64px;
    border: 1px solid #0289b5;
    padding: 2px;
    border-radius: 5px;
    background: #08b6c4;
    text-align: center;
    line-height: 20px;
    font-weight: bold;
    font-size: 14px;
    color: #fff;
    -webkit-filter: drop-shadow(2px 2px 2px #222222);
    filter: drop-shadow(2px 2px 2px #222222);
}

.tppterms {
    line-height: 12px;
    color: #888888;
}

body:not([data-sidebar-position="right"]) .navbar-align {
    margin-right: auto;
    margin-left: unset !important;
}

.vbox-child img {
    max-height: calc(100vh - 60px);
}

.dashboard .card-title {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.check-in-check-out {
    font-size: 14px;
}

/* Dashboard wrapper button styling */
#owners_wrapper,
#reservations_wrapper,
#statements_wrapper,
#documents_wrapper,
#availability_wrapper,
#blocks_wrapper {
    .btn.btn-secondary {
        margin-left: 5px;
        margin-right: 5px;
    }
}

/* Mobile calendar styling */
@media (max-width: 640px) {
    .fc-header-toolbar.fc-toolbar.fc-toolbar-ltr {
        font-size: 10px;
    }
    #calendar {
        min-height: 500px;
    }
    #fullcalendar {
        min-height: 500px;
    }
    #fullcalendar .gridcell {
        min-height: 35px;
    }
    main.content {
        padding-left: 6px;
        padding-right: 6px;
    }

    .fc .fc-daygrid-day-frame {
        min-height: 48px !important;
    }
}

/* Loader and spinner styles */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.75);
}

.spinner-border {
    display: block;
    position: fixed;
    z-index: 1031;
    top: 50%;
    right: 50%;
    margin-top: -50px;
    margin-right: -50px;
}

/* Vue calendar apps */
#vue-reservations-calendar #app,
#vue-availability-calendar #app,
#vue-blocks-calendar #app {
    max-width: 100%;
}

/* Calendar theme styling */
.theme-default .cv-item {
    background-color: #08b6c4 !important;
    color: #fff;
}

.theme-default .cv-item.open {
    background-color: #fff !important;
    color: #08b6c4;
    border-color: #08b6c4;
}

.dashboard .alert {
    padding: 10px;
}

/* Gallery grid layout */
.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
}

.image-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-top {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column: 1 / span 2;
}

img {
    width: 100%;
    height: auto;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-h {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 5px;
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.modal-footer-close {
    display: flex;
    justify-content: flex-end;
    padding-top: 10px;
}

button.close-modal {
    cursor: pointer;
}

/* Modal animations */
@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.modal.fade-in {
    animation: fade-in 0.3s;
}

.modal.fade-out {
    animation: fade-out 0.3s;
}
