/*

	Copyright 2009 Itamar Arjuan
	jsDatePick is distributed under the terms of the GNU General Public License.

*/

.JsDatePickBox {
    position: relative;
    width: 243px;
    font-family: inherit;
    margin-top: -1px;
    background: #fff;
    border: 1px solid #ff8600;
}

.JsDatePickBox .jsDatePickCloseButton { cursor:pointer; position:absolute; z-index:1; top:0; right:10px; width:33px; height:13px; background:url(img/closeButton_normal.gif) left top no-repeat; }
.JsDatePickBox .jsDatePickCloseButtonOver { cursor:pointer; position:absolute; z-index:1; top:0; right:10px; width:33px; height:13px; background:url(img/closeButton_over.gif) left top no-repeat; }
.JsDatePickBox .jsDatePickCloseButtonDown { cursor:pointer; position:absolute; z-index:1; top:0; right:10px; width:33px; height:13px; background:url(img/closeButton_down.gif) left top no-repeat; }

.JsDatePickBox .boxLeftWall { float:left; width:7px; margin:0; padding:0; }
.JsDatePickBox .boxLeftWall .leftTopCorner{ margin:0; padding:0; width:7px; height:8px; overflow:hidden; }
.JsDatePickBox .boxLeftWall .leftBottomCorner{ margin:0; padding:0; width:7px; height:8px; overflow:hidden; }
.JsDatePickBox .boxLeftWall .leftWall{ margin:0; padding:0; width:7px; overflow:hidden; }

.JsDatePickBox .boxRightWall { float:left; width:7px; margin:0; padding:0;}
.JsDatePickBox .boxRightWall .rightTopCorner{ margin:0; padding:0; width:7px; height:8px; overflow:hidden; }
.JsDatePickBox .boxRightWall .rightBottomCorner{ margin:0; padding:0; width:7px; height:8px; overflow:hidden; }
.JsDatePickBox .boxRightWall .rightWall{ margin:0; padding:0; width:7px; overflow:hidden; }

.JsDatePickBox .topWall { position:absolute; overflow:hidden; top:0; left:7px; width:227px; height:4px; }
.JsDatePickBox .bottomWall { position:absolute; overflow:hidden; bottom:-1px; left:7px; width:227px; height:4px; }

.JsDatePickBox .hiddenBoxLeftWall { float:left; width:0; overflow:hidden; }
.JsDatePickBox .hiddenBoxRightWall { float:left; width:0; overflow:hidden; }

