
/* ----------------------
   DatePicker (COMUM)
   ---------------------- */
.datepicker.dropdown-menu {
    z-index: 1031 !important;
}

/* ----------------------
   bootstrap DatePicker (Generic / Multipasso)
   ---------------------- */
.mpt-field-calendar-container .datepicker {
    top: 0;
    left: 0;
    min-width: 240px;
    width: auto;
    height: auto;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border-top: 1px solid #cecece;
    border-right: 1px solid #cecece;
    border-bottom: 1px solid #cecece;
    border-left: 1px solid #cecece;
}
.mpt-field-calendar-container .datepicker-inline {
    min-width: 240px;
    width: auto;
    height: auto;
}
/* day title */
.mpt-field-calendar-container .dow {
    border-bottom: 1px solid #cecece;
}

.mpt-field-calendar-container .datepicker th.dow {
    color: #2e2e2e;
    font-weight: normal;
}

.mpt-field-calendar-container .datepicker > div {
    display: none;
}
.mpt-field-calendar-container .datepicker table {
    width: 100%;
    margin: 0;
}

.mpt-field-calendar-container .datepicker tbody td:last-child {
    border-right: 0;
}
.mpt-field-calendar-container .datepicker tbody tr {
    border-bottom: 1px solid #cecece;
}
.mpt-field-calendar-container .datepicker tbody tr:last-child {
    border-bottom: 0;
}

.mpt-field-calendar-container .datepicker td {
    text-align: center;
    color: #808285;
    min-width: 34px;
    min-height: 34px;
    width: 34px;
    height: 34px;
    background: #ffffff;
}
/* top part bg */
.mpt-field-calendar-container .datepicker th {
    text-align: center;
    color: #ed1c24;
    width: 30px;
    height: 34px;
    background-color: #ffffff;
}
.mpt-field-calendar-container .datepicker th.datepicker-switch {
    height: 53px;
}
/* -- day --- */
.mpt-field-calendar-container .datepicker td.day:hover {
    background: #808285;
    color:#f1f1f1;
    cursor: pointer;
}
/*  off month days -- */
.mpt-field-calendar-container .datepicker td.old,
.mpt-field-calendar-container .datepicker td.new {
    color: #f1f1f1;
    background: #f1f1f1;
}
.mpt-field-calendar-container .datepicker td.active,
.mpt-field-calendar-container .datepicker td.active:hover {
    background: #808285;
    color:#f1f1f1;
    border: 1px solid #55838f;
    position: relative;
    margin: -1px;
}
.mpt-field-calendar-container .datepicker td.active:hover,
.mpt-field-calendar-container .datepicker td.active:hover:hover,
.mpt-field-calendar-container .datepicker td.active:active,
.mpt-field-calendar-container .datepicker td.active:hover:active,
.mpt-field-calendar-container .datepicker td.active.active,
.mpt-field-calendar-container .datepicker td.active:hover.active,
.mpt-field-calendar-container .datepicker td.active.disabled,
.mpt-field-calendar-container .datepicker td.active:hover.disabled,
.mpt-field-calendar-container .datepicker td.active[disabled],
.mpt-field-calendar-container .datepicker td.active:hover[disabled] {
    background-color: #d81e05;
    border-color: #d81e05;
}
.mpt-field-calendar-container .datepicker td span {
    display: block;
    width: 47px;
    height: 54px;
    line-height: 54px;
    float: left;
    margin: 2px;
    cursor: pointer;
}
.mpt-field-calendar-container .datepicker table tr td,
.mpt-field-calendar-container .datepicker table tr th {
    border-radius: 0;
}

/* big month */
.mpt-field-calendar-container .datepicker td span:hover {
    background: #777;
    color:#ffffff
}
.mpt-field-calendar-container .datepicker td span.active {
    background-color: #d81e05;
    border-color: #d81e05;
    color: #fff;
}
.mpt-field-calendar-container .datepicker td span.active:hover,
.mpt-field-calendar-container .datepicker td span.active:active,
.mpt-field-calendar-container .datepicker td span.active.active,
.mpt-field-calendar-container .datepicker td span.active.disabled,
.mpt-field-calendar-container .datepicker td span.active[disabled] {
    background-color: #d81e05;
    border-color: #d81e05;
}

