html, body {
   /* height: 100%;*/
}
body {
	background: url(../../images/sp2021/bg.jpg) no-repeat center center;
    background-size: cover;    
    background-attachment: fixed;
}
.navbars-box.sub {
    height: 92px;
}
.navbars-box-top.sub {
    padding-top: 92px;
}
/*選單與標題*/
.top-menu-btn-box>div, .top-menu-btn-box>a {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
    height: 46px;
    background-color: #3E3A39;
    color: #fff;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, opacity .15s ease-in-out;
}
.top-menu-btn-box>div, .top-menu-btn-box>a {
    border-right: 1px solid #595757;
}
.top-menu-btn-box>div:last-child, .top-menu-btn-box>a:last-child {
    border-right: 0px;
}
.top-menu-btn-box>div:hover, .top-menu-btn-box>a:hover {
}
.top-menu-btn-box>div.active , .top-menu-btn-box>a.active {
}
.nav-pills .nav-link {
    border-radius: 0px;
    padding: 0px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: inherit;
    background-color: whitesmoke;
}

/*右方快捷影片廣告*/
.right-sp-video {	
	
    position: fixed;

    top: 148px;
    right: 0;
    bottom: 0;
    /*margin: auto 0;*/

    background-color: transparent;
    background-image: url(../../images/new/right-sp-video.png);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 40px 160px;
    width: 40px;
	height: 160px;
/*    height: 220px;*/
    overflow: hidden;
    z-index: 999;
    border-bottom-left-radius: 20px;
    border-top-left-radius: 20px;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
    cursor: pointer;
}
/*右方快捷影片廣告*/

/*精選好屋*/
.actions-object-search-box>div:nth-child(1), .actions-object-search-box>div:nth-child(2) {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}
.actions-object-search-box>div {
	padding-right: 12px;
}
.actions-object-search-box>div:last-child {
	padding-right: 0px;
}
@media (max-width: 680px) {
.actions-object-search-box>div:nth-child(1), .actions-object-search-box>div:nth-child(2) {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}
.actions-object-search-box>div {
	padding-right: 0px;
	padding-bottom: 12px;
}
.actions-object-search-box>div:last-child {
	padding-bottom: 0px;
}
.actions-object-search-box>div:nth-child(1) {
	padding-right: 6px;
}
.actions-object-search-box>div:nth-child(2) {
	padding-left: 6px;
}
}

