html{
    font-size: 16px;
    font-family: 微軟正黑體;
    line-height: 1.4;
    color: #555;
}

a{
    color: #009ced;
    text-decoration: none;
}

a:hover{
    color: #0081c3;
    text-decoration: underline;
}

.container{
    width: 1080px;
    margin: 0 auto;
}

.top-menu{
    background: #ff9204;
    height: 36px;
}

.top-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content:flex-end;
}

.top-menu a {
    display: block;
    width: 90px;
    height: 36px;
    line-height: 36px;
    color: #fff;
    text-align: center;
    text-decoration: none;
}

.top-menu a:hover{
    background: #ff6204;
}

.top-menu i{
    margin-right: 5px;
}

h1.logo{
    margin: 0;
}

h1.logo a{
    display: block;
}

h1.logo img{
    width: 250px;
    height: 62px;
    display: block;
}

.search input{
    width: 250px;
    height: 28px;
    border: #ddd 2px solid;
    border-radius: 17px;
    padding-left: 35px;
}

.search input:focus{
    outline: none;
    border-color: #009ced;
    box-shadow: #009ced 0 0 2px;
}

.search i{
    position: relative;
    left: 32px;
}

.top-block .container{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 9px 0;
}


.main-menu{
    height: 38px;
    border-top: #ddd 1px solid;
    border-bottom: #ddd 1px solid;
}

.main-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.main-menu li{
    flex: 0 0 20%;
}

.main-menu a {
    display: block;
    height: 38px;
    line-height: 38px;
    color: #3d4143;
    text-align: center;
    text-decoration: none;
}

.main-menu a {
    color: #3d4143;
}

.main-menu a:hover{
    background: #ff9204;
    color: #fff;
}

.index-image{
    height: 400px;
    background: url(../images/index-image.jpg)
    center center no-repeat;
    background-size: cover;
    position: relative;
}

.index-image h2{
    font-size: 50px;
    color: rgba(255,255,255,0.8);
    position: absolute;
    margin: 0 0 0 150px;
    left: 50%;
    bottom: 80px;
}

.index-image h2 span{
    display: block;
    position: relative;
    left:2em;
}

.new-items{
    padding: 40px 0;
}

.new-items ul{
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    justify-content: space-between;
}

.new-items li{
    flex: 0 0 340px;
}

.featured-item{
    background: #eee;
    padding: 40px 0;
}

.featured-item h2{
    color: #ff9204;
    font-size: 2rem;
    margin: 0 0 30px;
    text-align: center;
}

.featured-item .item-content{
    display: flex;
}

.featured-item .item-img{
    flex: 0 0 360px;
    margin-right: 30px;
}

.featured-item .item-text{
    flex: 1;
}

.featured-item h3{
    margin-top: 0;
    font-size: 1.5rem;
}

.featured-item .user{
    margin-top: 30px;
    float: right;
}

.featured-item .user img{
    display: inline-block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-left: 10px;
    vertical-align: middle;
}

.news-and-principle{
    padding: 40px 0;
}

.news{
    flex:0 0 750px;
    min-width: 0;
}

.principle{
    flex:0 0 280px;
    display: flex;
    flex-direction: column-reverse;
    color: #fff;
}

.news-and-principle .container{
    display: flex;
    justify-content: space-between;
}

.news h2{
    width: 120px;
    height: 36px;
    margin: 0 0 20px;
    background: url(../images/news-title@2x.png) no-repeat;
    background-size: 100% 100%;
    text-indent: 110%;
    overflow: hidden;
    white-space: nowrap;
}

.news ul{
    margin: 0;
    padding: 0;
    list-style: none;
}

.news li{
    margin: 8px;
    border-bottom: #ddd 1px dotted;
}

.news a{
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news li:nth-child(even){
    background: #f5f5f5;
}

.principle h2{
    height: 60px;
    margin: 0;
    padding: 20px;
    background: #5f5547;
    position: relative;
}

.principle h2::before{
    content: "";
    display: block;
    position: absolute;
    border: transparent 8px solid;
    border-top: #ff9204 8px solid;
    width: 0;
    height: 0;
    top: 0;
    left: 40px;
}

.principle h2 img{
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
    background: #fff;
}

.principle-content{
    flex:1;
    background: #ff9204;
    padding: 10px;
}

.principle li{
    margin: 10px 0;
    font-size: 18px;
}

.page-footer{
    padding: 40px 0;
    background: #3d4143;
    color: #fff;
    text-align: center;
}

.page-footer ul{
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.page-footer .contact li{
    flex: 1 1 340px;
}

.page-footer .business-hours{
    padding: 20px 0;
}