/* 
    Created on : 31-Aug-2016, 14:39:20
    Author     : ademir
*/
/* not switched to scss */

/*HALF DATES START*/
.start, .end {
  background: none;
  padding: 0;
  height: 25px;
  z-index: 1;
  position: relative;
}
.start::before, .end::before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  right: 0;
  z-index: -300;
}
.start::before {
  border-bottom: 34px solid transparent;
  border-left: 36px solid #e5e5e5;
}

.end::before {
  border-top: 34px solid transparent;
  border-right: 36px solid #e5e5e5;
}
/*HALF DATES END*/

.calendar-header {
    padding: 10px;
    z-index: 50;
}
.home-calendar-table .month-title {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}
.home-calendar-table table tr td, 
.home-calendar-table table tr th {
    text-align: center;
    width: 14%;
    table-layout: fixed;
    position: relative;
}
.home-calendar-table table tr td:not(.disabled-date), 
.home-calendar-table table tr th:not(.disabled-date) {
    cursor: pointer;
}
.highlighted-edge,
.calendar-header {
    color: #fff;
}
.highlighted-start::after,
.highlighted-end::before {
    content: "";
    top: 0;
    bottom: 0;
    position: absolute;
    z-index: 1;
}
.highlighted-start::after {
    border-left: 8px solid #10a84a;
    right: 0;
}
.highlighted-end::before {
    border-right: 8px solid #10a84a;
    left: 0;
}
.highlighted {
    background-color: #78dda1;
    color: #fff;
}
.highlighted-start::after,
    .highlighted-end::before {
        border-top: 17px solid #78dda1;
        border-bottom: 16px solid #78dda1;
    }
    .highlighted-start.only-selected::after,
    .highlighted-end.only-selected::before {
        border-top: 17px solid #fff;
        border-bottom: 16px solid #fff;
    }
