﻿/**
*** Cotnent
*   
*** @ 2017, Muzaffer Dede
*   
*** Lexionlu Design Firm
*   
*** Content Style 
*/
.homepage {
    max-width: 100%;
    background: #f0ece7;
}

    .homepage h2 {
        font-size: 2rem;
        color: inherit;
        text-align: center;
        margin-bottom: 1rem;
        font-weight: normal;
    }

.login-widget {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    justify-content: space-between;
    background: #fff;
    padding: 0.5rem;
    margin-bottom: 1rem;
    position: relative;
    top: -7rem;
    margin-bottom: -7rem;
}

    .login-widget > .left {
        flex: 1 1 auto;
    }

        .login-widget > .left > .top .widget-tabs {
            display: -webkit-box;
            display: -moz-box;
            display: -ms-flexbox;
            display: -webkit-flex;
            padding: 0.5rem 0;
            margin-bottom: 0.5rem;
        }

            .login-widget > .left > .top .widget-tabs li {
                margin-right: 1rem;
            }

                .login-widget > .left > .top .widget-tabs li a {
                    padding: 0.5rem;
                    display: inline-block;
                    font-size: 1.1rem;
                }

                    .login-widget > .left > .top .widget-tabs li a:hover,
                    .login-widget > .left > .top .widget-tabs li.active a {
                        color: #ee5142;
                        text-decoration: none;
                    }

        .login-widget > .left > .bottom {
            overflow: hidden;
        }

            .login-widget > .left > .bottom > .panel {
                display: none;
                justify-content: space-between;
            }

                .login-widget > .left > .bottom > .panel.active {
                    display: -webkit-box;
                    display: -moz-box;
                    display: -ms-flexbox;
                    display: -webkit-flex;
                }

                .login-widget > .left > .bottom > .panel > .left {
                    flex: 1 1 auto;
                }

                    .login-widget > .left > .bottom > .panel > .left .widget-forms {
                        overflow: hidden;
                    }

                        .login-widget > .left > .bottom > .panel > .left .widget-forms .rows {
                            display: -webkit-box;
                            display: -moz-box;
                            display: -ms-flexbox;
                            display: -webkit-flex;
                            margin-bottom: 0.5rem;
                        }

                            .login-widget > .left > .bottom > .panel > .left .widget-forms .rows .colm {
                                width: 100%;
                                margin: 0 0.5rem;
                                flex: 1;
                            }

                                .login-widget > .left > .bottom > .panel > .left .widget-forms .rows .colm .input {
                                    position: relative;
                                    background: #eeeeee;
                                    padding: 0.375rem 1rem;
                                    border-radius: 0.25rem;
                                    max-width: 100%;
                                    box-sizing: border-box;
                                }

                                    .login-widget > .left > .bottom > .panel > .left .widget-forms .rows .colm .input > button {
                                        position: absolute;
                                        top: 0rem;
                                        right: 1rem;
                                        font-size: 1.8rem;
                                        border: 0;
                                        background: none;
                                        display: inline-block;
                                        line-height: 3.5rem;
                                        z-index: 20;
                                    }

                                        .login-widget > .left > .bottom > .panel > .left .widget-forms .rows .colm .input > button:hover,
                                        .login-widget > .left > .bottom > .panel > .left .widget-forms .rows .colm .input > button:active {
                                            color: #ee5142;
                                        }

                                    .login-widget > .left > .bottom > .panel > .left .widget-forms .rows .colm .input > label {
                                        position: absolute;
                                        left: 0;
                                        font-size: 0.8rem;
                                        padding: 0.25rem 1rem;
                                        opacity: 0;
                                        top: 0.5rem;
                                        transition: all 0.5s;
                                        -webkit-transition: all 0.3s;
                                        color: #999;
                                    }

                                    .login-widget > .left > .bottom > .panel > .left .widget-forms .rows .colm .input > input {
                                        background: none;
                                        border: none;
                                        height: 2.8rem;
                                        width: 100%;
                                        max-width: 100%;
                                        box-sizing: border-box;
                                        outline: none;
                                        transition: all 0.5s;
                                        -webkit-transition: all 0.3s;
                                    }

                                        .login-widget > .left > .bottom > .panel > .left .widget-forms .rows .colm .input.active > input,
                                        .login-widget > .left > .bottom > .panel > .left .widget-forms .rows .colm .input > input:focus {
                                            height: 1.8rem;
                                            margin-top: 1rem;
                                        }

                                            .login-widget > .left > .bottom > .panel > .left .widget-forms .rows .colm .input > input:focus::-webkit-input-placeholder {
                                                opacity: 0;
                                            }

                                            .login-widget > .left > .bottom > .panel > .left .widget-forms .rows .colm .input.active > input + label,
                                            .login-widget > .left > .bottom > .panel > .left .widget-forms .rows .colm .input > input:focus + label {
                                                top: 0.1rem;
                                                opacity: 1;
                                                color: #333;
                                            }

                .login-widget > .left > .bottom > .panel > .right {
                    flex: 0 0 12rem;
                    padding: 0 1rem;
                }

                    .login-widget > .left > .bottom > .panel > .right .btn {
                        width: 100%;
                    }


    .login-widget > .right {
        flex: 0 0 auto;
    }

        .login-widget > .right .widget-help {
            margin-top: 3rem;              
            padding: 0.25rem 1rem; 
            height: 5rem; 
            justify-content: center;             
            border-left: 1px solid #eee;
            display: -webkit-box;
            display: -moz-box;
            display: -ms-flexbox;
            display: -webkit-flex;
            flex-direction: column;
        }

            .login-widget > .right .widget-help a {
                padding: 0.25rem 0;
                display: -webkit-box;
                display: -moz-box;
                display: -ms-flexbox;
                display: -webkit-flex;
                line-height: 2rem;
            }

                .login-widget > .right .widget-help a i {
                    margin-right: 0.5rem;
                    text-align: center;
                    font-size: 1.5rem;
                    width: 2rem;
                    vertical-align: middle;
                }

                .login-widget > .right .widget-help a:last-child {
                    margin-bottom: 0;
                    border-bottom: 0;
                }

