@font-face{
    font-family: 'PruSansNormal';
    src : url('fonts/pru-regular.ttf');
}
body {
    background: #A8A8A8;
    font-family: 'PruSansNormal','Microsoft JhengHei',微軟正黑體,'PingFang TC','Heiti TC','San Francisco', 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight:300;
    color: #000;
}

body a {
    color: #68737A;
    cursor: pointer;
}

body a:hover {
    color: #4a4a4a;
    text-decoration: none;
}

body input:focus,
body select:focus,
#salutation-button:focus,
.ui-button:focus {
    outline: none;
}

/*navbar mps logo*/

.bg-white .navbar-brand {
    color: #d0011b;
    font-weight: bold;
    line-height: 1.15;
    font-size: 30px;
    padding-left: 20px;
}

.navbar-brand {
    margin-right: 0\0/;
}

.clearFix {
    clear: both;
}

#mpsLogo {
    float: left\0/;
}


/*navbar items*/

#topNav {
    position: fixed;
    z-index: 800;
    top: 0;
    right: 0;
    left: 0;
    margin: 0 15px;
}

#navButton {
    padding-right: 30px;
}

#navButton a {
    font-size: 20px;
    padding: .2rem 1rem;
}

#navButton a.active {
    color: #ee3531;
}

#navButton .dropdown-menu a.dropdown-item {
    padding: 0;
    background-color: transparent;
    margin: 0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.navbar-light .navbar-brand:hover,
.navbar-light .navbar-brand:active,
.navbar-light .navbar-brand:focus {
    border: none;
    outline: none;
    color: #d0011b;
}

.navbar {
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
}

.dropdown {
    white-space: nowrap;
    background-color: transparent;
}

#navButton .dropdown-menu {
    background-color: transparent;
    padding: 0;
    border-radius: 2px;
    border: none;
    z-index: 900;
}

#navButton .dropdown-menu a.dropdown-item {
    /* white-space: normal; */
    background-color: #ffffff;
    min-width: 160px;
    font-size: 16px;
    padding: 6px 10px;
    margin: 0;
}

#navButton .dropdown .dropdown-menu a.dropdown-item:active {
    border: none;
    background-color: #ee3531;
    color: #ffffff;
}

.arrowheadLine {
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    height: 5px;
    background-color: #ee3531;
}

.arrowheadTriangle {
    position: relative;
    left: 30%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent #ee3531 transparent;
}

.dropdown-divider {
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    height: 2px;
    border: 0;
    padding: 0;
    margin: 0;
    background-color: #ee3531;
}

/*breadcrumb*/

.breadcrumb {
    background-color: #f5f5f5;
    color: #4a4a4a;
    padding: .75rem 40px;
    margin-bottom: 0;
    /* box-shadow: 5px 10px 8px #888888; */
    border-radius:0;
}

.breadcrumb li {
    font-size: 18px;
    line-height: 20px;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">";
}

.breadcrumb-item {
    float: left\0/;
}

/*商品資訊 textBlock*/

#navInfo,
.navInfo {
    font-size: 18px;
    line-height: 20px;
    color: #ee3531;
}

/*頁籤按鈕*/

.nav-tabs {
    border-bottom: none;
    background: #f5f5f5;
}

.bg-f5f5f5 {
    background: #f5f5f5;
}

.nav-tabs .nav-item {
    box-shadow: 3px 5px 10px rgba(0, 0, 0, 0.7);
    position: relative;
    display: inline-block\0/;
    width: 112px\0/;
}

.nav-tabs .nav-item .nav-link {
    border-radius: 0;
    background-color: #aaaaaa;
    color: #fff;
    border: none;
    border-top: 5px solid #aaaaaa;
    padding: 4px 20px;
    font-size: 18px;
}

.nav-tabs .nav-link:hover {
    border-color: #aaaaaa;
}

.nav-tabs .nav-item.active {
    z-index: 99;
}

.nav-tabs .nav-item.active a {
    background-color: #fff;
    border-top: 5px solid #ee3531;
    color: #ee3531;
}

/*頁籤區塊容器*/

#tabBlock {
    background-color: #fff;
    position: relative;
    z-index: 99;
}

