html, body {
	height: 100%;
    width: 100%;
    position: relative;
}
body {
	background-color: #ffffff;
	font-family:Arial, Helvetica, sans-serif;
    margin:0;
    padding:0;
	line-height: none !important;
}
#wrapper{
	width:100%;
	height:100%;
	}


#header{
	width: 100%;
    height: 53px;
    background: #1c4d8d;
	display: flex;
	}
.logo{
    font-size: 1.8em;
    padding: 0.5em;
    color: #ffffff;
    font-weight: bold;
	line-height: 1em;
	}
#logo_pic{
	/* width: 50px;
    transform: translate(0px, -1px); */
	width: 130px;
    transform: translate(0px, -4px);
	margin-right: 5px;
}

#open_menu{
	text-align: right;
    flex: 0 1 0;
    padding: 1em;
    color: #fff;
    font-size: larger;
	cursor: pointer;
	display: none;
}

.fas.fa-bars{
	transition: all .5s linear;
}
.fas.fa-bars:hover{
	transform: rotate(-180deg);
}

#close_menu{
	float: right;
	position: relative;
	display: none;
	right: 1.8em;
    top: 0.6em;
	cursor: pointer;
}
#close_menu i{
	position: absolute;
	font-size: 18px;
}

#change_lang{
	text-align: right;
    flex: 1;
    padding: 1em;
}

#change_lang a {
	vertical-align: -webkit-baseline-middle;
    margin: 0.5em;
	color: #ffffff !important;
}

#change_lang a i, #change_lang a span{
	transition: all 0.3s linear;	
}

#change_lang a:hover {
    text-decoration: none;
}

#change_lang a:hover i, #change_lang a:hover span{
	filter: drop-shadow(1px 2px 1px #111);
}

#change_lang span {
	font-size: medium;
}

td[width="20%"]{
	text-align: center;
	vertical-align: top;
}

td[width="20%"] span{
	position: relative;
	z-index: 1;
}

.fas {
	font-size: medium;
}

#start_date_icon, #end_date_icon {
    cursor: pointer;
    background: #ffffff30;
	border: 2px solid #013477;
}

input[type=button] {
    background: #c8181a;
    color: white;
    border: none;
    border-radius: 2px;
    float: right;
	font-weight: 600;
	font-size: medium;
	transition: all .2s linear;
	border-top: #d1383a solid 1px;
    border-left: #d1383a solid 1px;
    border-bottom: #8b1113 solid 1.5px;
    border-right: #8b1113 solid 1.5px;
}

input[type=button]:hover{
	background: #c8181a !important;
	border-top: #8b1113 solid 1px;
    border-left: #8b1113 solid 1px;
    border-bottom: #d1383a solid 1.5px;
    border-right: #d1383a solid 1.5px;
}

/*main*/
#main{
    width: 100%;
    height: calc(100% - 53px);
    display: flex;
	}
/*main-leftsidebar*/
#leftsidebar{
	width: 280px;
    height: calc( 100vh - 53px );
    min-height: 700px;
    clear: both;
    color: #fff;
    background-image: url(../../images/bg/s.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    font-size: 16px !important;
	}
#article{

	}

.fas.fa-times{
	transition: all .3s linear;
}
.fas.fa-times:hover{
	transform: rotate(-90deg);
}

.title{
	width:280px;
	color:#FFF;
	font-size: 15px;
    letter-spacing: 1pt;
    padding: 10px 0px;
    text-align: center;
    /* background: #ffffff50; */
	background: #3fa9f5;
    font-weight: 600;
	}
.font12{
	text-align: -webkit-center;
}
.toolarea{
	border-bottom:1px solid #ffffff50;
	font-size:14px;
	}
.toolarea,.tbot{
	width: -webkit-fill-available;
	padding-bottom: 15px;
    margin: 15px 10px 0px 10px;
	}

.tbot:last-child td{
	text-align: center;
}

.tbot a{
	color: #fff;
    text-decoration: none;
	transition: all 0.2s linear;
}

.tbot a:hover{
	filter: drop-shadow(1px 2px 1px #111);
}

.tbot .fa-exclamation{
	color: #c8181a;
	padding: 1em 5px 0px 0px;
    transform: translate(0px, 2px);
	}

/*main-leftsidebar end*/
/*main-content*/
#mcontent{
	width: 100%;
    height: calc( 100vh - 53px );
    min-height: 700px;
    background-color: #FFF;
	}
#mobilecontent{
	width:auto;
	height:100%;
	min-height: 100%;
	background-color:#FFF;
	border:1px solid #9e9ea3;

}

#nowdate
{
	font-size: 14px;
	width: fit-content;
    text-align: center;
    margin: 5px 0px;
    border-radius: 3px;
    background: #1f5193;
	padding: 3px 5px;
}
/*main-content end*/
/*main end*/

/*time style*/
input[type="text"]{
	width: 140px;
    background: transparent;
    color: #fff;
    border: 2px solid transparent;
    border-right: 1px solid transparent;
}

input:focus{
	outline: none !important;
}

.start_date_div{
	position: relative;
	z-index: 1;
}

.start_date_div::before{
    content: '';
    width: calc( 100% - 1.5px);
    height: calc( 100% + 14.5px);
    background-color: #ffffff00;
    position: absolute;
    top: -1px;
    transform: translate(-1px, -12px);
    border-radius: 4px;
    z-index: -1;
    border: 2px solid #fff;
}

#start_date_div .far, #end_date_div .far{
	font-weight: 900 !important;
}

#start_date_div, #end_date_div{
	display: inline-flex !important;
    align-items: center;
}

input[type="radio"], input[type="checkbox"]{
	margin: -2px 2px 0px 2px !important;
	position: relative;
}

