/*
Theme Name: UnderStrap Child
Theme URI: https://wp-themes.com/understrap
Author: ChildThemeWP.com
Author URI: https://childthemewp.com
Description: My WordPress UnderStrap child theme.
Template: understrap
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Version: 1.0.0
Text Domain: understrap-child
*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
.home #content.container-fluid {
	max-width: 1300px;
}
#content.container-fluid, .entry-header {
	max-width: 1100px;
	margin: auto;
}
.entry-header {
	padding-left: 10px;
	padding-right: 10px;
}
.archive .entry-header {
	padding-left: 0;
	padding-right: 0;
}
@media screen and (min-width: 1200px) {
  .navbar-nav > li:hover > .dropdown-menu {
    display: block;
  }
  .navbar-nav > li:hover > .dropdown-menu > li:hover > .dropdown-menu {
    display: block;
    right: 100%;
    top: -10px;
  }
}
.margin-block {
	margin: 50px auto;
}
.widget-block {
	padding:25px;
	border-radius: 0 20px 0 0;
}
.widget-block h2 {
	color:white;
}
.widget-block h2 a {
	color:white;
	text-decoration: none;
}
.widget-block h2 strong {
	color:#eca741;
	font-weight:600;
}
#right-sidebar {
	display:flex;
	flex-direction:column;
	gap:25px;
}
.bg-primary {
  background-color: #940e15 !important;
}
#no-title-page-wrapper {
	padding: 0;
}
.wp-block-button__link {
background-color: #940e15;
	border-radius: 5px;
	border:none;
	font-weight: 600;
} 
.wp-block-buttons.arrow .wp-block-button__link:after {
	display: inline-block;
	font-family: "Font Awesome 7 Free";
 content: "\f054";
  color: #fff; 
	font-size: .75em;
  font-weight: bold; 
	margin-left: 8px;
	transform: translateY(-1px);
}
#callouts .wp-block-button__link, #explore .wp-block-button__link, #resource-directory .wp-block-button__link {
background-color: transparent;
	border:2px solid white;
	font-weight: 600;
} 
#resource-directory .wp-block-button__link {
	padding: 8px 15px;
}
#callouts .wp-block-button__link:hover, #explore .wp-block-button__link:hover, #resource-directory .wp-block-button__link:hover, .wp-block-button__link:hover {
	color:white;
background-color: black;
}
.btn-secondary {
  background-color: #8a7a68;
}
.page-banner {
  padding: 50px 0;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.page-banner:before {
  display: block;
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(32, 36, 40, 0.20);
}
hr {
  margin: 30px 0;
}

body {
  font-family: 'Open Sans', sans-serif;
	color:#706e6e;
	font-size: 18px;
}
.entry-header h1 {
	margin-top: 20px;
	margin-bottom: 20px;
	color:#a62e4e;
	font-weight: 700;
	font-size: 26px;
	 text-transform: uppercase;
} 

.page-banner h1 {
  color: rgba(255, 255, 255);
  font-size: 60px;
  font-weight: 600;
  line-height: 1.1em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  min-height: 52vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: auto;
	text-shadow: 1px 1px 10px rgba(0,0,0,1),1px 1px 10px rgba(0,0,0,1);
}
.archive h1 {
	margin-bottom: 30px;
}
h2 {
	text-transform: uppercase;
	font-size:22px;
	margin-bottom: 20px;
	font-weight: 600;
}
.home h2 {
	color:black;
	font-size:26px;
}
h2.line:before {
	display: block;
	content: '';
	background-color: #8b0003;
	height:6px;
	width:35px;
	margin: 0 auto 16px;
}
h3 {
	font-size: 17px;
	color:#a62e4e;
	margin-bottom: 5px;
	margin-top: 20px;
}
.home h3 {
	text-transform: uppercase;
	font-size:22px;
	margin-top: 0;
	margin-bottom: 20px;
	font-weight: 600;
}
.banner-columns {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  max-width: 1350px;
  padding: 0 25px;
  margin: auto;
}
@media screen and (min-width: 1200px) {
  .banner-column:first-child {
    margin-bottom: -40px;
    position: relative;
    z-index: 5;
  }
}
#banner-widget {
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.rmp_menu_trigger {
	right: 15px !important;
}
  #rmp-menu-title-20175 .rmp-menu-title-image {
    width: auto !important;
  }

@media screen and (max-width: 1199px) {
  .banner-columns {
    flex-direction: column-reverse;
    gap: 10px;
    width: 100%;
    align-items: center;
	  padding-bottom: 10px;
  }
  .banner-column:last-child {
    width: 100%;
    justify-content: flex-end;
	  padding-right: 50px;
  }
  #banner-widget {
    padding-top: 0;
    justify-content: flex-end;
  }
}
#banner-widget p {
  margin: 0;
}
.wp-block-search__inside-wrapper, .wp-block-search__input {
  height: 25px;
  border-radius: 10px;
}
.wp-block-search__button {
  background-color: #f99d33 !important;
  height: 25px;
  padding-top: 0;
  padding-bottom: 0;
	border:none  !important;
}
#find-a-church a {
  display: inline-block;
  background-image: url(images/icon-find.png);
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 20px;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  font-style: italic;
  text-decoration: none;
}
#search-2 input[type="text"] {
  box-shadow: none;
  background-color: #f3e4e8;
  box-sizing: border-box;
  border: none;
  line-height: 1em;
  border-radius: 4px;
  padding: 3px 8px;
  max-width: 100%;
  width: 100%;
}
#main-nav {
  padding: 25px 0 0 !important;
}
#main-nav .container-fluid {
  flex-direction: column !important;
  align-items: stretch;
  padding: 0 !important;
}
#main-menu {
  position: relative;
  max-width: 1000px;
	margin: auto;
}
#main-menu .nav-link {
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 1;
  position: relative;
  z-index: 6;
}
#main-menu li:not(:first-child):not(:last-child) .nav-link:before {
  display: block;
  content: '';
  background-color: #bfb8b0;
  width: 1px;
  height: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -25px;
}
#main-menu .nav-link:hover {
  color: #940e15;
}
#navbarNavOffcanvas {
  background-color: #776857 !important;
}
@media (min-width: 1200px) {
  #main-menu {
    background-color: #776857;
    width: 100%;
    display: flex;
    gap: 50px;
    justify-content: center !important;
    border-left: none;
  }
  #main-menu > li:last-child {
	  position: absolute;
	  right:0;
  }
	#main-menu > li:last-child .nav-link {
    background-color: #cfb89c;
    padding-left: 30px;
    padding-right: 30px;
  }
	.dropdown-toggle::after {
 content: none;
}
}
#wrapper-footer-full {
  background-color: #8a7a68;
  color: white;
  font-size: 15px;
  padding: 60px 0;
}
#wrapper-footer-full a {
  color: white;
}
#wrapper-footer-full p:last-child {
  margin: 0;
}
#footer-full-content .footer-widget {
  position: relative;
}
#wrapper-footer-full .footer-widget:first-child {
  flex-basis: 50%;
}
#wrapper-footer-full .footer-widget:not(:first-child) {
  padding-left: 25px;
}
#wrapper-footer-full .footer-widget:not(:first-child):before {
  display: block;
  content: '';
  background-color: #940e15;
  width: 1px;
  height: 100%;
  position: absolute;
  left: 0;
}
#wrapper-footer-full .footer-widget:last-child {
  flex-basis: 50%;
}
#wrapper-footer-full .container-fluid {
  max-width: 1280px;
}
#footer-left .wp-block-columns {
  gap: 20px;
  margin-bottom: 0;
}
#footer-right .wp-block-columns {
  gap: 20px;
}
#menu-footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
#menu-footer-menu a {
  font-weight: 700;
  text-decoration: none;
}
#wrapper-footer {
  background-color: #940e15 !important;
  min-height: 30px;
  margin: 10px 0;
}
@media screen and (max-width: 980px) {
  #wrapper-footer-full .footer-widget:first-child {
    flex-basis: 100%;
    margin-bottom: 50px;
  }
  #wrapper-footer-full .footer-widget:last-child {
    flex-basis: 100%;
  }
}
#callouts {
	margin-top: 50px;
}
@media screen and (min-width: 981px) {
#callouts {
	margin-top: -45px;
	position: relative;
	z-index: 100;
}
}
#callouts .wp-block-column {
	background-color: #492f7d;
	padding: 30px 30px 50px;
	color:white;
	border-radius: 0 20px 0 0;
	display: flex;
	flex-direction: column;
}
#callouts .wp-block-column h2 {
	color:white;
}
#callouts .wp-block-column:first-child {
	background-color: #dd9735;
}
#callouts .wp-block-column:last-child {
	background-color: #eb483f;
}
#callouts .wp-block-column figure {
	margin-bottom: 20px;
}
#callouts .wp-block-column img {
	margin-bottom: 0;
}
#callouts .wp-block-column p {
	margin-bottom: 25px;
	flex-grow: 1;
}
#upcoming-events > .wp-block-group__inner-container {
	max-width: 1000px;
	margin: auto;
}

#explore .wp-block-column {
	background-color: #492f7d;
	padding: 30px;
	color:white;
}
#explore .wp-block-column h2 {
	color:white;
}
#explore .wp-block-column:last-child {
	padding: 30px 10px 10px;
}
#explore  .wp-block-column:first-child {
	background-color: #64bcba;
	border-radius: 0 20px 0 0;
}
.wp-block-navigation__container, #menu-right-column, .childpages {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap:10px;
	font-size: 1.25em;
	text-shadow: 1px 1px 2px rgba(0,0,0,.5);
	text-decoration: underline solid rgba(0,0,0,.15); 
}
#menu-right-column {
	font-size: .95em;
	text-decoration: none; 
  list-style: none;
	padding: 0;
}
.childpages {
	list-style: none;
	padding: 0;
}
#menu-right-column > li a {
  color:white;
	text-decoration: none;
}
.childpages > li a {
	color: #706e6e;
	text-decoration: none;
}
.wp-block-navigation-item, #menu-right-column > li, .childpages > li {
  position: relative;
  padding-left: 20px; /* Space for the arrow */
}

