
#dp_datepicker.absolute { position: absolute; }
#dp_datepicker.relative { position: relative; }

#dp_datepicker {
    display: inline-block;
    border: 1px solid #ccc;
    background: #fcfcfc;
    width: 300px;
    border-radius: 2px;
    font-size: 0.8em;
}
#dp_datepicker #dpHead {
    display: grid; 

    grid-template-rows: 1fr;
    grid-template-columns: 2rem 1fr 2rem;
    
    gap: 0px;
    /*width: 100%;*/
    /*display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;*/
    border: 1px solid #fcfcfc;
    margin: 2px 8px 0px 6px;
    padding-top: 5px;
    font-weight: bold;
}
#dp_datepicker #dpHead .dpNav {
    width: 2rem;
    cursor: pointer;
    height: 1.5rem;
    border: 1px solid #fcfcfc;
    /* background: #ccc; */
    line-height: 1.5rem;
    padding-top: 3px;
    padding-bottom: 3px;
    text-align: center;
    border-radius: 2px;
}
#dp_datepicker #dpHead .dpNav:hover {
    border: 1px solid #ccc;
    background: #eee;
}
#dp_datepicker #dpMonth {
    /*width: 150px;*/
    text-align: center;
    line-height: 1.5rem;
    padding-top: 2px;
}
#dp_datepicker #dpBody {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(6, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    /*display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;*/
    /*width: 255px;*/
    margin: 0.5rem;
    padding-bottom: 2px;
}
#dp_datepicker .dpDay, #dp_datepicker .dpDayCol {
    width: 2rem;
    height: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    border: 1px solid #fff;
    margin-top: 4px;
    cursor: pointer;
    border-radius: 5px;
}
#dp_datepicker .dpDayCol {
    border: 0px;
    padding: 1px;
}
#dp_datepicker .dpDay.dpToday {
    /*background: #9f9;*/
    border: 1px solid #666;
}
#dp_datepicker .dpDay:hover {
    background: #ccc;
    border: 1px solid #ccc;
    color: #fff;
}
#dp_datepicker .dpDay.selected {
    background: #345d84;
    border: 1px solid #666;
    color: #fff;
}
#dp_datepicker .dpDay.disabled {
    color: #999;
    background: #eee
}
#dp_datepicker .dpDay.other_month {
    color: #aaa;
    background: #fff
}

.datepicker, .datetimepicker {
    background-image: url(../graphics/icons/calendar.svg);
    background-repeat: no-repeat;
    background-position: 100% 1px;
    cursor: pointer;
}