@charset "utf-8";

@import url(docuviewer-essential.css);

html, body {
	width: 100%;
	height: 100%;
	margin: 0px;
	padding: 0px;
}

.header {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 50px;
	background-color: #FFFFFF;
	box-sizing: border-box;
	overflow: hidden;
	background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 1)), to(rgba(250, 250, 250, 1)));
	background-image: linear-gradient(rgba(255, 255, 255, 1), rgba(210, 210, 210, 1));
	border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: rgba(0, 0, 0, 0.3);
}

.headerButton {
	position: absolute;
	top: 5px;
	width: 40px;
	height: 40px;
	box-sizing: border-box;
	padding: 5px;
	cursor: pointer;
	user-select: none;
}

.headerButtonImage {
	width: 100%;
	height: 100%;
}

.mainButtonGroup {
	position: absolute;
	left: 0px;
	top: 0px;
}

#sidebarBtn {
	left: 10px;
}

#fileGroupBtn {
	left: 50px;
}

#searchGroupBtn {
	left: 90px;
}

#viewGroupBtn {
	left: 130px;
}

#annotationGroupBtn {
	left: 170px;
}

.headerSeperator {
	position: absolute;
	left: 215px;
	top: 5px;
	width: 1px;
	height: 40px;
	background-color: #AAA;
}

.headerButton:hover,
.sidebarButton:hover {
	cursor: pointer;
	border-radius: 2px;
	border: 1px solid #888;
}

.headerButton[disabled="disabled"],
.sidebarButton[disabled="disabled"] {
	opacity: 0.5;
	pointer-events: none;
}

.headerButton.pushed,
.sidebarButton.pushed {
	border: 1px solid #888;
    border-radius: 2px;
	background-color: #FFF;
}

.headerButtonGroup {
	position: absolute;
	left: 220px;
	top: 0px;
	height: 40px;
	box-sizing: border-box;
}

/* file */
.headerButton.saveBtn {
	left: 0px;
}

.headerButton.printBtn {
	left: 40px;
}

.headerButton.downloadBtn {
	left: 80px;
}

.headerButton.fileCloseBtn {
	position: fixed;
	top: 5px;
	right: 3px;
}

.hidden {
	display: none !important
}

/* 검색 영역 */
#findInput {
	position: absolute;
	left: 0px;
	top: 3px;
	width: 200px;
	height: 30px;
	margin-top: 8px;
	border: 1px solid #CCC;
	border-radius: 4px;
	box-sizing: border-box;
	padding: 0px 3px;
}

.headerArrawButton {
	background-color: #AAA;
	border: none;
	padding: 5px 5px;
	cursor: pointer;
	border-radius: 4px;
	outline: 0px;
	user-select: none;
}

#findPrevious {
	position: absolute;
	left: 205px;
	top: 11px;
	width: 20px;
	height: 30px;
}

#findNext {
	position: absolute;
	left: 230px;
	top: 11px;
	width: 20px;
	height: 30px;
}

.searchOptionGroup {
	position: absolute;
	left: 260px;
	top: 5px;
	width: 480px;
	height: 40px;
	font-size: 14px;
	user-select: none;
}

.searchOptionLabel {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.searchOptionLabel.highlight {
	left: 0px;
}

.searchOptionLabel.matchCase {
	left: 125px;
}

.searchOptionLabel.entireWord {
	left: 250px;
}

.searchCheckBox {
	vertical-align: -1px;
}

#findResultsCount {
	position: absolute;
	left: 350px;
	top: 50%;
	transform: translateY(-50%);
	overflow: visible;
}

.headerButton.searchCloseBtn {
	position: fixed;
	top: 5px;
	right: 3px;
}

#searchopt1_2 {
	display: none;
}

#searchopt2_2 {
	display: none;
}

#searchopt3_2 {
	display: none;
}

/* view */
.headerButton.rotateClockwiseBtn {
	left: 0px;
}

.headerButton.rotateCounterClockwiseBtn {
	left: 40px;
}

.headerButton.scrollVerticalBtn {
	left: 80px;
}

.headerButton.scrollHorizontalBtn {
	left: 120px;
}

.headerButton.viewDefaultBtn {
	left: 160px;
}

.headerButton.viewOddPageBtn {
	left: 200px;
}

.headerButton.viewEvenPageBtn {
	left: 240px;
}

.headerButton.viewCloseBtn {
	position: fixed;
	top: 5px;
	right: 3px;
}

