@font-face {
    font-family: ".SF NS Display Regular";
    src: url("/wp-content/themes/roots-master/assets/fonts/SFNS Display Regular.ttf") format("opentype");
}

@font-face {
    font-family: Helvetica;
    src: url("/wp-content/themes/roots-master/assets/fonts/Helvetica.ttf") format("opentype");
    font-weight: normal;
}

@font-face {
    font-family: "Helvetica Bold";
    src: url("/wp-content/themes/roots-master/assets/fonts/Helvetica-Bold.ttf") format("opentype");
}

:root {
    --theme-secondary-color: #4B4B4D;
    --theme-accent-color: #F2F7F6;
}

html {
    min-width: 320px;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    line-height: 10px;
    color: #4B4B4D;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: inherit;
}

button {
    background-color: transparent;
    border: none;
}

strong {
    font-weight: 600;
}

div.mainwrapper {
    min-height: calc(100vh - 500px);
}


/* ------------------------------------------------
   Images
   --------------------------------------------- */

.logo img,
img.classified-logo {
    object-fit: contain;
}


/*-------------------------------------------------
  Copied from Old
-------------------------------------------------*/

body {
    background-color: #F2F7F6;
    font-weight: 400;
    font-size: 1.3em;
    color: var(--theme-secondary-color);
    /* line-height: 1.3em; */
    margin: 0 auto;
    font-family: Poppins, sans-serif;
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
}

form {
    margin: 0;
}


/* Headings */

h1 {
    font-weight: 600;
    font-size: 1.5em;
}

h2 {
    font-weight: 600;
    font-size: 1.3em;
}

h3,
h4,
h5,
h6 {
    font-weight: 400;
    margin: 0;
    line-height: inherit;
}


/* Lists */

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    background: left 5px no-repeat;
    padding: 0 0 0 10px;
    margin: 0 0px;
}


/* Links */

a:link {
    text-decoration: none;
    outline: none;
}

a:active {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

a:focus {
    outline: none;
}

a:visited {
    text-decoration: none;
}


/* Basic classes */

.hidden {
    display: none;
}

.centerize {
    text-align: center;
}

.caption {
    font-size: xx-small;
}

.clearing {
    width: 829px;
    height: 0;
    clear: both;
}


/*-------------------------------------------------
  Global Effects - Mendel Groner
  -----------------------------------------------*/


/* The filter effect is applied to an SVG. 'drop-shadow' is similar to box-shadow, 
 * except that it applies the shadow to the corners of an SVG's edges, as opposed 
 * to a literal 'box' around the image.
 * Because this effect is applied to multiple buttons, the code was placed at the
 * top of the css file. The class can be applied to the desired location. */

.svg-shadow {
    -webkit-filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.16));
    filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.16));
}

focus:focus {
    border: 1px solid;
    box-shadow: 0 0 0 .25rem var(--theme-primary-transparent-dark);
}

.primary {
    color: var(--theme-primary-color);
}

.uppercase {
    text-transform: uppercase;
}

a.underline-link:link {
    text-decoration: underline;
}

a.underline-link:hover {
    text-decoration: none;
}

.underline {
    text-decoration: underline;
}

.semi-strong {
    font-weight: 500;
}

.white-background {
    background-color: white;
}

.hover-green:hover {
    color: var(--theme-primary-color);
}

.inverse-hover {
    color: var(--theme-primary-color);
    background-color: var(--theme-secondary-color);
}

.inverse-hover:hover {
    background-color: var(--theme-primary-color);
    color: var(--theme-secondary-color);
}

.primary {
    color: var(--theme-primary-color);
}

.white-on-hover:hover {
    color: white;
}


/* Hover effect is only to be applied on non-Mobile devices. Consult with designer? */

@media(min-width: 767.99px) {
    .svg-shadow {
        transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    }
    .svg-shadow:hover {
        transform: scale(1.012, 1.012);
        -webkit-filter: drop-shadow(0px 6px 6px rgba(0, 0, 0, 0.16));
        filter: drop-shadow(0px 6px 6px rgba(0, 0, 0, 0.16));
    }
}

@media(max-width: 767.98px) {
    html {
        scrollbar-width: none;
        /*Firefox */
        -ms-overflow-style: none;
        /* IE 10+ */
    }
    html::-webkit-scrollbar {
        /* Webkit */
        width: 0;
        height: 0;
    }
}


/* Dissapears above 991 */

@media(min-width: 991.99px) {
    .nine-ninety-one {
        display: none !important;
    }
}

@media(max-width: 991.98px) {
    .not-991 {
        display: none;
    }
}


/*----------------------------------------------
  Green Slider
  ----------------------------------------------*/

.green-swiper-container {
    margin-bottom: 2rem;
}


/* Mobile Rules for Green Slider */

@media(max-width: 767.98px) {
    .green-swiper-header {
        padding-left: 1.5em;
        padding-right: 2.8em;
    }
    .green-swiper-wrapper {
        padding-left: .65em;
    }
}


/* Tablet, Laptop, & Desktop Rules for Slider */

@media(min-width: 767.99px) {
    .green-swiper-container {
        padding-left: 3.8rem;
    }
    .green-swiper-header {
        padding-right: 3.9em;
    }
}


/* Universal */

.green-swiper-container {
    font-size: 1rem;
    line-height: 1rem;
    height: 303px;
    width: 100%;
    background-color: var(--theme-primary-color);
    border-radius: 5px;
    font-family: Poppins, sans-serif;
}

.green-swiper-header {
    display: flex;
    justify-content: space-between;
    line-height: 2rem;
    padding-top: 2em;
    padding-bottom: 2em;
}

.green-title {
    color: white;
    font-weight: 300;
    font-size: 2.8em;
    letter-spacing: normal;
}

@media(max-width: 575.98px) {
    .green-title {
        font-size: 1.8em;
    }
}

.green-link {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.2em;
    line-height: 1.8em;
    letter-spacing: 0.1em;
}

.green-link:hover {
    color: rgb(211, 211, 211);
}

.green-swiper-slide {
    background-color: white;
    color: #212121;
    height: 20.2em;
    border-radius: 5px;
    padding: .5em 1em;
    width: auto;
    width: 24.7em;
}

.green-swiper-slide a {
    height: 100%;
    display: flex;
    flex-flow: column wrap;
}

.green-slide-header {
    flex: 2;
    display: flex;
    align-items: center;
}

.green-slide-icon {
    flex: 1 0 auto;
    max-width: 5em;
}

img.green-slide-icon[src$="twins.svg"] {
    margin-right: 5px;
}

.green-slide-title {
    flex: 4 0 auto;
    font-weight: 600;
    font-size: 1.2em;
    line-height: 1.5em;
    max-width: 85%;
}

.green-slide-content {
    flex: 3;
    padding: .5em;
    font-size: 1.2em;
    line-height: 1.8em;
    font-weight: 400;
    max-height: 100px;
    overflow-y: auto;
}

.green-slide-content.featured-event-slide-content {
    max-height: 125px;
}

.green-slide-content strong {
    font-weight: 600;
}

.green-slide-content em {
    font-style: oblique;
    font-weight: 400;
}

.featured-event-card-location {
    font-weight: 600;
}


/* Hide scrollbars */

.green-slide-content {
    scrollbar-width: none;
    /*Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
}

.green-slide-content::-webkit-scrollbar {
    /* Webkit */
    width: 0;
    height: 0;
}

.green-slide-footer {
    padding: .5em;
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.green-slide-footer time {
    font-weight: 400;
    font-size: 1.2em;
    line-height: 1.8em;
}

.green-comment-number {
    color: #212121;
    margin-left: .1em;
}


/* Shadowing effects can be found at beginning of file under heading 'Global Effects' */

.green-swiper-button-next {
    position: absolute;
    top: 50%;
    right: 10px;
    left: auto;
    z-index: 10;
    visibility: visible;
    opacity: 1;
    transition: visibility 0s opacity 0.5s linear;
}

.green-swiper-button-prev {
    position: absolute;
    top: 50%;
    left: 20px;
    right: auto;
    z-index: 10;
    transform: rotate(180deg);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s opacity 0.5s linear;
}

.green-swiper-slide .featured-event-inner {
    display: block;
    height: auto;
}

.green-slide-header.featured-event-header {
    padding-top: 0.7rem;
}

.featured-event-inner p,
.featured-event-inner+p {
    margin-bottom: .25rem;
}


/*-------------------------------------------------
  Header
-------------------------------------------------*/

#servermessage {
    padding: 0px;
}

.header-date-text {
    flex: 1 0 auto;
}

.header-date-text time {
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    padding-bottom: 2.3rem;
    margin-left: 4rem;
}

.header-bh {
    color: #FFFFFF;
    font-family: 'Rubik', sans-serif;
}


/* Show Mobile Header at 992px breakpoint */

