@charset "UTF-8";
* {
    outline: none;
}

html,
html body {
    background-image: url(about:blank);
    background-attachment: fixed;
    background-color: white;
}

body {
    font: 12px arial;
    color: #000000;
    background: #f6f7f7;
}

a {
    color: #666666;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    display: block;
}

h1 {
    font-size: 36px;
    text-align: center;
    color: black;
    margin: 28px 0 -2px;
}

h2 {
    font-size: 1.5em;
    padding-bottom: 6px;
    text-align: center;
}

h3 {
    font-size: 1.5em;
    color: #666666;
    padding-bottom: 6px;
}

p {
    margin: 11px 0;
}

#wrapper {
    margin: 0 auto;
    background: #ffffff;
    padding-top: 12px;
    width: 960px;
}

.hiddenH1Wrapper {
    left: -9999px;
    position: absolute;
}

.hiddenH1EditBtn div.ocms_de_bt {
    left: auto !important;
    position: fixed !important;
    right: 0 !important;
    top: 0 !important;
}

.spanHeadline {
    font-size: 2em;
    color: #6a747a;
    clear: both;
    margin: 8px 0;
}


/*************    Right Menu   *************/

#right {
    position: absolute;
    top: 6px;
    right: 12%;
}

#menu {
    width: 622px;
    height: 18px;
    position: absolute;
    top: 0px;
    right: 165px;
    text-align: right;
    padding-top: 2px;
    color: #c1c1c1;
}

#menu ul {
    list-style-type: none;
    height: 13px;
    float: right;
    margin: 0;
}

#menu ul li {
    height: 13px;
    line-height: 13px;
    float: left;
    border-right: 1px solid #c1c1c1;
    padding: 0 8px;
}

#menu ul li.first {
    border-left: none;
}

#menu ul li div a {
    display: block;
}

#menu ul li.selected a {
    color: #ee1b2e;
}

#menu ul #home {
    background: url() no-repeat 8px 0;
}

#menu ul #home.selected {
    background-position: 8px -13px;
}

#menu ul #home div a {
    width: 15px;
    height: 13px;
}

#menu #fontsizer a {
    font-size: 14px;
    color: #a0a0a0;
    text-decoration: none;
}

#menu #fontsizer a.a {
    font-weight: bold;
    padding: 0 2px;
}

#menu #fontsizer a.a18 {
    font-size: 18px;
}

#menu #fontsizer a.a14 {
    font-size: 14px;
}

#menu #fontsizer a.a10 {
    font-size: 10px;
}

#menu #fontsizer a.selected {
    color: #000000;
}

#searchbox {
    width: 165px;
    height: 20px;
    position: absolute;
    top: 0px;
    right: 0px;
}

#searchbox input {
    position: absolute;
    right: 0;
}

#searchbox #keywords {
    width: 137px;
    height: 18px;
    color: #666666;
    border-width: 1px;
    border-color: #cdcdcd;
    border-style: solid none solid solid;
    padding: 0 3px;
    right: 21px;
}

#logo {
    display: inline;
    position: static;
}

#logo img {
    width: 120px;
    height: auto;
}

#slogan {
    position: relative;
    margin: -24px 0 0 130px;
    color: #595959;
}

#slogan p {
    font-size: 10t;
}

#line {
    display: block;
    margin: auto;
    margin-top: 15px;
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
}

#redline {
    display: block;
    margin: auto;
    width: 150px;
    border-bottom: 5px solid #CC0000;
}

.ibm-va .chatbotDiv2 {
    background: linear-gradient(rgba(215, 21, 34, 1), rgba(230, 0, 31, 1));
}

.ibm-va .chatbotTitle {
    background-image: url('https://chatbot.pcalife.com.tw/webChat/images/pcatitle.svg');
}

.tableform select, select>option {
	color: black;
}

.has-danger input[name="policy_no"] {
	border-bottom: 1px solid #c8c8c8
}

#otpBtn {
    padding: revert;
    margin: auto;
}

.ui-datepicker-trigger { 
	position:relative;
	width: 25px;
	top:-5px ;
}

.ui-dialog .ui-widget-header {
    background: linear-gradient(rgba(215, 21, 34, 1), rgba(230, 0, 31, 1));
    color: white;
}

.icon-OTP {
  content: "" !important;
  background-image: url("/cwsol/images/icons/s4Icon3.png");
  background-size: auto 100%;
  width: 20px;
  height: 20px;
  display: inline-block;
}

