﻿/*===Saying===*/

/*.clearfix {
  overflow: auto;
}*/
.saying {
    text-align: justify;
    text-justify: inter-ideograph;
}

/*===Breadcrumbs===*/
#crumbs {
    text-align: left;
}

#crumbs ul {
    list-style: none;
    display: inline-table;
}

#crumbs ul li {
    display: inline;
}

#crumbs ul li a {
    display: block;
    float: left;
    height: 35px;
    background-color: rebeccapurple;
    padding: 10px 30px 0 45px;
    position: relative;
    margin: 0 10px 0 0;
    font-size: 10px;
    text-decoration: none;
}

#crumbs ul li a:after {
    content: "";
    border-top: 17.5px solid transparent;
    border-bottom: 17.5px solid transparent;
    border-left: 40px solid rebeccapurple;
    position: absolute;
    right: -40px;
    top: 0;
    z-index: 1;
}

#crumbs ul li a:before {
    content: "";
    border-top: 17.5px solid transparent;
    border-bottom: 17.5px solid transparent;
    border-left: 40px solid #fff;
    position: absolute;
    left: 0;
    top: 0;
}

#crumbs ul li:first-child a {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

#crumbs ul li:first-child a:before {
    display: none;
}

#crumbs ul li:last-child a {
    padding-right: 40px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    background: #800000;
}

#crumbs ul li:last-child a:after {
    display: none;
}

#crumbs ul li a {
    color: #FFFFE0;
}

#crumbs ul li a:hover {
    background: #357DFD;
    color: #fff;
}

#crumbs ul li a:hover:after {
    border-left-color: #357DFD;
    color: #fff;
}

/*===Default===*/
.carouselitem > img {
    width: 100%; /*修改圖形大小-圖形大小需一樣畫面才會一致*/
    /*margin: 0px 0px 0px 0px;*/
    /*padding: 0 10%;*/
    /*text-align:center;*/
    margin: 0px 0px 0px 0%;
}

.carousel-control.right, .carousel-control.left {
    background-image: none;
    color: Lime;
}

.carouselSize {
    margin: 0px 0%;
    padding: 0px;
    /*width: 100%;*/
    /*border: 10px solid #DDDDDD;*/
}