.mpt-field-calendar-container .datepicker table tr td span.active:active,
.mpt-field-calendar-container .datepicker table tr td span.active:hover:active,
.mpt-field-calendar-container .datepicker table tr td span.active.disabled:active,
.mpt-field-calendar-container .datepicker table tr td span.active.disabled:hover:active,
.mpt-field-calendar-container .datepicker table tr td span.active.active,
.mpt-field-calendar-container .datepicker table tr td span.active:hover.active,
.mpt-field-calendar-container .datepicker table tr td span.active.disabled.active,
.mpt-field-calendar-container .datepicker table tr td span.active.disabled:hover.active,
.mpt-field-calendar-container .open>.dropdown-toggle.datepicker table tr td span.active,
.mpt-field-calendar-container .open>.dropdown-toggle.datepicker table tr td span.active:hover,
.mpt-field-calendar-container .open>.dropdown-toggle.datepicker table tr td span.active.disabled,
.mpt-field-calendar-container .open>.dropdown-toggle.datepicker table tr td span.active.disabled:hover {
    background-color: #d81e05;
    border-color: #d81e05;
}
.mpt-field-calendar-container .datepicker table tr td span.active:hover:active,
.mpt-field-calendar-container .datepicker table tr td span.active.disabled:hover:active,
.mpt-field-calendar-container .datepicker table tr td span.active:hover.active,
.mpt-field-calendar-container .datepicker table tr td span.active.disabled:hover.active,
.mpt-field-calendar-container .open>.dropdown-toggle.datepicker table tr td span.active:hover,
.mpt-field-calendar-container .open>.dropdown-toggle.datepicker table tr td span.active.disabled:hover {
    background-color: #be0e0f;
    border-color: #be0e0f;
}

.mpt-field-calendar-container .datepicker td span.old {
    color: #bcbcbc;
}
/*--- month header ---- */
.mpt-field-calendar-container .datepicker th.switch {
    width: 145px;
    background-color: #be0e0f;
    color: #fff;
}
.mpt-field-calendar-container .datepicker th.next,
.mpt-field-calendar-container .datepicker th.prev {
    font-size: 16px;
    background-color: #ffffff;
    color: #ed1c24;
}
.mpt-field-calendar-container .datepicker thead tr:first-child th {
    cursor: pointer;
}
/* --- Top controls hover-- */
.mpt-field-calendar-container .datepicker thead tr:first-child th:hover {
    background: #24449a
}

.mpt-field-calendar-container .datepicker table tr td.today {
    border-top: 2px solid #808285;
    border-right: 2px solid #808285;
    border-bottom: 2px solid #808285;
    border-left: 2px solid #808285;
    background-color: #ffffff;
    color: #808285;
}
.mpt-field-calendar-container .datepicker table tr td.today:active,
.mpt-field-calendar-container .datepicker table tr td.today.active,
.mpt-field-calendar-container .open>.dropdown-toggle.datepicker table tr td.today {
    border-top: 2px solid #d81e05;
    border-right: 2px solid #d81e05;
    border-bottom: 2px solid #d81e05;
    border-left: 2px solid #d81e05;
    background-color: #d81e05;
    color: #ffffff;
}
.mpt-field-calendar-container .datepicker td:not(.today) {
    border-right: 1px solid #cecece;
    border-bottom: 1px solid #cecece;
}

/* ----------------------
   bootstrap DatePicker (fixed-month)
   ---------------------- */
.mpt-field-calendar-container.fixed-month .datepicker {
    top: 0;
    left: 0;
    min-width: 240px;
    width: auto;
    height: auto;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border-top: 1px solid #cecece;
    border-right: 1px solid #cecece;
    border-bottom: 1px solid #cecece;
    border-left: 1px solid #cecece;
}
.mpt-field-calendar-container.fixed-month .datepicker-inline {
    min-width: 240px;
    width: auto;
    height: auto;
}
/* day title */
.mpt-field-calendar-container.fixed-month .dow {
    border-bottom: 1px solid #cecece;
}

