/*
VERSION: 18.03.25.01
Minimize at http://csscompressor.com
*/


/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */





/* ==========================================================================
   Text Resize Styles
   ========================================================================== */

@media only screen {

    html.text-size-default {
        font-size: 62.5%;
    }

    html.text-size-large {
        font-size: 75%;
    }

    html.text-size-larger {
        font-size: 90%;
    }

    html.text-size-largest {
        font-size: 100%;
    }

}

/* Media Queries */

@media only screen and (max-width: 599px) {

    html.text-size-large,
    html.text-size-larger,
    html.text-size-largest {
        font-size: 62.5%;
    }

}





/* ==========================================================================
   CORE Content
   ==========================================================================
*/

@media only screen {

    body {
        color: black;
        background-color: white;
        padding: 0;
        font-weight: 400;
        font-size: 1.6rem;
    }

    b, strong {
        font-weight: 600;
    }

    i, em, p.em {
        font-style: italic;
    }

    sup,
    sub {
        height: 0;
        line-height: 1;
        vertical-align: baseline;
        _vertical-align: bottom;
        position: relative;
        font-size: 60%;
    }

    sup {
        bottom: 1ex;
    }

    sup a:link,
    sup a:visited,
    sup a:hover,
    sup a:active {
        color: inherit;
        text-decoration: none;
    }

    a.phone-number,
    sup a:link,
    sup a:visited,
    sup a:hover,
    sup a:active {
        color: inherit;
        text-decoration: none;
    }

    sub {
        top: .5ex;
    }

    a sup,
    a sub {
        text-decoration: none;
        display: inline-block;
    }

    iframe {
        width: 100%;
        display: block;
        margin: 0 auto;
        border: 0;
    }

    .img-box {
        max-width: 100%;
    }

    span.img-box {
        display: inline-block;
        vertical-align: bottom;
        margin-bottom: 0.5rem;
    }

    .img-box img {
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .phone-number {
        white-space: nowrap;
    }

    .box-end {
        display: block;
        height: 1px;
        font-size: 1px;
        line-height: 1px;
        clear: both;
    }

    .nowrap {
        white-space: nowrap;
    }

    .standard-text {
        color: inherit;
        font-weight: inherit;
        font-size: inherit;
    }

    .content-width {
        max-width: 1200px;
        padding: 0 20px;
        margin: 0 auto;
        display: block;
    }

    a,
    a:link,
    a:visited {
        color: mediumpurple;
    }

    a:focus,
    a:hover,
    a:active {
        color: rebeccapurple;
    }

    .button,
    .button:link,
    .button:visited {
        display: block;
        -moz-border-radius: 1rem;
        border-radius: 1rem;
        margin: 1rem 0 2rem 0;
        padding: 0.8rem 2rem 1rem 2rem;
        text-align: center;
        font-size: 2.4rem;
        line-height: 1.25;
        font-weight: 400;
        text-decoration: none;
        text-shadow: none !important;
        border: 2px solid mediumpurple;
        color: mediumpurple;
        background-color: white;
    }

    .button:hover,
    .button:active {
        border-color: blue;
        background-color: mediumpurple;
        color: white;
    }

    .button.primary,
    .button.primary:link,
    .button.primary:visited {
        border-color: blue;
        background-color: mediumpurple;
        color: white;
    }

    .button.primary:hover,
    .button.primary:active {
        background-color: rebeccapurple;
    }

    .button:focus {
        -webkit-box-shadow: 0 0 5px grey !important;
        -moz-box-shadow: 0 0 5px grey !important;
        box-shadow: 0 0 5px grey !important;
    }

}

/* Media Queries */

@media only screen and (min-width: 400px) {

    .button,
    .button:link,
    .button:visited,
    .button:focus,
    .button:hover,
    .button:active {
        display: inline-block;
        min-width: 200px;
    }

    .button span {
        display: block;
    }

    .button span.nowrap {
        display: inline-block;
    }

}





/* ==========================================================================
   CORE Modals
   ==========================================================================
*/

@media only screen {

    .modal-content {
        display: none;
    }

    .video-embed-content.youtube-inline {
        position: relative;
        padding-bottom: 56.25%; /* 16:9 */
        padding-top: 25px;
        height: 0;
    }

    .video-embed-content.youtube-inline iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    #ajax-overlay {
        background-image: url('../img/layout/ajax-background.png');
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 999970;
        display: none;
    }

    #ajax-loader {
        background: white url('../img/layout/ajax-loader.gif') center center no-repeat;
        width: 150px;
        height: 150px;
        border-radius: 75px;
        position: fixed;
        top: 50%;
        left: 50%;
        margin-top: -75px;
        margin-left: -75px;
    }

    #modal-overlay {
        background-image: url('../img/layout/overlay-background.png');
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 999970;
        display: none;
    }

    #modal {
        max-height: calc(100% - 200px);
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        overflow-x: hidden;
        overflow-y: scroll;
        background-color: white;
        -moz-border-radius: 10px;
        border-radius: 10px;
        border: 1px solid black;
    }

    #modal.video {
        overflow-x: hidden;
        overflow-y: hidden;
        background-color: transparent;
        -moz-border-radius: 0;
        border-radius: 0;
        border: none;
    }

    #modal.standard a#modal-close,
    #modal.standard a#modal-close:link,
    #modal.standard a#modal-close:visited,
    #modal.standard #modal-print,
    #modal.standard #modal-print:link,
    #modal.standard #modal-print:visited,
    #modal.noprint a#modal-close,
    #modal.noprint a#modal-close:link,
    #modal.noprint a#modal-close:visited {
        position: absolute;
        text-decoration: none;
        display: block;
        font-size: 14px;
        line-height: 14px;
        width: 24px;
        height: 24px;
        text-indent: -9999rem;
        opacity: 0.6;
        right: 2px;
        top: 0;
    }

    #modal.standard a#modal-close,
    #modal.standard a#modal-close:link,
    #modal.standard a#modal-close:visited,
    #modal.noprint a#modal-close,
    #modal.noprint a#modal-close:link,
    #modal.noprint a#modal-close:visited {
        top: 8px;
        background: transparent url('../img/layout/ic_clear_black_24dp_1x.png') 0 0 no-repeat;
    }

    #modal.standard #modal-print,
    #modal.standard #modal-print:link,
    #modal.standard #modal-print:visited {
        top: 35px;
        background: transparent url('../img/layout/ic_print_black_24dp_1x.png') 0 0 no-repeat;
    }

    #modal.standard a#modal-close:focus,
    #modal.standard a#modal-close:hover,
    #modal.standard a#modal-close:active,
    #modal.standard a#modal-print:focus,
    #modal.standard a#modal-print:hover,
    #modal.standard a#modal-print:active,
    #modal.noprint a#modal-close:focus,
    #modal.noprint a#modal-close:hover,
    #modal.noprint a#modal-close:active {
        opacity: 1;
    }

    #modal.video a#modal-close,
    #modal.video a#modal-close:link,
    #modal.video a#modal-close:visited {
        position: absolute;
        text-decoration: none;
        display: block;
        font-size: 14px;
        line-height: 14px;
        width: 24px;
        height: 24px;
        text-indent: -9999rem;
        top: 10px;
        right: -1px;
        -moz-border-radius: 0 3px 3px 0;
        border-radius: 0 3px 3px 0;
        background: transparent url('../img/layout/ic_clear_white_24dp_1x.png') 0 0 no-repeat;
    }

    #modal-content {
        padding: 20px 35px 20px 20px;
    }

    #modal.video #modal-content {
        background-color: white;
        margin-right: 20px;
        padding: 1px;
    }

    #modal.video #modal-content .video-embed-box.youtube iframe {
        width: 560px;
        height: 315px;
    }

}

