
/*******************************************
 * 
 * Ext Calendar styles
 *
 ******************************************/

/* -----------------------------------------
 * Shared calendar view containers 
 */
.x-calendar-combo .x-boxselect-item-color-picker
{
  position: absolute;
  width: 20px;
  height: 10px;
  right: 18px;
  top: 3px;
  border-radius: 10px;
}

.x-calendar-combo .x-boxselect-item-text
{
  padding-right: 40px !important;
}

.ext-cal-inner-ct {
  height: 100%;
  line-height: 14px;
  position: relative;
  background: #eee;
  white-space: nowrap;
}

/* Background layout table for week rows */
.ext-cal-bg-row-ct {
  height:100%;
  width:100%;
}

/* Month names subheader DIV */
.ext-cal-hd-days-div, .ext-cal-bg-row {
  position: relative;
  right: 0px;
  padding-left: 20px;
  height: 100%;
}

/* Month names subheader */
.ext-cal-hd-days-row {
  background: #EFEFEF;
  color: #555;
  table-layout: fixed;
  top: 18px;
  width: 100%;
  font-size: 12px;
  line-height: 12px;
}

.ext-cal-month-hd .ext-cal-hd-day {
  border-left: 1px solid #DDD;
}
.ext-cal-hd-ct {
  border-bottom: 1px solid #f7f7f7;
}

.ext-cal-hd-day {
  text-align: center;
  padding: 4px 0;
  white-space: nowrap;
}

/* -----------------------------------------
 * Day/week-specific styles
 */

.ext-cal-dayview .ext-cal-day-header
{
  min-height: 30px;
  max-height: 100px;
  height: 100px;
  background-color: #f7f7f7;
}

.ext-cal-dayview .ext-cal-hd-days-row {
  width: 100%;
  font-size: 11px;
  height: 100%;
  width: auto;
  line-height: 14px;
  top:0px;
  left: 50px;
  position:absolute;
}
.ext-cal-hd-days-cl {
  padding-bottom: 2px;
  height: 100%;  
}
.ext-cal-dayview .ext-cal-monthview .ext-cal-hd-ct 
{
  height: 100%;
  position: relative;
}

.ext-cal-hd-ad-inner {
  position: relative;
  height: 100%;
}

.ext-cal-hd-ad-inner .ext-cal-bg-row
{
  padding: 0px;
}

.ext-cal-dayview .ext-cal-dtitle {
  padding: 8px 1px 2px;
  width: 100%;
} 

.ext-cal-dayview .ext-cal-body-ct {
  position: relative;
  overflow-y: scroll;
  overflow-x: hidden;
  padding: 0;
  line-height: normal;
}
.ext-cal-dayview .ext-cal-body-ct .ext-cal-bg-row-ct {
  height: 1008px;
}
.ext-cal-dayview .ext-cal-bg-row-ct {
  background-color: #fff;
  margin-top: -1px;
  border-bottom: 1px solid #f7f7f7;
  border-right: 1px solid #f7f7f7;
}
.ext-cal-dayview .ext-cal-bg-rows {
  position: relative;
  height:100%;
}
.ext-cal-dayview .ext-cal-bg-rows-inner {
  position: absolute;
  width: 100%;
}

.ext-cal-dayview .ext-cal-bg-row 
{
  height:100%;
  padding: 0px;
  border-top: 1px solid #ddd;
}

.ext-cal-dayview .ext-cal-bg-row-div {
  border-bottom: 1px dotted #ddd;
  font-size: 1px;
  height: 21px;
  margin-bottom: 20px;
  position: absolute;
  top: 0px;
  left: 50px;
  right: 0px;
}
.ext-cal-dayview .ext-row-1 {
  border-top: 0;
}
.ext-cal-day-time-inner {
  height: 41px;
  border-right: 1px solid #ddd;
  padding: 3px 4px 0 0;
  font-size: 12px;
  text-align: right;
  width: 50px;
}

.ext-cal-days-row
{
  position: absolute;
  top: 0px;
  left: 50px;
  right: 0px;
  height:100%;
}

.ext-cal-day-col {
  border-left: 1px solid #ddd;
  vertical-align: top;
  float:left;
}

.ext-cal-day-col-1
{
  border-left: none;
}

.ext-cal-day-col-inner {
  position: relative;
  cursor: default;
}
.ext-cal-day-col-gutter {
  position: relative;
  margin-right: 15px;
  height: 1008px;
}

/* -----------------------------------------
 * Month-specific styles
 */
.ext-cal-monthview .ext-cal-hd-ct {
  left: 0;
  top: 0;
  position: absolute;
  width: 100%;
}
.ext-cal-monthview .ext-cal-body-ct {
  background: #fff;
  bottom: 0;
  left: 0;
  border:0;
  overflow: hidden;
  position: absolute;
  top: 20px;
  width: 100%;
}

