.page-wrapper {
	-webkit-perspective: 2000px;
	-moz-perspective: 2000px;
	-ms-perspective: 2000px;
	perspective: 2000px;
	
}
*{
	box-sizing:border-box;
}
a{
	text-decoration:none;
}
ul{
	list-style:none;
}
button{
	outline:none;
	cursor:pointer;
}

img{
	-webkit-user-drag: none;
}

html,body {
	margin: 0;
	width: 100%;
	height: 100%;
	background-color: #F6F6F9;

	-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#container {
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: relative;
	background-color: transparent;
	
}
#print-frame{
	visibility: hidden;
	width:0px; height:0px;
	position:fixed;
	bottom:-100px;
}
#content{
	
	width: 100%;
    height: 100%;
    overflow: hidden;

	position:absolute;
	left:0;
	padding:20px 0;
	z-index:100;
} 
#Ebook{
	height: calc(100% - 40px);
}
#Ebook .book-shadow{
	position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background-color:transparent;
    box-shadow: 0 0 20px rgba(0, 0, 0, .35);
}
#Ebook.display-double .book-shadow.first{
	width:50% !important;
	right:0;
}
#Ebook.display-double .book-shadow.last{
	width:50% !important;
	left:0;
}

#Ebook .page-odd .shadow{
	position: absolute;
    top: 0;
    left: 0;
    width: 4%;
    height: 100%;
	/*
    background-image: -webkit-linear-gradient(right, rgba(255, 255, 255, 0) 0, rgba(103, 102, 102, .2) 100%);
    background-image: -moz-linear-gradient(right, rgba(255, 255, 255, 0) 0, rgba(103, 102, 102, .2) 100%);
    background-image: -o-linear-gradient(right, rgba(255, 255, 255, 0) 0, rgba(103, 102, 102, .2) 100%);
    background-image: -ms-linear-gradient(right, rgba(255, 255, 255, 0) 0, rgba(103, 102, 102, .2) 100%);
	pointer-events: none;
	*/
}
#Ebook .page-even .shadow{
	position: absolute;
    top: 0;
    right: 0;
    width: 4%;
    height: 100%;
	/*
    background-image: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0, rgba(103, 102, 102, .2) 100%);
    background-image: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0, rgba(103, 102, 102, .2) 100%);
    background-image: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0, rgba(103, 102, 102, .2) 100%);
    background-image: -ms-linear-gradient(left, rgba(255, 255, 255, 0) 0, rgba(103, 102, 102, .2) 100%);
    pointer-events: none;
	*/
}

#pc-header{
	display:block;
	position:absolute;
	width:100%;
	height:80px;
	background:transparent;
	
	
	left:50%;
	transform:translateX(-50%);
	top:-55px;
	/*
	top:-60px;
	*/
	
	z-index:11000;
	text-align:center;

	-webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out
}
#mobile-header{
	display:none;
}
#mobile-footer{
	display:none;
}
#mobile-menu{
	display:none;
}
#pc-header.active{
	top:0;
}
#pc-header > .toggle-btn{
	font-size:3rem;
	padding:0 20px;
	margin:0;
	background:#fff;
	border:0;
	color:#555;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    border-bottom-left-radius: 25px !important;
    border-bottom-right-radius: 25px !important;
}
#pc-header.active > .toggle-btn{
	/*color:#6F8FAF;*/
}

