﻿@import "nav.css";
@import "tabs.css";
@import "accordion.css";
@import "carousell.css";
@import "mobile.css";

*{
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important; 
}
    

    html,
    body {
        width: 100%;
        height: 100%;
        font-size: calc(14px + (18 - 14) * ((100vw - 300px) / (1600 - 300)));
        font-weight: 300;
        line-height: 1.5;
        position: relative;
        background-color: #fff;
        color: #333333;
		overflow-x:hidden;
        /*font-family: Arial, Helvetica,"STHeiti Medium", "Heiti TC Medium", "LiHei Pro", "Microsoft JhengHei Medium", "Microsoft Yahei", '微軟正黑體', '微软雅黑', 'Open Sans', sans-serif;*/
    }
body.noscroll{overflow:hidden;}

.uk-container-expand {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.section {
    position: relative;
    background-size: cover !important;
    background-position: center center;
    background-repeat: no-repeat;
}

.bgOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

header {
    position: relative;
    width:100% !important;
}




.gridbox {
    position: relative;
}

p:last-child {
    margin: 0 !important;
}



.mobile_lang_trigger {
    height: 68px;
}

    .mobile_lang_trigger a {
        display: inline-block;
        padding: 22px 24px;
        font-size: 1.25rem;
    }

        .mobile_lang_trigger a,
        .mobile_lang_trigger a:hover {
            color: #333;
            text-decoration: none;
        }

#language-mobile {
    width: 100%;
    height: auto;
    background: #eeeeee;
}

#language-mobile .language-items {
    position: relative;
    padding: 8px;
    display: block;
    text-align: left;
}

    #language-mobile .language-items > div {
        display: block;
    }

    #language-mobile .language-items a {
        display: block;
        font-size: 1rem;
        padding: 20px 24px;
        line-height: 1;
        color: #333;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    #language-mobile .language-items > div:last-child > a {
        border-bottom: 0 solid transparent;
    }

        #language-mobile .language-items a:hover {
            color: #000;
            text-decoration: none;
        }

   

.form-table{
    width:100%;
    border-collapse:collapse;
    margin: 8px;
}
    .form-table > tbody > tr > td {
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .section.grid-match .uk-card{
        height:100%;
    }

    .section.grid-top .uk-grid{
        align-items:flex-start;
    }
.section.grid-middle .uk-grid {
    align-items: center;
}
.section.grid-bottom .uk-grid {
    align-items: flex-end;
}
.center-items{
    height:100%;
    display:flex;
    align-items:center;
}

/* ===== SlideShow ===== */

.swiper-slide {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.slideshow-content {
    width: 100%;
    height: 100%;
    display: flex;
}

    .slideshow-content > div {
        width: 100%
    }

.slideshow-button-next {
    right: 0;
    left: auto;
}

.slideshow-button-prev {
    right: auto;
    left: 0;
}

.slideshow-button-next,
.slideshow-button-prev {
    position: absolute;
    top: 50%;
    width: 2rem;
    height: 2rem;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: background 0.3s;
}


    @media only screen and (max-width: 640px) {
        /*header {
        padding-right:64px;
    }*/
        .form-table > tbody > tr > td  {
        display:inline-block;
        width: 100%;
    }
    .form-table > tbody > tr > td:last-child {
        padding-bottom:16px;
    }
}

