.ng2-iq-datepicker {
    position: relative;
}

.caltable {
    width: 100%;
}

.caltable tr th {
    text-align: center;
}

.caltable tr td {
    color: #bbb;
    padding: 2px 10px;
    text-align: center;
}

.caltable tr td:hover {
    background: #ddd;
    border-radius: 5px;
    cursor: pointer;
}

.selector {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    top: 40px;
    right: 0px;
    width: 300px;
    z-index: 1000;
}

.selector-header {
    margin-bottom: 10px;
}

.selector .currmonth {
    color: #000;
}

.header {
    width: 100%;
}

.btn.btn-sm.btn-slim {
    padding: 5px 4px;
}

.selector:before {
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #441010;
    border-bottom-color: rgba(0, 0, 0, 0.2);
    top: -7px;
    left: 270px;
    content: '';
    position: absolute;
}

.selector:after {
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #ffffff;
    top: -6px;
    left: 271px;
    content: '';
    position: absolute;
}

.currday {
    position: relative;
}

.currday:before {
    content: '';
    display: inline-block;
    border: solid transparent;
    border-width: 0 0 7px 7px;
    border-bottom-color: #337ab7;
    border-top-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    bottom: 4px;
    right: 4px;
}

.selector .currmonth.selectedday {
    background: #337ab7;
    border-radius: 5px;
}

.selector .currmonth.selectedday span {
    color: #fff;
}

.selectedday.currday:before {
    border-bottom-color: #fff;
}

.input-min-width {
    min-width: 50px;
}

.ng2-iq-datepicker .btnclear {
    position: absolute !important;
    right: 40px;
    display: none;
    background: transparent;
    border: 1px solid transparent;
}

.ng2-iq-datepicker:hover .btnclear {
    display: inline-block;
}

.btnclear:focus, .btnclear:active {
    outline: none !important;
    box-shadow: 0 0 0 0 transparent !important;
}