/*   
Theme Name: Temple Israel of Boston
Theme URI: https://www.tisrael.org/
Description: Custom WordPress theme for Temple Israel of Boston
Author: Yelling Mule
Author URI: https://www.yellingmule.com
Version: 1.1
*/

@charset "UTF-8";

/* =WordPress Core from http://codex.wordpress.org/CSS#WordPress_Generated_Classes
-------------------------------------------------------------- */

.alignnone {
    margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
a img.alignnone {
    margin: 5px 20px 20px 0;
}
a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}
.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/*CUSTOM SCSS
-------------------------------------------------------------- */

/*Required Styles*/

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: "Poppins", sans-serif;
}
a:hover,
a:active,
a:visited,
a:focus {
    text-decoration: none;
}
h1,
h2,
h3,
h4,
h5 {
    font-family: "Montserrat", sans-serif;
}
p {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
}
p a {
    color: #0072ae;
    font-weight: 500;
}
p a:hover {
    color: #f99c2f;
}
.centered {
    text-align: center;
}
.right {
    text-align: right;
}
.left {
    text-align: left;
}
p.padded {
    padding: 0 25%;
}
.ym_image {
    max-width: 100%;
    margin: 0 auto;
}

/*BUTTONS*/

.ym_button {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    color: white;
    background: #f99c2f;
    border: none;
    font-size: 13px;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
}
.ym_button:hover {
    color: white;
    background: #0072ae;
}
.ym_button_outline {
    border: 1px solid #f99c2f;
    color: black;
    background: transparent;
}
.ym_button_outline:hover {
    background: #f99c2f;
    color: white;
}
.ym_link {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: black;
    display: inline-block;
    position: relative;
    padding: 0 0 0.5rem 1.5rem;
}
.ym_link.ym_link_white {
    color: white;
}
.ym_link::before {
    content: "";
    width: 14px;
    height: 14px;
    background-image: url(../svg/arrow-black.svg);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 2px;
}
.ym_link.ym_link_white::before {
    background-image: url(../svg/arrow-white.svg);
}
.ym_link::after {
    content: "";
    width: calc(100% - 1.5rem);
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 1.5rem;
    background: #f99c2f;
}
.ym_link:hover {
    color: #f99c2f;
}
.ym_link:hover::before {
    background-image: url(../svg/arrow-orange.svg);
}
.ym_link:hover::after {
    width: 0;
    -webkit-animation-name: growLine;
    -webkit-animation-duration: 0.5s;
    -webkit-animation-fill-mode: forwards;
    animation-name: growLine;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}
@-webkit-keyframes growLine {
    0% {
        width: 0;
    }
    100% {
        width: calc(100% - 1.5rem);
    }
}
@keyframes growLine {
    0% {
        width: 0;
    }
    100% {
        width: calc(100% - 1.5rem);
    }
}

/*HEADER*/

.ym_header {
    width: 100%;
    background: white;
    position: fixed;
    z-index: 1000;
    font-family: "Montserrat", sans-serif;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}
