:root
{
	/* 網站主色調 */
	--main-theme-color: #006F8A;
	--main-theme-text-color: #FFFFFF;
	--main-theme-bg-color: #F2F2F2;
	--main-theme-card-color: #FFFFFF;

	/* 警示顏色 */
	--main-theme-warning-color: #ca0915;
	--main-theme-warning-hover-color: #A20711;

	/* 按鈕顏色 */
	--button-color: #006F8A;
	--button-text-color: #FFFFFF;
	--button-hover-color: #01363F;
	--button-hover-text-color: #FFFFFF;

	/* 超連結顏色 */
	--anchor-text-color: #006F8A;
	--anchor-hover-text-color: #01363F;
	--anchor-text-invert-color: #FFFFFF;
	--anchor-hover-text-invert-color: #01363F;

	/* 選單顏色 */
	--menu-color: #9E9E9F;
	--menu-text-color: #FFFFFF;
	--menu-hover-color: #001B4F;
	--menu-hover-text-color: #001B4F;
}
/* :root
{
	--main-theme-color: #444444;
	--main-theme-text-color: #FFFFFF;
	--main-theme-bg-color: #F2F2F2;
	--main-theme-card-color: #FFFFFF;

	--main-theme-warning-color: #ca0915;
	--main-theme-warning-hover-color: #A20711;

	--button-color: #444444;
	--button-text-color: #FFFFFF;
	--button-hover-color: #FFAC00;
	--button-hover-text-color: #FFFFFF;

	--menu-color: #666666;
	--menu-text-color: #FFFFFF;
	--menu-hover-color: #FFAC00;
	--menu-hover-text-color: #FFAC00;
} */

/* 頁面主要框架 */
a
{
	text-decoration: none;
	color: #2e2e2e;
	-o-transition: 0.20s linear;
	-webkit-transition: 0.20s linear;
	-moz-transition: 0.20s linear;
	transition: 0.20s linear;
}

html, body
{
	height: 100%;
	width: 100%;
	font-family: '微軟正黑體','新細明體', sans-serif;
	background:var(--main-theme-bg-color);
}

#wrap
{
	width: 100%;
	color: #2e2e2e;
	position: relative;
	font-family: '微軟正黑體','新細明體', sans-serif;
	min-height: 600px;
}

#topbar
{
	width: 100%;
	height: 65px;
	position: fixed;
	z-index: 2;
	background: var(--main-theme-color);
	display: inline-table;
}

.btn_nav
{
	display: none;
	color: var(--button-text-color);
	border-top-right-radius: 20px;
	border-bottom-right-radius: 20px;
	text-align: center;
	position: absolute;
	top: 0;
	left: 250px;
	width: 60px;
	font-size: 30px;
	cursor: pointer;
	padding: 17px 5px;
	z-index: 11;
	transition: all 0.4s ease-in-out;
}

.btn_nav_back{
	display: none;
	color: var(--button-text-color) !important;
	border-top-right-radius: 20px;
	border-bottom-right-radius: 20px;
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
	text-align: center;
	position: absolute;
	top: 0;
	left: 250px;
	width: 60px;
	font-size: 30px;
	cursor: pointer;
	padding: 17px 5px;
	z-index: 11;
	transition: all 0.4s ease-in-out;
}

.btn_setting
{
	display: none;
	color: white;
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
	text-align: center;
	position: absolute;
	top: 0;
	right: 0;
	width: 60px;
	font-size: 30px;
	cursor: pointer;
	padding: 17px 5px;
	z-index: 11;
	transition: all 0.4s ease-in-out;
}

.btn_setting.change
{
	left: 250px;
}

.btn_nav:hover, .btn_nav_back:hover, .btn_setting:hover
{
	color: white;
	background: rgba(0, 0, 0, 0.2);
}

#topbar-login
{
	width: 100%;
	height: 65px;
	position: relative;
	z-index: 2;
	background: var(--main-theme-color);
	display: inline-table;
}

#menumain
{
	width: 170px;
	height: 100%;
	position: fixed;
	top: 65px;
	left: 0;
	background: var(--menu-color);
	overflow: overlay;
	transition: all 0.4s ease-in-out;
	z-index: 5;
}

