/* Custom Menu Css */

.radiant-one .link-box a {
  white-space: unset;
}

.tab-content > .active {
  /* display: block; */
  display: flex !important;
}

li.astm-search-menu.is-menu.full-width-menu.menu-item {
    padding: 10px;
}
ul.sub-menu {
  position: absolute;
  top: 100%;
  z-index: 1000;
  display: none;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
}

.menu-item:hover > .sub-menu{
    display: block;
}

.sub-menu a.nav-link {
    text-align: left !important;
}

div#cs_nav {
  align-self: stretch;
/*   display: flex; */
  align-items: center;
}

ul#menu-header-menu {
  height: 100%;
	align-items: center;
}

ul#menu-header-menu > li {
  display: flex;
  align-items: center;
  height: 100%;
}
ul#menu-header-menu > li > a{
  height: 100%;
  display: flex;
  align-items: center;
}

/* GIVE WP GRID STYLES */

button.grid-button {
  width: 50%;
  margin: 10px 20px 20px 20px;
  border: 0;
  color: #ffffff;
  background-color: #50ac97;
  border-color: #50ac97;
  border-radius: 10px;
  padding: 13px 0;
  cursor: pointer;
}

button.grid-button span {
  color: #fff !important;
}

.give-form-grid-progress {
  background: unset;
}

.form-grid-raised{
  background: unset;
}

.give-card__media {
  height: 200px;
  overflow: hidden;
}

p.give-form-grid-content__text {
  font-size: 0.9rem;
  margin-top: 20px;
}

.give-form-grid-content {
  padding-bottom: 0;
}


.give-wrap .give-card__media img {
  width: inherit;
  height: inherit;
}

.give_forms.type-give_forms {
  display: table;
  padding: 96px 0;
  max-width: 90%;
  margin: 0 auto;
  width: 90%;
  
}

.give_forms.type-give_forms .give-goal-progress {
  display: none;
}

.give-wrap.container{
  background: #f8f7f5; 
   max-width: 100%;
   display: flex;
   justify-content: center;
}

.give-wrap div#content {
  width: 100%;
}

#give-recurring-form, form.give-form, form[id*=give-form] {
  background: #ffffff;
  margin: 32px 0 0 0;
  padding: 40px;
  border-radius: 2px;
  box-shadow: 0px 0px 7px -1px rgba(0,0,0,0.1);
}

h1.give-form-title.entry-title {
  font-weight: 700;
  color: #000;
}
div#give-receipt {
    max-width: 90%;
    margin: 0 auto;
    padding: 90px 0;
}


/* event card styles */

.event-card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  border-radius: 5px;
	border:2px solid #4FB39B;
  overflow: hidden;
  margin-bottom: 20px;
  padding: 0;
  width: 23%;
  display: block;
  text-decoration: none;
  color: unset;
}

.card-top {
  height: 200px;
  width: 100%;
  overflow: hidden;
}

.card-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.date-archive-pills {
    padding-bottom: 20px;
}
.bottom-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.2;
}

.event-time {
  font-size: 14px;
  color: #1f4068;
  margin-bottom: 10px;
}

.event-venue {
  font-size: 14px;
  color: #1f4068;
}

.bottom-right {
  background-color: #1f4068;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 50px;
  padding: 10px;
  border-radius: 5px;
}

.date-box {
  font-size: 15px;
  font-weight: bold;
  text-transform: uppercase;
 
}

.event-card i {
  color:#1f4068;
}

.events-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5%;
}
/*.events-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}*/


.category-filter {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
  flex-wrap: wrap;
  row-gap: 10px;
}
/*.event-card{width:285px;border:2px solid #4FB39B;border-radius:12px;overflow:hidden}*/
.category-filter .pill {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  margin-right: 0.5rem;
  cursor: pointer;
  background-color: lightgray;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
}

.category-filter .pill.active {
  background-color: gray;
}

.load-more-wrapper{
  width: 100%;
  display: flex;
  justify-content: center;
}


button#load-more-button {
  border: 0;
  padding: 10px 20px;
  background: #1a4167;
  color: #fff;
}


section.upcoming-events .events-row {
  margin: 45px 0;
}


/* Header Styles */

a.header-donate {
  color: #fff !important;
  background: #122342;
  padding: 7px 20px;
  border-radius: 7px;
}


.top-container{
  display: flex;
  justify-content: space-between;
}

.bottom-container{
  display: flex;
  justify-content: space-between;
}

.one-third{
  width: 32%;
}

.one-half { 
  width: 32%; 
}

.one-fourth{
  width: 68%;
  padding-left: 15px; 
}

.one-fourth label {
  width: 100%;
}

.first{
  width: 48%;
}

.form-groups label {
  width: 100%;
  line-height: 2;
  margin-bottom: 10px;
}

.form-group.m-0 p >label{
  line-height: 2;
    margin-bottom: 0;
    font-size: 14px;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    color: #3d5970;
    width: 100%;
    max-width: 100%;
}

