@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);

body {
    background-color: #000;
    font-family: 'Noto Sans TC', sans-serif;
    font-style: normal;
    font-size: 16px;
    color: #fff;
}

.articlewrapper {
    max-width: 960px;
    margin: 0 auto;
    text-align: left;
    position: relative;
    padding: 15px;
}

.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #2d2d2d;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
}

.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #2b2b2b;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .3rem;
    outline: 0;
}

.p1 {
    font-weight: 500;
}

.p2 {
    font-weight: 400;
}

.p3 {
    font-weight: 300;
}

.p4 {
    font-weight: 200;
}

.TitleTop {
    top: 60px;
}

.container_item {
    margin-top: 100px;
}

.bg-dark {
    background-color: #371d13 !important;
}

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

/* mouse over link */

.navbar-nav a:hover {
    color: red;
    background-color: #916a00;
}

.navbar-dark .navbar-nav .active>.nav-link, .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .show>.nav-link {
    color: #ff8ff5;
}

pre {
    display: block;
    font-size: 87.5%;
    color: #ffffff;
}

.bg-secondary {
    background-color: #444444 !important;
}

.btn-outline-dark {
    color: #ffffff;
    background-color: transparent;
    background-image: none;
    border-color: #343a40;
}

a {
    text-decoration: none;
    color: #f9daac;
}

.note-editor a{
    text-decoration: none;
    color: #ff0000;
}

a:hover {
    text-decoration: none;
    color: #c98d34;
}

hr {
    border-top: 1px solid #6c757d;
}

.bg {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -999;
}

.bg img {
    min-height: 100%;
    width: 100%;
}

.it-logo1 {
    width: 14vh;
}

.it-index-ele1 {
    padding-top: 10vh;
    left: 10%;
}

.it-index-ele2 {

    left: 20%;
    top: 0;

}

.it-index-ele3 {
    padding-top: 1vh;
    margin-left: 5px;
}

.modal img {
    max-width: 100%;
    height: auto;
    padding: .25rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
}


img {
    vertical-align: middle;
    border-style: none;
}


    .map-card {
        display: block;
        border-radius: 12px;
        overflow: hidden;
        text-decoration: none;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    }

    .map-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
    }

    .map-thumb {
        position: relative;
    }

    .map-thumb img {
        border-radius: 12px;
        transition: transform 0.4s ease;
    }

    .map-card:hover .map-thumb img {
        transform: scale(1.08);
    }

    .map-overlay {
        position: absolute;
        width: 100%;
        padding: 6px 10px;
        background: rgba(0, 0, 0, 0.55);
        color: #fff;
        font-size: 0.95rem;
        font-weight: 600;
        text-align: center;
        letter-spacing: 1px;
        transition: opacity 0.3s ease;
        opacity: 0;
    }

    .map-card:hover .map-overlay {
        opacity: 1;
    }

    /* 顯示在上方 */
    .map-overlay.top {
        top: 0;
        border-radius: 12px 12px 0 0;
    }


/* 移除預設位移 */
.modal.fade .modal-dialog {
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}

.modal.show .modal-dialog {
  transform: scale(1);
  opacity: 1;
}
