﻿table
{
  border-collapse: collapse;
  width: 100%;
  /* margin-left: 10px; */
  /* margin-right: 10px; */
  position: relative;
}

table > thead
{
  background-color: #dbe7ad;
  font-size: 85%;
}

table > thead > tr > td:hover     /* background 2 shades darker, shadow 4 shades darker */
{
  background-color: #c9db85;
  box-shadow: 0px 0px 20px #b8d05e inset;
  font-weight: bolder;
  cursor:pointer;
}

table > tbody > tr:nth-child(odd)
{
  background-color: #f5f8e8;
}

table > tbody > tr:nth-child(even)
{
  background-color: #e3ecc0;
}

.sortArrow
{
  height: 16px;
  max-height: 80%;
  float: right;
  vertical-align: bottom;
  display: inline-block;
}

.normalfilterArea  /* better if used "sticky" position but not supported in older browsers including IE */
{
  display: block;
  position: relative;
  z-index: 1;
  margin: 10px 10px 10px 10px;
  padding: 10px 10px;
  background-color: #9fc024;
}

.normalfilterArea::after
{
  content: "";
  display: table;
  clear: both;
}

.fixedPositionFilterArea  /* https://stackoverflow.com/questions/12469476/specify-right-margin-in-fixed-positioning */
{
  position: fixed;
  top: 0;
  z-index: 1;
  margin: 10px 10px 10px 10px;
  padding: 10px 10px;
  background-color: #9fc024;
  box-shadow: 0px 5px 10px 0px #808080;
}

select  /* filter selection */
{
  margin-top: 5px;
  padding: 5px 13px;
  border-radius: 30px;
  border-style: ridge;
  border-color: #A9A9A9;
  border-width: 1px;
  font-size: medium;
  background: linear-gradient(to bottom, #E2E2E2 0%, #DBDBDB 33%, #D1D1D1 66%, #FEFEFE 100%);
}

select:focus
{
  outline: none;
  background: linear-gradient(to bottom, #DBDBDB 0%, #E2E2E2 33%, #FEFEFE 66%, #D1D1D1 100%);
}

input
{
  margin-top: 5px;
  padding: 5px 13px;
  border-radius: 30px;
  border-style: ridge;
  border-color: #A9A9A9;
  border-width: 1px;
  font-size: medium;
  background: linear-gradient(to bottom, #E2E2E2 0%, #DBDBDB 33%, #D1D1D1 66%, #FEFEFE 100%);
}

input:focus
{
  outline: none;
  background: linear-gradient(to bottom, #DBDBDB 0%, #E2E2E2 33%, #FEFEFE 66%, #D1D1D1 100%);
}

button
{
  margin-top: 5px;
  margin-left:5px;
  padding:5px 13px;
  border-radius:30px;
  border-width: 1px;
  font-size: medium;
  background: linear-gradient(to bottom, #E2E2E2 0%, #DBDBDB 33%, #D1D1D1 66%, #FEFEFE 100%);
}

button:hover
{
  background: linear-gradient(to bottom, #DBDBDB 0%, #E2E2E2 33%, #FEFEFE 66%, #D1D1D1 100%);
}

button:focus
{
  outline: none;
  background: linear-gradient(to bottom, #DBDBDB 0%, #E2E2E2 33%, #FEFEFE 66%, #D1D1D1 100%);
}

option
{
  margin:40px;
  background: rgba(226,226,226,1);
  text-align:center;
}

.selectedCriteria
{
  display:inline-block;
}

#sermonCount
{
  display:inline-block;
  float: right;
  padding: 10px 10px;
}

#Preacher, #Reference, #Day, #Month, #Title, #Book,#Year
{
  position: relative;
  display: inline-block;
  border: thin;
  background: #8B76D8;
  border-radius:20px;
  border-radius: 20px;
  border-style: none;
  padding: 5px 15px;
  padding-right: 25px;
  margin-top: 5px;
  margin-left: 5px;
  color: rgba(254,254,254,1);
}

[class*='close-']
{
  color: #777;
  font: 14px/100% arial, sans-serif;
  position: absolute;
  right: 5px;
  text-decoration: none;
  text-shadow: 0 1px 0 #fff;
  top: 5px;
}

.close::after
{
  content: '✖'; /* UTF-8 symbol */
  position:absolute;
  top: -2px;
  right: 8px;
}