@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');

body {
    box-sizing: border-box;
    font-family: 'Noto Sans TC', 'sans-serif', 'Microsoft JhengHei' !important;
    background: #f0f2f4;
}
img {
    display: block;
    margin: auto;
    max-width: 100%;
}
img.img-fluid {
    width: 95%;
    max-width: 1200px;
}

a{
    color: #fff;
    text-decoration:none;
}
p a {
    color: #9e741a;
    text-decoration:none;
}
p a.cta {
    position: relative;
    display: table;
    font-size: 30px;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    margin: 1% auto;
    padding: 4px 50px 4px 30px;
    border-radius: 50px;
    background: #c8152b;
    color: #fff;
    border: 3px solid #fff;
    box-shadow: 0 3px 0 #000;
    text-decoration: none;
    animation: scale 1.2s infinite;
    transition: 0.3s;
}
p a.cta span {
    display: inline-block;
    margin: 0 0 0 5px;
    background: #fff;
    border-radius: 50px;
    line-height: 1em;
    padding: 3px 10px 5px;
}
p a.cta::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #ffd91c;
    right: 20px;
    top: 22px;
}
p a.cta:hover {
    color: #fff !important;
    background: #30257d;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
}
p a.cta:hover::before {
    border-color: transparent transparent transparent #ff3232;
}

/*nav*/
.navbar {
    width: 100%;
    background-color: #434343;
    margin-bottom: 15px;
    min-height: 48px;
    position: fixed;
    z-index: 1;
    margin-top: 0;
    border-bottom: 1px solid #555;
}
.brand {
    display: inline-block;
    padding: 10px 0;
    line-height: 24px;
    color: #777;
    font-weight: bold;
    text-decoration: none;
    transition: color .3s;
}
.brand:hover,
.brand:focus {
    color: skyblue;
}
.navbar-menu {
    float: right;
    margin-right: 20px;

}
.navbar-menu > li {
    display: inline-block;
    position: relative;
}
.navbar-menu > li > a {
    display: block;
    line-height: 48px;
    margin-left: 20px;
    text-decoration: none;
    transition: color .3s;
    text-align: center;
    font-size: 20px;
}
.navbar-menu > li:nth-child():after {
    content: "";
    display: inline;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -12px;
    width: 2px;
    height: 14px;
    background: #fff;
}
.navbar-menu > li:nth-child() {
    display: none;
}
.navbar-menu > li:nth-child():after {
    display: none;
}

.navbar-menu > li> a >img {
    max-width: 20px;
    display: inline;
}
/*.navbar-menu > li > a:hover,
.navbar-menu > li > a:focus {
    color: #ff4d69;
}*/
.navbar-menu > li > a {
	color: #ffffff;
}
.navbar-menu > li > a:hover {
    color: #fe0100 !important;
}
.navbar-menu > li > a.active {
	color: #fe0100 !important;
}

.button-toggle {
    float: right;
    display: none;
    padding: 5px 10px;
    margin: 10px 0;
    line-height: 24px;
    color: #fff;
    text-decoration: none;
    transition: color .3s;
    border: 1px solid #ccc;
}
/*nav end*/
.edition {
    position: absolute;
    left: 0px;
    top: 20px;
    width: 30%;
    max-width: 100px;
}

.articleimg_text {
    font-size: 85%;
    color: #999;
}
.c-red {
    color: #E03F19;
}

.fs-l {
    font-size: 200%;
}
.titleimg {
    display: block;
    margin: auto;
    /* width: 80%; */
    max-width: 800px;
    max-height: 70vh;
    min-width: 320px;
    /* padding-bottom: 30px; */
}

.container{
  max-width: 1200px !important;
}

.container100 {
    width: 100%;
    max-width: 1000px;
    margin: auto;
    position: relative;
}
.container90 {
    width: 90%;
    max-width: 1000px;
    margin: auto;
}
.container85 {
    width: 85%;
    max-width: 1000px;
    margin: auto;
}

.container p{
  letter-spacing: 1.2px;
  line-height: 1.8;
  font-size: 18px;
  font-weight: 400;
  padding: 20px 0px;
  text-align: justify;
  color: #777777;
}

.contentarea {
    height: 70vh;
    background-color: rgba(0, 0, 0, 0);
    position: relative;
}
.logo {
  height: 40px;
}
.logo img {
    width: 80px;
    padding-top: 3px;
}
.ntitle a{
    position: fixed;
    font-size: 18px;
    color: #fff;
    text-align: right;
    line-height: 1.2;
    z-index: 99;
    top:0px;
    right:0px;
    text-decoration:none;
    background-color: rgba(194, 37, 62, 0.35);
    height: 34px;
    padding: 14px 20px 0px 20px;
}