.ym_header,
.ym_header_logo {
    height: 96px;
}
.ym_header .container-fluid {
    padding: 0;
}
.ym_header .row {
    margin: 0;
}
.ym_header .col-lg-2,
.ym_header .col-lg-10 {
    padding: 0;
}
.ym_header_logo {
    width: 100%;
    text-align: center;
}
.ym_header_logo a {
    display: block;
    height: 100%;
    width: 100%;
}
.ym_header_logo img {
    height: 100%;
    padding: 0.5rem 0;
    margin: auto;
}
.ym_header_top {
    background: #014f78;
    height: 36px;
    width: 100%;
}
.ym_header_top_nav {
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-size: 13px;
    display: inline-block;
}
.ym_header_top_nav li {
    display: inline-block;
}
.ym_header_top_nav li a {
    color: white;
    padding: 0.532rem 0.75rem;
    display: block;
    border-right: 1px solid #006499;
}
.ym_header_top_nav li a i {
    margin: 0 0.25rem 0 0;
}
.ym_header_top_nav li:first-child a {
    background: #0072ae;
}
.ym_header_top_nav li:not(:first-child) {
    margin-left: -3px;
}
.ym_header_top_nav li a:hover {
    background: #002e46;
}
.ym_header_contact {
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-size: 11px;
    display: inline-block;
    text-align: right;
    width: 45%;
}
.ym_header_contact li:before {
    content: "";
    width: 13px;
    height: 13px;
    display: inline-block;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 0.7rem;
}
.ym_header_contact li#address:before {
    background-image: url(../svg/map-marker.svg);
}
.ym_header_contact li#phone:before {
    background-image: url(../svg/telephone.svg);
}
.ym_header_contact li#email:before {
    background-image: url(../svg/envelope.svg);
}
.ym_header_contact li {
    display: inline-block;
    position: relative;
}
.ym_header_contact li a {
    display: block;
    color: white;
    padding: 0.625rem 1.25rem;
}
.ym_header_contact li a:hover::after {
    content: "";
    position: absolute;
    bottom: 0.5rem;
    left: 1.25rem;
    right: 1.25rem;
    width: calc(100% - 2.5rem);
    height: 1px;
    background: white;
}
.ym_header_mobile,
.ym_hhd_header_mobile {
    display: none;
}
.ym_header_nav {
    list-style: none;
    margin: 0 0 0 -0.75rem;
    padding: 0;
    display: inline-block;
    font-size: 15px;
    font-weight: 400;
    width: 70%;
    position: relative;
}
.ym_header_nav li {
    display: inline-block;
    position: relative;
}
.ym_header_nav li a:not(.ym_header_megamenu a) {
    display: block;
    padding: 1.188rem 1.25rem;
    color: black;
}
.ym_header_nav li a:not(.ym_header_megamenu a)::after {
    content: "";
    width: 12px;
    height: 8px;
    background-image: url(../svg/angle.svg);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    top: 1.65rem;
}
.ym_header_nav li a:hover,
.ym_header_nav li:hover > a,
.ym_header_nav li.current-menu-item a {
    color: #0072ae;
    font-weight: 600;
}
.ym_header_megamenu {
    display: none;
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 2rem 0;
    box-shadow: 0 5px 10px rgba(191, 210, 228, 0.5);
}
.ym_header_main .ym_back {
    display: none;
}
.ym_header_nav li:hover .ym_header_megamenu {
    display: block;
}
.ym_header_megamenu .container {
    padding: 0 1.5rem;
}
.ym_header_megamenu_featured {
    width: 100%;
    padding-bottom: 70%;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.ym_header_megamenu_featured a {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    display: block;
    padding: 0;
    background: rgba(0, 0, 0, 0.3);
}
.ym_header_megamenu_featured h3 {
    font-size: 20px;
    color: white;
    font-weight: 500;
    position: absolute;
    bottom: 0;
    padding: 1rem;
}
.ym_header_megamenu_list {
    list-style: none;
    margin: 0 -2rem 0 0;
    width: calc(100% + 2rem);
    padding: 0 1.5rem;
    font-size: 13px;
    font-weight: 600;
}
.ym_header_megamenu_list li {
    display: block;
    margin: 0 0 1rem;
}
.ym_header_megamenu_list li:not(.ym_header_megamenu_list li ul li) {
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}
.ym_header_megamenu_list li a {
    color: black;
    display: inline-block;
}
/*.ym_header_megamenu_list li a:not(.ym_header_megamenu_list li ul li a)::after{
    content:'';
    width:100%;
    background:#BFD2E4;
    height:2px;
    display:block;
}*/
.ym_header_megamenu_list li a:not(.ym_header_megamenu_list li ul li a):hover::after {
    background: #0072ae;
}
.ym_header_megamenu_list li ul {
    list-style: none;
    margin: 0.75rem 0 1.5rem;
    padding: 0;
    font-weight: 400;
}
.ym_header_megamenu_list li ul li {
    margin: 0 0 0.5rem;
    position: relative;
    padding: 0 0 0 1rem;
    display: inline-block;
    width: 100%;
}
.ym_header_megamenu_list li ul li::before {
    content: "";
    width: 10px;
    height: 10px;
    background-image: url(../svg/arrow.svg);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 4px;
}
.ym_columns_3 {
    -webkit-column-count: 3;
    column-count: 3;
    -webkit-column-width: auto;
    column-width: auto;
    -webkit-column-gap: 3rem;
    column-gap: 3rem;
    -webkit-column-fill: balance;
    column-fill: balance;
}
.ym_columns_2 {
    -webkit-column-count: 2;
    column-count: 2;
    -webkit-column-width: auto;
    column-width: auto;
    -webkit-column-gap: 2rem;
    column-gap: 2rem;
    -webkit-column-fill: balance;
    column-fill: balance;
}
.ym_columns_1 {
    -webkit-column-count: 1;
    column-count: 1;
    -webkit-column-width: auto;
    column-width: auto;
    -webkit-column-gap: 2rem;
    column-gap: 2rem;
    -webkit-column-fill: balance;
    column-fill: balance;
}
.ym_header_right {
    text-align: right;
    width: 30%;
    display: inline-block;
    margin-left: -3%;
}
.ym_header_search {
    display: inline-block;
    position: relative;
}
/*.ym_header_search::after{
    content:'';
    width:14px;
    height:14px;
    background-image:url(public/img/header-icons/search.svg);
    background-size:contain;
    background-position:center center;
    background-repeat:no-repeat;
    position:absolute;
    right:0;
    top:0.35rem;
    pointer-events:none;
}*/
.ym_header_search form {
    border-bottom: 2px solid #bfd2e4;
}
.ym_header_search form.is-form-style.is-form-style-3 label {
    width: calc(100% - 18px) !important;
    font-size: 12px !important;
}
.ym_header_search form input:not([type="submit"]) {
    border: none;
    padding: 0.25rem 0;
    font-size: 12px !important;
    color: black;
    background: transparent;
}
.ym_header_search form input[type="submit"] {
    width: 20px;
    background: transparent;
    border: none;
}
.ym_header_search form input::placeholder {
    color: #0072ae;
    letter-spacing: 1px;
    font-weight: 600;
    text-transform: uppercase;
}
.ym_header_search form input:focus {
    outline: none;
    border-bottom-color: #0072ae;
}
.ym_header_search form button.is-search-submit {
    width: 18px !important;
}
.ym_header_search form .is-search-icon {
    width: 100%;
}
.ym_header_search form .is-search-icon svg {
    width: 16px;
}
.ym_header_button {
    display: inline-block;
    margin-left: 1rem;
}
.ym_header_button .ym_button {
    padding: 0.5rem 1rem;
}
.ym_hhd_header .ym_header_nav {
    text-align: right;
    width: 100%;
    font-size: 15px;
    padding-right: 2rem;
}
.ym_hhd_header .ym_header_nav li a:not(.ym_header_megamenu a) {
    padding: 2.313rem 1rem;
}
.ym_hhd_header .ym_header_nav li.current-menu-item a:not(.ym_header_megamenu a),
.ym_hhd_header .ym_header_nav li a:not(.ym_header_megamenu a):hover {
    color: #0072ae;
}
.ym_hhd_header .ym_header_nav li a:not(.ym_header_megamenu a)::after {
    content: none;
}

/*HERO*/

.ym_hero {
    height: 375px;
    width: 100%;
    position: relative;
    margin-top: 96px;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.ym_hero_video {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.ym_hero_video video {
    position: absolute;
    width: 100%;
    height: auto;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -30%);
}
.ym_hero_overlay {
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
}
.ym_hero_content {
    position: absolute;
    width: 100%;
    left: 0;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    text-align: center;
}
.ym_hero_content h1 {
    color: white;
    font-size: 35px;
    font-weight: 500;
    line-height: 1.25;
    margin: 0 -2rem 1.5rem;
}
.ym_hero_content p {
    color: white;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1.29px;
    line-height: 1.66;
}
.ym_hero_content .ym_link {
    margin: 1rem 0 0;
}
.ym_hero_video_toggle {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    border: 1px solid #bfd2e4;
    border-radius: 25px;
}
.ym_hero_video_toggle span {
    font-size: 10px;
    font-weight: 600;
    padding: 0.5rem 1rem;
    display: inline-block;
    color: white;
    margin: -1px;
    cursor: pointer;
}
.ym_hero_video_toggle span.active {
    color: black;
    background: white;
    border-radius: 25px;
    border: 1px solid #bfd2e4;
}

/*ALERT*/

.ym_alert {
    width: 100%;
    background: #e46211;
    text-align: center;
}
.ym_alert a {
    display: block;
    padding: 0.5rem;
}
.ym_alert a:hover {
    background: #f99c2f;
}
.ym_alert_title,
.ym_alert_title img,
.ym_alert_title h5,
.ym_alert p {
    display: inline-block;
}
.ym_alert_title {
    border-right: 1px solid #eea044;
    padding-right: 1rem;
    margin-right: 1rem;
}
.ym_alert_title img {
    height: 15px;
    margin-right: 0.25rem;
}
.ym_alert_title h5 {
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.27px;
    margin: 0;
    font-family: "Poppins", sans-serif;
}
.ym_alert p {
    color: white;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.18px;
    margin: 0;
}
.ym_alert p::after {
    content: "";
    width: 14px;
    height: 14px;
    background-image: url(../svg/arrow-white.svg);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    display: inline-block;
    margin-left: 0.5rem;
    vertical-align: middle;
    margin-top: -4px;
}

/*CONTENT*/

.ym_content {
    padding: 3.5rem 0;
}
.ym_content_grey {
    background: rgba(215, 219, 223, 0.2);
}
.ym_content_top {
    padding-top: 2rem;
}
.ym_content_bottom {
    padding-bottom: 0;
}
.ym_content_unpadded {
    padding: 0;
}
.ym_content h2 {
    font-weight: 500;
    font-size: 28px;
    color: black;
    margin: 0;
}
.ym_content h5 {
    color: #e46211;
    font-size: 14px;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 1rem;
}
.ym_content p,
.ym_content ul {
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.625;
}
.ym_split_content_image {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.ym_arch_image {
    border-top-left-radius: 48%;
    border-top-right-radius: 48%;
}
.ym_split_content_text {
    height: 100%;
    display: flex;
    align-items: center;
}
.ym_split_content_text h2 {
    margin: 0 0 1.5rem;
}
.ym_general_content ul,
.ym_split_content_text ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ym_general_content ul li,
.ym_split_content_text ul li {
    display: block;
    position: relative;
    padding-left: 2rem;
    margin: 1.5rem 0;
}
.ym_general_content ul li::before,
.ym_split_content_text ul li::before {
    content: "";
    width: 10px;
    height: 10px;
    background: #0072ae;
    border-radius: 50%;
    position: absolute;
    top: 0.45rem;
    left: 0.5rem;
}
.ym_general_content p a,
.ym_general_content ul a,
.ym_general_content a:not(.ym_button):not(.ym_link),
.ym_general_content ul li a,
.ym_split_content_text ul li a,
.ym_split_content_text p a,
#hebcal .copyright a {
    color: #0072ae;
}
.ym_general_content p a:hover,
.ym_general_content ul a:hover,
.ym_general_content a:not(.ym_button):not(.ym_link):hover,
.ym_general_content ul li a:hover,
.ym_split_content_text ul li a:hover,
.ym_split_content_text p a:hover,
#hebcal .copyright a:hover {
    color: #0072ae;
    font-weight: 500;
}
.ym_general_content p a.ym_link {
    color: black;
    font-weight: 600;
}
.ym_general_content img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
.ym_general_content blockquote {
    border: 1px solid lightgrey;
    padding: 1.5rem;
    color: #014f78;
}
.ym_general_content blockquote p:last-child {
    margin: 0;
}
.ym_split_content_text .ym_link {
    margin: 1rem 0 0;
}
.ym_split_content_wide {
    position: relative;
}
.ym_split_content_wide_overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}
.ym_split_content_wide_overlay .container,
.ym_split_content_wide_overlay .row {
    height: 100%;
}
.ym_split_content_wide_images {
    height: 100%;
    width: 100%;
}
.ym_split_content_wide_images .row {
    margin: 0 -0.5rem;
}
.ym_split_content_wide_images .col-6 {
    padding: 0 0.5rem;
}
.ym_split_content_wide_image {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.ym_split_content_wide_image_halved {
    width: 50%;
}
.ym_split_content_wide_single_image .ym_split_content_wide_image {
    padding-bottom: 60%;
}
.ym_split_content_wide_content {
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 1;
    position: relative;
    padding: 5rem 0;
}
.ym_split_content_wide_content_inner {
    width: 100%;
    padding: 0 8% 0 0;
}
.offset-md-6 .ym_split_content_wide_content_inner {
    padding: 0 0 0 8%;
}
.ym_split_content_wide_content h2 {
    margin: 0 0 1rem;
    line-height: 1.25;
}
.ym_general_content h2 {
    margin: 0 0 1rem;
}
.ym_general_content h3 {
    margin: 2rem 0 1rem;
}
.ym_content .col-md-6:first-of-type .ym_general_content_column {
    padding: 0 1rem 0 0;
}
.ym_content .col-md-6:last-of-type .ym_general_content_column {
    padding: 0 0 0 1rem;
}

/*SPACER*/

.ym_spacer {
    display: block;
    width: 100%;
    height: 3.5rem;
}

/*VIDEO*/

.ym_video {
    width: 100%;
    padding-bottom: 56.25%;
    position: relative;
    overflow: hidden;
}
.ym_video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    max-height: 100% !important;
}
.ym_video_padded {
    margin: 3rem 0 0;
}