/*操作按鈕*/
.btn{
	border-radius:0;
	font-weight:300;
	white-space: nowrap;
}
.btnRed {
    background-color: #ee3531;
    color: #fff;
    text-align: center;
    width: 32px;
    height: 32px;
    line-height: 32px;
}

.btnRedText {
    color: #ee3531;
    background-color: #fff;
    line-height: 26px;
    padding: 1px 5px;
    border: 2px solid #ee3531;
    float: left;
    float: none\0/;
}

.btnBlue {
    background-color: #6789ba;
    color: #fff;
    text-align: center;
    width: 32px;
    height: 32px;
    line-height: 32px;
}

.btnBlueText {
    color: #6789ba;
    background-color: #fff;
    line-height: 26px;
    padding: 1px 5px;
    border: 2px solid #6789ba;
    float: left;
    float: none\0/;
}

.btnGray {
    background-color: #d8d8d8;
    color: #4a4a4a;
    text-align: center;
    width: 32px;
    height: 32px;
    line-height: 32px;
}

.btnGrayText {
    color: #4a4a4a;
    background-color: #fff;
    line-height: 26px;
    padding: 1px 5px;
    border: 2px solid #d8d8d8;
    float: left;
    float: none\0/;
}

.fa {
    font-size: 18px;
}

/*for ie9 兩個字的按鈕長度*/

/* #engineLoadButton,
#fieldLoadButton,
#clearEngineEdit,
#cancelEngineEdit,
#clearFieldEdit,
#cancelFieldEdit ,
#preViewTabButton,
#alertAcheck,
#closeEnginePreview,
#closeFieldPreview, */

.button2Word {
    width: 80px\0/;
    display: inline-block\0/;
}

/*for ie9 四個字的按鈕長度*/

/* #addEngineRule,
#addFieldRule,
#engineTestSave,
#enginePublish,
#fieldTestSave,
#fieldPublish ,
#bookMarkTestSave ,
#bookMarkPublishNew, */

.button4Word {
    width: 110px\0/;
    display: inline-block\0/;
}

/*for ie9 五個字的按鈕長度*/

/* #addNewTab */

.button5Word {
    width: 130px\0/;
    display: inline-block\0/;
}

/*頁籤主畫面*/
.mainContent{
	width:100%;
	background:#A8A8A8;
	padding:47px 40px;
}
.card-header {
	background-color: #FFF;
    min-height: 37px;
    border:0;
/*     line-height: 24px; */
}
.card-header:first-child{
	border-radius:0;
}

.listBox {
    text-align: center;
    font-size: 16px;
    padding: 6px 0;
}

.editBox {
    text-align: center;
    height: 40px;
    font-size: 16px;
    padding: 4px 2px;
    height: 39px\0/;
    display: inline-block\0/;
    vertical-align: bottom\0/;
    padding: 3px 2px\0/;
}

.deleteButton,
.cancelButton,
.cancelAddButton {
    position: absolute;
    right: 0px;
}

.iconBox {
    margin-right: -4px;
}

.spaceBox {
    width: 90px;
}

.list-group-item {
    margin-bottom: 0;
    padding: 0;
    border: none;
    line-height: normal\0/;
}

/*編輯input樣式*/

.editBox input {
    border-radius: 2px;
    width: 90%;
    text-align: center;
    box-shadow: inset 0 1px 1px 0 rgba(0, 0, 0, 0.3);
    border: solid 1px #979797;
    color: #4a4a4a;
    padding: 3px 0;
    height: 33px\0/;
}

/*select2 select樣式修正*/
.select2-container .select2-selection--single {
    border: solid 1px #979797;
    padding: 2px 6px;
    height: auto;
    border-radius: 2px;
    box-shadow: inset 0 1px 1px 0 rgba(0, 0, 0, 0.3);
    min-height: 33px;
}

.select2-container:focus, .select2-selection:focus{
	outline:0;
}

/* .select2-container--default .select2-selection--multiple { */
/*     border: solid 1px #979797; */
/*     font-family: "Microsoft JhengHei"; */
/*     margin-bottom: 4px; */
/*     border-radius: 2px; */
/*     line-height: 24px; */
/*     box-shadow: inset 0 1px 1px 0 rgba(0, 0, 0, 0.3); */
/* } */