.ps {
    background: #f6f6f6;
    font-size: 18px;
    letter-spacing: 1.07px;
    color: #E03F19;
    padding: 20px 48px;
    border: #E03F19 4px double;
    line-height: 2;
    text-align: left;
}
.banner {
    position: relative;
    width: 100%;
    margin: 55px 0 0;
}
.banner img {
    width: 100%;
    height: auto;
}
@keyframes scale {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes wave {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.02);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

.scrolling div {
    width: 95%;
}
/*.scrolling img {
    max-width: 95%;
    max-width: 900px;
}
.scrolling img.img-fluid {
    border: 1px solid #eee;
    padding: 10px;
}*/
.articleimg {
    padding-top: 20px;
    padding-bottom: 20px;
    display: block;
}
.articleimg_s {
    padding-top: 20px;
    padding-bottom: 20px;
    display: none;
}

.intro {
    background: #f6f6f6;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1.07px;
    color: #E03F19;
    padding: 20px 48px;
    border-left: #E03F19 4px solid;
    line-height: 2;
}

.intro_2 {
    max-width: 1300px !important;
    background: #fff;
    font-size: 20px;
    font-weight: normal;
    color: #333;
    padding: 30px 40px;
    margin: -40px auto 40px !important;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    line-height: 2;
    position: relative;
    z-index: 1;
}

.intro_2 b {
    padding: 0;
    color: #275d98;
    font-weight: normal;
}
.intro_2 span {
    display: block;
    position: absolute;
    left: 10px;
    top: -40px;
    background: #201751;
    color: #fff;
    letter-spacing: 0.5px;
    padding: 0 20px;
    border-radius: 8px 8px 0 0;

}

.btn {
    height: 46px;
    font-size: 16px;
    line-height: 46px;
    border-radius: 23px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    margin-top:0;
    margin-bottom: 60px !important;
    text-align: center;
    background-color: #E03F19;
}

progress {
    /* Positioning */
    position: fixed;
    left: 0;
    top: 0;
    /* Dimensions */
    width: 100%;
    height: 4px;
    /* Reset the apperance */

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Get rid of the default border in Firefox/Opera. */

    border: none;
    /* For Firefox/IE10+ */
    background-color: #000000;

    color: #860a0e;
    z-index: 10;
}
progress::-webkit-progress-bar {
    background-color: transparent;
}
.progress-container {
    width: 100%;
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    height: .25em;
    display: block;
}
.progress-bar {
    background-color: rgb(0, 42, 208);
    width: 50%;
    display: block;
    height: inherit;
}
/* section {
    margin: 0 auto;
    width: 100%;
    padding: .35em 0;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 98;
} */

/*clearfix  start*/

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    zoom: 1;
}
/*clearfix  end*/

/* footer {
    position: relative;
    width: 100%;
    background: #fff;
    font-size: 15px;
    font-weight: 300;
    color: #999999;
    padding: 30px 0px;
    letter-spacing: 1px;
    padding: 0px 0px 40px 0px;
} */
.footer {
    background: #383838;
    font-size: 16px;
    letter-spacing: 1.07px;
    color: #ffffff;
    padding: 16px;
    margin: auto;
    line-height: 1.6;
    text-align: center;
}

.footer-bottom {
    position: relative;
    background: #434343;
    font-size: 16px;
    letter-spacing: 1.07px;
    color: #ffffff;
    padding: 16px;
    margin: auto;
    line-height: 1.6;
    text-align: center;
    border-top: 1px solid #555;
}


@media screen and (min-width: 1920px) {
    /*.logo img{
        width: 146px;
    }*/
}

@media screen and (min-width: 1024px) {
    /*footer li {
        float: left;
        footer li {
    margin: auto;
}
    }*/
}
/*延伸閱讀*/
.news {
    display: block;
    background: #fff;
    transition: 0.3s;
    box-shadow: 0 0 5px  rgba(0, 0, 0, 0.4);
}
.news img {
    width: 100%;
    max-width: 100%;
}
.news p {
    text-align: center !important;
    margin: 10px;
    padding: 10px 0 !important;
}
.news:hover {
    box-shadow: 0 0 5px  rgba(0, 149, 45, 0.5);
}

/*gotop、fb、line */