/* annotation */
.headerButton.annotLineBtn {
	left: 0px;
}

.headerButton.annotArrowLineBtn {
	left: 40px;
}

.headerButton.annotRectangleBtn {
	left: 80px;
}

.headerButton.annotEllipseBtn {
	left: 120px;
}

.headerButton.annotPolylineBtn {
	left: 160px;
}

.headerButton.annotPolygonBtn {
	left: 200px;
}

.headerButton.annotFreedrawBtn {
	left: 240px;
}

.headerButton.annotTextBtn {
	left: 280px;
}

.headerButton.annotSaveBtn {
	left: 320px;
}

.headerButton.annotCloseBtn {
	position: fixed;
	top: 5px;
	right: 3px;
}

/* default */

.headerButton.selectBtn {
	left: 0px;
}

.headerButton.handBtn {
	left: 40px;
}

.headerButton.pageWidthFitBtn {
	left: 80px;
}

.headerButton.presentationBtn {
	left: 120px;
}

/* select */
/* Reset Select */
select {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none;
	outline: 0;
	box-shadow: none;
	border: 0 !important;
	background: #424242;
	background-image: none;
	flex: 1;
	padding: 0 0.5em;
	color: #fff;
	cursor: pointer;
}
/* Remove IE arrow */
	select::-ms-expand {
	display: none;
}
/* Custom Select */
.scaleSelect {
	position: absolute;
	left: 190px;
	top: 10px;
	display: flex;
	width: 200px;
	height: 30px;
	line-height: 3;
	background: #2c3e50;
	overflow: hidden;
	border-radius: .25em;
}

/* Arrow */
.scaleSelect::after {
	content: '\25BC';
	position: absolute;
	top: -10px;
	right: 0;
	padding: 0 0.5em;
	background: #757575;
	cursor: pointer;
	pointer-events: none;
	-webkit-transition: .25s all ease;
	-o-transition: .25s all ease;
	transition: .25s all ease;
}
/* Transition */
	.scaleSelect:hover::after {
	color: #ffffff;
}

.headerButton.zoomOutBtn {
	left: 400px;
}

.headerButton.zoomInBtn {
	left: 440px;
}

.pageGroup {
	position: absolute;
	left: 730px;
	top: 10px;
	width: 145px;
	height: 30px;
	background-color: #424242;
	border-radius: 5px;
	z-index: 100;
}

.pageGroup.floating {
	position: fixed;
	left: 50%;
	top: auto;
	bottom: 20px;
	transform: translateX(-50%);
}

.pageGroup.floating > .headerButton.prePageBtn {
	left: -50px;
}

.pageGroup.floating > .headerButton.nextPageBtn {
	left: 155px;
}

.pageGroup.floating > .headerButton.prePageBtn,
.pageGroup.floating > .headerButton.nextPageBtn {
	top: -5px;
	background-color: transparent;
	box-shadow: none;
	border: none;
}

#currentpage {
	position: absolute;
	left: 10px;
	top: 5px;
	width: 50px;
	height: 20px;
	outline: 0px;
	margin: 0px;
	background-color: transparent;
	color: white;
	text-align: center;
	border: none;
	box-sizing: border-box;
}

#totalpage {
	position: absolute;
	left: 85px;
	top: 5px;
	width: 50px;
	height: 20px;
	outline: 0px;
	margin: 0px;
	background-color: transparent;
	color: white;
	text-align: center;
	border: none;
	box-sizing: border-box;
}

.headerButton.prePageBtn {
	left: 150px;
	top: -5px;
}

.headerButton.nextPageBtn {
	left: 190px;
	top: -5px;
}

.entireContainer {
	width: 100%;
	height: 100%;
	position: relative;
}

.mainContainer {
	position: absolute;
	top: 50px;
	width: 100%;
	height: calc(100% - 50px);
	display: flex;
	margin: 0px;
	padding: 0px;
}

.viewerContainer.sidebarNotOpen {
	left: 0px;
	width: 100%;
}

.progress {
	position: absolute;
	left: 0px;
	top: 50px;
	border-radius: 0;
	background-color: #333;
	z-index: 1000;
	width: 100%;
	height: 3px;
}

.progress-bar {
	height: 100%;
	border-radius: 0;
	background-color: #FFF;
}

.sidebarButton {
	position: absolute;
	top: 2px;
	width: 26px;
	height: 26px;
	padding: 3px;
	cursor: pointer;
	user-select: none;
}