#menu-right-column > li {
  padding-left: 15px; /* Space for the arrow */
}
.wp-block-navigation-item::before, #menu-right-column > li::before, .childpages > li:before {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
	font-family: "Font Awesome 7 Free";
 content: "\f054";
  color: #fff; 
	font-size: .75em;
  font-weight: bold; 
  margin-right: 8px; 
}
.childpages > li:before {
  color: inherit; 
}
.carousel-columns {
	padding: 0 60px 40px;
	gap:30px;
	display: flex;
}
.carousel-column {
	flex-basis:50%;
}
.carousel-image {
	text-align: center;
	max-height: 400px;
}
.carousel-image img {
	max-height: 400px;
}
@media screen and (max-width: 980px) {
	.carousel-columns {
	flex-direction: column-reverse;
}
	.carousel-column {
	flex-basis:100%;
}
	#explore  .wp-block-column:last-child {
	padding:30px 10px;
}
}
.understrap-read-more-link {
	margin-top: 20px;
}
.slider-controls svg {
	display: none;
}
.swiper-button-prev:before, .swiper-button-next:before {
	font-family: "Font Awesome 7 Free";
 content: "\f137";
  color: #fff;
	font-size: 2em;
  font-weight: bold;
}
.swiper-button-next:before {
	transform: rotate(180deg);
}
.swiper-pagination-bullet-active {
  background: white;
}
#resource-directory h3 {
	color: white;
	font-size: 20px;
	font-weight: 600;
	margin: 0;
	margin-bottom: 20px;
	flex-grow: 1;
}
#resource-directory.wp-block-columns {
	flex-wrap: wrap !important;
	gap:10px !important;
}
#resource-directory .wp-block-column {
	flex-basis: calc(25% - 7.5px);
	background-color: #c46ce5;
	min-height: 300px;
	padding: 25px;
	display: flex;
	flex-direction: column;
}
#resource-directory .wp-block-column:nth-child(2) {
	background-color: #492f7d;
}
#resource-directory .wp-block-column:nth-child(3) {
	background-color: #eb483f;
}
#resource-directory .wp-block-column:nth-child(4) {
	background-color: #082ead;
}
#resource-directory .wp-block-column:nth-child(5) {
	background-color: #64bcba;
}
#resource-directory .wp-block-column:nth-child(6) {
	background-color: #940e15;
}
#resource-directory .wp-block-column:nth-child(7) {
	background-color: #e9a33e;
}
#resource-directory .wp-block-column:nth-child(8) {
	background-color: #5976d3;
}
#featured-resources > .wp-block-group__inner-container {
	max-width: 820px;
	margin: auto;
}
.resource-list {
	display: flex;
	flex-direction: column;
	gap:10px;
}
.resource-element {
	display: flex;
	background-color:#f3e6d4;
	justify-content: space-between;
	align-items: center;
	gap:20px;
	padding: 20px 25px;
}
.resource-element a {
	display:block;
	font-size: 16px;
	color:#5c5b5b;
}
.resource-type {
	text-transform: uppercase;
	font-weight: 600;
	font-size: 17px;
}
.resource-Article:after {
	font-family: "Font Awesome 7 Free";
 content: "\f1ea";
	font-size: 1em;
  font-weight: bold;
	margin-left: 10px;
}
/* =Tables
-------------------------------------------------------------- */
th,
td,
table {
	border: 1px solid #dddddd;
}
th, td {
	padding: .8em;
}
table {
	border-collapse: collapse;
	width: 100%;
	margin-bottom: 30px;
}
/* =news and events
-------------------------------------------------------------- */