/* .select2-container .select2-selection--single:focus { */
/*     outline: none; */
/* } */

/* .select2-container--default.select2-container--focus .select2-selection--multiple { */
/*     border: solid 1px #979797; */
/* } */

/* .select2-container--default .select2-selection--single .select2-selection__arrow { */
/*     top: 5px; */
/* } */

/* .select2-container--default .select2-selection--multiple .select2-selection__choice { */
/*     margin-top: 5px; */
/* } */

/* .select2-container .select2-selection--single .select2-selection__rendered { */
/*     padding: 0; */
/* } */

/* .select2-container--default .select2-selection--single .select2-selection__placeholder { */
/*     color: #dddddd; */
/* } */

/* .select2-container--default .select2-selection--single .select2-selection__clear { */
/*     margin-right: 15px; */
/* } */

/*footer*/

footer {
    border-top: 5px solid #ee3531;
}

/*彈窗版型1＿警告*/

.alertA {
    width: 650px;
    height: 300px;
    background-color: #fff;
    box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, 0.5);
    position: fixed;
    z-index: 2000;
    top: 25%;
    left: calc(50% - 325px);
}

.iconBlock {
    width: 220px;
    height: 300px;
    display:flex;
    justify-content:center;
}

.alertIcon {
    width: 130px;
    height: 130px;
    line-height: 300px;
}

.alertIcon img {
    width: 100%;
    height: auto;
}

.alertWords {
    /* width: 430px; */
    height: 240px;
    padding: 75px 40px 10px 0px;
    font-size: 20px;
}

/*彈窗版型2＿預覽1*/

.alertB {
    width: 900px;
    min-height: 580px;
    background-color: #fff;
    box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, 0.5);
    position: fixed;
    z-index: 1000;
    top: calc(45% - 290px);
    left: calc(50% - 450px);
}

.textRed {
    color: #ee3531;
}

.previewInfoTitle {
    font-size: 18px;
}

#codeBlock {
    background-color: #737373;
    height: 460px;
    overflow: scroll;
    color: #d8d8d8;
}

.showPrevieTab {
    width: 100%;
    overflow: scroll;
    height: 460px;
}

/*彈窗版型2＿預覽2*/

.ruleInfo {
    width: 260px;
    height: 460px;
    border: 1px solid #979797;
}

#codeBlockSmall {
    width: 580px;
    height: 460px;
    background-color: #737373;
    overflow: scroll;
    color: #d8d8d8;
}

.ruleList {
    border: none;
    padding: 5px;
    word-break: break-all;
    letter-spacing: 1px;
    text-indent: -20px
}

/*彈窗版型3＿輸入*/

.alertC {
    width: 720px;
    background-color: #fff;
    box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, 0.5);
    position: fixed;
    z-index: 1000;
    top: calc(35% - 201px);
    left: calc(50% - 360px);
}

.alertTitle {
    font-size: 38px;
    color: #ee3531;
    line-height: 50px;
}

.enterBlock {
    min-height: 250px;
}

.enterBox,
.checkEnterBox {
    font-size: 18px;
    margin-bottom: 10px;
}

.enterBox label {
    margin: 0;
}

.enterBox input {
    width: 100%;
    box-shadow: inset 0 1px 1px 0 rgba(0, 0, 0, 0.2);
    border: solid 1px #979797;
    padding: 2px 6px;
    border-radius: 2px;
    line-height: 27px;
    font-size: 18px;
}

.enterBox .ui-selectmenu-button.ui-button {
    border-radius: 0;
    width: 100%;
    box-shadow: inset 0 1px 1px 0 rgba(0, 0, 0, 0.2);
    border: solid 1px #979797;
    padding: 3px 6px;
    background-color: #fff;
    font-family: "Microsoft JhengHei";
    color: #4a4a4a;
    /*color: #9a9a9a;*/
    margin-bottom: 6px;
}

.buttonBlock {
    width: 100%;
}

/*修正操作按鈕在其他瀏覽器排列錯誤*/

.buttonBlock a {
    display: inline-block;
}

/*彈窗背景暗色*/

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1999;
    background-color: rgba(0, 0, 0, 0.4);
}

.popOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.4);
}

