@charset "utf-8";
/* CSS Document */
@media (min-width: 1200px) {
	body .nav-collapse li, body .nav-collapse li a {
		float: left;
		font-weight: normal;
		font-family: "微軟正黑體";
		padding: 0 18px;
		color: #333;
	}
}

@media (min-width: 1217px) {
	body .top, body .main, body .menu_box .navbar-default, body .fat_box .fat, body .footer_box .footer {
		width: 1200px;
		margin: auto;
	}
	#main-menu {
		max-width: 1200px;
	}
}
@media (min-width: 992px) {
.link_box .alertCAP_banner02 {
    height: 153px;
	}

.link_box #warning_box ul#portfolio{
    /*height: auto !important;*/
}
.fb iframe {
    height: 315px !important;
}
.fb .fb_iframe_widget span {
    height: 315px !important;
}}

@media (max-width: 1130px) {
	body .menu_box .calendar {
	    left: 509px;
	}
}
@media (max-width: 1030px) {
	body .menu_box .search_box {
		max-width: 270px;
		transition: 0.2s ease-out;
	}
}

@media (min-width: 991.8px) {
	body .content .detail .list a {
		display: -webkit-flex;
		display: flex;
		padding: 20px 0;
		position: relative;
	}
	body .menu_box.smaller .sm-simple .nav > a {
	    padding: 14px 6px 14px 6px;
	}
}

@media (max-width: 991.8px) {
	body .top {
	  height: 85px;
	}
	body .top h1{
	    margin: 5px;
	    max-width: 400px;
	}
	body .footer_box .footer .txt_link, body .footer_box .footer .link {
		position: relative;
		left: 0;
	}

	body .footer_box .footer .link {
		float: left;
		padding-bottom: 20px;
	}

	body .footer_box .footer .link .qrcode {
		float: left;
	}

	body .footer_box .footer .link .qrcode li {
		margin-left: 0;
		margin-right: 10px;
	}

	body .footer_box .footer .link .icon01 {
		float: right;
	}

	body .footer_box .footer .txt_link {
		margin-bottom: 0;
		top: 0;
		padding-bottom: 20px;
	}

	body .event.pic .pic {
		height: 64%;
	}

	body .event .pic {
		height: 48%;
	}
	
	body .menu_box {
	    background-color: transparent;
	}
	body .menu_box .calendar {
	position: relative;
	left: 10px;
	top: 0;
	float: left;
	}
	body .menu_box .toplink {
	/* top: -110px; */
	}
	body .menu_box .search_box {
	position: relative;
	right: 10px;
	top: 0;
	width: auto;
	max-width: 100%;
	padding-left: 215px;
	padding-bottom: 10px;
	}
	body .menu_box.smaller {
	margin-top: -80px;
	background-color: #fff;
	position: absolute;
	}
	body .menu_box .toplink {
	position: relative;
	background-color: #F7DEBF;
	top: inherit;
	text-align: center;
	line-height: 30px;
	right: 0;
	font-size: 115%;
	}
	
	body .menu_box .toplink a {
	color: #000;
	}
	body .menu_box .toplink nav a {
	color: #000;
	}
	body .menu_box .toplink nav a:hover {
	text-decoration: underline;
	}
	
	body .content .detail .list .title .issued,
	body .content .detail .list .title .date {
	display: none;
	}
	body .content .detail .list a {
	display: block;
	position: relative;
	padding: 30px 0 10px 0;
	}
	
	body .content .detail .list .con .stitle {
	top: 5px;
	}
	body .content .detail .con .issued,
	body .content .detail .con .date {
	position: absolute;
	top: 8px;
	text-align: left;
	}
	body .content .detail .con .date {
	width: 120px;
	}
	body .content .detail .con .issued {
	left: 130px;
	}
	
	body .content .detail .con .date {
	left: 15px;
	}
}

@media (max-width: 850px) {
	body .top {
		/* height: 137px; */
	}
body .top h1{
    margin: 5px;
    /* max-width: 400px; */
}
	body .menu_box .calendar {
		/* left: inherit; */
		/* top: -85px; */
		/* right: 10px; */
	}

	body .menu_box .toplink {
		/* top: -133px; */
	}

	body .menu_box .search_box {
		/* padding-left: 18px; */
		/* top: -40px; */
	}

	body .menu_box.smaller {
		margin-top: -141px;
	}

	body .menu_box .search_box .subtitle {
		display: none;
	}

	body .main .banner .slick-slide .title {
		/* max-width: 850px; */
	}
}

@media (max-width: 838px) {
	body .menu_box .navbar-default .navbar-nav>li>a {
		padding: 26px 10px;
	}

	body .menu_box .navbar-nav .caret {
		right: 0px;
	}
}

