.dpTable {
    border-collapse: collapse;
    font-size: 11px;
    text-align: center;
    color: #505050;
    background-color: #FFF;
    border: 1px solid #d4d4d4;
    -webkit-box-shadow: 0 1px 5px 2px #878587;
    -moz-box-shadow: 0 1px 5px 2px #878587;
    box-shadow: 0 1px 5px 2px #878587;
    margin-top: 2px;
}

    .dpTable > input[type="button"] {
        background-color: #FFF;
    }

.CalenderlineSyle input, .CalenderContainer input {
    border: none !important;
    min-height: 16px !important;
    background-color: inherit;
    font-weight: inherit;
}

.tblCalendar {
    margin-right: 0;
    padding: 0px;
    min-width: 100%;
    border: 1px solid #d4d4d4;
    background-color: #fff;
    min-height: 27px;
}

    .tblCalendar > input[type="text"] {
        background-color: Red !important;
    }

.tdCalendarBox {
    border: 0;
    padding-top: 2px;
}

.dpTD, .dpDayHighlightTD, .dpTDHover {
    border: 1px solid #d4d4d4;
    font-size: 10px;
    padding: 5px;
    width: 16px;
    height: 16px;
}

.dpTDHover, .dpDayHighlightTD {
    background-color: #FFC;
    border: 1px solid #d4d4d4;
    color: Red;
    font-weight: bold;
    cursor: pointer;
}

.dpButtonTD {
    margin-bottom: 5px;
    margin-top: 5px;
}

.dpDayTD {
    background-color: #DDD;
    color: Black;
    font-size: 10px;
    vertical-align: middle;
    text-align: center;
    width: 30px !important;
    height: 30px !important;
}

.dpTitleText {
    font-size: 11px;
    color: Black;
    font-weight: bold;
}

.dpDayHighlight {
    color: Red;
    font-size: 10px;
    font-weight: bold;
}

.dpButton, .dpTodayButton {
    font-size: 9px;
    color: Black;
    background-color: #FFF !important;
    cursor: pointer;
    border: 0;
}

.dpButton {
    padding: 4px 0px 7px;
    line-height: 9px;
    margin: 3px 0 4px;
}

.dpTodayButton {
    height: 25px;
    margin: 1px 0;
}

    .dpTodayButton:hover, .dpButton:hover, .dpTodayButton:active, .dpButton:active {
        background: #dddddd !important;
        border-radius: 3px;
    }

.validation {
    font-size: 11px;
    font-weight: bold;
    color: #ee1008;
}

.CalendarImg img {
    vertical-align: middle;
    margin-top: 2px;
}

.InvoiceSearchDisabled .tblCalenda {
    background-color: #e4e3e3;
    display: none;
    color: #AAA;
}

.InvoiceSearchDisabled .CalenderlineSyle input, .InvoiceSearchDisabled .CalenderContainer input {
    color: #AAA;
}

.InvoiceSearchDisabled .CalendarImg span {
    display: none !important;
}

.CalendarImg .inlineValidation {
    position: absolute;
}

.CalendarImg {
    position: relative;
    padding: 0 4px;
    vertical-align: bottom;
}

*[disabled="disabled"] .tblCalendar, *[disabled="disabled"] .tblCalendar input {
    background-color: #eee;
    color: #999;
}

    *[disabled="disabled"] .tblCalendar .CalendarImg span {
        display: none;
    }

.calBgError .CalendarImg .inlineValidation {
    color: red;
    display: inline;
    font-size: 0;
    width: 150px;
    height: 26px;
    background: rgba(255, 131, 131, 0.3);
    z-index: 0;
    left: 0px;
}

.calBgError .tdCalendarBox, .calBgError .CalendarImg .icon {
    position: relative;
    z-index: 1;
}

    .calBgError .tdCalendarBox input:not([type="submit"]) {
        background-color: rgba(255, 255,255, 0.2);
    }

@media(max-width:950px) {
    .FillForm .CalendarImg .inlineValidation {
        width: 45px;
        top: 22px;
    }
}