/*** 彈窗背景模糊 ***/
#utilRoleMangerContent.blurOverlay{
    z-index: 1000;
    background-color: hsla(0, 0%, 80%, 0.5);
    -webkit-filter: blur(10px);
    -moz-filter: blur(10px);
    -o-filter: blur(10px);
    -ms-filter: blur(10px);
    filter: blur(10px);
}

/*select2驗證顏色*/

.form-control.is-valid~.select2-selection .select2-selection--single {
    border-color: #28a745;
}

.form-control.is-invalid~.select2-selection .select2-selection--single {
    border-color: #dc3545;
}

/*全姊的tree*/

.arrowLeftTriangle {
    transition: all .3s;
    color: #6789ba;
    margin: 5px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 0 7px 10px;
    border-color: transparent transparent transparent #6789ba;
}

.barMenu ul li a {
    background-color: #ffffff;
    cursor: pointer;
}

.barMenu a:hover {
    cursor: pointer;
    background-color: #cccccc;
}

.sideBar,
.barMenu,
.barGrandson,
.barGrandson li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sideBar li a {
    cursor: pointer;
}

.barMenu {
    font-size: 1.1rem;
    list-style: none;
}

.barMenu a {
    background-color: #eeeeee;
    padding: 8px 16px;
    display: block;
    text-decoration: none;
    color: #4a4a4a;
}

.barMenu ul {
    padding: 0;
    display: none;
    list-style: none;
}

.sideBar>li.active.barMenu>a>div.arrowLeftTriangle,
.barSon>li.active>a>div.arrowLeftTriangle {
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.barSon a {
    padding-left: 35px;
}

.barGrandson a {
    padding-left: 55px;
}

.barGrandson a.active {
    background-color: #cccccc;
}

/*配合MPSForm v2 調整卡片樣式*/

.card {
    border-radius: 0;
    border: 0;
}

/*MPSForm grid edit*/

.alertD {
    width: 1200px;
    min-height: 580px;
    background-color: #fff;
    box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, 0.5);
    position: absolute;
    z-index: 1000;
    top: calc(45% - 290px);
    left: calc(50% - 600px);
}

ul.pagination{
	margin:0;
}

/* ！！！僅限前台！！！ mcu-object改為relative定位 */
.mcu-object{
	position:relative;
}

/* 查詢條件mcu-object最小高 */
#searchParameter .mcu-object{
		min-height:86px;
		margin-bottom:15px;
}
/****JSGRID字體大小****/
.jsgrid{
	font-size:18px;
}
/****JSGRID表頭樣式****/
.jsgrid-grid-header, .jsgrid-header-row>.jsgrid-header-cell {
	background-color: #68737A;
	color: #ffffff;
	font-weight: 400;
}

.jsgrid-grid-header {
	overflow-y: hidden;
}

.jsgrid-grid-body {
	overflow: auto;
	overflow: scroll\0;
}
/****JSGRID pager****/
.jsgrid-pager-nav-button {
	padding: 0;
}
.jsgrid-pager-page {
	height: 40px;
	width: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #00ADD8;
	color:#00ADD8;
	padding:0;
	margin-left:-2px;
}

.jsgrid-pager-page a {
	color: #00ADD8;
	width: 100%;
	height: 100%;
	line-height: 36px;
	text-align: center;
	display: block;
}

.jsgrid-pager-page a:hover{
	color:#00ADD8;
}

.jsgrid-pager-current-page {
	background-color: #00ADD8;
	border-color: #00ADD8;
	color:#FFF;
}

.jsgrid-pager-nav-inactive-button {
	display: inline-block;
	pointer-events: visible;
}

.jsgrid-pager {
	width: 100%;
	text-align: right;
	line-height: 30px;
}

span.jsgrid-pager-nav-button, span.jsgrid-pager-page {
	float: left;
}

.page-link {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #00ADD8;
	border: 2px solid #00ADD8;
	margin-left: -2px;
	width: 40px;
	height: 40px;
}

.page-item.active .page-link {
	background-color: #00ADD8;
	border-color: #00ADD8;
}

.page-link:hover {
	z-index: 2;
	text-decoration: none;
	color: #46C3E3;
	border-color: #46C3E3;
	background-color: #FFF;
}

