﻿/* floating button the embed forms */
#generalInquiry {
    display: inline-block;
    width: 51px;
    height: 51px;
    background-color: #d0343a;
    border: 1px solid #fff;
    position: fixed;
    
    /* intercom changes
    right: 15px;
    bottom: 15px;*/
    right: 18px;
    bottom: 82px;
    
    z-index: 999;
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

.gen-inq-floating-button
{
    z-index:500!important;
}

#generalInquiry:before,
#generalInquiry:after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 64% auto;
    z-index: 1;
    width: 50px;
    height: 50px;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

#generalInquiry:before {
    background-image: url("img/generalInquiry_hover.svg");
    opacity: 0;
}

#generalInquiry:after {
    background-image: url("img/generalInquiry.svg");
    visibility: visible;
    opacity: 1;
}

/* mktoForm_2266 */

#mktoForm_2266 .mktoFormRow:nth-of-type(1) .mktoFormCol[style] {
    width: 50%;
    padding: 0 15px;
}

#mktoForm_2266 .mktoFormRow:nth-of-type(1){
    display: flex;
    padding: 0;
    margin-bottom: 0;
}

#mktoForm_2266 .mktoFormRow .mktoFieldWrap{
    display: block!important;
}

#mktoForm_2266 .mktoFormRow:has(input[name='Country']){
    display: none;
}

#mktoForm_2266 .mktoFormRow:nth-of-type(9){
    width: 100%;
}

/* mktoForm_2279 */

#mktoForm_2279 .mktoFormRow:nth-of-type(1) .mktoFormCol[style] {
    width: 50%;
    padding: 0 15px;
}

#mktoForm_2279 .mktoFormRow:nth-of-type(1){
    display: flex;
    padding: 0;
    margin-bottom: 0;
}

#mktoForm_2279 .mktoFormRow .mktoFieldWrap{
    display: block!important;
}

#mktoForm_2279 .mktoFormRow:has(input[name='Country']){
    display: none;
}

#mktoForm_2279 .mktoFormRow:nth-of-type(8){
    width: 100%;
}

#mktoForm_2279 .mktoFormRow:nth-of-type(9){
    width: 100%;
    display: flex;
}

#mktoForm_2279 .mktoFormRow:nth-of-type(9) .mktoFieldWrap{
    margin-left: 10px;
    display: flex!important;
}

#mktoForm_2279 .mktoFormRow .mktoRequiredField label.mktoLabel[style]{
    width: auto!important;
}

/* mktoForm_2280 */

#mktoForm_2280 .mktoFormRow:nth-of-type(1) .mktoFormCol[style] {
    width: 50%;
    padding: 0 15px;
}

#mktoForm_2280 .mktoFormRow:nth-of-type(1){
    display: flex;
    padding: 0;
    margin-bottom: 0;
}

#mktoForm_2280 .mktoFormRow .mktoFieldWrap{
    display: block!important;
}

#mktoForm_2280 .mktoFormRow:has(input[name='Country']){
    display: none;
}

#mktoForm_2280 .mktoFormRow:nth-of-type(9){
    width: 100%;
    display: flex;
}

#mktoForm_2280 .mktoFormRow:nth-of-type(9) .mktoFieldWrap{
    margin-left: 10px;
    display: flex!important;
}

#mktoForm_2280 .mktoFormRow .mktoRequiredField label.mktoLabel[style]{
    width: auto!important;
}

#mktoForm_2280 .mktoFormRow:nth-of-type(8){
    width: 100%;
}

/* mktoForm_2277 */

#mktoForm_2277 .mktoFormRow:nth-of-type(1) .mktoFormCol[style] {
    width: 50%;
    padding: 0 15px;
}

#mktoForm_2277 .mktoFormRow:nth-of-type(1){
    display: flex;
    padding: 0;
    margin-bottom: 0;
}

#mktoForm_2277 .mktoFormRow .mktoFieldWrap{
    display: block!important;
}

#mktoForm_2277 .mktoFormRow:has(input[name='Country']){
    display: none;
}

#mktoForm_2277 .mktoFormRow:nth-of-type(11){
    width: 100%;
    display: flex;
}

#mktoForm_2277 .mktoFormRow:nth-of-type(11) .mktoFieldWrap{
    margin-left: 10px;
    display: flex!important;
}

#mktoForm_2277 .mktoFormRow .mktoRequiredField label.mktoLabel[style]{
    width: auto!important;
}

#mktoForm_2277 .mktoFormRow:nth-of-type(10){
    width: 100%;
}

/* mktoForm_6561 */

