/* ---------------------------------------------------共用--------------------------------------------------- */

.letter-spacing-2 {
    letter-spacing: 2px;
}

.letter-spacing-4 {
    letter-spacing: 2px;
}

.letter-spacing-6 {
    letter-spacing: 6px;
}

.button-01 {
    background-color: #912039;
    color: #fff;
}

 .am-header .am-header-right {
    right: 10px;
    top: 12px;
}

@media only screen and (max-width:400px) {
    .am-header .am-header-right {
    right: 0px;
    top: 65px;
        padding:0px 10px;
        background-color: #912039;
}
}

.am-pagination > .am-active > a {
    color: #fff;
    background-color: #912039;
    border-color: #912039;
    cursor: default;
}

.am-pagination > .am-active > a:hover {
    color: #fff;
    background-color: #912039;
    border-color: #912039;
    cursor: default;
}

/* ---------------------------------------------------選單--------------------------------------------------- */

.am-dropdown-content:after,
.am-dropdown-content:before {
    position: absolute;
    display: none;
    content: "";
    width: 0;
    height: 0;
    border: 0px dashed transparent;
    z-index: 1;
}

.am-dropdown-content {
    margin: 0px 0 0;
}

.am-nav>li.am-active>a,
.am-nav>li.am-active>a:focus,
.am-nav>li.am-active>a:hover {
    background-color: #912039;
}


/* ---------------------------------------------------右側滑入選單--------------------------------------------------- */

.am-list>li {
    position: relative;
    display: block;
    margin-bottom: -1px;
    background-color: transparent;
    border: 0px solid transparent;
    border-width: 0px 0;
    text-align: center;
}

.am-panel {
    margin-bottom: 20px;
    background-color: transparent;
    border: 0px solid transparent;
    border-radius: 0;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 0px rgba(255, 255, 255, 0.2);
}

.sidemenu {
    color: #fff;
}

.sidemenu:hover {
    color: #fff;
}


/* ---------------------------------------------------首頁-幻燈片--------------------------------------------------- */

.home-slider-mask {
    position: absolute;
    float: left;
    width: 100%;
    z-index: 1;
    height: 72px;
    background-color:rgba(255, 18, 29, 0.9);
    /*background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
    /* FF3.6-15 */
    /*background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
    /* Chrome10-25,Safari5.1-6 */
    /*background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    /*filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000', GradientType=0);
    /* IE6-9 */
}

.inside-slider-mask {
    position: absolute;
    float: left;
    width: 100%;
    z-index: 1;
    height: 300px;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000', GradientType=0);
    /* IE6-9 */
}

.home-slider-logo {
    position: absolute;
    z-index: 1;
    top: 0px;
    left: 5%;
    background-color: rgba(255, 255, 255, 0.83);
    max-width: 150px;
    padding: 20px;
    border: 10px solid rgb(125, 78, 34);
}

.home-slide-bline {
    border-top: 0px solid #fff;
}

.am-slider-default {
    margin: 0 0 0px;
}

.am-slider-default .am-control-nav {
    bottom: -18px;
    right: 12px;
    text-align: right;
}

.am-slider-default .am-control-nav li a {
    width: 8px;
    height: 8px;
    display: block;
    background-color: rgb(211, 211, 211);
    line-height: 0;
    font-size: 0;
    cursor: pointer;
    text-indent: -9999px;
    border-radius: 0px;
}

.am-slider-default .am-control-nav li a.am-active {
    background-color: #912039;
    cursor: default;
}

.am-slider-default .am-direction-nav a:before {
    display: inline-block;
    font: normal normal normal 1.6rem/1 FontAwesome, sans-serif;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
    width: 100%;
    color: #fff;
    content: "\f104";
    font-size: 60px!important;
    text-align: center;
    line-height: 33px!important;
    height: 66px;
    text-shadow: 0 0 4px rgba(0, 0, 0, 1);
}

.am-slider-default .am-direction-nav a.am-next:before {
    content: "\f105";
}

@media only screen and (max-width:1200px) {
    .home-slider-mask {
        position: absolute;
        float: left;
        width: 100%;
        z-index: 1;
        height: 90px;
    }
    .home-slide-bline {
        border-top: 30px solid #fff;
    }
    .home-slider-logo {
        position: absolute;
        z-index: 1;
        bottom: 40%;
        left: 5%;
        background-color: rgba(255, 255, 255, 0.83);
        max-width: 200px;
        padding: 10px;
        border: 10px solid rgb(125, 78, 34);
    }
}

@media only screen and (max-width:768px) {
    .home-slider-mask {
        position: absolute;
        float: left;
        width: 100%;
        z-index: 1;
        height: 90px;
    }
    .home-slider-logo {
        position: absolute;
        z-index: 1;
        bottom: 35%;
        left: 7%;
        background-color: rgba(255, 255, 255, 0.83);
        max-width: 130px;
        padding: 5px;
        border: 5px solid rgb(125, 78, 34);
    }
}

