body {
  font-family: Verdana, Tahoma, sans-serif;
  background-color: #ffeecf;/*#f4f4f4;*//*rgb(255, 255, 222); transparent;*/
  margin: 0;
  font-size: 22px;
  /*margin-bottom: 20px;*/
  background-image: url('/images/IHOLF_10.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

h1 {
  text-align: center;
  color: #2B2B2B;
}

h2, .content p:first-child {
  margin: 3px 0;
}

form {
  text-align: center;
  margin-bottom: 20px;
}

.audioButton {
    padding: 7px 14px;
    border: 2px solid #999;
    cursor: pointer;
    border-radius: 12px;
    margin: 10px 0;
    color: white;
    background-color: #750000; /* Default color fallback*/
    position: relative; /* for text position */
    overflow: hidden; /* for ripple effect */
    transition: background-color 0.3s ease; /* smoother background transition */
    font-weight:bold;
    font-size: 1.2rem;
    font-style: italic;
    display: inline-flex;
    align-items: center; /* vertically align */
    gap: 5px; /* Add a bit of spacing between the icon and text*/    
}
.button-wrapper {
    display: flex;
    justify-content: center;
}
.audioButton.play {
    background-color: #55ac55; /* dark green for 'play' */

}
.audioButton.stop {
   background-color: #ac5555; /* dark red for 'stop' */
}

/* prayer */
#prayer .subtext {
  font-size: 11px;
  color: grey;
  margin: 0 0 0 40px;
}
#prayer p {
  font-size: 16px;
  font-weight: bold;
  margin: 10px 0 7px 7px;
  border-radius: 5px;
}
#prayer #name, #prayer textarea {
  width: 100%;
  padding: 15px 10px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1rem;
  box-sizing: border-box;
}
#prayer #thankyou {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    box-sizing: border-box;
    font-weight:bold;
    color: blue;
}

/*quiz*/
input[type=radio], input[type=checkbox] {
  width:30px;
  height:30px;
  vertical-align: middle;
}
label {
  vertical-align: middle;
  background-color: rgba(255, 255, 255, .85);
  display: block;
  padding: 7px;
  margin: 7px;
  border: 1px solid black;
  font-weight: bold;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}
.answers div {
    display: table-row;
}
.answers span {
    display:table-cell;
}
.correct {
  background-color: green;
  color:white;
  font-weight: bold;
}
.incorrect {
  background-color: #C00;
  color:white;
  font-weight: bold;
}
#correct:after {
  content: "  \2714";
  font-size: 18px;
  padding-left: 10px;
}
#incorrect:after {
  content: "  \2718";
  font-size: 18px;
  padding-left: 10px;
}
#quiz-listing tr {
    background-color: rgba(204, 204, 204, .75);
    border: 1px solid black;
}
.question {
  background-color: white;
  color: blue;
}
.status {
  color: green;
  font-weight: bold;
}
.note {
  color: black;
  font-style: italic;
  font-size: small;
  padding: 10px 5px;
  font-weight: bold;
}
.highlight {
  color: red;
  font-weight: bold;
}

#footer {
  color:grey;
  font-size:small;
  padding: 5px;
}

.txt-center {
  text-align: center;
}

.content {
  padding: 5px 10px 0px 10px;
  /*background-color: rgba(80, 13, 13, .01);*/
}