/* Month view week link boxes */
.ext-cal-monthview .ext-cal-week-link,
.ext-cal-monthview .ext-cal-week-link-hd {
  width: 20px;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: #EFEFEF;
  border-top: 1px solid #DDD;
  border-right: 1px solid #DDD;
  font-size: 10px;
  color: #999;
  padding: 3px 0 0;
  text-align: center;
  cursor: pointer;
}
.ext-cal-monthview .ext-cal-week-link-hd {
  border-top: 0px;
}
.x-calendar-nonav .ext-cal-monthview .ext-cal-week-link-hd {
  border-top: 0;
}

/* Outer wrapping div for week rows */ 
.ext-cal-wk-ct {
  left: 0;
  overflow: hidden;
  position: absolute;
  width: 100%;
  height: 100px;
}
.ext-cal-monthview .ext-cal-wk-ct {
  height: 100%;
}
/* Background table cell */
.ext-cal-day 
{
  border-left: 1px solid #ddd;
  cursor: pointer;
  vertical-align: top;
  position: relative;
  overflow: auto;
}
.ext-cal-day-first, 
.ext-cal-month-hd .ext-cal-day-first 
{
  border-left: 0;
}

.ext-cal-ev,
.ext-cal-dtitle {
  cursor: pointer;
}

/*Event container table*/ 
.ext-cal-evt-div {
  position:relative;
  width:100%;
}

/* Event title cell (includes today, prev & next month) */
.ext-cal-day .ext-cal-dtitle {
  font-family: helvetica, arial, sans-serif;
  border-top:1px solid #ddd;
  color: #666;
  line-height:14px;
  overflow:hidden;
  text-align:right;
  font-size: 11px;
  padding-top: 1px;
  padding-right: 1px;
  padding-left: 1px;
  background-color: #DDD;
}
.ext-cal-day .ext-cal-dtitle-first {
  border-top: 1px solid #DDD;
}
.ext-cal-day .ext-cal-dtitle div {
  padding: 2px 4px 1px;
}
/* Today's title cell */
.ext-cal-day .ext-cal-dtitle-today div {
  background-color: #ECDC93;
  white-space: nowrap;
  border-top-color: #ECDC93;
}
/* Today time span */
.ext-cal-dtitle-time {
  font-size: 11px;
}
/* Today's background cell */
.ext-cal-day-today {
  background: #FFF4BF;
}

.ext-cal-body-ct .opacity-0_2
{
  opacity: 0.2;
}

/*Event cells*/ 
.ext-cal-ev {
  font-family:Verdana,sans-serif;
  vertical-align:top;
}

.ext-cal-evt 
{
  cursor:pointer;
}

/* Webkit/Gecko: */
.ext-evt-over,
/* IE/Opera: */
.ext-evt-over .ext-cal-evm {
  opacity: .8;
  filter: alpha(opacity=80);
}

/* Default rounded event div (Gecko/Webkit/W3C) */
.ext-cal-evr { /* rounded */
  -moz-border-radius:5px;
  -webkit-border-radius:5px;
  border-radius:5px;
  overflow:hidden;
  padding: 2px 1px 2px 5px;
  white-space:nowrap;
  text-overflow: ellipsis;
  border: 0;
  margin: 1px 1px 0 2px;
}

.ext-evt-selected
{
  border: 1px solid blue;
}

.ext-cal-day-col .ext-cal-evr {
  border-width: 1px;
  border-style: solid;
  border-color: transparent;
}

/* Day view event styles */ 
.ext-cal-day-col .ext-cal-evt {
  position: absolute;
  overflow: hidden;
  cursor: default;
  color: #fff;
  -moz-user-select: none;
}

/* Event spanning -- overrides rounded corners */
.ext-cal-ev-spanboth
{
  padding-left: 12px;
  padding-right: 10px;
  border-radius: 0px;
  margin-right: 0px;
  margin-left: 0px;
  border-left: none;
  border-right: none;
}

.ext-cal-ev-spanleft 
{
  padding-left: 12px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  margin-left: 0px;
  border-left: none;
}

.ext-cal-ev-spanright 
{
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  padding-right: 10px;
  margin-right: 0px;
  border-right: none;
}

.ext-cal-spl,
.ext-cal-spr {
  position: absolute;
}
.ext-cal-spl 
{
  left: 2px;
}
.ext-cal-spr 
{
  right: 2px;
}

.ext-cal-spr:before
{
  content: '>';
}

.ext-cal-spl:before
{
  content: '<';
}

.ext-cal-ic
{
  width:16px;
}