@media only screen and (max-width:480px) {
    .home-slider-mask {
        position: absolute;
        float: left;
        width: 100%;
        z-index: 1;
        height: 90px;
    }
    .home-slider-logo {
        position: absolute;
        z-index: 1;
        bottom: 25%;
        left: 15%;
        background-color: rgba(255, 255, 255, 0.83);
        max-width: 100px;
        padding: 5px;
        border: 5px solid rgb(125, 78, 34);
    }
}


/* ---------------------------------------------------首頁-業績展示--------------------------------------------------- */

.home-archives-title {
    font-size: 25px;
    font-weight: bold;
    color: #912039;
}

.home-archives-discription {
    padding: 0px 0 40px 0;
    font-size: 14px;
}

.archives-pic-title {
    font-size: 22px;
    color: #fff;
}

.archives-pic-discription {
    font-size: 12px;
    color: #fff;
}


/* ---------------------------------------------------內頁內容--------------------------------------------------- */

.archives-name-frame {
    background-color: #fff;
    padding: 24px 20px 20px 20px;
}

.archives-name {
    font-size: 25px;
    font-weight: bold;
    color: #912039;
}

.menu-name {
    background-color: #fff;
    padding: 20px 0px;
}

.submenu-name {
    background-color: #fff;
    padding: 10px 10px 0px 10px;
}

.menu-img {
    padding: 20px 10px 20px 10px;
}

.unit-name {
    font-size: 20px;
    font-weight: bold;
    color: #912039;
}

.item-name {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.unit-menu {
    background-color: #912039;
    color: #fff;
}

.unit-menu:hover {
    background-color: #912039;
    color: #fff;
}

.item-discript {
    color: #999;
    font-size: 12px;
    padding-left: 10px;
    letter-spacing: 0px;
}

.zoom-open {
    color: #333;
    font-size: 13px;
    padding-top: 5px;
    letter-spacing: 0px;
}

.project-lightbox {
    position: absolute;
    padding: 5px 10px 5px 10px;
    background-color: black;
    bottom: 0px;
    color: #fff;
}

.project-lightbox2 {
    position: absolute;
    padding: 5px 10px 5px 10px;
    background-color: black;
    bottom: 15px;
    color: #fff;
}

.project-lightbox:hover {
    background-color: #912039;
    color: #fff;
}

.google-map {
    width: 100%;
    min-height: 600px;
    border: 1px solid #999;
}

.am-btn:focus,
.am-btn:hover {
    color: #fff;
    text-decoration: none;
}

ul.am-dropdown-content>.am-active>a,
ul.am-dropdown-content>.am-active>a:focus,
ul.am-dropdown-content>.am-active>a:hover {
    background-color: #912039;
}

ul.am-dropdown-content>li>a:hover {
    color: #912039;
}

#panorama {
    width: 100%;
    height: 600px;
    z-index: 1;
}

#controls {
    position: absolute;
    bottom: 0;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding-bottom: 3px;
}

.ctrl {
    padding: 8px 5px;
    width: 30px;
    text-align: center;
    background: rgba(200, 200, 200, 0.8);
    display: inline-block;
    cursor: pointer;
}

.ctrl:hover {
    background: rgba(200, 200, 200, 1);
}

.menu-divider {
    padding-left: 18px;
    border-left: 1px solid rgb(255, 255, 255);
    min-height: 450px;
}


.inside-bg-01 {
    background-image: url(../images/bg_01.jpg);
    background-position: center center;
    height: 300px;
    filter: grayscale(100%);
}

.inside-bg-02 {
    background-image: url(../images/bg_02.jpg);
    background-position: center center;
    height: 300px;
    filter: grayscale(100%);
}

.inside-bg-03 {
    background-image: url(../images/bg_03.jpg);
    background-position: center center;
    height: 300px;
    filter: grayscale(100%);
}

.inside-bg-04 {
    background-image: url(../images/bg_04.jpg);
    background-position: center center;
    height: 300px;
    filter: grayscale(100%);
}

.album-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    /*background-color: rgba(208, 165, 22, 0.5);*/
}

.album-container {
    position: relative;
}

.album-container:hover .album-overlay {
    opacity: 1;
}

.album-image {
    display: block;
    width: 100%;
    height: auto;
}

.album-text {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

@media only screen and (max-width:1024px) {
    #panorama {
        width: 100%;
        height: 400px;
    }
}

@media only screen and (max-width:640px) {
    #panorama {
        width: 100%;
        height: 300px;
    }
    .menu-divider {
        padding-left: 10px;
        padding-top: 20px;
        border-left: 0px solid rgb(255, 255, 255);
    }
    .menu-img {
        padding: 20px 30px 20px 30px;
    }
}


/* ---------------------------------------------------歷年業績--------------------------------------------------- */

.map-bg {
    font-size: 13px;
    color: #fff;
    background-color: #333;
}

