#bookGrid {
    max-width: 1800px !important;
    margin: 0 auto !important;
}
#bookGrid *,
.inclusionHover *  {
    width: unset;
    height: unset;
    position: unset;
    background: unset;
    color: unset;
    font-size: unset;
    font-weight: unset;
    font-style: unset;
    border: unset;
    border-radius: unset;
    margin: unset;
    padding: unset;
    overflow: unset;
    box-shadow: unset;
    text-shadow: unset;
    text-align: unset;
    line-height: unset;
    vertical-align: unset;
    cursor: unset;
}
#bookGrid {
    font-size: 0.95em;
    font-weight: 500;
    box-sizing: border-box;
}
#bookGrid .displayGrid > table {
    width: 100%;
    position: relative;
}
/* Search Tools/ Filter */
#bookGrid .searchTools {
    background: #e6e6e6;
    padding: 15px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
#bookGrid .searchTools input,
#bookGrid .searchTools select,
#bookGrid .searchTools .checkIn .text {
    background: #f7f7f7;
    color: #000;
    height: 40px;
    min-width: 65px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    border: 1px solid #bbb;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
#bookGrid .searchTools input:hover,
#bookGrid .searchTools select:hover,
#bookGrid .searchTools .checkIn .text:hover {
    background: #fff;
    border-color: #333;
}
#bookGrid .searchTools .checkIn .text,
#bookGrid .searchTools #voucherCode {
    width: 200px;
}
#bookGrid .searchTools > div {
    margin: 0 8px;
}
#bookGrid .searchTools label {
    color: #000;
    margin-bottom: 8px;
}
/* Grid/Table Head */
#bookGrid .displayGrid thead {
    background: #00a7d0;
    color: #fff;
}
#bookGrid .displayGrid thead th {
    vertical-align: middle;
    text-align: center;
    padding: 12px;
}
#bookGrid .displayGrid thead th.maxGuests {
    max-width: 60px;
}
#bookGrid .displayGrid thead th.lhs {
    padding: 12px 16px;
    text-align: left;
}
#bookGrid .loadingBig {
    display: none !important;
}
/* Main Grid */
#bookGrid .displayGrid tbody > tr > td {
    padding: 5px 10px;
    border: 2px solid #fff;
    text-align: center;
    vertical-align: middle;
}
#bookGrid .displayGrid tbody > tr > td.planName .wrapper {
    display: flex;
    align-items: center;
}
#bookGrid .displayGrid tbody > tr > td.planName .wrapper b {
    display: inline-block;
    order: 2;
}
#bookGrid .displayGrid tbody > tr.roomHeader {
    cursor: pointer;
}
#bookGrid .displayGrid tbody > tr > td:not(.planName) {
    font-size: 0.92em;
}
#bookGrid .displayGrid tbody > tr:nth-of-type(odd) > td {
    background: #f1f1f1;
    color: #000;
}
#bookGrid .displayGrid tbody > tr:nth-of-type(even) > td {
    background: #fff;
    color: #000;
}
#bookGrid .displayGrid tbody > tr > td.planName {
    background: #cff2fb;
    color: #000;
    min-width: 22vw;
    padding: 10px 16px;
    text-align: left;
}
/* Images in Grid */
#bookGrid .displayGrid tbody > tr > td .roomImages img:not(:first-child) {
    display: none;
}
#bookGrid .displayGrid tbody > tr > td .roomImages img:first-child {
    width: 90px;
    height: 50px;
    object-fit: cover;
    cursor: pointer;
}
#bookGrid .displayGrid tbody > tr > td .roomImages img:first-child:hover {
    filter: brightness(70%);
}
#bookGrid .displayGrid tbody > tr > td .roomImages {
    display: inline-block;
    order: 1;
    margin-right: 10px;
}

/* Special */
#bookGrid .displayGrid tbody > tr.special > td.planName .wrapper b:after {
    content: '\01F336';
    margin-left: 5px;
    color: red;
    font-size: 1.1em;
    background: #FFF;
    padding: 6px;
    border-radius: 10px;
}