.calButton {
    text-transform: uppercase;
    background-color: #500d0d;
    background: linear-gradient(to top, #8c1027, #750000);/*linear-gradient(to top, #290000, #791a1a);*/
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    border-radius: 25px;
    color: #FFFFFF;
    font-family: Verdana, Tahoma, sans-serif;
    font-weight: bold;
    font-size: 15px;
    display: inline-block;
    padding: 12px 16px;
}
.calButton.whatsNew {
    background: linear-gradient(to bottom, #ffeecf, #ebdbbf);
    color: #000000;
    border: 4px solid #820916;
    padding: 8px 12px;
}
.whatsNew li {
    margin-bottom: 15px
}

.listing_link, .home_link, .top_link {
    text-transform: uppercase;
    /*background-color: rgba(80, 13, 13, .2);*/
    background-color: /*#dadada;*//*#FFF5E3;*/rgba(80, 13, 13, .2);
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    color: #440000;
    font-family: Verdana, Tahoma, sans-serif;
    font-weight: bold;
    font-size: 15px;
    display: inline-block;
    padding: 12px 16px;
    bottom-border: 1px solid grey;
}

.icoButton {
    text-transform: uppercase;
    /*background-color: rgba(80, 13, 13, 1);*/
    /*background-color: #500d0d;*/
    background: linear-gradient(to top, #8c1027, #750000);/*linear-gradient(to top, #290000, #791a1a);*/
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    color: #FFFFFF;
    font-family: Verdana, Tahoma, sans-serif;
    font-weight: bold;
    font-size: 16px;
    display: inline-block;
    padding: 3px 5px 0px 5px;
}

.goButton {
    padding: 8px 14px;
    /* width: 60px; */
    height: 36px;
    font-size: 13px;
}

.responsive {
    width: 100%;
  height: auto;
  /*margin-right: 5px;*/
}

.styled-select {
   height: 5em;
   overflow: hidden;
   border: 1px solid #ccc;
   }

.select-month select {
  background-color: #eee;
  padding: 5px;
  margin-right: 10px;
  font-size: 16px;
  border: 1px solid #999;
}

.select-month select[name="months"] {
  width: 8em;
}

.select-month select[name="years"] {
  width: 5em;
}

.select-month .button {
  border: 1px solid #666;
  background-color: #999;
  color: #fff;
  font-weight: bold;
  padding: 5px;
  cursor: pointer;
}

#calendar-wrap {
  margin-bottom: 10px;
}

#calendar {
  /*background-color: rgba(80, 13, 13, .1);*/
  width: 90%;
  max-width: 1800px;
  margin: 0 auto 5px;
}

#calendar a, a {
  text-decoration: none;
}

#calendar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  clear: both;
  width: 100%;
}

#calendar li {
  display: block;
  float: left;
  width: 14.2857142857%;
  padding: 5px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #ccc;
  margin-bottom: -1px;
}

#calendar .weekdays {
  height: 40px;
  background-color: #444;
  width: 100%;
}

#calendar .weekdays li {
  text-align: center;
  text-transform: uppercase;
  line-height: 20px;
  border: 1px solid white;
  padding: 10px 10px;
  color: #fff;
  font-size: 0.9em;
}



#calendar .days li:hover {
  background-color: #eee;
}

#calendar .day_of_week {
  text-transform: uppercase;
  font-size: 12.5px;
  font-weight: bold;
  padding-left: 2px;
  float: right;
}

#calendar .day {
    background-color: #FFF5E3;/*rgba(255, 255, 255, 0.5);*/
}

#calendar .sunday {
  background-color: peachpuff;
}

#calendar .date {
  text-align: center;
    margin-bottom: 5px;
    padding: 5px;
    background-color: #ececec;
    border: 1px solid white;
    color: #2e0000;
  width: 25px;
  display: inline-block;
    border-radius: 5%;
    -webkit-border-radius: 5%;
    -moz-border-radius: 5%;
    font-weight: bold;
}

#calendar .other-month .date  {
  display: none;
}

#calendar .event {
  clear: both;
    font-size: 15px;
    color: #FFFFFF;
    font-weight: bold;
    font-family: Verdana, Tahoma, sans-serif;
    border-radius: 25px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    padding: 6px 0 6px 5px;
    margin-bottom: 5px;
    text-transform: uppercase;
    background: linear-gradient(to top, #8c1027, #750000);/*linear-gradient(to top, #290000, #791a1a);*/
    background-color: #500d0d;
}

