@charset "utf-8";
html, body { height: 100%; min-height: 100%; width: 100%; font-size: 16px; }
body, h1,h2,h3,h4,h5,h6 { font-family: Arial,'微軟正黑體','Microsoft YaHei','SimHei','Microsoft JhengHei';  }
input[type=text], textarea, select, .btn { font-size: 13px; }

/* main background color */
html, body,
body > .wrapper,
body > .wrapper > .content-wrapper { background-color: #ecf0f5; }

/* wrapper */
body > .wrapper { position: relative; min-height: 100%; height: auto; }

/* site title */
h3.site-title { float: left; margin: 0; line-height: 50px; color: #fff; font-weight: normal; font-size: 20px;}

/* login and logout */
.logout-btn i { visibility: hidden; }

/* page style */
#content { padding-left: 15px; }
#content section { margin: 20px 0 40px;}
.page-title { font-size: 15px; border-left: 2px solid #333; font-weight: normal; line-height: 145%; padding-left: 10px; margin: 0 0 20px; }

/* reset ul li */
#content ul { padding: 0; }
#content li { display:block; text-decoration: none;}

/* reset menu amd nav style */
.skin-red .sidebar-menu>li>a { border:none; padding-top: 20px; padding-bottom: 20px; }
.main-header .sidebar-toggle { padding: 14px 15px 0px 15px; }
.skin-red .main-header .navbar .sidebar-toggle { opacity:0.3; }
.skin-red .main-header .navbar .sidebar-toggle:hover { opacity:0.8; }
/* default table style */
#content .table,
#content .table th,
#content .table td { border-color:#ddd; }
#content .table th { background: #5b9bd5; color: #fff; text-align: center; font-size: 18px; }
#content .table.table-striped>tbody>tr:nth-of-type(even) { background-color: #deebf7; }
#content .table td { vertical-align: middle; }

/* page links */
.links h3 { font-size: 32px; font-size: 2vw; font-weight: bold; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}
/*.links .link-login h3 { font-size: 32px !important;}*/
.links h4 { font-size: 20px; font-weight: bold; letter-spacing: 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}
.links ul { position: relative; width: 100%; }
.links ul li { float: left; text-align: center; color: #5891c5; width:20%; padding:0 5px;}
.links ul li > div { background: #5891c5; color:#fff; padding:10px; min-height: 210px; }
.links ul li > div > span { display: block;  margin-top: 10px; padding: 10px; font-size:18px; font-family: Arial; font-weight: bold; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}
.links ul li > div > p {  margin: 10px auto 0; line-height: 165%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}
/*.links ul li.link-hint > div { display: table; }*/
/*.links ul li.link-hint > div > p { display: table; display: table-cell; vertical-align: middle; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}*/
.links ul li.link-special > div,
.links ul li.link-vip > div { background: #cca633;}
.links ul li.link-special h4,
.links ul li.link-vip h4 { color: #cca633;}
.links ul li .btn { font-size: 18px; padding: 5px 15px; border: none; }

/* page contact & contact-more */
.contact ul #contact_li { width: 105px; text-align: center; vertical-align: bottom; margin-right: 35px; display: inline-block;}
.contact ul li .img { width: 100%; height: 90px; overflow: hidden; border:1px solid #4472c4; background-color: #fff;}
.contact ul li .img img { max-width: 100%; }
.contact ul li .contact-block {display: block; width: 100%; line-height: 30px; background-color: #4472c4; color: #fff;}
.contact-more ul li { margin-bottom: 10px; }
.contact-more i { display: inline-block; width: 28px; height: 28px; text-align: center; background-color: #ccc; margin-right: 10px; padding:5px; border-radius: 50%; font-size: 18px; color: #fff; }

/*下載中心*/
/* page download */
.download { padding-left: 50px; }
.download ul li { float: left; text-align: center; vertical-align: middle; margin-right: 40px; width: 100px;}
.download ul li .img {  margin-left: 15px;}
.download ul li img { width: 85px; }
.download ul li div {  position: relative; display: inline-block;}
.download ul li div .icon{ border-radius: 100px;}
.download ul li > div { padding:10px; padding-top: 5px;}
.download ul li .icon-btn { color: #797c88; }
.download ul li .icon-btn:hover h4 { font-weight:bold;}
.download h4 { font-size: 17px; padding-left: 15px;}

/* custom menu icon */
i.custom-icon { background: no-repeat center center; display: inline-block; width: 25px; height: 25px; margin-bottom: -8px; margin-right: 8px; font-size:22px  }
i.custom-icon.icon-links { background-image: url(../img/global/icon_links.png)}
i.custom-icon.icon-payment { background-image: url(../img/global/icon_payment.png)}
i.custom-icon.icon-download { background-image: url(../img/global/icon_download.png)}
i.custom-icon.icon-portal { background-image: url(../img/global/icon_portal.png)}
i.custom-icon.icon-desktop { background-image: url(../img/global/icon_desktop.png)}
i.custom-icon.icon-browser { background-image: url(../img/global/icon_browser.png)}
i.custom-icon.icon-contact { background-image: url(../img/global/icon_contact.png)}
i.custom-icon.icon-yubi { background-image: url(../img/global/icon_yubi.png)}
i.custom-icons { background: no-repeat center center; display: inline-block; width: 15px; height: 15px; margin-bottom: -1px; margin-right: 1px; }
i.custom-icons.icon-pay { background-image: url(../img/global/icon_pay.png); background-size: 97%;}

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


/* PLACEHOLDER COLOR */
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    #5e5a5a;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #5e5a5a;
   opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #5e5a5a;
   opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:    #5e5a5a;
}


/* jquery-confirm */
.jconfirm .jconfirm-box div.title,
.jconfirm .jconfirm-box .btn { font-family: arial,'Microsoft YaHei','SimHei','Microsoft JhengHei'; }
.jconfirm label { font-weight: normal; }
.jconfirm.white .jconfirm-box div.title { background: #e9e9e9; border-radius: 5px 5px 0 0; font-size: 18px; font-weight: normal;}
.jconfirm.white .jconfirm-box .buttons button.btn-default:first-child { background: #243a45; color:#fff;}
.jconfirm.white .jconfirm-box .buttons button.btn-default:first-child:hover { background: #600; }
.jconfirm .content { font-size: 16px; min-height: 0;} /* 被 AdminLTE 樣式影響 */
/* 統一各 plug-in modal background 樣式 ( colorbox option 須把背景 opacity 改成 1 ) */
.jconfirm .jconfirm-bg,
#cboxOverlay { background-color: rgba(0,0,0,0.5) !important; }

/* template for dialog */
.template-wrapper { display: none; }

iframe {
    display: block;       /* iframes are inline by default */
    background: #FFF;
    border: none;         /* Reset default border */
    height: 100vh;        /* Viewport-relative units */
 }

/* mediaquries for RWD */
@media screen and (max-width: 1280px) {
  .links ul li { width:25%;}
}
@media screen and (max-width: 992px) {
  .links ul li { width:33%;}
  .links h3 { font-size: 3vw;}
}
@media screen and (max-width: 768px) {
  .links ul li { width:33%;}
  .links h3 { font-size: 3vw;}

  /* fix absolute content height cannot 100% when menu is open on mobile device issue */
  body > .wrapper { height: 100%; overflow: scroll; }
}
@media screen and (max-width: 640px) {
  .links ul li { width:50%;}
  .links h3 { font-size: 5vw;}
  iframe {
    width: 100vw;
 }
}

/* Global login panel */
section.links, section.question { display: none; }
.inline-login { position: fixed; width: 100%; height: 100%; background: #a6a6a6; top: 0; display: none; }
.inline-login-panel { position: relative; /*height: 400px;*/ width: 400px; margin:-300px auto auto -320px; top: 50%; left: 50%; background: #071b40; padding: 20px; text-align: center; }
.inline-login-panel h3 { color: #fff; font-size: 22px; margin-bottom: 30px;}
.inline-login-panel input[type=text] { position: relative; display:block; margin: 0 auto 30px; font-size: 18px; background: #1f4e79; border:1px solid #fff; color: #fff; padding: 10px 20px; text-align: center;}
.inline-login-panel a.login-submit { display: inline-block; font-size: 18px; padding: 10px 15px; margin-bottom: 30px; border-radius: 6px; background: #1f4e79; color: #fff; }
.inline-login-panel a.register-link { color: #d9d9d9; text-decoration: underline; }
.inline-login-tools { position: absolute; width:100%; padding: 5px 10px; top: 0; right: 0; text-align: right;}
.inline-login-tools a { color: #fff; opacity: .4; font-size: 1.5em; }
.inline-login-tools a:hover { opacity: 1; }

@media (max-width: 767px) {
  .inline-login-panel { width: 350px; margin:-50% auto auto; left: 0; }
}