.sidebarButton.thumbnailViewBtn {
	left: 3px;
	box-sizing: border-box;
}

.sidebarButton.outlineViewBtn {
	left: 33px;
	box-sizing: border-box;
}

.sidebarButton.attachmentViewBtn {
	left: 63px;
	box-sizing: border-box;
}

.sidebarButton.annotationViewBtn {
	left: 93px;
	box-sizing: border-box;
}

/**********************************************************************************/

.DCV.CommentSearchContainer {
	background-color: #eee;
	border-radius: 2px;
	font-size: 10pt;
	padding: 5px 5px;
	margin-bottom: 5px;
	box-sizing: border-box;
}

.DCV.CommentSearchLabel {
	box-sizing: border-box;
}

.DCV.CommentSearch {
	margin-top: 3px;
	box-sizing: border-box;
}

.DCV.CommentSearchTextBox {
	box-sizing: border-box;
	width: 100%;
}

.DCV.CommentPageList {
	font: message-box;
}

.DCV.CommentPage {
	box-sizing: border-box;
	border-radius: 2px;
	background-color: #eee;
	margin-bottom: 5px;
}

.DCV.CommentPageHeader {
	font-size: 11pt;
	box-sizing: border-box;
	padding: 8px 3px 0px;
}

.DCV.CommentPageBody {
	box-sizing: border-box;
	padding: 5px 2px;
}

.DCV.CommentMainHeader,
.DCV.CommentReplyHeader {
	box-sizing: border-box;
}

.DCV.CommentWriter {
	display: inline-block;
	font-size: 10pt;
	box-sizing: border-box;
	width: calc(100% - 50px);
}

.DCV.Expandable {
	cursor: pointer;
}

.DCV.CommentCreationDate {
	font-size: 9pt;
	box-sizing: border-box;
	margin-top: 5px;
}

.DCV.CommentContentWrapper {
	width: 100%;
	font-size: 11pt;
	box-sizing: border-box;
	margin-top: 4px;
}

.DCV.ReplyContentWrapper {
	width: 100%;
	font-size: 11pt;
	box-sizing: border-box;
	margin-top: 10px;
}

.DCV.ReplyContentText,
.DCV.CommentContentText {
	min-height: 20px;
	font-size: 10pt;
	word-break:break-all;
	padding: 2px;
	outline: 0px;
	border-radius: 2px;
	border: 1px solid transparent;
}

.DCV.ReplyContentText {
	border: 1px solid rgba( 0, 0, 0, 0.2 );
}

.DCV.ReplyContentText:focus,
.DCV.CommentContentText:focus {
	border: 1px solid rgba( 0, 0, 255, 0.3 );
}

.DCV.CommentMainSection {
	box-sizing: border-box;
	margin-top: 2px;
	border: 1px solid #aaa;
	background-color: #fff;
	padding: 6px 2px;
	border-radius: 2px;
}

.DCV.CommentReplySectionContainer {
	margin-top: 10px;
	box-sizing: border-box;
}

.DCV.CommentReplySection {
	box-sizing: border-box;
}

.DCV.CommentButtonSection {
	margin: 5px 0px 5px 0px;
	text-align: center;
}

.DCV.CommentButtonWrapper {
	text-align: center;
}

.DCV.CommentButton {
	background-color:#3d94f6;
	-webkit-border-radius:1px;
	-moz-border-radius:1px;
	border-radius:1px;
	border:1px solid #337fed;
	display:inline-block;
	cursor:pointer;
	color:#FFF;
	font-size:9pt;
	padding:2px 13px;
	user-select: none;
}

.DCV.CommentButton:hover {
	background-color:#1e62d0;
}

.DCV.CommentButton:active,
.DCV.CommentButton:focus {
	outline: 0px;
}

.DCV.CommentShape {
	width: 20px;
	height: 20px;
	float: left;
}

.DCV.CommentDelete {
	width: 20px;
	height: 20px;
	cursor: pointer;
}

.hidden {
	display: none !important;
}

[placeholder]:empty::before {
    content: attr(placeholder);
    color: #555;
}

[placeholder]:empty:focus::before {
    content: "";
}
/***********************************************************************************/