.icon {
    position: fixed;
    left: 0;
    bottom: 20px;
    width: 50px;
    height: 155px; /*v.2 為了有區隔的高度修改*/
    z-index: 99;
    -webkit-transition: width 0.5s, height 0s;
    /* For Safari 3.1 to 6.0 */
    transition: width 0.5s, height 0s;
}

.right-icon {
    position: fixed;
    right: 15px;
    bottom: 15px;
    width: 110px;
    z-index: 99;
    margin: 0;
}
.icon-btn a {
    display: block;
    width: 110px;
    height: 110px;
    transition: all 0.3s;
}
.icon-btn a:hover {
    transform: scale(1.05);
}
.icon-btn img {
    width: 100%;
    height: auto;
}

.icon li {
    border-radius: 0 50px 50px 0;
    margin-bottom: 5px;
    overflow: hidden;
}

.fb_icon {
    background-color: #395791;
}
.fb_icon > a {
    height: 50px;
    display: block;
    background-image: url(../images/theme/icon-fb.png);
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center;
}

.comment_icon > .count,
.fb_icon > .count {
    display: none;
}

.comment_icon.has-count > .count,
.fb_icon.has-count > .count {
    display: block;
    font-size: 14px;
    text-align: center;
    color: #FFF;
    padding: 10px 0;
}

.comment_icon.has-count > .count::before,
.fb_icon.has-count > .count::before {
    content: '';
    border-top: 1px solid #FFF;
    width: 60%;
    height: 1px;
    display: block;
    margin: auto;
    position: relative;
    top: -10px;
}
.comment_icon {
    background-color: #F0AD4E;
}
.comment_icon > a {
    height: 50px;
    display: block;
    background-image: url(../images/theme/icon-comments.png);
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center;
}
.line_icon {
    background-color: #4fb331;
}

.gotop {
    background-color: #c9caca;
    margin-top: 5px; /*v.2 為了有區隔的高度修改*/
}

/**/
.more-btn {
    display: block;
    text-align: center;
    margin: 0 auto;
}
.more-btn a {
    display: inline-block;
    background: #ED4E28;
    color: #ffffff;
    font-size: 1.3em;
    padding: 5px 20px;
    transition: 0.3s;
}
.more-btn a img {
    width: 25px;
    height: 25px;
    display: inline-block;
    margin: 0 0 0 10px;
}
.more-btn a:hover {
    transform: scale(1.05);
    color: #ffffff !important;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 1300px) {
    .navbar-menu > li > a {
        font-size: 18px;
    }
}

@media screen and (max-width: 1200px) {
    .navbar-menu > li > a {
        font-size: 16px;
        line-height: 24px;
        padding: 5px 0;
    }
    .banner {
        margin: 60px 0 0;
    }
}
@media screen and (max-width: 992px) {
    .intro_2 {
        margin: 40px auto !important;
    }
}
@media screen and (max-width: 768px) {
    .navbar-menu {
        float: none;
        display: none;

    }
    .btn-area a {
        margin: 0;
        max-width: 100%;
    }
    .container p {
        min-height: auto;
    }
    .card-body {
        padding: 1rem !important;
    }
    .intro_2 {
        font-size: 18px;
    }
    .intro_2 b {
        font-size: 24px;
    }
    .intro_2 span {
        top: -36px;
    }
}

@media screen and (min-width: 601px) {
    .fb_icon:hover,
    .line_icon:hover,
    .comment_icon:hover,
    .gotop:hover {
        width: 55px;
    }
}

