body
{
  font-family: "Garamond";
}

#coi-home
{
  position: absolute;
  left: 25%;
  top: 5%;
  width: 50%;
}

#coi-home-header
{
  padding-top: 5px;
  padding-left: 15px;
  padding-bottom: 5px;
  background-color: rgba(255, 255, 255, 0.6);
}

#coi-home-header h1
{
  font-size: 40px;
}

#coi-home-header h4
{
  margin-top: -36px;
}

#coi-home-body
{
  padding: 10px;
  margin-top: 10px;
  background-color: rgba(255, 255, 255, 0.8);
}

#coi-home-body h2
{
  font-size: 32px;
  padding-left: 15px;
}

.card-content h3
{
  font-size: 26px;
}

.card-content li
{
  font-size: 18px;
}

.card-line
{
  clear: both;
}

.card-20p
{
  width: 20%;
  float: left;
  text-align: center;
  height: 30px;
  padding-top: 6px;
  border-radius: 6px;
}

.card-selected
{
  background-color: rgb(175, 238, 238, 0.8);
}

.card-20p a
{
  font-size: 18px;
  text-decoration: none;
}

#coi-home-content
{
  margin-left: 15px;
  height: 730px;
  overflow-y: scroll;
}

#coi-home-content > .card-line
{
  padding-top: 20px;
  padding-bottom: 20px;
}

.card-description
{
  margin-top: -25px;
}

.card-content
{
  padding-left: 15px;
  margin-right: 15px;
  margin-bottom: 20px;
  background-color: #FFFFFF90;
}

#card-pagination
{
  display: inline-block !important;
  width: 100% !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.card-pagination-item
{
  width: 10% !important;
  float: left !important;
  list-style: none;
  background-color: #ffffff;
  text-align: center;
  margin-left: 2%;
  margin-right: 2%;
  height: 40px;
  padding-top: 15px;
  cursor: pointer;
}

.card-pagination-item:hover
{
  background-color: #dddddd;
}

.card-pagination-link
{
  text-decoration: none;
}

.card-time-item
{
  list-style: none;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 0.2px;
  padding-bottom: 2px;
  border-radius: 5px;
  margin-bottom: 10px;
  line-height: 7px;
  cursor: pointer;
  opacity: 0.8;
}

.card-time-item:hover
{
  opacity: 1;
}

#card-content-time
{
  margin-left: -4.5%;
  width: 98%;
}

.card-time-item h4
{
  font-size: 28px;
  margin-bottom: 0px;
}

.card-timeitem-series
{
  font-size: 20px;
  line-height: 1;
}

.card-time-item h4
{
  line-height: 1}

.card-timeitem-date
{
  font-size: 16px;
}

#section-filter
{
  position: fixed;
  background-color: #ffffffdd;
  left: 1%;
  width: 22%;
  padding: 1%;
  top: 196px;
}

.filter-row label
{
  font-size: 18px;
  display: block;
  width: 100%;
  float: left;
}

.filter-text
{
  margin-top: 5px;
  width: 85%;
  border: 1px solid #888888;
  border-radius: 5px;
  height: 30px;
  padding-left: 10px;
  font-size: 16px;
  font-family: "Garamond";
  float: left;
}

.filter-row
{
  width: 100%;
  margin-bottom: 10px;
  float: left;
}

.buttons button
{
  height: 40px;
  font-family: "Garamond";
  font-size: 18px;
  cursor: pointer;
  width: 100px;
  margin-top: 10px;
  border-radius: 5px;
}

#button-filter-clear
{
  background-color: #ffffff;
  border: 1px solid #888888;
}

#button-filter-submit,
#button-filter-clear:hover
{
  background-color: #f6f6f6;
  border: 1px solid #777777;
}

#button-filter-submit:hover
{
  background-color: #dddddd;
  border: 1px solid #000000;
}

.filter-button
{
  height: 30px;
  cursor: pointer;
  float: left;
  margin-top: 7px;
  margin-left: 1%;
}

.filter-container
{
  background-color: #00000011;
  width: 92%;
  border-radius: 5px;
  padding: 10px;
  margin-top: 5px;
  float: left;
}

.filter-item
{
  background-color: #00000011;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
  border-radius: 5px;
  width: fit-content;
  float: left;
  margin-right: 10px;
  cursor: pointer;
  margin-bottom: 5px;
}

.filter-item:hover
{
  background-color: #00000022;
}

.autocomplete-wrapper > ul
{
  margin-top: 60px !important;
}

.card-content-timecompact
{
  display: none;
}

.card-content-timefull
{
  display: inline;
}

#coi-home-header > a
{
  float: right;
  margin-right: 10px;
  text-decoration: none;
  margin-top: -25px;
}

@media screen and (max-width: 1370px)
{
  #coi-home
  {
    width: 72%;
  }

  #coi-home-header
  {
    margin-left: -33%;
  }

  #coi-home-body.nofilter
  {
    margin-left: -33%;
  }
}

@media screen and (max-width: 800px)
{
  #card-content-time
  {
    margin-left: -8.5%;
  }

  .filter-button
  {
    display: none;
  }

  .filter-text
  {
    width: 93%;
  }

  .filter-container
  {
    width: 90%;
  }

  .filter-row.buttons button
  {
    width: 100%;
  }
}

@media screen and (max-height: 800px)
{
  #coi-home-content
  {
    height: 600px;
  }
}

@media screen and (max-height: 600px)
{
  #coi-home-content
  {
    height: 400px;
  }
}

@media screen and (max-width: 500px)
{
  #section-filter
  {
    display: none;
  }

  #coi-home
  {
    width: 100%;
    left: 0;
    margin-left: 1%;
  }

  #coi-home-header
  {
    margin-left: 0;
    width: 94%;
  }

  #coi-home-body
  {
    width: 92%;
  }

  #coi-home-body.nofilter
  {
    margin-left: 0;
  }

  #coi-home-header h1
  {
    font-size: 30px;
  }

  .card-20p
  {
    width: 33%;
  }
  
  #coi-home-content
  {
    height: 450px;
    margin-top: 60px;
    margin-left: 0;
  }
  
  #card-content-time
  {
    margin-left: -13.5%;
  }

  .card-content li
  {
    list-style-type: none;
    margin-left: -40px;
    padding-right: 10px;
  }

  .card-content-timecompact
  {
    display: inline;
  }

  .card-content-timefull
  {
    display: none;
  }

  .card-content
  {
    padding-right: 10px;
  }
}