@media(max-width: 990px) {
	.pageGroup {
		position: fixed;
		left: 50%;
		top: auto;
		bottom: 20px;
		transform: translateX(-50%);
	}

	.headerButton.prePageBtn {
		left: -50px;
		top: -5px;
	}

	.headerButton.nextPageBtn {
		left: 155px;
		top: -5px;
	}

	.headerButton.prePageBtn:hover,
	.headerButton.nextPageBtn:hover {
		background-color: transparent;
		box-shadow: none;
		border: none;
	}

	/* search */
	.searchOptionGroup {
		width: 310px;
	}

	.searchOptionLabel {
		font-size: 12px;
		transform: none;
	}

	.searchOptionLabel.highlight {
		left: 0px;
		top: 1px;
	}

	.searchOptionLabel.matchCase {
		left: 110px;
		top: 1px;
	}

	.searchOptionLabel.entireWord {
		left: 225px;
		top: 1px;
	}

	#findResultsCount {
		left: 0px;
		bottom: 1px;
		transform: none;
		font-size: 12px;
	}

	.searchCheckBox {
		vertical-align: -2px;
		font-size: 12px;
	}
}

@media(max-width: 830px) {
	/* search */
	.searchOptionGroup {
		width: 220px;
	}

	.searchOptionLabel.entireWord {
		left: 0px;
		top: auto;
		bottom: 1px;
	}

	#findResultsCount {
		left: 80px;
		top: auto;
		bottom: 3px;
	}

	#viewerContainer {
		left: 0px;
		width: 100%;
	}
}

@media(max-width: 730px) {
	.header {
		position: absolute;
		left: 0px;
		top: 0px;
		width: 100%;
		height: 30px;
		background-color: #FFFFFF;
		box-sizing: border-box;
		overflow: hidden;
	}

	.headerButton {
		position: absolute;
		top: 2px;
		width: 26px;
		height: 26px;
		box-sizing: border-box;
		padding: 2px;
		cursor: pointer;
		user-select: none;
	}

	#sidebarBtn {
		left: 10px;
	}

	#fileGroupBtn {
		left: 40px;
	}

	#searchGroupBtn {
		left: 70px;
	}

	#viewGroupBtn{
		left: 100px;
	}

	#annotationGroupBtn{
		left: 130px;
	}

	.headerSeperator {
		left: 162px;
		top: 2px;
		width: 1px;
		height: 26px;
	}

	.headerButtonGroup {
		left: 165px;
		height: 26px;
	}

	.headerButton.handBtn {
		left: 30px;
	}

	.headerButton.pageWidthFitBtn {
		left: 60px;
	}

	.headerButton.presentationBtn {
		left: 90px;
	}

	.scaleSelect {
		left: 130px;
		top: 3px;
		display: flex;
		width: 200px;
		height: 25px;
		line-height: 3;
	}

	select {
		flex: 1;
		padding: 0 0.5em;
		color: #fff;
		cursor: pointer;
	}

	.headerButton.zoomOutBtn {
		left: 340px;
	}

	.headerButton.zoomInBtn {
		left: 370px;
	}

	.headerButton.printBtn {
		left: 30px;
	}

	.headerButton.downloadBtn {
		left: 60px;
	}

	.headerButton.prePageBtn,
	.headerButton.nextPageBtn {
		width: 40px;
		height: 40px;
	    padding: 5px;
	}

	.headerButton.fileCloseBtn,
	.headerButton.viewCloseBtn,
	.headerButton.searchCloseBtn,
	.headerButton.annotCloseBtn {
		top: 2px;
	}

	/* search */
	#findInput {
		width: 120px;
		height: 25px;
		top: 1px;
		margin: 1px;
	}

	.headerArrawButton {
		background-color: #EEE;
		border: none;
		padding: 5px 5px;
		cursor: pointer;
		border-radius: 4px;
		outline: 0px;
		user-select: none;
	}

	#findPrevious {
		position: absolute;
		left: 125px;
		top: 2px;
		width: 20px;
		height: 25px;
	}

	#findNext {
		position: absolute;
		left: 150px;
		top: 2px;
		width: 20px;
		height: 25px;
	}

	.searchOptionGroup {
		left: 180px;
		top: 1px;
		width: 300px;
		height: 29px;
	}

	.searchOptionLabel {
		font-size: 12px;
	}

	.searchOptionLabel.highlight {
		left: 0px;
		top: 50%;
		transform : translateY(-50%);
	}

	.searchOptionLabel.matchCase {
		left: 110px;
		top: 50%;
		transform : translateY(-50%);
	}

	.searchOptionLabel.entireWord {
		left: 225px;
		top: 50%;
		bottom: auto;
		transform : translateY(-50%);
	}

	.searchCheckBox {
		vertical-align: -2px;
		font-size: 12px;
	}

	#findResultsCount {
		display : none;
	}

	/* view group */
	.headerButton.rotateClockwiseBtn {
		left: 0px;
	}

	.headerButton.rotateCounterClockwiseBtn {
		left: 30px;
	}

	.headerButton.scrollVerticalBtn {
		left: 60px;
	}

	.headerButton.scrollHorizontalBtn {
		left: 90px;
	}

	.headerButton.viewDefaultBtn {
		left: 120px;
	}

	.headerButton.viewOddPageBtn {
		left: 150px;
	}

	.headerButton.viewEvenPageBtn {
		left: 180px;
	}

	/*- annotation */
	.headerButton.annotLineBtn {
		left: 0px;
	}

	.headerButton.annotArrowLineBtn {
		left: 30px;
	}

	.headerButton.annotRectangleBtn {
		left: 60px;
	}

	.headerButton.annotEllipseBtn {
		left: 90px;
	}

	.headerButton.annotPolylineBtn {
		left: 120px;
	}

	.headerButton.annotPolygonBtn {
		left: 150px;
	}

	.headerButton.annotFreedrawBtn {
		left: 180px;
	}

	.headerButton.annotTextBtn {
		left: 210px;
	}

	.headerButton.annotSaveBtn {
		left: 240px;
	}

	.mainContainer {
		top: 30px;
		height: calc(100% - 30px);
	}

	.progress {
		position: absolute;
		top: 30px;
	}
}