@media screen and (max-width: 600px) {
    .navbar-menu.active {
        display: block;
        /* margin-top: 36px; */

    }
    .navbar-menu > li {
        display: block;
    }
    .navbar-menu > li > a {
        /* border-bottom: 1px solid rgba(255, 255, 255, 0.5); */
    }
    .navbar-menu > li:nth-child(3)> a {
        border-bottom: none;
    }
    .navbar-menu > li:nth-child(1):after,
    .navbar-menu > li:nth-child(2):after {
        display: none;
    }
    /* .navbar-menu > li:nth-child(1)> a {
        padding-left: 26px;
    } */
    .button-toggle {
        display: inline-block;
        margin-right: 10px;
    }
    .bgtitle_1{
        top:60%;
    }
    .titleimg{
        padding-top: 0;
    }

    .edition {
        max-width: 60px;
    }
    .logo img {
        padding-top: 5px;
    }
    .ps {
        background: #f6f6f6;
        font-size: 18px;
        letter-spacing: 1.07px;
        color: #E03F19;
        padding: 20px;
        border: #E03F19 4px double;
        line-height: 2;
        text-align: left;
    }
    .banner {
        margin: 60px auto 0;
    }
    .intro_2 {
        font-size: 16px;
        margin: -10px auto 20px;
        padding: 20px 30px;
    }
    .intro_2 b {
        font-size: 20px;
    }
    .table {
        font-size: 18px !important;
    }
    .icon {
        width: 100%;
        height: 50px;
        bottom: 0;
        background-color: #eee;
        margin: 0px;
    }
    .icon li {
        width: 33.33%;
        border-radius: 0;
        margin-bottom: 0;
        float: left;
    }
    .gotop{
        margin-top:0;/*v.2 為了有區隔的高度修改*/
    }

    .fb_icon:hover,.line_icon:hover,.gotop:hover {
        opacity: 0.5;
    }
    .contentarea {
    height: 50vh;
    background-color: rgba(0, 0, 0, 0);
    position: relative;
    }
    footer {
        padding-bottom: 50px;
    }
    .footer-bottom {
      margin-bottom: 50px;
    }
    .articleimg {
        padding-top: 10px;
        padding-bottom: 10px;
        display: none;
    }
    .articleimg_s {
        padding-top: 10px;
        padding-bottom: 10px;
        display: block;
    }

    .comment_icon > a,
    .fb_icon > a {
        flex: 1;
    }

    .comment_icon.has-count,
    .fb_icon.has-count {
        display: flex;
    }
    .comment_icon.has-count > .count,
    .fb_icon.has-count > .count {
        flex: 1;
        line-height: 50px;
        padding: 0;
    }

    .comment_icon.has-count > .count::before,
    .fb_icon.has-count > .count::before {
        content: '';
        border-left: 1px solid #FFF;
        border-top: 0;
        height: 20px;
        width: 1px;
        display: block;
        position: absolute;
        top: 17px;
    }

    .right-icon {
        width: 90px;
        height: 90px;
        bottom: 60px;
        right: 10px;
        margin: 0;
    }
    .icon-btn, .icon-btn a {
        width: 90px;
    }

    p a.cta {
        font-size: 20px;
        padding: 4px 40px 4px 20px;
    }
    p a.cta::before {
        border-width: 8px 0 8px 12px;
        border-color: transparent transparent transparent #ffd91c;
        right: 17px;
        top: 13px;
    }

}

@media screen and (width: 1920px) {
.titleimg{
   max-width: 900px;
    }
}
/*gotop、fb、line  end*/

.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.text-left {
    text-align: left;
}
/*Reading position indicator*/

/*RWD Youtube 以及 Vimeo*/

.video-container{
    position:relative;
    padding-bottom:56.25%;
    padding-top:30px;height:0;
    overflow:hidden;
}

.video-container iframe,.video-container object,.video-container embed{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}
/* peggyh*/

.scrolling .author{
    padding: 0px;
    font-size: 14px;
}

.card{
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

a:hover{
  text-decoration: none !important;
  color: #C8352F !important;
}

.hightlight{
  background-color: rgba(42, 193, 208,0.1);
}

.ad{
  background-color: #f2f2f2;
}

.caption{
  font-size: 12px !important;
  text-align: center !important;
}

.container p {
    min-height: 64px;
}
.btn-area {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
    background-color: none !important;
    text-align: center;
}

.btn-area a {
    width: 95%;
    max-width: 320px;
    padding: 10px 0;
    display: block;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    background-color: #003e8d;
    font-size: 1.2rem;
    transition: 0.3s;
}
.btn-area a:hover {
    opacity: 0.8;
    color: #fff !important;
}

#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  #myImg:hover {opacity: 0.7;}
  
  /* The Modal (background) */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }
  
  /* Modal Content (image) */
  .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
  }
  
  /* Caption of Modal Image */
  #caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
  }
  
  /* Add Animation */
  .modal-content, #caption {  
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  
  @-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
  }
  
  @keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
  }
  
  /* The Close Button */
  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  
  /* 100% Image Width on Smaller Screens */
  @media only screen and (max-width: 700px){
    .modal-content {
      width: 100%;
    }
  }
  img.mfp-img {
    max-width: 95% !important;
  }
  .mfp-figure:after {
    box-shadow: none !important;
    background: none !important;
  }
  .mfp-figure small {
    display: none !important;
  }

.scrolling div.video {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .scrolling div.video {
    width: 95%;
  }
}
.scrolling div.video .video-container {
  position: relative;
  padding-bottom: 50.5%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}
.video .video-container iframe,
.video .video-container .video-container object,
.video .video-container .video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}