#mktoForm_6561 .mktoFormRow:nth-of-type(1) .mktoFormCol[style] {
    width: 50%;
    padding: 0 15px;
}

#mktoForm_6561 .mktoFormRow:nth-of-type(1){
    display: flex;
    padding: 0;
    margin-bottom: 0;
}

#mktoForm_6561 .mktoFormRow .mktoFieldWrap{
    display: block!important;
}

#mktoForm_6561 .mktoFormRow:has(input[name='Country']){
    display: none;
}

#mktoForm_6561 .mktoFormRow:nth-of-type(9){
    width: 100%;
    display: flex;
}

#mktoForm_6561 .mktoFormRow:nth-of-type(9) .mktoFieldWrap{
    margin-left: 10px;
    display: flex!important;
}

#mktoForm_6561 .mktoFormRow .mktoRequiredField label.mktoLabel[style]{
    width: auto!important;
}

#mktoForm_6561 .mktoFormRow:nth-of-type(8){
    width: 100%;
}


/**** 一欄多個勾選項目 *******************************************/
.mktoFroms .mktoFormRow:nth-of-type(1) {
    margin: 0 0 15px;
    width: 100%;
}
.mktoFroms .mktoFormRow:nth-of-type(1) .mktoCheckboxList > input[type=checkbox] + label:before {
    line-height: 1.2em;
    left: 0;
    margin: 0;
}
.mktoFroms .mktoFormRow:nth-of-type(1) .mktoCheckboxList > label {
    line-height: 1.5em;
    display: inline-block;
    margin: 5px 20px 5px 0;
    padding: 0 0 0 24px;
}
.mktoFroms .mktoFormRow:nth-of-type(1) .mktoFormCol[style] {
    float: none;
    position: relative;
    min-height: 2em;
}
.mktoFroms .mktoFormRow:nth-of-type(1) .mktoRequiredField label.mktoLabel[style] {
    float: none;
    width: 100% !important;
}
.mktoFroms .mktoFormRow:nth-of-type(1) div.mktoLogicalField[style] {
    width: inherit !important;
    float: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 13px !important;
}
.mktoFroms .mktoForm .mktoFormRow:nth-of-type(1) .mktoFieldWrap {
    display: block;
}
.mktoFroms .mktoForm .mktoFormRow:nth-of-type(1) input[type=checkbox], .mktoFroms .mktoForm .mktoFormRow:nth-of-type(1) input[type=radio] {
    display: none;
}
/**** 一欄單個勾選項目 *******************************************/ 
.mktoForm .mktoFormRow:nth-of-type(11) input:checked + label:after {
    left: -15px;
}
.mktoFroms #mktoForm_6256 .mktoFormRow label[for="Privacy_Policy_Accepted__c"] {
    margin: 0;
    display: inline-block;
    vertical-align: top;
    width: 1.3em;
    height: 1.3em;
    font-size: 16px!important;
}


.mktoFroms .mktoForm span[style]{
    font-size: 16px!important;
    font-weight: 400!important;
}

.mktoFroms #mktoForm_6256 .mktoForm .mktoFormRow:nth-of-type(11) .mktoFieldWrap {
    position: relative;
    display: flex;
    z-index: 100;
}
.mktoFroms #mktoForm_6256 .mktoFormRow:nth-of-type(11) {
    margin: 20px 0;
}
.mktoFroms #mktoForm_6256 .mktoForm .mktoFormRow:nth-of-type(11) .mktoFieldWrap .mktoAsterix {
    position: relative;
    top: 0;
}
.mktoFroms #mktoForm_6256 .mktoFormRow:nth-of-type(11) {
    width: 100%;
}
.mktoFroms #mktoForm_6256 .mktoFormRow:nth-of-type(11) .mktoCheckboxList[style] {
    display: inline-block;
    padding: 0 0 0 16px !important;
}
.mktoFroms #mktoForm_6256 .mktoFormRow:nth-of-type(11) .mktoHtmlText.mktoHasWidth[style] {
    width: 100% !important
}

.mktoFroms #mktoForm_6256 .mktoFormRow:nth-of-type(11) .mktoFormCol {
    /* padding: 0 0 0 38px; */
}

.mktoFroms #mktoForm_6256 .mktoForm .mktoFormRow:nth-of-type(11) .mktoRequiredField label.mktoLabel[style] {
    padding-left: 0;

}

.mktoFroms #mktoForm_6256 #LblPhone {
    width: 172px!important;
}

.mktoFroms #mktoForm_6256 #LblCountry {
    width: 172px!important;
}