.plans-wrapper {
    background: #f0ece7;
}

.plans {
    padding: 2rem 0;
    position: relative;
}


.plan-grid {
    overflow: hidden;
    margin-bottom: 1rem;
}

    .plan-grid .rows {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        justify-content: space-between;
    }

        .plan-grid .rows .item {
            width: 33.33333%;
            margin: 0.5rem;
            box-sizing: border-box;
            position: relative;
            color: #fff;
            overflow: hidden;
        }



            .plan-grid .rows .item:hover:before {
                display: block;
            }

            .plan-grid .rows .item img {
                top: 0;
                left: 0;
                width: 100%;
                display: block;
            }

            .plan-grid .rows .item.double {
                width: calc(66.66666% + 1rem);
            }


                .plan-grid .rows .item.double img.mobile-only {
                    display: none;
                }

            .plan-grid .rows .item h3 {
                position: absolute;
                font-weight: normal;
                top: 1rem;
                left: 1rem;
                font-size: 1.25rem;
            }

                .plan-grid .rows .item h3 span:last-child {
                    display: none;
                }


            .plan-grid .rows .item ul {
                position: absolute;
                bottom: -100%;
                left: 0;
                right: 0;
                box-sizing: border-box;
                transition: all 0.3s;
                -webkit-transition: all 0.3s;
                padding: 1rem;
                display: -webkit-box;
                display: -moz-box;
                display: -ms-flexbox;
                display: -webkit-flex;
                display: flex;
                background: rgba(0,0,0,0.3);
                flex-direction: column;
                flex-wrap: wrap;
            }

            .plan-grid .rows .item:hover ul {
                bottom: 0;
            }

            .plan-grid .rows .item:hover h3 span:first-child {
                display: none;
            }

            .plan-grid .rows .item:hover h3 span:last-child {
                display: block;
            }

            .plan-grid .rows .item ul li {
                width: 100%;
                padding: 0.5rem;
            }

            .plan-grid .rows .item.double ul {
                flex-direction: row;
            }

                .plan-grid .rows .item.double ul li {
                    width: 40%;
                    margin-right: 2rem;
                }

            .plan-grid .rows .item ul li a {
                display: -webkit-box;
                display: -moz-box;
                display: -ms-flexbox;
                display: -webkit-flex;
                display: flex;
                align-items: flex-start;
                line-height: 1.5rem;
            }

                .plan-grid .rows .item ul li a i {
                    vertical-align: text-bottom;
                    display: inline-block;
                    margin-right: 1rem;
                    line-height: 1.5rem;
                }

.time-deposit-wrapper {
    background: #fcfbfb;
}

.time-deposit {
    position: relative;
    z-index: 20;
    padding: 2rem 0;
}

.home-news-wrapper {
    background: #fff;
}