.mpt-field-calendar-container.fixed-month .datepicker th.dow {
    color: #2e2e2e;
    font-weight: normal;
}

.mpt-field-calendar-container.fixed-month .datepicker > div {
    display: none;
}
.mpt-field-calendar-container.fixed-month .datepicker table {
    width: 100%;
    margin: 0;
}

.mpt-field-calendar-container.fixed-month .datepicker tbody td:last-child {
    border-right: 0;
}
.mpt-field-calendar-container.fixed-month .datepicker tbody tr {
    border-bottom: 1px solid #cecece;
}
.mpt-field-calendar-container.fixed-month .datepicker tbody tr:last-child {
    border-bottom: 0;
}

.mpt-field-calendar-container.fixed-month .datepicker td {
    text-align: center;
    color: gray;
    min-width: 34px;
    min-height: 34px;
    width: 34px;
    height: 34px;
    background: #ffffff;
}
/* top part bg */
.mpt-field-calendar-container.fixed-month .datepicker th {
    text-align: center;
    color: #ed1c24;
    width: 30px;
    height: 34px;
    background-color: #ffffff;
}
/* -- day --- */
.mpt-field-calendar-container.fixed-month .datepicker td.day:hover {
    background: #ed1c25;
    /*background: #808285;*/
    color:black;
    cursor: pointer;
}
/*  off month days -- */
.mpt-field-calendar-container.fixed-month .datepicker td.old,
.mpt-field-calendar-container.fixed-month .datepicker td.new {
    color: black;
    background: #f1f1f1;
}
.mpt-field-calendar-container.fixed-month .datepicker td.active,
.mpt-field-calendar-container.fixed-month .datepicker td.active:hover {
    background: #808285;
    color:black;
    border: 1px solid #55838f;
    position: relative;
    margin: -1px;
}
.mpt-field-calendar-container.fixed-month .datepicker td.active:hover,
.mpt-field-calendar-container.fixed-month .datepicker td.active:hover:hover,
.mpt-field-calendar-container.fixed-month .datepicker td.active:active,
.mpt-field-calendar-container.fixed-month .datepicker td.active:hover:active,
.mpt-field-calendar-container.fixed-month .datepicker td.active.active,
.mpt-field-calendar-container.fixed-month .datepicker td.active:hover.active,
.mpt-field-calendar-container.fixed-month .datepicker td.active.disabled,
.mpt-field-calendar-container.fixed-month .datepicker td.active:hover.disabled,
.mpt-field-calendar-container.fixed-month .datepicker td.active[disabled],
.mpt-field-calendar-container.fixed-month .datepicker td.active:hover[disabled] {
    /*background-color: #d81e05;*/
    /*border-color: #d81e05;*/
    background-color: #be0e0f;
    border-color: #be0e0f;
}
.mpt-field-calendar-container.fixed-month .datepicker td span {
    display: block;
    width: 47px;
    height: 54px;
    line-height: 54px;
    float: left;
    margin: 2px;
    cursor: pointer;
}
.mpt-field-calendar-container.fixed-month .datepicker table tr td,
.mpt-field-calendar-container.fixed-month .datepicker table tr th {
    border-radius: 0;
}

/* big month */
.mpt-field-calendar-container.fixed-month .datepicker td span:hover {
    background: #777;
    color:#ffffff
}
.mpt-field-calendar-container.fixed-month .datepicker td span.active {
    background-color: #d81e05;
    border-color: #d81e05;
    color: #fff;
}
.mpt-field-calendar-container.fixed-month .datepicker td span.active:hover,
.mpt-field-calendar-container.fixed-month .datepicker td span.active:active,
.mpt-field-calendar-container.fixed-month .datepicker td span.active.active,
.mpt-field-calendar-container.fixed-month .datepicker td span.active.disabled,
.mpt-field-calendar-container.fixed-month .datepicker td span.active[disabled] {
    background-color: #d81e05;
    border-color: #d81e05;
}

