/* The main calendar widget.  DIV containing a table. */
@import url(https://fonts.googleapis.com/css?family=Oswald&subset=latin,latin-ext);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600&subset=latin,cyrillic-ext);

div.calendar { position: relative; }

div.calendar, div.calendar table 
{
    font-size: 11px;
    color: #000;
    cursor: default;
    font-family: 'Open Sans', sans-serif;
    background: #fff;  
    -moz-border-radius: 5px; 
    border-radius: 5px;
    -webkit-border-radius: 5px;    
    border:0px solid !important;
    opacity: .95 !important ;   
    filter:Alpha(Opacity=95) !important;
    z-index:1150;  
    -webkit-box-shadow: 0px 0px 50px 0px #555;
    -moz-box-shadow:    0px 0px 50px 0px #555;
    box-shadow:         0px 0px 50px 0px #555;
    border: 1px solid #AAAAAA;     
}

div.calendar table .time {
    display: none;
}

.text_area div.calendar {
    margin-left:40px;
}

img div.calendar_icon {
    background: url("../images/calendar.png") no-repeat scroll 0 0 transparent !important;
    border: 0 solid !important;
    bottom: 0;
    height: 0;
    margin: 0;
    overflow: hidden;
    padding: 18px 16px 0 0;
    margin: 0px 0px 0 1px;    
    vertical-align: top;
    width: 0;
}

.text_area div.calendar td{
    width:100px !important;
}

.text_area div.calendar .cell-header {
    color:#fff;
}

.text_area div.calendar td{
    border: 1px white solid; 
    cellspacing:1px #fff;
    padding: 1px; 
    margin-top: 1px; 
    background: #d4d4d4;    
    border-collapse:collapse;
  
}


/* Header part -- contains navigation buttons and day names. */

div.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;    /* They are the navigation buttons */
  padding: 2px;          /* Make the buttons seem like they're pressing */
}

div.calendar .nav {
  background: #CCCCCC url(menuarrow.gif) no-repeat 100% 100%;
}

div.calendar thead .title { /* This holds the current "month, year" */
  font-weight: bold;      /* Pressing it will take you to the current date */
  text-align: center;
  border-bottom: 0px solid #655;
  color: #222222;
  padding: 2px;
  font-size: 1em;
  width: 73%;
  background: transparent; 
}

div.calendar thead .headrow { /* Row <TR> containing navigation buttons */
  background: #CCCCCC;
  color: #000;
}

div.calendar thead .weekend { /* How a weekend day name shows in header */
  color: #f00;
}

div.calendar thead .hilite { /* How do the buttons in header appear when hover */
  background-color: #faa;
  color: #000;
  border: 1px solid #f40;
  padding: 1px;
}

div.calendar thead .active { /* Active (pressed) buttons in header */
  background-color: #CCCCCC;
  padding: 2px 0px 0px 2px;
}

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

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

div.calendar tbody .day { /* Cells <TD> containing month days dates */
  width: 2em;
  text-align: right;
  padding: 5px 5px 5px 5px;
  background: #E6E6E6;
  border:1px solid #d3d3d3;
  color: #555;
  margin: 1px 1px 1px 1px;  
    display: inline-block;      
}
div.calendar tbody .day.othermonth {
  font-size: 80%;
  color: #bbb;
}
div.calendar tbody .day.othermonth.oweekend {
  color: #fbb;
}

div.calendar table .wn {
  padding: 2px 3px 2px 2px;
  border-right: 1px solid #000;
  background: #fed;
  display: none;
}

div.calendar tbody .rowhilite td {
  background: #ddf;
}

div.calendar tbody .rowhilite td.wn {
  background: #efe;
}

div.calendar tbody td.hilite,
div.calendar tbody td.weekend.hilite
 { /* Hovered cells <TD> */
  border:1px solid #d3d3d3;
  color: #fff;  
  background: #0876B8;
  background: #0876B8;
}

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

div.calendar tbody td.selected { /* Cell showing today date */
  border:1px solid #d3d3d3;
  color: #fff;  
  background: #0876B8;
}

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

div.calendar tbody td.today { font-weight: bold; }

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