.actions-object-data>span::after {
	color: #DCDDDD;
    margin: 0;
	padding: 0;
    content: "︱";
}
.actions-object-data>span:last-child::after {
    content: "";
}
.actions-page-num {
	margin-top: 16px;
	width: 100%;
	text-align: center;
	padding: 8px 12px;
	border-top: 1px solid #e6e6e6;
	border-bottom: 1px solid #e6e6e6;
	background-color: #EFEFEF;
}
.actions-object-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: center;
    justify-content: center;
}
.actions-object-box {
    overflow: hidden;
    width: 262px;
    height: auto;
    flex: 0 0 262px;
    max-width: 262px;
    padding: 12px;
    margin: 16px 8px 0px 8px;
    border: 1px solid #e6e6e6;
    background-color: #fff;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}
.actions-object-box:nth-child(1), .actions-object-box:nth-child(2), .actions-object-box:nth-child(3), .actions-object-box:nth-child(4) {
    margin: 0px 8px 0px 8px;
}
@media (max-width: 1192px) {
.actions-object-box:nth-child(4) {
    margin: 16px 8px 0px 8px;
}
}
@media (max-width: 912px) {
.actions-object-box:nth-child(3) {
    margin: 16px 8px 0px 8px;
}
}
@media (max-width: 632px) {
.actions-page-num {
	margin-top: 0px;
	margin-bottom: 16px;
}
.actions-object-box:nth-child(1), .actions-object-box:nth-child(2) {
    margin: 16px 8px 0px 8px;
}
/*
.actions-object-row {
    padding-left: 4px;
    padding-bottom: 12px;
    overflow-x: auto;
    
    -ms-flex-wrap: nowrap!important;
    flex-wrap: nowrap!important;
    -ms-flex-pack: start!important;
    justify-content: start!important;    
    
    -webkit-overflow-scrolling: touch;    
    -webkit-font-smoothing: antialiased;
    -webkit-user-select: none;
    -moz-user-select: moz-none;
    -ms-user-select: none;
    user-select: none;    
}
*/
.actions-object-box {
    flex: 0 0 100%;
    max-width: 100%;
    /*margin: 0px 8px 0px 8px!important;*/
    margin: 0px 0px 14px 0px!important;
    box-shadow: 0 0px 0px rgba(0, 0, 0, .0);
}
.actions-object-box:last-child {
    margin: 0px 0px 0px 0px!important;
}
}

.actions-object-box>div {
    margin-bottom: 4px;
}
.actions-object-box>div:last-child {
    margin-bottom: 0px;
}
.actions-object-image {
    width: 100%;
    height: 168px;
}
.mw-60px {
	max-width: 60px;
}
/*精選好屋*/

/*主視覺區塊*/
.carousel-item{
  height: auto;
}
.main-top-box {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: url(../../images/sp2021/home_1920.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}

.main-top-pic {
  position: relative;
  width: 100%;
  margin: 0 auto;
  max-width: 1336px;
  height: 520px;
  overflow: hidden;
}

.main-top-pic div img {
  width: 100%;
  height: auto;
}

.main-top-image-01 {
  position: relative;
  margin: 0 auto;
  opacity: 0;
  margin-top: 40px;
  animation-delay: 1s;
  animation-duration: 1.2s;
  animation-name: god;
  animation-fill-mode: forwards;

}

.main-top-title {
  position: absolute;
  width: 300px;
  top: 30px;
  opacity: 0;
  left: calc(50% - 150px);
  animation-delay: 1.5s;
  animation-duration: 1.2s;
  animation-name: fadein01;
  animation-fill-mode: forwards;
}

.main-top-image-02 {
  position: absolute;
  width: 460px;
  bottom: 10px;
  opacity: 0;
  left: calc(50% - 230px);
  animation-delay: 1.9s;
  animation-duration: 1.2s;
  animation-name: fadein02;
  animation-fill-mode: forwards;
}

.main-top-cloud01 {
  position: absolute;
  overflow: hidden;
  width: 88px;
  top: 260px;
  opacity: 0;
  left: calc(50% - 170px);
  animation-delay: 2.2s;
  animation-name: open,  cloud01;
  animation-duration: 2s, 2.3s;
  animation-iteration-count:1, infinite;
}

.main-top-cloud02 {
  position: absolute;
  overflow: hidden;
  width: 60px;
  top: 300px;
  opacity: 0;
  right: calc(50% - 180px);
  animation-delay: 2.2s;
  animation-name: open,  cloud02;
  animation-duration: 2s, 2s;
  animation-iteration-count:1, infinite;
}

.main-top-light {
  position: absolute;
  margin: 0 auto;
  overflow: hidden;
  width: 80px;
  height: 80px;
  top: 210px;
  right: calc(50% - 160px);
  animation-delay: 3.3s;
  opacity: 0;
  animation: 2s linear 1.5s infinite alternate slidein;
  animation-name: light;

}

@keyframes god {
  0% {
      width: 500px;
  }


  100% {
      width: 465px;
      opacity: 1;

  }
}

@keyframes fadein01 {
  0% {
      top: 50px;
  }


  100% {
      top: 30px;
      opacity: 1;

  }
}

@keyframes fadein02 {
  0% {
      bottom: 0px;
  }


  100% {
      bottom: 10px;
      opacity: 1;

  }
}

@keyframes cloud01 {
  0% {
      left: calc(50% - 170px);
      opacity: 1;
  }

  50% {
      left: calc(50% - 180px);
      opacity: 1;

  }

  100% {
      left: calc(50% - 170px);
      opacity: 1;

  }
}

@keyframes cloud02 {
  0% {
      right: calc(50% - 180px);
      opacity: 1;
  }

  50% {
      right: calc(50% - 170px);
      opacity: 1;

  }

  100% {
      right: calc(50% - 180px);
      opacity: 1;
  }
}

@keyframes light {
  0% {
      opacity: 0.6;
  }

  50% {
      opacity: 1;
  }

  100% {
      opacity: 0.6;
  }

}
@keyframes open {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }

}

@media (max-width: 479px) {


  .main-top-box {
      position: relative;
      width: 100%;
      height: 320px;
  }

  .main-top-pic {
      height: 320px;
  }

  .main-top-image-01 {
      position: relative;
      margin: 0 auto;
      width: 280px;
      margin-top: 30px;
      opacity: 0;
      animation-name: god_02;
  }

  .main-top-title {
      position: absolute;
      width: 260px;
      top: 10px;
      opacity: 0;
      left: calc(50% - 130px);
      animation-name: fadein01_02;
  }

  .main-top-image-02 {
      width: 300px;
      bottom: 0;
      left: calc(50% - 150px);
      animation-name: fadein02_02;

  }

  .main-top-light {
    width: 60px;
    height: 60px;
    top: 130px;
    right: 25%;
  }

  .main-top-cloud01 {
    width: 55px;
    top: 55%;
    animation-name: open,  cloud01_02;
  }

  .main-top-cloud02 {
    width: 38px;
    top: 65%;
    animation-name: open,  cloud02_02 ;
  }
  @keyframes god_02 {
    0% {
        width: 300px;
    }
    100% {
        width: 280px;
        opacity: 1;
    }
  }
  @keyframes fadein01_02 {
      0% {
          top: 20px;
      }
      100% {
          top: 10px;
          opacity: 1;
      }
  }
  @keyframes fadein02_02 {
    0% {
        bottom: 0px;
    }

    100% {
        bottom: 5px;
        opacity: 1;
    }
  }
  @keyframes cloud01_02 {
    0% {
      left: 19%;
      opacity: 1;
    }

    50% {
      left: 21%;
    }

    100% {
      left:19%;
      opacity: 1;
    }
  }
    @keyframes cloud02_02 {
      0% {
        right: 14%;
        opacity: 1;
      }
      50% {
        right: 15%;

      }
      100% {
        right: 14%;
        opacity: 1;
      }
  }

}
@media (max-width: 330px){
  @keyframes cloud01_02 {
    0% {
      left: 17%;
      opacity: 1;
    }

    50% {
      left: 19%;
    }

    100% {
      left:17%;
      opacity: 1;
    }
  }
    @keyframes cloud02_02 {
      0% {
        right: 10%;
        opacity: 1;
      }
      50% {
        right: 8%;

      }
      100% {
        right: 10%;
        opacity: 1;
      }
  }
}
/*主視覺區塊*/




/*活動公告*/
.img-padding {
	padding: 16px 16px 0px 16px;
}
.sp-event-container {
    padding: 0 0px!important;
}
.sp-event-box {
    position: relative;
    display: inline-block;
    width: 100%;
    padding: 16px;
    margin: 0px;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
}
.sp-safe-t-box {
	width: max-content;
    display: inline-block;
    color: #fff;
    padding: 4px 8px;
    background-color: #3E3A39;
    border-radius: 0px;
}
.sp-safe-t-box.item1 {
    background-color: #ea5514;
}
.sp-safe-t-box.item2 {
    background-color: #c30d23;
}
.sp-safe-t-box.item3 {
    background-color: #956134;
}
.sp-safe-t-box-r {
	width: max-content;
    display: inline-block;
    color: #fff;
    padding: 4px 8px;
    background-color: #e60012;
    border-radius: 0px;
}
.sp-safe-number-r {
    color: #fff;
    width: 25px;
    height: 25px;
    background-color: #e60012;
    border-radius: 50%;
}
.sp-event-img1a {
    float: right;
    max-width: 200px;
    padding: 140px 0 0 12px;
    margin: 12px 0px -24px 0;
}
.sp-event-img1b {
    width: 100%;
    text-align: right;
    margin: 12px 0 -12px 0px;
    display: none;
}
.sp-event-img1b img {
    max-width: 250px!important;
}
@media (max-width: 878px) {
.sp-event-img1a {
    padding: 182px 0 0 0;
}
}
@media (max-width: 600px) {
.sp-event-box {
    padding: 16px;
}
.sp-event-img1a {
    display: none;
}
.sp-event-img1b {
    display: block;
}
}
.sp-event-col-box {
    width: 100%;
    padding: 16px;
    border: 1px dashed #e6e6e6;
	background-color: whitesmoke;
	
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
}
.col-pr {
    padding-right: 8px;
}
.col-pl {
    padding-left: 8px;
}
.col-px {
    padding-left: 8px;
    padding-right: 8px;
}
.sp-event-item-box {
    max-width: 150px;
}
.sp-safe-number-r-box {
    position: absolute;
    right: 0px;
    bottom: 0px;
    padding: 20px 16px;
    color: #fff;
    font-size: 28px;
    width: auto;
    background-color: #e60012;
    border-radius: 50%;
    box-shadow: 0 2px 2px rgba(0, 0, 0, .1);
}
@media (max-width: 680px) {
.col-pr {
    padding-right: 0px;
}
.col-pl {
    padding-left: 0px;
}
.col-px {
    padding-left: 0px;
    padding-right: 0px;
}
.sp-safe-number-r-box {

}
}

/*活動單位*/
.organization-box>div {
    margin: 0px 12px 12px 12px;
}
.organization-img {
    height: 41px;
}

@media (max-width: 680px) {
.organization-img {
    width: 33.33%;
    height: auto;
}
.organization-box>div {
    margin: 0px 0px 12px 12px;
}
.organization-box>div:first-child {
    margin: 0px 0px 4px 12px;
}
}
@media (max-width: 320px) {
.organization-img {

}
}

/*注意事項、得獎名單*/
.modal-box {

}
.modal-box.bg {
    position: relative;
}
.modal-box.bg::after {
    content : "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity : 0.8;
    z-index: -1;
/*    background: url(../../images/sp2020/bg.jpg) no-repeat center center;*/
    background-size: cover;    
    background-attachment: fixed;
}
.sp-safe-ol-box>li {
    margin-bottom: 8px;
}
.sp-safe-ol-box>li:last-child {
    margin-bottom: 0px;
}

.justify-content-c-to-s {
    -ms-flex-pack: center!important;
    justify-content: center!important
}
@media (max-width: 680px) {
.justify-content-c-to-s {
    -ms-flex-pack: start!important;
    justify-content: start!important
}
}
.mt-2 .fas.fa-map-marker-alt {
    margin-right: 4px;
}

/*僑馥建經*/
.more-article img, .more-big-article img {
	border: 1px solid #EFEFEF;
}
.more-text {
	padding-bottom: 8px;
	border-bottom: 1px solid #EFEFEF;
}
.more-text.detail {
	padding-bottom: 8px;
	border-bottom: 1px solid #B5B5B6;
}
.more-article>div {
	padding: 0px 16px 0px 16px;
}
.more-article .fa-caret-up {
	display: none;
}
.more-box {
	position: relative;	
}
.more-box .more-box-t {
	color: white;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0,0,0,0.3);
	opacity: 0;
	transition: all .15s ease-in-out;
}
.more-box:hover .more-box-t {
	opacity: 1;
}
.more-article-detail>div:first-child {
	padding-left: 24px;
	padding-right: 24px;
}
.more-article-detail>div:last-child {
	margin-left: auto;
	padding-left: 24px;
	padding-right: 24px;
}
.more-detail>div {
	margin-bottom: 16px;
}
.more-detail>div:last-child {
	margin-bottom: 0px;
}
@media (max-width: 680px) {
.more-article-detail>div:first-child {
	margin-bottom: 16px;
}
.more-big-article>div:first-child {
	margin-bottom: 16px;
}
.more-article>div {
	padding: 0px 0px 16px 0px;
}
.more-article>div:last-child {
	padding: 0px 0px 0px 0px;
}
.more-article .fa-caret-up {
	display: inline-block;
}
}