.mpt-field-calendar-container.fixed-month .datepicker table tr td span.active:active,
.mpt-field-calendar-container.fixed-month .datepicker table tr td span.active:hover:active,
.mpt-field-calendar-container.fixed-month .datepicker table tr td span.active.disabled:active,
.mpt-field-calendar-container.fixed-month .datepicker table tr td span.active.disabled:hover:active,
.mpt-field-calendar-container.fixed-month .datepicker table tr td span.active.active,
.mpt-field-calendar-container.fixed-month .datepicker table tr td span.active:hover.active,
.mpt-field-calendar-container.fixed-month .datepicker table tr td span.active.disabled.active,
.mpt-field-calendar-container.fixed-month .datepicker table tr td span.active.disabled:hover.active,
.mpt-field-calendar-container.fixed-month .open>.dropdown-toggle.datepicker table tr td span.active,
.mpt-field-calendar-container.fixed-month .open>.dropdown-toggle.datepicker table tr td span.active:hover,
.mpt-field-calendar-container.fixed-month .open>.dropdown-toggle.datepicker table tr td span.active.disabled,
.mpt-field-calendar-container.fixed-month .open>.dropdown-toggle.datepicker table tr td span.active.disabled:hover {
    background-color: #d81e05;
    border-color: #d81e05;
}
.mpt-field-calendar-container.fixed-month .datepicker table tr td span.active:hover:active,
.mpt-field-calendar-container.fixed-month .datepicker table tr td span.active.disabled:hover:active,
.mpt-field-calendar-container.fixed-month .datepicker table tr td span.active:hover.active,
.mpt-field-calendar-container.fixed-month .datepicker table tr td span.active.disabled:hover.active,
.mpt-field-calendar-container.fixed-month .open>.dropdown-toggle.datepicker table tr td span.active:hover,
.mpt-field-calendar-container.fixed-month .open>.dropdown-toggle.datepicker table tr td span.active.disabled:hover {
    background-color: #be0e0f;
    border-color: #be0e0f;
}

.mpt-field-calendar-container.fixed-month .datepicker td span.old {
    color: #bcbcbc;
}
/*--- month header ---- */
.mpt-field-calendar-container.fixed-month .datepicker th.switch {
    width: 145px;
    background-color: #be0e0f;
    color: #fff;
}
.mpt-field-calendar-container.fixed-month .datepicker th.next,
.mpt-field-calendar-container.fixed-month .datepicker th.prev {
    font-size: 16px;
    background-color: #ffffff;
    color: #ed1c24;
}
.mpt-field-calendar-container.fixed-month .datepicker thead tr:first-child th {
    /*cursor: pointer;*/
}
/* --- Top controls hover-- */
.mpt-field-calendar-container.fixed-month .datepicker thead tr:first-child th:hover {
    /*background: #24449a*/
}

.mpt-field-calendar-container.fixed-month .datepicker table tr td.today {
    border-top: 2px solid #d81e05;
    border-right: 2px solid #d81e05;
    border-bottom: 2px solid #d81e05;
    border-left: 2px solid #d81e05;
    background-color: #ffffff;
    color: #d81e05;
}
.mpt-field-calendar-container.fixed-month .datepicker table tr td.today:active,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.today.active,
.mpt-field-calendar-container.fixed-month .open>.dropdown-toggle.datepicker table tr td.today {
    border-top: 2px solid #d81e05;
    border-right: 2px solid #d81e05;
    border-bottom: 2px solid #d81e05;
    border-left: 2px solid #d81e05;
    background-color: #d81e05;
    color: #ffffff;
}
.mpt-field-calendar-container.fixed-month .datepicker td:not(.today) {
    border-right: 1px solid #cecece;
    border-bottom: 1px solid #cecece;
}
.mpt-field-calendar-container.fixed-month .datepicker table tr td.disabled,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.disabled:hover {
    color: lightgrey;
    cursor: default;
    background-color: ghostwhite;
}
/*
table highlight
*/
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlighted {
    /*color: #000;*/
    /*background-color: #e5ada0;*/
    background-color: #f5f5f5;
    /*border-color: #e5ada0;*/
    border-radius: 0
}
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlighted:hover {
    background-color: #f5f5f5;
    /*color: #000;*/
    /*background-color: #afd9ee;*/
    border-color: #cecece;
}

