﻿@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);
}

.mainButtonGroup{
	overflow: hidden;
	float: left;
	padding-left: 2px;
}

.headerButton {
	float: left;
	margin-top: 5px;
	width: 40px;
	height: 40px;
	box-sizing: border-box;
	padding: 5px;
	cursor: pointer;
	user-select: none;
}

.headerButtonImage {
	width: 100%;
	height: 100%;
}

.headerButton.fileCloseBtn,
.headerButton.viewCloseBtn,
.headerButton.searchCloseBtn,
.headerButton.annotCloseBtn {
	position: absolute;
	right: 0px;
}

.headerSeperator {
	float: left;
	width: 1px;
	height: 40px;
	background-color: #AAA;
	margin: 5px;
}

.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 {
	height: 50px;
	float: left;
	box-sizing: border-box;
}

.hidden {
	display: none !important
}

/* 검색 영역 */
.headerButtonGroup > .searchInnerGroup{
	padding-top: 10px;
	float: left;
}

#findInput {
	width: 200px;
	height: 30px;
	border: 1px solid #CCC;
	border-radius: 4px;
	box-sizing: border-box;
	padding: 0px 3px;
	float: left;
}

.headerArrawButton {
	background-color: #AAA;
	border: none;
	padding: 5px 5px;
	cursor: pointer;
	border-radius: 4px;
	outline: 0px;
	user-select: none;
}

#findPrevious {
	width: 20px;
	height: 30px;
	float: left;
	margin-right: 5px;
    margin-left: 5px;	
}

#findNext {
	width: 20px;
	height: 30px;
	float: left;
}

.searchOptionGroup {
	width: 480px;
	font-size: 14px;
	user-select: none;
	float: left;
}

.searchOptionLabel {
	float: left;
}

.searchCheckBox {
	vertical-align: -1px;
}

#findResultsCount {
	float: left;
	padding-left: 10px;
}

#searchopt1_2 {
	display: none;
}

#searchopt2_2 {
	display: none;
}

#searchopt3_2 {
	display: none;
}

/* 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 */
.headerScaleSelect{
	width: 150px;
    float: left;
    padding: 10px 5px 5px 5px;
	margin: 0px 10px 0px 10px;    
    box-sizing: border-box;    
}

.scaleSelect {
	position: absolute;
	display: flex;
	width: 150px;
	height: 30px;
	line-height: 3;
	background: #2c3e50;
	overflow: hidden;
	border-radius: .25em;
	box-sizing: border-box;
}

/* 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;
}

.pageGroup {
	position: absolute;
	left: 640px;
	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 {
	position: absolute;
	left: 150px;
	top: -10px;
}

.headerButton.nextPageBtn {
	position: absolute;
	left: 190px;
	top: -10px;
}

.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 {
	margin: 2px;
	float: left;
	width: 26px;
	height: 26px;
	padding: 3px;
	cursor: pointer;
	user-select: none;
	box-sizing: border-box;
}

.keyword-highlight {
	position: absolute;
	opacity: 0.3;
	pointer-events: none;
}

/**********************************************************************************/

.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 .CommentAllDelete {
	margin-left: 80px;
}

.DCV .CommentBookmarkAdd {
	margin-left: 90px;
}

.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: "";
}

#sidebarResizer {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 6px;
	z-index: 200;
	cursor: ew-resize;
}

#sidebarResizer {
	right: -6px;
}

#sidebarContainer.sidebarResizing  {
	/* Improve responsiveness and avoid visual glitches when the sidebar is resized. */
	transition-duration: 0s;
	/* Prevent e.g. the thumbnails being selected when the sidebar is resized. */
	user-select: none;
  }

  .slider {
	/* Chrome, Edge */
   -webkit-appearance: none;
}

.slider:focus {
   /* Eliminates focus on Chrome, Edge */
   outline: none;
}

.slider::-webkit-slider-runnable-track {
   /* Chrome, Edge */
   background: rgb(239, 239, 239);
   border: 1px solid rgb(178, 178, 178);
   border-radius: 25px;
   cursor: pointer;
   height: 8px;
}

.slider::-webkit-slider-thumb {
   /* Chrome, Edge thumb */
   -webkit-appearance: none;
   background: rgb(7, 114, 251);
   border: 0px;
   border-radius: 16px;
   cursor: pointer;
   height: 16px;
   margin-top: -5px;
   width: 16px;
}

.slider::-moz-range-track {
   /* FF Range track */
   background: rgb(239, 239, 239);
   border: 1px solid rgb(178, 178, 178);
   border-radius: 25px;
   cursor: pointer;
   height: 8px;
}

