/* ==========================================================================
   Widget - Calendar 1 - 3
   ========================================================================== */

#atb_calendar_container {
    clear: both;
    width: 100%;
    overflow: hidden;
}
#atb_anytime {
    max-width: 620px;
}
.atb_calendar_container {
    position: relative;
    clear: both;
    padding: 0;
    max-width: 182px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}
.atb_calendar_content {
    float: left;
    margin-right: 5px;
    margin-bottom: 5px;
    border: 1px solid #e9e9e9;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    padding: 3%;
    width: 93%;
    min-height: 205px;
}
.atb_calendar_month {
    clear: both;
    display: block;
    background: none repeat scroll 0 0 #2E2E2F;
    color: #FFF;
    text-align: center;
    padding: 7px 0 5px;
    font-size: 14px;
    line-height: 14px;
    overflow: hidden;
}
.atb_calendar_content .cell {
    position: relative;
    float: left;
    height: 24px;
    line-height: 24px;
    padding-top: 0;
    width: 14.28571428571429%;
    text-align: center;
    font-size: 14px;
}
#atb_prev,
#atb_next {
    margin: 0 10px 0 0;
    overflow: hidden;
}
#atb_prev:hover,
#atb_next:hover {
    cursor: pointer;
	text-decoration: underline;
}
#atb_prev {
    float: left;
}
#atb_next {
    float: right;
}

/* Availability colour styles */

.atb_calendar_content .filler {
    background: #e6e6e6;
    color: #e1e1e1;
}
.atb_calendar_content .closed {
    background: #fa8072;
    color: #444;
}
.atb_calendar_content .past {
    background: #fa8072;
    color: #444;
}
.atb_calendar_content .call {
    background: #AA0;
    color: #000;
}
.atb_calendar_content .booked {
    background: #FA8072;
    color: #444;
}
.atb_calendar_content .limited {
    background: #ECE5B6;
    color: #444;
}
.atb_calendar_content .available {
    background: #BDECB6;
    color: #444;
}
.atb_calendar_content .provisional {
    background: #FFB347;
    color: #444;
}
.atb_calendar_content .start {
    color: #000;
    cursor: pointer;
    font-weight: bold;
}
.atb_calendar_content .selection {
    background: #2998d1;
    color: #fff;
}

/* Calendar Content Styles */

.atb_calendar_content .week_start {
    clear: both;
    overflow: hidden;
}
.atb_calendar_content .month {
    height: 20px;
    font-size: 14px;
}
.atb_calendar_content .days {
    clear: both;
    background: #888;
    color: #FFF;
    font-size: 14px;
    overflow: hidden;
}
.atb_calendar_content .date_number {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 24px;
}
.atb_calendar_content .background_border {
    position: absolute;
    z-index: 1;
}

/* Selection Data styles */

#atb_selection-data {
    padding: 10px;
    margin: 0px;
    border: 1px solid #E9E9E9;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    overflow: hidden;
}
#atb_category_selection {
    display: block;
    margin: 0px;
    margin-bottom: 10px;
    padding: 0px;
    margin: 5px 0px 5px 2px;
    font-size: 14px;
    min-width: 300px;
}
#atb_unit_selection {
    display: block;
    margin: 0px;
    margin-bottom: 10px;
    padding: 0px;
    margin: 5px 0px 5px 2px;
    font-size: 14px;
    min-width: 300px;
}
#atb_loading p {
    padding: 0px;
    margin: 0px;
    margin-bottom: 10px;
}
#atb_reset-selection,
#atb_booknow {
    position: relative;
    display: block;
    float: left;
    margin: 0px 5px 0px 0px;
    padding: 5px 10px;
    width: auto;
    max-width: 200px;
    min-width: 100px;
    border: 1px solid #2998d1;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background: #2998d1;
    -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
    -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
    color: #FFF;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    line-height: 1em;
    cursor: pointer;
}
#atb_reset-selection:hover,
#atb_reset-selection:focus,
#atb_booknow:hover,
#atb_booknow:focus {
    background-color: #1579ad;
    color: white;
}
#atb_reset-selection:active,
#atb_booknow:active {
    -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2) inset;
    -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2) inset;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2) inset;
}

/* no-js */

.no-js {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

.atb_calendar_content .available.last_cell .background_border {
    border-color: transparent #fa8072 #fa8072 transparent;
    border-style: solid;
    border-width: 24px 24px 0 0;
    height: 0;
    width: 0;
}
.atb_calendar_content .available.last_cell_provisional .background_border {
    border-color: transparent #ffb347 #ffb347 transparent;
    border-style: solid;
    border-width: 24px 24px 0 0;
    height: 0;
    width: 0;
}
.atb_calendar_content .available.first_cell .background_border {
    border-color: transparent transparent transparent #fa8072;
    border-style: solid;
    border-width: 0 0 24px 24px;
    height: 0;
    width: 0;
}
.atb_calendar_content .available.first_cell_provisional .background_border {
    border-color: transparent transparent transparent #ffb347;
    border-style: solid;
    border-width: 0 0 24px 24px;
    height: 0;
    width: 0;
}
.atb_calendar_content .provisional.first_cell_booked .background_border {
    border-color: transparent transparent transparent #fa8072;
    border-style: solid;
    border-width: 0 0 24px 24px;
    height: 0;
    width: 0;
}
.atb_calendar_content .booked.first_cell_provisional .background_border {
    border-color: transparent transparent transparent #ffb347;
    border-style: solid;
    border-width: 0 0 24px 24px;
    height: 0;
    width: 0;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 600px) {
    .atb_calendar_container {
        max-width: 590px;
        position: relative;
        clear: both;
        margin: 0;
        padding: 0;
        overflow: hidden;

    }

	.atb_calendar_content {
        margin-left: 4px;
	    margin-right: 5px;
        margin-bottom: 5px;
        width: auto;
        padding: 8px;
	}
    .atb_calendar_content .cell {
        float: left;
        height: 24px;
        padding-top: 0;
        min-width: 24px;
        max-width: 24px;
        text-align: center;
        font-size: 14px;
    }
}

.atb_clearfix:before,
.atb_clearfix:after {
    content: " ";
    display: table;
}
.atb_clearfix:after {
    clear: both;
}
.atb_clearfix {
    *zoom: 1;
}