<style>
/*
Theme Name:     Salient Child
Template:       salient
Version:        1.0.0
Description:    A child theme for Salient
Author:         Your Name
*/

/* Custom CSS can go below this line */


/* (1) *************************** EVENT STYLES ************************* */

.event-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Flexbox layout for the overall page */
.event-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Wrapper for Featured Image and Event Details in Two Columns */
.event-left-right-columns {
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

/* Left Column (Featured Image) */
.event-left-column {
  flex: 2;
  padding: 0;
}

/* Featured image styling */
.event-hero-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Right Column (Event Details) */
.event-right-column {
  flex: 1;
  padding: 20px;
  background: #f4f4f4;
    border-radius: 10px;
}

.event-details-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

/* Event details box styling */
.event-details-box {
  padding: 20px;
}

/* Styling for the event details list */
.event-details-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.event-details-list li {
  margin-bottom: 10px;
  list-style: none;
}

.event-details-list strong {
  font-weight: bold;
}

.booking-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 15px;
  text-align: center;
}

.booking-button:hover {
  background-color: #0056b3;
}

.book-now-div {
background: #f4f4f4;
    padding: 5%;
    border-radius: 20px;
    margin-bottom: 20px;

}



.btn-book-now {
  background-color: #be8123;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;  /* Changes the cursor to a hand on hover */
  text-align: center;
  font-size: 16px;
  width:100%;
  border-radius: 20px;
}


.btn-book-now:hover {
  background-color: #be8123;
}

.btn-donate-now {
  background-color: #be8123;
  color: #fff!important;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;  /* Changes the cursor to a hand on hover */
  text-align: center;
  font-size: 16px;
  width:100%;
}


.btn-donate-now:hover {
  background-color: #013b34;
}


/* Full Column for Event Content */
.event-content-column {
    flex: 2;
}

.event-description {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

@media (max-width: 768px) {
  /* Stacking the columns on smaller screens */
  .event-left-right-columns {
    flex-direction: column;
  }

  .event-left-column,
  .event-right-column {
    flex: 1;
    padding: 10px;
  }
}
/*EVENTS REPEATER GRID STYLE */
/* EVENTS REPEATER GRID STYLE */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for desktop */
    gap: 20px;
    margin-top: 20px;
}

.event-item {
    border: 1px solid #ddd;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.event-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.event-item p {
    margin-bottom: 10px;
}

.event-thumbnail img {
    width: 100%;
    height: 240px!important;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}
p.event-dates {
    font-size: 18px;
}
/* Media Queries for responsiveness */
@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

@media (max-width: 480px) {
    .events-grid {
        grid-template-columns: 1fr; /* 1 column for mobile phones */
    }
}

/* (2) *************************** PRAYER TIMES STYLES ************************* */

/* === HIGHLIGHT STYLES === */
.highlight {
    background-color: #aff0ff75!important;
    font-weight: bold;
}

.highlight_1 {
    background-color: #06576975;
    font-weight: bold;
}

.highlight-custom {
    background-color: #06576975;
    font-weight: bold;
    padding: 5px;
    border-radius: 5px;
}

tr.highlight {
    background-color: #06576975;
    font-weight: bold;
    background: #06576975 !important;
    color: white !important;
}

tr.highlight_1 {
    background-color: #06576975;
    font-weight: bold;
}

tr.highlight-prayer {
    background-color: #06576975;
    font-weight: bold;
    background: #d7e3d775 !important;
    color: black;
    font-weight: 900;
}

tr.next-highlight {
    background-color: #06576975;
    font-weight: bold;
    background-color: #ffe3e3 !important;
}

td.begins.highlight {
    background-color: #d7e3d775;
    background-color: #06576975;
    font-weight: bold;
}

td.jamah.highlight {
    background-color: #d7e3d775;
    background-color: #06576975;
    font-weight: bold;
}

td.highlight {
    background-color: #d7e3d775;
    background-color: #06576975;
    font-weight: bold;
}

table.dptTimetable th.highlight {
    background-color: #d7e3d775;
    background-color: #06576975;
    font-weight: bold;
}

.custom-prayer-time-box.highlight-custom {
    background-color: #06576975;
    font-weight: bold;
    background: #e0f7e0;
    border: 2px solid #8bc34a;
}

