/* 
    Document   : jevcustom
    Created on : 22-Apr-2013, 14:12:51
    Author     : Tony Partridge - GWE Systems Ltd
    Description: To allow customisation of CSS Strings where they can never be lost.
    Purpose of the stylesheet follows.
*/


/* Override the bright red Previous/Next month bars & active navigation tabs */
#jevents_body .jev_toprow div.previousmonth,
#jevents_body .jev_toprow div.nextmonth,
#jevents_body .jev_toprow div.currentmonth,
#jevents_body .jev_pre,
#jevents_body .jev_post,
#jevents_body .nav-items div.active a,
#jevents_body .jev_header2 .active a,
#jevents_body .jev_pagination li.active a {
  background-color: #2c3e50 !important;
  border-color: #2c3e50 !important;
  color: #ffffff !important;
}

/* Hover state for navigation buttons and tabs */
#jevents_body .jev_toprow div.previousmonth:hover,
#jevents_body .jev_toprow div.nextmonth:hover,
#jevents_body .nav-items > div a:hover {
  background-color: #1a252f !important;
  border-color: #1a252f !important;
  color: #ffffff !important;
}

/* Ensure the links/arrows inside the previous/next month boxes are crisp white */
#jevents_body .jev_toprow div.previousmonth a,
#jevents_body .jev_toprow div.nextmonth a,
#jevents_body .jev_toprow div.currentmonth a {
  color: #ffffff !important;
  font-weight: 600 !important;
}
U

/* 1. Replace the bright red Flat theme header with a clean slate blue */
#jevents_body .jev_toprow,
#jevents_body .jev_header,
#jevents_body .jev_header2,
#jevents_body .jev_pre,
#jevents_body .jev_post,
#jevents_body .jev_title,
#jevents_body .jev_daysnames,
#jevents_body .jev_daysnames_container {
  background-color: #2c3e50 !important;
  background-image: none !important;
  color: #ffffff !important;
  border-color: #2c3e50 !important;
}

#jevents_body .jev_toprow a,
#jevents_body .jev_header a,
#jevents_body .jev_header2 a {
  color: #ffffff !important;
}

/* 2. Base readability */
#jevents_body {
  font-size: 16px !important;
  line-height: 1.5 !important;
}

#jevents_body .jev_daysnames,
#jevents_body .jev_daysnames_container,
#jevents_body td.cal_td_daysnames {
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 12px 6px !important;
}

/* 3. Date numbers inside each day box */
#jevents_body .jev_daynum,
#jevents_body .jev_daynum a,
#jevents_body a.cal_daylink {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #222222 !important;
}

/* 4. Force day cells to be taller AND expand automatically for multiple events */
#jevents_body .jev_row,
#jevents_body table.jev_row,
#jevents_body table.jev_row td,
#jevents_body .jev_dayoutofmonth,
#jevents_body .jev_daywithevents,
#jevents_body .jev_today,
#jevents_body .jev_daynoevents {
  height: auto !important;
  min-height: 145px !important;
  overflow: visible !important;
  vertical-align: top !important;
}

/* Release fixed height limits on inner event wrappers */
#jevents_body .jev_row > div,
#jevents_body .eventfull,
#jevents_body .eventstyle {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* 5. Event titles and stacked spacing */
#jevents_body .eventfull,
#jevents_body .eventfull a,
#jevents_body a.cal_titlelink,
#jevents_body .jev_listview .ev_link_row a {
  font-size: 15px !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
  display: block !important;
  padding: 4px 6px !important;
  margin-bottom: 5px !important;
  white-space: normal !important;
}