@media (max-width: 767px) {
	body .top {
		height: 70px;
	}

	body .menu_box {
		height: 1px;
		background-color: transparent;
	}

	body .menu_box.smaller {
		margin-top: -80px;
		background-color: #fff;
		position: absolute;
	}

	body .menu_box .navbar-collapse {
		background-color: #ffffff;
		padding: 0;
	}

	body .menu_box .navbar-collapse .calendar {
		position: relative;
		top: 10px;
		right: inherit;
		left: 10px;
		float: left;
	}

	body .menu_box .toplink {
		position: relative;
		background-color: #F7DEBF;
		top: inherit;
		text-align: center;
		line-height: 30px;
		right: 0;
	}

	body .main .banner .slick-slide .title {
		max-width: 767px;
	}

	body .menu_box .toplink a {
		color: #000;
	}

	body .menu_box .navbar-collapse .search_box {
		position: relative;
		top: 9px;
		right: 17px;
		padding-left: 211px;
	}

	body .menu_box.smaller .navbar-collapse .search_box {
		padding-left: 180px;
		padding-right: 50px;
	}

	body .menu_box .navbar-default .navbar-nav {
		background-color: #a34e52;
		margin: 20px 0 0 0;
		width: 100%;
	}

	body .menu_box .navbar-default .navbar-nav>li {
		width: 100%;
		clear: both;
	}

	body .menu_box .navbar-default .navbar-nav>li a {
		padding: 15px 10px;
		text-align: left;
		border-bottom: 1px #f2f2f3 solid;
		font-size: 130%;
        font-weight: inherit;
	}

	body .menu_box .navbar-nav .caret, body .menu_box .navbar-nav.sm-collapsible .caret, body .menu_box .navbar-nav.sm-collapsible ul .caret {
		top: 24px;
		margin-top: -27px;
		right: 0px;
		background-color: transparent;
		background: url(https://www.imc.ntpc.gov.tw/images/all/arrow02.png);
		text-indent: -9999px;
		background-repeat: no-repeat;
		height: 4px;
		width: 7px;
		border: none;
	}

	body .menu_box .navbar-nav.sm-collapsible .caret, body .menu_box .navbar-nav.sm-collapsible ul .caret {
		top: auto;
	}

	body .menu_box .navbar-default .navbar-nav .open .dropdown-menu>li>a {
		color: #000;
		border-bottom: 1px #e4d0b7 solid;
		padding: 15px 10px 15px 20px;
	}

	body .menu_box .navbar-nav .open .dropdown-menu {
		margin-top: 0 !important;
		position: relative;
		width: 100% !important;
	}
body .menu_box .navbar-nav>li>ul .dropdown-menu{
    background-color: #fff2e2;
}
	body .menu_box.smaller .navbar-default .navbar-toggle {
		position: absolute;
		top: 48px;
		right: 0;
	}

	body .menu_box .navbar-default {
		background-color: #fff9f3;
		min-height: 0;
	}

	body .menu_box.smaller .navbar-default {
		background-color: transparent;
	}

	body .home_box .content .title .plug {
		left: 0;
		top: 0;
		position: relative;
	}

	body .fat_box {
		display: none;
	}

	body .content .detail .list .title .issued,
body .content .detail .list .title .date {
		display: none;
	}

	body .content .detail .list a {
		/* height: 50px; */
		display: block;
		padding: 30px 0 15px 0;
	}

	body .content .detail .list .con .stitle {
		top: 8px;
	}

	body .content .detail .con .issued, body .content .detail .con .date {
		/* position: absolute; */
		/* left: 0; */
		/* top: 3px; */
		/* text-align: left; */
		/* width:auto; */
	}

	body .content .detail .con .date {
		/* width: 120px; */
	}

	body .content .detail .con .issued {
		/* left: 130px; */
		/* width: 300px; */
	}

	body .content .detail .search_box .search01 .keyin {
		padding: 0 82px 0 86px;
	}

	body .content .detail .search_box .search01 .icon {
		right: 72px;
	}

	body .content .detail .search_box .search01 .w02 {
		right: 20px;
	}

	body .content .detail .search_box .search02 .keyin {
		padding: 0 63px 0 0;
	}

	body .content .detail .search_box .keyword .keyin {
		padding: 0 130px 0 97px;
	}
/*large*/
	body .content.large .detail .search_box .search01 .keyin {
		padding: 0 65px 0 75px;
	}

	body .content.large .detail .search_box .search02 .keyin {
		padding: 0 257px 0 74px;
	}

	body .content.large .detail .con .issued, body .content.large .detail .con .date {
		font-size: 75%;
		top: 0;
	}

	body .content.large .detail .search_box .search02 .w02 {
		right: 30px;
	}

	body .content.large .detail .search_box .search02 .w03 {
		right: 81px;
	}

	body .content.large .detail .search_box .search02 .icon {
		right: 56px;
	}

	body .content.large .detail .con .issued {
		left: 90px;
	}
/*small*/
	body .content.small .detail .search_box .search02 .keyin {
		padding: 0 189px 0 0;
	}

	body .content.small .detail .search_box .search02 .keyin {
		padding: 0 188px 0 64px;
	}

	body .content.small .detail .search_box .search02 .icon {
		right: 177px;
	}

	body .content.small .detail .search_box .search02 .w02 {
		right: 152px;
	}

	body .content.small .detail .search_box .search02 .w03 {
		right: 0;
	}
}
 @media (max-width: 640px) {
		body .top h1 {
	/* z-index: initial; */
	}

	body .nav-collapse li, body .nav-collapse li a {
		float: none;
		padding: 0;
	}

	body .event.list .date {
		position: absolute;
		top: 13px;
	}

	body .event.list li a {
		height: auto;
        padding: 40px 15px 15px 15px;
        line-height: 26px;
        font-size: 130%;
	}

	body .main .banner .slick-slide .title {
		padding: 10px;
		font-size: 120%;
	}

	body .main .banner .slick-prev, body .main .banner .slick-next {
		bottom: -3px;
	}

	body .home_box .content .sub .pic_news .frame {
		width: 100%;
	}
}

@media (max-width: 530px) {
body .top h1 a {
    margin: 0;
}
body .top .p400 {
    right: 10px;
    left: inherit;
}
	body .menu_box .navbar-default .navbar-toggle {
		/* width: 100%; */
		/* margin: 0; */
		/* border-radius: 0; */
		/* height: 40px; */
	}

	body .menu_box .navbar-default .navbar-toggle .icon-bar {
		/* float: right; */
		/* clear: both; */
	}

	body .top h1 a {
		margin: 0;
	}

	body .menu_box.smaller .navbar-default .navbar-toggle {
		top: 0px;
	}

	body .menu_box {
		/* height: 40px; */
	}

	body .menu_box.smaller .navbar-collapse {
		margin-top: 50px;
	}

	body .menu_box .navbar-collapse {
	}

	body .menu_box.smaller .navbar-collapse .search_box {
		padding-right: 0;
	}

	body .menu_box .navbar-nav .caret, body .menu_box .navbar-nav.sm-collapsible .caret, body .menu_box .navbar-nav.sm-collapsible ul .caret {
		right: 10px;
	}

	body .menu_box .navbar-nav.sm-collapsible .caret, body .menu_box .navbar-nav.sm-collapsible ul .caret {
		top: auto;
	}
	
	body .home_box .content .title {
		padding-bottom: 20px;
	}
	body .home_box .content .title .plug {
		/* left: -20px; */
		/* top: 0; */
		/* position: relative; */
	}

	body .content .detail .search_box .search02 .keyin {
		padding: 0 82px 0 86px;
	}

	body .content .detail .search_box .search02 .w03 {
		position: relative;
		left: 65px;
	}

	body .content .detail .search_box .search02 .w02 {
		right: 34px;
	}

	body .content .detail .search_box .search02 .icon {
		right: 72px;
	}
/*-large-*/
	body .content.large .detail .search_box .search02 .keyin {
		padding: 0 65px 0 74px;
	}

	body .content .detail .search_box .search02 .w03 {
		left: 75px;
	}
/*-small-*/
	body .content.small .detail .search_box .search02 .w02 {
		right: 30px;
	}

	body .content.small .detail .search_box .search02 .icon {
		right: 57px;
	}

	body .content.small .detail .search_box .search02 .keyin {
		padding: 0 65px 0 64px;
	}

	body .content.small .detail .search_box .search02 .w03 {
		left: 63px;
	}

	body .content.small .detail .search_box .keyword .keyin {
		padding: 0 90px 0 70px;
	}

	body .content.small .detail .search_box .keyword .ok {
		right: 64px;
	}
}
@media (max-width: 524px) {
body .content .detail .page_info div {
    padding-top: 20px;
}
 }
@media (max-width: 510px) {
body .top {
    height: auto;
}
body .top h1 {
    position: relative;
}

body .top {
    padding: 0 70px 0 0;
}
body .top .p400 {
    position: relative;
    left: inherit;
    right: inherit;
    border: none;
    clear: both;
    text-align: center;
    top: 0;
    background: #fff;
}
}
@media (min-width: 480px){
body .content .detail .search_box .button.adv {
    display: none;
}
}
@media (max-width: 480px) {
    body .content .detail .search_box .search01 input, body .content .detail .search_box .search02 input, body .content .detail .search_box .keyin.search input {
        padding: 7px 4px;
    }
	body .content .detail .search_box .adv_box {
    display: none;
}
body .content .detail .search_box .keyword .w01 {
	top: 9px;
	left: 5px;
}
	body .content .detail .search_box .keyword .button {
    top: 5px;
    position: relative;
    right: inherit;
    width: 33.333%;
    padding: 0 3px;
}
	body.home .main {
		padding: 0;
	}

	body .link_box .col-xs-4 {
	/*width: 50%;*/
	}

	body .event.pic .slick-slide {
	}

	body .main .banner .slick-slide .title {
		display: none;
	}

	body .main .banner .slick-prev, body .main .banner .slick-next {
		bottom: 36%;
	}

	body .main .banner .slick-prev {
		left: 0;
	}

	body .main .banner .slick-next {
		right: 0;
	}

	body .content .detail .page .num {
		display: none;
	}

	body .home_box .content .opera ul {
		margin-bottom: 0;
	}

	body .content .detail .search_box .keyword .keyin {
		padding: 0 3px 0 95px !important;
	}

	body .content .detail .search_box .keyword .ok, body .content .detail .search_box .keyword .clean {
		position: relative;
		right: 0 !important;
		
		top: 5px;
		padding: 0 3px;
	}

	body .content.large .detail .search_box .keyword .keyin {
		padding: 0 0 0 73px;
	}
	body .content .detail .page_info div {
    margin: 0 10px 5px 0;
    display: inline-block;
}
body .content .detail .con .issued{
	display:none;
}
	body .tab .ui-state-default, body .tab .ui-widget-content .ui-state-default, body .tab .ui-widget-header .ui-state-default{
    width: 100%;
    border-bottom: 1px #fff solid !important;
    border-right: none !important;
    text-align: center;
    padding: 15px 0 !important;
}
	body .ui-tabs .ui-tabs-nav .ui-tabs-anchor {
    float: none;
    margin: auto;
}
}

@media (max-width: 450px) {
	body .footer_box .footer .link .icon01 {
		float: left;
	}

	body .footer_box .footer .link .icon01 li {
		margin-left: 0;
		margin-right: 5px;
	}

	body .home_box .content .sub .title {
		padding-bottom: 0;
	}
}

@media (max-width: 400px) {
	body .top {
/* height: 64px; */
	}

	body .home_box .content .opera li a {
		width: 30px;
		height: 30px;
		overflow: hidden;
		text-indent: -9999px;
		background-position: 50% !important;
	}

	body .menu_box.smaller .navbar-default .navbar-toggle {
		top: 16px;
	}

	body .content .detail .con .issued {
		display: none
	}
}



/*----------------新增------------------*/
/*日期/搜尋*/
@media (max-width: 1000px) {
body .menu_box .calendar {
    /* left: 505px; */
}
body .menu_box .search_box {
    /* width: 100%; */
    /* padding-left: 700px; */
}
	}

@media (max-width: 850px) {
body .menu_box .calendar {
    /* left: 520px; */
    /* top: -95px; */
}
	
body .menu_box .search_box {
    /* width: 100%; */
    /* padding-left: inherit; */
    /* top: -47px; */
}
	}

/*logo圖*/

@media (max-width: 400px) {
	body .top h1{
    /* max-width: 220px; */
}
}

/*menu*/
@media (max-width: 1220px) {
body .menu_box .sm-simple .nav > a {
	font-size: 157%;
	padding: 23px 8px 26px;
}
}
@media (max-width: 1100px) {
body .menu_box .sm-simple .nav > a {
	font-size: 140%;
	padding: 23px 6px 26px;
}
body .menu_box .navbar-nav .caret {
	right: 0px;
}
}
@media (max-width: 991px) {
body .menu_box .sm-simple .nav > a {
	font-size: 140%;
	padding: 20px 18px 20px;
}
body .menu_box .navbar-nav .caret {
	right: -3px;
}
}
@media (max-width: 875px) {
body .menu_box .sm-simple .nav > a {
	/* font-size: 120%; */
	padding: 20px 18px 20px !important;
}
}

@media (max-width: 768px) {
body .menu_box .sm-simple .nav > a {
	/* padding: 20px 18px 20px !important; */
	font-size: 140%;
}
}

@media (max-width: 768px) {
body .home_box .content .unit.title {
  padding: 8px 0 23px 50px;
}
	}


/*新增*/
/*活動訊息*/
@media (max-width: 992px) {
body .event.pic .slick-slide {
  height: 500px;
  /*min-height: 500px;*/
}
body .event .pic {
  padding: 5px;
  height: 51%;
  overflow: hidden;
  /* margin-bottom: 15px; */
}
body .event.pic .pic {
  height: 42%;
}
}