@import url("layouts/layout-2d.css");

.calendar, .calendar table {
  border-color: #2e8e9e; /* Today Bar */
  border-width: 1px;
  color: #000;
  background-color: #2e8e9e; /* Today Bar */

}

.calendar .nav {
  background-color: #2e8e9e; /* Today Bar */
  color:#fff;
  font-weight:bold;
}

/* Header part -- contains navigation buttons and day names. */
.calendar thead .title { /* This holds the current "month, year" */
  border-color: #6EA7F9 #022B66 #03419B #3886F6;
  background-color: #2e8e9e; /* Month/Year Bar */
  color: #fff; /* Month/Year Text */
  font-size:12px;
  font-weight:bold;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
  background-color: #a5a5a5;
  color: #fff;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
  background-color: #bdf;
}

.calendar thead .name { /* Cells <TD> containing the day names */
  border:0;
  background-color: #fff4dc; /* Day of the week background color */
  color: #4e4e4e;

}

.calendar thead .weekend { /* How a weekend day name shows in header */
  color: #2e8e9e; /* Today Bar */
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  background-color: #fff4dc; /* Today bar Hover color */
  color: #000;
  border:0;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  background-color: #696969; /* click link color */
}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
  font-weight: bold;
  background-color: #ffffff;
  color: #4e4e4e; /* Number Colors in cal */
}
.calendar tbody .day.othermonth {
  color: #bbb;
}
.calendar tbody .day.othermonth.oweekend {
  color: #fbb;
}

.calendar table .wn {
  border-color: #000;
  background-color: #bdf;
}

.calendar tbody .rowhilite td {
  background-color: #fff;
  
}

.calendar tbody .rowhilite td.wn {
  background-color: #eef;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
  background-color: #fff;
  text-decoration:underline;
   border:1px solid #fff;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  background-color: #fff;
}

.calendar tbody td.selected { /* Cell showing selected date */
  border-color: #000;
  background-color: #fff;
  color: #000;
}

.calendar tbody td.weekend { /* Cells showing weekend days */
  color: #a66;
}

.calendar tbody td.today { /* Cell showing today date */
  color: #d18a0d;
}

.calendar tbody .disabled { color: #999; }

.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
}

.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */

}

/* The footer part -- status bar and "Close" button */
.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
  background-color: #556;
  color: #fff;
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  background-color: #fff4dc; /* Day of Week Bar hover */
  color: #445;
  border-color: #556;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  background-color: #aaf;
  /*border-color: #04f;*/
  color: #000;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  background-color: #696969; /* click link color */
}

/* Combo boxes (menus that display months/years for direct selection) */
.calendar .combo {
  border-color: #655;
  background-color: #def;
  color: #000;
}

.calendar .combo .hilite {
  background-color: #acf;
}

.calendar .combo .active {
 /* border-color: #46a;*/
  background-color: #eef;
}

/* time */

.calendar tfoot tr.time td { border-color: #000; }
.calendar tfoot tr.time td.hour,
.calendar tfoot tr.time td.minute { border-color: #aac; }
.calendar tfoot tr.time td.hilite { background-color: #acf; }
.calendar tfoot tr.time td.active { background-color: #9be; }

/*
Reduce size to small
*/.calendar {
  border-width: 1px;
  font-size: 8px;
}

.calendar table {
  font-size: 10px;
}

.calendar tbody .day { 
width: 1.5em;


 }

.calendar td {
   font-size: 10px;
}
/*
Define elements to show start/end dates and the dates in between
*/

/*
* for start/end dates
*/
.edges {
   border : 1px solid;
   border-color: #adaa9c #fff #fff #adaa9c;
   background-color: #fffbee;
}

/*
* for dates between start and end dates
*/
.between {
   background-color: #dccdb9;
}

.calendar tbody .disabled { text-decoration: line-through; color:#000}

.calendar p{
margin:0;
}