#pc-header > .bar{
	width:100%;
	height:50px;
	background:#fff;

	/*border-radius: 0 0 20px 20px;*/
	
	border:1px solid;
	border-color: #fff #ddd #ddd #ddd;
	box-shadow:0 0 5px rgba(0, 0, 0, 0.2);;
	padding:0;
	position:relative;

	display: flex;
    align-items: center;
    justify-content: center;
	
}
#pc-header > .bar > button {
	font-size:1.2rem;
	margin:2px;
	padding:0;
	width:40px;
	height:40px;
	border:0;
	padding:2px;
	background:transparent;
	color:#555;
	border:1px solid #fff;
	position:relative;

	border-radius:7px;
}
#pc-header > .bar > button.direction{
	background-color:#ff7200;
	color:#fff;
	
	font-size:1.2rem;
	border-radius:50%;
	width:30px;
	height:30px;
	margin:9px 4px;
}
#pc-header > .bar > button.direction:disabled{
	background-color:#ccc;
}
#pc-header > .bar > button.direction.active, #pc-header > .bar > button.direction:hover{
	background-color:#b76724;
	color:#fff;
}
#pc-header > .bar > button:not(.direction).active{
	background-color:#ff7200;
	color:#fff;
}
#pc-header > .bar > button:not(.direction):hover{
	background-color:#ff7200;
	color:#fff;
}
#pc-header > .bar > button:not(.direction):hover::before{
	
	background:#ff7200;
	content:attr(alt);
	font-size:0.8rem;
	font-weight:bold;
	color:#fff;
	
	position:absolute;
	width: auto;
	display: block;
	white-space: nowrap;
	left:50%;
	transform: translateX(-50%);
	bottom:-34px;

	padding:5px 8px;

}
#pc-header > .bar > button:not(.direction):hover::after{
	border-top:0px solid transparent;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 6px solid #ff7200;
	content:"";
	position:absolute;
	bottom:-8px;
	left:50%;
	transform: translateX(-50%);
}

#pc-header > .bar > input[type=text]{
	width:80px;
	height:30px;
	background-color:#ff7200;
	color:#fff;
	border-radius:20px;
	border:0;
	font-size:1.0rem;
	font-weight:bold;
	outline:0;

	-ms-user-select: none; 
	-moz-user-select: -moz-none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	user-select: none;
	
}
#thumb-wrap{
	min-width:100%;
	position:absolute;

	left:0;
	right:0;

	bottom:0;
	z-index:10900;
	
	display:flex;
	flex-direction: column-reverse;
	
}
#thumb-wrap > button#thumb-close{
	position:absolute;
	top:0;
	right:0;

	width:60px;
	height:60px;
	background:#fff;

	border:1px solid;
	border-top-color:#555; 
	border-right-color:#555; 
	border-bottom-color:#fff; 
	border-left-color:#555;

	z-index:10901;
	font-size:2rem;
	
}
#thumb-wrap > #thumb{
	margin-top:0;
	height:0;
	border-top:1px solid #555;
	border-left:1px solid #555;
	border-right:1px solid #555;
	
	white-space: nowrap;
	
	
	text-align:center;
	vertical-align:bottom;

	-webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
	
	overflow-x:hidden;
	overflow-y:hidden;
}
#thumb-wrap > #thumb.active{
	margin-top:59px;
	height:136px;
}
#thumb-wrap > #thumb > div{
	display:inline-block;
	height:130px;
}
#thumb-wrap > #thumb > div > a{
	display:inline-block;
	cursor:pointer;
}
#thumb-wrap > #thumb > div > a > img{
	border:3px solid #fff;
}
#thumb-wrap > #thumb > div > a:hover > img{
	border:3px solid #ff7200;

}
/*검색 모달*/
.dialog-wrap > section.search{
	font-weight:normal;
	color:#777;
	font-size:1.0rem;
}
.dialog-wrap > section.search > p {
	padding:10px 0;
	margin:0;
	text-align:center;
}
.dialog-wrap > section.search > p.title {
	display:flex;
	align-items: center;
    justify-content:space-between;
	flex-direction: row;
}
.dialog-wrap > section.search > p.title > button{
	background:transparent;
	border:0;
	font-size:1.3rem;
}
.dialog-wrap > section.search > p.title > article {
	font-size:1.2rem;
	font-weight:bold;
}
.dialog-wrap > section.search > p.title > article > i{
	font-size:1.5rem;
	display:inline-block;
	margin-right:5px;
}
.dialog-wrap > section.search > p > input[name='keyword']{
	width:100%;
	background:#fff;
	padding:5px;
	height:40px;
	font-size:1.2rem;
	color:#000;
	border:2px solid #000;
	border-radius:5px;
}
.dialog-wrap > section.search > p > span {
	font-size:0.8rem;
	color:#aaa;
	display:block;
	margin-bottom:3px;
}