.page-item:first-child .page-link {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.page-item:last-child .page-link {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

/*alertDDL*/
.alertDDL{
    width: 80%;
    background-color: #fff;
    box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, 0.5);
    position: fixed;
    z-index: 1000;
    top: 40px;
    left: 10%;
    font-size:20px;
}
.alertDDL.thin{
	width: 550px;
	left: calc(50% - 275px);
}
.popHeader{
    background: #68737A;
    color:#FFF;
    text-align: center;
    height:54px;
    line-height:54px;
    position:relative;
}

.popHeaderText{
    display:inline-block;   
}

.closePopup{
    position:absolute;
    right:20px;
    top:13px;
    background: url(../images/closePopup.svg);
    width: 28px;
    height: 28px;
    cursor:pointer;
}
.popBody{
    background: #FFF;
    padding: 20px 55px 10px 55px;
}
.popTitle{
	font-size:30px;
	margin-bottom:40px;
}
.popBody p{
    margin-top: 62px;
}

.ruleContent{
	height:345px;
	border:1px solid #68737A;
	overflow:scroll;
	padding:20px;
}

.ruleContent p{
	margin:0;
}

.alertDDL .pru-radio-box{
    margin: 30px 0;
}
.alertDDL .pru-radio-box .selection{
    width: 30%;
    height: 200px;
    -webkit-appearance: button;
}

.alertDDL .pru-radio-box .selection:not(:last-child) {
    margin-right: 4%;
}

.signatureArea{
    width: 100%;
    height: 300px;
    border: 1px solid #a8a8a8;
    display:inline-block;
    text-align:center;
    line-height:300px;
}

.signatureArea > img{
	position: relative!important;
	-ms-user-select:none!important;
	user-select:none!important;
	width: 100%;
}

.signature-pad{
	left:0;
}

.clearSignature{
    background: url(../images/clearSignature.svg);
    width: 32px;
    height: 25px;
    display: inline-block;
    margin-top:10px;
}

.alertDDL .row .btn{
    min-width:120px;
}

.alertDDL .row .btn:not(:last-child){
    margin-right:20px;
}

/* 左側浮動錨點 */
.anchorGroup{
	position:fixed;
	left:0;
	top:250px;
	z-index:100;
	display: flex;
	flex-direction: column;
	width:120px;
	-webkit-transition: .1s ease-in-out;
	-moz-transition: .1s ease-in-out;
	-o-transition: .1s ease-in-out;
	transition: .1s ease-in-out;
}
.anchorGroup .nav-link{
	background:#68737A;
	color:#FFF;
	border-radius: 0 20px 20px 0;
	width: 90px;
	position:relative;
	padding: .5rem .5rem;
}

/*備用anchor錯誤數量計算 希望用不到。使用時，請在錯誤的大錨點上加上 .has-error*/
.anchorGroup .nav-link.has-error:after {
	width: 16px;
	height: 16px;
	background-image: url(../images/icon-error-in-field.svg);
	background-size:contain;
	content: "";
	position: absolute;
	top: 12px;
	right:3px;
}

.anchorGroup .nav-link.leftNavHover{
	width:120px;
	padding-left:40px;
}

.anchorGroup .nav-link.subAnchor.leftNavHover{
	width:40px;
	padding-left:6px;
}

.anchorGroup .subAnchor{
	width:40px;
	color:#FFF;
	font-size:13px;
	padding:6px;
	border-radius:0;
	line-height:16px;
	text-align: center;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link{
	background:#ED1B2E;
}

/*input type="number"移除上下箭頭*/
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.anchorGroup .nav-link.tagDisabled {
	width: 90px;
	background: #EDEDED;
	color:#000;
}

/* 查詢頁按鈕 */
.queryBtns .btn{
	width:200px;
}
.queryBtns .mcu-object{
	margin:0 10px 10px 20px;
}

/* 抵銷新版bootstrap icon偏移 */
svg:not(:root) {
	vertical-align: unset;
}

/* 話術列印時防止ScrollDownNav遮住文字內容 */
@media print{
    #scrollMainFuncRId{
        display: none;
    }			
}

.form-control.is-valid {
    background-image: none;
}

.form-control.is-invalid {
    background-image: none;
    padding-right: 0px;
}
