.datepicker {
    width: 308px;
    padding: 0;
    margin: 0;
    background: none;
    box-shadow: 0 9px 15px rgba(0, 0, 0, 0.5);
}

.datepicker table {
    width: 100%;
    border: none;
    border-collapse: collapse;
    text-align: center;
}

.datepicker table thead {
    background-color: #ed004e;
    color: #e9f0f4;
}
.hide-title .datepicker table thead tr:first-child {
    display: none;
}
.datepicker table thead .datepicker-switch {
    font-size: 18px;
    font-weight: 300;
    word-spacing: 20px;
    cursor: pointer;
}
.datepicker table thead th.dow {
    font-size: 16px;
    font-weight: 400;
    width: 42px;
    padding: 0;
}
.datepicker table thead .prev,
.datepicker table thead .next {
    position: relative;
    width: 42px;
    cursor: pointer;
    color: transparent;
}
.datepicker table thead .prev:after,
.datepicker table thead .next:after {
    content: " ";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 6px;
    height: 10px;
    margin: -5px 0 0 -3px;
    cursor: pointer;
    z-index: 2;
    opacity: 0.5;
}
.datepicker table thead .prev:after {
    background: url(/img/guides/icons/arrows-small-white.png) no-repeat;
}
.datepicker table thead .next:after {
    background: url(/img/guides/icons/arrows-small-white.png) -6px 0 no-repeat;
}
.datepicker table thead .prev:hover:after,
.datepicker table thead .next:hover:after {
    opacity: 1;
}
.datepicker table tbody {
    background-color: rgba(56, 66, 79, 0.95);
    color: #ffffff;
}

.datepicker table tr th,
.datepicker table tr td {
    height: 42px;
}

.datepicker table tbody td {
    font-size: 16px;
    font-weight: 500;
    /*color: #9e9e9e;*/
}
.datepicker table tbody .day {
    cursor: pointer;
}
.datepicker table tbody .disabled,
.datepicker table tbody .old {
    color: #647383;
    cursor: default;
    font-weight: 300;
}
.datepicker table tbody .active,
.datepicker table tbody .range,
.datepicker table tbody .range-start,
.datepicker table tbody .range-end {
    position: relative;
    color: #ffffff;
    font-weight: 500;
    z-index: 2;
}
.datepicker table tbody .active:after,
.datepicker table tbody .range:after,
.datepicker table tbody .range-start:after,
.datepicker table tbody .range-end:after {
    content: " ";
    position: absolute;
    left: 50%;
    top: 30px;
    width: 36px;
    height: 36px;
    margin: -28px 0 0 -18px;
    border-radius: 50%;
    background-color: #ed004e;
    cursor: default;
    z-index: -1;
    display: block;
}
.datepicker table tbody .range:after,
.datepicker table tbody .range-start:after,
.datepicker table tbody .range-end:after {
    background-color: #253444;
    border: 1px solid #4d5863;
    border-radius: 1px;
}

.datepicker table tfoot {
    display: none;
}

/* datepicker month picker */
.datepicker span.month,
.datepicker span.year {
    display: block;
    width: 23%;
    height: 54px;
    line-height: 54px;
    float: left;
    margin: 1%;
    cursor: pointer;
}
.datepicker span.month.active:after,
.datepicker span.year.active:after {
    content: " ";
    position: absolute;
    left: 2px;
    right: 2px;
    top: 2px;
    bottom: 2px;
    margin: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    background-color: #ed004e;
}
.small .datepicker {
    width: 270px;
}
.small .datepicker table tr th,
.small .datepicker table tr td {
    height: 39px;
}
.white .datepicker table tbody {
    background-color: #ffffff;
    color: #253444;
}
.white .datepicker table tr td.active,
.white .datepicker table tr td.active:hover,
.white .datepicker table tr td.active:hover:hover,
.white .datepicker table tr td.active.active,
.white .datepicker table tr td.active:hover.active {
    background-color: #ffffff;
}
.in-popup .datepicker{
    box-shadow: none;
    /*zoom: .8;*/
    margin: 0 auto;
}

.no-shadow .datepicker {
    box-shadow: none;
}

.datepicker-range-container .dropdown-menu.datepicker {
    margin: 0px 0 0 0px;
}
.datepicker.flex{
    width:16%;
}
.datepicker.flex table tr th, .datepicker.flex table tr td{
    height:auto;
    height:initial;
    padding: 4% 0;
}
.datepicker.flex table thead th.dow{
    padding: 5% 0 4%;
}
.form-group-filled input.date-field {
    padding: 0 !important;
}
