﻿
.pams-title {
    font-size: calc(2.2em + 0.7vw);
    text-align: center;
    word-wrap: break-word;
    text-shadow: 0.0em 0.0em 0.1em #000000;
    font-weight: bold;
    color: #f9fafb;
    flex-basis: 100%;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.pams-title2 {
    font-size: calc(0.6em + 0.6vw);
    text-align: center;
    word-wrap: break-word;
    font-weight: 400;
    /*text-shadow: 0.03em 0.03em 0.06em #fff;*/
    color: paleturquoise;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}


.pams-header {
    /*background-image: url(../img/headbg01.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;*/
    position: relative;
    z-index: 1;
    /*max-width: 100%;
    animation: hstretch 10s linear infinite alternate;*/
}

    .pams-header::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url(../img/headbg.jpg);
        background-repeat: no-repeat;
        background-size: 100% 100%;
        /*        animation: hstretch 12s linear infinite alternate;*/
        z-index: -10;
    }

.icon-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px; /* 調整圓的大小 */
    height: 50px;
    /*background-color: #007bff;  背景顏色 */
    background-color: #000066;
    border-radius: 50%; /* 讓背景變成圓形 */
    color: white; /* 圖標顏色 */
    font-size: 24px; /* 調整圖標大小 */
    line-height: 0; /* 移除行高的影響 */
    padding: 0; /* 確保沒有內邊距 */
}

.icon-text {
    font-size: 30px;
}

.ahide {
    text-decoration: none;
    color: inherit; /* 繼承父元素的顏色 */
    cursor: default; /* 設定游標為默認狀態 */
}

    .ahide:hover {
        color: inherit; /* 在懸停時保持顏色不變 */
        cursor: default; /* 在懸停時保持游標為默認狀態 */
    }
@keyframes hstretch {
    /*    from {
        background-size: 100% 100%;
    }

    to {
        background-size: 130% 100%;
    }*/
    0% {
        transform: skew(0deg);
        background-size: 100% 100%;
    }

    25% {
        transform: skew(6deg);
        background-size: 105% 110%;
    }

    50% {
        transform: skew(0deg);
        background-size: 110% 96%;
    }

    75% {
        transform: skew(-2deg);
        background-size: 104% 110%;
    }

    100% {
        transform: skew(0deg);
        background-size: 100% 100%;
    }
}

.pams-container {
    width: calc(100%-0.2vw);
}

.textsb {
    text-shadow: 0 0 0.1em #000, 0 0 0.1em #000, 0 0 0.1em #000, 0 0 0.1em #000;
}

.textsw {
    text-shadow: 0 0 0.1em #fff, 0 0 0.1em #fff, 0 0 0.1em #fff, 0 0 0.1em #fff;
}

.pams-item-ch {
    font-size: calc(1.6em + 0.6vw);
    /*    text-align: left;*/
    font-weight: bold;
    margin-top: 1px;
    margin-bottom: 1px;
    /* color: floralwhite;*/
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.pams-item-ch-s {
    font-size: calc(1.2em + 0.6vw);
    /*    text-align: left;*/
    font-weight: bold;
    margin-top: 1px;
    margin-bottom: 1px;
    /* color: floralwhite;*/
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.pams-item-en {
    font-size: calc(1em + 0.6vw);
    /*    text-align: left;*/
    font-weight: bold;
    margin-top: 1px;
    margin-bottom: 1px;
    /*color: floralwhite;*/
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.pams-item-en-s {
    font-size: calc(0.8em + 0.6vw);
    font-weight: bold;
    margin-top: 1px;
    margin-bottom: 1px;
    /*color: floralwhite;*/
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.pams-text {
    font-size: calc(0.6em + 0.4vw);
    /*font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;*/
}

.img-h20 {
height:50px;
max-width:100%;
margin-top:5px;
}

body {
    background-color: rgba(65, 96, 120, 1);
    overflow-x: hidden;
    zoom: 1;
}

.color-lightblue {
    color: paleturquoise;
}

.color-lightyellow {
    color: #ffff00;
}

.color-lightorange {
    color: #fc832d;
}

.zoom-in {
    cursor: zoom-in;
}

i {
    display: inline-block;
    width: 30px;
}

.toTop-arrow {
    width: 3.5rem;
    height: 3.5rem;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    opacity: 0.5;
    background: #000000;
    cursor: pointer;
    position: fixed;
    right: 1.2rem;
    bottom: 1rem;
    display: none;
}



    .toTop-arrow:focus {
        outline: none;
    }


.dropdown-menu {
    background-color: rgba(5, 24, 51, 1);
    min-width: 5rem;
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
}

.nav-link {
    color: #ffffff !important;
}

    .nav-link:hover {
        color: paleturquoise !important;
    }



.navbar,
.breadcrumb-item {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow' !important;
}

.carousel-control-prev-icon {
    margin-left: -40px;
}

.carousel-control-next-icon {
    margin-right: -40px;
}

--bs-breadcrumb-divider::before {
    color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: white;
}


.project-logo {
    filter: drop-shadow(0.2em 0.2em 0.3em rgba(0,0,0,0.2));
    cursor: pointer;
}

    .project-logo:hover {
        /*        transform: rotate(15deg);
        transition: transform 0.5s;*/
        animation-name: img_rotateZ;
        animation-duration: 1.5s;
        /* filter: sepia(1);*/
    }

    .project-logo:active {
        transform: scale(0.95,0.95);
    }


@keyframes img_rotateZ {

    from {
        transform: rotateZ(0deg);
    }

    to {
        transform: rotateZ(360deg)
    }
}

.node-logo {
    filter: drop-shadow(0.2em 0.2em 0.3em rgba(0,0,0,0.2));
    cursor: pointer;
}

    .node-logo:hover {
        animation-name: img_rotateY;
        animation-duration: 1.2s;
    }

    .node-logo:active {
        transform: scale(0.95,0.95);
    }


@keyframes img_rotateY {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg)
    }
}



#RightBtn {
    position: absolute;
    top: 300px;
    left: 0px;
    z-index: 20;
}

.toRight-arrow {
    width: 3.5rem;
    height: 3.5rem;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    opacity: 0;
    background: #0094ff;
    cursor: pointer;
    position: fixed;
    top: 1rem;
    right: 2.2rem;
}

    .toRight-arrow:focus {
        outline: none;
    }

.X-sign {
    width: 3.5rem;
    height: 3.5rem;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    opacity: 1;
    background: #0094ff;
    cursor: pointer;
    position: fixed;
    top: 1rem;
    right: 2.2rem;
    z-index: 100;
}

    .X-sign:focus {
        outline: none;
    }

.slidein {
    /*opacity: 0;*/
    transform: translateX(-95vw);
    transition: transform 2s;
    /*transition: opacity 1s, transform 1s ease-out;*/
}

.slideout {
    /*opacity: 0;*/
    transform: translateX(95vw);
    transition: transform 1s ease-out;
    /*transition: opacity 1s, transform 1s ease-out;*/
}

.slidefullin {
    /*opacity: 0;*/
    transform: translateX(-100vw);
    transition: transform 2s;
    /*transition: opacity 1s, transform 1s ease-out;*/
}

.slidefullout {
    /*opacity: 0;*/
    transform: translateX(100vw);
    transition: transform 1s ease-out;
    /*transition: opacity 1s, transform 1s ease-out;*/
}

.fadein {
    opacity: 0.8;
    transition: opacity 2s;
}

.fadeout {
    opacity: 0;
    transition: opacity 0.5s;
}

#dialog {
    background: #051833;
}