.home-news {
    overflow: hidden;
    padding: 2rem 0;
}

    .home-news .home-news-list {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
    }

        .home-news .home-news-list .colm {
            width: 100%;
            margin: 0.5rem;
        }

            .home-news .home-news-list .colm a {
                color: #999;
            }

            .home-news .home-news-list .colm .item {
                border-bottom: 1px solid #ccc;
            }

                .home-news .home-news-list .colm .item:last-child {
                    border-bottom: 0;
                }

            .home-news .home-news-list .colm a.image {
                display: block;
            }

                .home-news .home-news-list .colm a.image img {
                    display: block;
                    width: 100%;
                }

            .home-news .home-news-list .colm a.description {
                display: -webkit-box;
                display: -moz-box;
                display: -ms-flexbox;
                display: -webkit-flex;
                display: flex;
                align-items: flex-start;
                padding: 0.75rem 0;
                align-items: center;
                height: 6.6rem;
            }

                .home-news .home-news-list .colm a.description span.home-news-text {
                    max-height: 3rem;
                    margin: 0.5rem 0;
                    text-overflow: clip;
                    overflow: hidden;
                    display: inline-block;
                    vertical-align: middle;
                }

                .home-news .home-news-list .colm a.description span.date {
                    font-size: 0.9rem;
                    display: block;
                }

                .home-news .home-news-list .colm a.description .left {
                    height: 4rem;
                    width: 4rem;
                    border-radius: 4rem;
                    background: red;
                    line-height: 4rem;
                    text-align: center;
                    color: #fff;
                    margin-right: 1rem;
                    flex-shrink: 0;
                }

                    .home-news .home-news-list .colm a.description .left.c1 {
                        background-color: #fc6565;
                    }

                    .home-news .home-news-list .colm a.description .left.c2 {
                        background-color: #636af7; /*#70ae16*/
                    }

                    .home-news .home-news-list .colm a.description .left.c3 {
                        background-color: #ce7ffb; /*#ff7196*/
                    }

                    .home-news .home-news-list .colm a.description .left.c4 {
                        background-color: #70ae16; /*#77933c*/
                    }

                    .home-news .home-news-list .colm a.description .left.c5 {
                        background-color: #c65a5a; /*#fac946*/
                    }

                    .home-news .home-news-list .colm a.description .left.c6 {
                        background-color: #ff7196; /*#fa874f*/
                    }

                    .home-news .home-news-list .colm a.description .left.c7 {
                        background-color: #fa874f; /*#636af7*/
                    }

                    .home-news .home-news-list .colm a.description .left.c8 {
                        background-color: #77933c; /*#ce7ffb*/
                    }

                    .home-news .home-news-list .colm a.description .left.c9 {
                        background-color: #fac946; /*#c65a5a*/
                    }

                    .home-news .home-news-list .colm a.description .left.c1::after {
                        content: '公告';
                        /** 公告 **/
                    }

                    .home-news .home-news-list .colm a.description .left.c2::after {
                        content: '理財';
                        /** 理財  **/
                        /** 信用卡  **/
                    }

                    .home-news .home-news-list .colm a.description .left.c3::after {
                        content: '貸款';
                        /** 貸款 **/
                        /** 雲端 **/
                    }

                    .home-news .home-news-list .colm a.description .left.c4::after {
                        content: '信用卡';
                        /** 信用卡  **/
                        /** 法金 **/
                    }

                    .home-news .home-news-list .colm a.description .left.c5::after {
                        content: '保險';
                        /** 保險 **/
                        /** TMU **/
                    }

                    .home-news .home-news-list .colm a.description .left.c6::after {
                        content: '數位';
                        /** 數位 **/
                        /** 雲端 **/
                        /** VIP **/
                    }

                    .home-news .home-news-list .colm a.description .left.c7::after {
                        content: 'VIP';
                        /** VIP **/
                        /** 理財 **/
                    }

                    .home-news .home-news-list .colm a.description .left.c8::after {
                        content: '法金';
                        /** 法金 **/
                        /** 貸款 **/
                    }

                    .home-news .home-news-list .colm a.description .left.c9::after {
                        content: 'TMU';
                        /** TMU **/
                        /** 保險 **/
                    }

.home-promotions {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    position: relative;
}

    .home-promotions .carousel {
        margin: 0.05rem;
        width: 100%;
    }

    .home-promotions .carousel-control, .key-image .carousel-control {
        top: calc(50% - 1.5rem);
        z-index: 20;
    }

.key-image .carousel-control {
    margin: 0 3%;
}

.home-promotions a img {
    width: 100%;
    display: block;
}

