.btp-wrapper {
    position: relative;
    display: block;
    width: 100%;
}
.btp-wrapper > input[readonly] {
    cursor: pointer;
}
.btp-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9000;
    padding: 2px;
    margin-top: 1px;
    background-color: #ffffff;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    font-size: 14px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333333;
    width: 190px;
    box-sizing: border-box;
}
.btp-dropdown::before {
    content: '';
    display: inline-block;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid rgba(0,0,0,.2);
    position: absolute;
    top: -7px;
    left: var(--btp-arrow-left, 6px);
}
.btp-dropdown::after {
    content: '';
    display: inline-block;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #ffffff;
    position: absolute;
    top: -6px;
    left: calc(var(--btp-arrow-left, 6px) + 1px);
}
.btp-dropdown.btp-drop-up::before {
    top: auto;
    bottom: -7px;
    border-bottom: 0;
    border-top: 7px solid rgba(0,0,0,.2);
}
.btp-dropdown.btp-drop-up::after {
    top: auto;
    bottom: -6px;
    border-bottom: 0;
    border-top: 6px solid #ffffff;
}
.btp-header {
    display: flex;
    align-items: center;
    height: 20px;
    margin-bottom: 2px;
}
.btp-arrow {
    flex: 0 0 22px;
    width: 22px;
    height: 20px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    font-size: 0;
}
.btp-arrow::before {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    border-top: 2px solid #555555;
    border-right: 2px solid #555555;
    border-radius: 1px;
}
.btp-header > .btp-arrow:first-child::before {
    transform: rotate(-135deg);
    margin-left: 2px;
}
.btp-header > .btp-arrow:last-child::before {
    transform: rotate(45deg);
    margin-right: 2px;
}
.btp-arrow:hover {
    background: #eeeeee;
}
.btp-arrow:hover::before {
    border-color: #333333;
}
.btp-title {
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #333333;
    height: 20px;
    line-height: 20px;
}
.btp-period-label {
    display: block;
    width: 100%;
    font-size: 16px;
    line-height: 22px;
    color: #333333;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 0;
    padding: 0;
    font-weight: normal;
    text-align: center;
    box-sizing: border-box;
}
.btp-hour-grid {
    overflow: hidden;
}
.btp-minute-grid {
    overflow: hidden;
}
.btp-cell {
    display: block;
    float: left;
    height: 22px;
    line-height: 22px;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
    color: #333333;
    font-weight: normal;
    user-select: none;
    box-sizing: border-box;
}
.btp-hour-grid .btp-cell {
    width: 15.6%;
    margin: 0.5%;
}
.btp-minute-grid .btp-cell {
    width: 24%;
    margin: 0.5%;
}
.btp-cell:hover {
    background: #eeeeee;
}
.btp-cell.btp-selected,
.btp-cell.btp-selected:hover {
    background-color: #006dcc;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
    background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
    background-image: -o-linear-gradient(top, #0088cc, #0044cc);
    background-image: linear-gradient(to bottom, #0088cc, #0044cc);
    border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0,0,0,.25);
}
.btp-cell.btp-muted {
    color: #999999;
}
.btp-cell.btp-muted:hover {
    color: #999999;
    background: #eeeeee;
}
.btp-title.btp-clickable {
    cursor: pointer;
}
.btp-title.btp-clickable:hover {
    background: #eeeeee;
    border-radius: 4px;
}
.btp-dow-row {
    overflow: hidden;
    margin-bottom: 2px;
}
.btp-dow-cell {
    display: block;
    float: left;
    width: 12.28%;
    margin: 1%;
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 12px;
    color: #999999;
    box-sizing: border-box;
    user-select: none;
}
.btp-day-grid {
    overflow: hidden;
}
.btp-day-grid .btp-cell {
    width: 12.28%;
    margin: 1%;
}
.btp-month-grid {
    overflow: hidden;
}
.btp-month-grid .btp-cell {
    width: 23%;
    margin: 1%;
}
.btp-year-grid {
    overflow: hidden;
}
.btp-year-grid .btp-cell {
    width: 23%;
    margin: 1%;
}
