/* Gym-Etc — rebuilt from ju_joomla100 orange theme */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: #fafafa;
    color: #666;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.425;
}

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

a {
    color: #ff9933;
    text-decoration: none;
}

a:hover,
a:active {
    color: #585858;
    text-decoration: none;
}

a:focus-visible {
    outline: 2px solid #fd5f16;
    outline-offset: 2px;
}

.skip {
    position: absolute;
    left: -999px;
    top: 0;
}

.skip:focus {
    left: 10px;
    z-index: 2000;
    background: #fff;
    padding: 8px 12px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

#site {
    max-width: 960px;
    margin: 0 auto;
}

.wrap {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

/* Nav */
#site-header {
    background: #fff;
    padding: 5px 0;
}

.main-menu {
    position: relative;
    z-index: 1000;
    padding: 10px;
    margin: 0;
}

.nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav > li {
    display: inline-table;
    position: relative;
    z-index: 500;
}

.nav > li > a {
    position: relative;
    display: block;
    text-transform: uppercase;
    color: #222;
    background: transparent;
    margin-right: 5px;
    font-size: 15px;
    padding: 12px 13px;
    text-decoration: none;
    transition: all 300ms linear;
}

.nav > li > a::after,
.nav > li > a::before {
    position: absolute;
    width: 0;
    height: 3px;
    content: "";
    transition: 0.5s;
    z-index: 1;
    background: transparent;
}

.nav > li > a::after {
    left: 0;
    top: 0;
}

.nav > li > a::before {
    right: 0;
    bottom: 0;
}

.nav > li > a:hover::after,
.nav > li > a:hover::before,
.nav > li.active > a::after,
.nav > li.active > a::before {
    width: 100%;
    background: #333;
}

.nav > li > a:hover,
.nav > li > a:active,
.nav > li.active > a {
    color: #fd5f16;
}

.nav > li > a:focus-visible {
    outline-offset: -2px;
}

.nav > li > ul {
    position: absolute;
    left: 0;
    top: 100%;
    display: none;
    padding: 0;
    margin: 0;
    list-style: none;
    color: #333;
    background: #fff;
    text-align: left;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    z-index: 600;
}

.nav > li:hover > ul,
.nav > li:focus-within > ul,
.nav > li.open > ul {
    display: block;
}

.nav > li > ul li {
    width: 200px;
    height: 38px;
    float: left;
}

.nav > li > ul a {
    display: block;
    position: relative;
    width: 200px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    line-height: 20px;
    padding: 8px 12px;
    font-size: 12px;
    color: #333;
    text-transform: none;
}

.nav > li > ul a:hover {
    color: #fd5f16;
}

/* Hero */
#hero {
    position: relative;
    line-height: 0;
}

#hero img {
    display: block;
    width: 100%;
    height: auto;
}

/* White content card */
.card {
    background: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.contact-bar {
    background: #ff9933 !important;
    color: #f1f1f1;
    margin: 0 0 10px;
    padding: 5px 10px;
    border: 1px solid #d7d7d7;
    border-left: 0;
    border-right: 0;
}

.contact-bar .phones {
    text-align: center;
    margin: 5px 0 0;
    font-size: 18pt;
    color: #808080;
}

.contact-bar .addresses {
    text-align: center;
    margin: 5px 0;
    color: #f1f1f1;
}

.content {
    padding: 10px 10px 30px;
}

article {
    position: relative;
}

article header {
    margin: 0 0 32px;
    width: 100%;
}

article header h1 {
    clear: both;
    font-size: 36px;
    line-height: 52px;
    margin: 10px 0;
    font-weight: 300;
    color: #ff9933;
}

article p {
    margin: 0 0 1em;
}

/* Home two-column modules */
.home-cols {
    display: flex;
    gap: 0;
    margin-top: 10px;
}

.home-col {
    width: 50%;
    padding: 0 10px;
}

.mod.beige {
    color: #000;
    background-color: #e3e1df;
    margin: 0 auto 10px;
    padding: 5px 10px;
    border: 1px solid #fff;
}

.mod.colors {
    color: #f1f1f1;
    background: #ff9933 !important;
    margin: 0 auto 10px;
    padding: 5px 10px;
    border: 1px solid #d7d7d7;
}

.mod h2,
.mod h3 {
    background: url(../images/h3_bg.png) repeat-x 0 100%;
    font-size: 1.5em;
    line-height: 34px;
    margin: -5px -10px 3px;
    padding: 0 8px;
    font-weight: 300;
}

.mod.beige h2,
.mod.beige h3 {
    color: #000;
}

.mod.colors h2,
.mod.colors h3 {
    color: #f1f1f1;
}

.mod.colors a {
    color: #ddd !important;
}

.mod.colors ul {
    list-style-type: circle;
    margin: 0 0 1em;
    padding-left: 24px;
}

.mod.colors li {
    text-align: left;
    margin: 0 0 0.25em;
}

.socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    min-height: 100px;
    margin: 8px 0 0;
}

.socials img {
    display: block;
}

.socials .ig img {
    width: 112px;
    height: 39px;
}

.socials .fb img {
    width: 125px;
    height: 48px;
}

/* Location article lists */
.category {
    font-size: 1em;
    width: 99%;
    margin: 10px 10px 20px 0;
    border-collapse: collapse;
}

.category td {
    border-bottom: 1px dotted #dadada;
    border-left: 1px dotted #dadada;
    padding: 6px 10px;
}

.category tr:nth-child(even) td {
    background: #fbfbfb;
}

.category tr:hover td {
    background: #fffdf1;
}

.category td:first-child {
    border-left: none;
}

/* Footer */
#site-footer {
    background: #f5f5f5;
    padding: 10px 0;
    min-height: 30px;
}

/* Jackrabbit tables inherit site font */
.jr-container,
article .responsive-table {
    font-family: inherit;
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (prefers-reduced-motion: reduce) {
    .nav > li > a,
    .nav > li > a::after,
    .nav > li > a::before {
        transition: none;
    }
}

@media (max-width: 980px) {
    #site {
        max-width: 100%;
        padding: 0 10px;
    }

    #hero img {
        height: auto;
    }

    article header h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .contact-bar .phones {
        font-size: 16px;
    }

    .home-cols {
        display: block;
    }

    .home-col {
        width: 100%;
        padding: 0;
    }
}

@media (max-width: 700px) {
    .nav > li {
        display: block;
    }

    .nav > li > a {
        margin-right: 0;
    }

    .nav > li > ul {
        position: static;
        box-shadow: none;
        width: 100%;
    }

    .nav > li > ul li,
    .nav > li > ul a {
        width: 100%;
        height: auto;
        min-height: 44px;
        float: none;
        padding: 12px 16px;
        font-size: 14px;
    }

    .contact-bar .addresses {
        font-size: 13px;
    }
}