.map-name {
    font-size: 16px;
    font-weight: bold;
    background-color: #f5f5db;
}

.map-discript {
    font-size: 12px;
}

.map-discript02 {
    font-size: 15px;
}

.am-nav-tabs>li.am-active>a,
.am-nav-tabs>li.am-active>a:focus,
.am-nav-tabs>li.am-active>a:hover {
    color: #fff;
}

.am-tabs-bd {
    position: relative;
    z-index: 100;
    overflow: hidden;
    border-top: 1px solid #912039;
    border-left: 0px;
    border-right: 0px;
    border-bottom: 0px;
    transition: height 0.3s;
}


/* ---------------------------------------------------購屋專線--------------------------------------------------- */

.am-ucheck-icons {
    top: 8px;
}

.service-name {
    font-size: 15px;
    font-weight: 500;
}


/* ---------------------------------------------------頁腳--------------------------------------------------- */

.footer-company-frame {
    padding-top: 10px;
}

.footer-company {
    font-size: 20px;
    font-weight: bold;
    color: #999;
    padding-top: 5px;
    line-height: 10px;
    display: inline-block;
}

.footer-add {
    display: inline-block;
}


/* ---------------------------------------------------20170521新增--------------------------------------------------- */
.sticky-bg {
    padding:10px 4px;
    background-color:#000;
}
.sticky-address {
    font-size: 13px;
    color: #999;
    padding-top:8px;
}
@media only screen and (max-width:1160px) {
.sticky-address {
    display: none;
}
}
.sticky-menu{
    font-size: 20px;
    color: #999;
    font-weight: bolder;
}
.sticky-menu:hover{
    color: #000;
    background-color: #000;
}
.menu-divider-2 {
    border-left: 1px solid #333;
    top:10px;
    height: 18px;
}


.header-bg{
    background:#ff1420;
    height:72px;
}
#wrap {
            
            height: auto;
            width: 100%;
            background-color: #f00;
            position: relative;
        }
        
        #fixed {
            z-index: 1;
            position: fixed;
            left: 0px;
            bottom: 0px;
            width: 100%;
            display: inline-block;
            float: left;
        }
        
        #fixed.not-so-fixed {
            position: absolute;
            top: auto;
            bottom: 0;
        }

.archives-slider-logo {
    position: absolute;
    z-index: 1;
    top: 90px;
    /*bottom: 40%;*/
    left: 5%;
    /*background-color: rgba(255, 255, 255, 0.83);*/
    max-width: 150px;
    /*padding: 20px;*/
    border: 5px solid rgb(125, 78, 34);
}
.archives-slide-pict{
    width: 100%;
    height:900px;
    background-size:cover;
    background-position: center center;
}
.num{
    font-family: Microsoft JhengHei;
    color:#fff;
    display:inline-block;
    border-radius:3px;
    padding-left:2px;
    padding-right:2px;
    background: #959595; /* Old browsers */
    background: -moz-linear-gradient(top, #959595 0%, #0d0d0d 46%, #010101 50%, #0a0a0a 53%, #4e4e4e 76%, #383838 87%, #1b1b1b 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #959595 0%,#0d0d0d 46%,#010101 50%,#0a0a0a 53%,#4e4e4e 76%,#383838 87%,#1b1b1b 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #959595 0%,#0d0d0d 46%,#010101 50%,#0a0a0a 53%,#4e4e4e 76%,#383838 87%,#1b1b1b 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#959595', endColorstr='#1b1b1b',GradientType=0 ); /* IE6-9 */
    margin-right:2px;
}
@media only screen and (max-width:1300px) {
    .archives-slider-logo {
        position: absolute;
        z-index: 1;
        bottom: 27%;
        left: 5%;
        background-color: rgba(255, 255, 255, 0.83);
        max-width: 240px;
        padding: 10px;
        border: 10px solid rgb(125, 78, 34);
    }
.archives-slide-pict{
    width: 100%;
    height:700px;
    background-size:cover;
    background-position: center center;
}
}

@media only screen and (max-width:768px) {
    .archives-slider-logo {
        position: absolute;
        z-index: 1;
        bottom: 24%;
        left: 7%;
        background-color: rgba(255, 255, 255, 0.83);
        max-width: 180px;
        padding: 5px;
        border: 7px solid rgb(125, 78, 34);
    }
.archives-slide-pict{
    width: 100%;
    height:500px;
    background-size:cover;
    background-position: center center;
}
}

@media only screen and (max-width:480px) {
    .archives-slider-logo {
        position: absolute;
        z-index: 1;
        bottom: 25%;
        left: 10%;
        background-color: rgba(255, 255, 255, 0.83);
        max-width: 65px;
        padding: 5px;
        border: 5px solid rgb(125, 78, 34);
    }
.archives-slide-pict{
    width: 100%;
    height:400px;
    background-size:cover;
    background-position: center center;
}
}
.imgTarget{
    width:25px;
}