.dialog-wrap > section.search > p > button.confirm{
	background:#ff7200;
	border:0;
	color:#fff;
	font-size:1.0rem;
	margin-right:10px;
	padding:5px 10px;
	border-radius:5px;
}
.dialog-wrap > section.search > p > button.confirm > i{
	margin-right:5px;
	font-size:1.2rem;
}
.dialog-wrap > section.search > p > button.cancel{
	background:#ececed;
	border:0;
	color:#000;
	font-size:1.0rem;
	padding:5px 10px;
	border-radius:5px;
}

.dialog-wrap > section.search > p > button.cancel > i{
	margin-right:5px;
	font-size:1.2rem;
}



.dialog-wrap > section.share{
	font-weight:normal;
	color:#777;
	font-size:1.0rem;
}
.dialog-wrap > section.share > p {
	padding:10px 0;
	margin:0;
	text-align:center;
}
.dialog-wrap > section.share > p.title {
	display:flex;
	align-items: center;
    justify-content:space-between;
	flex-direction: row;
}
.dialog-wrap > section.share > p.title > button{
	background:transparent;
	border:0;
	font-size:1.3rem;
}
.dialog-wrap > section.share > p.title > article {
	font-size:1.2rem;
	font-weight:bold;
}
.dialog-wrap > section.share > p.title > article > i{
	font-size:1.5rem;
	display:inline-block;
	margin-right:5px;
}
.dialog-wrap > section.share > p.sns{
	display:flex;
	align-items: center;
    justify-content:space-between;
	flex-direction: row;
}
.dialog-wrap > section.share > p.sns > a{
	display:inline-block;
	text-align:center;

}
.dialog-wrap > section.share > p.sns > a > i{
	font-size:3rem;
	color:#000;
}
.dialog-wrap > section.share > p.sns > a > span{
	display:block;
	font-weight:bold;
}
/*
div.alert{
	z-index:12000;
	overflow-y:auto;
	position:absolute !important;
	background:Red;
	width:100% !important;
}
*/
.ui-dialog {
	position: absolute;
	top: 0;
	left: 0;
	padding: .2em;
	outline: 0;
	z-index:12000;
	background:#fff;
	border-radius:7px;
}
.ui-dialog .ui-dialog-titlebar {
	padding: .4em 1em;
	position: relative;
}
.ui-dialog .ui-dialog-title {
	float: left;
	margin: .1em 0;
	white-space: nowrap;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;

	display:none;
}
.ui-dialog .ui-dialog-titlebar-close {
	display:none;
}
.ui-dialog .ui-dialog-content {
	position: relative;
	border: 0;
	padding: .5em 1em;
	background: none;
	overflow: auto;

	width:100%;
}
.ui-dialog .ui-dialog-buttonpane {
	text-align: left;
	border-width: 1px 0 0 0;
	background-image: none;
	margin-top: .5em;
	padding: .3em 1em .5em .4em;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
	float: right;
}
.ui-dialog .ui-dialog-buttonpane button {
	margin: .5em .4em .5em 0;
	cursor: pointer;
}
.ui-dialog .ui-resizable-n {
	height: 2px;
	top: 0;
}
.ui-dialog .ui-resizable-e {
	width: 2px;
	right: 0;
}
.ui-dialog .ui-resizable-s {
	height: 2px;
	bottom: 0;
}
.ui-dialog .ui-resizable-w {
	width: 2px;
	left: 0;
}
.ui-dialog .ui-resizable-se,
.ui-dialog .ui-resizable-sw,
.ui-dialog .ui-resizable-ne,
.ui-dialog .ui-resizable-nw {
	width: 7px;
	height: 7px;
}
.ui-dialog .ui-resizable-se {
	right: 0;
	bottom: 0;
}
.ui-dialog .ui-resizable-sw {
	left: 0;
	bottom: 0;
}
.ui-dialog .ui-resizable-ne {
	right: 0;
	top: 0;
}
.ui-dialog .ui-resizable-nw {
	left: 0;
	top: 0;
}