#calendar-link {
	font-family: 'PT Serif', serif;
	position:relative;
	min-height:200px;
	padding: 25px;
	background-image: url("images/calendar.jpg");
	background-size: cover;
	background-position: center;
	cursor: pointer;
}
#calendar-link h2 {
	font-family: 'Open Sans', sans-serif;
	color:#a62e4e;
	font-size:26px;
	text-transform:none;
	margin:0;
}

#news-widget img, #news-widget p {
	margin:0;
}
.news-widget {
	display: flex;
}
.news-widget-col1 {
	flex-basis:48%;
	background-color:#0c558b;
	color:white;
	font-size:14px;
}
.news-widget-col1 a {
	color:white;
	text-decoration: none;
}
.news-widget-col1 .moretag {
	text-transform:uppercase;
	font-size:12px;
	color:#f8cc8a;
}
.news-widget-info {
	padding:10px;
}
.news-widget-title {
	font-size:22px;
	margin-bottom:20px;
	line-height:1.2em;
}
.news-widget-title span {
	color:#a62e4e;
}
.news-widget-col1 .news-widget-title span {
	color: #f8cc8a;
}
.news-widget-col2, .news-widget-col3 {
	flex-basis:26%;
	font-family: 'PT Serif', serif;
	font-size:14px;
}
.news-widget-col2 a, .news-widget-col3 a {
	color:#3e3e3e;
	text-decoration: none;
}
.news-widget-col2 .news-widget-title, .news-widget-col3 .news-widget-title {
	font-size:14px;
	margin-bottom:0px;
}
.news-widget-element {
	border-top:1px solid #ee9a3a;
	margin:0 20px 20px;
}
.news-widget-col2 .news-widget-info, .news-widget-col3 .news-widget-info {
	padding:5px;
}
.news-widget-col2 .news-widget-element:first-child {
	border-top:none;
}
.news-widget-col2 .news-widget-element:first-child .news-widget-title {
	font-size:18px;
}
@media screen and (max-width: 650px) {
	.news-widget {
	flex-direction: column;
}
.news-widget-col1 {
	float:none;
	width:100%;
}
.news-widget-col2 {
	margin-top:20px;
}
.news-widget-col2, .news-widget-col3 {
	float:none;
	width:100%;
}
.news-widget-element {
	border-top:1px solid #ee9a3a;
	margin:0 0 20px;
}	
}
/* =Staff
-------------------------------------------------------------- */
.staff-list {
	display: flex;
	flex-direction: column;
	gap:30px;
}
.staff-element {
	clear:both;
}
.staff-image {
	float:left;
	margin-top:7px;
	margin-right:15px;
}
.staff-single-image {
	float:right;
	margin-top:7px;
	margin-left:15px;
}
.staff-info {
	overflow:hidden;
}
.staff-title {
	font-weight:700;
}
.staff-excerpt {
	margin:15px 0;
}
.type-staff {
	padding-right:20px;
}
@media screen and (max-width: 650px) {
.staff-image {
	float:none;
	margin:0 0 10px 0;
}
.staff-single-image {
	float:none;
	margin:0 0 10px 0;
}	
}
#rosters {
	max-width: 625px;
}
.wp-block-accordion {
	padding: 10px;
}
.wp-block-accordion:nth-child(odd) {
	background-color: #f3e6e6;
}
.wp-block-accordion-heading {
	margin: 0;
}
.wp-block-accordion-heading__toggle-title {
	color:#776857;
	text-transform: uppercase;
	font-size: 22px;
	font-weight: 600;
}
.wp-block-accordion-heading__toggle-icon {
 color:#776857;
	font-size: 22px;
}
.wp-block-accordion-panel {
	padding-left: 25px;
	font-size: .85em;
}
#find-a-parish, #diocesan-staff {
	cursor:pointer
}
.archive-columns {
	display: flex;
	gap:15px;
	margin: 40px 0;
}
.archive-column:first-child {
	max-width: 100px;
	min-width: 100px;
}
.archive-columns .entry-title {
	margin-bottom: 10px;
}
.archive-columns .entry-title a {
	text-decoration: none;
	text-transform: none;
}