body {
    font-family: 'Noto Sans TC', sans-serif;
}

/* Navbar */
.bg-bk {
    background-color: #333;
}

.navbar-expand-md .navbar-nav .nav-link {
    padding: 8px 20px;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #dba377;
}

/* header */
header{
    margin-top: 96px;
}
.headerbg1 {
    background-image: url('../img/header-bg-1.jpg');
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    color: white;
    height: 100%;
    width: 100%;
}

.headerbg2 {
    background-image: url('../img/header-bg-2.jpg');
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    color: white;
    height: 100%;
    width: 100%;
    display: none;
}

/* intro */
header .intro-text {
    position: relative;
    padding-top: 150px;
    padding-bottom: 100px;
}

.intro-text .intro-heading {
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 50px;
    line-height: 50px;
    margin-bottom: 25px;
    width: 100%;
}

.intro-heading img {
    width: 100%;
}

.intro-text .btn-intro {
    padding: 12px 36px;
    background: rgba(255, 255, 255, 0.8);
    color: #333;
}

.intro-text .btn-intro:hover {
    background: #dba377;
    color: #333;
}

.text-gold {
    color: #dba377;
}

.grid-gallery {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

.griditem {
    padding: 0 4px;
}

.griditem img {
    margin-top: 8px;
    vertical-align: middle;
}

/* The actual timeline (the vertical ruler) */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: white;
    top: 0;
    bottom: 0;
    left: 26%;
    margin-left: -3px;
}

/* Container around content */
.tl-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* The circles on the timeline */
.tl-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -14px;
    background-color: white;
    border: 4px solid #FF9F55;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

/* Place the container to the left */
.left {
    left: 0;
}

/* Place the container to the right */
.right {
    left: 26%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
    left: -14px;
}

.badge-gold{
    background: #dba377;
    color: #fff;
}

/* The Store badge style */
.badge-outline{
    border: 1px solid #000;
    background-color: #fff;
}

.badge-outline-red{
    color: #dc3545;
    border: 1px solid #dc3545;
    background-color: #fff;
    font-weight: normal;
}

.badge-darkbg{
    color: #fff;
    background-color: #333;
    font-weight: normal;
}

.badge-darkbg i,
.badge-outline-red i{
    font-size: 65%;
}


h5 .badge-outline,
h5 .badge-darkbg,
h5 .badge-outline-red{
    position: relative;
    top: -1px;
    font-size: 60%;
}

/* The actual content */
.content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
}

.media img{
    width: 100px;
}

.card-img-overlay {
    background: rgba(0, 0, 0, 0.5)
}

.siemaBtn{
    margin-top: -50px; 
}

.contact{
    background-image: url('../img/contact-bg3.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.contact h2,
.contact h5{
    color: #fff;
}

.contact .fb{
    color: #3b5998;
}

.contact .line{
    color: #00c300;
}

.contact .mail{
    color: #C71610;
}

.contact .papago{
    color: #CA0915;
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .navbar-brand img {
        height: 50px;
    }
    header{
        margin-top: 76px;
    }
    /* Place the timelime to the left */
    .timeline::after {
        left: 31px;
    }

    /* Full-width containers */
    .tl-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    /* Make sure that all arrows are pointing leftwards */
    .tl-container::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    /* Make sure all circles are at the same spot */
    .left::after,
    .right::after {
        left: 15px;
    }

    /* Make all right containers behave like the left ones */
    .right {
        left: 0%;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    header .intro-text {
        padding-top: 200px;
        padding-bottom: 200px;
    }

    header .intro-text .intro-heading {
        text-transform: uppercase;
        font-weight: 700;
        font-size: 75px;
        line-height: 75px;
        margin-bottom: 100px;
    }

    header .intro-text .intro-heading img {
        width: auto;
    }
}