.card_step3itemHeaderImg {
  margin-top: -3px;
  margin-right: 7px;
}

/*     input style    */

::-webkit-input-placeholder {
    /* WebKit, Blink, Edge */
    color: #C8C8C8;
}

:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #C8C8C8;
    opacity: 1;
}

::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #C8C8C8;
    opacity: 1;
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #C8C8C8;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #C8C8C8;
}

input[type="text"],
input[type="number"],
input[type="tel"] {
    width: 100%;
    padding-bottom: 2px;
    margin: 0 0 12px 0;
    box-sizing: border-box;
    border: none;
    border-bottom: 1px solid #c8c8c8;
    border-radius: 0;
}

label {
    cursor: pointer;
}


select {
    display: inline-block;
    padding: 0.375rem 1.25rem 0.375rem 0rem;
    background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right 0.5rem center;
    background-size: 8px 10px;
    border-top: none;
    border-right: none;
    border-left: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
     -ms-appearance: none;
      -o-appearance: none;
         appearance: none;
}

select::-ms-expand {
    display: none;
}

.form-inline input[type="text"],
.form-inline input[type="number"] {
	width:auto;
}
input[type="number"][name="housing mortgage-year"] {
	width:50px;
}

input[type="text"][name="loans_for_years"] {
	width:50px;
}

.rcorners {
    font-size: 14pt;
   /*  border-radius: 25px; */
    border: 2px solid #cc0000;
    padding: 6px 28px;
    margin: 10px;
    background-color: #cc0000;
    cursor: pointer;
}

.rcorners:hover {
    background-color: #cc0000;
    color: #fff;
}


/****************** Footer ****************/

#footer {
    padding: 11px 20px 5px;
    border-top: 1px solid #c1c1c1;
    border-bottom: 10px solid #ed1b2e;
    clear: both;
    height: 67px;
}

#footer a {
    white-space: nowrap;
}

#footer ul li {
    float: left;
    list-style-type: none;
}

#footermenu,
#footermenu2 {
    width: 920px;
    clear: both;
    margin: 0;
    padding: 0;
}

#footermenu {
    margin-bottom: 13px;
}

#footermenu li div.headline {
    margin: 0 0 4px 9px;
}

#footermenu li.first div.headline {
    margin-left: 0;
}

#footermenu li ul {
    margin: 0;
    padding: 0;
}

#footermenu li ul li,
#footermenu2 li {
    border-left: 1px solid #c1c1c1;
    padding: 0 8px;
}

#footermenu li ul li.first,
#footermenu2 li.first {
    border-left: none;
    padding-left: 0;
}

#copyright {
    font-size: 0.9em;
    color: #666666;
    padding-top: 13px;
    clear: both;
}

#social-links {
    float: right;
}

#social-links a {
    padding: 1px 0 4px 20px;
    background: transparent url(../images/social-icons.gif) no-repeat top left;
    vertical-align: middle;
}

#social-links a#link-facebook {
    background-position: 0 0;
    padding-right: 20px;
}

#social-links a#link-twitter {
    background-position: 0 -24px;
    padding-right: 20px;
}

#social-links a#link-youtube {
    background-position: 0 -47px;
    padding-right: 20px;
}

#social-links a#link-linkedin {
    background-position: 0 -70px;
}


/* Footer */

