/*
* @description: 2025寬頻會員問卷調查
* @update: Chih (am09:07 2025/4/22 v1)
*/
@charset 'utf-8';
.form
{
    margin: 5% auto 5% 0;
}

.form *
{
    font-family: Verdana, Geneva,'微軟正黑體', sans-serif;
    font-size: 1em;
    font-weight: 500;
}
.form-heading
{
    padding: 1% 2.5%;

            align-items: flex-start;
            justify-content: space-around;
            flex-wrap: nowrap;
    -webkit-align-items: flex-start;
    -webkit-justify-content: space-around;
    -webkit-flex-wrap: nowrap;
}
.form-heading p
{
    font-size: 1.125em;
    line-height: 1.5;

    display: inline-block;

    margin: 0;
}
.form-heading img
{
    display: inline-block;

    width: 100%;
    max-width: 49px;
    margin-right: 15px;
}
.complete-heading
{
    width: 80%;
    margin: auto;
    padding: 1% 2.5%;
    text-align: center;
}
.complete-heading p
{
    font-size: 1.25em;
    font-weight: bolder;
    line-height: 1.5;

    text-align: center;
    display: inline-block;

    margin: 0;

    color: #000;
}
.form .row
{
    display: -ms-flexbox;
    display: flex;

    margin: 0 5px 10px;
}

.form .field
{
    position: relative;

    width: 100%;
    height: 50px;
    margin: 0 10px;
}

.form .field.half-width
{
    width: 50%;
}

.form .field.quarter-width
{
    width: calc(25% - 10px);
}
.form  .radio-container + .input + label + .baseline
{
    position: static;
}


.form label
{
    position: absolute;
    bottom: 8px;
    left: 0;

    overflow: hidden;

    width: 100%;

    cursor: text;
    transition-timing-function: cubic-bezier(.165, .84, .44, 1);
    transition-duration: .3s;
    transition-property: color, transform;
    transform-origin: 0 50%;
    white-space: nowrap;
    text-overflow: ellipsis;
    pointer-events: none;

    color: #cfd7df;
}

.form .input
{
    position: relative;
    top: -4em;
    left: 9.7em;
    width: 30em;
    padding-bottom: 7px;
    letter-spacing: 2px;

    color: inherit;
    background-color: transparent;
}
.form .baseline
{
    position: relative;
    top: -4em;
    bottom: 0;
    left: 9.7em;

    width: 30em;
    height: 1px;

    transition: background-color .3s cubic-bezier(.165, .84, .44, 1);

    background-color: #cfd7df;
}
.form .input.fullwidth,
.form .baseline.fullwidth
{
    width: 100%;
    top:-2em;
    left:0;
}
.form .input::-webkit-input-placeholder
{
    font-size: 1em;
    line-height: 2;

    transition: color .3s cubic-bezier(.165, .84, .44, 1);
    letter-spacing: 2px;

    color: silver;
}

.form .input::-moz-placeholder
{
    font-size: 1em;
    line-height: 2;

    transition: color .3s cubic-bezier(.165, .84, .44, 1);
    letter-spacing: 2px;

    color: silver;
}

.form .input:-ms-input-placeholder
{
    font-size: 1em;
    line-height: 2;

    transition: color .3s cubic-bezier(.165, .84, .44, 1);
    letter-spacing: 2px;

    color: silver;
}

.form .input.StripeElement
{
    transition: opacity .3s cubic-bezier(.165, .84, .44, 1);

    opacity: 0;

    will-change: opacity;
}

.form .input.focused,
.form .input:not(.empty)
{
    opacity: 1;
}
.form .radio-container + .input
{
    position: relative;
    z-index: 10;

    width: 100%;
    height: 2em;
    margin-top: 3.5em;
}
.form .radio-container + .input.focused + label,
.form .radio-container + .input:not(.empty) + label
{
    display: block;

    transform: scale(.85) translateY(-10px);
}

.form .radio-container label
{
    bottom: 2em;
}
.checkmark
{
    position: absolute;
    top: 0;
    left: 0;
    width: 25px;
    height: 25px;

    border-radius: 50%;
    background-color: #eee;
}

.radio-container
{
    position: relative;
    z-index: 9;
    top: 2.5em;
    margin-left:1.75em;
    justify-content:flex-start;
    width:100%;
}
.radio-container.radio-container-column
{
    flex-direction: column;
}
.form .mgm-link mark
{
    display: inline-block;
    margin:5px auto;
    border-radius:5px;
    transition:ease 400ms;
    margin-left:2em;
}
.form .mgm-link mark a
{
    font-weight: bolder;
    line-height: 2;
    display: inline-block;
    color:#e25950;
    padding:0 12px;
}
.form .mgm-link mark:hover a
{
    background-color: #e25950;
    color:#fff;
    border-radius:5px;
    transition:ease 400ms;
}
.form .container
{
    position: relative;
    z-index: 5;

    width: auto;
    margin: 0 25px 12px 0;
    padding-left: 25px;

    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    pointer-events: initial;

    color: #000;
    white-space: nowrap;
}
.form .container.fix-width
{
    width: fit-content;
}
.form .container input[type=radio]
{
    position: absolute;

    cursor: pointer;

    opacity: 0;
    height: 0;
    width: 0;
}
/* Create a custom radio button */
.form .checkmark
{
    position: absolute;
    top: 5px;
    left: 1px;
    width: 20px;
    height: 20px;

    border-radius: 50%;
    background-color: #eee;
}
.form .checkmark2
{
    position: absolute;
    top: 5px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
}
/* On mouse-over, add a grey background color */
.form .container:hover input ~ .checkmark,
.form .container:hover input ~ .checkmark2
{
    background-color: #ccc;
}
/* When the radio button is checked, add a blue background */
.form .container input:checked ~ .checkmark,
.form .container input:checked ~ .checkmark2
{
    background-color: #f57915;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after,
.checkmark2:after
{
    position: absolute;

    display: none;

    content: '';
}

/* Show the indicator (dot/circle) when checked */
.form .container input:checked ~ .checkmark:after,
.form .container input:checked ~ .checkmark2:after
{
    display: block;
}
/* Style the checkmark/indicator */
.form .checkmark2:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }
/* Style the indicator (dot/circle) */
.form .checkmark:after
{
    top: 5px;
    left: 5px;

    width: 10px;
    height: 10px;

    border-radius: 50%;
    background: white;
}
.form .input.focused::-webkit-input-placeholder,
.form .input:not(.empty)::-webkit-input-placeholder
{
    color: #cfd7df;
}