.JsDatePickBox .boxMain { float:left; background-color:#ffffff; margin:0; padding:15px 0 5px 0; }
.JsDatePickBox .boxMainStripped { background:#ffffff; border:none; }
.JsDatePickBox .tooltip { height:12px; line-height:11px; overflow:hidden; font-size:10px; color:#777777; text-align:left; padding:0; margin:2px 0 2px 0; }
.JsDatePickBox .weekDaysRow { height:12px; overflow:hidden; line-height:11px; font-size:10px; color:#777777; text-align:center; padding:0; margin:2px 0 0 0; }
.JsDatePickBox .weekDaysRow .weekDay { float:left; height:14px; overflow:hidden; width:24px; margin:0 5px 0 0; padding:0; }

.JsDatePickBox .boxMainInner { background:#ffffff; width:227px; float:left; margin:5px 0 0 0; padding:0; }
.JsDatePickBox .boxMainCellsContainer { background-color:#ffffff; margin:0; padding:0; }

.JsDatePickBox .boxMainInner .controlsBar { overflow:hidden; height:20px; position:relative; }
.JsDatePickBox .boxMainInner .controlsBarText { overflow:hidden; height:20px; line-height:20px; color:#000000; font-size:12px; text-align:center; }

.JsDatePickBox .boxMainInner .monthForwardButton  { overflow:hidden; cursor:pointer; width:20px; height:20px; position:absolute; top:0; right:22px; background:url(img/monthForward_normal.gif) left top no-repeat; }
.JsDatePickBox .boxMainInner .monthForwardButtonOver  { overflow:hidden; cursor:pointer; width:20px; height:20px; position:absolute; top:0; right:22px; background:url(img/monthForward_over.gif) left top no-repeat; }
.JsDatePickBox .boxMainInner .monthForwardButtonDown  { overflow:hidden; cursor:pointer; width:20px; height:20px; position:absolute; top:0; right:22px; background:url(img/monthForward_down.gif) left top no-repeat; }

.JsDatePickBox .boxMainInner .monthBackwardButton { overflow:hidden; cursor:pointer; width:20px; height:20px; position:absolute; top:0; left:22px; background:url(img/monthBackward_normal.gif) left top no-repeat; }
.JsDatePickBox .boxMainInner .monthBackwardButtonOver { overflow:hidden; cursor:pointer; width:20px; height:20px; position:absolute; top:0; left:22px; background:url(img/monthBackward_over.gif) left top no-repeat; }
.JsDatePickBox .boxMainInner .monthBackwardButtonDown { overflow:hidden; cursor:pointer; width:20px; height:20px; position:absolute; top:0; left:22px; background:url(img/monthBackward_down.gif) left top no-repeat; }

.JsDatePickBox .boxMainInner .yearForwardButton  { overflow:hidden; cursor:pointer; width:20px; height:20px; position:absolute; top:0; right:0; background:url(img/yearForward_normal.gif) left top no-repeat; }
.JsDatePickBox .boxMainInner .yearForwardButtonOver  { overflow:hidden; cursor:pointer; width:20px; height:20px; position:absolute; top:0; right:0; background:url(img/yearForward_over.gif) left top no-repeat; }
.JsDatePickBox .boxMainInner .yearForwardButtonDown  { overflow:hidden; cursor:pointer; width:20px; height:20px; position:absolute; top:0; right:0; background:url(img/yearForward_down.gif) left top no-repeat; }

.JsDatePickBox .boxMainInner .yearBackwardButton { overflow:hidden; cursor:pointer; width:20px; height:20px; position:absolute; top:0; left:0; background:url(img/yearBackward_normal.gif) left top no-repeat; }
.JsDatePickBox .boxMainInner .yearBackwardButtonOver { overflow:hidden; cursor:pointer; width:20px; height:20px; position:absolute; top:0; left:0; background:url(img/yearBackward_over.gif) left top no-repeat; }
.JsDatePickBox .boxMainInner .yearBackwardButtonDown { overflow:hidden; cursor:pointer; width:20px; height:20px; position:absolute; top:0; left:0; background:url(img/yearBackward_down.gif) left top no-repeat; }

.JsDatePickBox .boxMainInner .skipDay { cursor:default; overflow:hidden; width:24px; height:25px; float:left; margin:4px 5px 0 0; padding:0; }
.JsDatePickBox .boxMainInner .dayNormal { font-size:12px; cursor:pointer; overflow:hidden; color:#4c4c4c; width:24px; height:25px; float:left; margin:4px 5px 0 0; padding:0; text-align:center; line-height:25px; /*background:url(img/dayNormal.gif) left top no-repeat;*/ }
.JsDatePickBox .boxMainInner .dayNormalToday { font-size:12px; cursor:pointer; overflow:hidden; color:#000; font-weight:bold; width:24px; height:25px; float:left; margin:4px 5px 0 0; padding:0; text-align:center; line-height:25px; /*background:url(img/dayNormal.gif) left top no-repeat;*/ }
.JsDatePickBox .boxMainInner .weekNumber { font-size:10px; cursor:pointer; overflow:hidden; color:#777777; width:24px; height:25px; float:left; margin:4px 5px 0 0; padding:0; text-align:center; line-height:25px; /*background:url(img/dayNormal.gif) left top no-repeat;*/ }

.JsDatePickBox .boxMainInner .dayDisabled { cursor:default; font-size:12px; overflow:hidden; color:#999999; width:24px; height:25px; float:left; margin:4px 5px 0 0; padding:0; text-align:center; line-height:25px; /*background:url(img/dayNormal.gif) left top no-repeat;*/ }

.JsDatePickBox .boxMainInner .dayOver { cursor:pointer; font-size:12px; overflow:hidden; color:#4c4c4c; width:24px; height:25px; float:left; margin:4px 5px 0 0; padding:0; text-align:center; line-height:25px; /*background:url(img/dayOver.gif) left top no-repeat;*/ }
.JsDatePickBox .boxMainInner .dayOverToday { cursor:pointer; font-size:12px; overflow:hidden; font-weight:bold; color:#000; width:24px; height:25px; float:left; margin:4px 5px 0 0; padding:0; text-align:center; line-height:25px; /*background:url(img/dayOver.gif) left top no-repeat;*/ }

.JsDatePickBox .boxMainInner .dayDown { cursor:pointer; font-size:12px; overflow:hidden; color:#F9F9F9; width:24px; height:25px; float:left; margin:4px 5px 0 0; padding:0; text-align:center; line-height:25px; /*background:url(img/dayDown.gif) left top no-repeat; */ }
.JsDatePickBox .boxMainInner .dayDownToday { cursor:pointer; font-size:12px; overflow:hidden; color:#000; font-weight:bold; width:24px; height:25px; float:left; margin:4px 5px 0 0; padding:0; text-align:center; line-height:25px; /* background:url(img/dayDown.gif) left top no-repeat;*/ }

/* XMS STYLE */

.JsDatePickBox .boxMain { padding-top: 25px; }
.JsDatePickBox .boxMainInner { margin: 0 0 25px 0; }
.JsDatePickBox .tooltip { text-align: center; }

.JsDatePickBox .jsDatePickCloseButton,
.JsDatePickBox .jsDatePickCloseButtonOver,
.JsDatePickBox .jsDatePickCloseButtonDown {
    right: 0;
    height: 20px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    background: none;
}
.JsDatePickBox .jsDatePickCloseButtonOver,
.JsDatePickBox .jsDatePickCloseButtonDown {
    background: #ff8600;
}
.JsDatePickBox .jsDatePickCloseButton::after,
.JsDatePickBox .jsDatePickCloseButtonOver::after,
.JsDatePickBox .jsDatePickCloseButtonDown::after {
    content: "×";
}
.JsDatePickBox .jsDatePickCloseButtonOver::after,
.JsDatePickBox .jsDatePickCloseButtonDown::after {
    color: #fff;
}

.JsDatePickBox .jsDatePickTodayButton {
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 60px;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    margin-left: -30px;
    cursor: pointer;
}
.JsDatePickBox .jsDatePickTodayButton:hover {
    color: #fff;
    background: #ff8600;
}

.JsDatePickBox .boxMainInner .skipDay {
    height: 24px;
    line-height: 24px;
}
.JsDatePickBox .boxMainInner .weekNumber {
    height: 24px;
    line-height: 24px;
}

.JsDatePickBox .boxMainInner .dayNormal,
.JsDatePickBox .boxMainInner .dayNormalToday,
.JsDatePickBox .boxMainInner .dayDisabled {
    height: 24px;
    line-height: 24px;
    background: #fff !important;
}
.JsDatePickBox .boxMainInner .dayOver,
.JsDatePickBox .boxMainInner .dayOverToday {
    height: 24px;
    line-height: 24px;
    background: #eee !important;
}
.JsDatePickBox .boxMainInner .dayDown,
.JsDatePickBox .boxMainInner .dayDownToday {
    height: 24px;
    line-height: 24px;
    color: #fff;
    background: #ff8600 !important;
}

.JsDatePickBox .boxMainInner .monthForwardButton,
.JsDatePickBox .boxMainInner .monthForwardButtonOver,
.JsDatePickBox .boxMainInner .monthForwardButtonDown,
.JsDatePickBox .boxMainInner .monthBackwardButton,
.JsDatePickBox .boxMainInner .monthBackwardButtonOver,
.JsDatePickBox .boxMainInner .monthBackwardButtonDown {
    font-size: 12px;
    text-align: center;
    background: none !important;
}
.JsDatePickBox .boxMainInner .yearForwardButton,
.JsDatePickBox .boxMainInner .yearForwardButtonOver,
.JsDatePickBox .boxMainInner .yearForwardButtonDown,
.JsDatePickBox .boxMainInner .yearBackwardButton,
.JsDatePickBox .boxMainInner .yearBackwardButtonOver,
.JsDatePickBox .boxMainInner .yearBackwardButtonDown {
    font-size: 10px;
    text-align: center;
    background: none !important;
}
.JsDatePickBox .boxMainInner .monthForwardButtonOver,
.JsDatePickBox .boxMainInner .monthForwardButtonDown,
.JsDatePickBox .boxMainInner .monthBackwardButtonOver,
.JsDatePickBox .boxMainInner .monthBackwardButtonDown,
.JsDatePickBox .boxMainInner .yearForwardButtonOver,
.JsDatePickBox .boxMainInner .yearForwardButtonDown,
.JsDatePickBox .boxMainInner .yearBackwardButtonOver,
.JsDatePickBox .boxMainInner .yearBackwardButtonDown {
    color: #ff8600;
}
.JsDatePickBox .boxMainInner .monthForwardButton::after,
.JsDatePickBox .boxMainInner .monthForwardButtonOver::after,
.JsDatePickBox .boxMainInner .monthForwardButtonDown::after {
    content: "►";
}
.JsDatePickBox .boxMainInner .monthBackwardButton::after,
.JsDatePickBox .boxMainInner .monthBackwardButtonOver::after,
.JsDatePickBox .boxMainInner .monthBackwardButtonDown::after {
    content: "◄";
}
.JsDatePickBox .boxMainInner .yearForwardButton::after,
.JsDatePickBox .boxMainInner .yearForwardButtonOver::after,
.JsDatePickBox .boxMainInner .yearForwardButtonDown::after {
    content: "►►";
}
.JsDatePickBox .boxMainInner .yearBackwardButton::after,
.JsDatePickBox .boxMainInner .yearBackwardButtonOver::after,
.JsDatePickBox .boxMainInner .yearBackwardButtonDown::after {
    content: "◄◄";
}
