/* styles for J6V3 fare listing */
#remoteAvailablityDialog {
    display: none;
    background: #fff none repeat scroll 0 0;
    left: 0;
    margin-left: 10%;
    margin-top: 3%;
    padding: 20px;
    position: absolute;
    top: 0;
    width: 80%;
    z-index: 100001;
}

#remoteAvailablityDialog.noModal {
    display: block;
    position: relative;
    width: 100%;
    margin-left: auto;
}
.J6v3BookingDialog {
    display: none;
    z-index: 100002;
}

.J6v3BookingDialog .modal-header .alert {
    margin-bottom: 0;
}

.J6v3BookingDialog .modal-body {
    height: 450px;
    overflow-y: scroll;
    padding: 0;
    margin: 0;
    -webkit-overflow-scrolling: touch;
}
/* default iframe size for regular screen */
@media (max-width: 1910px) {
    /* a wider dialog */
    .J6v3BookingDialog {
        width: 1020px;
    }

    .J6v3BookingDialog iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }
}

/* full-hd screens can use some extra room */
@media (min-width: 1910px) {

    /* a wider dialog */
    .J6v3BookingDialog {
        width: 1224px;
    }
    .J6v3BookingDialog .modal-body {
        height: 650px;
        max-height: 650px !important;
        overflow-y: hidden;
    }

    .J6v3BookingDialog iframe {
        width: 1220px;
        height: 650px;
        border: 0;
    }
}

.booking-table.loading-currently {
    opacity: .5;
    filter: alpha(opacity=50);
    background: #fff
}

#remoteAvailablityDialog .success-message {
    font-weight: bold;
}

#remoteAvailablityDialog table.booking-table {
    display: table;
    width: 100%;
    max-width: 100%;
    clear: both;
}

#remoteAvailablityDialog table.booking-table tr {
    width: 100%;
    border-bottom: 1px solid #6F6F6F;
}

#remoteAvailablityDialog table.booking-table thead tr {
    border:none;
}

#remoteAvailablityDialog table.booking-table thead {
    background: #999 none repeat scroll 0 0;
    width: 100%;
    color: #fff;
}
#remoteAvailablityDialog table.booking-table thead th, table.booking-table tr td {
    padding: 10px;
    width: auto;
}

#remoteAvailablityDialog table.booking-table thead th:last-child, table.booking-table tr td:last-child {
    text-align: right;
}

#remoteAvailablityDialog .glyphicon-remove-circle {
    color: #999;
    float: right;
    font-size: 30px;
    margin-left: 20px;
    margin-right: -10px;
    margin-top: -10px;
}

#remoteAvailablityDialog table.booking-table thead th:first-child, table.booking-table tr td:first-child {
    text-align: left;
}
#remoteAvailablityDialog table.booking-table h4 {
    font-weight: bold;
}

#remoteAvailablityDialog .currency {
    font-size: 19px;
}

#remoteAvailablityDialog table.booking-table p.booking-details {
    color: #9b9b9b;
    margin-bottom: 5px;
}
#remoteAvailablityDialog h2 {
    background: #999 none repeat scroll 0 0;
    color: #fff;
    display: inline-block;
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: 0;
    padding: 2px 5px;
}

.CheckoutPage .booking-form-background {
    background: rgba(0, 0, 0, 0.7) none repeat scroll 0 0;
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100000;
}

#remoteAvailablityDialog .quantity {
    width: 100px;
}

@media (max-width: 576px) {
    #remoteAvailablityDialog {
        margin-left: 5%;
        padding: 10px;
        width: 100%;
    }
    #remoteAvailablityDialog table.booking-table thead th,
    #remoteAvailablityDialog table.booking-table tr td {
        padding: 5px;
    }
    #remoteAvailablityDialog .quantity {
        width: 60px;
    }
}

.CheckoutPage .cartquantity.has-error .j6CartQuantity,
.cartquantity.has-error .j6CartQuantity {
    border-color: #a94442;
}

.CheckoutPage .error {
    color: #a94442;
}