/* Media Queries */

@media only screen and (max-width: 700px) {

    #modal {
        max-height: calc(100% - 10px);
        width: 90%;
    }

}






/* ==========================================================================
   CORE Forms
   ========================================================================== */

@media only screen {

    .ajax-form-content.response {
        padding: 10%;
        margin-top: 5rem;
        margin-bottom: 5rem;
        -moz-border-radius: 1rem;
        border-radius: 1rem;
        border: 1px solid black;
        background-color: lightgrey;
    }

    form.ajax-form {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    legend {
        display: none;
    }

    .form-row {
        margin-bottom: 10px;
        max-width: 1000px;
    }

    .fieldset-legend legend,
    .form-row .form-label,
    .form-row label {
        margin-left: 0.25rem;
        font-weight: 600;
    }

    .form-row .form-label-submit {
        display: none;
    }

    .form-row .required-field-icon {
        margin-right: -1.25rem;
        padding-left: 0.25rem;
    }

    .form-row .form-row-radio {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .form-row .form-field-checkbox,
    .form-row .form-label-checkbox,
    .form-row .form-field-radio,
    .form-row .form-label-radio {
        display: block;
    }

    .form-row .form-label-checkbox,
    .form-row .form-label-radio {
        margin-left: 3rem;
        margin-top: -2.5rem;
        box-sizing: border-box;
        padding-right: 3rem;
    }

    .form-row .form-label-checkbox label,
    .form-row .form-label-radio label {
        font-weight: 400;
        margin-left: 0;
    }

    .form-row .form-label-checkbox-description {
        font-size: 1.6rem;
        padding-bottom: 1rem;
    }

    .form-row .form-label-checkbox-description p {
        margin-top: 0.8rem;
        margin-bottom: 0.8rem;

    }

    legend.fieldset-legend {
        display: block;
    }

    .fieldset-fields .form-row {
        margin-bottom: 0;
    }

    .fieldset-fields .form-row .form-label {
        display: none;
    }

    .fieldset-fields .form-row .form-label-checkbox,
    .fieldset-fields .form-row .form-label-radio {
        display: block;
    }

    .fieldset-fields .form-row .form-field {
        width: 100%;
    }

    .form-row.submit .button {
        margin-bottom: 0;
    }

    p.field-instructions {
        margin-top: 0.5rem;
        font-style: italic;
    }

    p.required-fields {
        font-size: 1.6rem;
        margin-top: 0.8rem;
    }

    p.required-fields .required-field-icon {
        margin-right: 0;
        padding-left: 0;
    }

    .ajax-form-info h4.error {
        margin: 0;
        padding: 20px 0 0 0;
    }

    .ajax-form-info ul.error {
        margin: 0;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    p.required-fields.error,
    .ajax-form-info .error,
    .ajax-form-info ul.error a {
        text-decoration: none;
        font-weight: 600;
        color: red;
    }

    input[type="text"],
    input[type="password"],
    input[type="date"],
    input[type="datetime"],
    input[type="datetime-local"],
    input[type="month"],
    input[type="week"],
    input[type="email"],
    input[type="number"],
    input[type="search"],
    input[type="tel"],
    input[type="time"],
    input[type="url"],
    input[type="file"],
    select,
    textarea {
        display: inline-block;
        padding: 0.75rem 1rem;
        margin-bottom: 0.25rem;
        background-color: #f9fafa;
        border: 1px solid #c7cdcd;
        -moz-border-radius: 0.5rem;
        border-radius: 0.5rem;
        -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        -webkit-transition: -webkit-box-shadow 0.45s, border-color 0.45s ease-in-out;
        -moz-transition: -moz-box-shadow 0.45s, border-color 0.45s ease-in-out;
        transition: box-shadow 0.45s, border-color 0.45s ease-in-out;
        font-family: inherit;
        font-size: 0.875em;
        color: dimgrey;
    }

    input[type="text"].error,
    input[type="password"].error,
    input[type="date"].error,
    input[type="datetime"].error,
    input[type="datetime-local"].error,
    input[type="month"].error,
    input[type="week"].error,
    input[type="email"].error,
    input[type="number"].error,
    input[type="search"].error,
    input[type="tel"].error,
    input[type="time"].error,
    input[type="url"].error,
    input[type="file"].error,
    select.error,
    textarea.error {
        background-color: lightpink;
        border: 1px solid red;
        color: dimgrey;
    }

    input[type="text"],
    input[type="password"],
    input[type="date"],
    input[type="datetime"],
    input[type="datetime-local"],
    input[type="month"],
    input[type="week"],
    input[type="email"],
    input[type="number"],
    input[type="search"],
    input[type="tel"],
    input[type="time"],
    input[type="url"],
    input[type="file"],
    select,
    textarea {
        width: 100%;
    }

    input[type="text"]:focus,
    input[type="password"]:focus,
    input[type="date"]:focus,
    input[type="datetime"]:focus,
    input[type="datetime-local"]:focus,
    input[type="month"]:focus,
    input[type="week"]:focus,
    input[type="email"]:focus,
    input[type="number"]:focus,
    input[type="search"]:focus,
    input[type="tel"]:focus,
    input[type="time"]:focus,
    input[type="url"]:focus,
    input[type="file"]:focus,
    select:focus,
    textarea:focus {
        outline: none;
        border-color: grey;
        background-color: lightgrey;
        -webkit-box-shadow: 0 0 5px grey;
        -moz-box-shadow: 0 0 5px grey;
        box-shadow: 0 0 5px grey;
    }

    textarea {
        display: block;
        min-height: 7em;
    }

    input[type="checkbox"],
    input[type="radio"] {
        width: 2rem;
        height: 2rem;
    }

    .form-row-checkbox input[type="checkbox"] {
        opacity: 0;
        z-index: -1;
    }

    .form-row-checkbox a.checkbox-link {
        display: inline-block;
        width: 2rem;
        height: 2rem;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        -moz-border-radius: 0.25rem;
        border-radius: 0.25rem;
        margin-bottom: 0.25rem;
        text-align: center;
        text-decoration: none;
        font-size: 0.875em;
        background-color: oldlace;
        border: 1px solid lightgrey;
        -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
        color: lightgrey;
    }

    .form-row-checkbox a.checkbox-link.box-is-focused,
    .form-row-checkbox a.checkbox-link:hover,
    .form-row-checkbox a.checkbox-link:active {
        outline: none;
        background-color: white;
        border-color: grey;
        color: grey;
        -webkit-box-shadow: 0 0 5px grey;
        -moz-box-shadow: 0 0 5px grey;
        box-shadow: 0 0 5px grey;
    }

    .form-row-checkbox a.checkbox-link.box-is-checked {
        border-color: blue;
        background-color: mediumpurple;
        color: #ffffff;
    }

    .form-row-checkbox a.checkbox-link span {
        display: block;
        vertical-align: middle;
        color: transparent;
        margin-top: 0;
    }

    .form-row-checkbox a.checkbox-link.box-is-checked span,
    .form-row-checkbox a.checkbox-link.box-is-checked.box-is-focused span,
    .form-row-checkbox a.checkbox-link.box-is-checked:hover span,
    .form-row-checkbox a.checkbox-link.box-is-checked:active span {
        color: white;
    }

    .form-row-checkbox a.checkbox-link.box-is-focused span,
    .form-row-checkbox a.checkbox-link:hover span,
    .form-row-checkbox a.checkbox-link:active span {
        color: mediumpurple;
    }

}

/* Media Queries */

@media only screen and (min-width: 600px) {

    .form-row {
        clear: both;
        margin-bottom: 2rem;
    }

    .form-row .form-row-radio {
        margin-top: 0;
        margin-bottom: 0;
    }

    legend.fieldset-legend,
    .form-row label {
        margin-left: 0;
    }

    legend.fieldset-legend {
        float: left;
        width: 25%;
        padding-top: 0.5rem;
        margin-right: 0.5rem;
        text-align: right;
    }

    .form-row .form-label,
    .form-row .form-label-submit {
        display: inline-block;
        width: 25%;
        padding-top: 0.5rem;
        padding-right: 2rem;
        vertical-align: top;
        text-align: right;
    }

    .form-row .form-label-checkbox,
    .form-row .form-label-radio {
        display: block;
        width: calc(100% - 4rem);
        padding-top: 0;
        padding-right: 0;
        margin-top: -3rem;
        margin-left: 4rem;
        vertical-align: top;
        text-align: left;
    }

    .form-row-checkbox a.checkbox-link {
        width: 3rem;
        height: 3rem;
    }

    .form-row-checkbox a.checkbox-link span {
        margin-top: 10%;
    }

    .form-row .form-field,
    .form-row .form-field-submit {
        display: inline-block;
        width: 70%;
    }

    .form-row .form-label .required-field-icon {
        margin-right: -1.25rem;
    }

    .fieldset-fields .form-row.data-name-first {
        display: inline-block;
        width: 34%;
    }

    .fieldset-fields .form-row.data-name-last {
        display: inline-block;
        width: 65%;
    }

    .fieldset-fields .form-row.data-city {
        display: inline-block;
        width: 48%;
    }

    .fieldset-fields .form-row.data-state {
        display: inline-block;
        width: 30%;
        padding-right: 0;
    }

    .fieldset-fields .form-row.data-zipcode {
        display: inline-block;
        width: 20%;
    }

}






/* ==========================================================================
   CORE Print
   ========================================================================== */

@media only print {

    body.modal-is-open #page-content,
    body.modal-is-open #page-mandatories,
    body.modal-is-open #footer,
    body.modal-is-open #modal-print,
    body.modal-is-open #modal-close {
        display: none;
    }

}









/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
