﻿/* Availability page styles (moved out of availability.aspx) */

/* Banner scroller: absolute positioning needed for Safari on Mac */
#newbanner > div {
    position: absolute;
}

/*--------Notes box---------*/
.box_notes {
    width: 100%;
    min-height: 520px;
    overflow: visible;
    padding: 5px;
    border: 1px solid #e0e0e9;
    margin-top: 40px;
    margin-bottom: 0;
    margin-left: 10px;
    font-size: small;
}

#Box_notes_wrapper1 {
    position: relative;
}

.notehdg {
    position: relative;
    left: 0;
    background-color: #505d42;
    color: white;
}

.boxnotesprices {
    position: relative;
    padding-top: 5px;
}

.boxnotes {
    font-size: xx-small;
    padding-top: 5px;
}

/*--------Calendar layout---------*/
.column {
    float: left;
    width: 30%;
    padding: 0 20px;
}

.columnothermonths {
    float: left;
    width: 1%;
    min-height: 1px;
    padding: 0 20px;
}
/* min-height: an empty column must still take up its space */
.row:after {
    content: "";
    display: table;
    clear: both;
}

.calendar {
    --accent: #2563eb;
    margin: 0 auto;
    font-family: system-ui, sans-serif;
}

.propertyname {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px 0;
    font-size: 1.0rem;
    font-weight: 700;
    color: #008000;
}

.calendar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
}

.day-name {
    padding: 0.5rem 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
}

/*--------Calendar days---------*/
.day {
    padding: 0.6rem 0;
    font-size: 0.8rem;
    border-radius: 3px;
    background: #78be21;
}

.startdate,
.startdateoffer {
    padding: 0.6rem 0;
    font-size: 0.95rem;
    border-radius: 6px;
    background: #008000;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.startdateoffer {
    animation: blink 1200ms infinite;
}

    .startdate:hover,
    .startdateoffer:hover {
        font-weight: 900;
    }

    .startdate:focus-visible,
    .startdateoffer:focus-visible {
        outline: 3px solid var(--accent);
        outline-offset: 1px;
    }

.isbooked {
    padding: 0.6rem 0;
    font-size: 0.8rem;
    border-radius: 3px;
    background: #BEBEBE;
    color: #fff;
    font-weight: 300;
    cursor: url('/assets/images/misc/booked-cursor.jpg') 0 0, auto;
}

@keyframes blink {
    0%, 49.9% {
        color: #fff;
    }

    50%, 99.9% {
        color: red;
    }
}

.specialprice {
    color: red;
    font-weight: bold;
}

/*--------Previous / Next---------*/
.othermonths {
    white-space: nowrap;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 20px;
}

#next {
    position: relative;
    left: -50px;
    top: 11px;
}

#previous {
    position: relative;
    left: 0;
    top: 11px;
}

a:hover, a:visited, a:link, a:active {
    text-decoration: none;
}

/*--------Key in the notes box---------*/
.explainer {
    width: 30px;
    height: 30px;
    margin-top: 5px;
    border-radius: 3px;
    font-family: system-ui, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    padding: 6px 9px 8px 7px;
}

.explainertext {
    width: 200px;
    font-family: system-ui, sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    padding-top: 6px;
    padding-left: 10px;
    color: black;
}

#stDt, #stDtOffer {
    background: #008000;
}

#stDtOffer {
    animation: blink 1200ms infinite;
}

#dyAvail {
    background: #78be21;
}

#bkd {
    background: #BEBEBE;
}

/*--------Price box---------*/
#pricedialog {
    padding: 0;
    border: 2px solid black;
    border-radius: 15px;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
}

    #pricedialog::backdrop {
        background: rgba(0, 0, 0, 0.3);
    }

.pricedialog-body {
    padding: 0.8rem 1rem;
    text-align: right;
}

.pricedialog-date {
    margin-bottom: 0.8rem;
}

.pricedialog-line {
    margin-top: 0.2rem;
}

.pricedialog-actions {
    margin: 0.3rem 0 0.6rem 0;
}

    .pricedialog-actions a {
        display: inline-block;
        margin-left: 0.5rem;
        padding: 0.25rem 0.6rem;
        border-radius: 6px;
        font-weight: 600;
    }

.booknow, .booknow:link, .booknow:visited {
    background: #008000;
    color: #fff;
}

.enquire, .enquire:link, .enquire:visited {
    background: #fff;
    color: #008000;
    border: 1px solid #008000;
}

.pricedialog-close {
    margin-top: 0.8rem;
    font: inherit;
    cursor: pointer;
}