/*OVERALL SLIDER STYLES*/

.ym_slider_nav {
    margin: 2rem 0 0;
}
.ym_slider .slick-next::before,
.ym_slider .slick-prev::before,
.ym_slider_nav .slick-next::before,
.ym_slider_nav .slick-prev::before {
    content: "";
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #0072ae;
    background-image: url(../svg/arrow-black.svg);
    background-size: 60%;
    background-position: center center;
    background-repeat: no-repeat;
    display: block;
}
.ym_slider .slick-prev::before,
.ym_slider_nav .slick-prev::before {
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
}
.ym_slider .slick-next:hover::before,
.ym_slider .slick-prev:hover::before,
.ym_slider_nav .slick-next:hover::before,
.ym_slider_nav .slick-prev:hover::before {
    background-color: #0072ae;
    background-image: url(../svg/arrow-white.svg);
}
.ym_slider_nav .slick-dots {
    position: relative;
    bottom: auto;
    display: flex;
    margin: 0.5rem 0 0;
}
.ym_slider_nav .slick-dots li {
    flex: 1;
    margin: 0;
}
.ym_slider_nav .slick-dots li button {
    height: 5px;
    background: rgba(215, 219, 223, 0.75);
    width: 100%;
    padding: 0;
}
.ym_slider_nav .slick-dots li.slick-active button {
    background: #0072ae;
}
.ym_slider_nav .slick-dots li button::before,
.ym_slider_nav .slick-dots li.slick-active button:before {
    content: none;
}

/*ARCH SLIDER*/