@media(max-width: 991.98px) {
    #desktop-header {
        display: none;
    }
    header#banner {
        position: sticky;
        position: -webkit-sticky;
        z-index: 1000;
        top: 0px;
        /* margin-bottom: 2rem; */
    }
    #mobile-header {
        background-color: var(--theme-primary-color);
        background-image: url(/assets/img/masthead.jpg);
        background-position: center;
        background-repeat: repeat no-repeat;
        background-position: top;
    }
    #mobile-header-row {
        height: 80px;
    }
    .mobile-menu-btn-bg {
        background: none;
        border: none;
    }
    #logo {
        position: relative;
    }
    #logo img {
        width: 75px;
        height: 70px;
    }
    .mobile-menu-fs {
        background: var(--theme-primary-color);
        overflow-y: hidden;
    }
    .mobile-nav-menu>li {
        padding: 1rem;
        width: 100%;
        padding: 3rem;
    }
    .mobile-nav-menu>li>a {
        color: #FFFFFF;
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        padding: inherit;
        font-size: 1.6rem;
    }
    #mobile-navbar-toggler-icon {
        background-image: url(/assets/img/menu@hdpi.png);
        display: inline-block;
        width: 1.5em;
        height: 1.5em;
        vertical-align: middle;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100%;
    }
    #mobile-navbar-toggle-button {
        border: none;
    }
    #mobile-navbar-toggle-button:focus {
        box-shadow: none;
    }
}

@media(min-width: 991.99px) {
    #mobile-header {
        display: none;
    }
    header#banner {
        background: url(/assets/img/masthead.jpg);
        background-position: center;
        background-repeat: no-repeat;
        height: 150px;
        text-align: right;
        margin-bottom: 2.5rem;
    }
    #logo {
        position: absolute;
    }
    #logo img {
        width: 116px;
        height: 108px;
        object-fit: fill;
    }
    #nav-main {
        flex: 2 0 auto;
    }
}

@media(min-width: 1339.99px) {
    #desktop-header {
        max-width: 1140px;
    }
}


/* All CSS specific to Desktop and Tablet */

@media(min-width: 767.99px) {
    .mobile {
        display: none;
    }
    .site-gutter {
        margin-left: 3.05rem;
        margin-right: 3.05rem;
    }
    .site-gutter-right {
        margin-right: 3.05rem;
    }
    .site-gutter-left {
        margin-left: 3.05rem;
    }
    .category-swiper-container {
        font-family: 'Poppins', sans-serif;
        color: #7B7B7B;
        height: 4rem;
    }
    .category-swiper-slide {
        width: auto;
        display: flex;
        align-items: center;
    }
    .category-swiper-slide a:link {
        vertical-align: middle;
        font-family: 'Poppins', sans-serif;
        font-weight: 400;
        color: #7B7B7B;
        font-size: 1.5rem;
        line-height: 2.3rem;
        letter-spacing: 0;
    }
    .category-swiper-slide a:visited {
        color: #7E7E7E;
    }
    .category-swiper-slide a:hover {
        color: #7E7E7E;
        border-bottom: 1px dotted;
    }
    .category-swiper-slide a:active {
        color: var(--theme-primary-color);
        border-bottom: 1px double;
    }
    .category-swiper-slide a:focus {
        text-decoration: none;
        outline: none;
    }
    /* Menu item in slider of currently active page */
    .active-tab-box {
        border-bottom: 0.2rem solid var(--theme-primary-color);
        max-width: 9rem;
    }
    #current-page-tab {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    #current-page-tab:link {
        color: var(--theme-primary-color);
        font-weight: bold;
        font-size: 1.5rem;
        padding: 0.1rem;
    }
    #current-page-tab:visited {
        color: var(--theme-primary-color);
    }
    .active-tab-box:hover {
        color: #0E807C;
    }
    #current-page-tab:focus {
        outline: 1px dotted white;
    }
    .box-shadow:hover {
        box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.12);
    }
    .white-circle:hover {
        transform: scale(1.012, 1.012);
        box-shadow: 0px 6px rgba(0, 0, 0, 0.16);
    }
}

@media(min-width: 1399.99px) {
    header#banner {
        background: url(/assets/img/masthead.jpg);
        width: 100vw;
        background-repeat: no-repeat;
        background-position: center;
        background-color: var(--theme-primary-color);
        max-width: 100%;
    }
}


/* All CSS specific to Mobile */

@media(max-width: 767.98px) {
    .desktop {
        display: none !important;
    }
    .site-gutter {
        margin-right: .75rem;
        margin-left: .75rem;
    }
    .site-gutter-right {
        margin-right: .75rem;
    }
    .site-gutter-left {
        margin-left: .75rem;
    }
    .maincontent {
        padding: 0 !important;
    }
    .home-article,
    .ad_container_1,
    #ad_container_1 {
        margin: 0px 1rem;
    }
    .green-swiper-container {
        border-radius: 0px;
    }
    #mobile-classified {
        margin-bottom: 1.6rem;
    }
    #post-nav {
        margin-right: 1rem;
        margin-left: 1rem;
    }
}

.headerAd {
    position: absolute;
    top: 10px;
    right: 10px;
}

.MenorahLink {
    position: absolute;
    top: 0px;
    left: 700px;
}


/* Navigation Bar */

#mobile-search-bar {
    position: relative;
}

#mobile-search-button,
#mobile-classifieds-search-button {
    background-image: url(/assets/img/search@hdpi.png);
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}


/* The actual form */

.mobile-search-form {
    width: 0px;
    transition: width .25s ease;
    position: absolute;
    right: 40px;
    overflow: hidden;
}

#mobile-searchform {
    height: 7.5rem;
    border-radius: 5px;
}

.mobile-search-input {
    height: 33%;
}

.open {
    width: 60vw;
}

#nav-main>ul>li {
    margin: 0px;
    text-transform: uppercase;
    font-size: 1.6rem;
}

@media (min-width:767.98px) and (max-width: 1199.98px) {
    #nav-main>ul>li:nth-child(even) {
        margin-right: 0px;
        margin-block-end: 0px;
    }
}

@media (min-width: 1199.99px) and (max-width: 1399.98px) {
    #nav-main>ul>li:nth-last-child(2) {
        margin-right: 0px;
        margin-block-end: 0px;
    }
}

#nav-main>ul>li:nth-last-child(1) {
    margin-right: 0px;
    margin-block-end: 0px;
    /* The more sophisticated way of doing it. */
}

#nav-main>ul>li>a {
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 1em 0 0 3rem;
}

#nav-main>ul>li>a:hover,
.mobile-nav-menu>li>a:hover {
    color: rgb(211, 211, 211);
}

#menu-nav-bar {
    padding-bottom: 2.3rem;
}


/* ===================================================
   New Classified Widget - Mendel. G
   =================================================== */


/* HTML found in templates/classified-new.php */

.h-80px {
    max-height: 80px;
}

#desktop-classified {
    margin-bottom: 2rem;
}

.classified-logo {
    object-fit: fill;
}

@media (max-width: 767.98px) {
    .classified-logo {
        width: 49px;
        height: 45px;
        background-position: 1.5em 1.5em;
    }
}

@media (min-width: 767.99px) {
    .classified-logo {
        width: 52px;
        height: 48px;
        background-position: 1.6em 1.6em;
    }
}


/* Breakpoints for padding
 * 1. 400 - 3.5rem
 * 2. 500 - 4.5rem
 * 3. 600 - 5.5rem */

@media(min-width: 399.99px) and (max-width: 499.98px) {
    #menu-classified-new>li>a {
        padding: 3.5rem;
    }
    #classified {
        font-size: .9rem;
    }
}

@media(min-width: 499.99px) and (max-width: 598.99px) {
    #menu-classified-new>li>a {
        padding: 4.5rem;
    }
    #classified {
        font-size: 1rem;
    }
}

@media(min-width: 599.99px) and (max-width: 767.98px) {
    #menu-classified-new>li>a {
        padding: 5.5rem;
    }
}


/* Media rule to change font-size for Classified Widget */

@media(min-width: 381px) and (max-width: 399.98px) {
    #classified {
        font-size: .8rem;
    }
    #menu-classified-new>li>a {
        padding: 1.5rem;
    }
}

@media(min-width: 381px) and (max-width: 767.98px) {
    #menu-classified-new {
        gap: 1.5rem;
    }
}

@media(min-width: 767.99px) {
    #classified {
        font-size: .6rem;
    }
    #classified h3 {
        padding-left: .7rem;
    }
    #menu-classified-new>li>a {
        padding: 1rem;
    }
}

@media(min-width: 848.99px) and (max-width: 999.98px),
(max-width: 380px) {
    #classified {
        font-size: .75rem;
    }
    #menu-classified-new>li>a {
        padding: 1.25rem;
    }
}

@media(min-width: 999.99px) {
    #classified {
        font-size: .9rem;
    }
    #menu-classified-new>li>a {
        padding: 1.5rem;
    }
    #plus-icon {
        display: block;
    }
}

@media(min-width: 1199.99px) {
    #classified {
        font-size: 1rem;
    }
    #menu-classified-new>li>a {
        padding: 2rem;
    }
}


/* Breakpoints:
 * 1. < 380 - SHOW PLUS SIGN
 * 2. 380 > && < 768 - DON'T SHOW PLUS SIGN
 * 3. 768 > && < 892 - SHOW PLUS SIGN
 * 4. 892 > && < 1000 - DON'T SHOW PLUS SIGN
 * 5. 1000 > && < 1200 - SHOW PLUS SIGN 
 * 6. 1200 > - DONT' SHOW PLUS SIGN  */


/* If the screen is wide enough to handle 'post-new', then display. Otherwise.. */