/*表格*/
.table.sp_safe.ml--1 {
    margin-left: -1px;
}
.table.sp_safe {
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap!important;
    margin-bottom: 0px;
    
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
}
.table.sp_safe thead {
    color: #fff;
    background-color: rgba(230,0,18,1);
}
.table.sp_safe td, .table.sp_safe th {
    padding: 8px 8px;
    vertical-align: middle;
}
.table-hover.sp_safe tbody tr {
    transition: color .15s ease-in-out, background-color .15s ease-in-out, opacity .15s ease-in-out;
}
.table-hover.sp_safe tbody tr:hover {
    color: inherit;
    background-color: rgba(0,0,0,.05);
}
.table.sp_safe.left-1 thead tr>th:first-child, .table.sp_safe.left-1 tr>td:first-child {
    text-align: left;
}
/*表格*/

/*其他*/
.col-md-333 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%
}
.actions-title-1 {
	text-align: center;
    background-color: #3E3A39;
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    padding: 10px 16px;
    margin: -16px;
    border-radius: 4px 4px 0 0;
}
.actions-title-1.house {
    background-color: #e60012;
    margin: -16px -16px 16px -16px;
}
.actions-title-2 {
	text-align: center;
    background-color: #EFEFEF;
    color: #898989;
    font-size: 24px;
    font-weight: 500;
    padding: 8px;
    margin: 0px -16px;
    border-radius: 4px 4px 0 0;
}
.actions-box {
    max-width: 100%;
    /*max-width: 768px;*/
    padding: 16px 16px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 4px rgba(0,0,0,.1)
}
.actions-box.house {
    max-width: 100%;
    padding: 16px 16px 16px 16px;
}

.photo-col>div {
	padding: 0px 8px;
	margin-bottom: 12px;
}
.photo-col>div:nth-last-child(1), .photo-col>div:nth-last-child(2) {
	margin-bottom: 0px;
}
.photo-col>div img {
	border: 1px dashed #DCDDDD;
}
@media (max-width: 680px) {
.photo-col>div {
	padding-left: 0px;
	padding-right: 0px;
	padding-bottom: 12px;
	border-bottom: 1px dashed #DCDDDD;
	margin-bottom: 12px;
}
.photo-col>div:nth-last-child(2) {
	margin-bottom: 12px;
}
.photo-col>div:last-child {
	padding-bottom: 0px;
	border-bottom: 0px dashed #DCDDDD;
	margin-bottom: 0px;
}
}
.main-top-box .container{
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-around;
  }
  .main-top-box div img{
    width: 100%;
  }
  @media (max-width: 900px){
    .main-top-box{
      padding: 1.5rem;
      height: auto;
    }
    .main-top-image-all{
      margin-bottom: 2rem;
    }
    .main-top-box .container{
      flex-wrap: wrap;
    }
  }
  @media (max-width: 500px){
  .video-container iframe{
    width: 330px;height: 213px;
    }
  }
  