
.ng_cal_dates_tr td {
    width: 39px;
    height: 39px;
}

.ng_cal_day_name_td {
    border: 1px solid #fff;
}
.listing-details #tc_date_picker .ng_cal_date_off,
.listing-details #tc_date_picker .ng_cal_selected_date {
    z-index: 1;
    position: relative;
    border-bottom: 1px solid #27ae60;
}

.listing-details #tc_date_picker .ng_cal_date_off.paid_day {
    /*border-bottom-color: #FBFBE0;
    border-top: 1px solid #000;
    border-left: 1px solid #FFBB45;*/
    border: 0;
}
.listing-details #tc_date_picker .ng_cal_selectable {
    border: 0;
}

.listing-details #tc_date_picker .ng_cal_range_off.first:before,
.listing-details #tc_date_picker .ng_cal_date_off:before {
    content: "";
    width: 0;
    height: 0;
    border-top: 0 solid transparent;
    border-bottom: 38px solid transparent;
    border-left: 38px solid #27ae60;
    position: absolute;
    top: -1px;
    left: 0!important;
    z-index: -1;
}


.listing-details #tc_date_picker .ng_cal_date_off:before {
    top: 0;
    left: 0px!important;
}

@-moz-document url-prefix() {
    .listing-details #tc_date_picker .ng_cal_date_off:before {
        top: -1px;
        left: -1px!important;
    }
}

.listing-details #tc_date_picker .paid_day.ng_cal_date_off:before {
    top: -1px;
}

.listing-details #tc_date_picker .ng_cal_selected_date.ng_cal_range_off.first:before {
    border-top: 0px solid transparent;
    border-bottom: 38px solid #FFBB45;
    border-left: 36.5px solid #27ae60;
    border-right: 0 solid transparent;
    z-index: -1;
    top:0;
}

.listing-details #tc_date_picker .ng_cal_selected_date.ng_cal_range_off.first.last:before {
    border-bottom: 39px solid #FBFBE0;
}

.listing-details #tc_date_picker .ng_cal_date_off.paid_day:before {
    border-left: 38px solid #FFBB45;
    border-bottom: 38px solid #FBFBE0;
    z-index: -1;
    top: 0;
}


.listing-details #tc_date_picker .ng_cal_selected_date.first:before {
    content: "";
    width: 0;
    height: 0;
    border-top: 39px solid transparent;
    border-bottom: 0px solid transparent;
    border-right: 36.5px solid #27ae60;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.listing-details #tc_date_picker .ng_cal_selected_date.first:first-of-type:before {
    left: 1px;
}

.ng_cal_out_of_range ~ .ng_cal_selected_date.first:before {
    top: 0!important;
}

.listing-details #tc_date_picker .ng_cal_selected_date.first,
.listing-details #tc_date_picker .ng_cal_date_off {
    background: transparent;
    z-index: 1;
    position: relative;
}

.listing-details #tc_date_picker .ng_cal_selected_date.ng_cal_range_off.first {
    background: #FFBB45;
}

.listing-details #tc_date_picker .ng_cal_range_off.first:last-child:before {
    border-right: 0!important;
    border-left: 37px solid #27ae60;
}

.listing-details #tc_date_picker .ng_cal_range_off.last:before {
    content: "";
    width: 0;
    height: 0;
    border-top: 39px solid transparent;
    border-bottom: 0px solid transparent;
    border-right: 39px solid #FBFBE0;
    position: absolute;
    top: 0px;
    left: 0;
    z-index: -1;
}

.listing-details #tc_date_picker .ng_cal_date_off:last-child:before {
    border-right: 0!important;
    border-left: 37px solid #27ae60;
}

#tcdatepicker table tbody tr:nth-child(even) {
    background: transparent;
}

.ng_cal_year_td, .ng_cal_left_month_td, .ng_cal_right_month_td {
    padding: 15px 10px;
}

ul.square {
    list-style-type: none;
    margin-left: 0;
}

dl.square dd, dl.square dt {
    font-size: 16px;
}

.square dd:before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 1px solid #000000;
    margin-right: 5px;
    margin-top: 5px;
}

.square dd.green:before {
    background: #27ae60;
}

.square dd.orange:before {
    background: #FBFBE0;
}
.square dd.orange-selected:before {
    background: #FFBB45;
}
.row.date-legend {
    margin-top: 20px;
}
.date-legend .columns {
    padding-right: 0;
}

.ng_cal_date_off.available_paid_day {
    background: #FBFBE0!important;
}
