div#event_list
{
  margin: 1em;
}

div#event_list > div#event_hdr
{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  column-gap: 6px;
}

div#event_list > div#event_hdr > div
{
  flex: 1 1 auto;
  display: flex;
  padding-bottom: 8px;
}

div#event_list > div#event_hdr > div select#course_select
{
  display: block;
  background: #cccccc;
}

div#event_list > div#event_hdr > div#app_code
{
  justify-content: flex-end;
}

div#event_list > div#event_hdr > div#app_code input[type="text"]
{
  width: 100%;
  max-width: 140px;
}

div#event_list > div#event_hdr > div#app_code input[type="button"]
{
  min-width: initial;
  width: 23px;
  background-color: rgba(255, 255, 255, .3);
  background-image: url("/images/site/enter_key.svg");
  background-repeat: no-repeat;
  background-size: 65%;
  background-position: center;
  padding: 0;
  border: 1px dotted gray;
  border-radius: 4px;
  cursor: pointer;
}

div#event_list > div#prologue
{
  margin-bottom: 12px;
}

div#event_list > div#prologue h2
{
  margin: 0;
}

div#no_events
{
  display: block;
  position: absolute;
  top: 40%;
  left: 50%;
  width: auto;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  padding: 12px;
  text-align: center;
  font-size: 1.1em;
  letter-spacing: 1px;
  color: initial;
  background: #AAAAAA;
  border: 1px dotted gray;
  box-shadow: 4px 4px 40px -12px rgba(100,100,100,1);
}

div.tab_binder
{
 max-width: 800px
}

div#tab_content
{
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  min-height: 200px;
  margin: 0px auto;
  color: black;
  overflow: hidden;
}

div.tab_content
{
  padding: 12px;
  border-left: 1px solid #555555;
  border-right: 1px solid #555555;
  border: 1px solid #555555;
  background: #6d7b8e;
}

div.event_panel
{
  display: block;
  position: relative;
  width: 100%;
  margin-bottom: 20px;
  color: black;
  background: #aaaaaa;
  border-left: 1px solid #555555;
  border-right: 1px solid #555555;
  border-bottom: 1px solid #555555;

  border-top-left-radius: 8px;
  border-top-right-radius: 8px;

  overflow: hidden;
  -webkit-box-shadow: 4px 4px 9px 0px rgba(85,85,85,1);
  box-shadow: 4px 4px 9px 0px rgba(85,85,85,1);
}

div.event_panel div.ep_caption    /* year month caption */
{
  display: block;
  position: relative;
  font-size: 1.2em;
  letter-spacing: 1px;
  padding: 4px 20px;
  text-align: left;
	background: #36362e;
  color: #eeeeee;
}

div.event_table a.trow
{
  display: flex;
  align-items: center;
  height: auto;
  column-gap: 4px;
  margin: 4px 0 8px 4px;
  padding: 4px 0;
}

div.event_table a.trow div.event_name > span.event_alert
{
  font-variant: small-caps;
  color: #A52A2A;
  text-align: center;
}

div.event_table a.trow:nth-child(odd) { background: var(--bgc_brown); }
div.event_table a.trow:nth-child(even) { background: var(--bgc_green); }

div.event_table a
{
  text-decoration: none;
}

div.event_table a.trow:hover
{
  background: #CCCCCC;
}

div.event_table div.tcell
{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 2px;
}

div.event_table a.trow div.event_name
{
  flex: 1 1 70%;
  display: flex;
  flex-wrap: wrap;
}

div.event_table a.trow div.event_name > span.course_cpation
{
  font-size: .9em;
}

div.event_table a.trow div.event_date
{
  flex: 0 1 30%;
  padding-right: 8px;
  padding-left: 4px;
}

div.event_table a.trow:link,
div.event_table a.trow:visited,
div.event_table a.trow:active,
div.event_table a.trow:hover { color: black; }

div.event_table a.trow:focus { outline: 0; }

div#event_contact_guard
{
  display: block;
  width:100%;
  height: 50px;
}

a#event_contact
{
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  min-height: 50px;
  padding-top: 20px;
  text-align: center;
  font-variant: small-caps;
  letter-spacing: 1px;
}

a#event_contact:link { color: #202d2e; }
a#event_contact:hover { color: #202d2e; }
a#event_contact:visited { color: #202d2e; }
a#event_contact:active { color: #202d2e; }

@media screen and (max-width: 500px)
{
  div.event_table a.trow div.event_name
  {
    width: 50%;
    border-right: 1px solid gray;
  }

  div.event_table a.trow div.event_date
  {
    width: 50%;
  }
  
  div#event_list > div#event_hdr > div,
  div#event_list > div#event_hdr > div#app_code
  {

    justify-content: center;
  }

  div#event_list > div#event_hdr > div#app_code input[type="button"]
  {
    display: none;
  }
}