.form .input.focused::-moz-placeholder,
.form .input:not(.empty)::-moz-placeholder
{
    color: #cfd7df;
}

.form .input.focused:-ms-input-placeholder,
.form .input:not(.empty):-ms-input-placeholder
{
    color: #cfd7df;
}
.form .input:required.focused + label:after,
.form .input:required + label:after
{
    content: '＊';

    color: red;
}
.form .radio-container + label
{
    cursor: default;
    transform: scale(.85) translateY(-5px);

    color: #33a6b8;
}
.form .input.focused + label,
.form .input:not(.empty) + label
{
    cursor: default;
    transform: scale(.85) translateY(-25px);

    color: #aab7c4;
}

.form .input.focused + label
{
    color: #33a6b8;
}

.form .input.invalid + label
{
    color: #ffa27b;
}

.form .input.focused + label + .baseline
{
    background-color: #64c1cf;
}
.form  .radio-container + .input.focused + label + .baseline
{
    position: static;
}
.form .input.focused.invalid + label + .baseline
{
    background-color: #e25950;
}

.form input,
.form button
{
    border-style: none;
    outline: none;

    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
}
.form input#checkbox
{
    appearance:checkbox;
    -webkit-appearance: checkbox;
       -moz-appearance: checkbox;
}
.form label[for=checkbox]
{
    display:block;
    position: relative;
    color:var(--grey);
    bottom:auto;
    pointer-events:initial;
}
.remind {
    float: none;
    width: 100%;
    margin: 10px auto;
    font-size: 0.88em;
    line-height: initial !important;
}
.form input:-webkit-autofill
{
    transition: background-color 100000000s;
    -webkit-animation: 1ms void-animation-out;

    -webkit-text-fill-color: #e39f48;
}

.form .StripeElement--webkit-autofill
{
    background: transparent !important;
}

.form input,
.form button
{
    -webkit-animation: 1ms void-animation-out;
}
.g-recaptcha
{
    width: 305px;
    margin: 5% auto 0;
}
.form button
{
    font-size: 1.25em;
    font-weight: 600;
    line-height: 1.5;

    display: block;

    width: calc(50%);
    height: 40px;
    margin: 4% auto 5%;

    cursor: pointer;
    transition: .3s;
    letter-spacing: 2px;

    color: #fff;
    border-radius: 20px;
    background-color: var(--mainblue);
}
.form button:hover
{
    background-color: #64c1cf;
}
.form .error
{
    font-size: 13px !important;

    position: absolute;
    top: 100%;
    left: 0;

    display: -ms-flexbox;
    display: flex;

    width: 100%;
    margin-top: 20px;
    padding: 0 15px;

    transition-timing-function: cubic-bezier(.165, .84, .44, 1);
    transition-duration: .35s;
    transition-property: opacity, transform;
    transform: translateY(10px);

    opacity: 0;

    -ms-flex-pack: center;
    justify-content: center;
}
.form .error svg
{
    margin-top: 0 !important;
}

.form .error svg .base
{
    fill: #e25950;
}

.form .error svg .glyph
{
    fill: #fff;
}

.form .error .message
{
    color: #e25950;
}

.form .success .icon .border
{
    stroke: #abe9d2;
}

.form .success .icon .checkmark
{
    stroke: #33a6b8;
}

.form .success .title
{
    font-size: 16px !important;

    color: #32325d;
}

.form .success .message
{
    font-size: 13px !important;

    color: #8898aa;
}

.form .success .reset path
{
    fill: #33a6b8;
}
.fix-height
{
    min-height: 13em;
}
@media screen and (max-width: 767.9px)
{
    .contact-us > .form-heading
    {
                flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
    }
    .contact-us > .form-heading img,
    .contact-us > .complete-heading img
    {
        display: block;

        margin-bottom: 5%;
    }
    .form .container
    {
        width: 100%;
    }
    .complete-heading
    {
        width:100%;
        padding:0;
    }
    .crm-icon
    {
        right: -7px;
        top: -12px;
        clear: both;
    }
}

@media (min-width: 319.99px) and (max-width: 373.99px)
{
    .fix-height
    {
        min-height: 15em;
    }
}

@media screen and (min-width: 1900px)
{
    .fix-height
    {
        min-height: 10em;
    }
}

@media screen\0
{
    .form-heading img
    {
        width: auto;
    }
}

@media screen and (max-width: 767px),screen\9
{
    .form-heading img
    {
        width: auto;
    }
}
