/* COMMON */

* {
    -webkit-overflow-scrolling: touch;
}
html, body {
    overflow: none;
    font-size: 16px;
}
.global_item {
    color: #0000FF;
}
.left {
    text-align: left;
}
.centered {
    text-align: center;
}
.bold {
    font-weight: bold;
}
.message {
    display: none;
    margin: 15px;
    padding: 13px 13px 13px 52px;
    background: url('/images/icon-check.gif') left no-repeat #EFA;
    background-position: 13px 5px;
    border: solid 1px #BD8;
}

/* MESSAGES */

#atb-place-booking-display-notices {
    font-size: 1.2em;
    color: #FF0000;
    padding: 5px;
}

/* LOADING BOX */

#atb-loading {
    clear: both;
    height: 100%;
    left: 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
}
#atb-loading-box {
    background-color: #FFF;
    border: 1px solid gray;
    border-radius: 5px;
    clear: both;
    color: #000;
    height: 50px;
    overflow: hidden;
    position: fixed;
    width: 300px;
    z-index: 2000;
}
#atb-loading-content {
    clear: both;
    margin-top: 10px;
    overflow: hidden;
    text-align: center;
}

/* HEADINGS */

h1 {
    font-size: 2em;
    color: #000;
}
h2 {
    font-size: 1.75em;
    color: #000;
}
h3 {
    font-size: 1.5em;
    color: #000;
}

/* TABLE GRIDS */

.header-row, .footer-row {
    clear: both;
    background-color: #0E6635;
    overflow: hidden;
}
.search-header-row, .search-footer-row {
    clear: both;
    background-color: #AAA;
    overflow: hidden;
}
.footer-row {
    margin: 0;
    color: #FFF;
    font-weight: bold;
}
.footer-row td {
    padding: 4px;
}


.header-cell {
    margin: 0;
    padding: 4px;
    font-weight: bold;
    color: #FFF;
    text-align: center;
}
.search-header-cell {
    margin: 0;
    padding: 4px;
    font-weight: bold;
    color: #FFF;
    text-align: left;
}
.grid-row {
    cursor: pointer;
}
.grid-row:nth-child(odd), .odd {
    background-color: #DCDCDC;
}
.grid-row:hover {
    border: 1px dashed #FF0000;
}
.grid-cell {
    margin: 0;
    padding: 2px;
}

/* COLOURS */

.red {
    color: #FF0000;
}
.green {
    color: #0E6635;
}

/* VISUAL CALENDAR */

#atb-visual-calendar-row .atb-visual-calendar-dates:first-of-type {
    margin-left: 10px;
    margin-right: 10px;
}
#atb-visual-calendar-row .atb-visual-calendar-dates:last-of-type {
    margin-right: 10px;
}
#atb-visual-calendar-row .atb-visual-calendar-dates {
    float: left;
    padding: 5px 5px 5px 5px;
    border: 1px solid #EFEBE6;
}
#atb-visual-calendar-row .atb-visual-calendar-month-name {
    display: block;
    padding-bottom: 2px;
    text-align: center;
    font-weight: bold;
    color: #000;
}
#atb-visual-calendar-row .atb-visual-calendar-dates table {
    margin: 0 auto;
}
#atb-visual-calendar-row .atb-visual-calendar-dates table td {
    width: 24px;
    height: 12px;
    padding: 2px 0;
    text-align: center;
}
#atb-visual-calendar-row .atb-visual-calendar-dates .atb-visual-calendar-days {
    background-color: #EBE7E4;
    font-weight: bold;
}
#atb-visual-calendar-row .atb-visual-calendar-dates .atb-visual-calendar-closed,
#atb-visual-calendar-row .atb-visual-calendar-dates .atb-visual-calendar-past {
    color: #888;
}
#atb-visual-calendar-row .atb-visual-calendar-dates .atb-visual-calendar-filler {
    color: #E8E8E8;
}
#atb-visual-calendar-row .atb-visual-calendar-dates .atb-visual-calendar-booked {
    font-weight: normal;
    cursor: pointer;
    background-color: #FF7878;
}
#atb-visual-calendar-row .atb-visual-calendar-dates .atb-visual-calendar-available {
    font-weight: normal;
    background-color: #90EE90;
}
#atb-visual-calendar-row .atb-visual-calendar-dates .atb-visual-calendar-start {
    font-weight: bold;
    background-color: #90EE90;
    cursor: pointer;
}
#atb-visual-calendar-row .atb-visual-calendar-button {
    float: left;
    cursor: pointer;
    margin-top: 30px;
}
#atb-visual-calendar-row .atb-selected-date {
    background-color: #058429 !important;
    color: #FFF;
}

