@import url(./nav_menu.css);
html, body{
    height: auto;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: Microsoft JhengHei, 微軟正黑體;
}
header{
    width: 100%;
    height: 80px;
    background-color: #FFF;
    position: fixed;
    top: 0;
    left: 0;
    text-align: center;
    z-index: 1000;
}
header.fixed{
    bottom:auto;
    top:0;
    margin-top: 0;
}
.fixed{
    z-index: 1000;
    position: fixed;
}
header .container{
    position: relative;
    height: 100%;
    max-width: 980px;
    margin: 0 auto;
}
header .menu-btn{
    position: absolute;
    bottom: 1em;
    right: 1em;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
header a.logo{
    margin-top: 1.5em;
    display: inline-block;
}
header a.logo img{
    max-width: 135.6px;
}
.banner {
    width: 100%;
    height: 770px;
    background-image: url(../img/iot/banner.jpg);
    background-size: cover;
    background-position: center center;
    margin-top: 80px;
}
.introduction{
    max-width: 980px;
    width: 100%;
    margin: 5em auto 0 auto;
    position: relative;
}
.introduction ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
.introduction li{
    margin: 0 0 3em 0;
    padding: 0;
}
.introduction li:nth-child(4){
    margin-bottom: 6em;
}
.introduction li:nth-child(5){
    margin-bottom: 0;
}
.introduction li:last-child{
    margin-bottom: 10em;
}
.text-img{
    margin: auto;
    width: 619px;
}
.text-img.line{
    width: 713px;
    height: 76px;
    position: relative;
}
.text-img.summary{
    position: relative;
    top: 40px;
}
.staticImg{
    position: absolute;
    width: 100%;
    min-width: 980px;
    height: 100%;
    z-index: 1;
    top: 200%;
    left: -100px;
    -webkit-transition: top 700ms ease, left 700ms ease;
    transition: top 700ms ease, left 700ms ease;
    pointer-events: none;
}
.staticImg .hand{
    position: absolute;
    width: 873.9px;
}
.staticImg .stage{
    position: absolute;
    top: 77px;
    left: 572px;
    width: 218.7px;
    height: 388.8px;
    overflow: hidden;
    background-color: black;
    padding: 1px;
}
.staticImg .desktop{
    position: absolute;
    top: 0px;
    width: 218.7px;
}
.staticImg .app{
    position: absolute;
    top: 0px;
    opacity: 0;
    width: 218.7px;
    -webkit-transition: opacity 500ms ease;
    transition: opacity 500ms ease;
}
.staticImg .app.active{
    opacity: 1;
}
main{
}
main>.container{
}
.HSI{
    background: url(../img/iot/section_1.jpg) center no-repeat;
    background-size: cover;
}
.smartliving{
    background: url(../img/iot/section_2.jpg) center no-repeat;
    background-size: cover;
}
.healthmanagement{
    background: url(../img/iot/section_3.jpg) center no-repeat;
    background-size: cover;
}
section .imgContainer{
    width: 980px;
    position: relative;
    margin: auto;
    height: 100%;
}
section .imgContainer img{
    margin-top: 1.5em;
    position: absolute;
    right: 0;
    top: 80px;
}
footer .wrapper{
    height: 174.4px;
    text-align: center;
    position: relative;
    background-color: white;
    z-index: 9999;
}
footer .wrapper img{
    position: absolute;
    bottom: 2em;
    width: 205.6px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
@media all and (-ms-high-contrast:none){
    /* for ie 11 */
    /*section .imgContainer img{
        margin-top: 5em;
    }*/
}
@media screen and (max-device-width: 480px), only screen
and (max-device-width: 736px)
and (-webkit-min-device-pixel-ratio: 2){
    header {
        -webkit-transition: none;
        -moz-transition: none;
          -o-transition: none;
             transition: none;
        -webkit-transform: none;
        transform: none;
    }
    header.fixed{
        position: fixed;
        z-index: 1000;
    }
    .banner{
        height: 300px;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top;
    }
    .introduction li{
        margin: 0 0 2.5em 0;
        padding: 0;
    }
    .introduction li:nth-child(4){
        margin-bottom: 3em;
    }
    .introduction li:nth-child(5){
        margin-bottom: 0;
    }
    .introduction li:last-child{
        margin-bottom: 5em;
    }
    .text-img{
        width: 90%;
    }
    .text-img img{
        width: 100%;
    }
    .text-img.line{
        width: 98%;
        height: auto;
        position: relative;
        /*top: -20px;*/
    }
    .text-img.summary{
        top: 20px;
    }
    .staticImg{
        min-width: 0;
        height: auto;
        pointer-events: none;
    }
    .staticImg .hand{
        width: 388.4px
    }
    .staticImg .stage {
        position: absolute;
        top: 34px;
        left: 254px;
        width: 97.2px;
        height: 172.8px;
        overflow: hidden;
    }
    .staticImg .app{
        position: absolute;
        top: 0px;
        opacity: 0;
        width: 97.2px;
        height: 172.8px;
        -webkit-transition: opacity 500ms ease;
        transition: opacity 500ms ease;
    }
    section .imgContainer{
        width: 100%;
        padding-top: 0px;
    }
    .HSI{
        background: url(../img/iot/min/section_1.jpg) center no-repeat;
        background-size: cover;
    }
    section.HSI .imgContainer img{
        width: 156px;
        right: 1em;
        margin-top: 1em;
    }
    .smartliving{
        background: url(../img/iot/min/section_2.jpg) center no-repeat;
        background-size: cover;
    }
    section.smartliving .imgContainer img{
        width: 160px;
        right: 1em;
        margin-top: 1em;
    }
    .healthmanagement{
        background: url(../img/iot/min/section_3.jpg) center no-repeat;
        background-size: cover;
    }
    section.healthmanagement .imgContainer img{
        width: 156px;
        right: 1em;
        margin-top: 1em;
    }
    footer .wrapper img{
        width: 128.5px;
    }
    footer .wrapper{
        height: 109px;
    }
}

@media only screen
and (min-device-width: 320px)
and (max-device-width: 736px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation : landscape){
    .staticImg .hand{
        width: 277.4px
    }
    .staticImg .stage {
        position: absolute;
        top: 24px;
        left: 181px;
        width: 69.4px;
        height: 123.4px;
        overflow: hidden;
    }
    .staticImg .app{
        position: absolute;
        top: 0px;
        opacity: 0;
        width: 69.4px;
        height: 123.4px;
        -webkit-transition: opacity 500ms ease;
        transition: opacity 500ms ease;
    }
    .HSI{
        background: url(../img/iot/section_1.jpg) center no-repeat;
        background-size: cover;
    }
    .smartliving{
        background: url(../img/iot/section_2.jpg) center no-repeat;
        background-size: cover;
    }
    .healthmanagement{
        background: url(../img/iot/section_3.jpg) center no-repeat;
        background-size: cover;
    }
}
/**
* for ipad
*/
@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (-webkit-min-device-pixel-ratio: 1) {
    .banner{
        height: 450px;
    }
    section .imgContainer{
        width: 100%;
    }
    section .imgContainer img{
        right: 2em;
    }
    .HSI {
        background: url(../img/iot/section_1.jpg) 60% no-repeat;
        background-size: cover;
    }
    .smartliving {
        background: url(../img/iot/section_2.jpg) 55% no-repeat;
        background-size: cover;
    }
    .healthmanagement {
        background: url(../img/iot/section_3.jpg) 60% no-repeat;
        background-size: cover;
    }
}