.wpcf7-form-control{
   background-color: #f6f4f4;
    padding: 15px;
    border-radius: 5px;
    font-size: 1em;
    line-height: 1.4;
    border: none;
    height: auto !important;
    width: 100%;
    max-width: 100%;
}

.green-button p > input {
  color: #ffffff;
     background-color: #50ac97;
    border-color: #50ac97;
    padding: 10px 15px;
    max-width: 150px;
    font-size: 1em;
    font-weight: 500;
    line-height: 1.5;
    border: 3px solid;
    border-radius: 10px;
    box-shadow: none;
    text-shadow: none;
    outline: none;
    height: auto;
} 

span.wpcf7-form-control.wpcf7-radio {
  background-color: transparent;
  display: block;
  display: block;
    position: relative;
    padding-left: 0px;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 1em;
    line-height: 1.6;
    user-select: none;
}

.wpcf7-list-item {
  display: inline-block;
  margin: 0 0 0 0;
  width: 100%;
}

.one-thirdd p{
  line-height: 2;
  margin-top: 10px;
    margin-bottom: 0;
    font-size: 14px;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    color: #3d5970;
    width: 100%;
    max-width: 100%;
}

input[type="radio"] {
  position: absolute;
    opacity: 0;
    left: -9999px;
    /* cursor: pointer; */
}

span.wpcf7-list-item-label{
  position: relative;
  padding-left: 30px;
  line-height: 40px;
}

.wpcf7-list-item-label::before{
  position: absolute;
  box-sizing: border-box;
    top: 0;
    left: 0;
    height: 26px;
    width: 26px;
    background-color: #f4f4f4;
    border-radius: 6px;
}

.wpcf7-list-item-label::after{
  content: " ";
  position: absolute;
  display: none;
  left: 10px;
  top: 4px;
  width: 6px;
  height: 14px;
  border: solid #ffffff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  box-sizing: border-box;
}

input[type="radio"]:checked + .wpcf7-list-item-label::before{
  background-color: #1db578;
  transition: all 0.2s;
}

input[type="radio"]:checked + .wpcf7-list-item-label::after{
  display: block;
}

.sub-button p{
  text-align: center;
}

.sub-button p > input {
  color: #ffffff;
     background-color: #e43d30;
    border-color: #e43d30;
    padding: 10px 15px;
    max-width: 150px;
    font-size: 1em;
    font-weight: 500;
    line-height: 1.5;
     border-radius: 0px; 
    box-shadow: none;
    text-shadow: none;
    outline: none;
    height: auto;
} 

.iqamah-text{
  font-size: 12px;
}

.loader {
  border: 6px solid #fff; /* Light grey */
  border-top: 6px solid #3e5970; /* Blue */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
  margin: 0 auto;
}

div#countdown {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 10px;
}
.prayer-name{
  text-transform: capitalize;
}

.time-main{
  font-size: 35px;
  font-weight: 700;
  margin-bottom: 0;
}

.time-sub{
  font-size: 14px;
  font-weight: 400;
  margin-top: 0 !important;
}

span.divider {
  margin-top: 15px;
  font-weight: 800;
}

/* Event Single Page Styling */

.event-section{
  padding: 100px 0;
}

.event-details-right-btn{
  margin-top: 20px;
}

.event-section li {
  font-size: small;
  font-style: italic;
}

.flex-buttons {
  display: flex;
  gap: 10px;
}

.atcb-button-wrapper {
  padding: 0 !important;
}

/* Contact Form styling */

.contact-mails{
  display: flex;
  gap: 100px;
}

.contact-mails li{
  margin-bottom: 20px;
}

/* Gravity form Button */

.gform_footer input.gform_button {
  color: #ffffff;
  background-color: #50ac97;
  border-color: #50ac97;
  font-size: 1em;
  font-weight: 500;
  line-height: 1.5;
  border: 3px solid;
  border-radius: 10px;
  padding: 10px 15px;
  min-width: 180px;
  box-shadow: none;
  text-shadow: none;
  outline: none;
}


/* new home page buttons */

.prayer-buttons {
  display: flex;
  justify-content: center;
  margin-top: 55px;
  gap: 30px;
}

.prayer-buttons a{
  background: #122342;
  color: #fff;
  border: #122342;

}



@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
 
@media only screen and (max-width: 768px) {

  .top-container {
    flex-direction: column;
  }

  .bottom-container{
    flex-direction: column-reverse;
  }

    .one-third{
        width: 100%;
    }

    .one-half { width: 100%; }

    .one-fourth{
      width: 100%; 
      padding-left: 0; 
    }

    .first{
      width: 100%;
    }
    
    .event-card {
      width: 48%;
      margin-bottom: 20px;
    }
 .events-row {
    grid-template-columns: repeat(2, 1fr);
  }
    .contact-mails{
      flex-direction: column;
      gap: 10px;
    }
	
}

@media only screen and (max-width: 460px) {
  .event-card {
    width: 100%;
  }
 .events-row {
    grid-template-columns: 1fr;
  }
  .hero-banner .owl-carousel .owl-nav button {
    background-color: #ffffff2b;
    }
     .prayer-buttons {
    flex-direction: column;
  }
}