#menumain.active
{
	box-shadow: 0px 0 5px 1px rgba(0, 0, 0, 0.452);
	background: rgba(0, 0, 0, 0.8);
	left: 0;
	display: block;
}

#main
{
	position: absolute;
	width: calc(100% - 170px);
	left: 170px;
	overflow: hidden;
	padding: 65px 0;
}

.logo
{
	margin-left: 15px;
	position: relative;
	display: inline-block;
}

.loginbox
{
	height: 65px;
	position: relative;
	vertical-align: top;
	border-left: 1px solid #FFFFFF;
	float: right;
}

.clients
{
	width: 100%;
}

.clients center div a
{
	overflow : hidden;
	text-overflow : ellipsis;
	white-space : nowrap;
}

.username
{
	height: 65px;
	font-size: 16px;
	color: #FFFFFF;
	font-weight: bold;
	padding: 0 25px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding-top: 12px;
	border-left: 1px solid #FFFFFF;
	display: inline-block;
	vertical-align: middle;
}

.username span
{
	font-size: 12px;
}

/* .logoutbtn{position: relative;display: inline-block;vertical-align: middle;padding-right: 15px;} */

#login-main
{
	position: relative;
	width: 100%;
	overflow: hidden;
}

/* .container{width: 100%;position: relative;}
.maincenter{position: relative;margin: 0 auto;width: 80%;padding-top:75px;} */

.my-container
{
	margin-top: 5%;
	margin-left: 50px;
	margin-right: 50px;
}

.my-login-container
{
	margin: 0px auto;
	/* margin-top:10%; */
	max-width:400px;
}

.footer
{
	position: relative;
	/* margin:0 auto; */
	color: #727272;
	text-align: center;
	margin-top: 100px;
}

.footer p
{
	color: #f2f2f2
}

/* 側邊選單 */
.menu
{
	position: relative;
}

.menu ul li
{
	position: relative;
	border-top: 1px solid var(--menu-color);
	border-bottom: 1px solid var(--menu-color);
}

.menu ul li a, .menu ul li p
{
	display: block;
	padding: 15px 20px;
	color: var(--menu-text-color);
	font-size: 16px;
}

.menu ul li a:hover, .menu ul li a.act, .menu ul li a.act:hover
{
	color: var(--menu-hover-text-color);
	/* background: rgba(255, 255, 255, 0.8); */
}

.menu-icon-wrap span
{
	margin: auto;
}

.menu ul li a:hover .menu-icon
{
	background-color: var(--menu-hover-text-color);
	/* background-position: bottom !important; */
}

.menu ul li a.act .menu-icon
{
	background-color: var(--menu-hover-text-color);
	/* background-position: bottom !important; */
}

.menu-icon
{
	width: 50px;
	height: 60px;
	background: url();
	display: block;
	background-color: var(--menu-text-color);
}

.miblank
{
	width: 66px;
	height: 60px;
	display: block;
}

/* .profile-menu{width: 66px;height: 60px;background: url();display: block;} */

.menuexpand
{
	border-top: 2px solid #666666 !important;
	border-bottom: 2px solid #666666 !important;
}

/*麵包屑*/
.breadcrumb
{
	font-size: 14px;
	font-weight: bold;
	color: #939393;
}

.breadcrumb a
{
	text-decoration: underline;
	color: #939393;
}

.breadcrumb a:hover
{
	color: #2e2e2e;
}

/* 返回按鈕 */
.goback-btn
{
	position: fixed;
	right: 0px;
	bottom: 0px;
	margin-right: 60px;
	margin-bottom: 60px;
	width: 80px;
	height: 80px;
	background: url('../image/goback2.png');
	opacity: 0.5;
	z-index: 1000;
	border-radius: 50%;
	background-color: var(--main-theme-color);
}

.goback-btn:hover
{
	opacity: 1;
}

/* 背景轉檔狀態視窗按鈕 */
.vid-bg-process-btn
{
	position: fixed;
	right: 0px;
	bottom: 0px;
	margin-right: 170px;
	margin-bottom: 60px;
	width: 80px;
	height: 80px;
	background: url('../image/fileconvertlist2.png');
	opacity: 0.5;
	z-index: 1000;
	border-radius: 50%;
	background-color: var(--main-theme-color);
}