/* Overlays */
.ui-widget-overlay {
	background: #000;
	opacity: .3;
	width:100%;
	height:100%;
	position:absolute;
	left:0;
	top:0;


}
.ui-widget-shadow {
	box-shadow: 0px 0px 5px #666666;
}
#search{
	position:absolute;
	z-index:11100;

	-webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
		
	left:-320px;
	top:0;
	width:100%;
	height:100%;
	max-width:320px;
	background:#ececed;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
	border-right:1px solid #ccc;
}
#search.active{
	left:0px;
}
#search > .title{
	font-size:1.5rem;
	padding:0;
	border-bottom:1px solid #ccc;
	height:50px;
	position:relative;
	display:flex;
	align-items: center;
    justify-content:space-between;
	flex-direction: row;
}
#search > .title > p{
	display:inline-block;
	background:transparent;
	height:100%;
	width:100%;
	padding:0;
	margin:0;
	position:relative;
	display:flex;
	align-items: center;
    justify-content: flex-end;
	flex-direction: row;
	padding:0 10px;

}
#search > .title > p > input[name='keyword']{
	border:1px solid #ccc;
	width: 100%;
	padding:0 50px 0 15px;
    height: 30px;
	border-radius: 20px;
    border: 0;
    font-size: 1.0rem;
    font-weight: bold;
    outline: 0;
    -ms-user-select: none;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}
#search > .title > p > button{
	position:absolute;
	height:100%;
	padding:0 20px;
	background:transparent;
	font-size:1.3rem;
	color:#aaa;
	border:0;
}

#search > .title > button{
	border:0;
	font-size:1.8rem;
	background:transparent;
	padding:0 10px;
	height:100%;
}

#search > .list{
	height:calc(100% - 50px);
	overflow-y:scroll;
}
#search > .list > div.empty{
	height:100%;
	display:flex;
	align-items: center;
    justify-content: center;
	flex-direction: column;

	font-weight:bold;
}
#search > .list > div.empty > i{
	font-size:3rem;
}

#search > .list > ul{
	padding:10px;
	margin:0;
}
#search > .list > ul > li{
	border-bottom:1px solid #ccc;
}
#search > .list > ul > li > a{
	display:flex;
	align-items: flex-start;
    justify-content: center;
	flex-direction: row;

	color:#555;
	font-size:0.9rem;
	line-height:1.2rem;

	margin:5px 0;
	position: relative;
}
#search > .list > ul > li > a > img{

}
#search > .list > ul > li > a > p{
	margin:0;
	padding:0 5px 30px 5px;
	width:100%;
	height:100px;
	
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
}
#search > .list > ul > li > a > p > span{
	background:#ff7200;
	color:#fff;
}
#search > .list > ul > li > a > article{
	position: absolute;
    bottom: 0;
    right: 0;
	background:#555;
	color:#fff;
	padding:0px 2px;
	border-radius:2px;
	font-size:0.7rem;
	font-weight:bold;
}

