/* =========================
   GLOBAL / LAYOUT
========================= */
#maincontent {
    background: url(/media/wysiwyg/cms/bg_hero_purple_waves.webp) no-repeat top / 100%;
}

.page-wrapper {
    background: #212121;
}

.pageSection {
    position: relative;
    float: left;
    width: 100%;
        line-height: 1.15;
}

/* =========================
   FORM
========================= */
.fieldset.row {
    flex-direction: column;
    align-content: center;
}

.form .legend {
    display: none;
}

.form.contact {
    width: 86%;
    max-width: 1200px;
    margin: 0 auto 8px;
}

.form .fieldset .fieldset label.label {
    font-size: 1em;
    font-weight: 400;
}

/* =========================
   PAGE CONTENT
========================= */
.pageContent--center {
    text-align: center;
}

.pageContent--contact {
    margin: 140px auto 92px;
}

.pageContent--contactForm {
    margin: 0 auto 64px;
}

.pageContent__heading {
    font-size: 2em;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.15;
}

/* =========================
   CONTACT BLOCK
========================= */
.contactInfoBlock {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 86%;
    max-width: 500px;
    margin: 0 auto 32px;
}

.contactInfo {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    margin-bottom: 48px;
    padding: 0 16px;
    text-align: center;
    background: #666;
    border-radius: 32px;
    box-sizing: border-box;
}

.contactInfoContents__link--phone {
    margin: 21px auto 0 auto;
}

/* Background variations */
.contactInfo:nth-of-type(1) {
    background: url(/media/wysiwyg/cms/link_bg_paint_yellow.jpg) center / cover no-repeat;
}

.contactInfo:nth-of-type(2) {
    background: url(/media/wysiwyg/cms/link_bg_paint_blue.jpg) center / cover no-repeat;
}

.contactInfo:nth-of-type(3) {
    background: url(/media/wysiwyg/cms/link_bg_paint_red.jpg) center / cover no-repeat;
}

.contactInfo:nth-of-type(4) {
    background: url(/media/wysiwyg/cms/link_bg_paint_purple.jpg) center / cover no-repeat;
}

/* =========================
   CONTACT CONTENT
========================= */
.contactInfoContents {
    margin: 48px auto;
    font-size: 0.92em;
}

.contactInfoContents__title {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.contactInfoContents__text {
    margin-bottom: 28px;
}

.contactInfoContents__link {
    display: block;
    font-weight: 700;
    color: #fff;
}
.page-main-inner a:hover, .page-main-inner .alink:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* =========================
   TYPOGRAPHY
========================= */
.page-main-inner p {
    line-height: 1.3;
}

.page-main-inner p,
.page-main-inner span {
    font-size: 1em;
    font-weight: 400;
    font-family: inherit;
    letter-spacing: inherit;
}

.pageSection a {
    background-color: transparent;
    text-decoration: underline;
}

.days {
    display: block;
    margin-bottom: 8px;
}
.days:last-of-type {
    margin-bottom: 21px;
}
.contactInfoContents .contactInfoContents__disclaimer {
    display: block;
    font-weight: 700;
}
.contactInfoContents__link--directions {
    text-transform: uppercase;
}
/* =========================
   ANIMATION
========================= */
.state-pre-animated {
    opacity: 0;
    transform: translateY(72px);
    transition: all 1s ease-out;
}

.state-animated {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.form .field .control {
    font-size: 1em;
    font-weight: 400;
}
.form .field .control input, .form .field .control textarea{
    padding: 8px;
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
    color: #000000;
}
.page-main-inner input:focus {
    outline: 0;
}

.page-main-inner button.action.submit.primary{
    float: none;
    margin-bottom: 21px;
    border-radius: 7px;
    background: #63802b;
    color: #fff;
    padding: 11px 64px;
    border: none;
}

/* =========================
   MEDIA QUERIES
========================= */

/* ≥ 720px */
@media (min-width: 720px) {
    .form.contact {
        width: 80%;
        margin-bottom: 64px;
    }

    .pageContent__heading {
        font-size: 3em;
    }

    .pageContent--contact {
        margin: 220px auto 118px;
    }

    .pageContent--contactForm {
        margin-bottom: 118px;
    }

    .contactInfoBlock {
        margin-bottom: 92px;
    }
}

@media (min-width: 768px) {
    .form .actions-toolbar {
        text-align: right;
        width: 89%;
    }
    .form .actions-toolbar .primary {
        float: right;
    }
    .page-main-inner fieldset .fieldset .fields{
        max-width: 75%;
        margin: 0 0 1em;
    }
}

@media (max-width: 767px) {
    .page-main-inner button.action.submit.primary {
        width: 90%;
    }
    .fieldset .fieldset .fields{
        max-width: 90%;
        margin: 0 0 1em;
    }
}

/* ≥ 1000px */
@media (min-width: 1000px) {
    .contactInfo {
        width: 48%;
    }

    .contactInfoBlock {
        justify-content: space-between;
        max-width: 100%;
        margin-bottom: 172px;
    }
    .contactInfo:nth-of-type(3),
    .contactInfo:nth-of-type(4) {
        margin-bottom: 0;
    }
    .form .field .control input, .form .field .control textarea{
        padding: 0.7vw;
    }
}

/* ≥ 1140px */
@media (min-width: 1140px) {
    .form.contact {
        width: 66%;
    }
}

@media (min-width: 1140px) and (max-width: 1399px) {
    .contactInfoContents__text {
        font-size: 16px;
    }
    .days {
        font-size: 16px;
    }
}
/* ≥ 1326px */
@media (min-width: 1326px) {
    .contactInfo {
        width: 45%;
        height: 0;
        padding: 0 32px 45%;
        margin-bottom: 10%;
        border-radius: 100px;
    }

    .contactInfoContents {
        position: absolute;
        width: calc(100% - 64px);
        top: 16%;
        /*transform: translateY(-50%);*/
        left: 0;
        right: 0;
        margin: auto;
        font-size: 1em;
    }

    .contactInfoBlock {
        width: 72%;
        max-width: 1300px;
    }
}

/* ≥ 1500px */
@media (min-width: 1500px) {
    .contactInfo {
        border-radius: 130px;
    }

    .contactInfoContents__title {
        font-size: 2.4em;
        line-height: 55px;
    }

    .contactInfoContents__link {
        font-size: 1.2em;
    }
}