.months-wrap {
    background-color: #fff;
    z-index: 1000;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    transform: translate3d(0,0,0);
}
.travel-dates {
    text-align: left;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 14px;
}
.availability-calendar .disabled-date, .small-cal .disabled-date {
    color: #333;
    background-color: #ebebeb;
}
.availability-calendar .disabled-date:empty, .availability-calendar .start:empty:before, .availability-calendar .end:empty:before,
.small-cal .disabled-date:empty, .small-cal .start:empty:before, .small-cal .end:empty:before {
    background-color: #fff;
    border: none;
}
.clear-dates {
    color: #106fa9;
    margin-right: 0;
    cursor: pointer;
    font-family: Tahoma, Geneva, sans-serif;
}
.small-cal .clear-dates {
    margin-right: 5px;
}
.triangle-calendar {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #efefef;
    left: 5%;
    top: -10px;
}
.smooth-transition {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.months-wrap .clear-dates {
    cursor: pointer;
    padding: 10px 0 0 0;
}
.month-title .flaticon-arrow-left, .month-title .flaticon-arrow-right {
    cursor: pointer;
    font-weight: bold;
}
.month-title .flaticon-arrow-left.disabled {
    color: #aaa;
    cursor: default;
}
.month-title .flaticon-arrow-left {
    padding-left: 10px;
    margin-right: -10px;
}
.month-title .flaticon-arrow-right {
    padding-right: 10px;
    margin-left: -10px;
}

.active-start:not(.highlighted-edge) {
    background-color: #78dda1 !important;
}
.active-start-dark:not(.highlighted-edge) {
    background-color: #afdfc8 !important;
}
.start, .end {
    background: none;
    padding: 0;
    height: 25px;
    z-index: 1;
    position: relative;
}
.prices-cal {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
}
.highlighted-edge,
.calendar-header {
    background-color: #10a84a;
    color: #fff;
}
.highlighted {
    background-color: #78dda1;
    color: #fff;
}
.p-h-15 {
    padding-left: 15px;
    padding-right: 15px;
}
.p-v-15 {
    padding-top: 15px;
    padding-bottom: 15px;
}

.home-calendar-table .month-title {
    font-size: 14px;
    background-color: #efefef;
    color: #333;
    margin-left: -5px;
    margin-right: -5px;
    font-weight: bold;
}
.months-wrap {
    top: 49px;
    border: 1px solid #dbdbdb;
    border-top-color: #efefef;
    padding-bottom: 10px;
}
.calendar-header {
    top: 49px;
}
.months-wrap,
.calendar-header {
    left: 15px;
    right: 0;
    position: absolute;
}
.home-calendar-table table {
    width: 100%;
    border-collapse: separate;
}
.home-calendar-table {
    width: 50%;
    float: left;
    padding-left: 5px;
    padding-right: 5px;
}
.home-calendar-table table tr td, 
.home-calendar-table table tr th {
    height: 33px;
}
.home-calendar-table table tr th {
    border-bottom: 1px solid #dbdbdb;
    font-weight: normal;
}
.small-cal .select-check-out {
    left: 41% !important;
}

@media screen and (width: 768px) {
    .select-check-out {
        left: 60% !important;
    }
}
    
.prop-calendar-wrap.main-cal .home-calendar-table {
    min-height: 280px;
    position: relative;
}
.calendar-wrap.main-cal  .months-wrap {
    position: static;
    padding: 3px 0 0;
    z-index: 995 !important;
}
.months-wrapper {
    width: 100%;
}
.calendar-wrap.main-cal  .flaticon-arrow-left, .calendar-wrap.main-cal  .flaticon-arrow-right {
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
    position: absolute;
    padding: 0 5px;
}
.calendar-wrap.main-cal  .flaticon-arrow-left {
    left: 0;
}
.calendar-wrap.main-cal  .flaticon-arrow-right {
    right: 0;
}
.cal-placeholder {
    padding-bottom: 74%;
}
.booking-cost-mobile {
    font-size: 18px;
}
.mobile-dates-preview {
    display: none;
}
.display-block-imp {
    display: block !important;
}
.mobile-discounts:empty {
    display: none;
}
.left-nav:hover, .right-nav:hover {
    opacity: 1;
    cursor: pointer;
}
.left-nav, .right-nav {
    top: 3%;
    opacity: .3;
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
    z-index: 100;
}
.prop-calendar-wrap {
    font-family: 'Merriweather Sans',sans-serif;
}
.cal-inputs {
    width: 49%;
}
.sidebar-property-price + .p10 .date-selection-error:not(:empty) {
    margin-top: -4px;
    margin-bottom: 10px;
}
.cal-inputs, .guests select {
    cursor: pointer;
}
.min-h45 {
     min-height: 45px;
}
.modal-cost {
    text-align: left;
    line-height: 18px;
}
.main-cal .home-calendar-table table tr th {
    border-bottom: 1px solid #dbdbdb;
}
.main-cal .home-calendar-table .month-title {
    font-weight: bold;
    border-top: none;
}
.guests {
    display: flex;
    justify-content: space-between;
}
.date-selection-error {
    font-size: 14px;
    padding-left: 15px;
    height: auto;
    color: #f00;
}
.unavailable, .your-booking, .date-available, .discount-available, .changeover-days {
    display: inline-block;
    margin-right: 0px;
    width: 175px;
}
.adults, .children {
    margin-right: 2%;
}
.adults, .children, .infants {
    width: 32%;
}
select.sidebar-guests {
    width: 100%;
    padding: 3px 10px;
}

.calendar-wrap.main-cal .months-wrap {
    border: none;
}
.prop-calendar-wrap.main-cal .home-calendar-table {
    width: 33.33%;
    height: 305px;
}
.main-cal .clear-dates {
    margin-right: 0;
    font-size: 16px;
    padding: 0 5px;
}

.prop-calendar-wrap td:not(.non-selectable):not(.disabled-date):not(.highlighted-edge):not(:empty)::after {
    content: '';
    position: absolute;
    left: 5%;
    height: 1em;
    border-bottom: 2px solid #10a84a;
    margin-top: 12px;
    right: 5%;
}
.non-selectable {
    cursor: default !important;
}
.non-selectable:not(.highlighted) {
    background-color: #fff;
}
.non-selectable.active-start {
    background-color: #fff !important;
}
.non-selectable.highlighted.hovered {
    background-color: #78dda1 !important;
}

.cal-legend { 
    list-style: none;
    padding: 0;
    margin: 0 0 5px 15px;
}
.cal-legend li { 
    display: inline-block;
    margin-right: 10px;
    width: 150px;
}
.sidebar-legend .cal-legend li { 
    margin: 0 0 10px 0;
}
.cal-legend span { 
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px -5px 0;
}
.cal-legend .l-unavailable { 
    background-color: #e5e5e5;
    border: 1px solid #dbdbdb;
}
.cal-legend .l-booking { 
    background-color: #78dda1;
    border: 1px solid #10a84a;
}
.cal-legend li:last-child {
    width: 200px;
}
.cal-legend .l-available { 
    background-color: #10a841;
    height: 2px;
}
.sidebar-legend {
    padding-top: 10px;
    border-top: 1px solid #dbdbdb;
}
.sidebar-section {
    padding-top: 5px;
    border-top: 1px solid #dbdbdb;
    padding-left: 5px;
    float: left;
    width: 100%;
}
.popover.cal {
    padding: 3px 8px;
    color: #fff;
    background-color: #78a4c1;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.popover.cal .arrow:after {
    border-top-color: #78a4c1;
}

    
@media screen and (min-width: 650px) {
    .small-cal .months-wrap,
    .small-cal .calendar-header {
        min-width: 572px;
    }
}
@media screen and (max-width: 650px) {
    .prop-calendar-wrap.main-cal .home-calendar-table {
        width: 50%;
    }
    .small-cal .home-calendar-table {
        width: 100%;
    }
}
@media screen and (max-width: 450px) {
    .prop-calendar-wrap.main-cal .home-calendar-table {
        width: 100%;
    }
}