@media screen and (min-width: 768px) {
    content,
    input,
    select {
        font-size: 12pt;
    }
    #main {
        margin: 0;
    }
    #infoselect {
        font-size: 14px;
        border-bottom: 1px solid black;
        padding-bottom: 4px;
        width: 149px;
        margin-bottom: 30px;
    }
    .left {
        display: block;
        float: left;
        margin-right: 15px;
        margin-bottom: 4px;
        padding-bottom: 4px;
        border-bottom: 1px solid #C8C8C8;
    }
    .leftin {
        display: block;
        float: left;
        margin-right: 15px;
        margin-bottom: 4px;
        padding-bottom: 4px;
        color: #C8C8C8;
    }
    .tableform {
        float: left;
        width: 45%;
        margin: 0 5% 0 0;
        height: 100px;
    }
    .tableformHigh {
    	float: left;
        width: 45%;
        margin: 0 5% 0 0;
        height: 100px;
    }
    .tableformthi {
        width: 100%;
        margin-bottom: 25px;
    }
    .tableformsec select {
        color: #c8c8c8;
    }
    .tableform select {
        margin: 0 0 0 -8px;
        color: #c8c8c8;
    }
    .tableform span {
        float: left;
    }
    .tableform .row1 p {
        font-size: 8pt;
        margin: 0;
    }
    .row11 {
        float: left;
        width: 40%;
        margin-bottom: 70px;
    }
    .row12 {
        float: left;
        width: 50%;
        margin-bottom: 12px;
        /* color: #c8c8c8; */
    }
    .row22 {
    	height: 100px !important;
    }
    .row1 {
        float: left;
        width: 30%;
        margin-bottom: 12px;
    }
    .row2 {
        float: left;
        width: 65%;
        margin-bottom: 12px;
        /* color: #c8c8c8; */
    }
    .row3 input {
        width: 46%;
        margin-bottom: 12px;
    }
    .row4 {
        float: left;
        width: 13%;
    }
    .row5 {
        width: 100%;
    }
    .row6 {
        clear: both;
        width: 40%;
        height: 40px;
    }
    .row7 {
        width: 66%;
    }
    .agre {
        display: block;
        margin: 15px auto;
        text-align: left;
        font-size: 15px;
        clear: both;
    }
    .agre a {
        text-decoration: underline;
    }
    .ent {
        display: block;
        margin: 35px auto;
        text-align: center;
        margin: 35px;
    }
    .ent a {
        color: #990000;
    }
    .back {
        font-size: 14pt;
        margin-top: -60px;
        width: 300px;
        height: 60px;
    }
    .back a {
        color: #990000;
    }
    .cus {
        float: left;
    }
    .visible-mb {
    	display: none;
    }
    div.ui-datepicker{
	  font-size: 20px;
	}
}

@media screen and (max-width: 767px) {
    content,
    input,
    select {
        font-size: 12pt;
    }
    #wrapper {
        width: 100%;
    }
    h1 {
        font-size: 34px;
        text-align: center;
        color: black;
        margin: 0 0 -2px;
    }
    h2 {
        font-size: 18px;
        margin: 27px 20% 40px 20%;
        color: black;
        text-align: justify;
    }
    #menu,
    #searchbox,
    #slogan,
    #nav,
    #footer {
        display: none;
    }
    #header {
        width: 100%;
    }
    #logo {
        display: block;
        margin: auto;
        padding-top: 35px;
        padding-bottom: 45px;
        float: inherit;
        width: 136px;
        height: 59px;
    }
    #logo img {
        width: 136px;
        height: 59px;
    }
    #line {
        display: block;
        margin: 0 auto -40px;
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
    }
    #redline {
        display: block;
        margin: auto;
        width: 150px;
        border-bottom: 5px solid #CC0000;
    }
    #main {
        margin: 0 10%;
    }
    #infoselect {
        font-size: 14px;
        display: block;
        margin: auto;
        border-bottom: 1px solid black;
        padding-bottom: 4px;
        width: 149px;
        margin-bottom: 35px;
    }
    .tableform {
        height: 100px;
    }
    .tableformHigh {
        height: 130px;
    }
    .tableformsec {
        width: 100%;
        margin-bottom: 25px;
    }
    select {
        color: #c8c8c8;
    }
    .tableformthi {
        width: 100%;
        margin-bottom: 25px;
    }
    .tableformthi select {
        margin-top: 5px;
    }
    .row11 {
    }
	.row22 {
    	height: 80px !important;
    }
    .tableformsec {
    	width: 100%;
    	margin-bottom: auto;
    }
    .row1 {
        margin-bottom: 8px;
    }
    .row2 {
        color: #c8c8c8;
    }
    .row2 p {
        margin: -17px 0 0 0;
    }
    .row3 input {
        width: 64%;
    }
    .tableform .row1 p {
        font-size: 8pt;
        margin: 0;
    }
    .agre {
        display: block;
        margin: 48px auto;
        margin-left: -12px;
        text-align: center;
        font-size: 15px;
    }
    .agre a {
        text-decoration: underline;
    }
    .ent {
        display: block;
        margin: 35px auto;
        text-align: center;
    }
    .ent a {
        color: #990000;
    }
    .back {
        display: block;
        margin: auto;
        text-align: center;
        font-size: 14pt;
        margin-top: 15px;
        width: 300px;
        height: 60px;
    }
    .back a {
        color: #990000;
    }
    .back a img {
        width: 30px;
        height: 22px;
        margin: 30px 0 0 50px;
    }
}

.has-danger .input-feedback {
    color: #F00;
}
.has-danger input {
    border-color: #f00;
}
.has-success .input-feedback {
    color: #00C73C;
}

.tableform .tableformValidate {
    display: inline-block;
}
