.bgcw {
    background-color: white;
}

.headImg {
    height: 300px;
    width: 100%;
}

.headImg .img {
    background-image: url("https://d16ylwix1gveru.cloudfront.net/upload/portalBigBannerImage/767/BG8CPRMASL63.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100%;
}

/* .headContent {
    padding: 50px;
} */

.headContent .childTitle {
    left: 8%;
}

.headContent .childContent {
    margin-top: 15px;
    padding-right: 20px;
}

.headContent .bookmark {
    border-top: 1px solid #c5c5c5;
    margin: 20px auto 0 auto;
    padding-top: 30px;
    text-decoration: none;
}

.headContent .bookmark .bookmark-Prev {
    text-align: left;
    line-height: 1.5em;
    cursor: pointer;
}

.headContent .bookmark .bookmark-Next {
    text-align: right;
    line-height: 1.5em;
    cursor: pointer;
}

.headContent .bookmark .bookmark-Prev a, .headContent .bookmark .bookmark-Next a {
    color: #999;
    text-decoration: none;
}

.headContent .bookmark .bookmark-Prev a p, .headContent .bookmark .bookmark-Next a p {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.headContent .bookmark .bookmark-Prev a span, .headContent .bookmark .bookmark-Next a span {
    font-size: 16px;
    font-weight: bold;
}

.headContent .bookmark .bookmark-Prev a p::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f100";
    position: absolute;
    top: 5%;
    left: -10px;
}

.headContent .bookmark .bookmark-Next p::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f101";
    position: absolute;
    top: 5%;
    right: -10px;
}

.headContent .bookmark .bookmark-Prev:hover a p, .headContent .bookmark .bookmark-Prev:hover a span, .headContent .bookmark .bookmark-Prev:hover a i, .headContent .bookmark .bookmark-Next:hover a p, .headContent .bookmark .bookmark-Next:hover a span, .headContent .bookmark .bookmark-Next:hover a i {
    color: #007bff;
}

.selected {
    background-color: #007bff;
    color: white !important;
    padding: 5px;
    border-radius: 9px;
}

.headContent .grandson>li {
    list-style: none;
    color: #083A6D;
    padding: 10px;
}

.headContent .text {
    width: 100%;
    max-width: 200px;
    text-align: center;
}

.hr-1 {
    max-width: 100px;
    height: 10px;
    width: 50%;
    background-color: #EEB018;
    display: inline-block;
}

.hr-2 {
    max-width: 100px;
    height: 10px;
    width: 50%;
    background-color: #CA321C;
    display: inline-block;
}

.child>a {
    color: #EEB018;
}

.oneClass>a {
    display: inline-block;
}

.headContent .beginning {
    padding: 0;
}

.headContent .child {
    list-style: none;
    color: #EEB018;
    padding: 5px;
}

@media screen and (max-width:991px) {
    .headContent .childContent {
        /* margin-top: 0; */
    }
    .headContent .childContent img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    .headContent .bookmark .bookmark-Prev {
        margin-bottom: 15px;
    }
    .headContent .bookmark .bookmark-Next {
        margin-top: 15px;
    }
}

/* 內容雜誌版型 自訂樣式
-----------------------------------------------*/

@import url('https://fonts.googleapis.com/css?family=Merriweather');
/* div尺寸(共用) */

