/** default nanum gothic web font **/
@import url(//fonts.googleapis.com/earlyaccess/nanumbrushscript.css);
@import url(//fonts.googleapis.com/earlyaccess/nanumgothic.css);
@import url(//fonts.googleapis.com/earlyaccess/nanumgothiccoding.css);
@import url(//fonts.googleapis.com/earlyaccess/nanummyeongjo.css);
@import url(//fonts.googleapis.com/earlyaccess/nanumpenscript.css);

/** adding extra nanum font **/
@import url(//cdn.jsdelivr.net/font-nanum/1.0/nanumbarungothic/nanumbarungothic.css);


#hplugin_ebook_outlayer_id {}


.hplugin_ebook_layer {  width:auto; height:auto; }
.hplugin_ebook_body_layer { width:auto;height:auto; max-width: 1100px; }

#hplugin_ebook_split_line {}
.hplugin_ebook_split_line_spacer { clear:both; height:20px;}


.hplugin_ebook_list_layer_admincheckbox {}

.hplugin_ebook_list_layer { float:left; width:186px; margin:0px 10px 40px 22px; min-height: 380px; }

/** A type **/
.hplugin_ebook_list_layer_timg {}
.hplugin_ebook_list_layer_spacer {}
.hplugin_ebook_list_layer_info {}
.hplugin_ebook_list_layer_title {}
.hplugin_ebook_list_layer_writer {}
.hplugin_ebook_list_layer_subtitle {}
.hplugin_ebook_list_layer_detail {}
.hplugin_ebook_list_layer_rowspacer {}

/** B type **/
.hplugin_ebook_list_head { /*height:20px;*/ }
/*.hplugin_ebook_list_img { width:186px;height:265px; margin-bottom: 15px; min-height:240px; min-width: 186px; }*/
.hplugin_ebook_list_title { width:186px; font-family:'Nanum Barun Gothic',Serif;font-size:15px; margin-bottom:5px; line-height: 20px;}
.hplugin_ebook_list_writer { width:186px; font-family:'Nanum Barun Gothic',Serif;font-size:13px; color:#b0b0b0;  }
.hplugin_ebook_list_view { /*margin-top: 10px; */ }
.hplugin_ebook_list_pdf { float:right; width:50%; text-align:center; }
.hplugin_ebook_list_ebook { float:left; width:50%; text-align:center; }
.hplugin_ebook_list_footer { /*width:186px; height:20px;*/ }
/*.hplugin_ebook_list_thumbnail { width:186px; height:265px;}*/

#hplugin_ebook_pdf { display:block; width:100%; height:44px; background-color:#4e4d4e; color:#fff; padding-top: 9px;}
#hplugin_ebook_ebook { display:block; width:100%; height:44px; background-color:#c92022; color:#fff; padding-top: 9px; }
#hplugin_ebook_ebook:hover,#hplugin_ebook_pdf:hover {/*background-color:#E6E6E6; color:#FFFFFF;*/ }



/** Page Navigation **/
.dir {font-family:'Nanum Barun Gothic',Serif;font-size:8px; color:#5f5656;}
#hplugin_ebook_page_nav_pre { /*float:right;text-align:right; width:10px; */}
#hplugin_ebook_page_nav { /*float:right; text-align:right;*/ width:100%; text-align: center; }

.hplugin_ebook_pagenav_info {list-style:none;float:left; width:auto;height:20px;text-align:center; margin-right:20px; font-family:'Nanum Barun Gothic',Serif;font-size:12px; color:#5f5656;padding-top:10px;}
.hplugin_ebook_pagenav_prev {list-style:none;float:left;border:1px solid;border-color:#dad1d1; background-color:#ebe8e8;padding-bottom:3px;width:20px;height:20px;line-height:20px;text-align:center;}
.hplugin_ebook_pagenav_num {list-style:none;float:left;border:1px solid; border-color:#dad1d1; background-color:#ebe8e8;padding-bottom:3px; width:20px;height:20px;line-height:20px;text-align:center;}
.hplugin_ebook_pagenav_num_active {list-style:none;float:left;border:1px solid; border-color:#dad1d1; background-color:#aaa7a7;padding-bottom:3px; width:20px;height:20px;line-height:20px;text-align:center;}
.hplugin_ebook_pagenav_next {list-style:none;float:left;border:1px solid; border-color:#dad1d1; background-color:#ebe8e8;padding-bottom:3px; width:20px;height:20px;line-height:20px;text-align:center;}
.hplugin_ebook_pagenav_next_active {list-style:none;float:left;border:1px solid; border-color:#dad1d1; background-color:#ebe8e8;padding-bottom:3px; width:20px;height:20px;line-height:20px;text-align:center;}


/** View **/
.hplugin_ebook_view_layer { width:auto;height:auto; max-width: 1000px; }

.hplugin_ebook_view_body_layer {}
.hplugin_ebook_view_layer_info  { width:auto;height:auto; max-width: 1000px; }
.hplugin_ebook_view_layer_title  {list-style:none;width:auto;height:40px;text-align:left; margin-right:20px; font-family:'Nanum Barun Gothic',Serif;font-size:24px; color:#5f5656;display:block;}
.hplugin_ebook_view_layer_writer  { width:auto;height:auto; text-align:left;font-family:'Nanum Barun Gothic',Serif;font-size:24px; color:#5f5656; display:block;height:30px;}  
.hplugin_ebook_view_layer_frame { clear:both;width: 100%; height: auto; }


.hplugin_ebook_btn_pagelist,.hplugin_ebook_btn_pagewrite,.hplugin_ebook_btn_pagereply,.hplpugin_ebook_btn_pageedit { border:0px ; background-color:#a9d300; height:34px; width:110px; border-radius:7px; -moz-border-radius:7px; text-align:center; font-family:'Nanum Barun Gothic',Serif;font-size:13px; color:#000000; margin:0px 5px 0px 5px;}
.hplugin_ebook_btn_pagedelete { border:0px ; background-color:#FA5858; height:34px; width:110px; border-radius:7px; -moz-border-radius:7px; text-align:center; font-family:'Nanum Barun Gothic',Serif;font-size:13px; color:#FFFFFF; margin:0px 5px 0px 5px;}
.hplugin_ebook_btn_pagelist:hover { background-color:#6b8017; color:#FFFFFF}
.hplugin_ebook_btn_pagewrite:hover { background-color:#6b8017; color:#FFFFFF}
.hplugin_ebook_btn_pagedelete:hover { background-color:#DF0101; color:#FFFFFF}
.hplugin_ebook_btn_pagereply:hover { background-color:#6b8017; color:#FFFFFF}
.hplugin_ebook_btn_pageedit:hover { background-color:#6b8017; color:#FFFFFF}



.hplugin_ebook_pn_layer_pre { clear:both; width:500px; height: 15px;}
.hplugin_ebook_pn_view { height:30px;}
.hplugin_ebook_pn { float:left; background-color:#a9d300; height:30px; width:110px; border-radius:7px; -moz-border-radius:7px; padding-top:12px; text-align:center; font-family:'Nanum Barun Gothic',Serif;font-size:12px; color:#FFFFFF; }
.hplugin_ebook_pn:hover {background-color:#6b8017; color:#FFFFFF;} 
.hplugin_ebook_prevnext { font-family:'Nanum Barun Gothic',Serif;font-size:13px; color:#FFFFFF; }
.hplugin_ebook_pn_spacer { float:left; width:10px; height:24px;}

#htobbs_galB_view_span_title {display:block;} 
#htobbs_galB_view_span_writer {display:block;} 

.hplugin_ebook_view_thumbnail {float:left;text-align: center; padding:20px; width:45%;}
.hplugin_ebook_view_thumbnail_img {display:block; width:400px; height:auto;}
.hplugin_ebook_view_codeview {clear:both;width:395px; height:160px; border:1px solid #01DFD7; margin-top:20px; background-color: #EFFBFB}
.hplugin_ebook_view_codeqr { float:left; width:33%; height:120px;text-align: center; padding-top: 20px; background-color: #FFFFFF; margin:10px;}
.hplugin_ebook_view_codebtn{ float:left; width:52%; height:150px; padding-left:10px;padding-top:70px;}
#hplugin_ebook_view_qrcode { display:block; width:100px;height:100px; text-align:center; margin-left:15px;}
.hplugin_ebook_view_pdf {display:block; }
.hplugin_ebook_view_ebook { display:block;}
#hplugin_ebook_view_pdf, #hplugin_ebook_view_ebook{
 text-decoration:none; 
 text-align:center; 
 padding:11px 32px; 
 border:solid 1px #004F72; 
 -webkit-border-radius:4px;
 -moz-border-radius:4px; 
 border-radius: 4px; 
 font:13px Arial, Helvetica, sans-serif; 
 font-weight:bold; 
 color:#E5FFFF; 
 background-color:#3BA4C7; 
 background-image: -moz-linear-gradient(top, #3BA4C7 0%, #1982A5 100%); 
 background-image: -webkit-linear-gradient(top, #3BA4C7 0%, #1982A5 100%); 
 background-image: -o-linear-gradient(top, #3BA4C7 0%, #1982A5 100%); 
 background-image: -ms-linear-gradient(top, #3BA4C7 0% ,#1982A5 100%); 
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1982A5', endColorstr='#1982A5',GradientType=0 ); 
 background-image: linear-gradient(top, #3BA4C7 0% ,#1982A5 100%);   
 -webkit-box-shadow:0px 0px 2px #bababa, inset 0px 0px 1px #ffffff; 
 -moz-box-shadow: 0px 0px 2px #bababa,  inset 0px 0px 1px #ffffff;  
 box-shadow:0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;  
  
  }

.hplugin_ebook_view_layer_body { float:left;width: 40%; height:auto; min-height:600px; margin:20px;  font-family:'Nanum Barun Gothic',Serif;font-size:13px; color:#6E6E6E; }

/** ebook view **/
/** Sort Layer CSS **/
.hplugin_ebook_slider_layer {display:none; position:fixed; _position:absolute; top:0; left:0; width:100%; height:100%; z-index:100;}
.hplugin_ebook_slider_layer .ebg {position:absolute; top:0; left:0; width:100%; height:100%; background:#000; opacity:.5; filter:alpha(opacity=50);}
.hplugin_ebook_slider_layer .epop-layer {display:block;}
 
.epop-layer {display:none; position: absolute; top: 50%; left: 50%; width: 90%; height:90%;  background-color:#fff; border: 5px solid #3571B5; z-index: 10;} 
.epop-layer .epop-container {padding: 20px 25px;}
.epop-layer p.ctxt {color: #666; line-height: 25px;}
.epop-layer .btn-r {width: 100%; margin:10px 0 20px; padding-top: 10px; border-top: 1px solid #DDD; text-align:right;}

 
a.ebtn {display:inline-block; height:25px; padding:0 14px 0; border:1px solid #304a8a; background-color:#3f5a9d; font-size:13px; color:#fff; line-height:25px;}
a.ebtn:hover {border: 1px solid #091940; background-color:#1f326a; color:#fff;}

/** reset wpfooter laver for bootstrap **/
#wpfooter {  display:none;}

.badge.ebook_badge {  font-size:8px;}



/* edit By HTO */
.hplugin_ebeook_body_layer, .hplugin_ebook_list_layer {
  position: relative;
  margin:0; padding:0;
  min-height: 250px;
  min-width: 250px;
  margin-bottom: 37px;
}
.hplugin_ebeook_body_layer, .hplugin_ebook_list_layer {
  float: left;
}
.hplugin_ebeook_body_layer { width:100%; }
.hplugin_ebook_list_layer { width:25%; padding:33px; }

.hplugin_ebook_list_layer:nth-child(1) { background-color:#fff; border-top:solid 1px #e1e1e1; border-right:solid 1px #e1e1e1; }
.hplugin_ebook_list_layer:nth-child(2) { background-color:#f7f7f7; border-top:solid 1px #e1e1e1; border-right:solid 1px #e1e1e1; }
.hplugin_ebook_list_layer:nth-child(3) { background-color:#fff; border-top:solid 1px #e1e1e1; border-right:solid 1px #e1e1e1; }
.hplugin_ebook_list_layer:nth-child(4) { background-color:#fff; border-top:solid 1px #e1e1e1; border-right:solid 1px #e1e1e1; }
.hplugin_ebook_list_layer:nth-child(5) { background-color:#f7f7f7; border-top:solid 1px #e1e1e1; border-right:solid 1px #e1e1e1; }
.hplugin_ebook_list_layer:nth-child(6) { background-color:#fff; border-top:solid 1px #e1e1e1; border-right:solid 1px #e1e1e1; }
.hplugin_ebook_list_layer:nth-child(7) { background-color:#f7f7f7; border-top:solid 1px #e1e1e1; border-right:solid 1px #e1e1e1; }
.hplugin_ebook_list_layer:nth-child(8) { background-color:#f7f7f7; border-top:solid 1px #e1e1e1; border-right:solid 1px #e1e1e1; }


@media (max-width:1290px) {
.hplugin_ebook_list_layer { width:33.3333%;} 
}
@media (max-width:1056px) {
.hplugin_ebook_list_layer { width:50%;} 
}
@media (max-width:766px) {
.hplugin_ebook_list_layer { width:50%;} 
}
@media (max-width:590px) {
.hplugin_ebook_list_layer { width:100%;}  
}
@media (max-width:500px) {
}



.hplugin_ebook_list_thumbnail {
	height:130px;
	margin: 0 auto;
	border:solid 1px #c9c9c9;
}
.hplugin_ebook_list_head, .hplugin_ebook_list_footer {
	height:0;
	margin: 0;
	padding: 0;
}

.hplugin_ebook_list_title {
  font-family: "Nanum Gothic";
  font-size: 16px;
  font-weight: bold;
  color: #616161; 
  text-align: center; 
  margin-top: 15px;
  letter-spacing: -0.1em;
  width:100%;
}
.hplugin_ebook_list_writer {
  font-family: "Nanum Gothic";	
  font-size: 12px;
  color: #aaafb4; 
  text-align: center; 
  margin-top: -5px;
  width:100%;
}
.hplugin_ebook_list_view {
	padding-top: 245px;
}
.hplugin_ebook_list_img {
  text-align: center; 
}
.hplugin_ebook_pagenav_prev, .hplugin_ebook_pagenav_next, .hplugin_ebook_pagenav_num {
  margin:0;
  width:44px;
  height:44px;
  font-size: 14px;
  background-color: #fff;
  padding-top: 12px;
  border: 0;
}
.hplugin_ebook_pagenav_prev {
  border-right:1px solid #f1f1f1;
}
.hplugin_ebook_pagenav_num_active, .hplugin_ebook_pagenav_num {
  margin:0;
  width:44px;
  height:44px;
  font-size: 14px;
  font-weight: bold;
  background-color: #c92022;
  padding-top: 12px;
  border-right:1px solid #f1f1f1;
}
.hplugin_ebook_pagenav_num {
  background-color: #fff;
}
.hplugin_ebook_pagenav_num a {
    font-size: 14px;
    color: #616161;
}
.hplugin_ebook_pagenav_num_active a {
    font-size: 14px;
    color: #fff;
}
.hplugin_ebook_pagenav_prev a, .hplugin_ebook_pagenav_next a {
    font-size: 14px; 
}
.hplugin_ebook_pagenav_info {
  display: none;
}
#hplugin_ebook_page_nav {
  text-align: center;
  margin-top: 20px;
  padding-top: 7px;
  padding-right: 7px;
  display: inline-block;
  background-color: #f1f1f1;    
}
.pagination {
  display: inline-block;
  margin: 0;
  padding: 5px;
}
.ebook_title {
  font-family: 'Nanum Gothic';
  font-weight: 900;
}