#dialog_style {
    background: #051833;
}

#dialog_graticule {
    background: #051833;
}

#dialog_colorscale {
    background: #051833;
}




/*Lazziya paging*/
.pagination {
}

.page-item.disabled .page-link {
    background-color: #094398 !important;
    color: #999999 !important;
}

.page-item.active .page-link {
    background-color: dodgerblue !important;
    color: #ffffff !important;
    border: 1px solid dodgerblue !important;
}

.page-link {
    background-color: #094398 !important;
    color: #ffffff !important;
    border: 1px solid dodgerblue !important;
}

/*layerSwitcherControl*/
.maplibregl-ctrl-basemaps {
    display: flex;
    flex-direction: row;
    pointer-events: auto;
    bottom: 15px;
    position: relative;
}

    .maplibregl-ctrl-basemaps.reverse {
        flex-direction: row-reverse;
    }

    .maplibregl-ctrl-basemaps.column {
        flex-direction: column;
    }

        .maplibregl-ctrl-basemaps.column.reverse {
            flex-direction: column-reverse;
        }

    .maplibregl-ctrl-basemaps .basemap {
        width: 64px;
        height: 64px;
        margin: 2px;
        border: 2px solid #ccc;
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
        cursor: pointer;
    }

        .maplibregl-ctrl-basemaps .basemap.active {
            border-color: orange;
            box-shadow: 2px 2px 4px #000;
        }

    .maplibregl-ctrl-basemaps.closed .basemap {
        display: none;
    }

        .maplibregl-ctrl-basemaps.closed .basemap.active {
            display: block;
            border: 2px solid #ccc;
        }

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.spinner:after {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 48%;
    left: 48%;
    width: 170px;
    height: 170px;
    margin-top: -20px;
    margin-left: -20px;
    border-radius: 50%;
    border: 25px solid rgba(180, 180, 180, 0.3);
    border-top-color: rgba(255, 255, 0, 0.6);
    animation: spinner 0.6s linear infinite;
}

@keyframes progressBar {
    0% {
        width: 0%;
    }

    20% {
        width: 30%;
    }

    30% {
        width: 35%;
    }

    40% {
        width: 40%;
    }

    50% {
        width: 45%;
    }

    60% {
        width: 50%;
    }

    70% {
        width: 52%;
    }

    80% {
        width: 65%;
    }

    90% {
        width: 80%;
    }

    100% {
        width: 95%;
    }
}


.progressMove {
    height: 10px;
    width: 0%;
    background: rgba(255, 255, 0, 0.8);
    animation: progressBar 40s 0.5s forwards;
}

.partner:hover {
    transform: scale(1.1);
}

.halotext:hover {
    text-shadow: 0px 0px 10px #fff;
}

.pt:hover {
    animation-name: img_rotateY;
    animation-duration: 1.2s;
}

.part-tag {
    position: absolute;
    /*width: 160px;
        height: 80px;*/
    border-radius: 2%;
    border: 1px solid rgba(192, 192, 192, 1);
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 1px;
    padding-bottom: 1px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.65);
    /*background-color: rgba(255, 255, 255, 1);*/
    background-color: #3771c8;
}

.tag-title {
    /*color: dodgerblue;
    background-color: dodgerblue;*/
    background-color: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    font-weight: bolder;
}

.tag-content {
    color: #ffffff;
    padding-left: 1px;
    padding-right: 1px;
    padding-top: 0px;
    padding-bottom: 0px;
    font-size: small;
}

.pop-btn {
    color: #ffffff;
    background-color: #0275d8;
    font-size: 12px;
}

    .pop-btn:hover {
        color: #ffff00;
        background-color: #004582;
    }
