.my-calendar {
    width: 100%;
    min-height: 200px;
    /* fixes blurry and low-contrast prices on Chrome: https://stackoverflow.com/a/35955074/2648197 */
    -webkit-filter: blur(0);
}
.my-calendar .title {
    line-height: 56px;
}

.my-calendar .prev-next {
    padding: 0 15px;
    cursor: pointer;
}
.my-calendar .prev-next.disabled {
    opacity: 0.3;
}
.my-calendar .prev-next .fa {
    font-size: 16px;
}
@media (min-width: 1024px) {
    /* link colors for desktop */
    .my-calendar .prev-next:not(.disabled) .fa {
        color: #018dca;
    }
    .my-calendar .prev-next:not(.disabled):hover .fa {
        color: #016a97;
    }
}
.my-calendar .previous {
    float: left;
    margin-right: 20px;
}
.my-calendar .next {
    float: right;
    margin-left: 20px;
}
.my-calendar .range-name {
    font-weight: bold;
    font-size: 16px;
    /* display: inline-block; */
    /* width: calc(100% - 80px); */
    text-align: center;
    margin: 0 40px;
}
.my-calendar .month {
    text-transform: capitalize;
}
.my-calendar .status {
    text-align: center;
    font-size: 12px;
    margin-top: 3px;
}
.my-calendar .status.status-range-start-selected {
    color: #4e3200;
    font-weight: bold;
}
.my-calendar .grid {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 2px;
    padding-bottom: 5px;
    margin-bottom: 5px;
    color: black;
    /*border-bottom: 1px solid gainsboro;*/
}
.my-calendar .grid th,
.my-calendar .grid td {
    text-align: center;
    height: 34px;
    background-clip: padding-box; /* FF borders fix */
}
.my-calendar .grid th {
    width: 14%;
    color: #3d3d3d;
    background-color: #efefef;
    font-size: 12px;
    height: 24px;
}
.my-calendar .grid th.weekend,
.my-calendar .grid td.weekend {
    color: #c10000;
}
.my-calendar .grid td.d {
    border: 1px solid #DDDDDD;
}
.my-calendar .grid td.d:not(.restricted) {
    cursor: pointer;
}
.my-calendar .grid td.restricted {
    opacity: 0.4;
}
.my-calendar .grid td.today {
    /*border-color: orange !important;*/
    outline: 2px solid #009de2;
    outline: 2px solid #ffc000;
}
.my-calendar .grid td.selected {
    background-color: #009de2;
    color: white;
    border-color: transparent;
}

/*swipe support*/

.swiping-parent {
    /*position: relative;*/
    overflow-x: hidden;
}
.my-calendar .swipe-move-out {
    -webkit-transition: -webkit-transform 0.25s ease-in;
}
.my-calendar .swipe-move-in {
    -webkit-transition: -webkit-transform 0.25s ease-out;
}
.my-calendar .swipe-left {
    -webkit-transform: translateX(-110%);
}
.my-calendar .swipe-right {
    -webkit-transform: translateX(120%);
}


/******* Calendar popup ********/
.my-calendar-popup {
    display: none;
    position: absolute;
    top: 62px;
    left: 12px;
    background-color: white;
    width: 300px;
    border: 1px solid #c5c5c5;
    border-radius: 3px;
    box-shadow: 1px 2px 10px rgba(0,0,0,0.2);
    z-index: 2;
}
.my-calendar-popup .hdr {
    display: none;
    /*margin: 0;
    line-height: 40px;
    padding: 15px;
    color: #333;
    text-align: center;
    background-color: #e5ebef;
    border-bottom: 1px solid #dde4e8;*/
}
/*.my-calendar-popup .hdr h4 {
    margin: 0;
    font-size: 15px;
    font-weight: bold;
}
.my-calendar-popup .hdr .close {
    color: black;
    opacity: 0.5;
    font-size: 26px;
    line-height: 20px;
    margin-left: -25px;
}*/
.my-calendar-popup .wrapper {
    padding: 0 10px;
}
/* customize my-calendar */
.my-calendar-popup .my-calendar .range-name {
    font-size: 14px;
}
.my-calendar-popup .my-calendar .grid td.restricted {
    opacity: 0.3;
    text-decoration: line-through;
}
.my-calendar-popup .my-calendar .grid th {
    font-size: 11px;
    font-weight: normal;
}
.my-calendar-popup .my-calendar .grid td.d:not(.restricted) {
    border: 1px solid #c7dee8;
}
.my-calendar-popup .my-calendar .grid td.d.selected {
    border-color: transparent;
}
.my-calendar-popup .my-calendar .grid td.d:not(.restricted):not(.selected):hover {
    background-color: #bbe8ff;
}
.my-calendar-popup .my-calendar .status {
    display: none;
}
/*triangle*/
.my-calendar-popup:before,
.my-calendar-popup:after {
    content: "";
    display: block;
    height: 0;
    left: 30px;
    position: absolute;
    width: 0;
}
.my-calendar-popup:before {
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 10px solid #c5c5c5;
    margin-left: -2px;
    top: -10px;
    z-index: 4;
}
.my-calendar-popup:after {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 9px solid white;
    top: -9px;
    z-index: 5;
}
