/*dialog*/
.ccdlg_mask {
	border:2px solid read;
	position: fixed;
	background: #444;
	filter: Alpha(opacity =             30);
	opacity: 0.3;
	left:0;
	top:0;
}

.ccdlg_win {
	position: fixed;
	background: #fff;
}
.ccdlg_win > iframe {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.vmodal_vwin {
	border: 1px solid black;
	box-shadow: 10px 10px 8px #888;
	overflow: hidden;
}

.vmodal_noshadow {
	border: 1px solid black;
}

.ccdlg_prompt {
    box-shadow: 1px 1px 4px 1px #505050;
	background: #fff;
	border-radius: 8px;
	padding:32px;
	height:auto !important;
	font-size: 14px;
}

.ccdlg_prompt .ccdlg_message {
	padding: 12px 12px 12px 12px;
	background: #fff;
	line-height:150%;
}

.ccdlg_prompt .cmd {
	padding-top: 16px;
	padding-bottom: 0;
	padding-right: 8px;
	text-align: right;
}

.ccdlg_prompt .caption {
	padding-bottom: 4px;
}

.ccdlg_prompt #ccdlg_promptValue {
	width: 100%;
}

.ccdlg_prompt .cmd input {
	margin-left:4px;
    height: 28px;
	padding: 0 12px 0 12px;
}

.ccdlg_close {
	position: absolute;
	width: 17px;
	height: 17px;
	z-index: 10001;
	overflow: hidden;
	cursor: pointer;
	background: url(/resources/ccfaces/tags/images/close.png) center center no-repeat;
}

/* ajax */
#busy-text {
	color: blue;
}
#busy-div {
	display: inline-block;
	margin: 0;
	position: absolute;
	right: 10px;
	z-index: 10000;
}
#busy-div > img {
	display: none;
}
#busy-div.show {
	background: white;
	padding: 5px 2px 5px 0px;
	border-radius: 4px;
	border: 1px solid gray;
	padding: 4px;
}
#busy-div.show.busy > img {
	display: inline-block;
	margin-right: 4px;
}

.pages{
	font-family:arial;
	}

.pages td {
	padding-left:3px;
	padding-right:3px;
}

.pages .current {
	font-weight: bold;
	color: red;
	font-size: 14px;
}

.pages .page {
	cursor: pointer;
	text-decoration: underline;
}

.pages .goto {
	width: 48px;
	text-align: center;
	margin: 0;
	padding: 0;
	border: 1px solid #ccc;
}

.pages .go {
	cursor: pointer;
	font-family:arial;
}

.pages .number {
	padding-right: 6px;
	font-weight: bold;
	font-weight: bold;
	cursor: pointer;
}

.pages .nextprev {
	padding-right: 6px;
	text-decoration: underline;
	color: black;
	cursor: pointer;
}

#text-measure-canvas{
	display:none;
}

.text-select-none {
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	-khtml-user-select: none;
	user-select: none;
}
.hidden {
	display: none !important;
}

/* popupMenu */
.popupMenu {
	border: 0;
	margin: 0;
	padding: 6px;
	border: 1px solid #888;
	width: auto;
	background-color: #fff;
	position: absolute;
	z-index: 100;
	border-radius: 4px;
	box-shadow: 0 1px 5px #888;
}
.popupMenu ul {
	margin: 0;
	padding: 0;
}
.popupMenu li {
	list-style: none;
	height: 18px;
	padding: 2px 8px 2px 8px;
	margin: 2px 0;
	cursor: pointer;
	white-space: nowrap;
	border-radius: 4px;
}
.popupMenu li > i {
	margin-right: 5px;
}
.popupMenu li:not(.nohover):hover {
	background-color: #3385cc;
	color: white;
}

