body,h1,h2,h3,h4,h5,h6 {font-family: "Raleway", sans-serif}

body, html {
  height: 100%;
  line-height: 1.8;
  justify-content: center;
}

/* Full height image header */
.bgimg-1 {
  background-position: center;
  background-size: cover;
  min-height: 100%;
}

.container{
  width: 100%;
  height: 100%;
  justify-content: center;
  padding: 70px;
}

#loading {
  position: fixed;
  z-index: 400;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0%;
  text-align: center;
  font-size: 0.9rem;
  color: #595758;
  background-color: black;
}

/*-------------------------------------------------------------------------*/

.container1 {
  left: 50%;
  margin: auto -50px;
  position: absolute;
  top: 50%;
}
.swing div {
  border-radius: 50%;
  float: left;
  height: 1em;
  width: 1em;
}
.swing div:nth-of-type(1) {
  background: -webkit-linear-gradient(left, #385c78 0%, #325774 100%);
  background: linear-gradient(to right, #385c78 0%, #325774 100%);
}
.swing div:nth-of-type(2) {
  background: -webkit-linear-gradient(left, #325774 0%, #47536a 100%);
  background: linear-gradient(to right, #325774 0%, #47536a 100%);
}
.swing div:nth-of-type(3) {
  background: -webkit-linear-gradient(left, #4a5369 0%, #6b4d59 100%);
  background: linear-gradient(to right, #4a5369 0%, #6b4d59 100%);
}
.swing div:nth-of-type(4) {
  background: -webkit-linear-gradient(left, #744c55 0%, #954646 100%);
  background: linear-gradient(to right, #744c55 0%, #954646 100%);
}
.swing div:nth-of-type(5) {
  background: -webkit-linear-gradient(left, #9c4543 0%, #bb4034 100%);
  background: linear-gradient(to right, #9c4543 0%, #bb4034 100%);
}
.swing div:nth-of-type(6) {
  background: -webkit-linear-gradient(left, #c33f31 0%, #d83b27 100%);
  background: linear-gradient(to right, #c33f31 0%, #d83b27 100%);
}
.swing div:nth-of-type(7) {
  background: -webkit-linear-gradient(left, #da3b26 0%, #db412c 100%);
  background: linear-gradient(to right, #da3b26 0%, #db412c 100%);
}
.shadow {
  clear: left;
  padding-top: 1.5em;
}
.shadow div {
  -webkit-filter: blur(1px);
  filter: blur(1px);
  float: left;
  width: 1em;
  height: .25em;
  border-radius: 50%;
  background: #e3dbd2;
}
.shadow .shadow-l {
  background: #d5d8d6;
}
.shadow .shadow-r {
  background: #eed3ca;
}
@-webkit-keyframes ball-l {
  0%, 50% {
    -webkit-transform: rotate(0) translateX(0);
    transform: rotate(0) translateX(0);
  }
  100% {
    -webkit-transform: rotate(50deg) translateX(-2.5em);
    transform: rotate(50deg) translateX(-2.5em);
  }
}
@keyframes ball-l {
  0%, 50% {
    -webkit-transform: rotate(0) translate(0);
    transform: rotate(0) translateX(0);
  }
  100% {
    -webkit-transform: rotate(50deg) translateX(-2.5em);
    transform: rotate(50deg) translateX(-2.5em);
  }
}
@-webkit-keyframes ball-r {
  0% {
    -webkit-transform: rotate(-50deg) translateX(2.5em);
    transform: rotate(-50deg) translateX(2.5em);
  }
  50%,
  100% {
    -webkit-transform: rotate(0) translateX(0);
    transform: rotate(0) translateX(0);
  }
}
@keyframes ball-r {
  0% {
    -webkit-transform: rotate(-50deg) translateX(2.5em);
    transform: rotate(-50deg) translateX(2.5em);
  }
  50%,
  100% {
    -webkit-transform: rotate(0) translateX(0);
    transform: rotate(0) translateX(0)
  }
}
@-webkit-keyframes shadow-l-n {
  0%, 50% {
    opacity: .5;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    opacity: .125;
    -webkit-transform: translateX(-1.57em);
    transform: translateX(-1.75em);
  }
}
@keyframes shadow-l-n {
  0%, 50% {
    opacity: .5;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    opacity: .125;
    -webkit-transform: translateX(-1.75);
    transform: translateX(-1.75em);
  }
}
@-webkit-keyframes shadow-r-n {
  0% {
    opacity: .125;
    -webkit-transform: translateX(1.75em);
    transform: translateX(1.75em);
  }
  50%,
  100% {
    opacity: .5;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
@keyframes shadow-r-n {
  0% {
    opacity: .125;
    -webkit-transform: translateX(1.75em);
    transform: translateX(1.75em);
  }
  50%,
  100% {
    opacity: .5;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
.swing-l {
  -webkit-animation: ball-l .425s ease-in-out infinite alternate;
  animation: ball-l .425s ease-in-out infinite alternate;
}
.swing-r {
  -webkit-animation: ball-r .425s ease-in-out infinite alternate;
  animation: ball-r .425s ease-in-out infinite alternate;
}
.shadow-l {
  -webkit-animation: shadow-l-n .425s ease-in-out infinite alternate;
  animation: shadow-l-n .425s ease-in-out infinite alternate;
}
.shadow-r {
  -webkit-animation: shadow-r-n .425s ease-in-out infinite alternate;
  animation: shadow-r-n .425s ease-in-out infinite alternate;
}

/*-----------------------------------------------------------------------------------*/
.wei-button {
  border: 2px solid rgb(228, 215, 215);
  box-shadow: #666 3px 3px 6px;
  border-radius: 3px;
  margin-right: 50px;
  position: relative;
  display: inline-block;
  padding: 5px;
  color: #000000;
  font-size: 24px;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  transition: 1.5s;
  background-color:rgb(255, 255, 255);
  cursor: pointer;
}

.wei-button:hover {
  background-color: #000000;
  color: rgb(255, 255, 255);
  box-shadow: 0 0 5px #000000, 0 0 5px #000000, 0 0 5px #000000, 0 0 5px#000000;
}

.wei-button span {
  position: absolute;
  display: block;
}

.wei-button:hover span:nth-child(1) {
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #000000);
  animation: alternate1 .5s linear 1;
}

@keyframes alternate1 {
  0% {
      left: -100%;
  }
  50%, 100% {
      left: 100%;
  }
}

.wei-button:hover span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #000000);
  animation: alternate2 .5s linear 1;
  animation-delay: .125s;
}

@keyframes alternate2 {
  0% {
      top: -100%;
  }
  50%, 100% {
      top: 100%;
  }
}

.wei-button:hover span:nth-child(3) {
  bottom: 0%;
  right: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg, transparent, #000000);
  animation: alternate3 .5s linear 1;
  animation-delay: .25s;
}

@keyframes alternate3 {
  0% {
      right: -100%;
  }
  50%, 100% {
      right: 100%;
  }
}

.wei-button:hover span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(360deg, transparent, #000000);
  animation: alternate4 .5s linear 1;
  animation-delay: .375s;
}

@keyframes alternate4 {
  0% {
      bottom: -100%;
  }
  50%, 100% {
      bottom: 100%;
  }
}

.wei-button2 {
  border: 2px solid rgb(228, 215, 215);
  border-radius: 3px;
  box-shadow: #666 3px 3px 6px;
  position: relative;
  display: inline-block;
  padding: 5px;
  color: #000000;
  font-size: 24px;
  text-decoration: none;
  text-transform: uppercase;
  transition: 1.5s;
  background-color:rgb(255, 255, 255);
  cursor: pointer;
}

.wei-button2:hover {
  cursor: pointer;
  color: rgb(255, 255, 255);
  background-color: #000000;
  box-shadow: 0 0 5px #000000, 0 0 15px #000000, 0 0 25px #000000, 0 0 125px #000000;
}

.wei-button2::before {
  content: "";
  width: 0%;
  height: 0%;
  position: absolute;
  bottom: -1px;
  right: -1px;
  transition: 1s;
}

.wei-button2:hover::before {
  width: 100%;
  height: 100%;
  border-bottom: 2px solid #000000;
  border-right: 2px solid #000000;
}

.wei-button2::after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  top: -1px;
  left: -1px;
  transition: 1s;
}

.wei-button2:hover::after {
  width: 100%;
  height: 100%;
  border-top: 2px solid #000000;
  border-left: 2px solid #000000;
}
/*-----------------------------------------------------------------------------------*/
.slider_container {
  margin: 10px auto;
  width: 65%;
  padding-bottom : 36%;
  position: relative;
  border: 20px solid;    
  border-color: #fff;
  background-color: #fff;
  box-shadow: #666 0 0 5px;
  display: none;
}

.slider_container div {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  filter: alpha(opacity=0);
}

.slider_container div {
          animation: round 25s linear infinite;
}

@keyframes round {
  4% {
      opacity: 1;
      filter: alpha(opacity=100);
      /* 0 - 1秒 淡入*/
  }
  20% {
    opacity: 1;
      /* 1- 5秒靜止*/
  }
  24% {
      opacity: 0;
      filter: alpha(opacity=0);
      /* 5-6秒淡出*/
  }
}
.slider_container div:nth-child(5) {
          animation-delay: 0s;
}

.slider_container div:nth-child(4) {
          animation-delay: 5s;
}

.slider_container div:nth-child(3) {
          animation-delay: 10s;
}

.slider_container div:nth-child(2) {
          animation-delay: 15s;
}

.slider_container div:nth-child(1) {
          animation-delay: 20s;
}
.slider_container:hover div {
          animation-play-state: paused;
}
/*---------------------------------------------------------------------------------------------------*/
.photo_phone{
  display: none;
}
.photo_pc{
  display: block;
  width: 100%;
  height: 100%;
}
.map_3{
  width: 100%;
  justify-content: space-around;
  padding: 0;
  margin-top: 65px;
  background-color: lightgray;
}

.map_1{
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 5px;
  padding-bottom: 5px;
}

input{border:0;
  background-color:#003C9D;
  color:#fff;
  border-radius:10px;
  cursor:pointer;}

input:hover{
  color:#003C9D;
  background-color:#fff;
  border:2px #003C9D solid;
}

.w3-bar .w3-button {
  padding: 16px;
}

.ipsType_right {
    text-align: right;
  }
  .ipsType_center {
    text-align: center;
  }
  .cInnerContent {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
  }
  .ipsSpacer_bottom_double {
    margin-bottom: 30px;
  }
  .ipsGrid {
    display: inline-block;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    padding: 30px;
  }
  .ipsGrid::before, .ipsGrid::after {
    display: table;
    content: "";
    line-height: 0;
  }
  .ipsGrid > [class*="ipsGrid_span"] {
    display: block;
    width: 100%;
    min-height: 30px;
    box-sizing: border-box;
  }
  .ipsGrid > .ipsGrid_span5 {
    width: 40.42553191489362%;
  }
  .ipsGrid > .ipsGrid_span7 {
    width: 57.44680851063829%;
  }
  .ipsGrid > [class*="ipsGrid_span"] {
    float: left;
    margin-left: 2%;
  }
  .ipsGrid > [class*="ipsGrid_span"]:first-child {
    margin-left: 0;
  }
  .feature {
    display: flex;
    align-items: center;
  }
  .card {
    width: 100%;
    height: 100%;

    margin-bottom: 30px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 1px 1px 5px 1px #CCCCCC;
  /*transition: 0.3s; */
  }
  .photo > img{
    margin: 5px;
    border: 3px solid #bb7900;
    border-radius: 1px;
    overflow: hidden;
  }
  .photo > img:hover{
    border: 3px solid #ffffff;
  }
  .photo2{
    display: flex;
    flex-flow: column;
    flex-wrap: wrap;
  }
  .Long_photo{
    
    display: block;
    flex-flow: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .short_photo{
    display: block;
    flex-flow:row;
    flex-wrap: wrap;
    justify-items: center;
  }

  .featured-image-container .card{
    padding: 10px;
    height: 0;
    padding-bottom: calc(100% - 10px);
  }
  h2.heading_large {
    font-size: 1.8em;
  }
  img {
    max-width: 100%;
  }
  
  .header-section {
    margin: 100px auto;
  }
  
  .gs_reveal {
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
    font-size: 22px;
    font-weight: 525;
    font-family: 微軟正黑體, sans-serif;
    font-style: inherit;
  }
  h1.gs_reveal{
    font-size: 30px;
  }
  .ipsType_right{
    text-align:left;
  }
  .hover_1:hover{
    color: dodgerblue;
  }
  #map {
    height: 80%; width: 80%;
  }
  #nanogallery1.nGY2 .nGY2GThumbnail {
    background:#fff;
    border-color: #f8f8f8; 
    border: 5px;
  }
  #nanogallery2.nGY2 .nGY2GThumbnail {
    background:#fff;
    border-color: #f8f8f8; 
    border: 5px;
  }
  #nanogallery3.nGY2 .nGY2GThumbnail {
    background:#fff;
    border-color: #f8f8f8; 
    border: 5px;
  }
  @media screen and (max-width:800px){
    .photo_pc{
      display: none;
    }
    .photo_phone{
      display: block;
    }
    .slider_container{
      width: 90%;
      padding-bottom : 85%;
      margin-top: 50px;
    }
    .map_1{
      padding-left: 10px;
      padding-right: 10px;
    }

    .header-section {
      margin: 30px auto;
    }
    .gs_reveal {
      font-size: 18px;
      font-weight: 425;
    }
    .ipsGrid {
      display: inline-block;
      display: -ms-flexbox;
      display: flex;
      flex-flow: column;
      
    }
    .ipsGrid::before, .ipsGrid::after {
      display: table;
      content: "";
      line-height: 0;
    }
    .ipsGrid > [class*="ipsGrid_span"] {
      display: block;
      width: 100%;
      min-height: 30px;
      box-sizing:border-box;
    }
    .ipsGrid > .ipsGrid_span5 {
      order: 1;
      width: 40.42553191489362%;
    }
    .ipsGrid > .ipsGrid_span7 {
      order: 2;
      width: 57.44680851063829%;
    }
    .ipsGrid > [class*="ipsGrid_span"] {
      float: left;
      margin-left: 2%;
    }
    .ipsGrid > [class*="ipsGrid_span"]:first-child {
      margin-left: 0;
    }
    .featured-image-container .card {
      margin-left: -50px ;
      padding: 10px;
      height: 0;
      padding-bottom: calc(200% - 55%);

    }
    .card {
      width: 150%;
      height: 150%;
      /* margin-bottom: 30px; */
      border: 1px solid #cccccc;
      border-radius: 8px;
      overflow:visible;
      background: #ffffff;
      box-shadow: 1px 1px 5px 1px #CCCCCC;
    /*   transition: 0.3s; */
    }
  }
  
  
  
  
  
  