/*
#calendar .event:hover {
  background-color: #BAEFEF;
  cursor: pointer;
}
*/

#calendar .event-desc {
  color: #FFFFFF;
  padding: 7px 0;
  text-align: center;
    font-weight: bold;
    font-size: 12px;
}

#calendar .other-month {
  background-color: #f5f5f5;
}

#home-listing table, #feasts-listing table, #quiz-listing table, #prayer table {
  width: 100%;
}
#feasts-listing tr:nth-child(odd) {
  background-color: rgba(222, 222, 222, 0.5);
}
#feasts-listing tr:nth-child(even) {
  background-color: rgba(244, 244, 244, 0.5);
}

.page_date {
  margin: 10px;
  text-transform: uppercase;
}
.page_title {
  margin: 0;
  margin-bottom: 5px;
    color: #FFFFFF;
    font-weight: bold;
    padding: 8px;
    font-size: 16px;
    background-color: #7f0000;
    /*background-color: #722a2a;*/
    text-transform: uppercase;
}
#home-listing th, #feasts-listing th {
    background-color: #7f0000;
    /*background-color: #722a2a;*/
    color: #FFFFFF;
    font-weight: bold;
    padding: 5px;
    text-transform: uppercase;
}
#home-listing td, #feasts-listing td {
  padding: 5px
}
#home-listing a, #feasts-listing a {
  text-decoration: none;
}
#home-listing .calButton, #feasts-listing .calButton, #quiz-listing .calButton, .listing_link, #prayer .calButton {
  display: inline-block;
  text-transform: uppercase;
  width: 85%;
}

.tabs input { display: none; }                /* hide radio buttons */
.tabs input + label { display: inline-block } /* show labels in line */
.tabs input ~ .tab { display: none }          /* hide contents */
/* show contents only for selected tab */
.tabs #eng:checked ~ .tab.content1,
.tabs #latin:checked ~ .tab.content2 { display: block; }
.tabs input + label {             /* box with rounded corner */
  border: 1px solid #999;
  background: #d7c9af;
  padding: 3px 9px;
  border-radius: 4px 4px 0 0;
  position: relative;
  top: 1px;
  margin: 5px 0 0 5px;
}
.tabs input:checked + label {     /* white background for selected tab */
  background: #fcefd6;/*#FFF5E3 #f4f4f4;*/
  border-bottom: 1px solid transparent;
}
.tabs input ~ .tab {          /* grey line between tab and contents */
  border-top: 1px solid #999;
  padding: 0 5px;
}

@media(min-width:800px) {
  #calendar {
    width: 100%;
  }
  #calendar .days li {
    min-height: 12.2em;
  }
  .day_of_week {
    display: none;
  }
}

@media(min-width:600px) and (max-width:799px) {
  .events
  {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-spacing: 10px;
  }
  .event
  {
    display: table-cell;
  }
}

@media(max-width:768px) {
  #calendar {
    width: 100%;
  }

  #calendar .weekdays, #calendar .other-month {
    display: none;
  }

  #calendar li {
    height: auto !important;
    border: 1px solid #ededed;
    width: 100%;
    padding: 10px;
    margin-bottom: -1px;
  }

  #calendar .date {
    float: none;
  }

  #calendar .event {
    margin-top: 8px;
  }

  #home-listing th, #home-listing td, #feasts-listing th, #feasts-listing td {
    font-size: small;
  }
}


@media only screen and (min-width: 768px) {
  body {
      width: 85%; margin: 0 auto;
  }
  #calendar .days li {
    min-height: 20em;
  }
}

@media only screen and (min-width: 1200px) {
  body {
      width: 75%; margin: 0 auto;
  }
}

/* Styling for the search container */
.search-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Styling for the clear button */
.clear-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 30px;
    color: #666;
    cursor: pointer;
    outline: none;
    padding: 0;
}

/* Hover effect for the clear button */
.clear-btn:hover {
    color: red;
}