/* CONTAINER */

#atb-container {
    width: 100%;
    height: 100%;
}

/* MISC */

.mandatory, .required {
    font-size: 1.4em;
    color: #FF0000;
}
.small {
    font-size: 0.8em;
}
.atb-thin-separator {
    clear: both;
    height: 15px;
    overflow: hidden;
}
.atb-separator {
    clear: both;
    height: 25px;
    overflow: hidden;
}
.atb-editable-cost-entry, .atb-editable-party-member-cost-entry {
    width: 50px;
    text-align: right;
}

/* BOOKING STEPS */

.atb-steps {
    clear: both;
    overflow: hidden;
    margin-bottom: 5px;
}
.atb-steps span {
    margin-right: 14px;
    padding: 2px 6px 2px 6px;
    text-decoration: none;
    width: 100%;
}

/* ADDONS */

/* .atb-cost-label {
    padding-top: 10px
} */
.btn {
    margin-top: 10px
}

/* SUMMARY PANE */

#atb-summary-label {
    cursor: pointer;
    background-color: #696969;
    border-radius: 6px 6px 0 0;
    height: 50px;
    margin: 0 auto;
    max-width: 260px;
    text-align: center;
    color: #FFF;
}
#atb-summary-label-text, #atb-summary-label-cost {
    float: left;
}
#atb-summary-label-text {
    padding: 5px 5px 0 0;
    font-size: 0.8em;
    width: 60%;
}
#atb-summary-label-cost {
    width: 40%;
    padding: 5px 10px 5px 10px;
    font-size: 1.4em;
    font-weight: bold;
    text-align: right;
}

/* BUTTONS */

.atb-place-booking-button-row button {
    cursor: pointer;
    color: #FFF;
    text-transform: uppercase;
    width: 80%;
}

/* AVAILABILITY */

.avail_grid_cell_date {
    width: 20px;
    height: 20px;
    font-weight: bold;
    text-align: center;
}
.avail_grid_unit_cell_blank {
    width: 205px;
    text-align: left;
}
.avail_grid_unit_cell {
    font-weight: bold;
    width: 200px;
    text-align: left;
}
.avail_grid_cell {
    cursor: pointer;
    width: 20px;
    height: 20px;
    text-align: center;
}
.avail_grid_cell_unavailable {
    background-color: #FF9797;
}
.avail_grid_cell_available1 {
    background-color: #B5FFC8;
    color: #808080;
}
.avail_grid_cell_available2 {
    background-color: #CAFFD8;
    color: #808080;
}
.avail_grid_cell_closed {
    background-color: #CCC;
    color: #B0B0B0;
}
.avail_grid_cell_marked {
    background-color: #FFCCCC;
}
.avail_grid_unmoveable {
    background-color: #FFA500;
}
.avail_grid_moveable {
    background-color: #FFFF00;
}
.avail_grid_checked_in {
    background-color: #9900FF;
}
.avail_grid_provisional {
    background-color: #008000;
}
.avail_grid_friends {
    background-color: #94DFFF;
}
.avail_grid_pending {
    background-color: #DDD;
}
.avail_grid_blocked {
    background-color: #B3C5D4;
}