input[type="radio"]::before{
	content: '';
    width: 12px;
    height: 12px;
    background-color: #eeeeee;
    border: 1.5px solid #3c3c3c;
    color: #000;
    border-radius: 50%;
    position: absolute;
	top: -1.5px;
    left: -1.5px;
}

input[type="radio"]:checked::after {
	content: '';
    background-color: #013477;
    width: 10px;
    height: 10px;
	top: -2.5px;
    left: -2.5px;
    border: 4px double #ffffffcc;
    border-radius: 50%;
    position: absolute;
  }

input[type="checkbox"]::before{
	content: '';
    width: 14px;
    height: 14px;
	background-color: #013477;
	border: 1.5px solid #ffffffcc;
	color: #000;
	border-radius: 4px;
	position: absolute;
	top: -2px;
    left: -2px;
}

input[type="checkbox"]:checked::after {
	/* content: ''; */
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f00c";
	color: #f8e506;
    background-color: #013477;
    width: 14px;
    height: 14px;
    top: -2px;
    left: -2px;
	border: 1.5px solid #ffffffcc;
    border-radius: 4px;
    position: absolute;
}

#animation_time{
	display: inline-flex;
    justify-content: space-evenly;
    align-items: center;
    width: -webkit-fill-available;
}

#animation_time > span{
	display: inline-block;
}

/*time style END*/
#cmain{
	width:350px;
	height:185px;
	border:0px solid #ccc;
	}
/*#cleftsidebar*/
#cleftsidebar{
	text-align:middle;
	width:180px;
	float:left;
	height:185px;
	}
#ctable{
	margin-top:15px;
	margin-left:15px;
	}
.cpic{
	width:180px;
	height:180px;
	overflow:hidden;
	margin-bottom:5px;
	border:0px solid #ccc;
	text-align:center;
	}
.cpic img{
	height:100%;
}
.wpic{
	height:30px;
	line-height:30px;
	z-index:2;
	}
.img{
	z-index:1;
	}

table{
	color: #fff;
	border-collapse: separate;
	border-spacing: 0 4px;
}

.flex_table{
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.flex_table > span{
	display: inline-block;
	margin-bottom: 4px;
    margin-right: 11px;
}

/*#cleftsidebar end*/

#ccontent{
	width:160px;
	height:185px;
	float:right;
	border:0px solid #ccc;
	}
#carticle,.ctitle,.ctime,.ctoolarea,.cpm{width:100%;margin-bottom:3px;}

#carticle{
	height:auto;
	margin-top:0px;
	margin-left:auto;
	margin-right:auto;
	}
.ctitle,.ctoolarea{
	color:#000;
	word-wrap:break-word;
	word-break:break-all;
	text-align:justify; /*讓文字齊行*/
	text-justify:distribute; /*讓文字左右齊行*/
}
.ctitle{
	line-height:20px;
	font-weight: bold;
	font-size:16px;
	/*height:65px;*/
	overflow:hidden;
	}
.ctime{
	color:#4278d7;
	font-size:12px;
	height:15px;
	line-height:15px;
	}
.ctoolarea{
	font-size:14px;
	height:50px;
	overflow:hidden;
	line-height:17px;
	}
.cpm{
	color:#666;
	font-size:12px;
	height:15px;
	line-height:15px;
    position: absolute;
    bottom: 65px;
	}

#cfoot{
	height:29px;
	font-size:12px;
	line-height:29px;
	border-top:1px solid #ccc;
    white-space: nowrap;
	}

/*小方框END*/

.leaflet-popup-content {
    width: auto !important;
}

.leaflet-popup {
    bottom: 20px !important;
}

/* min-width: 768px */
@media (max-width: 768px){
	html, body {
		overflow: hidden !important;
	}
	#main{
		flex-wrap: wrap;
	}
	#open_menu{
		display: block;
	}
	#close_menu{
		display: block;
	}
	#leftsidebar{
		width: 100%;
		min-height: calc(100% - 100px);
		overflow-y: scroll;
		position: absolute;
		z-index: 1100;
		animation-name: nav_to_left;
		animation-timing-function: cubic-bezier(1, 0, 0.68, 1);
    	animation-duration: 500ms;
		animation-fill-mode: both;
		left: 100%;
	}
	table{
		border-collapse: separate;
    	border-spacing: 0 12px;
	}

	.title{
		width: 100%;
	}
	
	@keyframes nav_to_left {
		from {	
			left: 0%;
		}
	
		to {
			left: 100%;
		}
	}
	@keyframes nav_to_right {
		from {
			left: 100%;
		}
	
		to {
			left: 0%;
		}
	}
	.time_interval{
		padding-left: 5%;
	}
	.font12{
		text-align: left;
		margin: 0px 5%;
	}
	#nowdate{
		font-size: 16px;
		border: 1px solid #eee;
		padding: 5px 7px;
	}
	#mcontent{
    	min-height: 100%;
	}

	.flex_table > span{
		display: inline-block;
		margin-bottom: 12px;
		margin-right: 17px;
	}
}
@media (min-width: 415.99px) and (max-width: 430px) {
	.logo{
		font-size: 1.5em;
	}
}
@media (max-width: 415px) {
	.logo{
		font-size: 1.2em;
		padding-top: 0.8em;
	}
	#change_lang{
		padding: 0em;
		padding-top: .6em;
	}
	#change_lang span{
		display: none;
	}
	#open_menu{
		padding-top: 0.7em;
	}
	#nowdate{
		font-size: 14px;
	}
}

@media (max-width: 365px) {
	.logo{
		font-size: 1.1em;
	}
}

@media (max-width: 300px) {
	#nowdate{
		font-size: 13px;
	}
}