@media(max-width: 680px) {
	/* search 이 활성화 되었을 때 */
	.headerSeperator[active="search"],
	.mainButtonGroup[active="search"] {
		display: none;
	}

	.headerButtonGroup.searchGroup {
		left: 10px;
	}

	.headerButton.searchCloseBtn {
		display: block;
	}
	/* end */
}

@media(max-width: 590px) {
	.headerButton.pageWidthFitBtn,
	.headerButton.presentationBtn {
		display: none;
	}

	.scaleSelect {
		left: 70px;
		top: 3px;
		display: flex;
		width: 200px;
		height: 25px;
		line-height: 3;
	}

	.headerButton.zoomOutBtn {
		left: 280px;
	}

	.headerButton.zoomInBtn {
		left: 310px;
	}

}

@media(max-width: 530px) {
	/* search */
	.searchOptionGroup {
		width: 160px;
	}

	.searchOptionLabel.highlight {
		left: -10px;
	}

	.searchOptionLabel.matchCase {
		left: 40px;
	}

	.searchOptionLabel.entireWord {
		left: 90px;
	}

	#searchopt1_1 {
		display: none;
	}

	#searchopt1_2 {
		display: inline-block;
	}

	#searchopt2_1 {
		display: none;
	}

	#searchopt2_2 {
		display: inline-block;
	}

	#searchopt3_1 {
		display: none;
	}

	#searchopt3_2 {
		display: inline-block;
	}
}

@media(max-width: 530px) {
	.headerButton.selectBtn,
	.headerButton.handBtn {
		display: none;
	}

	.scaleSelect {
		left: 5px;
		top: 3px;
		display: flex;
		width: 200px;
		height: 25px;
		line-height: 3;
	}

	.headerButton.zoomOutBtn {
		left: 215px;
	}

	.headerButton.zoomInBtn {
		left: 245px;
	}

	.headerButton.prePageBtn,
	.headerButton.nextPageBtn {
		width: 40px;
		height: 40px;
	}
}

@media(max-width: 470px) {
	.scaleSelect {
		left: 5px;
		top: 3px;
		display: flex;
		width: 100px;
		height: 25px;
		line-height: 3;
	}

	.headerButton.zoomOutBtn {
		left: 110px;
	}

	.headerButton.zoomInBtn {
		left: 140px;
	}

	/* annotation 이 활성화 되었을 때 */
	.headerSeperator[active="annotation"],
	.mainButtonGroup[active="annotation"] {
		display: none;
	}

	.headerButtonGroup.annotationGroup {
		left: 10px;
	}
	/* end */
}

@media(max-width: 410px) {
	.headerSeperator[active="view"],
	.mainButtonGroup[active="view"] {
		display: none;
	}

	.headerButtonGroup.viewGroup {
		left: 10px;
	}
}