/* cc-notification */
#cc-notification-board,
#cc-notification-board * {
	box-sizing: border-box;
}
#cc-notification-board {
	position: fixed;
	right: 0;
	bottom: 0;
	font-size: 0;
	padding-right: 4px;
	margin: 0 4px 16px 0;
	background: transparent;
	z-index: 20000;
	max-height: calc(100% - 32px);
	overflow: hidden;
}
#cc-notification-board:hover {
	overflow-y: auto;
	overflow-x: hidden;
}
#cc-notification-board::-webkit-scrollbar {
	width: 8px;
}
#cc-notification-board::-webkit-scrollbar-thumb {
	background-color: #444;
	background-color: var(--primary-header-hover-color-light1, #444);
}
#cc-notification-board::-webkit-scrollbar-track {
	background-color: transparent;
}
#cc-notification-board > .cc-notification-board-clear-all {
	position: fixed;
	bottom: -30px;
	right: 320px;
	font-size: 12px;
	border-radius: 2px;
	height: 30px;
	line-height: 30px;
	width: 60px;
	text-align: center;
	opacity: 0.5;
	color: white;
	color: var(--primary-color-white, white);
	background: #1a4973;
	background: var(--primary-color-dark, #1a4973);
	cursor: pointer;
	transition: all ease-in-out 0.2s;
}
#cc-notification-board > .cc-notification-board-clear-all:hover {
	opacity: 1;
}
#cc-notification-board > .cc-notification-board-clear-all.show {
	bottom: 12px;
}
#cc-notification-board > .new-notification {
	position: relative;
	width: 300px;
	min-height: 64px;
	overflow: hidden;
	margin-top: 16px;
	padding: 6px;
	background: grey;
	transition: all ease 0.4s;
}
#cc-notification-board > .new-notification:nth-child(2) {
	margin-top: 0;
}
#cc-notification-board > .new-notification.show {
	animation: cc-notification-board-show 0.4s ease forwards;
}
@keyframes cc-notification-board-show {
	0% {
		right: calc(-100% - 16px);
	}
	100% {
		right: 0;
	}
}
#cc-notification-board > .new-notification.hide {
	animation: cc-notification-board-hide 0.4s ease forwards;
}
@keyframes cc-notification-board-hide {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}
#cc-notification-board > .new-notification.clickable {
	cursor: pointer;
}
#cc-notification-board > .new-notification.clickable:hover {
	filter: brightness(1.2);
}
#cc-notification-board > .new-notification > .notification-close-btn {
	position: absolute;
	width: 32px;
	height: 32px;
	padding: 8px;
	right: 0;
	top: 0;
	cursor: pointer;
	transition: all ease 0.2s;
	z-index: 1;
}
#cc-notification-board > .new-notification > .notification-close-btn:hover {
	background: rgb(255 255 255 / 0.2);
}
#cc-notification-board > .new-notification > .notification-close-btn > svg {
	fill: var(--primary-content-font-color, #404040);
}
#cc-notification-board > .new-notification > .notification-head {
	margin-right: 30px;
	font-size: 14px;
	font-weight: bold;
	color: white;
	width: calc(100% - 32px);
	overflow: hidden;
}
#cc-notification-board > .new-notification > .notification-content {
	margin-top: 4px;
	font-size: 14px;
	color: white;
	white-space: break-spaces;
	word-break: break-all;
	max-height: 200px;
	overflow: hidden;
}
#cc-notification-board > .new-notification:hover > .notification-content {
	overflow-y: auto;
}
#cc-notification-board > .new-notification > .notification-content::-webkit-scrollbar {
	width: 8px;
}
#cc-notification-board > .new-notification > .notification-content::-webkit-scrollbar-thumb {
	border-radius: 2px;
	background-color: #66a4c8;
	background-color: var(--primary-header-hover-color-light1, #66a4c8);
}
#cc-notification-board > .new-notification > .notification-content::-webkit-scrollbar-track {
	border-radius: 2px;
	background-color: transparent;
}
#cc-notification-board > .new-notification > .received-time {
	position: absolute;
	right: 36px;
	top: 6px;
	font-size: 12px;
	padding: 0 2px;
	color: #ddd;
	background: grey;
	cursor: default;
	opacity: 0;
	transition: opacity ease-in-out 0.2s;
}
#cc-notification-board > .new-notification:hover > .received-time {
	opacity: 1;
}
