/* base css */
:root {
    font-size: 10px;
}

html, body {
    height: 100%;
}

body {
    color: #222222;
    font-size: 10px;
    line-height: 1.6;
    position: relative;
    font-family: karlaregular, sans-serif;
}

b, strong {
    font-family: karlabold, sans-serif;
    font-weight: normal;
}

a,
button,
p,
span,
li {
    font-size: 1.6rem;
    letter-spacing: 0.05rem;
}

p a,
p span,
a i,
a span,
li span,
li a {
    font-size: 1em;
}

a {
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

a:hover,
a:active,
a:focus {
    color: inherit;
    text-decoration: none;
    outline: none;
}

p {
    margin-bottom: 2rem;
    letter-spacing: 0.05rem;
}

p:last-of-type,
p:last-child {
    margin-bottom: 0;
}

hr {
    margin: 5rem 0;
    border: 0;
    border-top: 1px solid #e8e7e7;
}

/* lists */
ul {
    margin: 0 0 3rem;
    padding: 0 0 0 1.7rem;
}

/* images */
.img-fluid {
    border-radius: 0.5rem;
}

/* headings */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    margin-bottom: 2rem;
    line-height: 1.4;
    letter-spacing: 0.05rem;
    font-family: poppinsmedium, sans-serif;
    color: #ed353a;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
.h1 a, .h2 a, .h3 a, .h4 a, .h5 a, .h6 a {
    font-size: 1em;
    color: inherit;
}

h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child,
.h1:first-child, .h2:first-child, .h3:first-child, .h4:first-child, .h5:first-child, .h6:first-child {
    margin-top: 0;
}

h1, .h1 {
    font-size: 3.6rem;
}

h2, .h2 {
    font-size: 3.2rem;
}

h3, .h3 {
    font-size: 2.8rem;
}

h3.subheading, .h3.subheading {
    font-family: 'poppins', sans-serif;
    font-weight: 400;
}

h4, .h4 {
    font-size: 2.4rem;
}

h5, .h5 {
    font-size: 2rem;
}

h6, .h6 {
    font-size: 1.8rem;
}

.content-heading {
    margin-bottom: 6rem;
}

.content-heading .title {
    margin: 0;
}

.content-heading.with-subtitle .title {
    margin: 0 0 2rem;
}

.content-heading.with-subtitle .mb1 {
    margin-bottom: 1rem;
}

/* buttons */
.btn {
    font-size: 1.5rem;
    padding: 1.3rem 2rem;
    border-radius: 0.1rem;
    letter-spacing: 0.05rem;
    transition-duration: 0.3s;
    min-width: 15rem;
    height: 4.5rem;
    font-weight: 500;
    line-height: 1;
}

.btn .icon {
    line-height: 1;
    display: inline-block;
}

.btn svg.svg-inline--fa {
    width: 1.7rem;
    height: auto;
    vertical-align: middle;
    position: relative;
    left: 0;
    top: -0.2rem;
    transition: left 0.2s ease-in-out;
}

.btn.with-icon-right .icon {
    margin-left: 0.5rem;
}

.btn.with-icon-right.with-hover:hover svg {
    left: 0.5rem;
}

.btn.with-icon-left .icon {
    margin-right: 0.5rem;
}

.btn.with-icon-left.with-hover:hover svg {
    left: -0.5rem;
}

.btn-sm,
.btn-group-sm > .btn {
    padding: 1.1rem 2rem;
    height: 4rem;
    font-size: 1.4rem;
}

.btn-lg,
.btn-group-lg > .btn {
    padding: 1.6rem 2.5rem;
    height: 5rem;
    font-size: 1.6rem;
}

.btn-primary:hover {
    background: #222222;
    border-color: #222222;
}

.btn-primary:focus, .btn-primary.focus {
    color: #fff;
    box-shadow: none;
}

/* text link */
.text-link {
    font-weight: 500;
    white-space: nowrap;
    display: inline-block;
}

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

.text-link .icon {
    line-height: 1;
    display: inline-block;
}

.text-link svg.svg-inline--fa {
    width: 1.5rem;
    height: auto;
    vertical-align: middle;
    position: relative;
    left: 0;
    transition: left 0.2s ease-in-out;
}

.text-link.with-icon-right .icon {
    margin-left: 0.5rem;
}

.text-link.with-icon-right.with-hover:hover svg {
    left: 0.5rem;
}

.text-link.with-icon-left .icon {
    margin-right: 0.5rem;
}

.text-link.with-icon-left.with-hover:hover svg {
    left: -0.5rem;
}

/* button container */
.btn-container .text-link,
.btn-container .btn {
    margin: 1.5rem;
}

.btn-lightgrey:hover {
    background: #ed353a;
    border-color: #ed353a;
    color: #fff;
}

@font-face {
    font-family: 'karlabold';
    src: url("../fonts/karla-bold-webfont.eot");
    src: url("../fonts/karla-bold-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/karla-bold-webfont.woff2") format("woff2"), url("../fonts/karla-bold-webfont.woff") format("woff"), url("../fonts/karla-bold-webfont.ttf") format("truetype"), url("../fonts/karla-bold-webfont.svg#karlabold") format("svg");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'karlaregular';
    src: url("../fonts/karla-regular-webfont.eot");
    src: url("../fonts/karla-regular-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/karla-regular-webfont.woff2") format("woff2"), url("../fonts/karla-regular-webfont.woff") format("woff"), url("../fonts/karla-regular-webfont.ttf") format("truetype"), url("../fonts/karla-regular-webfont.svg#karlaregular") format("svg");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'poppinslight';
    src: url("../fonts/poppins-light-webfont.eot");
    src: url("../fonts/poppins-light-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/poppins-light-webfont.woff2") format("woff2"), url("../fonts/poppins-light-webfont.woff") format("woff"), url("../fonts/poppins-light-webfont.ttf") format("truetype"), url("../fonts/poppins-light-webfont.svg#poppinslight") format("svg");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'poppinsregular';
    src: url("../fonts/poppins-regular-webfont.eot");
    src: url("../fonts/poppins-regular-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/poppins-regular-webfont.woff2") format("woff2"), url("../fonts/poppins-regular-webfont.woff") format("woff"), url("../fonts/poppins-regular-webfont.ttf") format("truetype"), url("../fonts/poppins-regular-webfont.svg#poppinsregular") format("svg");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'poppinsmedium';
    src: url("../fonts/poppins-medium-webfont.eot");
    src: url("../fonts/poppins-medium-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/poppins-medium-webfont.woff2") format("woff2"), url("../fonts/poppins-medium-webfont.woff") format("woff"), url("../fonts/poppins-medium-webfont.ttf") format("truetype"), url("../fonts/poppins-medium-webfont.svg#poppinsmedium") format("svg");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'poppinssemibold';
    src: url("../fonts/poppins-semibold-webfont.eot");
    src: url("../fonts/poppins-semibold-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/poppins-semibold-webfont.woff2") format("woff2"), url("../fonts/poppins-semibold-webfont.woff") format("woff"), url("../fonts/poppins-semibold-webfont.ttf") format("truetype"), url("../fonts/poppins-semibold-webfont.svg#poppinssemibold") format("svg");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'poppinsbold';
    src: url("../fonts/poppins-bold-webfont.eot");
    src: url("../fonts/poppins-bold-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/poppins-bold-webfont.woff2") format("woff2"), url("../fonts/poppins-bold-webfont.woff") format("woff"), url("../fonts/poppins-bold-webfont.ttf") format("truetype"), url("../fonts/poppins-bold-webfont.svg#poppinsbold") format("svg");
    font-weight: normal;
    font-style: normal;
}

/*!
 * Font Awesome Pro 5.14.0 by @fontawesome - https://fontawesome.com
 * License - https://fontawesome.com/license (Commercial License)
 */
.fa,
.fas,
.far,
.fal,
.fad,
.fab {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
readers do not read off random characters that represent icons */
.fa-long-arrow-right:before {
    content: "\f178";
}

@font-face {
    font-family: 'Font Awesome 5 Pro';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("../webfonts/fa-regular-400.eot");
    src: url("../webfonts/fa-regular-400.eot?#iefix") format("embedded-opentype"), url("../webfonts/fa-regular-400.woff2") format("woff2"), url("../webfonts/fa-regular-400.woff") format("woff"), url("../webfonts/fa-regular-400.ttf") format("truetype"), url("../webfonts/fa-regular-400.svg#fontawesome") format("svg");
}

.far {
    font-family: 'Font Awesome 5 Pro';
    font-weight: 400;
}

@font-face {
    font-family: 'Font Awesome 5 Pro';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("../webfonts/fa-solid-900.eot");
    src: url("../webfonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("../webfonts/fa-solid-900.woff2") format("woff2"), url("../webfonts/fa-solid-900.woff") format("woff"), url("../webfonts/fa-solid-900.ttf") format("truetype"), url("../webfonts/fa-solid-900.svg#fontawesome") format("svg");
}

.fa,
.fas {
    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
}

/* form css */
.form-block,
.form-group {
    margin-bottom: 2rem;
}

.form-block h4, .form-block h5,
.form-group h4,
.form-group h5 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.form-block h4 span:not(.info-tooltip-icon), .form-block h5 span:not(.info-tooltip-icon),
.form-group h4 span:not(.info-tooltip-icon),
.form-group h5 span:not(.info-tooltip-icon) {
    font-size: 1.5rem;
    color: #64686b;
    font-family: 'dinregular', sans-serif;
    -webkit-font-smoothing: initial;
    -moz-osx-font-smoothing: initial;
    display: block;
}

.form-block:last-child {
    margin-bottom: 0;
}

label {
    letter-spacing: 0.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 600;
    color: #999;
}

label .accent {
    font-style: normal;
    color: #ff0000;
    font-size: 1.8rem;
    font-weight: 500;
}

textarea.form-control {
    padding: 2rem 1.8rem;
}

form button[type='submit'] {
    margin-top: 1rem;
}

.form-control {
    font-size: 1.6rem;
    height: 5rem;
    padding: 1rem 1.8rem 1rem;
    border-radius: 0.2rem;
    color: #222222;
    letter-spacing: 0.05rem;
    border: 1px solid #d1d7de;
    font-family: 'poppinsregular', sans-serif;
}

.form-control::-webkit-input-placeholder {
    letter-spacing: 0.05rem;
    color: #999;
    font-size: 1.65rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.form-control::-moz-placeholder {
    letter-spacing: 0.05rem;
    color: #999;
    font-size: 1.65rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.form-control:-ms-input-placeholder {
    letter-spacing: 0.05rem;
    color: #999;
    font-size: 1.65rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.form-control:-moz-placeholder {
    letter-spacing: 0.05rem;
    color: #999;
    font-size: 1.65rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.form-control:focus {
    color: #222222;
    border-color: #6b6a6a !important;
    box-shadow: none;
}

select.noValue {
    letter-spacing: 0.05rem;
    color: #999;
    font-size: 1.65rem;
    font-family: 'poppinsregular', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

select,
select.form-control {
    font-family: 'poppinsregular', sans-serif;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #ffffff url(../images/arrow-down.svg) right 15px top 55% no-repeat;
    background-size: 1.3rem;
    padding-right: 4rem;
}

/* header css */
/* q banner */
.q-container {
    margin: 0 auto;
    max-width: 70rem;
    background: #fff;
    border-radius: 0.5rem;
}

.q-banner {
    position: relative;
    height: 12rem;
    overflow: hidden;
    background: #282829;
}

.q-ymca-logo {
    position: absolute;
    top: 3rem;
    left: 3rem;
    height: 5.4rem;
    width: 7rem;
}

/* q header */
.q-header {
    padding: 3rem;
    text-align: center;
    border-bottom: 0.1rem solid #DEDEDE;
}

.q-header h1, .q-header .title {
    font-size: 2.4rem;
    color: #222222;
    margin: 0;
}

.q-header p {
    margin-top: 2rem;
    font-size: 1.8rem;
}

/* q content */
.q-content {
    padding: 5rem 2rem;
    text-align: center;
}

.q-content .q-question {
    font-size: 2rem;
    line-height: 1.6;
    margin-bottom: 4rem;
}

.q-content .q-content-choices a {
    padding: 1.5rem 0;
    max-width: 40rem;
    display: block;
    margin: 0 auto 1rem;
    border-radius: 0.5rem;
    background: #f3f3f3;
    font-size: 1.6rem;
    font-family: poppinsregular, sans-serif;
    color: #424141;
    border: 0.1rem solid #eaeaea;
}

.q-content .q-content-choices a:hover {
    background: #ed353a;
    color: #fff;
}

.q-slide-next {
    cursor: pointer;
}

/* swim level form */
.swim-level-form {
    text-align: left;
}

.swim-level-form label .accent {
    position: relative;
    top: 5px;
}

.swim-level-form button {
    width: 100%;
}

.swim-level-form button.btn {
    font-size: 1.8rem;
}

.owl-carousel .owl-nav .owl-prev {
    width: 30rem;
    font-size: 1.8rem;
    background: transparent;
    color: #333;
    cursor: pointer;
    opacity: 0.5;
}

.owl-carousel .owl-nav .owl-prev svg {
    width: 2.2rem;
    margin-right: 0.5rem;
}

.owl-carousel .owl-nav .owl-prev:hover {
    color: #ed353a;
    opacity: 1;
    background: transparent;
}

.owl-theme .owl-nav .disabled,
.owl-theme .owl-nav .disabled:hover {
    display: none;
}

.owl-nav .owl-next {
    display: none !important;
}

.q-result .q-result-title {
    font-size: 3rem;
    line-height: 1.6;
    padding: 0 2rem;
    margin: 0;
}

.q-result .q-result-text {
    padding: 0 2rem;
}

.q-result .q-result-text p {
    letter-spacing: 0.03rem;
    font-size: 1.8rem;
}

/* re-test */
.q-retest {
    text-align: center;
    padding: 5rem 3rem;
    border-top: 0.1rem solid #DEDEDE;
}

.q-retest p {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-family: poppinsmedium, sans-serif;
}

.q-retest p span {
    display: block;
    font-size: 1.6rem;
    color: #969494;
    margin-top: 5px;
    font-family: poppinsregular, sans-serif;
    letter-spacing: 0.1rem;
}

.q-retest .btn {
    text-transform: uppercase;
    font-size: 1.8rem;
}

/* thank you */
.q-thankyou .q-thankyou-title {
    font-size: 3rem;
    line-height: 1.6;
    margin: 0 0 3rem;
}

.q-thankyou .q-thankyou-text {
    font-size: 1.8rem;
    padding: 0 7rem;
    letter-spacing: 0.03rem;
}

/* q form modal */
body.fancybox-active {
    height: 100%;
}

.q-form-modal {
    margin: 0 auto;
    max-width: 70rem;
    background: #fff;
    border-radius: 0.5rem;
    padding: 5rem 1.5rem;
    display: none;
}

.form-title {
    text-align: center;
    font-size: 2.2rem;
    padding: 0 1rem;
    line-height: 1.6;
    margin-bottom: 4rem;
}

/* footer */
.q-footer {
    border-top: 0.1rem solid #DEDEDE;
    padding: 3rem 2rem 2rem;
}

.footer-links {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-direction: column;
}

.footer-links a {
    font-size: 1.45rem;
    color: #212121;
    line-height: 1.4;
    letter-spacing: 0.03rem;
    font-family: 'poppinsregular', sans-serif;
    padding: 1rem;
}

.footer-links a:hover {
    color: #ed353a;
    border-color: #ed353a;
}

/* social */
.social {
    text-align: center;
    margin: 3rem 0 0;
}

.social .social-link {
    color: #222222;
    display: inline-block;
    padding: 1rem 1.4rem;
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

.social .social-link svg {
    height: 2.4rem;
    width: 2.4rem;
}

.social .facebook:hover {
    color: #3b5998;
}

.social .twitter:hover {
    color: #1da1f2;
}

.social .youtube:hover {
    color: #ff0000;
}

.social .instagram:hover {
    color: #405de6;
}

.social .linkedin:hover {
    color: #0077b5;
}

/* modal lighbox */
.text-modal .fancybox-content {
    border-radius: 2px;
    padding: 2rem;
}

.text-modal-infobox {
    display: none;
}

.terms-modal ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-modal ol li {
    counter-increment: step-counter;
    font-size: 1.7rem;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 4rem;
}

.terms-modal ol li p {
    font-size: 1.7rem;
}

.terms-modal ol li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.3rem;
    background-color: #ed353a;
    color: white;
    padding: 0.3rem;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-block;
    border-radius: 100%;
    text-align: center;
}

.privacy-modal table td {
    padding: 1rem 0.5rem;
}

.privacy-modal table p {
    font-size: 1.5rem;
}

/* q slide back */
.q-slide-back {
    width: 30rem;
    font-size: 1.8rem;
    background: transparent;
    color: #333;
    cursor: pointer;
    opacity: 0.5;
    margin: 3rem auto 0;
}

.q-slide-back svg {
    position: relative;
    left: 0;
    width: 2.2rem;
    margin-right: 0.5rem;
    transition: left 0.2s ease-in-out;
}

.q-slide-back:hover {
    color: #ed353a;
    opacity: 1;
    background: transparent;
}

.q-slide-back:hover svg {
    left: -0.5rem;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 375px) {
    .q-form-modal {
        padding: 5rem 3rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 700px) {
    /* q banner */
    .q-wrapper {
        padding: 10rem 0;
        height: 100%;
        width: 100%;
        background: url(../images/q-swim-bg.png) 60% 50% no-repeat fixed;
        background-size: cover;
        overflow: scroll;
    }

    .q-banner {
        border-radius: 0.5rem 0.5rem 0 0;
    }

    .q-header p {
        padding: 0 8rem;
    }

    .q-content {
        padding: 5rem;
    }

    .q-content .q-question {
        font-size: 2.2rem;
        padding: 0 1rem;
    }

    .q-content .q-content-choices a {
        font-size: 1.8rem;
    }

    .swim-level-form {
        padding: 0 5rem;
    }

    /* thank you */
    .thankyou-page {
        display: flex;
        align-items: center;
    }

    /* footer */
    .q-footer {
        border-radius: 0 0 0.5rem 0.5rem;
        padding: 3rem 3rem 2rem;
    }

    .footer-links {
        flex-direction: row;
    }

    .footer-links a {
        padding: 0;
        border-bottom: 0.1rem solid #212121;
    }

    /* form modal */
    .q-form-modal {
        padding: 8rem 5rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    /* homeoage */
    /* modal lighbox */
    .text-modal .fancybox-content {
        max-width: 90rem;
        height: 90%;
        padding: 4.5rem;
    }
}

.r-topmenu a.r-topmenu-phone{
    color: #201d1d;
    float: right;
    padding: 10px 0 8px;
}

.r-topmenu a.r-topmenu-phone:hover,
.r-topmenu a.r-topmenu-phone:hover .number{
    color: #ed353a;
}

.r-topmenu a.r-topmenu-phone .fa{
    font-size: 18px;
    vertical-align: middle;
    margin-right: 2px;
    position: relative;
    top: -1px;
}

.r-topmenu a.r-topmenu-phone .number{
    transition: color 0.3s ease-in-out;
}

@media(max-width: 374px){

    .r-topmenu a.r-topmenu-phone {
        height: 37px;
        width: 30px;
        position: relative;
        padding: 10px 15px 8px;
        margin: 0;
    }

    .r-topmenu a.r-topmenu-phone .fa{
        font-size: 20px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .r-topmenu a.r-topmenu-phone .number{
        display: none;
    }

    .r-topmenu a.r-topmenu-phone .fa{
        font-size: 20px;
    }
}

.page-title-header {
    font-size: 2.4rem;
    top: 5rem;
    position: absolute;
    left: 15rem;
    color: white;
}