@media (min-width: 380px) and (max-width: 767.98px),
(min-width: 891.99px) and (max-width: 999.98px),
(min-width: 1199.98px) {
    #plus-icon {
        display: none !important;
    }
    .disappear-at-850 {
        padding-right: 3rem;
    }
}


/* hide 'post-new' and display icon */

@media (max-width: 380px),
(min-width: 767.99px) and (max-width: 891.98px),
(min-width: 999.99px) and (max-width: 1199.98px) {
    .disappear-at-850 {
        display: none !important;
    }
    #plus-icon span {
        width: 2.4rem;
        height: 2.4rem;
    }
    #plus-icon {
        padding-right: 3rem;
    }
}

#desktop-classified,
#mobile-classified {
    background-color: var(--theme-secondary-color);
}

#desktop-classified {
    border-radius: 5px;
}

#plus-icon img {
    width: 2.4rem;
}

#classified h3 {
    font-weight: 300;
    color: white;
    font-size: 2.8em;
}

#classified h4 {
    font-weight: 600;
    font-size: 1.6em;
    line-height: 2.5em;
}

#post-new {
    font-weight: 600;
    font-size: 1.4em;
}

a#post-new {
    color: var(--theme-primary-color);
}

#post-new:hover {
    color: #fff;
}

#menu-classified-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .3rem;
}

#menu-classified-new>li {
    background-color: white;
    font-weight: 600;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.12);
    border-radius: 5px;
    padding: 0px;
}

#menu-classified-new>li>a {
    color: #4B4B4D;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
}

#menu-classified-new>li>h4 {
    font-weight: 600;
    font-size: 1.6em;
    line-height: 2.5em;
    color: #4B4B4D;
}

#menu-classified-new>li>h5 {
    font-weight: 400;
    font-size: 1.4em;
    line-height: 2.1em;
    color: #4B4B4D;
}

#view-all {
    font-weight: 400;
    font-size: 1.5em;
    color: var(--theme-primary-color);
    border: 1px solid;
    border-radius: 5px;
    padding: 1em 4em;
    width: auto;
}

#view-all:hover {
    background-color: var(--theme-primary-color);
    color: #4B4B4D;
}

#view-all:active {
    background-color: #04D199;
}


/*=================================================
  Submit a Story Widget
  ===============================================*/

#submit-a-story {
    background-color: var(--theme-primary-color);
    font-family: Poppins, sans-serif;
    color: white;
    font-size: 1rem;
    line-height: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.12);
}

.submit-title {
    padding-top: .8em;
    font-weight: 300;
    font-size: 2.8em;
    flex: 1 0 auto;
    align-self: center;
    display: flex;
    align-items: center;
}

.submit-options {
    flex: 1 0 auto;
    justify-content: space-around;
}

.submit-options a {
    margin: 2em 0;
    color: white;
    font-weight: 600;
    align-items: flex-start;
    justify-content: start;
    align-items: center;
    max-width: 5.5em;
}

.submit-options a img {
    max-height: 4.8em;
    flex: 1 0 auto;
}

.submit-option-text {
    padding-top: 0.8rem;
    text-align: center;
    font-size: 1.2em;
    line-height: 1.8rem;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    text-transform: uppercase;
}

.submit-option-text:hover {
    color: rgb(211, 211, 211);
}


/*-------------------------------------------------
  Content wrappers
-------------------------------------------------*/

.mainwrapper {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-right: 0px;
    padding-left: 0px;
    max-width: 1140px;
}

#wrapper {
    text-align: left;
    border: none;
    margin-left: auto;
    margin-right: auto;
}


/*-------------------------------------------------
  Main content
-------------------------------------------------*/

#container {
    height: 1%;
    overflow: visible;
    float: left;
    margin-left: 5px;
    padding: 2px 2px 0 2px;
    background: #FFFFFF;
    border-left: 1px #ccc solid;
    border-right: 1px #ccc solid;
}

.content {
    padding: 0;
    margin: 4px 4px 10px 4px;
}


/*-------------------------------------------------
  Menu
-------------------------------------------------*/

#sidebarcontainerleft {
    float: left;
    padding: 10px 10px 0 10px;
}

@media(max-width: 767.98px) {
    #main-column {
        padding-left: 0px;
    }
}

@media(min-width: 767.99px) and (max-width: 991.98px) {
    #sidebarcontainerright {
        padding-right: 7.5px;
    }
    #main-column {
        padding-left: 7.5px;
    }
    .featured-classifieds-swiper-container .green-link {
        display: none;
    }
}

@media(min-width: 991.99px) {
    #sidebarcontainerright {
        padding-right: 0px;
    }
    #main-column {
        padding-left: 0px;
    }
}

.sidebarright {
    color: #21262A;
    margin: 0 0 0 0;
}

.sidebarleft {
    color: #21262A;
    margin: 0 0 0 0;
}


/* Menu lists */

.widget {
    padding: 0 0 10px 0;
    margin: 0;
    overflow: hidden;
}

.widget-inner {
    height: 100%;
}

.widget h3 {
    color: black;
    font-size: 12px;
    font-weight: light;
    font-family: 'Poppins', sans-serif;
    padding: 4px 4px;
    line-height: 15.6px;
}

#sidebarcontainerleft>.widget_categories li {
    margin-left: 0
}

.alink {
    background: url(/assets/img/arrow.gif) left center no-repeat;
    padding: 0 0 0 9px;
}


/*-------------------------------------------------
  Footer
-------------------------------------------------*/


/* More styles declared elsewhere in file */

#footer-login {
    border: 2px solid;
    background-color: transparent;
    margin-left: 3.5rem;
}

#footer-login:hover {
    color: var(--theme-primary-color);
}

#footer-login:focus {
    box-shadow: 0px 2px 2px var(--theme-primary-transparent);
}

li.current-site {
    padding-left: 0px;
    width: 20%;
}

li.current-site img {
    max-height: 112px;
}

li.sibling-site {
    width: 15%;
    padding-left: 2rem;
}


/*-------------------------------------------------
  Item styles
-------------------------------------------------*/


/* Mobile Rules for articles */

@media(max-width: 767.98px) {
    .single-post-page-article.box-shadow.rounded-edges {
        background: none;
        box-shadow: none;
    }
    .hentry p {
        font-size: 1.6rem;
        line-height: 2.3rem;
    }
    .single-article-content {
        padding: 0px 1.5rem;
    }
    .entry-content.mobile-single-article p {
        padding: 1.5rem 0px;
    }
    .entry-content.mobile-single-article h2 {
        padding: 0px 0px;
        font-weight: 600;
        font-size: 2.6rem;
        line-height: 3.4rem;
        color: #212121;
    }
    .article-excerpt {
        padding-left: 1.5rem;
    }
    .small {
        line-height: 2.1rem;
    }
    .featured>.small {
        padding: 0px 1.5rem;
    }
}


/* Desktop Rules for articles */

@media(min-width: 767.99px) {
    .hentry h2 {
        margin-bottom: .5rem;
    }
    .hentry p {
        font-size: 1.8rem;
        line-height: 2.7rem;
        margin-bottom: 1.5rem;
    }
    .single-article-content {
        padding: 0px 59.2667px;
    }
    .entry-content.mobile-single-article p {
        padding: 0.5rem 0px;
    }
    .entry-content.mobile-single-article h2 {
        padding: 1rem 0px 0px;
        margin-bottom: .5rem;
        font-weight: 600;
        font-size: 3.2rem;
        line-height: 4rem;
        color: #212121;
    }
    .regular-post-excerpt-text {
        padding-right: 5rem;
    }
    .small {
        line-height: 3.6rem;
    }
    .featured>.small {
        padding: 0px 3.8rem;
    }
}

.single-post-page-article a[href$=".jpg"] {
    width: 100%;
    display: inline-flex;
    justify-content: center;
}

.regular-post-excerpt-text {
    flex: 2 0 auto;
}

.hentry {
    background-color: white;
    color: #4B4B4D;
    margin-bottom: 2rem;
}

.hentry a {
    text-decoration: none;
    outline: none;
}

.hentry a:link,
.hentry a:active {
    color: #212121;
}

.hentry a:visited {
    font-style: none;
    text-decoration: none;
}

.hentry a:hover {
    text-decoration: none;
}

.hentry div>h2>a:link:hover,
h2.entry-title:hover {
    color: var(--theme-secondary-color);
}

.hentry div>h2>a:link,
h2.entry-title {
    color: var(--theme-primary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 2.2rem;
    line-height: 3rem;
}

.hentry p {
    font-family: 'PT Serif', serif;
}

.hentry intro {
    font-size: 14px;
}

#time-link {
    color: #7B7B7B;
}

.moremzt {
    margin: 10px 0;
}


/* Caption Styles */

.home-article .featured>.small {
    display: none;
}

.featured>.small {
    display: flex;
    justify-content: center;
    line-height: normal;
    margin-bottom: .5rem;
}


/* In the odd case where there's a lot crammed in a title or html block with class 'featured' in a single article page  */

.single-post-page-article>.featured>.small {
    display: block;
}

.single-post-page-article a:link {
    font-weight: bolder;
    color: var(--theme-primary-color);
}


/*-------------------------------------------------
  Mazal Tov styles  #411C53
-------------------------------------------------*/


/* Mobile Style for Mazal Tov Card */

