
.smartDate {
    width: 200px;
    height: 50px;
    border: 2px solid #ddd;
    position: relative;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.smartDate.inline {
    height: 243px;
}

#smartDateOverlay {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2000;
}

.smartDate.thin {
    height: 33px;
}

.smartDate.calendar {
    width: 238px;
}

.smartDate.fortnight {
    width: 242px;
}

.smartDate.calendar.inline {
    min-width: 238px;
}

.smartDate.month.inline {
    height: 125px !important;
}

.smartDate.term.inline,
.smartDate.quarter3.inline {
    height: 91px;
}

.smartDate.quarter4.inline,
.smartDate.halfyear.inline {
    height: 57px;
}

.smartDate.month ._internalList,
.smartDate.term ._internalList,
.smartDate.quarter3 ._internalList,
.smartDate.quarter4 ._internalList,
.smartDate.halfyear ._internalList {
    overflow-y: hidden;
}

.smartDate ._internalList .listItem {
    white-space: nowrap;
}

.smartDate.thin.inline {
    height: 220px;
}

.smartDate .currentState {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: #fafafa;
    text-align: center;
}

.smartDate .minor {
    position: absolute;
    height: 22px;
    top: 0px;
    left: 0;
    right: 0;
    font-size: 18px;
    padding: 0 3px;
    background: #eee;
}

.smartDate .minorPrev {
    position: absolute;
    height: 22px;
    left: 0;
    width: 22px;
    background: #eee;
    font-size: 12px;
    line-height: 21px;
}

.smartDate .minorNext {
    position: absolute;
    height: 22px;
    right: 0;
    width: 22px;
    background: #eee;
    font-size: 12px;
    line-height: 21px;
}

.smartDate .major {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 20px;
    height: 20px;
    padding: 1px 8px 8px 8px;
}

.smartDate.inline .major {
    display: none;
}

.smartDate.thin .major {
    height: 24px;
    line-height: 30px;
}

.smartDate .clickable:not(.selected) {
    cursor: pointer;
}

.smartDate .clickable:not(.selected):hover {
    background: #ddd;
}

.smartDate .clickable.selected {
    background: white;
}

.smartDate .minor.selected {
    border-bottom: 1px solid #cbd9e1;
}

.smartDate:not(.thin) .major.selected {
    border-top: 1px solid #cbd9e1;
}

.smartDate .dropDown {
    display: none;
    position: relative;
    left: -2px;
    top: 50px;
    width: 100%;
    border: 2px solid #ddd;
    border-top: 1px solid #ddd;
    background: white;
    overflow-y: auto;
    z-index: 2001;
    font-size: 14px;
    -webkit-box-shadow: 0px 3px 5px 0px rgba(100,100,100,0.2);
    -moz-box-shadow: 0px 3px 5px 0px rgba(100,100,100,0.2);
    box-shadow: 0px 3px 5px 0px rgba(100,100,100,0.2);
}

.smartDate.inline .dropDown {
    top: 22px;
}

.smartDate.thin .dropDown {
    top: 33px;
}

.smartDate.thin.inline .dropDown {
    top: 0;
}

.smartDate .inline {
    display: none;
}

.smartDate.inline .inline {
    position: absolute;
    top: 22px;
    width: 100%;
    border: 2px solid #DDDDDD;
    left: -2px;
    border-top: 1px solid #DDDDDD;
    background: white;
    overflow-y: auto;
    font-size: 14px;
    height: 220px;
}

.smartDate.calendar.inline .inline {
    overflow: hidden;
}

.smartDate.month.inline .inline {
    height: 102px;
    overflow: hidden;
}

.smartDate.term.inline .inline,
.smartDate.quarter3.inline .inline{
    height: 68px;
    overflow: hidden;
}

.smartDate.quarter4.inline .inline,
.smartDate.halfyear.inline .inline {
    height: 34px;
    overflow: hidden;
}

.smartDate.thin.inline .inline {
    top: -1px;
}

/*-- list dropDown ----------------------------------------*/

.smartDate .list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.smartDate .listItem {
    padding: 2px 5px;
    border-bottom: 1px solid #f3f3f3;
    cursor: pointer;
    min-height: 34px;
    height: 34px;
    font-size: 16px;
    padding-top: 6px;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box
}

.smartDate .listItem:hover {
    background: #fafafa;
}

.smartDate .listItem.selected {
    background: #ddd;
}

.smartDate .listDropDown.tiles {
    text-align: left;
}

.smartDate .listDropDown.tiles .listItem {
    display: inline-block;
}

.smartDate .listDropDown.tiles.cols2 .listItem {
    width: 50%;
}

.smartDate .listDropDown.tiles.cols2 .listItem:nth-child(2n+1) {
    border-right: 1px solid #ddd;
}

.smartDate .listDropDown.tiles.cols3 .listItem {
    width: 33%;
    border-right: 1px solid #ddd;
}

.smartDate .listDropDown.tiles.cols3 .listItem:nth-child(3n+3) {
    border-right: none;
}

.smartDate .listDropDown.tiles.cols4 .listItem {
    width: 25%;
    border-right: 1px solid #ddd;
}

.smartDate .listDropDown.tiles.cols4 .listItem:nth-child(4n+4) {
    border-right: none;
}

/*-- dayMonth dropDown ----------------------------------------*/

.smartDate .calendar {
    min-width: 238px;
}

.smartDate .dayMonthDropDown > .ui-datepicker-inline {
    font-size: 14px !important;
    padding: 0;
    border: none;
}

.smartDate .dayMonthDropDown .ui-datepicker-header {
    background: #fafafa;
    color: #333;
    border-bottom: 1px solid #ddd;
}

.smartDate .dayMonthDropDown .ui-datepicker-header .ui-icon {
    background-image: url(../../../css/images/ui-icons_444444_256x240.png);
    border: none;
}

.smartDate .dayMonthDropDown .ui-datepicker-next.ui-state-hover,
.smartDate .dayMonthDropDown .ui-datepicker-prev.ui-state-hover {
    background: #ddd;
    border: none;
    cursor: pointer;
    height: 28px;
    width: 28px;
}

.smartDate .dayMonthDropDown .ui-datepicker-month {
    margin-left: 11px;
}

.smartDate .dayMonthDropDown .ui-datepicker-year {
    display: none;
}

.smartDate .dayMonthDropDown .ui-state-default {
    background: white;
    color: #333;
}

.smartDate .dayMonthDropDown .ui-state-hover {
    background: #fafafa;
}

.smartDate .ui-datepicker-current-day .ui-state-active {
    background: #ddd;
}

.smartDate .ui-icon.ui-icon-circle-triangle-e {
    background-position: -32px 0 !important;
}

.smartDate .ui-icon.ui-icon-circle-triangle-w {
    background-position: -96px 0 !important;
}

.smartDate .ui-datepicker-calendar > tbody td > a {
    border: none;
}

.smartDate .ui-widget-header {
    border: none;
    border-radius: 0;
}

.smartDate .ui-corner-all {
    border-radius: 0 !important;
}