.hidden {
	display: none;
}
.active-pagination * {
	font-weight: bold !important;
}
.sidepanel .sidebar_header {
    position: relative;
    border-bottom: #dadada 1px solid;
    padding-bottom: 3px;
    margin-bottom: 5px;
}

input[type="submit"]:disabled,
.preloader:after {
	background-color:gray !important;
    cursor: not-allowed;
}
#mc_signup_submit:hover {
	background-color:#40b7b8!important;
}
.shortcode_button.btn_type4:hover {
	box-shadow:inset 1px 1px 0 #40b7b8, inset -1px -1px 0 #40b7b8, inset 0 -1px 0 #40b7b8, inset -1px 0 0 #40b7b8;
}
.red {
    color: red;
}
.logo_sect {
    padding: .2rem 3rem !important;
}
.logo_sect .log_def {
    height: 5rem !important;
}
.logo_def {
    height: 100%;
}
.logo_retina {
    height: 100% !important;
}
/* The reCAPTCHA script loads site-wide, so the badge is hidden by default and
   shown only where a protected form exists (class set in api.js). */
.grecaptcha-badge { visibility: hidden; }
/* reCAPTCHA emits two badges here; only the docked one carries inline offsets
   (bottom/right), the other has no position and would land on top of the
   newsletter field. !important beats the badge's inline visibility:hidden. */
body.has-recaptcha .grecaptcha-badge[style*="bottom"] {
    visibility: visible !important;
}

.no_fit.fs_gallery_container li {
    background-size: contain !important;
}

/* The 2rem icon is taller than the menu's line box, so it is centred out of
   flow: the span fills exactly one line and only reserves the icon's width,
   which keeps the header height and the other menu items where they were. */
.menu-item-instagram a span {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 2rem;
    height: 15px;
    height: 1lh;
}
/* no sliding underline on hover — it belongs to the text items only */
.main_header nav ul.menu > li.menu-item-instagram > a:before {
    display: none;
}
.menu-item-instagram a span svg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2rem;
    height: 2rem;
    transform: translate(-50%, -50%);
}

/* Contact block: same glyph, sized to sit level with the icon-font rows
   above it (14px FontAwesome glyphs in a 22px line). The theme's colour rule
   only targets <i>, so the SVG has to be told as well. */
.contact_info_icon .ico_instagram {
    width: 16px;
    height: 16px;
    vertical-align: -4px;
}
.contact_icons .contact_info_icon .ico_instagram {
    color: #353e3d;
}

/* "Follow us on Instagram" line under the contact details. Typography matches
   the block headings; the icon sits on the end of the last line. */
/* The spans need the font declarations too: style.css has a universal
   `* { font-family: "PT Sans"; font-weight: 400 }` that resets descendants. */
.follow_instagram,
.follow_instagram span {
    font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 20px;
    /* 900 is the heaviest Roboto weight the theme loads, so the stroke adds the
       extra thickness on top of it. */
    font-weight: 400;
    -webkit-text-stroke: 0.6px #222;
    line-height: 1.5;
    text-transform: uppercase;
    color: #222;
}
.follow_instagram {
    margin: 26px 0 0;
}
/* Keeps the icon on the same line as the final word rather than orphaning it. */
.follow_instagram__end {
    white-space: nowrap;
}
.follow_instagram a {
    display: inline-block;
    margin-left: 8px;
    color: #353e3d;
    vertical-align: -5px;
    transition: color 0.25s;
}
.follow_instagram a:hover {
    color: #40b7b8;
}
.follow_instagram .ico_instagram {
    width: 26px;
    height: 26px;
}

/* ---------------------------------------------------------------------------
   Form feedback dialog (app/js/modal.js) — replaces window.alert().
   Type scale and the teal/3px button match the theme's own submit inputs.
   --------------------------------------------------------------------------- */
.site-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    /* Visibility flips instantly on open so the panel is focusable straight
       away, and only after the fade on close. */
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}
.site-modal.is-visible {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.2s ease, visibility 0s;
}
.site-modal__backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(20, 26, 26, 0.65);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}
.site-modal__panel {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 42px 36px 36px;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
    text-align: center;
    transform: translateY(14px) scale(0.98);
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-modal.is-visible .site-modal__panel {
    transform: none;
}
.site-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: none;
    color: #b3b9b9;
    cursor: pointer;
    line-height: 0;
    border-radius: 3px;
    transition: color 0.25s;
}
.site-modal__close:hover,
.site-modal__close:focus-visible {
    color: #353e3d;
}
.site-modal__close svg {
    width: 18px;
    height: 18px;
}
.site-modal__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 22px;
    border-radius: 100%;
    color: #fff;
}
.site-modal__icon svg {
    width: 30px;
    height: 30px;
}
.site-modal--success .site-modal__icon {
    background: #40b7b8;
    box-shadow: 0 0 0 8px rgba(64, 183, 184, 0.14);
}
.site-modal--error .site-modal__icon {
    background: #d9534f;
    box-shadow: 0 0 0 8px rgba(217, 83, 79, 0.14);
}
.site-modal__title {
    margin: 0 0 12px;
    font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    text-transform: uppercase;
    color: #222;
}
.site-modal__text {
    font-size: 15px;
    line-height: 1.55;
    color: #6d7574;
}
.site-modal__text p {
    margin: 0;
}
.site-modal__text ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}
.site-modal__text ul li {
    position: relative;
    padding: 4px 0 4px 16px;
}
/* The theme's global `ul li:before` adds right padding for a FontAwesome
   bullet, which would stretch this dot into an ellipse. */
.site-modal__text ul li:before {
    content: "";
    position: absolute;
    top: 12px;
    left: 0;
    width: 5px;
    height: 5px;
    padding: 0;
    border-radius: 100%;
    background: #d9534f;
}
.site-modal__action {
    margin-top: 26px;
    padding: 8px 26px 11px;
    border: 0;
    border-radius: 3px;
    background: #40b7b8;
    color: #fff;
    font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s, color 0.25s;
}
.site-modal__action:hover,
.site-modal__action:focus-visible {
    background: #349a9b;
}
/* The action button is focused on open, so replace the UA ring with one that
   belongs to the theme. */
.site-modal__action:focus-visible,
.site-modal__close:focus-visible {
    outline: 2px solid #353e3d;
    outline-offset: 2px;
}
.site-modal--error .site-modal__action {
    background: #353e3d;
}
.site-modal--error .site-modal__action:hover,
.site-modal--error .site-modal__action:focus-visible {
    background: #222;
}
@media (max-width: 480px) {
    .site-modal__panel {
        padding: 36px 22px 28px;
    }
    .site-modal__title {
        font-size: 16px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .site-modal,
    .site-modal__panel {
        transition: none;
    }
    .site-modal__panel {
        transform: none;
    }
}