@media(max-width: 767.98px) {
    .mazal-tov-excerpt-icon img {
        float: right;
        max-height: 5.2rem;
        margin-left: 5rem;
    }
    .mazal-tov-excerpt-text>p {
        font-size: 1.6rem;
        line-height: 2.8rem;
    }
    .mazal-tov-excerpt-text h2 {
        padding-bottom: 5px;
        font-size: 2rem;
        line-height: 3rem;
    }
    .mazal-tov-excerpt-text strong {
        font-size: 2rem;
    }
    .mazal-tov-excerpt-text em {
        font-size: 1.5rem;
    }
}


/* Desktop Style for Mazal Tov Card */

@media(min-width: 767.99px) {
    .mazal-tov-excerpt {
        display: flex;
        flex-flow: column;
    }
    .mazal-tov-excerpt-top {
        flex: 2 0 auto;
        display: flex;
        flex-flow: row wrap;
    }
    .mazal-tov-excerpt-text {
        flex: 2 0 auto;
        display: flex;
        justify-content: start;
        flex-flow: column;
        max-width: 80%;
    }
    .mazal-tov-excerpt-text>p {
        font-size: 1.5rem;
        line-height: 3.6rem;
    }
    .mazal-tov-excerpt-text h2 {
        padding-bottom: 5px;
        font-size: 2.2rem;
        line-height: 3rem;
    }
    .mazal-tov-excerpt-text strong {
        font-size: 2.5rem;
    }
    .mazal-tov-excerpt-text em {
        font-size: 1.5rem;
    }
    .mazal-tov-excerpt-icon {
        flex: 1 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        order: 2;
    }
    .mazal-tov-excerpt-icon img {
        max-width: 8.5rem;
    }
}

.mazal-tov-excerpt-text>p {
    font-family: Poppins, sans-serif;
}

.mazal-tov-excerpt-text time {
    font-size: 1.4rem;
}

.mazal-tov-excerpt-text a:link,
.mazal-tov-excerpt-text a:active {
    color: #212121;
}

.mazal-tov-excerpt-text a:visited {
    text-decoration: none;
    font-style: none;
}

.mazal-tov-excerpt-text time {
    color: #7B7B7B;
}

.mazal-tov-excerpt-text h2 {
    font-weight: 600;
}

.mazal-tov-excerpt-text strong {
    color: var(--theme-primary-color);
    font-weight: 600;
}

.mazal-tov-excerpt-text i {
    font-style: italic;
}

.mazal-tov-excerpt-text em {
    font-weight: normal;
    font-style: normal;
}

.mazel-tov-excerpt-bottom {
    display: flex;
    justify-content: space-between;
}

.mtbody {
    position: relative;
    padding: 0 130px 0 0;
    margin-bottom: 0;
    margin-top: 0;
    color: #411C53;
}

.mtbody a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
}

.mttext {
    color: #411C53;
    font-size: 12px;
    padding: 0 0 0 10px;
}

.mtcmnt {
    background: url(/assets/img/comment.jpg) center left no-repeat;
    padding: 0 10px 0 16px;
    font-size: 14px;
}

.mtcmnt:hover {
    color: #780000;
    text-decoration: underline;
}

.mtspnsr {
    float: right;
    color: #C70000;
    font-size: 14px;
    font-weight: bold;
}

.mtspnsrimg {
    position: absolute;
    bottom: -15px;
    right: -10px;
}


/*-------------------------------------------------
  Mazal Tov Side Bar Styles
-------------------------------------------------*/

.mtsb {
    padding: 0 0 10px 0;
}

.mtsb h1 {
    background: #003366;
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    font-family: "Georgia", "Lucida Grande", "Lucida Sans Unicode", Arial, "Trebuchet MS", sans-serif;
    padding: 4px 4px;
    margin-bottom: 5px;
}

.mtsb h3 {
    font-size: 14px;
    color: #003366;
}

.mtsb h3:hover {
    text-decoration: underline;
}

.mtsbitem {
    background: #fff url(/assets/img/mazaltovs/baloonback.jpg) bottom right no-repeat;
    border: 1px #ccc solid;
    padding: 5px;
    margin-bottom: 5px;
    color: #666;
    font-size: 10px;
}

.mtsbitem:hover {
    background: #fff url(/assets/img/mazaltovs/baloonback.jpg) bottom left no-repeat;
    border: 1px #000 solid;
    padding: 5px;
    margin-bottom: 5px;
    color: #333;
    font-size: 10px;
}

.mtsbitem h2 {
    color: #003366;
    padding-bottom: 2px;
    font-weight: bold;
    font-size: 14px;
}

.mtsbitem h2:hover {
    color: #003366;
    padding-bottom: 2px;
    font-weight: bold;
    font-size: 14px;
    text-decoration: underline
}

.mtsbitem b {
    color: #000;
    font-weight: bold;
    font-size: 12px;
}


/*-------------------------------------------------
  Forms
-------------------------------------------------*/


/* MG: Search form on header for mobile & sidebar for Desktop */

#searchform {
    background-color: white;
    width: 100%;
    height: 100%;
}

#mobile-searchform {
    background-color: white;
}

.search-bar {
    border: 1px solid #E2E2E2;
    border-radius: 5px;
}

.search-logo {
    background-color: transparent;
    border: none;
    background-image: url(/assets/img/search.svg);
    background-repeat: no-repeat;
    background-position: center;
}

#s {
    border: none;
    font-family: Poppins, serif;
    font-size: 1.5rem;
    line-height: 2rem;
    letter-spacing: 0.032rem;
    color: #404040;
}

#mobile-searchform>#s {
    text-align: center;
    width: 100%;
}

#s::placeholder,
#s::-moz-placeholder {
    color: #ACB1C0;
    content: "Search";
}

#s:focus {
    outline: none;
}

.loginform,
.searchform {
    margin: 5px 0;
}

.commentform,
.mailform {
    margin-top: 10px;
    padding: 10px;
    background: #EEEEEE;
}

.commentform img {
    margin: 5px 0 0 0;
}

.formfield {
    font-size: 11px;
    background: white;
    color: #494949;
    border-top: 1px solid #868686;
    border-left: 1px solid #868686;
    border-bottom: 1px solid #D4D2CF;
    border-right: 1px solid #D4D2CF;
    margin: 1px 0 0 0;
}

.formbutton {
    font-size: 11px;
    background: white;
    color: #494949;
    border-top: 1px solid #D4D2CF;
    border-left: 1px solid #D4D2CF;
    border-bottom: 1px solid #868686;
    border-right: 1px solid #868686;
    margin: 1px 0 0 0;
}

.searchform .formfield {
    width: 105px;
    font-family: Arial, Tahoma, Trebuchet MS, Verdana, sans-serif;
    padding: 2px 0;
    margin: 0 0 2px 0;
}

.searchform .formbutton {
    width: 60px;
    font-family: Tahoma, Arial, Trebuchet MS, Verdana, sans-serif;
    padding: 2px 2px;
}

.loginform .formfield {
    width: 130px;
    font-family: Arial, Tahoma, Trebuchet MS, Verdana, sans-serif;
    padding: 2px 0;
    margin: 0 2px 2px 0;
}

.loginform .formbutton {
    width: 60px;
    font-family: Tahoma, Arial, Trebuchet MS, Verdana, sans-serif;
    padding: 2px 2px;
}

.mainform .formfield {
    width: 280px;
    font-family: Arial, Tahoma, Trebuchet MS, Verdana, sans-serif;
    padding: 2px 0;
    margin: 0 2px 2px 0;
}

.mailform .formbutton {
    width: 100px;
    font-family: Tahoma, Arial, Trebuchet MS, Verdana, sans-serif;
    padding: 2px 2px;
}

#nucleus_cf_name,
#nucleus_cf_email {
    width: 250px;
    margin-right: 105px;
    font-family: Arial, Trebuchet MS, Verdana, sans-serif;
}

.commentform textarea,
.commentform .formfield,
.mailform textarea,
.mailform .formfield {
    width: 450px;
}

.commentform .formbutton {
    width: 100px;
    height: 22px;
    font-family: Tahoma, Arial, Trebuchet MS, Verdana, sans-serif;
}

.error {
    color: red;
    font-weight: bold;
}


/*-------------------------------------------------
  Miscelaneous
-------------------------------------------------*/


/* VBlog image onion skin shadow - From AListApart.com*/

img.size-medium,
img.size-full {
    margin: 10px 0
}

.featured {
    position: relative;
}

.featured img {
    height: 100%;
    width: 100%;
    border-radius: 5px 5px 0px 0px;
    margin-bottom: 1rem;
}

.single-article img {
    margin-top: 0px;
    object-fit: contain;
    height: auto;
}

@media (max-width: 767.98px) {
    .featured.mobile-single-article img {
        border-radius: 0px;
    }
    header.single-article-header {
        margin: 1.3rem 0px;
    }
}

@media (min-width: 767.99px) {
    header.single-article-header {
        margin-bottom: 2.4rem;
    }
}

#video-tag {
    position: absolute;
    object-fit: fill;
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    #video-tag {
        top: 1rem;
        left: 1rem;
        width: 3.8rem;
        height: 3.6rem;
    }
}

@media (min-width: 767.99px) {
    #video-tag {
        top: 1.5rem;
        left: 2rem;
        width: 7.9rem;
        height: 7.2rem;
    }
}

.article-excerpt {
    padding: 2rem 3.5rem 3.5rem .75rem;
}

