﻿.ui-widget, .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
  font-family: Verdana,Arial,sans-serif;
  font-size: 1.1em;
}
.ui-widget-content .ui-state-default{
  font-weight: normal;
}

.ui-datepicker {
  width: 17em; padding: .2em 0 0; display: none; 
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
   -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  z-index: 2101 !important; /* jquery's UI sets parent's z-index+1 to the datepicker*/
}
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0;  }
.ui-datepicker td { border: 0; padding: 1px; }
.ui-datepicker td .ui-state-default {
  border:0;
  background:none;
  margin-bottom:0;
  padding:5px;
  color:gray;
  text-align: center;
  filter:none;
}
.ui-datepicker td .ui-state-highlight{
  color: #0282bf;  
}
.ui-datepicker td .ui-state-default:hover{
  background-color: #e2e2e2;
  *background-color: #004ab3;
  background-image: -ms-linear-gradient(top, #f5f5f5, #e2e2e2);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#e2e2e2));
  background-image: -webkit-linear-gradient(top, #f5f5f5, #e2e2e2);
  background-image: -o-linear-gradient(top, #f5f5f5, #e2e2e2);
  background-image: -moz-linear-gradient(top, #f5f5f5, #e2e2e2);
  background-image: linear-gradient(top, #f5f5f5, #e2e2e2);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.ui-datepicker td .ui-state-active {
  background-color: #0074cc;
  *background-color: #0055cc;
  background-image: -ms-linear-gradient(top, #0088cc, #0055cc);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0055cc));
  background-image: -webkit-linear-gradient(top, #0088cc, #0055cc);
  background-image: -o-linear-gradient(top, #0088cc, #0055cc);
  background-image: -moz-linear-gradient(top, #0088cc, #0055cc);
  background-image: linear-gradient(top, #0088cc, #0055cc);
  margin-bottom:0;
  text-shadow: 0;
  color:white;  
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.ui-datepicker td .ui-state-active:hover{
  background: #0055cc;
  *background-color: #004ab3;
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.ui-datepicker .ui-widget-header {
  -webkit-border-radius: 4px 4px 0 0;
     -moz-border-radius: 4px 4px 0 0;
          border-radius: 4px 4px 0 0;
  -webkit-border-top-left-radius: 4px;
     -moz-border-radius-topleft: 4px;
          border-top-left-radius: 4px;
  -webkit-border-top-right-radius: 4px;
     -moz-border-radius-topright: 4px;
          border-top-right-radius: 4px;
  background: #f5f5f5; 
  border-left: none;
  border-right: none;
  border-top: none;
  border-bottom: 1px solid #CCCCCC;
  margin-top: -3px;
  position:relative; 
  padding:.4em 0; 
  font-weight: bold; 
  color: #808080; 
}
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
  top: 5px; 
  width: 1.4em; 
  height: 1.7em;
}
.ui-datepicker .ui-datepicker-month {
  vertical-align: middle;
}
.ui-datepicker .ui-datepicker-next { right:2px; }
.ui-datepicker .ui-datepicker-next span,
.ui-datepicker .ui-datepicker-prev span {
  background-image: url("../img/glyphicons-halflings.png");
}
.ui-datepicker .ui-datepicker-next span {
    background-position: -264px -96px;
}
.ui-datepicker .ui-datepicker-prev span {
    background-position: -240px -96px;
}
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
.ui-timepicker-div dl { 
  text-align: left;
  margin-left: 10px;
  margin-right:10px;
}
.ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }
.ui-timepicker-div .ui-slider {
  background: #E8E8E8;
  border: 1px solid #CCCCCC;
}
.ui-timepicker-div .ui_tpicker_time_label .icon-time{
  margin-left: 7px;
  margin-top: 2px;
}
.ui-timepicker-div .ui-slider-handle {
  background: #f5f5f5;
  *background-color: #e6e6e6;
  background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
}
.ui-timepicker-div {
   border-top: 1px solid #CCCCCC;
}
.ui-datepicker .ui-datepicker-buttonpane {
    background-color: #F5F5F5;
    background-image: none;
    border-bottom: 0;
    border-top: 1px solid #C9C9C9;
    border-left: 0;
    border-right: 0;
    -webkit-border-radius: 0 0 4px 4px;
       -moz-border-radius: 0 0 4px 4px;
            border-radius: 0 0 4px 4px;
    -webkit-border-bottom-left-radius: 4px;
            border-bottom-left-radius: 4px;
       -moz-border-radius-bottomleft: 4px;
    -webkit-border-bottom-right-radius: 4px;
            border-bottom-right-radius: 4px;
       -moz-border-radius-bottomright: 4px;
    height: 40px;
    padding:0 .2em;
}
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
.ui-datepicker .ui-datepicker-buttonpane button {
    cursor: pointer;
    float: right;
    margin: 0.5em 0.2em 0.4em;
    overflow: visible;
    padding: 0.2em 0.6em 0.3em;
    width: auto;
}
.ui-datepicker-buttonpane button.ui-priority-primary,
.ui-datepicker-buttonpane button.ui-priority-secondary, 
.ui-datepicker-header a {
  display: inline-block;
  *display: inline; 
  padding: 4px 10px 4px;
  margin-bottom: 0;
  *margin-left: .3em;
  font-size: 13px;
  font-weight: normal;
  line-height: 18px;
  *line-height: 20px;
  color: #333333;
  text-align: center;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  vertical-align: middle;
  cursor: pointer;
  background: #f5f5f5;
  *background-color: #e6e6e6;
  background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  border: 1px solid #cccccc;
  *border: 0;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  border-bottom-color: #b3b3b3;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
  filter: progid:dximagetransform.microsoft.gradient(enabled=false);
  *zoom: 1;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
     -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
          box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.ui-datepicker-buttonpane button.ui-priority-primary,
.ui-datepicker-buttonpane button.ui-priority-secondary {
  border-color: #ccc;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}
.ui-datepicker-buttonpane button:hover,
.ui-datepicker-buttonpane button[disabled] {
  background-color: #e6e6e6;
  *background-color: #d9d9d9;
}
.ui-datepicker-buttonpane button:active,
.ui-datepicker-buttonpane button.active {
  background-color: #cccccc \9;
}
.ui-datepicker-buttonpane button:first-child {
  *margin-left: 0;
}
.ui-datepicker-buttonpane button:hover {
  color: #333333;
  text-decoration: none;
  background-color: #e6e6e6;
  *background-color: #d9d9d9;
  background-position: 0 -15px;
  -webkit-transition: background-position 0.1s linear;
     -moz-transition: background-position 0.1s linear;
      -ms-transition: background-position 0.1s linear;
       -o-transition: background-position 0.1s linear;
          transition: background-position 0.1s linear;
}
.ui-datepicker-buttonpane button:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.ui-datepicker-buttonpane button.active,
.ui-datepicker-buttonpane button:active {
  background-color: #e6e6e6;
  background-color: #d9d9d9 \9;
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
     -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
          box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.ui-datepicker-buttonpane button.disabled,
.ui-datepicker-buttonpane button[disabled] {
  cursor: default;
  background-color: #e6e6e6;
  background-image: none;
  opacity: 0.65;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
     -moz-box-shadow: none;
          box-shadow: none;
}
.ui-datepicker-buttonpane button.ui-priority-primary,
.ui-datepicker-buttonpane button.ui-priority-primary:hover {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.ui-datepicker-buttonpane button.ui-priority-secondary {
  opacity: 1;
}
.ui-datepicker-buttonpane button.ui-priority-primary {
  background: #0074cc;
  *background-color: #0055cc;
  background-image: -ms-linear-gradient(top, #0088cc, #0055cc);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0055cc));
  background-image: -webkit-linear-gradient(top, #0088cc, #0055cc);
  background-image: -o-linear-gradient(top, #0088cc, #0055cc);
  background-image: -moz-linear-gradient(top, #0088cc, #0055cc);
  background-image: linear-gradient(top, #0088cc, #0055cc);
  background-repeat: repeat-x;
  border-color: #0055cc #0055cc #003580;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#0088cc', endColorstr='#0055cc', GradientType=0);
  filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}
.ui-datepicker-buttonpane button.ui-priority-primary:hover,
.ui-datepicker-buttonpane button.ui-priority-primary.active,
.ui-datepicker-buttonpane button.ui-priority-primary[disabled] {
  background-color: #0055cc;
  *background-color: #004ab3;
}
.ui-datepicker-buttonpane button.ui-priority-primary:active,
.ui-datepicker-buttonpane button.ui-priority-primary.active {
  background-color: #004099 \9;
}
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
.ui-datepicker th{
  font-weight: bold;
  color: gray;
}
.ui-datepicker-today a:hover{
  background-color: #808080;
  color: #ffffff;
}
.ui-datepicker-today a{
  background-color: #BFBFBF;
  cursor: pointer;
  padding: 0 4px;
  margin-bottom:0;
}
.ui-datepicker td a{
  margin-bottom:0;
  border:0;
}
.selected-week{
    background: #ddd;
}
.fiscalweek-header{
    padding: 5px;
    float: right;
}
.fiscalweek-label{
    font-size: 11px;
}
.fiscalweek-num{
    cursor: pointer;
    text-align:center !important;
}
.fiscalweek-blank{
    background: #DDD;
    text-align:center;
}
.fiscalweek-tr-border{
    border-bottom: 1px solid #DDDDDD;
}
.fiscalweek-btn-margin{
    margin-bottom: 5px;
    margin-right: 5px;
}
.ui-datepicker .ui-datepicker-title{
	margin: 0 2.7em!important;
}