/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0068b7;
}

    a:hover {
        text-decoration: none;
    }

h1, .h1 {
    font-size: 36px
}

h2, .h2 {
    font-size: 30px
}

h3, .h3 {
    font-size: 26px;
    line-height: 36px
}

h4, .h4 {
    font-size: 18px
}

h5, .h5 {
    font-size: 14px
}

h6, .h6 {
    font-size: 12px
}

td, tr td {
    border-top: 1px solid #dddddd;
}

th, td {
    line-height: 1.7143;
    text-align: left;
    vertical-align: top;
}

h4, .h4, h5, .h5, h6, .h6 {
    margin-top: 12px;
    margin-bottom: 12px;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, 微軟正黑體, sans-serif;
    color: #818c98;
    margin-top: -10px;
    /* overflow-x: hidden; */
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.k-window-titlebar.k-hstack {
    background-color: #6dcedd;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}


.footer {
    /* position: absolute; */
    bottom: 0;
    width: 100%;
    line-height: 60px;
    /* Vertically center the text there */
}
.container {
    padding: 50px 50px;
    max-width: none;
}

.ann_window_content {
    padding-bottom: 20px;
}

.navbar {
    border-bottom: 5px solid #035390;
}

a.hyperlink[onclick] {
    text-decoration: underline;
    cursor: pointer;
}

.navbar-light .navbar-nav .nav-link {
    color: black;
}

.row {
    margin-left: 0px;
    margin-right: 0px;
}

.product_row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-left: 0px;
    margin-right: 0px;
}

label {
    vertical-align: -webkit-baseline-middle;
}

input[type=checkbox], input[type=radio]{
    margin-right: 5px;
}

#navbar {
    /*Chrome使用fixd屬性搭配translate屬性會有BUG，要改成sticky，bug為可能會偏移*/
    position: sticky;
    top: 0;
    z-index: 1000;
}

#sidebar {
    min-width: 380px;
    background-color: #f6faf6;
    position: absolute;
    top: 0;
    z-index: 100;
    transition: all .3s;
    margin-left: -380px;
}

    #sidebar.active {
        margin-left: 0px;
    }

#content {
    transition: transform 0.5s;
}

    #content.active {
        -webkit-transform: translate3d(320px, 0, 0);
        transform: translate3d(320px, 0, 0);
    }

#sidebarExpand {
    font-size: 1.5rem;
    color: #666;
}

.mainmenu-btn {
    font-size: 1.5rem;
}

.menu-root.dropdown-toggle {
    display: block;
}

.list-unstyled {
    margin-left: 10px;
}

.footer-link {
    display: block;
}

.productHitsTitle {
    color: #0068b7 !important;
    font-size: 26px;
    line-height: 36px;
    margin-top: 0 !important;
    margin-bottom: 12px;
    font-weight: 500;
    word-break: break-word;
}

.productHitsText {
    margin-top: 20px;
    margin-bottom: 20px;
    color: #444 !important;
}

.productHitsMore {
    color: #3f6cb2 !important;
    text-decoration: none;
}

.newProductHits {
    background-color: #fafafa;
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 2px;
    height: 100%;
}

.homeNews {
    padding: 50px 50px;
}

.btnHomeNewsMore {
    border-radius: 15px;
    border: 1px solid #000;
    color: #666;
    display: inline-block;
    margin-bottom: 0;
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.7143;
}

.btnHomeNew {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.homeNewsItem {
    background-color: rgba(255,255,255,0.6);
    color: #444;
    padding: 20px;
    /* background: #fff; */
    border: 1px solid #e5e5e5;
    border-radius: 2px;
    height: 100%;
}

.homeNewsItemBox {
    margin-bottom: 30px;
}

#homeNewsPanel {
    background: url(/https/www.realtek.com/imgs/bg-wrap1.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-size: cover;
}

.panel {
    /* display: flex;
    justify-content: center;    
    align-items: center; */
    padding-left: 50px;
}

.homeNewsMore {
    color: #3f6cb2 !important;
    text-decoration: none;
    font-size: 14px;
    margin-top: 15px;
}

.homeNewsDate {
    font-size: 14px;
    color: #4c4948;
    font-weight: bold;
    margin: 0 0 12px;
}

.homeNewsTitle {
    margin-top: 0;
    font-size: 18px;
    line-height: 24px;
    font-weight: 300;
    text-transform: none;
    color: #444;
    margin-bottom: 20px;
}

.inactive {
    display: none;
    /* opacity: 0!important; */
}

#homeBannerPanel {
    height: 570px;
    width: 100%;
    position: relative;
}

.homeBannerImg {
    min-height: 570px;
    position: absolute;
    width: 100%;
}

.homeBannerContentBox {
    position: absolute;
    color: white;
}