.custom-prayer-time-box .highlight-custom {
    background-color: #06576975;
    font-weight: bold;
    border: 2px solid #8bc34a;
}

.prayer-time.highlight {
    background-color: #06576975;
    font-weight: bold;
    background: #d8f5d8;
}

/* === TABLE STYLES === */
table.prayer-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table.prayer-times-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.prayer-times-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table.prayer-table th,
table.prayer-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.prayer-times-table th,
.prayer-times-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

table.prayer-table td {
    width: 7.7%;
}
table.prayer-table th {
    background: #001f83;
    color: white;
    text-align: center !important;
    font-size: 14px;
    font-weight: 900 !important;
    line-height: 1.2;
}

table.prayer-table td:first-child {
    font-weight: bold;
}

table.customStyles th.tableHeading {
    background: #001f83;
    color: #ffffff;
}

/* Jamat times specific columns */
.prayer-table td:nth-child(3),
.prayer-table td:nth-child(6),
.prayer-table td:nth-child(9),
.prayer-table td:nth-child(11),
.prayer-table td:nth-child(13) {
    color: #be8123;
}

table.prayer-times-table th {
    text-align: center !important;
    font-size: 14px;
    color: white;
    background: #001f83;
}

/* === FLEX/BOX LAYOUTS === */
.prayer-times-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
    margin-top: 20px;
}

.custom-prayer-times-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    margin-top: 20px;
}
.custom-prayer-times-row h4 {
    font-size: 22px;
}
.prayer-start-1{
    font-size: 22px;
}


.prayer-box {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    min-width: 200px;
}

.next-prayer {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    min-width: 200px;

    flex: 1 1 calc(100% - 10px);
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #fcf9eee8;
    text-align: center;
}

.custom-prayer-time-box {
    background-color: #fbfbfb;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    font-size: 1.1em;
    text-align: center;
    
    flex-direction: column;
    justify-content: center;
    height: 120px;
    min-width: 150px;
    flex: 1;
}

.custom-prayer-time-box strong {
    font-weight: bold;
}

.custom-prayer-times-row .custom-prayer-time-box div {
    margin: 5px 0;
}

.prayer-box h4 {
    margin-top: 0;
    font-size: 1.1em;
    color: #333;
}

.prayer-box p {
    margin: 5px 0;
    font-size: 0.95em;
}

.next-prayer h5 {
    color: red;
}

/* === SIGNAGE === */
div#prayer-times-container\ zoomed {
    zoom: 2!important;
}
/* === RESPONSIVE === */
@media (max-width: 768px) {
    .prayer-box {
        flex: 1 1 100%;
    }
}


/* === MISCELLANEOUS BLOCKS === */


.pagination {
    text-align: center;
    margin: 40px 0;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    background: #eee;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
}

.pagination .current {
    background: #333;
    color: #fff;
    font-weight: bold;
}


.countdown-box {
    border: 1px solid silver;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
    background:#fffcf3;
}

.todays-prayer-block {
    border: 1px solid silver;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
    background: #143b57;
}
.todays-prayer-block h2 {
 color:white;
}
.todays-prayer-block h3 {
 color:white;
}

.todays-announcement {
    border: 1px solid silver;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin: 20px 0;

    border-color: green;
    background: #efffef;
}
/*PRAYER TABLE DIV */
.prayer-table-div {
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
    font-size: 14px;
}

.prayer-row {
    display: grid;
    grid-template-columns: repeat(13, 1fr);
    border-top: 1px solid #ddd;
    padding: 6px 0;
}

.prayer-head {
    font-weight: bold;
    background: #f1f1f1;
}

.highlight-prayer {
    background-color: #ffffcc;
}


/*JUMMAH TIMES */
.jummah-times {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* Optional: Adjusts the space between the divs */
}

.jummah-time {
    width: 48%; /* Adjust as needed */
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align:center
}

.jummah-time h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.jummah-time p {
    font-size: 16px;
}
.jummah-times {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}
.jummah-time {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
    flex: 1;
    padding:20px;
}
.jummah-times .jummah-time.full-width {
    flex: 1 1 100%;
}

/* GIVE WP */

.give-grid.give-grid--3 {
    gap: 40px;
}
.give-wrap .give-card__media img {
    object-fit: cover;
    height: 250px;
}

/* (0) *************************** ENDS ************************* */



</style>
