@charset "UTF-8";

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Font Face */
@font-face {
    font-family: 'icomoon';
    src: url('../font/icomoon.ttf?99r8hq') format('truetype'),
        url('../font/icomoon.woff?99r8hq') format('woff'),
        url('../font/icomoon.svg?99r8hq#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

.icon {
    font-family: 'icomoon' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Unique Styles */
    font-size: 64px;
    color: #555;
    flex-shrink: 0;
}

.icon-phone {
    color: #FF4136;
}

.icon-phone:before {
    content: "\e942";
}

.icon-clock:before {
    content: "\e94e";
}

.icon-facebook2 {
    color: #3B5998;
}

.icon-facebook2:before {
    content: "\ea91";
}

/* Layout */
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0 30px;
    padding: 10px 0;
}

/* General Styles */
html {
    border-top: 10px solid #73d0ff;
    background: #f1faff;
    font-family: Georgia, Times, "Times New Roman", serif;
    color: #555;
}

body {
    background: linear-gradient(to bottom, #c3eafe 0, #f1faff 50px);
}

iframe {
    width: 100%;
}

/* Header & Navigation */
header.row {
    align-items: center;
}

.logo {
    flex: 1;
    padding-top: 4px;
}

.logo a {
    background: url("../image/logo.png") left center no-repeat;
    background-size: 67px auto;
    display: inline-block;
    min-height: 67px;
    text-decoration: none;
}

.logo strong,
.logo em {
    display: block;
    padding-left: 77px;
}

.logo strong {
    color: #249ed6;
    font-size: 30px;
    padding-top: 4px;
    padding-bottom: 3px;
}

.logo em {
    font-size: 13px;
    font-style: normal;
    color: #555;
}

nav {
    flex: 1;
    padding-top: 26px;
    text-align: right;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    display: inline;
}

nav li a {
    color: #444;
    font-size: 16px;
    line-height: 1;
    padding: 36px 12px 10px;
    text-decoration: none;
}

nav li a.active {
    color: #3eaee6;
    border-bottom: 4px solid #66cbfe;
}

nav li a:hover {
    color: #3eaee6;
}

/* Primary Content */
.primary h1 {
    color: #47b9f2;
    font-size: 32px;
    line-height: 1.2;
    font-weight: normal;
    margin: 0 0 20px 0;
}

.primary p,
.primary h2,
.primary h3,
.primary ul,
.primary ol {
    font-size: 16px;
    line-height: 2;
    margin: 0;
}



.primary p {
    padding-bottom: 10px;
}

.primary h2,
.primary h3 {
    font-size: 18px;
}

.primary h2,
.primary h3,
.primary strong {
    font-weight: bolder;
    margin-top: 20px;
}

.primary a {
    color: #3eaee6;
}

.primary ul,
.primary ol {
    line-height: 1.75;
}

.primary ul {
    list-style-type: square;
}

.primary ul li,
.primary ol li {
    margin-bottom: 20px;
}

/* Homepage */
.slideshow {
    flex: 0 0 42%;
    min-width: 0;
}

.slideshow-fade {
    position: relative;
    max-width: 480px;
    aspect-ratio: 2 / 1;
    margin: 0 auto;
    overflow: hidden;
}

.slideshow-fade img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.slideshow-fade img.is-visible {
    opacity: 1;
}

.about {
    flex: 1;
    min-width: 0;
}

.about p {
    margin: 0 0 20px 0;
}

.main-col {
    flex: 2;
    min-width: 0;
}

.cal {
    flex: 1;
    min-width: 0;
}

.hours {
    margin-bottom: 40px;
}

.hours-body {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.hours-body .icon {
    margin-top: 4px;
}

.hours-body h2:first-child {
    margin-top: 0;
}

.instructor {
    margin-top: 40px;
}

.instructor_photo {
    max-width: 214px;
    float: left;
    margin-right: 20px;
}

/* FAQ & Video Lessons */
.programs {
    flex: 1 0 100%;
    width: 100%;
    min-width: 0;
}

.programs hr {
    padding: 0;
    border: 0;
    border-top: medium double #47b9f2;
    color: #47b9f2;
    text-align: center;
    margin: 20px 0;
}

.programs hr:after {
    content: "\00A7";
    display: inline-block;
    position: relative;
    top: -0.7em;
    font-size: 1.5em;
    padding: 0 .25em;
    background: #f1faff;
}

.programs ul,
.programs ol {
    margin: 0 0 16px;
}

.programs ul li,
.programs ol li {
    margin: 0;
    padding: 10px 0 0;
}

.video-wrap {
    width: 100%;
    max-width: 869px;
    margin: 20px 0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
}

.video-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Contact Page */
.form {
    flex: 2;
    min-width: 0;
}

.contact_info {
    flex: 1;
    min-width: 0;
}

#wufoo-zlbqbhj0om6cfs {
    padding-right: 20px;
}

.contact_info h1 {
    margin-top: 20px;
}

.contact_info a {
    color: #555;
    text-decoration: none;
}

#map-canvas {
    margin: 20px 0 0 0;
    height: 500px;
}

/* Footer */
footer {
    border-top: 2px solid #73d0ff;
    background: #f1faff;
    background: linear-gradient(to bottom, #c3eafe 0, #f1faff 50px);
    margin-top: 40px;
}

footer .row {
    flex-wrap: wrap;
}

.page_info,
.phone_number {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-top: 20px;
}

footer .page_info h2,
footer .phone_number h2 {
    margin-top: 0;
}

.phone_number a {
    color: #555;
    text-decoration: none;
}

.copyright {
    flex: 1 0 100%;
    text-align: center;
    margin: 30px 0;
}

.copyright p {
    padding: 0;
}


/* Tablet & Mobile Styles */
@media only screen and (max-width: 1140px) {
    header.row {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .logo,
    nav {
        flex: none;
        width: 100%;
    }

    .logo a {
        text-align: left;
    }

    nav {
        text-align: center;
        padding-top: 10px;
    }

    .slideshow {
        flex: 0 0 34%;
    }

    .page_info {
        flex: 2;
    }

    .phone_number {
        flex: 1;
    }
}

@media only screen and (max-width: 959px) {
    article {
        margin-top: 20px;
    }

    .row {
        flex-direction: column;
        gap: 20px;
    }

    .primary {
        margin-bottom: 0;
    }

    .slideshow,
    .about,
    .main-col,
    .programs,
    .form,
    .contact_info,
    .page_info,
    .phone_number,
    .copyright {
        flex: none;
        width: 100%;
    }

    .cal {
        flex: none;
        width: 100%;
        order: -1;
        display: flex;
        gap: 24px;
        align-items: flex-start;
        margin-bottom: 10px;
    }

    .hours {
        flex: 0 0 30%;
        margin-bottom: 0;
    }

    .hours .icon,
    .hours h1 span {
        display: none;
    }

    .events-cal {
        flex: 1;
        min-width: 0;
    }

    .events-cal h1 {
        text-align: center;
    }

    .cal iframe {
        height: 300px;
    }

    .instructor {
        margin-top: 20px;
    }

    .instructor_photo {
        max-width: 130px;
    }

    #wufoo-zlbqbhj0om6cfs {
        padding-right: 0;
    }

    #map-canvas {
        height: 300px;
    }

    .copyright {
        margin: 10px 0 30px;
    }
}

@media only screen and (max-width: 636px) {
    .logo strong {
        font-size: 24px;
    }

    .cal {
        flex-direction: column;
    }

    .hours,
    .events-cal {
        flex: none;
        width: 100%;
    }

    .events-cal h1 {
        text-align: left;
    }

    nav li {
        display: inline-block;
        margin-bottom: 10px;
    }

    nav li a {
        display: inline-block;
        padding: 8px 24px 10px;
    }
}