.info_Paper {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.headContent .childContent [class*=info_content_] {
    /* min-height: 400px; */
    margin: 5px 0;
    text-align: center;
    color: #FFF;
    position: relative;
    overflow: hidden;
}

/* 彩色方塊內容設定 */

.headContent .childContent [class*=info_content_] .info_Title {
    font-size: 20px;
    font-weight: bold;
    margin-top: 40%;
}

.headContent .childContent [class*=info_content_] .info_Tag {
    font-size: 17px;
    font-weight: normal;
    padding: 5px 10px;
}

.headContent .childContent [class*=info_content_] .info_SubTitle {
    font-size: 18px;
    font-weight: bold;
    opacity: 0.5;
    margin: 25% 0 0 0;
}

@media screen and (max-width:1200px) {
    .headContent .childContent [class*=info_content_] .info_SubTitle {
        font-size: 18px;
        font-weight: bold;
        opacity: 0.5;
        margin: 15% 0 5% 0;
    }
}

@media screen and (max-width:991px) {
    .headContent .childContent [class*=info_content_] .info_Title {
        margin-top: 25%;
    }
    .headContent .childContent [class*=info_content_] .info_SubTitle {
        margin: 15% 0 10% 0;
    }
}

/* div尺寸(自適應欄位)
    共有三種尺寸40% 60% 100% */

.headContent .childContent .info_content_S {
    -ms-flex: 0 0 40%;
    flex: 0 0 40%;
    max-width: 40%;
}

.headContent .childContent .info_content_L {
    -ms-flex: 0 0 60%;
    flex: 0 0 60%;
    max-width: 60%;
}

.headContent .childContent .info_content_full {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

/* !!!!如欄位內要放文字請用這個!!!! */

.headContent .childContent .info_content_SW {
    -ms-flex: 0 0 40%;
    flex: 0 0 40%;
    max-width: 40%;
    padding: 10px 0;
}

.headContent .childContent .info_content_LW {
    -ms-flex: 0 0 60%;
    flex: 0 0 60%;
    max-width: 60%;
    padding: 10px 0;
}

@media screen and (max-width:991px) {
    .headContent .childContent .info_content_S, .headContent .childContent .info_content_SW, .headContent .childContent .info_content_L, .headContent .childContent .info_content_LW, .headContent .childContent .info_content_full {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* 底色 */

.headContent .childContent .info_Color_Pink {
    background: #eb6877;
}

.headContent .childContent .info_Color_Green {
    background: #009944;
}

.headContent .childContent .info_Color_Orange {
    background: #eb6100;
}

.headContent .childContent .info_Color_Purple {
    background: #601986;
}

.headContent .childContent .info_Color_Emerald {
    background: #b7aa00;
}

.headContent .childContent .info_Color_DarkRed {
    background: #7d0022;
}

/* 副標題底色 */

.headContent .childContent .info_TagColor_Purple {
    background: #601986;
}

.headContent .childContent .info_TagColor_Red {
    background: #e60012;
}

.headContent .childContent .info_TagColor_blue {
    background: #008ee2;
}

.headContent .childContent .info_TagColor_Yellow {
    background: #ffdf16;
    color: #000;
}

.headContent .childContent .info_TagColor_Coffee {
    background: #362e2b;
}

.headContent .childContent .info_TagColor_Gray {
    background: #dcdcdc;
    color: #000;
}

/* 圖片設定(滿版圖片一定要加) */
.has_BigPic {
    overflow: hidden;
    width: 100%;
    max-height: 520px;
}
.has_BigPic img {
    width: 100%;
    max-width: 100%;
}

/* 內文設定(加在文字P標籤欄位) */
.info_Title_blue {
    color: #083A6D;
    font-size: 20px;
    font-weight: bold;
    text-align: left;
    margin-bottom: 5px;
    padding: 0 5%;
}
.info_Doc {
    color: #000;
    font-size: 13px;
    text-align: left;
    padding: 0 5%;
}

/* 背景號碼(可加可不加) */
.headContent .childContent [class*=bg_No]::before {
    font-family: 'Merriweather', serif;
    font-size: 400px;
    color: #FFF;
    opacity: 0.3;
    position: absolute;
    left: 0;
    margin-top: 25%;
}
.bg_No1::before {
    content: "1";
}
.bg_No2::before {
    content: "2";
}
.bg_No3::before {
    content: "3";
}
.bg_No4::before {
    content: "4";
}
.bg_No5::before {
    content: "5";
}
.bg_No6::before {
    content: "6";
}

@media screen and (max-width:1480px) {
    .headContent .childContent [class*=bg_No]::before {
        font-size: 320px;
    }
}
@media screen and (max-width:1200px) {
    .headContent .childContent [class*=bg_No]::before {
        font-size: 260px;
        left: -10px;
    }
}
@media screen and (max-width:991px) {
    .headContent .childContent [class*=bg_No]::before {
        margin-top: 18%;
    }
}
@media screen and (max-width:768px) {
    .headContent .childContent [class*=bg_No]::before {
        font-size: 200px;
        margin-top: 18%;
    }
}



/* 內容子選單 */
.top-fixed {
    position: relative;
    top: -30px;
    width: 85%;
    margin: 0 auto;
}
.sub-menu {
    display: table;
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #FFF;
    border-bottom: 1px solid #f4f4f8;
}
.sub-menu>li {
    display: table-cell;
    max-height: 110px;
    vertical-align: middle;
    width: 1%;
    position: initial;
}
.sub-menu>li>a {
    width: 100%;
    height: 100%;
    display: block;
    padding: 44px 0;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: #000;
    -moz-transition: all 200ms;
    -o-transition: all 200ms;
    -webkit-transition: all 200ms;
    transition: all 200ms;
}
.sub-menu>li>a:hover {
    background-color: #ffdf75;
    color: #000;
    -moz-transition: background-color 200ms;
    -o-transition: background-color 200ms;
    -webkit-transition: background-color 200ms;
    transition: background-color 200ms;
}
.sub-menu>li .third-menu {
    display: none;
    position: absolute;
    top: 110px;
    left: 0;
    padding: 15px;
}
.sub-menu>.active>a {
    background-color: #ffc500;
    color: #000;
}
.sub-menu>.active>a:hover {
    background-color: #ffc500;
}
/* .sub-menu>.active .third-menu, */
.sub-menu>li:hover .third-menu {
    display: block;
    visibility: visible;
}
.sub-menu~.click-to-hide {
    display: none;
    background: none;
    z-index: 1;
}
.third-menu {
    margin: -1px 0 0 0;
    width: 100%;
    text-align: left;
    background: #ffc500;
    /* Old browsers */
    background: -moz-linear-gradient(top, #ffc500 50%, #ffdf75 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffc500 50%, #ffdf75 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffc500 50%, #ffdf75 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffc500', endColorstr='#ffdf75', GradientType=0);
    /* IE6-9 */
    z-index: 1;
    position: relative;
    overflow: hidden;
    padding: 0;
    -moz-transition: top, 200ms;
    -o-transition: top, 200ms;
    -webkit-transition: top, 200ms;
    transition: top, 200ms;
    visibility: hidden;
}
.third-menu li {
    display: inline-block;
    width: 24%;
    font-size: 16px;
    text-align: left;
}
.third-menu li a {
    padding: 10px 0px;
    display: block;
    color: #000;
    text-decoration: none;
    margin: 0 0 10px 10px;
    position: relative;
    font-weight: 500;
    -moz-transition: all 200ms;
    -o-transition: all 200ms;
    -webkit-transition: all 200ms;
    transition: all 200ms;
}
.third-menu li a:hover {
    box-shadow: inset 0 -4px 0 #df0024;
}
.third-menu li:last-of-type a:after {
    display: none;
    z-index: -1;
}
.third-menu .active a {
    box-shadow: inset 0 -4px 0 #df0024;
}
.is-fixed .top-fixed-target {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 10;
}
.is-fixed .top-fixed-target .sub-menu {
    border-bottom: 1px solid #f4f4f8;
}
.is-fixed .top-fixed-target .sub-menu>li {
    max-height: 60px;
    position: initial;
}
.is-fixed .top-fixed-target .sub-menu>li>a {
    padding: 15px 25px;
    -moz-transition: all 300ms;
    -o-transition: all 300ms;
    -webkit-transition: all 300ms;
    transition: all 300ms;
}
.is-fixed .top-fixed-target .sub-menu .third-menu {
    top: 52px;
}
.is-fixed .top-fixed-target .sub-menu .third-menu li a {
    padding: 12px 10px;
}
.is-fixed .top-fixed-target .sub-menu .third-menu li:last-of-type a:after {
    display: none;
    z-index: -1;
}

@media screen and (max-width:991px) {
	
	 .headImg {
    	height: 150px;
	}
    .top-fixed {
        position: relative;
        top: -50px;
        width: 100%;
        margin: 0 auto;
        display: none;
    }
    .sub-menu > li > a {
        padding: 15px 30px;
        text-align: left;
        position: relative;
        background-color: #ffdf75;
        color: white;
    }
    .sub-menu > li.active > a:after {
        content: "\f107";
        position: absolute;
        right: 30px;
        font-family: "Font Awesome 5 Free";
        font-weight: 600;
    }
    .show-list .sub-menu > li {
        display: block;
        width: 100%;
    }
    .show-list .sub-menu > li .third-menu {
        display: none;
    }
    .sub-menu > li {
        display: none;
    }
    .sub-menu > li.active {
        display: block;
        width: 100%;
    }
    .sub-menu > li > a {
        background-color: #ffc500;
        color: #333;
    }
    .sub-menu > .active .third-menu .active a {
        box-shadow: none;
        color: #df0024;
    }
    .show-list .sub-menu > li.active a {
        background-color: #ffdf75;
    }
    .sub-menu > li .third-menu {
        top: 53px;
    }
    .sub-menu > li .third-menu .active a {
        box-shadow: none;
        color: #df0024;
        font-weight: bold;
    }
    .third-menu {
        text-align: left;
        padding: 5px 20px;
        border-top: 1px dashed rgba(255, 255, 255, 0.25);
    }
    .third-menu li {
        width: 100%;
    }
    .third-menu li a {
        padding: 12px 10px;
        margin: 0;
    }
   

}

.col-12.headImg {
	    padding-right: 0px;
	    padding-left: 0px;
}

h1.headNodeUpTitleName {
    position: absolute;
    top: 35%;
    text-align: center;
    width: 100%;
    color: white;
}

.childContent ol {
    list-style-type: decimal
}

.childContent ul {
	list-style-type: disc;
}

.childContent li {
    list-style-type: inherit;
    margin-left: 10px;
}
}
