/*-- Apply top padding to image and text custom field on ministries page --*/ 
#funeral-ministry-teams-top {
	padding-top: 35px !important;
}

#funeral-ministry-teams-bottom {
	padding-bottom: 35px !important;
}

ul.clergy-list {
	list-style: none;
	padding-left: 0;
}

ul.clergy-list li{
	padding: 0.2rem 0;
}

/* Login form - Membes Area */

.gf_login_form input[type="text"],
.gf_login_form input[type="password"] {
	width: 100%;
	margin-bottom: 10px;
	border: 2px solid #F3F3F3;
	border-radius: 0.5rem;
	padding: 10px;
}

.gf_login_form input[type="text"]:focus,
.gf_login_form input[type="password"]:focus {
	border: 2px solid rgba(171, 6, 56, 0.8);
}

.gf_login_form label {
font-size: 0.9rem;
font-weight: 600;
color: #AB0638;
	margin-bottom: 5px;
}

.gf_login_form input[type="submit"] {
	margin-top: 10px;
	font-family: Ubuntu, Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.4rem 1.5rem;
    border: 2px solid #ab0638;
	border-radius: 0.5rem;
	background-color: #ab0638;
	color: white;
    transition: 0.3s;
}

.gf_login_form input[type="submit"]:hover {
    border: 2px solid #ab0638;
	background-color: #F8F8F9;
	color: #ab0638;
}



/** News Flexible **/
.home-news-flex {

  .home-news-flex__bg {
    height: 15rem;
  }

  .home-news-flex__card {
    overflow: hidden;
    min-height: 27rem;

    img {
      top: 0;
      left: 0;
      object-fit: cover;
      object-position: center;
      transition: all 0.3s ease;
    }

    .home-news-flex__card-overlay {
      background: linear-gradient(180deg,
          rgba(0, 0, 0, 0) 30%,
          rgba(51, 51, 51, 1) 100%);
      opacity: 1;
      transition: opacity 0.3s ease;
    }

    .home-news-flex__card-overlay-2 {
      background-color: $primary;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    a {
      text-decoration: none;

      &::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
      }
    }

    &:hover {
      img {
        filter: grayscale(100%);
        top: -3px;
      }

      .home-news-flex__card-overlay {
        opacity: 0;
      }

      .home-news-flex__card-overlay-2 {
        opacity: 0.5;
      }
    }
  }

  .home-news-flex__btn-section {
    display: flex;
    align-items: center;

    @include media-breakpoint-up(lg) {
      flex-direction: column;
      align-items: flex-start;
    }

    @include media-breakpoint-up(xl) {
      flex-direction: row;
      align-items: center;
    }
  }

  .swiper-news-controls {
    display: flex;
    align-items: center;

    .swiper-n-button-prev,
    .swiper-n-button-next {
      position: static;
      margin: 0 2px;
      color: $body-color;
      text-align: center;
      background-color: white;
      padding: 5px 10px;
      border-radius: 999px;
      border: 2px solid #212529;
      width: 40px;
      height: 40px;
      transition: all 0.3s;

      &:hover {
        background-color: #212529;
        color: white;
        border: 2px solid #212529;
      }
    }
  }
}