div.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
  visibility: hidden;
  border: 1px solid #fff;
}

div.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
  display: none;
}

/* The footer part -- status bar and "Close" button */

div.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
  text-align: center;
  background: #CCCCCC;
  color: #000;
  
}

div.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  border-top: 0px solid #655;
  background: #CCCCCC;

}

div.calendar tfoot .hilite { /* Hover style for buttons in footer */
  background: #faa;
  border: 1px solid #f40;
  padding: 1px;
}

div.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  background: #c77;
  padding: 2px 0px 0px 2px;
}

/* Combo boxes (menus that display months/years for direct selection) */

div.calendar .combo {
  position: absolute;
  display: none;
  top: 0px;
  left: 0px;
  width: 4em;
  cursor: default;
  border: 1px solid #655;
  background: #ffe;
  color: #000;
  font-size: 90%;
  z-index: 100;
}

div.calendar .combo .label,
div.calendar .combo .label-IEfix {
  text-align: center;
  padding: 1px;
}

div.calendar .combo .label-IEfix {
  width: 4em;
}

div.calendar .combo .hilite {
  background: #fc8;
}

div.calendar .combo .active {
  border-top: 1px solid #a64;
  border-bottom: 1px solid #a64;
  background: #fee;
  font-weight: bold;
}

div.calendar td.time {
  border-top: 1px solid #a88;
  padding: 1px 0px;
  text-align: center;
  background-color: #fed;
}

div.calendar td.time .hour,
div.calendar td.time .minute,
div.calendar td.time .ampm {
  padding: 0px 3px 0px 4px;
  border: 1px solid #988;
  font-weight: bold;
  background-color: #fff;
}

div.calendar td.time .ampm {
  text-align: center;
}

div.calendar td.time .colon {
  padding: 0px 2px 0px 3px;
  font-weight: bold;
}

div.calendar td.time span.hilite {
  border-color: #000;
  background-color: #866;
  color: #fff;
}

div.calendar td.time span.active {
  border-color: #f00;
  background-color: #000;
  color: #0f0;
}

div.calendar td,
div.calendar td.button.nav
 {
    width: 2em;
    text-align: right;
    padding: 5px 5px 5px 5px;
    background: #fff;
    border:0px solid #d3d3d3;
    color: #555;
    margin: 1px 1px 1px 1px;  
    display: inline-block;
        
}

div.calendar .headrow td.button
 {
    background: none repeat scroll 0 0 #CCCCCC;
    border:1px solid #CCCCCC;
    width: 8em;                
}

div.calendar .headrow td.button.hilite

{
    padding: 2px;
}

div.calendar .headrow td.button.nav.hilite
{
    padding: 5px;
    cursor: pointer;
}


div.calendar td.button.nav
 {
    background: none repeat scroll 0 0 #CCCCCC;
    border:1px solid #CCCCCC;
    width: 2em;            
}


div.calendar thead .name { /* Cells <TD> containing the day names */
  border: 1px solid #fff;
  padding: 5px;
  text-align: center;
  color: #222222;
  background: #fff;
  font-weight: bold; 
  margin: 1px 1px 1px 1px;  
}

div.calendar tfoot .ttip {
    width: auto;
    background: #CCCCCC;
}


/* added by JF */
#calendar-container{
  width: 225px;
  float: left;	  	
}
      

tablediv.calendar td.no_style, tablediv.calendar2 td.no_style {border: none; background-color: none;}

tablediv.calendar td div.cell-number, tablediv.calendar2 td div.cell-number {font-size: 10px; color: #444444; display: block;
    vertical-align: middle;
}

table div.calendar td div, tablediv.calendar2 td div {display: block; text-align: center;}


div.calendar_item {
	padding: 4px;
	margin-bottom: 1px;
}

div.calendar_event_day {
/*	background-color:#87d9ff;
	background-image: url(../images/icons/calendar.png);*/
	background-position: 10px 50%;
	background-repeat: no-repeat;
	color:#6D7E6C;
	font-size:22px;
	height:26px;
	margin:2px;
	padding-bottom:3px;
	padding-top:3px;
	z-index: 1000;
}

div.calendar tfoot .ttip {
    color: #222222;
}