@charset "UTF-8";

/* --- Base Styles --- */
body {
    overflow-x: hidden;
}

div#mfp_hidden {
    overflow: hidden;
    width: 1px;
    height: 1px;
    padding: 0px;
    margin: 0px;
}

div#mfp_hidden input {
    margin: 10px;
}

div.mfp_thanks {
    padding: 30px;
}

div.mfp_thanks p {
    line-height: 1.7em;
}

div.mfp_thanks ul.mfp_caution {
    margin: 0px;
    padding: 0px;
}

div.mfp_thanks ul.mfp_caution li {
    display: block;
    color: #C00;
    margin: 0px;
    padding: 5px 0px;
}

div#mfp_thanks {
    text-align: center;
    font-size: 18px;
    padding: 20px 0px;
}

div#mfp_thanks strong {
    color: #C00;
    font-size: 24px;
}

/* --- Main Form Container --- */
.wpcf7 {
    margin-top: 48px;
    padding: 10px 0px;
}

#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact textarea {
    border: solid 1px #CCC;
    border-radius: 3px;
    box-shadow: 0px 0px 5px #CCC inset;
    padding: 3px 8px;
    margin: 2px;
    vertical-align: middle;
}

#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact select,
#contact textarea,
#contact label.mfp_not_checked,
#contact label.mfp_checked {
    padding: 8px !important;
    max-width: 100%;
    box-sizing: border-box;
}

#contact input[type="text"]:not(.zip),
#contact input[type="email"],
#contact input[type="tel"],
#contact textarea {
    width: 100%;
}

#contact label {
    border-radius: 3px;
    margin: 3px;
    display: inline-block;
    white-space: nowrap;
}

#contact label.mfp_checked {
    padding: 3px;
    border: solid 1px #CCC;
    background-color: #E8EEF9;
    box-shadow: 0px 1px 3px #CCC inset;
}

#contact label.mfp_not_checked {
    padding: 3px;
    border: solid 1px #EEE;
}

/* --- Definition List Style (Grid Layout) --- */
#contact dl.dl-mailform {
    width: 100%;
}

#contact dl.dl-mailform dt,
#contact dl.dl-mailform dd {
    width: 100%;
    display: block;
    color: #333;
    line-height: 2.2rem;
    box-sizing: border-box;
    padding: 12px;
    font-size: 17px;
}

#contact dl.dl-mailform dt {
    border-top: 0;
    border-bottom: 1px solid #cecece;
    background: #e3f6fc;
    text-align: center;
    font-weight: bolder;
    color: #0049b2;
    padding: 24px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#contact dl.dl-mailform dd {
    border-top: 0;
    border-bottom: 1px solid #DCDCDC;
    border-left: 1px solid #DCDCDC;
    margin-bottom: 0;
    padding: 12px;
    text-align: left;
    background: white;
}

/* Desktop Grid View */
@media only screen and (min-width: 640px) {
    #contact dl.dl-mailform {
        display: grid;
        grid-template: auto / max(120px, 30%) 1fr;
    }
    #contact dl.dl-mailform dt {
        flex-direction: column;
    }
    #contact dl.dl-mailform dd {
        border-left: 0;
        padding: 24px;
    }
    #contact dl.dl-mailform dd.vmiddle {
        display: flex;
        justify-content: flex-center;
        align-items: center;
    }
    #contact dl.dl-mailform dd:first-of-type,
    #contact dl.dl-mailform dt:first-of-type {
        border-top: 1px solid #dcdcdc;
    }
}

@media only screen and (min-width: 960px) {
    #contact dl.dl-mailform {
        width: 80%;
        margin-left: 10%;
    }
}

/* --- Elements & Labels --- */
.must {
    display: inline-block;
    background: #0049b2;
    padding: 8px 12px;
    box-sizing: border-box;
    color: white;
    font-size: 70%;
    margin-left: 12px;
    line-height: 1;
    border-radius: 4px;
}

@media only screen and (min-width: 640px) {
    .must {
        margin: 8px 0 0 0;
    }
}

.optionally {
    display: block;
    background-color: #06C;
    border: solid 2px #06C;
    padding: 2px 5px;
    font-size: 10px;
    color: #FFF;
    float: left;
    margin: 0px 5px;
    border-radius: 4px;
    box-shadow: 0px 0px 5px #CCC;
}

/* --- Buttons --- */
div.mfp_buttons {
    clear: both;
    padding: 10px 0px;
    text-align: center;
}

div.mfp_buttons input {
    font-size: 17px;
    margin-top: 32px;
    margin-bottom: 64px;
    padding: 16px 48px;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAJ0lEQVQYV2NkQAP////3ZUQWAwswMm6GC8IEQIrAgsgCYEF0AZAgANP9E1CXVxkjAAAAAElFTkSuQmCC) repeat;
    background-color: #0049b2;
    font-weight: bolder;
    color: white;
    border-radius: 9999px;
    line-height: 1;
    transition: all .2s ease-in-out;
    border: none;
    cursor: pointer;
}

div.mfp_buttons input:hover {
    box-shadow: 0 0 6px #ccc;
    opacity: .8;
    transform: scale(1.03);
}

/* --- Utility & State Classes --- */
.mfp_element_all {
    max-width: 100%;
}

.mailform-desc {
    text-align: center;
}

.mfp_rows.flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media only screen and (min-width: 481px) {
    .mfp_rows.flex {
        justify-content: flex-start;
    }
}

.text-center { text-align: center; }
.mt8 { margin-top: 8px; }
.inline-block { display: inline-block; }

#contact dl.dl-mailform dt span,
.mailform-desc span {
    display: inline-block;
}

/* --- Responsive Helpers --- */
@media only screen and (min-width: 640px) {
    .sp { display: none !important; }
    .pc { display: block !important; }
}

@media only screen and (max-width: 639px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
    #contact dl.dl-mailform dt {
        border-right: 1px solid #dcdcdc;
        border-left: 1px solid #dcdcdc;
    }
    #contact dl.dl-mailform dd {
        border-right: 1px solid #dcdcdc;
    }
    #contact select {
        width: 100%;
    }
    .sp-text-center {
        text-align: center !important;
    }
}

/* --- Table Styles (Confirm Screen) --- */
table#mfp_confirm_table {
    border-spacing: 0px;
    border-collapse: collapse;
    width: 100%;
}
table#mfp_confirm_table tr th, 
table#mfp_confirm_table tr td {
    text-align: left;
    font-size: 12px;
    border-top: solid 1px #CCC;
    padding: 5px 10px;
}
table#mfp_confirm_table tr th {
    white-space: nowrap;
    width: 200px;
}

/* --- Error & Validation Styles --- */
div.mfp_err {
    color: #F00;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}
.mfp_parent_error {
    border: solid 2px #F00;
}
.problem {
    background-color: #FCC;
}

.wpcf7-spinner {
    display: none !important;
}