.ym_arch_slider {
    margin: 3rem 0 0;
}
.ym_arch_slide {
    margin: 0 1rem;
    padding: 0.5rem 0;
}
.ym_arch_slide_inner {
    background: #bfd2e4;
    border-top-right-radius: 45%;
    border-top-left-radius: 45%;
    overflow: hidden;
    position: relative;
    padding-bottom: 120%;
    box-shadow: 0 0 10px rgba(191, 210, 228, 0.75);
}
.ym_arch_slide_arch {
    width: 100%;
    padding-bottom: 85%;
    position: absolute;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.ym_arch_slide_arch img {
    height: 80px;
    position: absolute;
    top: 60%;
    left: 50%;
    -webkit-transform: translate(-50%, -60%);
    transform: translate(-50%, -60%);
}
.ym_arch_slide_content {
    background: white;
    height: 30%;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
.ym_arch_slide_content h4 {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    color: black;
    font-size: 16px;
    font-weight: 400;
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 2rem;
    text-align: center;
}
.ym_arch_slide_content ul {
    display: none;
    text-align: left;
    list-style: none;
    margin: 1rem -1rem 0;
    padding: 0;
    font-size: 13px;
    font-family: "Lato", sans-serif;
    font-weight: 300;
}
.ym_arch_slide_content ul li {
    position: relative;
    padding: 0 0 0 1.5rem;
    margin: 0.75rem 0;
    display: block;
}
.ym_arch_slide_content ul li::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    background-image: url(../svg/arrow-blue.svg);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    top: 3px;
    left: 0;
}
.ym_arch_slide_content ul li a {
    color: black;
}
.ym_arch_slide_content ul li a:hover {
    color: #0072ae;
    font-weight: 400;
}
.ym_arch_slide_content_inner {
    padding: 2rem 0 0;
    width: 100%;
}
.ym_arch_slide_inner:hover .ym_arch_slide_content {
    height: 100%;
    width: 100%;
    background: white;
    top: 0;
    left: 0;
    padding: 2rem;
    display: flex;
    align-items: center;
}
.ym_arch_slide_inner:hover .ym_arch_slide_content h4 {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    -webkit-transform: none;
    transform: none;
    color: #0072ae;
    padding: 0;
}
.ym_arch_slide_inner:hover .ym_arch_slide_content ul {
    display: block;
}
.ym_arch_slider .slick-next {
    right: -4rem;
    width: auto;
    height: auto;
}
.ym_arch_slider .slick-prev {
    left: -4rem;
    width: auto;
    height: auto;
}

/*EVENT SLIDER & EVENTS*/

.ym_event_slider {
    margin-top: 0;
    margin-bottom: 0 !important;
    margin-left: -1rem;
}
.ym_event_slide {
    margin: 0 1rem;
    padding: 1rem 0;
}
.ym_event_slide_inner {
    background: white;
    box-shadow: 0 0 10px rgba(191, 210, 229, 0.75);
    height: 100%;
}
.ym_event_slide.slick-current .ym_event_slide_inner {
    box-shadow: 0 0 15px rgba(0, 114, 174, 0.75);
}
.ym_event_slide_image {
    width: 100%;
    padding-bottom: 55%;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.ym_event_slide_tag {
    position: absolute;
    top: 0;
    left: 0;
    color: white;
    background: #e46211;
    padding: 0.5rem 0.75rem;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}
.ym_event_slide_content {
    padding: 1rem 1rem 4.5rem;
    overflow: hidden;
}
.ym_event_slide_content h4 {
    font-size: 16px;
    font-weight: 500;
    color: black;
    line-height: 1.5;
}
.ym_event_slide_content p {
    font-size: 12px;
    font-weight: 300;
    margin: 0;
    font-family: "Lato", sans-serif;
}
.ym_event_slide_details {
    margin: 0.5rem 0 0.75rem;
}
.ym_event_slide_detail {
    margin: 0;
}
.ym_event_slide_detail img,
.ym_event_slide_detail h5,
.ym_event_slide_detail p,
.ym_event_slide_detail span {
    display: inline-block;
    vertical-align: middle;
}
.ym_event_slide_detail img {
    height: 15px;
}
.ym_event_slide_detail h5 {
    color: #0072ae;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 12px;
    margin: 0 1rem 0 0.5rem;
    font-family: "Poppins", sans-serif;
}
.ym_event_slide_detail p {
    font-size: 14px;
    font-weight: 400;
    font-family: "Lato", sans-serif;
    margin: 0;
}
.ym_event_slide_detail span {
    color: white;
    background: #e46211;
    padding: 0.25rem;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-left: 0.5rem;
}
.ym_event_slide_links {
    margin: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
}
.ym_hhd_posts .ym_event_slide_links {
    padding: 1.5rem;
}
.ym_event_slide_links .ym_button {
    margin-right: 1rem;
    padding: 0.5rem 2rem;
}
.ym_event_slider_nav_arrows,
.ym_image_slider_nav_arrows,
.ym_timeline_slider_nav_arrows {
    text-align: right;
    width: 100%;
}
.ym_event_slider_nav_arrows .slick-prev,
.ym_event_slider_nav_arrows .slick-next,
.ym_image_slider_nav_arrows .slick-prev,
.ym_image_slider_nav_arrows .slick-next,
.ym_timeline_slider_nav_arrows .slick-prev,
.ym_timeline_slider_nav_arrows .slick-next {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    -webkit-transform: none;
    transform: none;
    display: inline-block;
    margin-left: 0.5rem;
}
.ym_events {
    margin: 2rem 0 0;
}
.ym_event_slider .ym_event_slide_inner {
    position: relative;
}
.ym_event_slider .ym_event_slide_inner .ym_event_slide_links {
    padding: 1rem;
}

/*SINGLE EVENT PAGE*/

.ym_event_header {
    margin-top: 96px;
}
.ym_event_header h1 {
    font-size: 32px;
    margin: 1rem 0 2rem;
}
.ym_event_header_image {
    width: 100%;
    padding-bottom: 70%;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.ym_event_registration a,
.ym_event_registration p,
.ym_event_registration span {
    display: inline-block;
    vertical-align: middle;
}
.ym_event_registration p {
    font-size: 20px;
    margin: 0 1.5rem;
}
.ym_event_tags span,
.ym_event_registration span,
.ym_event_schedule_details span {
    color: white;
    background: #e46211;
    padding: 0.25rem;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin: 0 0.25rem 0 0;
}
.ym_event_details {
    border: 1px solid lightgrey;
    padding: 2rem 3rem;
}
.ym_event_details:not(:last-of-type) {
    border-bottom: none;
}
.ym_event_details .ym_event_slide_detail:not(:last-of-type) {
    margin: 0 0 0.5rem;
}
.ym_event_details .ym_event_slide_detail p {
    display: block;
    font-weight: 300;
}
.ym_event_details .ym_link {
    margin: 0 0 1rem;
}
.ym_event_details p.ym_event_price {
    display: inline-block;
    font-size: 20px;
    margin: 0 1.5rem;
    vertical-align: middle;
}
.ym_event_details h5 {
    color: black;
    display: inline-block;
    margin: 0;
}
.ym_event_details .tribe-events-c-subscribe-dropdown__list{
    font-weight: 300;
    font-size: 14px;
    font-family: "Lato", sans-serif;
    margin:0;
    padding-left:1rem;
}
.ym_event_details .tribe-events-c-subscribe-dropdown__list a{
    color: #0072ae;
    font-weight: 500;
}
.ym_social_share {
    display: inline-block;
    margin-left: 1rem;
    font-size: 12px;
}
.ym_event_description h3 {
    margin: 0 0 1.5rem;
}
.ym_event_description p a,
.ym_event_description a{
    color: #0072ae;
    font-weight: 500;
}
.ym_event_description,
.ym_event_description p{
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.625;
}
.ym_event_schedule {
    margin: 2rem 0 0;
}
.ym_event_schedule_item,
.tribe-common .ym_event_schedule_item {
    background: white;
    padding: 1.5rem 10% 1.5rem 1.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    margin: 1rem 0 0;
}
.ym_event_schedule_date {
    font-size: 30px;
    font-weight: 500;
    text-align: center;
    line-height: 25px;
}
.ym_event_schedule_date span {
    font-size: 14px;
    display: block;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 1px;
}
.ym_event_schedule_item h2 {
    margin: 0 0 1rem 0;
    font-size: 20px;
}
.ym_event_schedule_item .ym_event_slide_detail {
    display: inline-block;
    margin: 0 2rem 0 0;
    vertical-align: middle;
}
.ym_event_schedule_item .ym_event_slide_detail img,
.ym_event_schedule_item .ym_event_slide_detail h5,
.ym_event_schedule_item .ym_event_slide_detail p {
    vertical-align: middle;
    display: inline-block;
}
.ym_event_schedule_item .ym_event_slide_detail p {
    margin: 0;
}
.ym_event_schedule_item .ym_event_slide_detail span {
    margin: 0 0 0 0.5rem;
}
.ym_event_schedule_item p {
    margin: 1rem 0;
}
.ym_event_schedule_item p.ym_event_price {
    margin: 0 1rem;
    display: inline-block;
}
.ym_related_events {
    margin: 2rem 0 0;
}
.tribe-common--breakpoint-medium.tribe-common .tribe-common-l-container {
    padding: 0;
}
.ym_event_schedule_details .ym_button.ym_button_outline {
    border: 1px solid #f99c2f;
    color: black;
    background: transparent;
    padding: 0.5rem 1.5rem;
}
.ym_event_schedule_details .ym_button.ym_button_outline:hover {
    color: white;
    background: #f99c2f;
}
.ym_event_schedule_details .ym_link {
    display: inline-block;
    margin-left: 1rem;
    padding: 0 0 0.5rem 1.5rem;
}
.tribe-common .tribe-common-c-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    color: white;
    background: #f99c2f;
    border: none;
    font-size: 13px;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    border-radius: 0;
}
.tribe-common .tribe-common-c-btn:hover {
    color: white;
    background: #0072ae;
}
.tribe-events-cal-links {
    margin: 0;
}
.tribe-events-cal-links a {
    font-family: "Montserrat", sans-serif;
    font-weight: 600 !important;
    font-size: 13px !important;
    color: black !important;
    display: inline-block;
    position: relative;
    padding: 0 0 0.5rem 1.5rem;
    margin: 0 0 0.5rem;
}
.tribe-events-cal-links a::before {
    content: "";
    width: 14px;
    height: 14px;
    background-image: url(../svg/arrow-black.svg);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 2px;
}
.tribe-events-cal-links a::after {
    content: "";
    width: calc(100% - 1.5rem);
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 1.5rem;
    background: #f99c2f;
}
.tribe-events-cal-links a:hover {
    color: #f99c2f;
}
.tribe-events-cal-links a:hover::before {
    background-image: url(../svg/arrow-orange.svg);
}
.tribe-events-cal-links a:hover::after {
    width: 0;
    -webkit-animation-name: growLine;
    -webkit-animation-duration: 0.5s;
    -webkit-animation-fill-mode: forwards;
    animation-name: growLine;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

/*BREADCRUMBS*/

.ym_content .ym_breadcrumbs {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    font-size: 13px;
}
.ym_content .ym_breadcrumbs.ym_breadcrumbs_padded {
    margin: 0;
    padding: 2rem 0;
}
.ym_content .ym_breadcrumbs li {
    display: inline-block;
}
.ym_content .ym_breadcrumbs li:not(:last-child)::after,
.ym_content .ym_breadcrumbs span span a::after {
    content: ">";
    color: lightgrey;
    display: inline-block;
    margin: 0 1rem;
}
.ym_content .ym_breadcrumbs li a,
.ym_content .ym_breadcrumbs span span a {
    color: black;
}
.ym_content .ym_breadcrumbs li:last-child a,
.ym_content .ym_breadcrumbs span span a:hover,
.ym_content .ym_breadcrumbs span span .breadcrumb_last {
    color: #0072ae;
    font-weight: 500;
}

/*POST SECTION - HOMEPAGE*/

.ym_posts {
    margin: 2rem 0 0;
}
.ym_posts .ym_post {
    padding-bottom: 72.25%;
    position: relative;
    width: 100%;
    border-radius: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border: none;
}
.ym_posts .ym_post:nth-of-type(3) {
    padding-bottom: 150%;
}
.ym_posts .ym_post a {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    left: 0;
    top: 0;
}
.ym_post_tag {
    position: absolute;
    top: 0;
    left: 0;
    color: white;
    background: #0072ae;
    padding: 0.5rem 0.75rem;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    font-family: "Poppins", sans-serif;
}
.ym_tag {
    color: black;
    border: 1px solid #0072ae;
    padding: 0.5rem 0.75rem;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    font-family: "Poppins", sans-serif;
}
.ym_post.documents .ym_post_tag,
.ym_event_tags span.documents {
    background: #0072ae;
}
.ym_post.programs .ym_post_tag,
.ym_event_tags span.programs {
    background: #e46211;
}
.ym_post.photos .ym_post_tag,
.ym_event_tags span.photos {
    background: #f99c2f;
}
.ym_post.videos .ym_post_tag,
.ym_event_tags span.videos {
    background: #f99c2f;
}
.ym_post.audio .ym_post_tag,
.ym_event_tags span.audio {
    background: #bfd2e4;
    color: black;
}
.ym_post.publications .ym_post_tag,
.ym_event_tags span.publications {
    background: white;
    color: black;
}
.ym_post.news .ym_post_tag,
.ym_event_tags span.news {
    background: black;
}
.ym_post_content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1rem;
    width: 100%;
    text-align: left;
}
.ym_post_content h4 {
    color: white;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
}
.ym_post_content span.ym_date_tag {
    padding: 0.25rem 0.5rem;
    background: white;
    color: black;
    display: inline-block;
    margin: 0 0 0.5rem;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.ym_post_content span.ym_link {
    display: none;
}
.ym_posts .ym_post a:hover .ym_post_content span.ym_link,
.ym_post_row .ym_post a:hover .ym_post_content span.ym_link {
    display: inline-block;
}
.ym_post_row {
    margin: 3rem 0 0;
}
.ym_post_row .row {
    margin: 0 -0.5rem;
}
.ym_post_row .row .col-lg-4 {
    padding: 0 0.5rem;
}
.ym_post_row .ym_post {
    width: 100%;
    padding-bottom: 70%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border: none;
    border-radius: 0;
}
.ym_post_row .ym_post a {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    position: absolute;
}
.ym_posts_large.ym_posts .ym_post:nth-of-type(2) {
    padding-bottom: 150%;
}
.ym_posts.ym_posts_large.ym_posts_few .ym_post:nth-of-type(2),
.ym_posts.ym_posts_large.ym_posts_few .ym_post:nth-of-type(3) {
    padding-bottom: 72.25%;
}

/*INDIVIDUAL POST PAGE*/

.ym_single_content .ym_event_schedule_item {
    margin: 0 0 3.5rem;
}
.ym_post_audio img {
    width: 60px;
    display: inline-block;
}
.ym_post_audio p {
    display: inline-block;
    margin: 0 0 0 1rem;
    vertical-align: middle;
    color: black;
}
.ym_gallery .row {
    margin: 0 -0.5rem;
}
.ym_gallery .row .col-lg-3 {
    padding: 0 0.5rem;
    margin: 0.5rem 0;
}
.ym_gallery_image {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.ym_gallery_image_full {
    text-align: center;
}
.ym_gallery_image_full img {
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    margin: auto;
}
.ym_gallery_image_caption {
    margin: 0.75rem 0 0;
}
.ym_gallery_image_caption p {
    font-size: 14px;
    color: black;
    margin: 0;
}

/*FILTERS*/

.ym_content .ym_content_filters {
    list-style: none;
    margin: -0.75rem 0 0;
    padding: 0;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: right;
    float: right;
    position: relative;
    width: auto;
    display: inline-block;
}
.ym_content .ym_content_filters::after {
    content: "";
    height: 5px;
    width: 100%;
    background: #d7dbdf;
    position: absolute;
    bottom: 0;
    right: 0;
}
.ym_content .ym_content_filters li {
    display: inline-block;
    position: relative;
}
.ym_content .ym_content_filters li a {
    color: black;
    display: block;
    padding: 1rem 0.5rem;
}
.ym_content .ym_content_filters li.active a,
.ym_content .ym_content_filters li:hover a {
    color: #0072ae;
}
.ym_content .ym_content_filters li.active a::after {
    content: "";
    height: 5px;
    width: 100%;
    background: #0072ae;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 100;
}

/*CTA/FORM SECTIONS*/

.ym_ctas .container-fluid,
.ym_ctas .col-lg-6 {
    padding: 0;
}
.ym_ctas .row {
    margin: 0;
}
.ym_cta_section {
    width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.ym_cta_section .ym_overlay {
    background: rgba(0, 0, 0, 0.25);
    padding: 3.5rem 5rem;
    height: 100%;
}
.ym_cta_form_box {
    background: white;
    width: 55%;
    padding: 2rem;
    margin: 0 auto;
}
.ym_cta_form_box h5 {
    margin: -2rem -2rem 2rem -2rem;
    color: #0072ae;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: "Poppins", sans-serif;
    background: rgba(215, 219, 223, 0.25);
    padding: 1.5rem 2rem;
    text-transform: uppercase;
    text-align: center;
}
.ym_radio_buttons input[type="radio"]:checked,
.ym_radio_buttons input[type="radio"]:not(:checked) {
    display: none;
}
.ym_radio_buttons input[type="radio"]:checked + label,
.ym_radio_buttons input[type="radio"]:not(:checked) + label {
    position: relative;
    cursor: pointer;
    padding: 0.5rem;
    border: 1px solid #bfd2e4;
    display: inline-block;
    margin: 0 5px 5px 0;
    font-size: 12px;
    letter-spacing: 0.43px;
    font-weight: 500;
    color: black;
    text-align: center;
}
.ym_radio_buttons input[type="radio"]:checked + label span,
.ym_radio_buttons input[type="radio"]:not(:checked) + label span {
    font-weight: 300;
    font-size: 10px;
}
.ym_radio_buttons input[type="radio"]:checked + label,
.ym_radio_buttons input[type="radio"]:not(:checked) + label:hover {
    background: #0072ae;
    color: white;
}
.ym_cta_form_box .ym_radio_buttons .gchoice {
    display: inline-block;
}
.ym_cta_form_box .ym_radio_buttons .gfield_radio {
    width: 100%;
}
.ym_cta_form_box .ym_radio_buttons .gchoice:nth-of-type(1),
.ym_cta_form_box .ym_radio_buttons .gchoice:nth-of-type(2),
.ym_cta_form_box .ym_radio_buttons .gchoice:nth-of-type(3) {
    width: 32%;
}
.ym_cta_form_box .ym_radio_buttons .gchoice:nth-of-type(4),
.ym_cta_form_box .ym_radio_buttons .gchoice:nth-of-type(5) {
    width: 49%;
}
.ym_cta_form_box .ym_radio_buttons .gchoice input[type="radio"] + label {
    width: 100%;
}
/*.ym_cta_form_box .ym_radio_buttons input[type="radio"] + label:nth-of-type(1),
.ym_cta_form_box .ym_radio_buttons input[type="radio"] + label:nth-of-type(2),
.ym_cta_form_box .ym_radio_buttons input[type="radio"] + label:nth-of-type(3){
    width:32%;
}*/
.ym_cta_form_box .ym_radio_buttons input[type="radio"] + label:nth-of-type(2) {
    margin-left: -5px;
}
.ym_cta_form_box .ym_radio_buttons input[type="radio"] + label:nth-of-type(3),
.ym_cta_form_box .ym_radio_buttons input[type="radio"] + label:nth-of-type(5) {
    margin-right: 0;
    margin-left: -5px;
}
/*.ym_cta_form_box .ym_radio_buttons input[type="radio"] + label:nth-of-type(4),
.ym_cta_form_box .ym_radio_buttons input[type="radio"] + label:nth-of-type(5){
    width:49%;
}*/
.ym_cta_form_box .ym_radio_list {
    margin: 1rem 0 1.5rem !important;
}
.ym_radio_list input[type="radio"]:checked,
.ym_radio_list input[type="radio"]:not(:checked) {
    display: none;
}
.ym_radio_list input[type="radio"]:checked + label,
.ym_radio_list input[type="radio"]:not(:checked) + label {
    position: relative;
    padding-left: 1rem;
    cursor: pointer;
    display: block;
    color: black;
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
}
.ym_radio_list input[type="radio"]:checked + label:before,
.ym_radio_list input[type="radio"]:not(:checked) + label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 12px;
    height: 12px;
    border: 1px solid black;
    border-radius: 50%;
    background: #fff;
}
.ym_radio_list input[type="radio"]:checked + label:after {
    content: "";
    width: 6px;
    height: 6px;
    background: #0072ae;
    position: absolute;
    top: 7px;
    left: 3px;
    border-radius: 50%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
.ym_cta_form_box input[type="submit"] {
    border: 1px solid #0072ae;
    display: block;
    width: 100%;
    background: transparent;
    color: black;
    font-size: 13px;
    padding: 0.5rem 1.5rem;
}
.ym_cta_form_box input[type="submit"]:hover {
    background: #0072ae;
    color: white;
}
.ym_cta_form h5,
.ym_cta_form h2 {
    color: white;
}
.ym_cta_form {
    text-align: left;
    width: 75%;
}
.ym_cta_form form .row {
    margin: 0 -0.25rem;
}
.ym_cta_form form .col-md-6 {
    padding: 0 0.25rem;
}
.ym_cta_form h5 {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
}
.ym_cta_form h2 {
    font-size: 28px;
    font-weight: 500;
}
.ym_cta_form h2,
.ym_cta_form h3,
.ym_cta_form h4,
.ym_cta_form h5,
.ym_cta_form p {
    color: white;
}
.ym_cta_form form {
    margin: 2rem 0 0;
}
.ym_cta_form form input:not([type="submit"]),
.ym_cta_form form select,
.wFormContainer input[type="text"] {
    width: 100% !important;
    padding: 0.75rem !important;
    border: none;
    background: white;
    box-shadow: 0 0 10px rgba(191, 210, 228, 0.3);
    margin: 0 0 0.5rem;
    font-size: 14px !important;
    font-weight: 300;
}
.wFormContainer .choices label{
    margin-left:0.5rem;
}
.wFormContainer .wf-acl-hidden{
    display:none;
}
.wFormContainer .section{
    margin-bottom:2rem;
}
.ym_cta_form form input[type="submit"],
.wFormContainer input[type="submit"] {
    width: 100%;
    border: none;
    padding: 0.75rem 1.5rem;
    color: white;
    background: #f99c2f;
    border: none;
    font-size: 13px;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
}
.gform_wrapper.gravity-theme#gform_wrapper_1 .gform_fields {
    display: block;
}
.gform_wrapper.gravity-theme .ym_radio_buttons .gfield-choice-input + label {
    max-width: 100%;
}

/*FOOTER*/
.page-id-23 .ym_footer_map {
    margin-top: 100px;
}
.ym_footer_map {
    margin-top: 100px;
    width: 100%;
    padding-bottom: 25%;
    position: relative;
}
.ym_footer_map iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.ym_footer_main {
    padding: 3rem 0;
}
.ym_footer_logo {
    width: 200px;
}
.ym_footer_logo img {
    width: 100%;
}
.ym_footer_main p {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    color: black;
    margin: 2rem 0 0;
}
.ym_footer_main h5 {
    color: black;
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.27px;
}
.ym_footer_list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
}
.ym_footer_list li {
    display: block;
    margin: 1rem 0 0;
}
.ym_footer_list li a {
    display: inline-block;
    position: relative;
    color: black;
}
.ym_footer_list li a:hover {
    color: #0072ae;
    font-weight: 500;
}
.ym_footer_contact p {
    margin: 1.1rem 0 0;
}
.ym_footer_brands {
    text-align: center;
    margin: 3rem 0 0;
}
.ym_footer_brands img {
    max-width: 16%;
    max-height: 75px;
    width: auto;
    height: auto;
    display: inline-block;
    margin: auto 0.5rem;
    padding: 0 0.5rem;
}
.ym_footer_bottom {
    background: #014f78;
    padding: 1rem 0;
}
.ym_footer_bottom p {
    font-size: 12px;
    color: white;
    font-weight: 300;
    margin: 0;
}
.ym_footer_bottom p a {
    color: white;
}
.ym_footer_bottom p a:hover {
    text-decoration: underline;
}
.ym_footer_social {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: right;
    font-size: 14px;
    margin-top: -2px;
}
.ym_footer_social li {
    display: inline-block;
    margin: 0 0 0 1rem;
}
.ym_footer_social li a {
    color: white;
}

/*TITLE BAR*/

.ym_title_bar {
    margin: 96px 0 0;
    height: 150px;
    width: 100%;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    text-align: center;
}
.ym_title_bar_overlay {
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
}
.ym_title_bar h1 {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    color: white;
    font-size: 35px;
    width: 100%;
}

/*PAGE GRID*/

.ym_page_grid .row {
    margin: 0 -0.5rem;
}
.ym_page_grid .col-lg-4,
.ym_page_grid .col-lg-3 {
    margin: 0 0 1rem;
    padding: 0 0.5rem;
}
.ym_page_grid_block {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.ym_page_grid_block a {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background: rgba(0, 0, 0, 0.3);
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
}
.ym_page_grid_block a:hover {
    background: rgba(0, 0, 0, 0.5);
}
.ym_page_grid_block h2 {
    color: white;
    font-size: 28px;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1.5rem;
    margin: 0;
    width: 85%;
    text-align: left;
}
.ym_page_grid_block h4 {
    color: white;
    font-size: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1.5rem;
    margin: 0;
    width: 85%;
    text-align: left;
}
.ym_page_grid_block::after {
    content: "";
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #f99c2f;
    background-image: url(../svg/arrow-white.svg);
    background-position: center center;
    background-size: 50%;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 1.8rem 1.5rem;
    pointer-events: none;
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
}
.ym_page_grid_block:hover::after {
    background-color: #f99c2f;
}

/*MEDIA GRID*/

.ym_media_grid .row {
    margin: 0 -0.5rem;
}
.ym_media_grid .col-md-6 {
    padding: 0 0.5rem;
}
.ym_media_grid_video {
    width: 100%;
    padding-bottom: 120%;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.ym_media_grid_video a {
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(0, 0, 0, 0.3);
}
.ym_media_grid_video h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    text-align: center;
    font-size: 20px;
    color: white;
    margin: 0;
}
.ym_media_grid_video::after {
    content: "";
    width: 100px;
    height: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-image: url(../png/play-button.png);
    background-size: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    pointer-events: none;
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
}
.ym_media_grid_video:hover::after {
    width: 120px;
    height: 120px;
}
.ym_media_grid_image.ym_media_grid_video::after {
    content: none;
}
.ym_media_grid_content,
.ym_media_grid_image {
    position: relative;
    width: 100%;
    padding-bottom: 60%;
}
.ym_media_grid_image.ym_media_grid_video {
    padding-bottom: 120%;
}
.ym_media_grid_content_inner {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
.ym_media_grid_content_inner_inner {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    right: 0;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    padding: 1.5rem;
}
.ym_media_grid_image {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/*MODALS*/

.ym_modal .modal-dialog {
    max-width: 71.25%;
    width: 71.25%;
}
.modal-backdrop {
    opacity: 0.25 !important;
}
.ym_modal .modal-content {
    padding: 3rem;
    border-radius: 0;
    border: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
}
.ym_modal .btn-close {
    width: 25px;
    height: 25px;
    position: absolute;
    top: 0;
    right: 0;
    margin: 1rem;
    border: 1px solid #0072ae;
    border-radius: 50%;
    background-image: url(../svg/x.svg);
    background-size: 40%;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: transparent;
}
.ym_modal .btn-close:hover {
    background-color: #0072ae;
}
.ym_modal_arrows {
    margin: 2rem 0 0;
}
.ym_modal_arrow_prev,
.ym_modal_arrow_next {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #0072ae;
    background-image: url(../svg/arrow-black.svg);
    background-size: 60%;
    background-position: center center;
    background-repeat: no-repeat;
    display: inline-block;
    margin: 0 0.5rem 0 0;
}
.ym_modal_arrow_prev:hover,
.ym_modal_arrow_next:hover {
    background-color: #0072ae;
    background-image: url(../svg/arrow-white.svg);
}
.ym_modal_arrow_prev {
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
}
.ym_clergy_modal .ym_general_content {
    max-height: 500px;
    overflow-y: scroll;
}

/*CLERGY*/

.ym_clergy_member {
    text-align: center;
    margin: 0 0 3rem;
}
.ym_clergy_member_image {
    width: 100%;
    padding-bottom: 140%;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.ym_clergy_member h4 {
    font-size: 20px;
    color: #f99c2f;
    margin: 1rem 0 0.5rem;
}
.ym_clergy_member h5 {
    color: black;
}
.ym_clergy_member a:hover h4 {
    color: #0072ae;
}
.ym_rabbi_slider {
    margin: 2rem 0;
    padding: 0 2rem;
}
.ym_rabbi_slide {
    margin: 0 0.5rem;
}
.ym_rabbi_slide_image {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.ym_rabbi_slide h4 {
    font-size: 16px;
    color: black;
    font-weight: 500;
    margin: 1rem 0 0.5rem;
}
.ym_rabbi_slide h5 {
    color: #0072ae;
}
.ym_rabbi_slider .slick-next,
.ym_rabbi_slider .slick-prev {
    top: 34%;
}

/*IMAGE SLIDER*/

.ym_image_slider .slick-list {
    padding: 0 calc((100vw - 1140px) / 2);
}
.ym_image_slide {
    margin: 0 0.5rem;
}
.ym_image_slide h2 {
    margin: 0 0 2rem;
}
.ym_image_slide_image {
    width: 100%;
    padding-bottom: 40%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.ym_image_slider .ym_video {
    padding-bottom: 40%;
}

/*BLOCK LIST*/

.ym_block_list {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
    -webkit-columns: 4;
    columns: 4;
    text-align: center;
    width: 100%;
    font-size: 13px;
}
.ym_block_list li {
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
    margin: 0 0 0.25rem;
    padding: 0.25rem 0;
    width: 100%;
    display: block;
}
.ym_block_list li span {
    background: white;
    padding: 1rem;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
    width: 100%;
    display: block;
}

/*CALENDAR*/

.ym_calendar_filters {
    padding: 1.5rem 0;
}
.ym_calendar_filters form .row {
    margin: 0 -0.5rem;
}
.ym_calendar_filters form .row .col-md-1,
.ym_calendar_filters form .row .col-md-2,
.ym_calendar_filters form .row .col-md-3 {
    padding: 0 0.5rem;
}
.ym_calendar_filters form span,
.ym_calendar_filters form input,
.ym_calendar_filters form .ym_select {
    width: 100%;
    font-size: 14px;
}
.ym_calendar_filters form input {
    border: 1px solid black;
    padding: 0.5rem;
}
.ym_calendar_filters form input[type="submit"] {
    border-color: #f99c2f;
}
.ym_calendar_filters form input[type="submit"]:hover {
    border-color: #0072ae;
}
.ym_calendar_filters form .ym_button {
    padding: 0.5rem;
    text-align: center;
    width: 100%;
}
.ym_calendar_filters form .ym_select {
    position: relative;
}
.ym_calendar_filters form .ym_select::after {
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    right: 0.75rem;
    top: 0.85rem;
    background-image: url(../svg/select.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}
.ym_calendar_filters form .ym_select select {
    -webkit-appearance: none;
    border: 1px solid black;
    padding: 0.5rem;
    width: 100%;
    color: grey;
}
.ym_calendar_nav {
    text-align: right;
    padding: 0.6rem 0;
}
.ym_calendar_nav h2.screen-reader-text {
    display: none;
}
.ym_calendar_nav.centered {
    text-align: center;
    padding: 0;
    margin: 2rem 0 0;
}
.ym_calendar_nav ul,
.ym_calendar_nav nav {
    list-style: none;
    margin: 0 2rem;
    padding: 0;
    font-size: 14px;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: auto;
    display: inline-block;
    vertical-align: top;
}
.ym_calendar_nav li,
.ym_calendar_nav nav .page-numbers {
    display: inline-block;
    margin: 0 0.5rem;
}
.ym_calendar_nav li.active,
.ym_calendar_nav nav .page-numbers.current {
    border-bottom: 5px solid #0072ae;
    color: #0072ae;
}
.ym_calendar_nav li a,
.ym_calendar_nav nav .page-numbers {
    color: black;
}
.ym_calendar_nav li.active a,
.ym_calendar_nav li a:hover {
    color: #0072ae;
}
.ym_calendar_nav nav .page-numbers.next {
    display: none;
}
.ym_calendar_nav_prev,
.ym_calendar_nav_next {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #0072ae;
    background-image: url(../svg/arrow-black.svg);
    background-size: 60%;
    background-position: center center;
    background-repeat: no-repeat;
    display: inline-block;
}
.ym_calendar_nav_prev:hover,
.ym_calendar_nav_next:hover {
    background: #0072ae;
    background-image: url(../svg/arrow-white.svg);
    background-size: 60%;
    background-position: center center;
    background-repeat: no-repeat;
    display: inline-block;
}
.ym_calendar_nav_prev {
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
}
.ym_calendar .ym_calendar_nav h5 {
    display: inline-block;
    line-height: 22px;
    vertical-align: top;
    margin: 0 0.5rem;
    color: black;
}
.ym_calendar_settings {
    margin: 1.5rem 0 0;
}
.ym_calendar_settings h5 {
    color: black;
}
.ym_calendar_view {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 1rem;
    text-align: right;
    width: 100%;
}
.ym_calendar_view li {
    display: inline-block;
    border-bottom: 5px solid #d7dbdf;
    margin-right: -5px;
}
.ym_calendar_view li a {
    padding: 0.5rem 1rem;
    display: block;
    color: black;
}
.ym_calendar_view li.active {
    border-color: #0072ae;
}
.ym_calendar_view li.active a,
.ym_calendar_view li a:hover {
    color: #0072ae;
}

/*ACCORDIONS*/

.ym_accordion {
    text-align: left;
    margin: 2rem 0 0;
}
.ym_accordion_section {
    padding: 1.5rem;
    position: relative;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    margin: 0 0 1rem;
}
.ym_accordion .ym_accordion_section:last-of-type {
    margin-bottom: 0;
}
.ym_accordion_q {
    position: relative;
    cursor: pointer;
    padding-right: 15%;
}
.ym_accordion_q h5 {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    color: black;
    letter-spacing: 0.88px;
}
.ym_accordion_section::after {
    content: "";
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #0072ae;
    background-image: url(../svg/arrow-black.svg);
    background-size: 60%;
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    right: 1.5rem;
    top: 1.25rem;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    pointer-events: none;
}
.ym_accordion_section.opened::after {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}
.ym_accordion_a {
    display: none;
    padding: 1rem 0 0;
}
.ym_accordion_a p,
.ym_accordion_a ul {
    font-size: 14px;
}
.ym_accordion_a p a,
.ym_accordion_a ul a {
    color: #0072ae;
}
.ym_accordion_a p a:hover,
.ym_accordion_a ul a:hover {
    font-weight: 700;
    color: #0072ae;
}
.ym_accordion_a p a span:hover,
.ym_accordion_a ul li a:hover {
    font-weight: 700;
    color: #0072ae;
}
.ym_accordion_a p:last-child {
    margin: 0;
}
.ym_accordion_a p:last-child::after {
    content: "";
    clear: both;
    display: block;
}

/*INTERIOR NAV*/

.ym_interior_nav {
    padding: 1.5rem 0;
}
.ym_interior_nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    text-align: center;
}
.ym_interior_nav ul.ym_interior_nav_standard {
    display: block;
}
.ym_interior_nav ul li {
    display: inline-block;
    flex-grow: 1;
}
.ym_interior_nav_side ul {
    display: block;
}
.ym_interior_nav_side ul li {
    display: block;
    width: 100%;
    text-align: center;
    flex-grow: none;
    margin: 0 0 1rem;
}
.ym_interior_nav ul.ym_interior_nav_standard li {
    width: 31.5%;
    margin: 0 0 0.5rem;
}
.ym_interior_nav ul li:not(:last-child) {
    /*margin-right: 1rem;*/
}
.ym_interior_nav ul li a {
    display: block;
    padding: 0.5rem 1rem;
    border: 1px solid #0072ae;
    color: black;
}
.ym_interior_nav ul li a:hover {
    background: #0072ae;
    color: white;
}
.ym_interior_nav.ym_interior_nav_filters li:first-child a {
    border-color: #f99c2f;
}
.ym_interior_nav.ym_interior_nav_filters li:first-child a:hover {
    background: #f99c2f;
}

/*LINK GRID*/

.ym_link_grid .row {
    margin: 0 -0.5rem;
}
.ym_link_grid_wide .row {
    margin: 0 -7.5rem;
}
.ym_link_grid .row .col-lg-5ths {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
}
.ym_link_grid .row .col-lg-2,
.ym_link_grid .row .col-lg-3,
.ym_link_grid .row .col-lg-4,
.ym_link_grid .row .col-lg-5ths {
    padding: 0 0.5rem;
    margin: 0.5rem 0;
}
.ym_link_grid_block .row .col-12 {
    padding: 0 0.5rem;
    height: 100%;
}
.ym_link_grid_block {
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
    position: relative;
}
.ym_link_grid_block:hover {
    margin-top: -1rem;
}
.ym_link_grid_block_image {
    width: 100%;
    padding-bottom: 90%;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #bfd2e4;
}
.ym_link_grid_block_image.ym_link_grid_block_image_contain {
    background-size: 90%;
    background-color: white;
}
.ym_link_grid_block_icon img {
    width: 40%;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
}
.ym_link_grid_block_content {
    padding: 1rem 0.5rem;
}
.ym_link_grid_block_content p {
    color: black;
    font-size: 14px;
    text-align: center;
    font-weight: 400;
    margin: 0;
}
.ym_link_grid_block_content_hidden {
    display: none;
    position: absolute;
    width: 100%;
    height: max-content;
    top: 0;
    left: 0;
    background: white;
    z-index: 100;
    text-align: center;
    padding: 2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
.ym_link_grid_block:hover .ym_link_grid_block_content_hidden {
    display: flex;
    align-items: center;
}
.ym_link_grid_block_content_hidden p:first-child {
    color: #0072ae;
    font-weight: 500;
    font-size: 14px;
}
.ym_link_grid_block_content_hidden p {
    color: black;
    font-weight: 300;
    font-size: 13px;
}

/*LINK LIST*/

.ym_link_list {
    margin: 2rem 0 0;
}
.ym_link_list .row {
    margin: 0 -1.5rem;
}
.ym_link_list .row .col-md-6 {
    padding: 0 0.5rem;
}
.ym_link_list_item {
    display: block;
    margin: 0 0 0.5rem;
}
.ym_link_list_item a {
    padding: 1rem;
    display: block;
}
.ym_link_list_item:hover {
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
.ym_link_list_item h5 {
    color: #0072ae;
    line-height: 1.71;
    margin: 0 0 0.5rem;
}
.ym_link_list_item p {
    color: black;
    font-size: 14px;
    margin: 0;
}

/*BOOK INFO*/

.ym_book_image img {
    width: 120%;
    margin-left: -0.25rem;
}
.ym_book_caption h5 {
    color: #0072ae;
    letter-spacing: 0.88px;
    margin: 0 0 0.5rem;
}
.ym_book_caption p {
    font-size: 12px;
    margin: 0;
}

/*CTA SECTION*/

.ym_cta h2 {
    margin: 0 0 1rem;
}
.ym_cta p {
    padding: 0 10%;
}
.ym_cta p a {
    text-decoration: underline;
}
.ym_cta .ym_connect {
    padding: 1rem 0 0;
}
.ym_cta .ym_connect h5,
.ym_cta .ym_connect span {
    display: inline-block;
}
.ym_cta .ym_connect h5 {
    color: #0072ae;
}
.ym_cta .ym_connect span {
    margin: 0 0 0 2rem;
    font-size: 12px;
}
.ym_cta .ym_connect span img {
    width: 12px;
    display: inline-block;
    vertical-align: middle;
    margin: -2px 0.25rem 0 0;
}

/*LINK MASONRY STACK*/

.ym_link_stack .card-columns {
    column-count: 3;
}
.ym_link_stack.ym_link_stack_wide .card-columns {
    column-count: 2;
}
.ym_link_stack_item {
    width: 100%;
    padding-bottom: 80%;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    text-align: center;
    border: none;
    border-radius: 0;
}
.ym_link_stack .ym_link_stack_item:nth-of-type(5),
.ym_link_stack .ym_link_stack_item:nth-of-type(6) {
    padding-bottom: 165.4%;
}
.ym_link_stack_item .ym_link_stack_item_content_container {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    position: absolute;
    top: 0;
    left: 0;
}
.ym_link_stack_item h3 {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    color: white;
    font-weight: 500;
    font-size: 20px;
}
.ym_link_stack_item_content {
    display: none;
    align-items: center;
    background: white;
    position: absolute;
    text-align: center;
    padding: 1rem;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.ym_link_stack_item_content h3 {
    color: #0072ae;
    position: relative;
    font-size: 16px;
    margin: 0 0 0.5rem;
    -webkit-transform: none;
    transform: none;
    top: auto;
}
.ym_link_stack_item_content p,
.ym_link_stack_item_content ul {
    color: black;
    font-size: 13px;
    margin: 0 0 0.5rem;
}
.ym_link_stack_item_content ul {
    text-align: left;
}
.ym_link_stack_item_content p:last-child {
    margin: 0;
}
.ym_link_stack_item .ym_link_stack_item_content_container:hover .ym_link_stack_item_content {
    display: flex;
}

/*HHD CONTENT LIBRARY*/

.ym_content_library {
    padding: 2rem 0 0;
}
.ym_hhd_posts .ym_event_slide_content p {
    font-size: 14px;
    color: black;
    font-family: "Poppins", sans-serif;
}
.ym_hhd_posts .row {
    margin: 0 -0.5rem;
}
.ym_hhd_posts .row .col-lg-4 {
    margin: 0 0 1rem;
    padding: 0 0.5rem;
}

/*SIDEBAR*/

.ym_sidebar {
    height: 100%;
    padding-right: 2rem;
}
.ym_sidebar h3 {
    font-size: 20px;
}

/*CUSTOM CHECKBOXES*/

.ym_check_label {
    display: block;
    position: relative;
    padding-left: 1.25rem;
    margin: 1rem 0;
    cursor: pointer;
    font-size: 11px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.ym_check_label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.ym_check_label .checkmark {
    position: absolute;
    top: 1px;
    left: 0;
    height: 12px;
    width: 12px;
    border: 1px solid #f99c2f;
}
.ym_check_label:hover input ~ .checkmark {
    background-color: #f99c2f;
}
.ym_check_label .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.ym_check_label input:checked ~ .checkmark::after {
    display: block;
    background-color: #f99c2f;
    width: 8px;
    height: 8px;
    top: 1px;
    left: 1px;
}

/*EMBEDS*/

.ose-issuu {
    width: 100% !important;
}
.ose-issuu .issuuembed {
    width: 100% !important;
    padding-bottom: 80%;
    height: auto !important;
    position: relative;
}
.ose-issuu .issuuembed iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/*SEARCH RESULTS*/

.ym_search_results .col-lg-6 {
    margin: 0 0 1rem;
}
.ym_search_result {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: white;
    height: 100%;
}
.ym_search_result a {
    display: block;
    padding: 2rem;
}
.ym_search_result h3 {
    font-size: 20px;
    color: #014f78;
    margin: 0 0 1rem;
}
.ym_search_result h5 {
    color: #0072ae;
}
.ym_search_result p {
    font-size: 14px;
    margin: 0;
    color: black;
}
.ym_search_result:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}
.ym_search_result:hover h3 {
    color: #f99c2f;
}

/*TIMELINE*/

.ym_timeline_slide {
    margin: 0 1rem 0 0;
    padding: 0.5rem 0;
}
.ym_timeline_slider_container {
    margin: 3rem 0 0;
}
.ym_timeline_slide_inner {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: white;
    height: 100%;
    width: 100%;
    padding: 1.5rem 1.5rem 1.75rem 1.5rem;
    position: relative;
}
.ym_timeline_slide_inner::after {
    content: "";
    position: absolute;
    width: 5px;
    top: 0;
    left: 0;
    height: 100%;
    background: #bfd2e4;
}
.ym_timeline_slide_inner h5 {
    color: #0072ae;
    margin: 0.5rem 0;
}
.ym_timeline_slide_inner p {
    font-size: 14px;
}
.ym_timeline_slide_image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/*SPACER*/

.ym_spacer {
    width: 100%;
    height: 3rem;
    display: block;
}

.page-id-15 .ym_clergy_member a {
    cursor: default;
}

.page-id-15 {
    padding-right: 0 !important;
}

.page-id-15 .modal-backdrop {
    display: none !important;
}

.page-id-15 .ym_clergy_modal {
    display: none !important;
}

#our-clergy-section .container .row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}
#our-clergy-section .container .row div {
    max-width: 100%;
}
#our-clergy-section .container .row div {
    grid-column: span 2;
}
#our-clergy-section .container .row div:nth-child(7) {
    grid-column: 2 / span 2;
}

@media screen and (max-width: 768px) {
    #our-clergy-section .container .row {
        display: unset;
    }
}

.ym_side_nav.fixed {
    position: fixed;
    top: 140px;
    width: 255px;
}
.ym_side_nav h5 {
    background: rgba(215, 219, 223, 0.2);
    font-size: 10px;
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    padding: 0.5rem;
    display: block;
    color: black;
    text-align: center;
    margin: 0;
}
.ym_side_nav .ym_interior_nav {
    padding: 1rem 0;
}
.ym_side_nav_content .ym_content {
    padding: 0 0 4rem;
}
.ym_side_nav_content .ym_content .col-xl-8,
.ym_side_nav_content .ym_content .col-lg-10,
.ym_side_nav_content .ym_content .offset-xl-2,
.ym_side_nav_content .ym_content .offset-lg-1 {
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0;
}
.ym_side_nav_content .ym_content .ym_video {
    margin-top: -3rem;
    margin-bottom: 3rem;
}

.single-tribe_events .ym_event_tags {
    display: none;
}

.ym_show {
    display: block !important;
}

.ym_hide {
    display: none !important;
}

.gform_confirmation_message_2 {
    color: white;
}