/* Collapsed Layout */
#bookGrid .displayGrid tbody > tr.roomHeader > td.planName {
    font-weight: bold;
}
#bookGrid .displayGrid tbody > tr.roomHeader > td.planName:hover {
    background: #abeafa;
}
#bookGrid .displayGrid tbody > tr.roomHeader.expanded > td.planName {
    background: #0487b1;
    color: #fff;
}
#bookGrid .displayGrid tbody > tr.roomcollapsible > td.planName {
    background: #eafaff;
}
/* Buttons */
#bookGrid .displayGrid tbody > tr > td.button {
    width: 150px;
    min-width: 150px;
    text-align: center;
    border-right: 0;
    text-transform: uppercase;
    padding: 0;
    font-size: 0.9em;
    position: relative;
}
#bookGrid .displayGrid tbody > tr > td.button a {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
#bookGrid .displayGrid tbody > tr > td.button a.bookable {
    background: #78a73f;
    color: #fff;
}
#bookGrid .displayGrid tbody > tr > td.button a.bookable:hover {
    background: #619027;
}
#bookGrid .displayGrid tbody > tr > td.button a.minNights {
    background: #926ead;
    color: #fff;
}
#bookGrid .displayGrid tbody > tr > td.button a.minNights:hover {
    background: #794e9a;
}
#bookGrid .displayGrid tbody > tr > td.button a.noBook {
    background: #666;
    color: #fff;
}
#bookGrid .displayGrid tbody > tr > td.button a:not(.bookable):not(.minNights):not(.noBook) {
    background: #00a7d0;
    color: #fff;
}
#bookGrid .displayGrid tbody > tr > td.button a:not(.bookable):not(.minNights):not(.noBook):hover,
#bookGrid .displayGrid tbody > tr.roomHeader.expanded > td.button a:not(.bookable):not(.minNights):not(.noBook) {
    background: #008eb1;
}
#bookGrid .displayGrid tbody > tr.voucher-unlocked > td.button a.nonConsec:before,
#bookGrid .displayGrid tbody > tr.voucher-unlocked > td.button a.bookable:before {
    content: '\1F513';
    float: left;
    font-size: 1.65em;
}
#bookGrid .displayGrid td.sold b.price {
    display: block;
    transform: rotate(-25deg);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.7em;
    opacity: 0.4;
}
#bookGrid .displayGrid tbody > tr.roomHeader.expanded > td.sold b.price {
    display: none;
}
#bookGrid .displayGrid td:not(.sold) b.price,
#bookGrid .displayGrid td:not(.sold) b.check {
    cursor: pointer;
}
#bookGrid .displayGrid td:not(.sold) b.check {
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3em
}
#bookGrid .displayGrid td:not(.sold) b.check:before {
    content: '\2610';
}
#bookGrid .displayGrid td:not(.sold) b.check:hover:before {
    color: #36ab5b;
}
#bookGrid .displayGrid td:not(.sold).selected b.check:before {
    content: '\2611';
    color: #36ab5b;
}
/* Calendar */
.wdDatePicker-Outer {
    margin-top: 5px;
}
.wdDatePicker-Outer .wdDatePicker_calendar thead select {
    padding: 5px 0 5px 10px !important;
    margin: 10px 80px 10px 30px !important;
    font-size: 1.1em !important;
}
.wdDatePicker-Outer .wdDatePicker_calendar th,
.wdDatePicker-Outer .wdDatePicker_calendar td {
    padding: 6px 12px !important;
}
.wdDatePicker-Outer #wdDatePicker-chronNav #wdDatePicker-previous,
.wdDatePicker-Outer #wdDatePicker-chronNav #wdDatePicker-next {
    top: 20px !important;
}
.wdDatePicker-Outer #wdDatePicker-chronNav #wdDatePicker-previous {
    left: 10px !important;
}
.wdDatePicker-Outer #wdDatePicker-chronNav #wdDatePicker-next {
    right: 10px !important;
}
/* Voucher Unlocked Message */
#wdOverlayContent div.voucher-unlocked {
    padding: 6px !important;
    width: 100% !important;
    height: auto !important;
    font-weight: bold !important;
}

