h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    color: #282C6F;
    font-family: "Yrsa", serif;
    font-weight: 700;
    margin: 1em 0 0.4em 0;
}

h1 {
    font-size: 32px;
}

h2 {
    font-size: 30px;
    text-align: center;
}

h3 {
    font-size: 27px;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 22px;
}

h6 {
    font-size: 20px;
}

p {
    font-family: "Open Sans", sans-serif;
    margin-bottom: 1.5em;
}

/*** Menu ***/
.menu-toggle .top-line,
.menu-toggle .center-line,
.menu-toggle .bottom-line {
	width: 35px;
    height: 4px;
    background-color: white;
    margin: 6px 0;
	border-radius: 4px;
}

.menu-toggle:hover {
	cursor: pointer;
}
/* * * Home * * */


/* Featured Items */

body.home .site-main .featured-items .featured-items-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 0 auto;
    max-width: 1600px;
    width: 95%;
}

body.home .site-main .featured-items .featured-items-wrap a {
    padding: 20px 10px;
}




/* Header */

header.entry-header,
header.page-header {
    min-height: 7rem;
}

header.entry-header::after,
header.page-header::after {
    opacity: 0.5;
}

header.entry-header h1,
header.page-header h1 {
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}


/* Welcome */

body.home .welcome .welcome-wrapper .wysiwyg h1 {
    font-size: 3.5rem;
}


/* News */

body.home .site-main .news {
    position: relative;
	background: #282C6F;
}

body.home .site-main .news h2 {
	color: #EFCD41;
	padding-top: 20px;
}

body.home .wp-show-posts-columns#wpsp-141 {
    margin-left: 0;
    padding: 0 30px;
}

body.home .wp-show-posts-columns#wpsp-141 .wp-show-posts-inner {
    margin: 0 1em 3em 1em;
}

body.home .wp-show-posts-image.wpsp-image-center {
    text-align: left;
}

body.home .wp-show-posts-entry-title a {
	color: #EFCD41;
}

body.home .site-main .news h2 {
    font-size: 3rem;
}

body.home .site-main .news h2::after {
    border-color: #282C6F;
}

body.home .site-main .news .wp-show-posts-columns#wpsp-141 .wp-show-posts-inner {
    margin-left: 2em;
}

body.home .site-main .news>.button {
    display: block;
    /*background: rgba(40, 44, 111, 0.75);*/
	background: #efcd41;
    border: 2px solid #282c6f;
    color: #282c6f;
    text-align: center;
    text-decoration: none;
    width: fit-content;
    padding: 20px;
    margin: 0 auto;
    transition: 0.15s all;
    margin-bottom: 10px;
}

@media screen and (min-width: 768px) {
    body.home .site-main .news>.button {
        position: absolute;
        right: 8%;
        top: 20px;
        margin-bottom: 0;
    }
}

body.home .site-main .news>.button:hover {
    /*background: rgba(40, 44, 111, 0.9);*/
	background: #4560a9;
	color: #fff;
}


/* Media Calendar */

body.home .site-main .media-calendar {
    justify-content: space-between;
    flex-wrap: wrap;
}

body.home .site-main .media-calendar>div {
    width: 30%;
}

body.home .site-main .media-calendar div h3 {
    font-size: 2.25rem;
    text-align: center;
}

body.home .site-main .media-calendar div h3::after {
    display: block;
    content: "";
    border-bottom: 1px solid #282C6F;
    margin-left: 12.5%;
    width: 75%;
}

body.home .site-main .media-calendar .featured-video p {
    padding-right: 1em;
}

body.home .site-main .media-calendar .featured-video p iframe {
    min-height: 20rem;
    padding: 1rem 0;
}

body.home .site-main .media-calendar .video-links {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: fit-content;
    margin: 5rem 1rem;
    padding: 0 1rem 2rem;
}

body.home .site-main .media-calendar .video-links a {
    font-size: 1.5rem;
    margin: 0.5em 0;
}

body.home .site-main .media-calendar .video-links a:hover {
    text-decoration: underline;
}


/* body.home .site-main .media-calendar .home-calendar {
      max-width: 640px;
      margin: 0 auto; } */

body.home .site-main .media-calendar .home-calendar .simcal-calendar .simcal-calendar-list .simcal-events-list-container .simcal-events {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1rem;
}

body.home .site-main .media-calendar .home-calendar .simcal-calendar .simcal-calendar-list .simcal-events-list-container .simcal-events .simcal-event {
    height: 8rem;
}

body.home .site-main .media-calendar .home-calendar .simcal-calendar .simcal-calendar-list .simcal-events-list-container .simcal-events .simcal-event-details .date {
    font-weight: 700;
    text-align: left;
    width: 5rem;
}

body.home .site-main .media-calendar .home-calendar .simcal-calendar .simcal-calendar-list .simcal-events-list-container .simcal-events .simcal-event-details .date>div {
    font-size: 2rem;
}