.page-title {
    padding-bottom: 10px;
    margin: 0 0 0px;
    border-bottom: none;
    color: #0068b7;
}

h1.pos-title {
    margin: 0px 0px 10px 0px;
    font-family: 微軟正黑體, "Microsoft JhengHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 55px;
    font-weight: normal;
    letter-spacing: -2px;
    color: #0068b7;
    font-size: 36px;
}

#news-zoo h2.pos-subtitle {
    margin: 30px 0px 8px 0px;
    font-size: 24px;
    color: #0068b7;
    line-height: 1.3;
    font-style: italic;
    text-align: center;
}

/*一般文章的Banner*/
.wrap.t3-masthead {
    margin-bottom: 20px;
}

.t3-masthead .ja-masthead {
    width: 100%;
    height: 381px;
    padding-top: 23.06%;
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 200px;
    overflow: hidden;
}

.ja-masthead {
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}


.center-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.uk-button {
    margin: 0;
    font: inherit;
    color: #444;
    box-sizing: border-box;
    padding: 0 15px;
    background: #f5f5f5;
    line-height: 33px;
    min-height: 35px;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, .1) !important;
    border-radius: 2px;
    cursor: pointer;
    display: inline-block;
}

/*首頁 BANNER*/
.slick-arrow {
    top: 0;
    position: absolute;
    width: 50px;
    z-index: 10000;
    color: white;
    font-size: xx-large;
    height: 100%;
    display: flex;
    cursor: pointer;
}

.slick-my-prev {
    left: 50px;
}

.slick-my-next {
    right: 50px;
}

.slick-arrow > i {
    margin: auto;
    color: transparent;
}

.slick-slide .slide-img {
    height: 570px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-banner-text {
    font-size: 40px;
    line-height: 48px;
    font-weight: bold;
    width: 500px;
    height: 200px;
}

.home-banner-text .TopSpan {
    font-size: 45px;
}

.home-banner-text .BottomSpan {
    font-size: 35px;
}

.home-banner-text-center {
    top: 30%;
    left: 35%;
    position: absolute;
    color: white;
    text-align: center;
}

.home-banner-text-right {
    top: 30%;
    right: 5%;
    position: absolute;
    color: white;
    text-align: right;
}

.home-banner-text-left {
    top: 30%;
    left: 5%;
    position: absolute;
    color: white;
    text-align: left;
}

.home-banner-link {
    z-index: 1000;
    width: 100%;
    height: 100%;
    position: absolute;
}

.uk-button,
.uk-button:hover {
    font-size: 16px;
    margin-top: 5px;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.3);
    border: 1px solid #fff !important;
}
/*首頁 BANNER END*/

#homeProductHits {
    padding: 50px 50px;
}

.newProductHitsPanel {
    padding-bottom: 30px;
}

.red-new-tag {
    margin-left: 5px;
    color: red;
    font-size: 9px;
}



/* 小筆電 */
@media (max-width:1200px) {
}

/* 平板 */
@media (min-width:768px) and (max-width:991px) {


    .slick-arrow > i {
        color: rgba(255,255,255,.5);
    }

    .slick-my-prev {
        left: 5px;
    }

    .slick-my-next {
        right: 5px;
    }

    .home-banner-text-center {
        top: 35%;
        left: 50%;
        transform: translate(-50%, -35%);
    }
}

/* 手機 */
@media (max-width:767px) {
    .container {
        padding: 10px;
        max-width: none;
    }

    #sidebar {
        min-width: 320px;
    }

    #homeProductHits {
        padding: 30px 10px 10px 10px;
    }

    .homeNews {
        padding: 10px 10px;
    }

    .slick-arrow > i {
        color: rgba(255,255,255,.5);
    }

    .slick-my-prev {
        left: 5px;
    }

    .slick-my-next {
        right: 5px;
    }

    .home-banner-text-center {
        top: 40%;
        left: 50%;
        transform: translate(-50%, -40%);
    }

    .home-banner-text {
        width: 95vw;
        font-size: 35px;
    }

    .home-banner-text .TopSpan {
        font-size: 35px;
    }

    .home-banner-text .BottomSpan {
        font-size: 30px;
    }
}

/* 平板 、手機 */
@media (max-width: 768px) {
    .col-12 {
        padding-left: 0px;
        padding-right: 0px;
    }

    .col-md-12 {
        padding-left: 10px;
        padding-right: 10px;
    }

    h1.pos-title, h1.title {
        margin: 0px 0px 25px 0px;
        font-size: 30px;
    }

    #news-zoo h2.pos-subtitle {
        margin: 8px 0px 18px 0px;
        font-size: 18px;
    }

    h2.title {
        font-size: 22px;
    }
}

.banner-ani {
    animation: duration 500ms;
}

@keyframes duration {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