.vid-bg-process-btn:hover
{
	opacity: 1;
}

/* 卡片 */
.my-card
{
	position: relative;
	width: 100%;
	margin-bottom: 10px;
	padding: 10px 17px;
	display: inline-block;
	background: var(--main-theme-card-color);
	border: 1px solid #E6E9ED;
	-webkit-column-break-inside: avoid;
	-moz-column-break-inside: avoid;
	opacity: 1;
	transition: all .2s ease;
	box-shadow: 4px 4px 10px rgba(20%, 20%, 40%, 0.2);
	/* height: 100%; */
}

.my-card-title
{
	border-bottom: 2px solid #E6E9ED;
	padding: 1px 5px 15px;
	margin-bottom: 10px;
}

.my-card-title h2
{
	margin: 5px 0 6px;
	float: left;
	display: block;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

.my-card-title h2 small
{
	margin-left: 10px;
}

.my-card-title h3
{
	margin: 5px 0 6px;
	float: left;
	display: block;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

.my-card-title h3 small
{
	margin-left: 10px;
}

.my-card-title span
{
	/* color: #BDBDBD */
}

.my-card-filter, .my-card-filter-folding
{
	border-bottom: 2px solid #E6E9ED;
	padding: 1px 5px 15px;
	margin-bottom: 10px;
}

.my-card-content
{
	/* padding: 0 5px 6px;
	position: relative;
	width: 100%;
	float: left;
	clear: both;
	margin-top: 5px */
}

.my-card-content-section
{
	/* padding: 0 5px 6px;
	position: relative;
	width: 100%;
	float: left;
	clear: both;
	margin-top: 5px; */
	padding-bottom: 20px;
	border-bottom: 2px solid #E6E9ED;
	display: flex;
	justify-content: center;
}

.my-card-content-folded
{

}

/* .form-control{max-width:250px;} */

.my-card-filter .form-control
{
	background: transparent;
	border-color: #777777;
}

.my-card-filter .form-inline .form-group
{
	margin-right: 20px;
}

.title
{
	font-size: 18px;
	font-weight: bold;
	display: inline-block;
	vertical-align: middle;
}

.my-tab-title
{
	border-bottom: 2px solid #E6E9ED;
	padding: 1px 5px 0px;
	margin-bottom: 10px;
}

.my-tab-active
{
	border-bottom: 3px solid #006F8A;
}

/* well */
.my-well
{
	margin: 5px;
	padding: 10px;
	background: #f1f1f1;
	border: 2px solid #E6E9ED;
}

/* 預設按鈕 */
.my-default-btn
{
	background-color: var(--button-color);
	color: var(--button-text-color);
	font-size: 16px;
	font-weight: bold;
}

.my-default-btn:hover
{
	background-color: var(--button-hover-color);
	color: var(--button-hover-text-color);
}

.my-default-btn:disabled
{
	background-color: var(--button-hover-color);
	opacity: 0.5;
}

.my-default-frame-btn
{
	background-color: transparent;
	color: var(--button-color);
	font-size: 16px;
	font-weight: bold;
	border: 1px solid var(--button-color);
}

.my-default-frame-btn:hover
{
	background-color: var(--button-hover-color);
	color: var(--button-hover-text-color);
}

.my-default-frame-btn:disabled
{
	background-color: var(--button-hover-color);
	opacity: 0.5;
}

.my-danger-btn
{
	background-color: var(--main-theme-warning-color);
	color: #FFFFFF !important;
	font-size: 16px;
	font-weight: bold;
}

.my-danger-btn:hover
{
	background-color: var(--main-theme-warning-hover-color);
	color: #FFFFFF;
}

.my-facebook-btn
{
	background-color: #4267B2;
	color: #FFFFFF !important;
	font-size: 16px;
	font-weight: bold;
}

.logout-btn
{
	color: white;
	font-size: x-large;
	margin-right: 10px;
}

.logout-btn:hover
{
	color:var(--button-hover-color);
}

.client-list-icon
{
	color: white;
	font-size: x-large;
	margin-right: 10px;
}

.client-list-icon:hover
{
	color: var(--button-hover-color);
}

/* 表格 */
.my-table th, .my-table td
{
	padding-top: 10px;
	padding-bottom: 10px;
	white-space: nowrap;
}

.my-table i
{
	margin-right: 5px;
	margin-left: 5px;
}


.my-table .my-table-word-break{
	display: block;
	/* table-layout: fixed; */
	word-wrap:break-word;
	white-space: break-spaces;
}

.dataTables_filter, .dataTables_info
{
	display: none;
}

.table-cell-fit
{
	width: 1%;
	white-space: nowrap;
}

.table-cell-fit button
{
	margin-left: 5px;
	margin-right: 5px;
}

.radius30
{
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
}

.radius10
{
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

.radius5
{
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.radius2
{
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

.center
{
	text-align: center;
}

.mtr10
{
	margin-top: 10px;
	margin-right: 10px;
}

.f-xxlarge
{
	font-size: 35px;
}

.f-xlarge
{
	font-size: 25px;
}

.f-large
{
	font-size: 20px;
}

.f-medium
{
	font-size: 16px;
}

.f-small
{
	font-size: 13px;
}

.cursor-pointer
{
	cursor: pointer;
}

/* 所有 anchor 通通改為 logo 色 */
a
{
	color: var(--anchor-text-color);
}

a:hover
{
	color: var(--anchor-hover-text-color);
}

.a-danger
{
	color: var(--main-theme-warning-color) !important;
}

.a-danger:hover
{
	color: var(--main-theme-warning-hover-color) !important;
}

/* 附帶外框的 anchor */
.framed-anchor
{
	color: var(--anchor-text-color);
	border: 2px solid var(--anchor-text-color);
	padding: 3px 10px;
	font-weight: 900;
}

.framed-anchor:hover
{
	color: var(--anchor-hover-text-color);
	border: 2px solid var(--anchor-hover-text-color);
}

/* 反白的 anchor */
.framed-invert-anchor
{
	color: var(--anchor-text-invert-color) !important;
	border: 1px solid var(--anchor-text-invert-color) !important;
	padding: 3px 10px;
}

.framed-invert-anchor:hover
{
	background-color: var(--anchor-hover-text-invert-color) !important;
	color: var(--anchor-text-invert-color);
	border: 1px solid var(--anchor-hover-text-invert-color) !important;
}

/* modal 自訂顏色 */
.modal-header
{
	background-color: var(--main-theme-color);
	color: var(--main-theme-text-color);
}
.modal-header button
{
	color: #FFFFFF;
}

.modal-warning-header
{
	background: var(--main-theme-warning-color);
	color: var(--main-theme-text-color);
}

.between-paragraph
{
	margin-top: 50px;
}

.error
{
    color: var(--main-theme-warning-color) !important;
}

.hidden
{
	display: none !important;
}

.invisible
{
	visibility: hidden;
}

/* 尚未儲存 */
.dirty
{
	border-color: #ff9999 !important;
	border-width: thick !important;
	border-style: solid !important;
}

/* color */
.yellow
{
	color: #ffff00 !important;
}

.sunflower
{
	color: #FFBB00 !important;
}

.red
{
	color: #ff0000 !important;
}

.poppy
{
	color: #FF420E !important;
}

.petal
{
	color: #F98866 !important;
}

.green
{
	color: #00ff00 !important;
}

.meadow
{
	color: #598234 !important;
}

.moss
{
	color: #AEBD38 !important;
}

.stem
{
	color: #80BD9E !important;
}

.spring-green
{
	color: #89DA59 !important;
}

.dark-gray
{
	color: #a9a9a9 !important;
}

.facebook-blue
{
	color: #4267B2 !important;
}

.theme-color
{
	color: var(--main-theme-color) !important;
}

.disclaimer
{
	background-color: rgba(255, 0, 0, 0.5);
	color: rgba(255, 255, 255, 1);
}

/* 剪貼簿使用 */
.copy-to-clipboard, .copy-to-clipboard::selection
{
	border: none;
	color: transparent;
	outline: none;
	background-color: transparent;
}

.web-url
{
	word-break: break-word;
}

table
{
	display: inline-table;
}

.mobile-ui{
	display:none;
}

@media all and (max-width: 990px)
{
	.btn_nav
	{
		display: block;
		left: 0;
	}

	.btn_setting
	{
		display: block;
	}
	
	.btn_nav_back
	{
		display: block;
		left: 60px;
	}

	.goback-btn{
		display:none;
	}

	#menumain
	{
		left: -170px;
	}

	.menu ul li a:hover, .menu ul li a.act, .menu ul li a.act:hover
	{
		color: var(--menu-hover-text-color);
		background: rgba(255, 255, 255, 0.8);
	}

	#main
	{
		left: 0;
		width: 100%;
	}

	.logo
	{
		position: relative;
		left: 50%;
		transform: translateX(-50%);
		height: 100%;
	}

	.logo img
	{
		position: relative;
		top: 50%;
		transform: translateY(-50%);
		width: 100%;
	}

	.loginbox
	{
		background: rgba(0, 0, 0, 0.8);
		height: 100%;
		width: 150px;
		position: fixed;
		right: -150px;
		float: none;
		text-align: center;
		vertical-align: middle;
		border-left: none;
		z-index: 5;
		transition: all 0.4s ease-in-out;
	}

	.loginbox.active
	{
		box-shadow: 0px 0 5px 1px rgba(0, 0, 0, 0.452);
		right: 0;
		display: block;
	}

	.my-container
	{
		margin-left: 5px;
		margin-right: 5px;
	}

	.username
	{
		border-left: none;
	}

	.loginbox a
	{
		display: block;
		margin: 20px 0;
		font-size: 2.5rem;
	}

	.form-inline
	{
		display: block;
	}

	.form-inline div
	{
		margin: 10px 0;
	}

	.dataTables_wrapper
	{
		overflow-x: auto;
	}

	.justForPC
	{
		display: none;
	}
}

@media all and (max-width: 414px)
{
	.mobile-ui{
		display: unset;
	}

	.desktop-ui
	{
		display: none;
	}

	.logo{
		margin-left: 0px;
	}

	.btn{
		margin-top:1%;
		margin-bottom:1%;
	}

	.title-wrap .dropdown
	{
		position: absolute;
		right: 10px;
		top: 10px;
	}

	.clients center div a
	{
		max-width: 304px;
	}

	.logo img
	{
		max-width: 250px;
	}
}

@media all and (max-width: 375px)
{
	.clients center div a
	{
		max-width: 275px;
	}

	.logo img
	{
		max-width: 200px;
	}
}

@media all and (max-width: 320px)
{
	.clients center div a
	{
		max-width: 220px;
	}

	.logo img
	{
		max-width: 160px;
	}
}

@media all and (max-width: 280px)
{
	.clients center div a
	{
		max-width: 180px;
	}

	.logo img
	{
		max-width: 130px;
	}
}

/* dataTable sort */
.dataTable-hover{background-color: #ff9999;border: 4px solid var(--main-theme-warning-color);}
.dataTable-select{background-color: #ff9999;border: 4px solid var(--main-theme-warning-color);}
.dataTable-list-hover{background: #ff9999;}

/* mobile title */
.mobile-hover{
	position: relative;
}
.touched > * 
{
	user-select: none;
}

.mobile-hover.touched:hover > * 
{
	user-select: auto
}

.mobile-hover.touched:hover:after 
{
	position: absolute;
	top: 72%;
	content: attr(title);
	border: 1px solid #000;
	background-color: white;
	padding: 0.3em;
	z-index: 1;
	font-size: 10px;
	color: #000;
	font-weight: normal;
}

.ui-auth-insert-and
{
	display: none !important;
}

.ui-auth-update-and
{
	display: none !important;
}

.ui-auth-delete-and
{
	display: none !important;
}

.ui-auth-page-insert
{
	display: none !important;
}

.ui-auth-page-update
{
	display: none !important;
}

.ui-auth-page-delete
{
	display: none !important;
}