body.home .site-main .media-calendar .home-calendar .simcal-calendar .simcal-calendar-list .simcal-events-list-container .simcal-events .simcal-event-details .date>.month {
    letter-spacing: 0.1em;
    margin-top: -0.25em;
}

body.home .media-calendar .home-calendar .simcal-calendar .simcal-calendar-list .simcal-events-list-container .simcal-events .simcal-event .event-title {
    padding-top: 5px;
    font-size: 16px;
    max-height: 5em;
    overflow: hidden;
}

body.home .media-calendar .home-calendar .simcal-calendar .simcal-calendar-list .simcal-events-list-container .simcal-events .simcal-event .event-title a {
    font-size: 1.5rem;
    font-weight: 500;
}

body.home .media-calendar .home-calendar .simcal-calendar .simcal-calendar-list .simcal-events-list-container .simcal-events .simcal-event .event-description,
body.home .media-calendar .home-calendar .simcal-calendar .simcal-calendar-list .simcal-events-list-container .simcal-events .simcal-event .event-time {
    font-size: 1rem;
    line-height: 1;
}

body.home .media-calendar .home-calendar .simcal-calendar .simcal-calendar-list .simcal-events-list-container .simcal-events .simcal-event .event-description .simcal-event-description {
    margin: 0;
}

body.home .media-calendar .home-calendar .simcal-calendar .simcal-calendar-list .simcal-events-list-container .simcal-events .simcal-event .event-description .simcal-event-description p {
    margin-bottom: 0.5em;
}

body.home .media-calendar .home-calendar .simcal-calendar .simcal-calendar-list .simcal-events-list-container .simcal-events .simcal-event .event-time {
    font-style: italic;
}


/* Navigation */

.menu-item-has-children>a {
    position: relative;
}

.menu-item-has-children>a::after {
    position: absolute;
    content: "";
    background: url("/wp-content/uploads/2019/02/dropdown_arrow.png");
    background-size: 1rem 1rem;
    right: 0;
    bottom: 1.25em;
    left: 0;
    width: 1rem;
    height: 1rem;
    margin: auto;
}


/* Post Styling */

.single .content-area .site-main .entry-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.single .content-area .site-main .entry-content .featuredImage {
    width: 30%;
    padding-top: 1rem;
}

.single .content-area .site-main .entry-content .content {
    width: 60%;
}


/* Visual Editor Columns */