/* BUTTONS */

.atb-place-booking-button-row {
    clear: both;
    display: none;
    overflow: hidden;
}

/* HEADER */

#atb-header-business-name {
    font-size: 1.8em;
    font-weight: bold;
}
#atb-header-address {
    font-size: 1.3em;
}
#atb-header-phone {
    font-size: 1.8em;
    font-weight: bold;
}

/* FOOTER */

#atb-footer {
    margin-top: 40px;
    padding: 10px;
    border-top: 1px solid #CBD7C6;
}
#atb-footer-copyright {
    color: #333;
    font-size: 0.8em;
    line-height: 1.4em;
    margin-bottom: 40px;
    text-align: center;
    border-top: 1px solid #CBD7C6;
}
#atb-footer-inner {
    padding-top: 10px;
}
#atb-footer-copyright a {
    color: #004926;
    text-decoration: none;
}
#atb-container #atb-footer {
    min-height: auto;
}

/* CHANGE PASSWORD */

#password_result .short {
    color: #FF0000;
}
#password_result .weak {
    color: #E66C2C;
}
#password_result .good {
    color: #2D98F3;
}
#password_result .strong {
    color: #006400;
}

/* BOOTSTRAP OVERRIDES */

.container-fluid {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}
.row {
    margin-left: 0;
    margin-right: 0;
}
.col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    min-height: 1px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 5px;
    position: relative;
}
label {
    margin-bottom: 0;
}