.rounded-edges {
    border-radius: 5px;
}

.box-shadow {
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pro_ad_zone {
    text-align: center;
}


/* my addins . (Mendel Groner later added to this) */

.small {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
}

#post-category,
#post-category a,
#post-category a:link,
a[rel="category tag"] {
    text-transform: uppercase;
    font-weight: 600;
    /* color: var(--theme-primary-color) !important; */
    /* Above line was commented out of concern for users confusing the category link with the article link */
}

#post-category a:focus {
    outline: 1px solid;
}

#posted-to {
    color: #7B7B7B;
    font-size: 1.2rem;
}

#on-date {
    font-size: 1.2rem;
}

@media (max-width: 767.98px) {
    .mobile-single-article-header {
        display: flex;
        justify-content: space-between;
        margin-right: 1.5rem;
        margin-left: 1.5rem;
        line-height: 1.8rem;
    }
}

.from {
    font-size: smaller;
    color: #818181;
    text-align: right;
    font-weight: 600;
    margin-bottom: 3px;
}

.from>a:link {
    color: #818181;
}

.from>a:hover {
    text-decoration: none;
}

.intro {
    font-size: 14px;
    padding: 0 25px;
    margin-top: 5px;
}

.contact {
    font-size: 85%;
}

.num_contact {
    font-size: 90%;
}


/*-------------------------------------------------
  Ads In BTW Articles
-------------------------------------------------*/

.tads1 {
    width: 465px;
    margin-left: 34px;
    margin-top: 13px;
    margin-bottom: 13px;
    border: 2px solid Black;
    background-color: #EAEAEA;
    color: #333;
    padding-bottom: 4px;
}

.tads1title {
    margin: 2px 10px;
    font-size: 12px;
}

.tads1content {
    padding: 5px;
    font-family: Tahoma;
    line-height: 15px;
    font-size: 14px;
}

.tads1 a:hover {
    color: #0002C1;
}

.leaderboard {
    text-align: center;
    border-top: 5px solid #E5E5E5;
    border-bottom: 5px solid #E5E5E5;
}


/*-------------------------------------------------
  Permanent Ad Space btw 1st and 2nd Article
-------------------------------------------------*/

.partiimage img {
    max-width: 235px;
    max-height: 235px;
}

.banner_link>img {
    border-radius: 5px;
}


/* Mobile */

@media(max-width: 767.98px) {
    .parti {
        margin-bottom: 2rem;
        margin-right: 1rem;
        margin-left: 1rem;
        background-color: var(--theme-primary-transparent);
        padding: 2.5rem 1.7rem 2.5rem 0px;
    }
    .partititle {
        font-size: 1.8rem;
    }
    .partiimage {
        float: right;
        width: 21.17%;
        margin-left: 1rem;
        min-width: 75.14px;
    }
}


/* Tablet, Laptop, & Dekstop */

@media (min-width: 767.99px) {
    .parti {
        background-color: var(--theme-primary-transparent);
        margin-bottom: 2rem;
        padding: 3rem 2.5rem 3rem 0px;
    }
    .partititle {
        font-size: 2.3rem;
    }
    .particontainer {
        display: block;
    }
    .particontainer::after {
        clear: both;
        display: block;
        content: "";
    }
    .partiimage {
        float: right;
        margin-left: 5px;
        margin-bottom: 5px;
    }
}


/* Universal */

.parti {
    border-radius: 5px;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.12);
}

.partiimage img,
.partiimage-mobile img {
    width: 100%;
    height: 100%;
    border-radius: 2px;
    object-fit: contain;
}

.partihead {
    font-family: 'Roboto', sans-serif;
    color: #7B7B7B;
    margin: 2.5px 5px;
    font-size: 1.2rem;
}

.partititle {
    padding: 5px;
    font-family: "Helvetica Bold", sans-serif;
    line-height: 2.4rem;
    color: #212121;
}

.particontent {
    padding: 5px;
    font-family: Helvetica, sans-serif;
    line-height: 2rem;
    font-size: 1.4rem;
    color: #4B4B4D;
}

.particontent strong {
    font-family: "Helvetica Bold", sans-serif;
    font-weight: bold;
}

.parti a:link,
.prempo a:visited,
.prempo a:active {
    color: var(--theme-secondary-color);
    font-family: "Helvetica Bold", sans-serif;
    text-decoration: underline;
}

.parti a:hover {
    color: var(--theme-primary-color);
}


/* ==========================================================================
   Other Ads - Mendel Groner
   ========================================================================== */


/* adzone 29: half sidebar ads */

.mobile-half-ads {
    margin-right: 1rem;
    margin-left: 1rem;
    margin-bottom: 1.7rem;
}

.ad_container_29,
#ad_container_29 {
    width: 100%;
}


/* Mobile Rules for Ads */

@media(max-width: 767.98px) {
    .ad_container_1,
    #ad_container_1 {
        height: 8rem;
        margin-bottom: 1.5rem;
    }
    .ad_container_1,
    #ad_container_1 img {
        height: 80px;
    }
}


/* Desktop Rules for Ads */

@media(min-width: 767.99px) {
    .ad_container_1,
    #ad_container_1 {
        height: 10.6rem;
        margin-bottom: 2.2rem;
    }
    .ad_container_1,
    #ad_container_1 img {
        height: 106px;
    }
}


/* ==========================================================================
   Mazal Tov Slider - Mendel Groner
   ========================================================================== */


/* The styles have been moved to 'Green Slider'. Those styles are re-usable, 
    * most specifically for the 'Featured Events' slider. Any necessary unique
    * stylings will be declared here. */


/* ==========================================================================
   Featured Events - Mendel Groner
   ========================================================================== */


/* Most styles are coming from 'Green Slider'. They were originally required
    * for the 'Mazal Tov' Slider. Any necessary unique styles will be declared
    * there. More specifically, that will mean the slider-title and 
    * slider-content. */


/* ==========================================================================
   Featured Classifieds Slider
   ========================================================================== */

.featured-classifieds-swiper-container {
    background-color: var(--theme-secondary-color);
    border-radius: 0px;
}

.featured-classifieds-swiper-container .swiper-slide {
    width: 30.2rem;
    padding: 0;
    display: flex;
    flex-flow: column wrap;
}

.featured-classifieds-swiper-container .green-swiper-slide>a {
    display: unset;
    flex: 4;
    border-bottom: 1px solid #E0E0E0;
}

.featured-classifieds-slide--main-content {
    flex-grow: 2;
    padding: 1rem 1.1rem .5rem 1.8rem;
    height: 100%;
}

.featured-classifieds-swiper-container .green-slide-header {
    flex: 0;
}

.featured-classifieds-swiper-container .green-slide-title {
    padding-right: .75rem;
}

.featured-classifieds-swiper-container .green-slide-icon {
    max-width: 3rem;
}

.featured-classifieds-swiper-container .green-slide-content {
    padding: 0px;
    font-size: 1.1rem;
    max-height: 118px;
    line-height: 1.5rem;
}

.green-slide-content p.price,
.green-slide-content p.contact {
    font-size: 1.2rem;
    line-height: 1.4rem;
    background-size: 1.8rem;
    padding-left: 2.5rem;
}

.featured-classifieds-swiper-container .green-slide-content p {
    margin-bottom: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.featured-classifieds-swiper-container .green-slide-content p:not(.price,
.contact) {
    padding-bottom: 1rem;
}

.featured-classifieds-swiper-container .green-slide-footer {
    flex: 0;
    padding: .5rem 1.6rem .5rem 1.8rem;
}

.featured-classifieds-swiper-container time.green-time {
    color: #7B7B7B;
}

.featured-classifieds-slide-ancestry>a {
    display: unset;
    border-bottom: none;
    color: var(--theme-primary-color);
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.8rem;
}


/* ==========================================================================
   Recent Posts / Comments Widget - Mendel Groner
   ========================================================================== */

.pop-layout-v {
    background-color: white;
    font-size: 1rem;
    border-radius: 5px;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.12);
}

ul.pop-widget-tabs {
    display: flex;
    flex-flow: row wrap;
}

ul.pop-widget-tabs li {
    border: none;
    float: none;
    flex: 1 0 auto;
}

ul.pop-widget-tabs li a {
    color: var(--theme-secondary-color);
    font-family: Poppins, sans-serif;
    font-weight: 400;
    border-top: none;
    border-right: none;
    border-bottom: none;
    border-left: none;
    float: none;
    font-size: 1.5rem;
    line-height: 2.3rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: normal;
    padding-top: 2.025rem;
    padding-bottom: 0.725rem;
    border-bottom: 1px solid #E0E0E0;
}

ul.pop-widget-tabs li a.active {
    color: var(--theme-primary-color);
    font-weight: 600;
    border-bottom: 2px solid;
    background-color: #fff;
    padding-bottom: 0.625rem;
}

div.pop-inside {
    margin: 0;
    padding: 0;
    border: none;
}

div.pop-inside ul li {
    border-bottom: 1px solid #E0E0E0;
    padding: 2rem;
}

div.pop-inside ul li a {
    font-family: Poppins, sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 2.1rem;
    color: #212121;
}

div.pop-inside ul li .pop-title {
    font-weight: 400;
}

section#popular-widget-4,
.widget.popular-widget {
    margin-bottom: 4rem;
}