.divBorder {
    font-size: x-large;
    font-family: 標楷體;
    margin-top: 5px;
    padding: 0px;
    border: 2px solid DarkGoldenRod;
    background-image: url(../images/BackgroundImg/MenuBg_15.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

    .divBorder img:hover {
        border: 2px solid DeepPink;
    }

/*===TA_Daily===*/
/*table.dataTable tr td*/
/*td {
    font-size: 5px;
}*/

/*===About===*/
h2.h2_title {
    margin: 0px auto 0px auto;
    font-weight: bold;
    color: #FFFFFF;
    background-image: url(../images/h2_bg.jpg);
    background-repeat: no-repeat;
    background-position: 0px 0px;
    height: 43px;
    width: 95%; /*810px;*/
    text-align: center;
    font-family: 標楷體;
    padding-top: 5px;
    box-shadow: -4px -4px 3px rgba(20%,20%,40%,0.5);
}

h3.h3_title {
    color: #000000;
    background-color: #F3F3F3;
    margin: 20px auto 20px auto;
    padding: 3px 5px 5px 5px;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 2px;
    border-left-width: 1px;
    border: #DDDDDD solid;
    width: 100%; /*810px;*/
    text-align: center;
    font-family: 標楷體;
}

.AboutMainBg {
    width: 100%;
    padding: 0px;
    margin: 0px;
    background-image: url(../images/BackgroundImg/MenuBg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    /*style="background-image: url(../imagess/background1.jpg);*/
}

.p_photo_l img {
    float: left;
    border: 1px solid #DDDDDD;
    background-color: #FFFFFF;
    padding: 4px;
    margin-right: 5px;
}

.p_photo_r img {
    float: right;
    border: 1px solid #DDDDDD;
    background-color: #FFFFFF;
    padding: 4px;
    margin-left: 5px;
}

.pFont {
    font-family: 標楷體;
}

/*===Menu===*/
.container_menu {
    /*width:150px;*/
    /*width:20%;*/
    text-align: center;
    /*height:1000px;*/
    /*border: double;*/
    /*padding: 3px;*/
    margin-right: 0px;
    font-family: 標楷體;
    /*background-color: #F0F8FF;*/
}

.container_tab {
    border: double;
    /*float:left;*/
    /*left:auto;*/
    /*width:inherit;*/
}

div.img:hover {
    /*box-shadow: 0 0 2px 1px #00BFFF;*/
    border: 1px solid #DC143C; /*#00BFFF*/
    opacity: 1.0;
    filter: alpha(opacity=100);
}

.MenuFloatRight {
    float: right;
}

.MenuBgrColor {
    background-color: #F0F8FF;
}

    .MenuBgrColor div {
        text-align: left;
        background-color: #FFFACD;
    }

        .MenuBgrColor div a {
            text-decoration: none;
        }

.MenuTitle {
    /*color:blue;*/
    font-size: x-large;
}

.MenuContent a {
    color: blue;
    font-size: large;
    /*background-color: #FFFFFF;*/
}

    .MenuContent a:hover {
        color: yellow;
        background-color: black;
    }

.MenuItemBg {
    background-image: url(../image/ChainMenu.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

    .MenuItemBg h2 a {
        text-decoration: none;
    }

.MenuMainBg {
    width: 100%;
    padding: 0px;
    margin: 0px;
    background-image: url(../images/BackgroundImg/MenuBg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    /*style="background-image: url(../imagess/background1.jpg);*/
}

.MenuTable {
    border-collapse: collapse;
    border: solid;
    border-color: yellow;
    width: auto;
    font-family: 標楷體;
    font-size: x-large;
    background-color: PaleTurquoise;
    /*width: 50%;*/
    margin-top: 20px;
    margin-bottom: 20px;
    /*margin-left:30%;*/
}

.MenuFirstTr th {
    background-color: MistyRose;
    text-align: center;
    color: Navy;
}

.Menu_Main_1_Table {
    border-collapse: collapse;
    /*border:solid;
    border-color:Plum ;*/
    width: auto;
    font-family: 標楷體;
    font-size: x-large;
    margin-top: 20px;
    margin-bottom: 20px;
    /*background-image: url(../images/BackgroundImg/MenuBg_1.jpg);
    background-repeat: no-repeat;
    background-size: cover;*/
}

.Menu_Main_1_FirstTr th {
    background-color: MistyRose;
    text-align: center;
    color: Navy;
}

.Menu_Main_1_TextCenter {
    text-align: center;
}

.tip + .tooltip > .tooltip-inner {
    background-color: #73AD21;
    color: #FFFFFF;
    border: 1px solid green;
    padding: 15px;
    font-size: 40px;
}

/*===News===*/
#NewsDiv {
    margin: 20px 0px 20px 0px;
    text-align: center;
    font-size: 12px;
}

#NewsDiv h2 {
    color: red;
    border: double;
}

.NewsTable {
    border-collapse: collapse;
    width: 100%;
}

.NewsTable th, .NewsTable td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.NewsTable tr:nth-child(even) {
    background-color: #f2f2f2;
}

.FirstTr th {
    background-color: MediumAquaMarine;
    text-align: left;
}

.NewsTable tr:hover:not(.FirstTr) {
    background-color: green;
    color: white;
}


/*===Recruitment===*/
.RecruitmentFirstTr th {
    background-color: orange;
    text-align: left;
}

.RecruitmentTable {
    border-collapse: collapse;
    width: auto;
    font-family: 標楷體;
    font-size: x-large;
    /*margin-top:20px;
    margin-bottom:20px;*/
}

    .RecruitmentTable tr:nth-child(even) {
        background-color: #f2f2f2;
    }

/*===Outside===*/
.OutsideFirstTr th {
    background-color: MistyRose;
    text-align: left;
    color: Navy;
}

.OutsideTable {
    border-collapse: collapse;
    /*border:solid;
    border-color:Plum ;*/
    width: auto;
    font-family: 標楷體;
    font-size: x-large;
    margin-top: 20px;
    margin-bottom: 20px;
    background-image: url(../images/BackgroundImg/MenuBg_1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.OutsideTextCenter {
    text-align: center;
}

/*===Contact===*/
.ContactCss {
    font-family: 標楷體;
    font-size: x-large;
    text-align: left;
    width: auto;
}

    .ContactCss th {
        text-align: right;
        background-image: url(../images/BackgroundImg/MenuBg_3.jpg);
        background-repeat: no-repeat;
        background-size: cover;
    }

    .ContactCss td {
        text-align: left;
    }
/*===ForexBank===*/
.ForexList li {
    float: left;
    display: inline;
    position: relative;
    margin: 20px;
}


/*===Donate===*/
.Donate div a img {
    /*width: 150px;*/
    height: 50px;
}

.DonateFloat img {
    float: left;
    border: 1px solid #DDDDDD;
    background-color: #FFFFFF;
    /*padding: 5px;*/
    /*margin-bottom: 10px;*/
    border-radius: 8px;
    width: 100%;
    height: 200px;
    /*width:100%;*/
}

.DonateFloat p {
    text-align: center;
    font-size: large;
    color: #008B8B;
}

.DonateDivFloat {
    float: left;
    margin-right: 5px;
    margin-top: 10px;
    
}

.DonateDivFloat a {
    opacity: 0.5;
    cursor: pointer;
    transition: 0.5s;
}

.DonateDivFloat a:hover {
    opacity: 1.0;
}

/*===TA_Daily===*/
/*.btnSearch {
    position: relative;
    background-color: #4CAF50;
    border: none;
    font-size: 10px;
    color: #FFFFFF;
    padding: 20px;
    width: 80px;
    height: 30px;
    text-align: center;
    transition-duration: 0.4s;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
}

.btnspan {
    float: left;
    margin-right: 6px;
    margin-top: 20px;
    margin-left: -20px;
    position: relative;
    z-index: 2;
    color: black;
}*/

.input-icon {
    position: absolute;
    left: 3px;
    top: calc(50% - 0.5em); /* Keep icon in center of input, regardless of the input height */
}

.inputForm {
    -moz-border-radius: 10px; /* Firefox */
    -webkit-border-radius: 10px; /* Safari, Chrome */
    border-radius: 5px; /* CSS3 */
    behavior: url("border-radius.htc");
}

.input-hover:hover {
    background-color: #808000;
}

.input-wrapper {
    position: relative;
    padding:5px 0; 
    /*float:left;*/
}

/*.btnSearch:hover {
    opacity: 1
}*/

/*.btnSearch:after {
    content: "";
    background: #f1f1f1;
    display: block;
    position: absolute;
    padding-top: 100%;
    padding-left: 150%;
    margin-left: -20px !important;
    margin-top: -120%;
    opacity: 0;
    transition: all 0.8s
}

.btnSearch:active:after {
    padding: 0;
    margin: 0;
    opacity: 1;
    transition: 0s
}*/

/********hover********/
#hovertest:hover {
    border: double;
    background-color: red;
}

/********Up or Down********/
.RedBar {
    color: red;
}

.GreenBar {
    color: green;
}

/********autocomplete********/
.ui-autocomplete {
    max-height: 200px;
    /*width: auto;*/
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
    /* add padding to account for vertical scrollbar */
    padding-right: 20px;
}

.head-dotted {
    /*position: relative;*/
    /*background-image:-webkit-linear-gradient(left, rgba(#E80C7A,.5) 20%, transparent 50%);*/
    background: -webkit-linear-gradient(left, #FFFAF0,#808080);
    background-clip: padding-box;
    /*background: url(../image/head-dotted2.png);
    background-repeat: no-repeat;
    background-size: cover;*/
}

.Chain-dotted {
    background: -webkit-linear-gradient(90deg, rgba(255,250,205,1) 0%, rgba(248,248,255,1) 50%, rgba(255,250,205,1) 100%);
    color: Green;
    font-weight: bold;
    /*background-clip:padding-box;*/
}

.ChainList-dotted {
    background: -webkit-linear-gradient(90deg, rgba(189,183,107,1) 0%, rgba(248,248,255,1) 50%, rgba(189,183,107,1) 100%);
    color: SaddleBrown;
    font-weight: bold;
}

#CompanyData tr td {
    border-top: solid;
    border-top-color: gray;
    border-top-width: thin;
}

/*.KChart {
    position: relative;
    text-align: left;
    behavior: expression(this.style.width = (document.documentElement.offsetWidth<990)?"990px":"100%");
    min-width: 990px;
    padding: 0px 0px 0px 0px;
    margin: 0px auto;
}*/

.flag {
    /*position: relative;
    top: 1px;
    margin-right: 4px;
    display: inline-block;*/
    width: 25px;
    height: 21px;
    display: inline-block;
}

.Curflag {
    /*position: relative;
    top: 1px;
    margin-right: 4px;
    display: inline-block;*/
    width: 23px;
    height: 15px;
    display: inline-block;
}

.Cryptoflag {
    /*position: relative;
    top: 1px;
    margin-right: 4px;
    display: inline-block;*/
    width: 24px;
    height: 24px;
    display: inline-block;
}

/**DataTable*/
#Industry.dataTable,
#Memento.dataTable,
#Dividend.dataTable,
#CorpMeeting.dataTable {
    /*font-family: Verdana, Geneva, Tahoma, sans-serif;*/
    font-size: 13px;
}
#Forex.dataTable {
    /*font-family: Verdana, Geneva, Tahoma, sans-serif;*/
    font-size: 12px;
}

/*自動調整欄寬*/
#IncomeStatement th, #IncomeStatement td,
#BalanceSheet th, #BalanceSheet td,
#Ratio th, #Ratio td,
#Memento th, #Memento td,
#IndexTick th, #IndexTick td{
    white-space: nowrap;
}

.AutoWidth th, .AutoWidth td {
    white-space: nowrap;
}

/*固定首欄*/
table.DTFC_Cloned thead,
table.DTFC_Cloned tfoot {
    background-color: #c2d6d6;
}
div.DTFC_Blocker {
    background-color: white;
}

table.DTFC_Cloned thead th, table.DTFC_Cloned thead td
table.DTFC_Cloned tfoot th, table.DTFC_Cloned tfoot td {
    white-space: nowrap;
}
div.DTFC_Blocker th, div.DTFC_Blocker td {
    white-space: nowrap;

}

/*Rows Hover Color*/
table.TbHover.dataTable tbody tr.even:hover {
    background-color: #b3e0ff;
}

table.TbHover.dataTable tbody tr.even:hover > .sorting_1 {
    background-color: #b3e0ff;
}

table.TbHover.dataTable tbody tr.odd:hover {
    background-color: #b3e0ff;
}

table.TbHover.dataTable tbody tr.odd:hover > .sorting_1 {
    background-color: #b3e0ff;
}

table.TbHover tbody tr td a {
    text-decoration: none;
}

/*table#IndexTick.dataTable tbody tr {
    height: 10px;
}*/

/*tbody tr:hover {
    background-color: red;
    color: blue;
}*/

textarea {
resize: vertical;
height: 100px;
overflow: auto;
width:100%;
}

.demo {
    background-color: red;
}
/*
.bgRed:hover {
    transition-property: background-color;
    transition-duration: 1s;
    background-color: red;
    transition: 1s steps(1, start) 0s;
    transition: opacity 1s;
    opacity: 1;
}*/

/*轉場效果*/
@-webkit-keyframes bgRed {
    0% {
        background-color: #fcdede;
        opacity: 1;
    }

    50% {
        background-color: #fcdede;
    }

    100% {
        background-color: none;
    }
}

.bgRed {
    -webkit-animation-name: bgRed;
    -webkit-animation-duration: 900ms;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-timing-function: ease-in-out;
}

@-webkit-keyframes bgGreen {
    0% {
        background-color: #c2f2c2;
        opacity: 1;
    }

    50% {
        background-color: #c2f2c2;
    }

    100% {
        background-color: none;
    }
}

.bgGreen {
    -webkit-animation-name: bgGreen;
    -webkit-animation-duration: 900ms;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-timing-function: ease-in-out;
}

@-webkit-keyframes bgYellow {
    0% {
        background-color: #FFD700;
        opacity: 1;
    }

    50% {
        background-color: #FFD700;
    }

    100% {
        background-color: none;
    }
}

.bgYellow {
    -webkit-animation-name: bgYellow;
    -webkit-animation-duration: 1500ms;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-timing-function: ease-in-out;
}

/*textarea {
    resize: horizontal;
}*/