.mktoFroms #mktoForm_6256 .mktoFormRow:nth-of-type(12) .mktoCheckboxList[style]{
    font-size: 16px;
}


.mktoFroms #mktoForm_5761 .mktoFormRow:nth-of-type(11) {
    display: flex;
    width: 100%;
    align-items: center;
}

.mktoFroms #mktoForm_5761 .mktoFormRow:nth-of-type(11) .mktoLabel {
    width: 10px!important;
}

.mktoFroms #mktoForm_5761 .mktoFormRow:nth-of-type(11) .mktoLabel .mktoAsterix {
    top: -7px;
}


.mktoFroms #mktoForm_5761 .mktoFormRow:nth-of-type(10) .mktoLabel {
    width: 10px!important;
}

.mktoFroms #mktoForm_5761 .mktoFormRow:nth-of-type(11) .mktoFieldWrap{
    margin-left: 10px;
}

.mktoFroms .mktoFormRow .mktoLabel{
   font-size: 16px;
   font-weight: 400;
}

#mktoForm_6561 .mktoFormCol{
    margin-bottom: 10px!important;
}

/* .mktoFroms #mktoForm_6561 .mktoFormRow:nth-of-type(8) {
    display: flex;
    width: 100%;
    align-items: center;
} */

.mktoFroms #mktoForm_6561 .mktoFormRow:nth-of-type(9) {
    display: flex;
    /* width: 100%; */
    align-items: center;
}

.mktoFroms #mktoForm_6561 .mktoFormRow:nth-of-type(9) .mktoLabel {
    width: 10px!important;
}

#mktoForm_6561 .mktoFormRow:nth-of-type(9) .mktoFormCol{
    margin-bottom: 0px!important;
}

.mktoFroms #mktoForm_6561 .mktoFormRow:nth-of-type(9) .mktoLogicalField{
    margin-right: 10px;
}

/* .mktoFroms .mktoFormRow:nth-of-type(11) .mktoFieldDescriptor.mktoFormCol {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 15px;
    padding: 0;
    margin: 0 !important;
    z-index: 5;
    width: inherit !important;
} */
/* .mktoFroms .mktoForm .mktoFormRow:nth-of-type(11) .mktoRequiredField label.mktoLabel[style] {
    width: auto !important;
    display: inline-block;
    position: absolute;
    top: -1px;
    left: -12px;
    margin: 0;
    height: 15px;
} */
#mktoForm_6256 .mktoFroms .mktoFormRow:nth-of-type(11) .mktoHtmlText.mktoHasWidth p {
    font-size: 1.3rem;
}
/**** 一欄單個勾選項目 *******************************************/ 
.mktoForm .mktoFormRow:nth-of-type(12) input:checked + label:after {
    left: -15px;
}
.mktoFroms .mktoFormRow:nth-of-type(12) label[for="eUOptin"] {
    margin: 0;
    display: inline-block;
    vertical-align: top;
    width: 1.3em;
    height: 1.3em;
}
.mktoFroms .mktoForm .mktoFormRow:nth-of-type(12) .mktoFieldWrap {
    position: relative;
    display: block;
}
.mktoFroms .mktoFormRow:nth-of-type(12) {
    margin: 20px 0;
}
.mktoFroms .mktoForm .mktoFormRow:nth-of-type(12) .mktoFieldWrap .mktoAsterix {
    position: relative;
    top: 0;
}
.mktoFroms .mktoFormRow:nth-of-type(12) {
    width: 100%;
}
.mktoFroms .mktoFormRow:nth-of-type(12) .mktoCheckboxList[style] {
    display: inline-block;
    padding: 0 0 0 16px !important;
}
.mktoFroms .mktoFormRow:nth-of-type(12) .mktoHtmlText.mktoHasWidth[style] {
    width: 100% !important
}
.mktoFroms .mktoFormRow:nth-of-type(12) .mktoFormCol {
    padding: 0 0 0 38px;
}
.mktoFroms .mktoFormRow:nth-of-type(12) .mktoFieldDescriptor.mktoFormCol {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 15px;
    padding: 0;
    margin: 0 !important;
    z-index: 5;
    width: inherit !important;
}
.mktoFroms .mktoForm .mktoFormRow:nth-of-type(12) .mktoRequiredField label.mktoLabel[style] {
    width: auto !important;
    display: inline-block;
    position: absolute;
    top: -1px;
    left: -12px;
    margin: 0;
    height: 15px;
}
.mktoFroms .mktoFormRow:nth-of-type(12) .mktoHtmlText.mktoHasWidth p {
    font-size: 1.3rem;
}
/**** 需求說明欄 *******************************************/        
.mktoFroms .mktoFormRow:nth-of-type(10) {
    width: 100%!important;
}
.mktoFroms .mktoForm .mktoFormRow label.mktoLabel[style] {
    width: 184px !important;
}
/**** 隱藏欄位 *******************************************/     
.mktoFroms .mktoFormRow:nth-of-type(15), .mktoFroms .mktoFormRow:nth-of-type(13), .mktoFroms .mktoFormRow:nth-of-type(14) {
    display: none!important;
}

