/* CSS (c) David Gibson 2019. No licence should be inferred
   CSS for the BCRA Calendar
*/


/* replace HTML default, to match BCRA index page */

BODY {
font-size: 11pt;
}


/* for the more-less.png icon */

IMG  {
  padding-left: 8px;
}


/* experimental style for LIST type of calendar layout */

UL.calendar2 {
  font-family: sans-serif;
  background-color: AliceBlue;
  max-width: 800px;
  padding: 0px 10px 0px 20px;
}

UL.calendar2 LI {
  padding: 3px;
}


/* experimental style for TABLE type of calendar layout */

TABLE.calendar2 {
  border-collapse: collapse;
  font-family: sans-serif;
  background-color: AliceBlue;
  max-width: 800px;
  margin-top: 10px;
}

TABLE.calendar2 TD {
  border: solid grey 1px;
  padding: 5px;
}


/* experimental style for TEXT type of calendar layout */

/* outer wrapper */

DIV.calendar2 {
  font-family: sans-serif;
  padding: 5px; 10px; 5px; 10px;
  background-color: AliceBlue;
  max-width: 400px;
  max-height: 300px;
  overflow: auto;
  margin: auto;
}

/* outer wrapper for iframe - doesnt set dimensions or scroll-bar */

DIV.iframe {
  font-family: sans-serif;
  padding: 5px; 10px; 5px; 10px;
  background-color: AliceBlue;
}


/* individual calendar items */

P.cal_date {
  margin:10px 0px 3px 0px;		/* margin and padding are NOT inherited */
  font-size: smaller;
  padding: 2px 2px 2px 10px;
  border: 1px solid white;
  background-color: ghostwhite;
}

P.cal_summary {
  font-weight: bold;
  margin:0px 0px 0px 12px;		/* margin and padding are NOT inherited */
}

P.cal_location {
  font-style: italic;
  margin:0px 0px 0px 12px;		/* margin and padding are NOT inherited */
}


/* for the accordian or popup items. NB: Styles also applied in popups.JS   */

.accordian {					/* 16-Feb-2021 removed "P" so that this also applies to DIVs. See *&*&* in calendar.php */
  font-size: smaller;
  background-color: white;
  padding: 5px 20px 5px 20px;
  margin: 0px 0px 10px 0px;		/* margin and padding are NOT inherited */
  display: none;
  max-height: 0px;
  opacity: 0;				/* className accordian is what triggers a sliding popup, via JS code,
  					   (in, at present, /js/move_to_common_js/popups-v3-MODIFIED.js)
  					   so for a non-sliding popup change className to something else, both
  					   here and in calendar.php where the html is generated. Also remove
  					   max-height and opacity settings.
  					*/
}

/* for the blue text for $showtime */

SPAN.calendar2 {
  color: blue;
}

/* for the clickable links */

.hoverhover {
  font-size: smaller;
  background-color: white;
  cursor: pointer;
  border-bottom: 1px dashed blue;
  color: blue;
  white-space: nowrap;			/* added 25-Dec-2019 for BCRA calendar */
}