/* Start - Darren Stevens */

    #atb-main-pane, #atb-summary {
        float: none;
        width: 100%;
    }
    #atb-main-pane {
        border: 1px dashed #CCC;
    }
    .atb-pane {
        padding: 10px;
    }
    #atb-header-content {
        border-bottom: 0;
    }
    #atb-content {
        background-color: inherit;
        min-height: auto;
    }
    #atb-main-pane .row {
        margin-bottom: 6px;
    }
    #atb-main-pane .row:last-child {
        margin-bottom: 0;
    }
    #atb-main-pane .row .atb-step1-label-container {
        height: 26px;
        line-height: 26px;
    }
    #atb-main-pane,
    #atb-summary {
        margin: 0;
        padding: 0;
    }
    #atb-main-inner-pane {
        padding: 15px;
    }
    #atb-summary {
        top: auto;
        min-height: auto;
        -webkit-transition: all 0.2s ease;
        -moz-transition: all 0.2s ease;
        transition: all 0.2s ease;
        bottom: 0;
        height: 40px;
        left: 0;
        overflow: hidden;
        width: 100%;
        min-height: 0;
    }
    #atb-summary .atb-heading {
        background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
        border-bottom: 1px solid #FFF;
        color: #FFF;
        cursor: initial;
        font-size: 1.2em;
        margin: 0 0 5px;
        padding: 0 0 5px;
    }
    #atb-summary .atb-thin-separator {
        border-top: 1px dotted #CCC;
        clear: both;
        height: 0;
        margin-bottom: 10px;
        margin-top: 10px;
        overflow: hidden;
    }
    .cbp-spmenu {
        position: fixed;
    }
    .cbp-spmenu-horizontal {
        width: 100%;
        height: 200px;
        left: 0;
        z-index: 1;
        overflow: hidden;
    }
    #atb-summary.cbp-spmenu-bottom.cbp-spmenu-open {
        bottom: 0;
        color: #FFF;
    }
    .cbp-spmenu-bottom #atb-summary-inner {
        clear: both;
        background-color: #696969;
        /* overflow-y: scroll; */
        overflow-x: hidden;
        padding: 15px;
        position: relative;
        z-index: -1;
    }
    .cbp-spmenu-open #atb-summary-inner {
        box-shadow: 0 2px 10px #696969;
    }
    .cbp-spmenu {
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }
    .atb-summary-section {
        margin-bottom: 20px;
    }
    #atb-main-pane .atb-steps {
        margin-top: 0;
    }
    #atb-main-pane .atb-steps a {
        float: left;
        color: #004926;
        border-radius: 2px 2px 0 0;
        margin-right: 0;
        height: auto;
    }
    #atb-special-requirements-row textarea,
    #atb-initial-notes-housekeeping-row textarea,
    #atb-initial-notes-admin-row textarea,
    #atb-initial-notes-customer-row textarea {
        width: 100%;
        height: 80px;
    }
    #atb-existing-customer,
    #atb-new-customer {
        background: #F9F9F9 none repeat scroll 0 0;
        border: 1px dotted #CCC;
        border-radius: 2px;
        margin: 0 auto 20px;
        max-width: 400px;
        padding: 15px;
    }
    #atb-new-customer {
        margin-bottom: 0;
    }
    #atb-existing-customer h3,
    #atb-new-customer h3 {
        font-size: 1em;
        line-height: 1em;
        margin: 0 0 15px;
        padding: 0;
        color: #004926;
    }
    #atb-party-details-content {
        border-bottom: 1px solid #CCC;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    #atb-main-pane .atb-booking-button-bar {
        text-align: right;
    }
    #atb-main-pane #atb-terms {
        margin-right: 20px;
    }
    #atb-container #atb-summary .cbp-spmenu {
        position: fixed;
    }
    #atb-container #atb-summary .cbp-spmenu-horizontal {
        width: 100%;
        height: 200px;
        left: 0;
        z-index: 1000;
        overflow: hidden;
    }
    #atb-container #atb-summary .cbp-spmenu-bottom {
        bottom: -150px;
    }
    #atb-container #atb-summary .cbp-spmenu-bottom.cbp-spmenu-open {
        bottom: 0px;
        color: #FFF;
    }
    #atb-container #atb-summary .cbp-spmenu-bottom > div {
        background: #f00;
        height: 150px;
        overflow: scroll;
        padding: 10px;
        position: relative;
    }
    #atb-container #atb-summary .cbp-spmenu {
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }
    #atb-loading-background {
        position: absolute;
        background: rgba(0,0,0,0.6) none repeat scroll 0 0;
        height: 100%;
        top: 0;
        width: 100%;
        display: none;
        z-index: 1;
    }
    #atb-main-pane #atb-unit-grid-content label.small {
        color: #666;
    }
    #atb-unit-grid-content .atb-time-slot-types {
        display: inline-block;
        margin: 0 auto;
    }
    #atb-unit-grid-content .atb-time-slot-type-item.atb-booking-button {
        cursor: pointer;
        float: left;
        padding: 5px;
        text-align: center;
        min-width: auto;
        background-color: #339966;
        border: 0 none;
        border-radius: 4px;
        color: #FFF;
        font-size: 0.7em;
        font-weight: normal;
        padding: 4px 8px;
        width: auto;
        margin-bottom: 5px;
    }
    #atb-unit-grid-content .atb-time-slot-type-item.atb-booking-button:hover,
    #atb-unit-grid-content .atb-time-slot-type-item.atb-booking-button.atb-time-slot-type-selected {
        background-color: #006735;
    }
    #atb-visual-calendar-row .atb-visual-calendar-month-name {
        color: #006735;
    }
    #atb-visual-calendar-row .atb-selected-date {
        border-radius: 2px;
    }
    #atb-visual-calendar-row .atb-visual-calendar-dates {
        border: 1px solid #CCC;
        background: #FFF none repeat scroll 0 0;
        float: none;
    }
    #atb-visual-calendar-row .atb-visual-calendar-dates:first-of-type {
        margin-left: 0;
        margin-right: 0;
    }
    #atb-visual-calendar-row .atb-visual-calendar-dates:first-of-type,
    #atb-visual-calendar-row .atb-visual-calendar-dates:last-of-type {
        margin: 10px 0;
    }
    #atb-visual-calendar-row .atb-visual-calendar-button {
        float: none;
        border: 0;
        border-radius: 4px;
        background-color: #339966;
        color: #FFF;
        margin-top: 10px;
    }
    #atb-visual-calendar-row .atb-visual-calendar-button:hover {
        border-radius: 4px;
        background-color: #006735;
    }

    /*------------------------------------*\
        Media Queries - Responsive
    \*------------------------------------*/

    @media only screen and (max-width:767px) {
        /* buttons */
        #atb-step2-previous-button {
            width: 45%;
            float: left;
            margin-left: 10px;
        }
        #atb-step2-next-button {
            width: 45%;
            float: right;
            margin-right: 10px;
        }
        #atb-step3-previous-button {
            width: 45%;
            float: left;
            margin-left: 10px;
        }
        #atb-step3-next-button {
            width: 45%;
            float: right;
            margin-right: 10px;
        }
        #atb-booking-choice-yes {
            width: 45%;
            float: left;
            margin-left: 10px;
        }
        #atb-booking-choice-no {
            width: 45%;
            float: right;
            margin-right: 10px;
        }
        #atb-step3a-previous-button {
            width: 45%;
            float: left;
            margin-left: 10px;
        }
        /* Mobile calendar overrides */
        #atb-visual-calendar-row .atb-visual-calendar-dates table td {
            width: 40px;
            height: 40px;
            padding: 2px 0;
            text-align: center;
        }
        #atb-visual-calendar-row .atb-visual-calendar-button {
            padding: 7px;
        }
        #atb-visual-calendar-next-month {
            float: right !important;
            margin-right: 7px !important;
        }
        .btn {
            width: 100%;
            margin: 0 auto;
        }
        /* Other overrides */
        .atb-body.container {
            padding-left: 0;
            padding-right: 0;
            height: 100%;
        }
        .atb-body.container > .row,
        .atb-body.container > .row > .col-sm-12 {
            height: 100%;
        }
        #atb-container #atb-header-content {
            padding: 0;
            width: 100%;
            position: relative;
            font-size:1.2em;
        }
        #atb-header-content #atb-logo-mobile {
            font-size: 1.2em;
            border-bottom: 1px solid #CCC;
            padding-top:2px;
            min-height:36px;
        }
        #atb-header-content #atb-logo-mobile img {
            max-width: 150px;
            max-height: 31px;
        }
        #atb-header-content #atb-logo-desktop {
            display: none;
        }
        #atb-header-content #atb-process {
            top:0;
            position: absolute;
            right: 0;
        }
        #atb-header-content #atb-process ul,
        #atb-header-content #atb-process li {
            margin: 0;
            padding: 0;
            list-style: none;
        }
        #atb-header-content #atb-process li {
            background-color: #696969;
            border-bottom: 1px solid #696969;
            border-left: 1px solid #696969;
            color: #FFF;
            float: left;
            /*height: 31px;
            line-height: 30px;*/
            position: relative;
            text-align: center;
            width: 30px;
            font-size:1.2em;
            padding:3px;
        }
        #atb-header-content #atb-process li:first-child {
            border-left: 0;
        }
        #atb-header-content #atb-process li.atb-selected {
            background: #E0E0E0;
            border-bottom: 1px solid #E0E0E0;
            border-left: 0 none;
            color: #000;

        }
        #atb-header-content #atb-process li.atb-selected:nth-child(1n+2) {
            border-left: 1px solid #004926;
        }
        #atb-container #atb-footer-copyright {
            font-size: 0.6em;
            line-height: 1.4em;
            display: none;
        }
        #atb-main-pane .atb-active-step {
            background-color: #696969!important;
            color: #FFF;
        }
    
        #atb-step1,
            #atb-step2,
            #atb-step3,
            #atb-step4,
            #atb-step5 {
                display: block;
        }
        #atb-main-pane .atb-completed-step {
            background-color: #006735;
            color: #FFF;
        }
        #atb-main-pane .atb-steps {
            background-color: #E0E0E0;
            border-radius: 2px;
        }
        .atb-future-step {
            display:none;
        }
        .atb--step {
            border-bottom: 1px solid #CBD7C6;
            padding: 10px;
            background-color: #E9F3E5;
        }
        #atb-content {
            overflow-y: scroll;
            /*max-height: 550px;*/
        }
    }

    @media only screen and (min-width:768px) {
        #visual_calendar_row .visual_calendar_button {
            float: left;
            margin: 100px 0 0;
        }
        #visual_calendar_row .visual_calendar_dates {
            float: left;
        }
        #visual_calendar_row .visual_calendar_dates:first-of-type,
        #visual_calendar_row .visual_calendar_dates:last-of-type {
            margin: 10px;
        }
        #atb-container {
            background-color: #FFF;
        }
        #atb-container #atb-header-content {
            margin-bottom: 20px;
        }
        #atb-header-content #atb-logo-mobile {
            display: none;
        }
        #atb-header-content #atb-logo-desktop {
            display: block;
            border-bottom: 0;
        }
        #atb-header-content #atb-logo-desktop a {
            display: block;
            margin: 0;
        }
        #atb-header-content #atb-logo-desktop img {
            padding: 0;
        }
        #atb-container #atb-summary {
            position: relative;
            height: auto;
            bottom: 0;
            left: 0;
        }
        #atb-container #atb-summary .atb-heading {
            width: 100%;
            height: auto;
            display: block;
            padding: 2px 2px 2px 0;
            text-align: left;
            border-bottom: 1px solid #696969;
            color: #696969;
            line-height: normal;
            font-size: 1.1em;
            margin: 0 0 5px;
            overflow: hidden;
        }
        #atb-container #atb-summary-inner {
            display: block;
            background: none;
            height: auto;
            overflow: inherit;
            border: 1px dashed #CCC;
            border-radius: 2px;
        }
        .cbp-spmenu-horizontal {
            height: auto;
        }
        #atb-summary-label {
            display: none;
        }
        #atb-summary-place-booking.atb-summary-section {
            margin-bottom: 0;
            margin-top: 15px;
        }
        .atb-active-step {
            border-bottom: 0;
            padding: 0;
        }
        #atb-main-pane .atb-steps {
            background-color: #E0E0E0;
            border-radius: 2px;
        }
        #atb-main-pane .atb-active-step {
            background-color: #696969;
            color: #FFF;
        }
        #atb-main-pane .atb-completed-step {
            background-color: #006735;
            color: #FFF;
        }
        #atb-header-content #atb-process {
            display: none;
        }
        #atb-step1, #atb-step2, #atb-step3 {
            display: block;
        }
        #atb-footer {
            margin-top: 40px;
            padding: 10px 0;
        }
        #atb-footer-copyright {
            text-align: left;
            margin-top: 0;
            margin-bottom: 0;
        }
    }


/* Finish - Darren Stevens */

/* Stripe book now page */

.stripe {
    margin-right: auto;
    margin-left: auto;
    width: 50%;
    text-align: center;
}
.stripe img {
    width: 200px;
}


/* End Stripe*/

#bookings_container{
    background-color: rgba(102, 102, 102, 0.493)
}

.booking_container_body:first-child{
    border: solid 1px;
}
.booking_container_body:last-child{
    border-bottom: solid 1px;
}

.booking_container_body:nth-child(4n-1), .booking_container_body:nth-child(4n-2) {
    background:#fff;
    border-left: solid 1px;
    border-right: solid 1px;
}
.booking_container_body:nth-child(4n-2){
border-top: solid 1px;
}
.booking_container_body{
    padding: 7px;
}
.bookings-header {
    background-color: rgba(102, 102, 102, 0.815)!important;
    color: white;
    padding: 7px;
    font-size: 1.2em;
    border-bottom: solid 1px;
}   
#counter{
    font-weight: 600
  }

