/*==========================================================================================================
All setting
==========================================================================================================*/


/*=====================================================
Header setting
=====================================================*/
#header, #header-wrap{
	height:auto;
}


/*
#primary-menu ul li > a {

	padding-bottom: 5px;

}	
*/

#government_logo_div{
    padding-bottom: 20px;
}

#government_logo_div a {display: block;}
#government_logo_div a img{

    display: block;
    position: relative;
    float: right;
    margin-top:25px;
    width: 87px;
    height: 40px;
}


#header-wrap div #primary-menu ul li a div{

    color: white;

}


@media screen and (min-width: 992px) {


    #primary-menu{

        margin-top: 15px;

    }

    #header-wrap div #primary-menu ul li a div{

        padding: 3px 10px;
        border-radius: 8px;

    }

    #header-wrap div #primary-menu ul li:nth-of-type(1) a div{background: #a15342;}
    #header-wrap div #primary-menu ul li:nth-of-type(2) a div{background: #587643;}
    #header-wrap div #primary-menu ul li:nth-of-type(3) a div{background: #956c39;}
    #header-wrap div #primary-menu ul li:nth-of-type(4) a div{background: #447076;}


}


@media screen and (max-width: 991px) and (min-width: 768px){

    #government_logo_div{

        margin-bottom: 0px;
        padding-bottom: 0px;
    }

    #logo a{
        padding-left: 45px;
    }

}


@media screen and (max-width: 991px) {

    #government_logo_div a img{

        display: block-inline;
        position: relative;
        float: right;

    }

}

@media screen and (max-width: 479px){

    #header #header-wrap .container{

        width: auto !important;

    }

}




/*=====================================================
footer setting
=====================================================*/
#footer{
    border-top-width: 0px;
}


#copyrights{

    background-color: #467980;

}

#copyrights div,
#copyrights address{
    color: white;
}


#copyrights address{

    margin-top: 20px;
    margin-bottom: 0px;
    line-height: 25px;

}


/*=====================================================
page title setting
=====================================================*/
.page_title{
    border-left-width: 6px;
    border-left-style: solid;
    height: 28px;
}

.page_title h2{
    top: -8px;
    left: 10px;
    position: relative;
    margin-bottom: 0;
}

@media screen and (max-width: 767px) {

    .page_title{
        border-left-width: 5px;
        height: 26px;
    }

    .page_title h2{
        top: -9px;
        left: 8px;
    }

}



/*=====================================================
page content setting
=====================================================*/

#page_content{
    padding-top: 30px;
}

h3{

    margin-top: 45px;
    margin-bottom: 25px;

}

/*==========================================================================================================
Individual setting
==========================================================================================================*/


/*=====================================================
introduction setting
=====================================================*/

.page_title_introduction,
.page_title_introduction h2{color: #C3644F;}

#page_content img{

   padding-bottom: 30px; 

}


/*=====================================================
legislation setting
=====================================================*/

.page_title_legislation,
.page_title_legislation h2{color: #709556;}

#table_legislation{

    margin-bottom: 0px;

}


#table_legislation tbody tr .table_listnum_legistation{

    vertical-align: top;
    text-align: right;
    width: 85px;
    padding-top: 15px; 
    line-height: 1.8;

}

#table_legislation tbody tr .table_listcontent_legistation{

    padding-left: 15px;
    padding-bottom: 15px; 
    padding-top: 15px; 
    padding-right: 12px;
    padding: 15px;
}


#table_legislation tbody tr .table_listcontent_legistation p:last-child{

    margin-bottom: 0px;

}


#table_legislation tbody tr .table_listcontent_legistation .list-chinese-informal{ 

    list-style-type: simp-chinese-informal;
    list-style-position: inside; 
    margin-left:35px !important;
    margin-bottom: 0px;
}


.list-chinese-informal li{

    list-style-position: outside;
    margin-bottom: 15px;
}




/*=====================================================
budget setting
=====================================================*/