@media screen and (max-width: 768px) {
	#pc-header{
		display:none;
	}
	#mobile-header{
		display:block;
		position:relative;
		width:100%;
		height:40px;
		background:#fff;
		
		z-index:11000;
		text-align:center;
	}
	#mobile-header > .bar{
		width:100%;
		height:100%;
		background:#fff;

		/*border-radius: 0 0 20px 20px;*/
		
		border:1px solid;
		border-color: #fff #ddd #ddd #ddd;
		box-shadow:0 0 5px rgba(0, 0, 0, 0.1);
		padding:0;
		position:relative;

		display: flex;;
		align-items: center;
		justify-content:space-between;;
	}
	#mobile-header > .bar > p > button{
		height:100%;
		font-size:1.6rem;
		border:0;
		background:transparent;
		outline:0;
		padding:0 15px;
	}


	#mobile-footer{
		display:block;
		position:relative;
		width:100%;
		height:40px;
		background:transparent;
		
		z-index:11000;
		text-align:center;
	}
	#mobile-footer > .bar{
		width:100%;
		height:100%;
		background:#fff;

		/*border-radius: 0 0 20px 20px;*/
		
		border:1px solid;
		border-color: #ddd #ddd #ddd #ddd;
		box-shadow:0 0 5px rgba(0, 0, 0, 0.1);
		padding:0;
		position:relative;

		display: flex;;
		align-items: center;
		justify-content: center;
	}
	#mobile-footer > .bar > button {
		font-size:1.2rem;
		margin:2px;
		padding:0;
		width:40px;
		height:40px;
		border:0;
		padding:2px;
		background:transparent;
		color:#555;
		border:1px solid #fff;
		position:relative;

		border-radius:7px;
	}
	#mobile-footer > .bar > button.direction{
		background-color:#ff7200;
		color:#fff;
		
		font-size:1.2rem;
		border-radius:50%;
		width:30px;
		height:30px;
		margin:9px 4px;
	}
	#mobile-footer > .bar > button.direction:disabled{
		background-color:#ccc;
	}
	#mobile-footer > .bar > button.direction.active, #pc-header > .bar > button.direction:hover{
		background-color:#b76724;
		color:#fff;
	}
	#mobile-footer > .bar > input[type=text]{
		width:80px;
		height:30px;
		background-color:#ff7200;
		color:#fff;
		border-radius:20px;
		border:0;
		font-size:1.0rem;
		font-weight:bold;
		outline:0;

		-ms-user-select: none; 
		-moz-user-select: -moz-none;
		-khtml-user-select: none;
		-webkit-user-select: none;
		user-select: none;
	}
	#mobile-menu{
		position:absolute;
		z-index:11100;

		-webkit-transition: all 0.1s ease-in-out;
		-moz-transition: all 0.1s ease-in-out;
		-o-transition: all 0.1s ease-in-out;
		transition: all 0.1s ease-in-out;
			
		margin-left:100%;
		top:0;
		width:100%;
		height:100%;
		background:#ececed;
		box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
		border-right:1px solid #ccc;

		
		display:block;
	}
	#mobile-menu.active{
		margin-left:0;
	}
	#mobile-menu > .title{
		font-size: 1.5rem;
		padding: 0;
		height: 50px;
		position: relative;
		display: flex;
	
		align-items: center;
		justify-content: flex-end;
		flex-direction: row;

		border-bottom:1px solid #ccc;
	}
	#mobile-menu > .title > button {
		border: 0;
		font-size: 1.8rem;
		background: transparent;
		padding: 0 10px;
		height: 100%;
	}
	#mobile-menu > ul{
		margin:0;
		padding:0;
	}
	#mobile-menu > ul > li > a{
		color:#555;
		
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: row;

		padding:20px;
		border-bottom:1px solid #ccc;
		border-top:1px solid #fff;
	}
	#mobile-menu > ul > li > a > i{
		font-size:1.6rem;
		margin-right:20px;

	}
	#mobile-menu > ul > li > a > article{
		text-align:left;
		width:100%;
		font-size:1.6rem;
	}
	#mobile-menu > div.sns{

		display:flex;
		align-items: center;
		justify-content:center;
		flex-direction: row;

		position: absolute;
        bottom: 0;
        width: 100%;

	}
	#mobile-menu > div.sns > a{
		display:inline-block;
		text-align:center;
		margin:20px;

	}
	#mobile-menu > div.sns > a > i{
		font-size:3rem;
		color:#000;
	}
	#mobile-menu > div.sns > a > span{
		display:block;
		font-weight:bold;
	}


	#content{
		
		width: 100%;
		height: calc(100% - 80px);
		overflow: hidden;

		position:relative;
		padding:5px 0;
		z-index:100;
	} 
	#Ebook{
		height:100%;
	}
	#Ebook .book-shadow{
		position: absolute;
		display: block;
		width: 100%;
		height: 100%;
		background-color:transparent;
		box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
	}
	#Ebook .page-odd .shadow{
	
	}
	#search{
		max-width:100%;
		left:-100%;
	}
	#thumb-wrap{
		bottom:40px;
	}
}