.ul-bg {
    background-color: #FABE52;
    box-shadow: 0px 3px 8px 0px #000;
    border: 3px orange ridge;
    border-radius: 10px 10px 0 0;
}
    .ul-bg .nav-item.active .nav-link,
    .ul-bg .nav-item:hover .nav-link {
        color: #5341FA;
    }
.div-range {
    width: auto;
    height: auto;
}

/* 置中 */
.text-h-center {
    text-align: center;
    vertical-align:middle;
}

/*靠左*/
.left{
    vertical-align:middle;
    text-align:left;
}

.right{
    text-align:right;
    margin-top:10px;
}

.bg-map {
    background-color: #E6AB25;
}
/* 底部資訊欄*/
.footer {
    background-color: aqua;
    height: 220px;
}
/*div分割*/

.info {
    background-color: black;
    color:white;
    height: auto;
    width: auto;
    text-align: center;
    position: relative;
}
/*時間軸*/
.box {
    height: 450px;
    background: #d9d9f3;
}

.timeline-section {
    position: relative;
}

    .timeline-section::after {
        position: absolute;
        content: '';
        background: #ccc;
        width: 3px;
        top: 0;
        bottom: 0;
        left: 50%; /*因為向左推50%所以線會有點偏右*/
        transform: translateX(-50%); /*把左推50%線的位置矯正回正中間*/
    }

.timeline-point {
    position: relative;
}

    .timeline-point::after {
        position: absolute;
        content: '';
        background: #fff;
        width: 10px;
        height: 10px;
        top: 0;
        bottom: 0;
        left: 50%; /*因為向左推50%所以線會有點偏右*/
        transform: translateX(-50%); /*把左推50%線的位置矯正回正中間*/
        border-radius: 50%;
        border: 3px solid #ccc;
        z-index: 1;
    }
/*Bootstrap>Layout_Responsive breakpoints 複製斷點，把min-width改成 max-width 讓timeline們於 576px以下隱藏*/
@media (max-width: 576px) {
    .timeline-section::after,
    .timeline-point::after {
        display: none;
    }
}

/*Card動態*/
@import url(https://fonts.googleapis.com/css?family=Roboto:400,100,900);

html,
body {
  -moz-box-sizing: border-box;
       box-sizing: border-box;
  height: 100%;
  width: 100%; 
  background: #FFF;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
}
 
.wrapper {
  display: table;
  height: 100%;
  width: 100%;
}

.container-fostrap {
  display: table-cell;
  padding: 1em;
  text-align: center;
  vertical-align: middle;
}
.fostrap-logo {
  width: 100px;
  margin-bottom:15px
}
h1.heading {
  color: #fff;
  font-size: 1.15em;
  font-weight: 900;
  margin: 0 0 0.5em;
  color: #505050;
}
@media (min-width: 450px) {
  h1.heading {
    font-size: 3.55em;
  }
}
@media (min-width: 760px) {
  h1.heading {
    font-size: 3.05em;
  }
}
@media (min-width: 900px) {
  h1.heading {
    font-size: 3.25em;
    margin: 0 0 0.3em;
  }
} 
.card {
  display: block; 
    margin-bottom: 20px;
    line-height: 1.42857143;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12); 
    transition: box-shadow .25s; 
}
.card:hover {
  box-shadow: 0 8px 17px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}
.img-card {
  width: 100%;
  height:400px;
  border-top-left-radius:2px;
  border-top-right-radius:2px;
  display:block;
  overflow: hidden;
}
.img-card img{
  width: 100%;
  height: 400px;
  transition: all .25s ease;
} 
.card-content {
  padding:15px;
  text-align:left;
}
.card-title {
  margin-top:0px;
  font-weight: 700;
  font-size: 1.55em;
}
.card-title a {
  color: #000;
  text-decoration: none !important;
}
.card-read-more {
  border-top: 1px solid #D4D4D4;
}
.card-read-more a {
  text-decoration: none !important;
  padding:10px;
  font-weight:600;
  text-transform: uppercase
}

.btn-32,
.btn-32 *,
.btn-32 :after,
.btn-32 :before,
.btn-32:after,
.btn-32:before {
    border: 0 solid;
    box-sizing: border-box;
}

.btn-32 {
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: button;
    background-color: #000;
    background-image: none;
    color: #fff;
    cursor: pointer;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
    font-size: 100%;
    font-weight: 900;
    line-height: 0.6;
    margin: 0;
    -webkit-mask-image: -webkit-radial-gradient(#000, #fff);
    padding: 0;
    text-transform: uppercase;
    border-width: 1px;
    border-radius:50px;
}

    .btn-32:disabled {
        cursor: default;
    }

    .btn-32:-moz-focusring {
        outline: auto;
    }

    .btn-32 svg {
        display: block;
        vertical-align: middle;
    }

    .btn-32 [hidden] {
        display: none;
    }

.btn-32 {
    background: #fff;
    border-color: #000;
    color: #000;
    -webkit-mask-image: none;
    outline: 1px solid #fff;
    padding: 20px 45px;
    transition: border-width 0.2s;
}

    .btn-32:hover {
        border-width: 6px;
    }

a:hover, a:visited, a:link, a:active {
    text-decoration: none;
}

.thead-height{
    height:240px;
    border-style:solid;
    border-color:orange;
}



/*文字跑馬燈*/
.marquee {
    width:auto;
    height:4.5%;
    line-height:40px;
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 1px 6px #777;
}

.marquee > div {
  display: table-row;
  white-space: nowrap;
  padding-left: 100%; 
  animation: marquee 35s linear infinite; /* Time must be adjusted based on total width of scrolled elements*/
}

.marquee > div p {
  width: 600px; /* Width of p elements must match the width of marquee "window"*/
  padding-left: 600px; /* Padding determines space between scrolled elements */
  display: table-cell; 
}

/* Make it move */
@keyframes marquee {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}