.slider::-moz-range-thumb {
   /* FF Range thumb */
   background: rgb(7, 114, 251);
   border: 0px;
   border-radius: 16px;
   cursor: pointer;
   height: 16px;
   width: 16px;
}

.slider::-ms-track {
   /* IE Range track */
   background: transparent;
   border-color: transparent;
   border-width: 5px 0; /* allows taller thumb */
   color: transparent;
   height: 8px;
}

.slider::-ms-thumb {
   /* Thumb */
   background: rgb(7, 114, 251);
   border: 0px;
   border-radius: 16px;
   height: 16px;
   width: 16px;
}

.slider::-ms-fill-lower {
   /* IE Range lower fill */
   background: rgb(7, 114, 251);
   border: 1px solid rgb(62, 116, 184);
   border-radius: 50px;
}

.slider::-ms-fill-upper {
   /* IE Range upper fill */
   background: rgb(239, 239, 239);
   border: 1px solid rgb(178, 178, 178);
   border-radius: 50px;
}

.slider::-ms-tooltip {
   /* IE Range upper fill */
   display:none;
}

/***********************************************************************************/

@media(max-width: 990px) {
	.pageGroup {
		position: fixed;
		left: 50%;
		top: auto;
		bottom: 20px;
		transform: translateX(-50%);
	}

	.headerButton.prePageBtn {
		left: -50px;
		top: -10px;
	}

	.headerButton.nextPageBtn {
		left: 155px;
		top: -10px;
	}

	.headerButton.prePageBtn:hover,
	.headerButton.nextPageBtn:hover {
		background-color: transparent;
		box-shadow: none;
		border: none;
	}

	/* search */
	.searchOptionGroup {
		width: 310px;
	}

	.searchOptionLabel {
		font-size: 12px;
		transform: none;
	}

	#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 {
		width: 26px;
		height: 26px;
		box-sizing: border-box;
		padding: 2px;
		margin-top: 2px;
		cursor: pointer;
		user-select: none;
	}


	.headerSeperator {
		width: 1px;
		height: 26px;
		margin: 2px;
	}

	.headerButtonGroup {
		height: 26px;
	}

	.headerScaleSelect{
		padding: 3px;
	}

	.scaleSelect {
		display: flex;
		width: 150px;
		height: 25px;
		line-height: 3;
	}

	select {
		flex: 1;
		padding: 0 0.5em;
		color: #fff;
		cursor: pointer;
	}


	.headerButton.prePageBtn,
	.headerButton.nextPageBtn {
		width: 40px;
		height: 40px;
	    padding: 5px;
	}

	/* search */
	.headerButtonGroup > .searchInnerGroup{
		padding-top: 2px;
	}

	#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 {
		width: 20px;
		height: 25px;
	}

	#findNext {
		width: 20px;
		height: 25px;
	}

	.searchOptionGroup {
		left: 180px;
		top: 1px;
		width: 300px;
		height: 29px;
	}

	.searchOptionLabel {
		font-size: 12px;
	}


	.searchOptionLabel.highlight {
		transform : translateY(0%);
	}

	.searchOptionLabel.matchCase {
		transform : translateY(0%);
	}

	.searchOptionLabel.entireWord {
		transform : translateY(0%);
	}	

	.searchCheckBox {
		vertical-align: -2px;
		font-size: 12px;
	}

	#findResultsCount {
		display : none;
	}

	.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 {
		display: flex;
		width: 150px;
		height: 25px;
		line-height: 3;
	}

}

@media(max-width: 530px) {
	/* search */
	.searchOptionGroup {
		width: 160px;
	}

	#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 {
		display: flex;
		width: 150px;
		height: 25px;
		line-height: 3;
	}

	.headerButton.prePageBtn,
	.headerButton.nextPageBtn {
		width: 40px;
		height: 40px;
	}
}

@media(max-width: 470px) {
	.scaleSelect {
		display: flex;
		width: 100px;
		height: 25px;
		line-height: 3;
	}

	/* 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;
	}
}

/* 웹접근성 */
button:focus, 
.headerButton:focus, 
.pageGroup input:focus, 
.headerArrawButton:focus, 
.searchCheckBox:focus, 
.btnCert:focus, 
.dialog:focus,
#findInput:focus,
#thumbnailView > a:focus
{
	outline: 3px dashed #ff0000 !important;
}

.zoomSelect:focus
{
 	outline: none;
 	box-shadow: inset 0 0 0 2px #ff0000 !important;
}

a:focus > .thumbnail > .thumbnailSelectionRing,
.thumbnail:hover > .thumbnailSelectionRing {
	background-color: hsla(0,0%,100%,.6) !important;
}