.page_title_budget,
.page_title_budget h2{color: #D1964B;}



/*=====================================================
management setting
=====================================================*/

.page_title_management,
.page_title_management h2{color: #5C9AA2;}



.description_title{
    border-left-width: 5px;
    border-left-style: solid;
    height: 28px;
    color: #9E7D48;
}

.description_title h3{
    margin-top:10px;
    top: -5px;
    left: 10px;
    position: relative;
    color: #878988;
}

.description_content p{
    
    padding-top: 15px;
    padding-left: 15px;
    color: black;
    
}


.description{ padding-left: 0px; }

#management_photo{

    width: 350px;
    border: 1px solid #ccc;
    padding-bottom: 0px !important;
    margin-left: auto;
    margin-right: auto;
    display: block;
    
}

#history,
#termOfoffice{
    font-size: 130%;
    background-color: #5C9AA2;
    color: white;
    padding-top:15px;
    padding-bottom: 15px;
}

.right_border{
    border-right: 1px solid #ddd;
}
.left_border{
    border-left: 1px solid #ddd;
}
.bottom_border{
    border-bottom: 1px solid #ddd;
}

#management_info{
    
   background: #fff url(https://webarchive.lib.ntu.edu.tw:443/archive/wayback/20240520033533/https://www.president.gov.tw/nsc/images/bg.png) no-repeat;
   background-position: center bottom;
   display: -webkit-box;
   overflow: hidden;
    
}

.government_bg{
    
    background: #fff url(https://webarchive.lib.ntu.edu.tw:443/archive/wayback/20240520033533/https://www.president.gov.tw/nsc/images/bg1.png) no-repeat;
    background-position: 77% bottom;
    display: block;  
    
}

.sub-management {
    margin-bottom: 30px;
}

.sub-management ul {
    padding: 20px 0 0 10%;
    margin-bottom: 50px;
}

.sub-management li {
    display: inline-block;
    font-size: 1.6em;
    margin-left: 30px;
}

.sub-management li:nth-of-type(1) {
    margin-left: 0;
}

.sub-management a {
    padding-bottom: 1px;
    border-bottom: 1px solid #878988;
    color: #878988;
}

[id^="manager"] {
    padding-top: 10px;
    box-sizing: content-box;
    position: relative;
}

[id^="manager"]:before {
    content: '';
    width: 100%;
    height: 10px;
    display: block;
    background-color: #fff;
    position: absolute;
    top: 0;
    left: -6px;
}

[id^="manager"] + div {
  margin-bottom: 50px;
}


@media screen and (min-width: 768px) and (max-width: 991px) {
    .description{ padding-left: 15px; }
}

@media screen and (max-width: 767px) {

    .description_title{
        border-left-width: 4px;
        height: 26px;
    }

    .description_title h3{
        top: -3px;
        left: 8px;
    }
    #management_info{
        display: block; 
    }

    .sub-management li {
        width: calc((100% - 80px) / 3.0001);
        margin-bottom: 15px;
    }

    .sub-management li:nth-of-type(3n+1) {
        margin-left: 0;
    }
    

}

@media screen and (max-width: 479px) {

    #history,
    #termOfoffice{
        font-size: 100%;
        padding-top:10px;
        padding-bottom: 10px;
    }
    #termOfoffice{
    
        top:-5px;
    
    }    

    .sub-management li {
        width: calc((100% - 40px) / 2);
    }

    .sub-management li:nth-of-type(3n+1) {
        margin-left: 30px;
    }

    .sub-management li:nth-of-type(2n+1) {
        margin-left: 0;
    }

    .page_title h2 {
        font-size: 1.9em;
    }

    .title-2-lines {
        margin-bottom: 30px;
    }

}




@media screen and (max-width: 399px) {


    #logo{

        width: 80%;
    }
    #logo img{

        height: 90px;
        padding-top:5px;
    }

}


.icon-angle-up:before {content:url("https://webarchive.lib.ntu.edu.tw:443/archive/wayback/20240520033533/https://www.president.gov.tw/nsc/images/angle-up.png");}






/*
     FILE ARCHIVED ON 3:35:33 五月 20, 2024 AND RETRIEVED FROM THE
     AN OPENWAYBACK INSTANCE ON 7:46:32 五月 22, 2026.
     JAVASCRIPT APPENDED BY OPENWAYBACK, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