/* ==========================================================================
   Overrides
   ========================================================================== */

.oneColFixCtrHdr {
    width: 820px;
    /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
    background: #FFFFFF;
    margin: 0 auto;
    /* the auto margins (in conjunction with a width) center the page */
    border: 1px solid #000000;
    text-align: left;
    /* this overrides the text-align: center on the body element. */
}

.oneColFixCtrHdr #header {
    background: #DDDDDD;
    padding: 0 10px 0 20px;
    /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
}

.oneColFixCtrHdr #header h1 {
    margin: 0;
    /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
    padding: 10px 0;
    /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}

.oneColFixCtrHdr #mainContent {
    padding: 0;
    /* remember that padding is the space inside the div box and margin is the space outside the div box */
    background: #DDDDDD;
}

.oneColFixCtrHdr p {
    margin: 0;
}

.oneColFixCtrHdr #footer {
    padding: 0 10px;
    /* this padding matches the left alignment of the elements in the divs that appear above it. */
    background: #DDDDDD;
}

.oneColFixCtrHdr #footer p {
    margin: 0;
    /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
    padding: 10px 0;
    /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
    font-size: 9px;
}


/* =============================================================================
   Header
   ========================================================================== */


/* Fixed Topbar Navigation */

body.top-nav-main {
    padding-top: 60px;
}

body.admin-bar .nav-main-fixed-top {
    top: 28px;
}


/* ==========================================================================
   Content
   ========================================================================== */

.postsNav {
    margin: 10px 5px;
}

.postsNav a {
    color: #00063f;
}

.prevPost {
    width: 48%;
    float: left;
    text-align: left;
}

.nextPost {
    width: 48%;
    float: right;
    text-align: right;
}

#comments,
#respond {
    margin: 10px 0px;
}


/* ==========================================================================
   Pagination Links - MG
   ========================================================================== */

#post-nav {
    padding-top: 4.8rem;
    padding-bottom: 11rem;
    display: flex;
    justify-content: space-between;
}

.previous a,
.next a {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--theme-secondary-color);
}

.previous>a>img {
    margin-right: 1.7rem;
}

.next>a>img {
    margin-left: 1.7rem;
}


/* ==========================================================================
   New Footer - Mendel G.
   ========================================================================== */


/* For really small phones (iPhone 5) */

@media(max-width: 374.98px) {
    #follow-us {
        display: none;
    }
    #site-footer-top {
        height: 475px;
    }
    #insta-feed {
        max-height: 350px
    }
}


/* Most Mobiles */

@media (min-width:374.99px) and (max-width: 767.98px) {
    #site-footer-top {
        height: 550px;
    }
    #insta-feed {
        max-height: 400px;
    }
}


/* Across the board for Mobile */

@media(max-width: 767.98px) {
    #follow-us {
        margin-right: .75rem;
    }
    #chinfo-official {
        margin-left: .25rem;
    }
}


/* Desktop */

@media (min-width: 767.99px) {
    #site-footer-top {
        height: 412px;
    }
    #insta-feed {
        max-height: 250px;
    }
    #follow-us {
        margin-right: .85rem;
    }
    #chinfo-official {
        margin-left: .85rem;
    }
}

#site-footer-top {
    background-color: var(--theme-primary-color);
    width: 100%;
}

.site-footer-bottom {
    background-color: var(--theme-secondary-color);
    /* min-height: 186px; */
    width: 100%;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.site-footer-content {
    max-width: 1140px;
    color: white;
}

.site-footer-content div {
    margin-bottom: .5rem;
}

.site-footer-bottom .spotlight {
    float: right;
    text-decoration: none;
    text-indent: -999em;
    text-align: left;
    background: url(../img/bg_logo_spot.png);
    width: 60px;
    height: 15px;
    margin: 5px 0 0 5px;
    -webkit-transition: background .1s ease-in-out;
    -moz-transition: background .1s ease-in-out;
    transition: background .1s ease-in-out;
}

.site-footer-bottom .spotlight:hover {
    background-position: bottom;
}

header#insta-feed-header {
    padding: 4rem 0px;
    font-family: Poppins;
    color: white;
    line-height: 3.5rem;
}

#insta-feed-header img {
    max-width: 3.1rem;
    max-height: 3.5rem;
}

#chinfo-official {
    font-weight: 300;
    font-size: 2.8rem;
    text-transform: lowercase;
}

#chinfo-official span {
    margin-left: .8rem;
}

#follow-us {
    font-weight: 600;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

#follow-us:hover {
    color: rgb(211, 211, 211);
}


/* ==========================================================================
   WordPress Generated Classes
   See: http://codex.wordpress.org/CSS#WordPress_Generated_Classes
   ========================================================================== */

.aligncenter {
    display: block;
    margin: 0 auto;
}

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

figure.alignnone {
    margin-left: 0;
    margin-right: 0;
}


/* ==========================================================================
   Ads
   ========================================================================== */


/* Main Banner Ad */

@media(max-width: 767.98px) {
    #ad_container_40 {
        margin-bottom: 0px;
    }
    div[role="main"] article:first-of-type:not(.single-post-page-article) {
        margin-top: 2rem;
    }
}

@media(min-width: 767.99px) {
    #ad_container_40 {
        margin-bottom: 2rem;
    }
}


/* Mobile Square Ads */

.ad_container_28 img,
#ad_container_28 img,
.ad_container_31 img,
#ad_container_31 img {
    max-height: 365px;
}

@media(max-width: 767.98px) {
    .ad_container_28 img,
    #ad_container_28 img,
    .ad_container_31 img,
    #ad_container_31 img {
        max-height: 366px;
    }
}


/* Half Sidebar Ads */

.ad_container_29 img,
#ad_container_29 img,
.ad_container_34 img,
#ad_container_34 img {
    max-height: 245px;
    margin-bottom: 2.5rem;
}


/* Header Banner */

.ad_container_30,
#ad_container_30 {
    margin-bottom: 1.5rem;
}


/* Content Feed Ad */

.ad_container_35,
#ad_container_35 {
    margin-bottom: 2rem;
}


/* Square Sidebar Ad, */

.ad_container_28,
#ad_container_28 {
    margin-bottom: 2.5rem;
}


/* Content Feed Ads */

.ad_container_35 img,
#ad_container_35 img,
.ad_container_36 img,
#ad_container_36 img,
.ad_container_37 img,
#ad_container_37 img,
.ad_container_38 img,
#ad_container_38 img,
.ad_container_39 img,
#ad_container_39 img {
    max-height: 125px;
}

@media(max-width: 767.98px) {
    .ad_container_28,
    #ad_container_28,
    .ad_container_35,
    #ad_container_35,
    .ad_container_36,
    #ad_container_36,
    .ad_container_37,
    #ad_container_37,
    .ad_container_38,
    #ad_container_38,
    .ad_container_39,
    #ad_container_39 {
        margin: 0px 1rem 2rem;
    }
}

.ad_container_30 .banner_link>img,
#ad_container_30 .banner_link>img {
    border-radius: 0px;
    max-height: 200px;
}

@media(min-width: 991.99px) {
    .ad_container_30,
    #ad_container_30 {
        margin-bottom: 2.5rem;
    }
    #ad_container_30 .banner_link>img,
    #ad_container_30 .banner_link>img {
        border-radius: 5px;
    }
}

body.post-template-default.single.single-post figure.thumbnail.wp-caption {
    margin-right: 0;
    margin-left: 0
}


/* =======================================================
   Sharing Buttons - MG
   ======================================================= */

ul.social-sharing {
    width: 100%;
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
}

ul.social-sharing>li {
    padding: 1px 7px;
    width: 20%;
}

ul.social-sharing>li img {
    object-fit: fill;
}


/* Mobile */

@media(max-width: 767.98px) {
    ul.social-sharing {
        padding: 4rem 20% 2.5rem;
    }
}

@media(min-width: 767.99px) {
    ul.social-sharing {
        padding: 4.3rem 30% 3.1rem;
    }
}


/* ========================================================
   Related Posts - Mendel Groner
   ======================================================== */

.crp_related h3,
.related-posts-swiper-container>header>h3 {
    font-family: Poppins, sans-serif;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 300;
    font-size: 2.8rem;
    line-height: 2.8rem;
    color: #4B4B4D;
    margin-top: 4rem;
}

.related-posts-swiper-wrapper {
    padding: 1rem 0px;
}

.crp_related>ul {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

.crp_related>ul>li,
.related-posts-swiper-slide>li {
    padding: 0px;
    margin: 0px;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.12);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: white;
    display: flex;
    flex-flow: column nowrap;
}

.crp_related>ul>li>a,
.related-posts-swiper-slide>li>a {
    display: flex;
    flex-flow: column wrap;
    max-width: 217px;
}

.crp_link figure {
    height: 125px;
    margin-bottom: 0px;
}

.crp_thumb {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    order: 1;
    width: 217px;
    height: 125px;
}

.crp_title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 2rem;
    color: #212121;
    padding: 1.5rem;
    order: 2;
}

.crp_title {
    scrollbar-width: none;
    /*Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
}

.crp_title::-webkit-scrollbar {
    /* Webkit */
    width: 0;
    height: 0;
}