/* Custom Prev/Next Date Selection */
@media (min-width: 768px) {
    /* Hide datepicker that's opened/closed via JS*/
    .resonlineLoading .wdDatePicker-Outer {
        display: none !important;
    }
    /* Loading spinner icon */
    .resonlineLoading #bookGrid tbody:before {
        content: '\25E0';
        font-size: 80px;
        line-height: 1;
        width: 90px;
        height: 100px;
        position: absolute;
        left: 50%;
        top: 50%;
        animation: spinLoading 0.5s linear infinite;
        display: flex;
        justify-content: center;
        opacity: 0.8;
    }
    @keyframes spinLoading {
        from {
            transform:rotate(0deg);
        }
        to {
            transform:rotate(360deg);
        }
    }
    /* Fade rates in grid while loading new dates */
    .resonlineLoading #bookGrid td.data {
        opacity: 0.2;
    }
    /* Prev/Next arrows */
    #bookGrid .displayGrid thead th.lhs,
    #bookGrid .displayGrid thead th.rhs {
        pointer-events: none;
        position: relative;
    }
    #bookGrid .displayGrid thead th.lhs:after,
    #bookGrid .displayGrid thead th.rhs:before {
        pointer-events: all;
        cursor: pointer;
        transition: all 0.25s ease-in-out;
        font-size: 40px;
        width: 40px;
        height: 40px;
        line-height: 0.8;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0,0,0,0.20);
        border-radius: 100%;
        text-align: center;
    }
    #bookGrid .displayGrid thead th.lhs:hover:after,
    #bookGrid .displayGrid thead th.rhs:hover:before {
        transform: translateY(-50%) scale(1.1);
        background: rgba(0,0,0,0.30);
    }
    /* Show arrows if enabled in widget */
    .enable_arrows #bookGrid .displayGrid thead th.lhs:after {
        content: "\2039";
        right: 15px;
    }
    .enable_arrows #bookGrid .displayGrid thead th.rhs:before {
        content: "\203A";
        left: 15px;
        padding-left: 4px;
    }
}

/* Mobile styles */
@media (max-width: 767px) {
    #bookGrid .displayGrid tbody > tr > td .roomImages {
        display: none;
    }
    #bookGrid {
        font-size: 0.9em;
    }
    #bookGrid .maxGuests,
    #bookGrid td.planName + td:nth-of-type(2):not(.button):not(.data):not(.sold) {
        display: none;
    }
    #bookGrid .displayGrid tbody > tr > td.planName {
        padding: 10px;
    }
    #bookGrid .searchTools {
        padding: 15px;
        justify-content: space-around;
    }
    #bookGrid .searchTools > div {
        margin: 8px 0;
    }
    #bookGrid .searchTools .nightStay,
    #bookGrid .searchTools .adults,
    #bookGrid .searchTools .children,
    #bookGrid .searchTools .multiRoom {
        width: 30%;
    }
    #bookGrid .searchTools .nightStay select,
    #bookGrid .searchTools .adults select,
    #bookGrid .searchTools .children select,
    #bookGrid .searchTools .multiRoom select {
        width: 100%;
    }
    #bookGrid .searchTools .checkIn,
    #bookGrid .searchTools .checkIn .text,
    #bookGrid .searchTools .currency,
    #bookGrid .searchTools .currency select,
    #bookGrid .searchTools .voucherCode,
    #bookGrid .searchTools #voucherCode {
        width: 100%;
    }
    /* If multiple rooms are enabled */
    #bookGrid .searchTools.multi-room .nightStay,
    #bookGrid .searchTools .nightStay select {
        width: 100%;
    }
}