@import "../Template/BaseStyles/font-awesome.min.css";
.mktoFroms {
    font-family: Ubuntu, 'Arial', '微軟正黑體', sans-serif !important;
    padding: 70px 0;
}
.mktoFroms .mktoFormCol[style] {
    float: none !important;
    position: relative;
    min-height: auto;
    margin: 0 !important;
}
.mktoFroms .mktoForm div, .mktoFroms .mktoForm span, .mktoFroms .mktoForm label, .mktoFroms .mktoForm p {
    line-height: 1.5;
}
.mktoFroms .mktoForm span[style] {
color: #666!important;
font-weight: 500;
}
.mktoFroms input[type=text], .mktoFroms input[type=url], .mktoFroms input[type=email], .mktoFroms input[type=tel], .mktoFroms input[type=number], .mktoFroms input[type=date], .mktoFroms select.mktoField, .mktoFroms textarea.mktoField {
    outline: none;
    display: block;
    font-weight: 300;
    font-size: 13px;
    padding: 5px 10px;
    line-height: 1.5;
    color: #212529;
    background-color: rgba(0, 0, 0, .02);
    background-clip: padding-box;
    border: 1px solid #ccc !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    box-shadow: none;
    min-height: 1.9em;
    width: inherit !important;
}
.mktoFroms input:-webkit-autofill, .mktoFroms input:-webkit-autofill:hover, .mktoFroms input:-webkit-autofill:focus, .mktoFroms input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
}
.mktoForm input[type=checkbox] + label:before, .mktoForm input[type=radio] + label:before {
    width: 1.3em !important;
    height: 1.3em !important;
    box-shadow: none;
    border: 1px solid #aeb0b6;
    background-color: rgba(0, 0, 0, .02);
}
.mktoForm input[type=checkbox]:checked + label:before {
    content: "";
    background: #bbbebe;
    border-color: #bbbebe;
}
.mktoForm input:checked + label:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 8px;
    background: white;
    width: 2px;
    height: 2px;
    box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white, 4px -6px 0 white, 4px -8px 0 white;
    transform: rotate(45deg);
}
.mktoFroms *, forms-main *::before, .mktoFroms *::after {
    box-sizing: border-box;
}
.mktoFroms h2 {
    text-align: center;
    padding: 0 0 15px;
    border-bottom: 1px solid #dedede;
    margin: 0 0 15px;
}
.mktoFroms_content {
    margin: 0 auto;
    width: 88%;
    max-width: 480px;
}
.forms-card {
    display: block;
    background: #fff;
    overflow: hidden;
    padding: 30px;
    background-color: #fff;
    border: 1px solid #f1f1f1;
    box-shadow: 2px 2px 5px #dedede;
}
.mktoForm .mktoRequiredField .mktoAsterix {
    display: inline-block;
    float: none;
    padding: 0;
    position: absolute;
    top: 2px;
    left: 0;
    vertical-align: middle
}
.mktForms .mktoRequiredField label.mktoLabel {
    font-size: 16px;
}
.mktoFroms .mktoFormRow .mktoCheckboxList > label {
    position: relative;
}
.mktoFroms form[style] {
    font-family: Ubuntu, 'Arial', '微軟正黑體', sans-serif !important;
    font-size: 16px !important;
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0;
    width: inherit !important;
    margin: 0 -15px;
}
.mktoFroms .mktoHtmlText[style] {
    width: inherit !important;
}
.mktoFroms .mktoForm .mktoFormRow .mktoRequiredField label.mktoLabel[style] {
    width: 100% !important;
    font-size: 16px;
    font-weight: 400;
    float: none;
    margin: 0 0 3px;
    position: relative;
    padding: 0 0 0 12px;
}
.mktoFroms .mktoFormRow {
    position: relative;
    width: 100%;
    padding: 0 15px;
    margin: 6px 0;
}
.mktoFroms .mktoForm .mktoRadioList[style], .mktoFroms .mktoForm .mktoCheckboxList[style] {
    padding: 0 !important;
    float: none;
    width: inherit !important;
    border: 0;
}
.mktoFroms .mktoForm .mktoFormRow .mktoFieldWrap {
    float: none;
    width: 100% !important;
}
.mktoFroms .mktoOffset, .mktoFroms .mktoGutter.mktoHasWidth, .mktoClear {
    float: none;
    display: none;
}
/***** 送出按鈕  *************************************************/
.mktoFroms .mktoButtonRow {
    position: relative;
    border-top: 1px solid #dedede;
    width: 100% !important;
    text-align: center;
    padding: 15px 0 0;
}
.mktoFroms .mktoForm .mktoButtonRow span[style] {
    display: inline-block;
    width: auto;
    margin: 0 !important;
}
.mktoFroms .mktoButtonRow .mktoButton {
    font-size: 20px !important;
    font-weight: 400 !important;
    color: #fff !important;
    background-color: #d0343a !important;
    background-image: none !important;
    border: 1px solid transparent !important;
    border-radius: 0 !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    padding: 12px 0 14px 0 !important;
    text-shadow: none !important;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    width: 150px;
}
.mktoFroms .mktoButtonRow .mktoButton:hover {
    background-color: #ee432e !important;
}
.mktoForm .mktoError .mktoErrorMsg {
    background-color: #d0343a;
    background-image: -webkit-linear-gradient(#d0343a 43%, #d0343a 100%);
    background-image: -moz-linear-gradient(#d0343a 43%, #d0343a 100%);
    background-image: linear-gradient(#d0343a 43%, #d0343a 100%);
    background-image: -ms-linear-gradient(#d0343a 43%, #d0343a 100%);
    border: 1px solid #9f1300;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: rgb(0 0 0 / 50%) 0 2px 5px, inset #ff3c3c 0 1px 0px;
    box-shadow: rgb(0 0 0 / 50%) 0 2px 5px, inset #ff3c3c 0 1px 0px;
}


.mktoFormRow:has(.mktoPlaceholdercommentCapture){
    display: none;
}


.mktoForm input[type=checkbox],
.mktoForm input[type=radio] {
  width:1em;
  height:1em;
  opacity:0;
}

.mktoForm input[type=checkbox] + label:before,
.mktoForm input[type=radio] + label:before
{
  content: "";  
  position:absolute;
  width:1em;
  height:1em;  
  margin-left:-1.5em;
  line-height:1em;
  background-color:#fff;
  /* box-shadow:inset 1px 1px 4px 1px #ddd; */
  font-family:Arial, sans-serif;
  font-size:13px;
  border:1px solid #aeb0b6;
}

.mktoForm .mktoLabelToLeft input[type=checkbox] + label:before,
.mktoForm .mktoLabelToLeft input[type=radio] + label:before{
  margin-left:0;
  right:0.3em;
}

.mktoForm input[type=checkbox]:checked + label:before,
.mktoForm input[type=radio]:checked + label:before {
  text-align:center;
  color:#000;
}

.mktoForm input[type=checkbox]:focus + label:before,
.mktoForm input[type=radio]:focus + label:before{
  border:1px solid #888;
}

.mktoForm input[type=checkbox] + label:before{
  border-radius:2px;

}
.mktoForm input:checked + label:after{
    content: "";
    position: absolute;
    left: -14px;
    top: 8px;
    background: white;
    width: 2px;
    height: 2px;
    box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white, 4px -6px 0 white, 4px -8px 0 white;
    transform: rotate(45deg);
}

#mktoForm_6256 .mktoFormRow:nth-child(3) input:checked + label:after{
    left: -14px;
}

.mktoFroms .mktoFormRow:nth-of-type(1) input:checked + label:after{
    left: 5px;
}

.mktoForm input[type=radio] + label:before{
  border-radius:1em;
}



@media (min-width: 980px) {
    .mktoFroms_content {
        max-width: 1024px;
    }
    .mktoFroms .mktoForm .mktoFormRow .mktoFieldWrap {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
    }
    .mktoFroms .mktoForm .mktoFormRow .mktoRequiredField label.mktoLabel[style] {
        width: 230px !important;
    }
    .mktoFroms .mktoFormRow {
        width: 50%;
    }
}

@media screen and (min-width: 768px) {
    #generalInquiry {
         /* intercom changes 
        right: 50px;
        bottom: 112px; */
        right: 18px;
        bottom: 162px;
    }

    #generalInquiry:hover {
        background-color: #d75d6a;
    }
}


@media screen and (min-width: 768px) and (max-width: 979px) {
    #generalInquiry {
        /* intercom changes */
        right: 18px;
        bottom: 92px;
    }
}