.crp_footer {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.crp_cat {
    text-transform: uppercase;
    font-weight: 600;
    color: var(--theme-primary-color);
    font-family: Poppins, sans-serif;
    font-size: 1.2rem;
    line-height: 1.8rem;
}

.crp_date {
    color: #7B7B7B;
    font-family: Poppins, sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.8rem;
    padding-bottom: 2rem;
    display: inline-block;
}


/* Mobile Rules for Related Posts */

@media(max-width: 767.98px) {
    .related-posts-swiper-container>header>h3 {
        margin-bottom: 2rem;
    }
    .related-posts-swiper-container {
        margin: 0px 1.5rem 3.7rem;
    }
    .related-posts-swiper-slide {
        max-width: 217px;
        height: auto;
        display: flex;
        flex-flow: column nowrap;
    }
    .crp_cat,
    .crp_date {
        font-size: 1rem;
    }
    .crp_title {
        padding-left: 1rem;
    }
    .crp_footer {
        padding: 0px 10px;
    }
    .crp_related>ul>li,
    .related-posts-swiper-slide>li {
        height: 100%;
    }
}


/* Desktop */

@media(min-width: 767.99px) {
    .crp_related {
        margin-bottom: 4.5rem;
    }
    .crp_related>ul>li:hover {
        box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.12);
    }
    .crp_related>ul>li:nth-child(2) {
        margin: 0px 5px;
    }
    .crp_title:hover {
        color: var(--theme-primary-color);
    }
    .crp_footer {
        padding: 0px 15px;
    }
}

@media(min-width: 767.99px) and (max-width: 949.98px) {
    .crp_title {
        font-size: 1.2rem;
    }
    .crp_cat,
    .crp_date {
        font-size: 1rem
    }
}

@media(min-width: 949.99px) and (max-width: 1199.98px) {
    .crp_title {
        font-size: 1.4rem;
    }
    .crp_cat,
    .crp_date {
        font-size: 1.1rem;
    }
}


/* =================================================
   Comments - New
   ================================================ */


/* Overall comment section */

#comments {
    background: none;
    font-family: Poppins, sans-serif;
    margin-bottom: 1.6rem;
}

#comments>h3 {
    text-align: center;
    padding-bottom: 2.5rem;
    color: var(--theme-primary-color);
    font-weight: 300;
    font-size: 2.8rem;
    line-height: 2.8rem;
}


/* The actual comment box */

ul.commentlist>li.comment {
    border: 1px solid #E0E0E0;
    background-color: white;
    border-radius: 5px;
}


/* Reply Comment */

ul.children {
    margin-top: 2rem;
    border-top: 1px solid #E7E7E7;
}


/* Any reply commment AFTER the first */

ul.children>li+li {
    border-top: 1px solid #E7E7E7;
}

ul.children>li.comment {
    margin-bottom: 0px;
    padding-bottom: 1.5rem;
    padding-top: 1.5rem;
}


/* Comment Author
 * If user is admin, 'edit' link will display at far end */

header.comment-author {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}


/* Actual author name */

cite.fn {
    font-style: normal;
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 2.3rem;
    color: #333;
    text-align: left;
    margin-bottom: 1rem;
}

a.comment-edit-link {
    color: #7B7B7B;
    font-weight: 300;
    font-size: 1.2rem;
}

a.comment-edit-link:hover {
    color: #7B7B7D;
}


/* Actual Comment Content */

section.comment>p {
    font-family: 'PT Serif', serif;
    font-size: 1.5rem;
    line-height: 2.3rem;
    color: #4B4B4D;
    padding-top: .2rem;
}


/* Comment footer */

.comment-footer {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

.comment-footer>time.small {
    color: #7B7B7B;
    font-size: 1.2rem;
    line-height: 1.8rem;
}

.comment-footer>.comment-reply-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.2rem;
    color: var(--theme-primary-color);
}

img.reply-link {
    height: 1.2rem;
    /* Same as .comment-reply-link font-size */
}

.comment-reply-link>span.desktop {
    margin-left: .5rem;
}


/* Mobile */

@media(max-width: 767.98px) {
    li.comment {
        margin-bottom: 1.5rem;
        padding: 2rem;
    }
}


/* Desktop */

@media(min-width: 767.99px) {
    #comments {
        background-color: white;
        border-radius: 5px;
        box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.12);
        transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
        padding-bottom: 8rem;
        margin-bottom: 2.5rem;
    }
    #comments:hover {
        box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.16);
    }
    #comments>h3 {
        padding-top: 3rem;
        padding-bottom: 3.8rem;
    }
    li.comment {
        margin: 0px 4.5rem 2rem;
        padding: 2.5rem;
    }
    .comment-footer>.comment-reply-link:focus {
        border: 1px solid;
        box-shadow: 0 0 0 .25rem var(--theme-primary-transparent-dark);
    }
}


/* ==========================================
   Submit a Comment Form - Mendel Groner
   ========================================= */

#respond {
    background-color: white;
    font-family: Poppins, sans-serif;
    padding: 2rem;
    color: #4B4B4D;
    margin-bottom: 2rem;
}

section#respond>h3 {
    font-family: Poppins, sans-serif;
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 4rem;
    border-bottom: 1px solid #D1D9E1;
    text-align: left;
    color: var(--theme-primary-color);
    display: flex;
    justify-content: space-between;
}

.logged-in {
    padding-top: 1rem;
}

form#commentform>.row,
form.awpcp-submit-listing-page-form>.row {
    margin-top: 1rem;
}

#cancel-comment-reply-link {
    order: 2;
    display: flex;
    align-items: center;
}

.comment-logout:link {
    text-decoration: underline;
}

.comment-logout:hover,
.comment-logout:active {
    text-decoration: none;
}

input#submit {
    color: var(--theme-primary-color);
    border: 2px solid;
    background-color: transparent;
}

input#submit:focus {
    box-shadow: 0 0 0 1.5px var(--theme-primary-transparent);
}

.form-control:focus {
    border-color: var(--theme-primary-color);
    box-shadow: 0 0 0 .25rem var(--theme-primary-transparent-dark);
}

#emailHelp {
    width: 100%;
    text-align: center;
    margin-top: 0px;
}

form#commentform>input#submit,
#footer-login {
    background: url(/assets/img/submit-button.svg);
    background-repeat: no-repeat;
    background-position: top 50% right 1.5rem;
    background-size: 1.5rem;
    padding-right: 2rem;
    font-size: 1.5rem;
    line-height: 1.5rem;
    padding: 1rem 4rem 1rem 1.8rem;
    border-radius: 5px;
}


/* Modifications to Bootstrap from defaults */

form#commentform .form-control-lg,
form.awpcp-submit-listing-page-form .form-control-lg {
    min-height: 5.2rem;
    font-size: 1.5rem;
    line-height: 1.5rem;
}

form#commentform .form-label,
form.awpcp-submit-listing-page-form label {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.helptext {
    margin-top: .25rem;
    font-size: .875em;
    color: #6c757d;
}


/* Mobile */

@media(max-width: 767.98px) {
    #respond {
        margin: 0px 0px 2.8rem;
    }
}


/* Desktop */

@media(min-width: 767.99px) {
    #respond {
        border-radius: 5px;
    }
    form#commentform .form-control-lg,
    form.awpcp-submit-listing-page-form .form-control-lg {
        min-height: 4rem;
    }
}


/* =====================================
   Modifications to Bootstrap
   ===================================== */

.btn-close {
    top: 3px;
}

.btn-close:focus {
    box-shadow: 0 0 0 .25rem var(--theme-primary-transparent-dark);
}

.alert-dismissable,
.alert-dismissible {
    /* padding-left: 0px; */
    background: white;
    border-radius: 5px;
    padding: 1.25rem;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.12);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.alert-dismissable:hover,
.alert-dismissible:hover {
    box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.12);
}

@media(min-width: 767.99px) {
    section#comments .alert {
        margin: 0 45px;
    }
}

.form-select:focus {
    box-shadow: 0 0 0 .25rem var(--theme-primary-transparent-dark);
    border-color: var(--theme-primary-color);
}

.form-check-input:focus {
    box-shadow: 0 0 0 .25rem var(--theme-primary-transparent-dark);
}

.form-check-input:checked {
    background-color: var(--theme-primary-color);
    border-color: var(--theme-primary-color);
}


/* =====================================
   404 Page
   ===================================== */

body.error404 {
    font-family: Poppins, sans-serif;
}

div.error404 {
    padding: 2rem;
    margin-bottom: 4rem;
}


/* Mobile */

@media(max-width: 767.98px) {
    div.error404 {
        box-shadow: none;
    }
}


/* Desktop */

@media(min-width: 767.99px) {
    div.error404 {
        background-color: white;
        margin-bottom: 4rem;
    }
}

div.error404>ul {
    margin: 1rem;
    margin-top: .5rem;
    list-style: inside;
    list-style-type: disc;
}

div.error404>ul>li {
    margin: .5rem;
}


/* ===============================
   Page Header
   =============================== */

.page-header>h1 {
    font-family: Poppins, sans-serif;
    font-weight: 300;
    font-size: 2em;
    line-height: 2em;
    margin-bottom: 1rem;
    text-align: center;
}


/* ==============================
   Assortment of Pages
   ============================== */

body.page.advertise-with-us div[role="main"],
body.page.contact-us div[role="main"],
body.page.privacy-policy div[role="main"],
body.page.terms div[role="main"],
body.page.add-event div[role="main"],
body.page.page-template-template-calender div[role="main"],
body.page.add-article div[role="main"],
body.page.add-mazel-tov div[role="main"] {
    font-family: Poppins, sans-serif;
    padding: 2rem;
}