.visual-editor-row .two-column,
.visual-editor-row .three-column {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.visual-editor-row .two-column .column {
    width: 47.5%;
}

.visual-editor-row .three-column .column {
    width: 30%;
}


/* Partner Links */

body.home .partner-links .partner-links-wrapper a {
    flex: 1;
}


/* Sacraments */

.page-template-page-accordion .site-content .content-area .site-main .accordion .ui-accordion-content .container table {
    color: #FFF;
}

.page-template-page-accordion .site-content .content-area .site-main .accordion .ui-accordion-content .container table td {
    padding: 0.5em;
}

.page-child .site-content .content-area .site-main table td {
    padding: 0.5em;
}


/* Staff: All */

.staff-member-listing {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.staff-member-listing .staff-member {
    background-color: #282C6F;
    cursor: pointer;
    width: calc(25% - 10px);
    padding-bottom: 0;
    margin: 5px 5px 0 5px;
    -webkit-transition: background-color 0.3s ease-in-out;
    -moz-transition: background-color 0.3s ease-in-out;
    -o-transition: background-color 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out;
}

.staff-member-listing .staff-member:hover {
    background-color: #4560A9;
}

.staff-member-listing .staff-member * {
    color: #FFF;
}

.staff-member-listing .staff-member img {
    object-fit: cover;
    width: 100%;
    height: 365px;
}

.staff-member-listing .staff-member h3 {
    font-size: 26px;
}

.staff-member-listing .staff-member h4 {
    font-size: 22px;
    font-weight: 400;
}

.staff-member-listing .staff-member a {
    font-size: 16px;
    text-decoration: none;
}

.staff-member-listing .staff-member .staff-member-phone {
    font-size: 20px;
}

.staff-member-listing .staff-member a:not(.btn):hover {
    text-decoration: underline;
}

.staff-member-listing .staff-member a.btn {
    display: block;
    background: transparent;
    border: 2px solid lightgrey;
    border-radius: 0;
    cursor: pointer;
    line-height: 1;
    width: 50%;
    padding: 10px 20px;
    margin: 6% auto;
    transition: 0.15s ease;
}

.staff-member-listing .staff-member a.btn:hover {
    background: #EFCD41;
    color: #282C6F;
}

.staff-member-listing .staff-member-info-wrap {
    float: left;
    text-align: center;
    width: 100%;
    padding: 3%;
    margin: 0;
}

.staff-member-listing .staff-member-name {
    margin: 0;
}

.staff-member-listing .staff-member-position {
    margin: 0;
    font-style: italic;
}

.staff-member-listing .staff-member-email {
    line-height: 2;
}


/* Staff: Single */

.staff-member-template-default .site-content {
    margin-top: 100px;
    padding: 1rem;
}


/* Footer */

footer.site-footer .footer-content .footer-content-wrap a {
    font-weight: 600;
}

footer.site-footer .footer-content .footer-content-wrap a:hover {
    text-decoration: underline;
}

.pageSidebar {
    margin: 0 10%;
    display: flex;
    justify-content: space-between;
}

.pageSidebar .sidebarColumn {
    width: 60%;
    margin: 2% 0;
}

.pageSidebar .sidebar {
    width: 30%;
}

@media screen and (max-width:600px) {
    .pageSidebar {
        flex-direction: column;
        margin: 0 5%;
    }
    .pageSidebar .sidebarColumn,
    .pageSidebar .sidebar {
        width: 100%;
    }
}


/* * * Media Queries * * */

@media screen and (max-width:1024px) {
    .staff-member-listing .staff-member {
        width: 32%;
    }
}

@media (max-width: 768px) {
    /* Header */
    header.site-header {
        margin: 0 auto 0px auto;
    }
    .home header.site-header {
        background: #4560A9;
        background: rgba(69, 96, 169, 0.95);
    }
    body.home h1.welcome {
        font-size: 36px;
    }

    /* News */
    body.home .site-main .news {
        max-width: 640px;
    }
    /* Mass */
    body.home .mass-times .times-wrapper .mass-times-heading {
        margin-right: 10px;
        padding-right: 10px;
    }
    body.home .mass-times .times-wrapper .list-wrapper .daily-times .daily-list {
        flex-wrap: wrap;
    }
    /* Welcome */
    body.home .welcome .welcome-wrapper {
        flex-wrap: wrap;
        padding-right: 0;
    }
    body.home .welcome .welcome-wrapper .wysiwyg {
        flex: none;
        width: 100%;
    }
    body.home .welcome .welcome-wrapper a.featured-content {
        flex: none;
        position: relative;
        width: 100%;
    }
    /* Media Calendar */
    body.home .site-main .media-calendar {
        display: flex;
        flex-wrap: wrap;
    }
    body.home .site-main .media-calendar div {
        flex: none;
        width: 100%;
    }
    body.home .site-main .media-calendar .featured-video p {
        display: flex;
    }
    body.home .site-main .media-calendar .featured-video p * {
        margin: 0 auto;
    }
    body.home .site-main .media-calendar .video-links {
        margin: 0;
        padding-bottom: 1.5em;
    }
    body.home .site-main .media-calendar .video-links a {
        text-align: center;
    }
    /* Nav Tabs */
    .page-template-page-tab #tabs ul.ui-tabs-nav {
        display: flex;
        flex-wrap: wrap;
    }
    .page-template-page-tab #tabs ul.ui-tabs-nav li {
        flex: none;
        width: 100%;
    }
    .page-template-page-tab #tabs ul.ui-tabs-nav li a.ui-tabs-anchor::after {
        display: none;
    }
    /* Visual Editor Columns */
    .visual-editor-row .two-column .column,
    .visual-editor-row .three-column .column {
        width: 100%;
    }
    /* Posts Gallery */
    .wp-show-posts-columns .wp-show-posts-single:not(.wp-show-posts-masonry-block) {
        display: flex;
        flex-direction: row;
        width: 100%;
    }
    /* Staff  */
    .staff-member-listing .staff-member {
        width: 48%;
    }
    /* Footer */
    footer.site-footer .footer-content .footer-branding {
        padding-top: 30px;
    }
    body.home .partner-links .partner-links-wrapper {
        flex-wrap: wrap;
    }
    body {
        overflow-x: hidden;
    }
}

@media screen and (max-width:600px) {
    header.entry-header h1,
    header.page-header h1 {
        width: 100%;
        margin-left: auto;
    }
    body.home h1.welcome {
        font-size: 36px;
    }
    /* Staff  */
    .staff-member-listing .staff-member {
        width: 100%;
    }
}


/* iframe mobile */

.iframeClass {
    height: 2500px;
}

@media screen and (max-width: 1024px) {
    .iframeClass {
        height: 2900px;
    }
}

@media screen and (max-width: 768px) {
    .iframeClass {
        height: 4700px;
    }
}

@media screen and (max-width: 850px) {
       /* Featured Items */
    body.home .featured-items .featured-items-wrap a {
        flex: none;
        width: 100%;
    }
}
@media screen and (min-width: 1500px) {
	body.home .welcome .welcome-wrapper a.featured-content {
		width:40%;
}
	
	