.social-platform {
    overflow: hidden;
    padding: 2rem 0;
    background: #fcf8ff;
}

    .social-platform .-banner {
        margin-bottom: 0.5rem;
    }

        .social-platform .-banner img {
            max-width: 100%;
        }

    .social-platform .-posts {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        justify-content: center;
    }

        .social-platform .-posts .-item {
            padding: 0.5rem;
            background: #fff;
            width: 33.3333333%;
            box-sizing: border-box;
        }

            .social-platform .-posts .-item .-image iframe,
            .social-platform .-posts .-item .-image video {
                width: 100%;
                display: block;
                border: 0;
            }

            .social-platform .-posts .-item .-image a,
            .social-platform .-posts .-item .-image a img {
                display: block;
                width: 100%;
                max-width: 100%;
            }

            .social-platform .-posts .-item .-description {
                padding: 1rem;
                font-family: 1.125rem;
            }

                .social-platform .-posts .-item .-description .-title {
                    padding-left: 3rem;
                    position: relative;
                    margin-bottom: 0.5rem;
                }

                    .social-platform .-posts .-item .-description .-title:after {
                        content: "";
                        font-family: FontAwesome;
                        position: absolute;
                        left: 0;
                        top: 0;
                        bottom: 0;
                        font-size: 1.6rem;
                        width: 2.5rem;
                        height: 2.5rem;
                        border-radius: 2.5rem;
                        text-align: center;
                        vertical-align: middle;
                        color: #fff;
                        background-repeat: no-repeat;
                        background-size: 1rem;
                        display: -webkit-box;
                        display: -moz-box;
                        display: -ms-flexbox;
                        display: -webkit-flex;
                        display: flex;
                        justify-content: center;
                        flex-direction: column;
                        align-items: center;
                    }

                    .social-platform .-posts .-item .-description .-title strong {
                        display: block;
                    }

            .social-platform .-posts .-item.-line .-description .-title strong {
                color: #48c750;
            }

            .social-platform .-posts .-item.-line .-description .-title:after {
                background-image: url(img/line-messenger.svg);
                background-color: #48c750;
                background-size: 2.5rem;
            }

            .social-platform .-posts .-item.-facebook .-description .-title strong {
                color: #314a7e;
            }

            .social-platform .-posts .-item.-facebook .-description .-title:after {
                background-color: #314a7e;
                content: "\f09a";
            }

            .social-platform .-posts .-item.-youtube .-description .-title strong {
                color: #e52d27;
            }

            .social-platform .-posts .-item.-youtube .-description .-title:after {
                background-color: #e52d27;
                content: "\f167";
            }



            .social-platform .-posts .-item .-description p {
                margin-bottom: 0.5rem;
                line-height: 1.5rem;
            }

                .social-platform .-posts .-item .-description p a {
                    color: #1c3cff;
                }

                    .social-platform .-posts .-item .-description p a:hover {
                        text-decoration: underline;
                        color: #ee5142;
                    }

.mobile-apps {
    text-align: center;
    padding: 2rem 0;
    background: #fff;
}

    .mobile-apps .app-links {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        justify-content: center;
    }

        .mobile-apps .app-links > div {
            padding: 0 20px;
        }

        .mobile-apps .app-links a {
            margin: 1rem;
            text-align: center;
            margin-bottom: 2rem;
        }

            .mobile-apps .app-links a img {
                max-width: 100%;
                display: block;
                margin: auto auto;
            }

/*#Homepage*/

.ai-server{

}
.service-links a i.ai-server {
    width:2rem;
    height:2rem;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background-image: url('img/ai_off.png');
    background-repeat: no-repeat;
    background-size:100%;
}
.service-links a:hover i.ai-server {
    background-image: url('img/ai_on.png');
}

/*匯率走勢圖 Start*/

@media (max-width:768px) {
	.trend-button-1 {
		display: none !important;
	}
	
	.trend-button-2 {
		display: block !important;
	}
	
	.trend-button-2 {
		display: block !important;
	}
	
	.trendshow {
		display: block !important;
	}
	
	.dash {
		display: none;
	}
	
	.label-start-date {
		display: none;
	}
	
	.label-end-date {
		display: none;
	}
}

.ui-datepicker-title select {
    padding: 4px 0px;
    border: 1px solid #cfcfcf;
    border-radius: 3px;
    background: #fafafa;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 18px;
    -webkit-appearance: menulist;
}

.trend-button-1 {
	display: block;
}

.trend-button-2 {
	display: none;
}

.label-start-date {
	margin-left: 60px;
}

.label-end-date {
	margin-left: 215px;
}

.datetime-picker {
    position: relative;
    color: #333;
    margin-right: 1rem;
}

.dash {
	margin-top: 6px;
    margin-right: 25px;
}

.underline-red {    
	border-bottom: 2px;
    border-bottom-color: red;
    border-bottom-style: solid;
}

.datetime-picker input[type=text] {
	border: none;
    background: rgba(169, 169, 169, 0.25);
    color: #333;
    height: auto;
    padding: 0.5rem;
    box-sizing: border-box;
}

.datetime-picker button {
	background: no-repeat;
    color: #333;
    position: absolute;
    right: 0.5rem;
    top: 0.3rem;
    border: none;
}

/*匯率走勢圖 End*/