@media(min-width: 767.98px) {
    body.page.advertise-with-us div[role="main"],
    body.page.contact-us div[role="main"],
    body.page.privacy-policy div[role="main"],
    body.page.terms div[role="main"],
    body.page.add-event div[role="main"],
    body.page.page-template-template-calender div[role="main"],
    body.page.add-article div[role="main"],
    body.page.add-mazel-tov div[role="main"] {
        background-color: white;
        border-radius: 5px;
        box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.12);
        transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
        margin-bottom: 4rem;
    }
    body.page.advertise-with-us div[role="main"]:hover,
    body.page.contact-us div[role="main"]:hover,
    body.page.privacy-policy div[role="main"]:hover,
    body.page.terms div[role="main"]:hover,
    body.page.add-event div[role="main"]:hover,
    body.page.page-template-template-calender div[role="main"]:hover,
    body.page.add-article div[role="main"]:hover,
    body.page.add-mazel-tov div[role="main"]:hover {
        box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.12);
    }
}


/* ============================
   Add Event Form
   ============================ */

form#sc_event {
    font-family: Poppins, sans-serif;
    margin-bottom: 5rem;
}

.sc_event_contact_info_title {
    margin-top: 5rem;
    font-family: Poppins, sans-serif;
}

.sc_event_contact_info_title h3 {
    font-weight: 300;
}

.sc_event_contact_info_title .form-text {
    font-size: 1em;
}

.sc_event_submit input#submit {
    border-radius: 2.5px;
    padding: .4rem;
}

.sc-location-radio {
    display: block;
    margin-bottom: .5rem;
}


/* =================================
   Community Calendar Styling
   ================================= */

@media(max-width: 575.98px) {
    #sc_events_calendar_head .row>.col-sm-6,
    #sc_weekly_events_calendar_head .row>.col-sm-6 {
        display: flex;
        justify-content: center;
    }
}

@media(min-width: 575.99px) {
    #sc_events_calendar_head .row>div:nth-child(2),
    #sc_weekly_events_calendar_head .row>div:nth-child(2) {
        justify-content: end;
        justify-content: flex-end;
    }
}

.calendar-day-head {
    text-align: center;
}

.sc_events_calendar h4,
.sc_events_weekly_calendar h4 {
    color: #7f91a5;
}

input.sc_calendar_submit,
input.sc_weekly_calendar_submit,
input.sc_daily_calendar_submit {
    background: none;
    border: 1px solid;
    border-radius: 2.5px;
    box-shadow: none;
}

input.sc_calendar_submit:focus {
    box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.12);
}

table.calendar.table {
    table-layout: fixed;
    width: 100%;
}

table.calendar.table td {
    border: 1px solid #D1D9E1;
}

a#add-event-calendar {
    font-weight: 600;
    color: #93bfe6;
    text-decoration: underline;
}

a#add-event-calendar:hover {
    text-decoration: none;
}

ul.calendar-menu {
    display: flex;
    justify-content: space-evenly;
}

ul.calendar-menu>li {
    color: #7f91a5;
    text-decoration: underline;
}

ul.calendar-menu>li:hover {
    text-decoration: none;
}

.hebrew-day-number {
    color: #7b94b2;
    text-align: center;
}

@media(min-width: 760.01px) and (max-width: 767.99px) {
    .calendar-day-head {
        font-size: 1rem;
    }
}


/* 
Max width for this PARTICULAR table gets gnarly
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/

@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {
    /* Force table to not be like tables anymore */
    table.calendar.table,
    table.calendar.table thead,
    table.calendar.table tbody,
    table.calendar.table th,
    table.calendar.table td,
    table.calendar.table tr {
        display: block;
    }
    /* Hide table headers (but not display: none;, for accessibility) */
    table.calendar.table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    table.calendar.table tr {
        border: 1px solid #ccc;
    }
    table.calendar.table td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }
    table.calendar.table td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 30px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }
    table.calendar.table td.calendar-day-np,
    table.calendar.table th.calendar-day-np {
        display: none;
    }
    /*
	Label the data
	*/
    table.calendar.table td:nth-of-type(1):before {
        content: "Sunday";
    }
    table.calendar.table td:nth-of-type(2):before {
        content: "Monday";
    }
    table.calendar.table td:nth-of-type(3):before {
        content: "Tuesday";
    }
    table.calendar.table td:nth-of-type(4):before {
        content: "Wednesday";
    }
    table.calendar.table td:nth-of-type(5):before {
        content: "Thursday";
    }
    table.calendar.table td:nth-of-type(6):before {
        content: "Friday";
    }
    table.calendar.table td:nth-of-type(7):before {
        content: "Shabbos";
    }
    table.calendar.table .day-number {
        margin-bottom: .25rem;
    }
}

.calender_week_day {
    padding: 1rem 0px;
    border-bottom: 1px solid #E7E7E7;
    margin: 0 auto;
}

.calendar_content_week {
    margin-top: .5rem;
}

@media(max-width: 767.98px) {
    .calender_week_day {
        padding: .5rem 0px;
    }
    .calender_week_head>.day-number {
        text-align: center;
        margin-bottom: .5rem;
    }
}

a.no-events-yet:link {
    text-decoration: underline;
}

a.no-events-yet:hover {
    text-decoration: none;
}

.day-event {
    margin: .5rem 0;
}

.day-event-type {
    font-weight: 300;
    text-decoration: underline;
}

.sc_daily_events_calendar .day-number,
.sc_weekly_events_calendar .day-number {
    text-align: center;
}

.day-number {
    margin-bottom: .5rem;
}

.day-content strong {
    font-weight: 600;
}


/*=========================================
  Popup Maker Overrides
  ========================================= */

html.pum-open.pum-open-overlay.pum-open-scrollable body>[aria-hidden] {
    padding: 0px;
}

.pum-content.popup-make img {
    object-fit: fill;
}


/* =======================================
   Gravity Form Overrides
   ======================================= */

.gform_heading {
    margin-bottom: 2rem;
}

.gform_footer {
    text-align: center;
    display: block;
}

.submit-form {
    border-radius: 2.5px;
    padding: .4rem;
    color: var(--theme-primary-color);
    border: 2px solid;
    background-color: transparent;
}

.submit-form:focus {
    box-shadow: 0 0 0 1.5px var(--theme-primary-transparent);
}

.gform_required_legend {
    display: none;
}

.gform_wrapper.gravity-theme input[type="color"],
.gform_wrapper.gravity-theme input[type="date"],
.gform_wrapper.gravity-theme input[type="datetime-local"],
.gform_wrapper.gravity-theme input[type="datetime"],
.gform_wrapper.gravity-theme input[type="email"],
.gform_wrapper.gravity-theme input[type="month"],
.gform_wrapper.gravity-theme input[type="number"],
.gform_wrapper.gravity-theme input[type="password"],
.gform_wrapper.gravity-theme input[type="search"],
.gform_wrapper.gravity-theme input[type="tel"],
.gform_wrapper.gravity-theme input[type="text"],
.gform_wrapper.gravity-theme input[type="time"],
.gform_wrapper.gravity-theme input[type="url"],
.gform_wrapper.gravity-theme input[type="week"],
.gform_wrapper.gravity-theme select,
.gform_wrapper.gravity-theme textarea {
    font-size: 1.25rem;
    padding: 0.5rem 1rem;
}

.gform_wrapper.gravity-theme .gfield_label {
    font-size: 1em;
    font-weight: 600;
}

.gform_wrapper.gravity-theme .gfield_header_item,
.gform_wrapper.gravity-theme .gform_fileupload_rules,
.gform_wrapper.gravity-theme .ginput_complex label {
    font-size: 1.25rem;
}

.submit-featured-image {
    background: none;
    border: 1px solid;
    border-radius: 2.5px;
    box-shadow: none;
    padding: 2px 4px;
    margin-bottom: 4px;
    cursor: pointer;
}

.submit-featured-image:focus {
    box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.12);
}

#input_3_2 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


/* ======================================
   SC Event Single Post Page
   ====================================== */

.sc_event-title {
    padding: 2px 0px;
    border-bottom: 1px solid #D1D9E1;
}

.sc_event_details_inner {
    line-height: 2rem;
}


/* Advertise With Us Page */

.advertise-with-us h1,
.advertise-with-us h2 {
    color: var(--theme-primary-color);
    font-size: 32px;
    margin-bottom: 35px;
    padding-top: 35px;
}

.advertise-with-us p {
    font-size: 16px;
    letter-spacing: 0;
    line-height: 22px;
    max-width: 515px;
    margin-left: auto;
    margin-right: auto;
}

.advertise-with-us h3 {
    max-width: 515px;
    font-size: 24px;
    font-weight: bold;
    margin: 30px auto 15px auto;
}

.advertise-with-us .wp-block-columns {
    max-width: 515px;
    margin-left: auto;
    margin-right: auto;
}

.advertise-with-us .wp-block-columns p {
    font-size: 14px;
}

.advertise-with-us .wp-block-separator {
    max-width: 515px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
    background-color: #7b7b7b;
    color: #7b7b7b;
}


/* Videos */

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    margin: 1rem 0px;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}