.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlighted.focus,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlighted:focus {
    background-color: #f5f5f5;
    /*color: #000;*/
    /*background-color: #afd9ee;*/
    /*border-color: #298fc2*/
}

.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlighted:hover {
    background: #ed1c25;
    /*background-color: #f5f5f5;*/
    /*color: #000;*/
    /*background-color: #afd9ee;*/
    /*border-color: #52addb*/
}

.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlighted.active,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlighted:active {
    background-color: #f5f5f5;
    /*color: #000;*/
    /*background-color: #afd9ee;*/
    /*border-color: #52addb*/
}

.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlighted.active.focus,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlighted.active:focus,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlighted.active:hover,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlighted:active.focus,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlighted:active:focus,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlighted:active:hover {
    background-color: #f5f5f5;
    /*color: #000;*/
    /*background-color: #91cbe8;*/
    /*border-color: #298fc2*/
}

.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlighted.disabled.focus,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlighted.disabled:focus,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlighted.disabled:hover,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlighted[disabled].focus,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlighted[disabled]:focus,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlighted[disabled]:hover,fieldset[disabled]
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlighted.focus,fieldset[disabled]
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlighted:focus,fieldset[disabled]
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlighted:hover {
    background-color: #f5f5f5;
    /*background-color: #d9edf7;*/
    /*border-color: #85c5e5*/
}

.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlighted.focused {
    background-color: #f5f5f5;
    /*background: #afd9ee*/
}

.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlighted.disabled,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlighted.disabled:active {
    background-color: ghostwhite;
    color: lightgrey;
}
/*
highlight
*/
.mpt-field-calendar-container.fixed-month .datepicker table tr td.active,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.active.highlighted {
    background-color: #be0e0f;
    border-color: #be0e0f;
    color: #fff;
    /*background-color: #337ab7;*/
    /*border-color: #2e6da4;*/
    /*text-shadow: 0 -1px 0 rgba(0,0,0,.25)*/
}

.mpt-field-calendar-container.fixed-month .datepicker table tr td.active.focus,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.active.highlighted.focus,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.active.highlighted:focus,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.active:focus {
    color: #fff;
    /*background-color: #286090;*/
    /*border-color: #122b40*/
    background-color: #be0e0f;
    border-color: #be0e0f;
}

.mpt-field-calendar-container.fixed-month .datepicker table tr td.active.highlighted:hover,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.active:hover {
    background-color: #be0e0f;
    border-color: #be0e0f;
    color: #fff;
    /*background-color: #286090;*/
    /*border-color: #204d74*/
}

.mpt-field-calendar-container.fixed-month .datepicker table tr td.active.active,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.active.highlighted.active,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.active.highlighted:active,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.active:active {
    background-color: #be0e0f;
    border-color: #be0e0f;
    color: #fff;
    /*background-color: #286090;*/
    /*border-color: #204d74*/
}
/*--day highlights--*/
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlight-A1:not(.disabled) {
    background-color: #ffff99;
}
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlight-C1:not(.disabled) {
    background-color: #d3d3d3;
}
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlight-C2:not(.disabled) {
    background-color: #c0c0c0;
}
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlight-V1:not(.disabled) {
    background-color: #90ee90;
}
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlight-Z1:not(.disabled) {
    background-color: #87cefa;
}

.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlight-A1:not(.disabled):hover,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlight-C1:not(.disabled):hover,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlight-C2:not(.disabled):hover,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlight-V1:not(.disabled):hover,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlight-Z1:not(.disabled):hover {
    background: #ed1c25;
}

.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlight-A1.active,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlight-C1.active,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlight-C2.active,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlight-V1.active,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlight-Z1.active,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlight-A1.active:hover,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlight-C1.active:hover,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlight-C2.active:hover,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlight-V1.active:hover,
.mpt-field-calendar-container.fixed-month .datepicker table tr td.highlight-Z1.active:hover {
    background-color: #be0e0f;
    border-color: #be0e0f;
}

/*
fixed month
 */
.mpt-field-calendar-container.fixed-month .datepicker th:not(.dow) { display: none; }
.mpt-field-calendar-container.fixed-month .datepicker table tr td.new { display: none; }
.mpt-field-calendar-container.fixed-month .datepicker table tr td.old { visibility: hidden; }
