
body{
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    background-repeat:repeat;
    font-size:16px;
    font-family:Arial, Helvetica, sans-serif;
    margin:0px;
    padding:0px;
    width:100%;
    /*background-image:url(../image/afd_index_bg_image.png);*/
    /*background-image:url(../image/afd_bookshelf.png);*/
}
.afd_bookshelf{
	position:absolute;
	width:100%;
	height:0px;
}
#afd_bookshelf{
	margin-top:8px;
    margin-left:8px;
	z-index=-2;
}
#afd_bookshelf_border{
	z-index=-1;
}
#mystore{
	font-size:21px;
	font-weight:bold;
	text-decoration:none;
	width:100%;
	text-align:center;
	color:black;
	position:absolute;
	margin-top:22px;
}

#storemenu{
    background:url(../image/afd_storemenu.png);
	width:100%;
	height:70px;
}

#storemenu #quit{
    float:left;
    width:40px;
    padding-left:10px;
    padding-top:22px;
} 
#storemenu #quit img{
	position:relative;
    width:100%;
}
#storemenu #edit{
    float:right;
    width:40px;
    padding-top:22px;
    padding-right:10px;
}
#storemenu #edit img{
	position:relative;
    width:100%;
}
#storemenu #import{
    position:absolute;
    float:right;
    padding-top:22px;
	right:60px;
    width:40px;
}
#storemenu #import img{
	position:relative;
    width:100%;
}

#container{
    display:inline;
    width:100%;
    height:100%;
}

#container #afd_books ul{
    float:left;
    width:20%;
    height:20%;
	margin-left:7px;
    padding:10px;
}
#container #afd_books ul li{
    position:relative;
}
#container #afd_books ul li .coverimage{
    background-color:#666;
    height:5em;
    max-width:80%;
    border:1px solid #000;
    -moz-box-shadow:3px 3px 4px #000;
    -webkit-box-shadow:3px 3px 4px #000;
    box-shadow:3px 3px 4px #000;
    background:#fff;
    filter:progid:DXImageTransform.Microsoft.Shadow(Strength=4,Direction=135,Color='#000000');
}
#container #afd_books ul span{
    display:block;
    position:absolute;
    padding:10%;
    width:80%;
    height:60%;
    word-wrap: break-word;
    font-size:12px;
    overflow:hidden;
}
#container #afd_books ul .baseimage{
    position:relative;
    max-width:100%;
}

#container ul .li_coverimage{
    list-style:none;
    text-align:center;
}
#container ul .li_baseimage{
    width:100%;
    list-style:none;
    text-align:center;
    line-height:60%;
}
.afd_selectBg{
    z-index:1;
    position:absolute;
    width:100%;
    height:100%;
    background-color:rgba(0,0,0,0);
    display:none;
}
.afd_selectBg img{
    position:absolute;
    width:20px;
    bottom:0px;
    display:none;
}
#afd_editMenu{
    width:100%;
    z-index:2;
    position:absolute;
    display:none;
    text-align:center;
}

#afd_editMenu #afd_editBox{
    margin:0 auto;
    width:210px;
}
.afd_editItem{
    float:left;
    text-align:center;
    width:70px;
}

.afd_editItem img{
    position:relative;
    width:90%;
}

.afd_importdialog {
    position: fixed;
    /*font-family: Arial, Helvetica, sans-serif;*/
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.8);
    z-index: 9;
    opacity:0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
    width:100%;
    height:100%;
}

.afd_importdialog:target {
    opacity:2;
    pointer-events: auto;
}

.afd_importdialog > div {
    font-size:25px;
    width:80%;
    height:50%;
    position:relative;
    margin-top:20%;
    margin-left:10%;
    border-radius: 10px;
    background:#ffffff;
    text-align:center;
}
#afd_background{
	position:absolute;
	left:0px;
	width:100%;
	height:100%;
}
.close {
	z-index:1;
    background: #606061;
    color:#FFFFFF;
    line-height:25px;
    position:absolute;
    right:-5px;
    text-align:center;
    top:-5px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius:12px;
    -moz-border-radius:12px;
    border-radius:12px;
    -moz-box-shadow:1px 1px 3px #000;
    -webkit-box-shadow:1px 1px 3px #000;
    box-shadow:1px 1px 3px #000;
}

.close:hover{
    background:#5A9A30;
    background-repeat:no-repeat;
}

#afd_import_popuptab{
    width:100%;
    height:60px;
    /*background:url(../image/afd_import_popuptabbg.png);*/
    float:left;
}


#afd_internet{
	position:relative;
	z-index:10;
	width:100%;
	display:none;
	margin-top:10%;
    text-align:center;
}
#afd_internet .afd_downloadbutton{
	font-size:14px;
	color:#000000;
    padding:5px;
    border-color:#5A9A30;
    background-color:#ffffff;
    border-radius:2px;
    border-style:solid;
    position:relative;
    top:10px;
}

#filepath{
    border-color:#5A9A30;
    height:25px;
	width:80%;
    margin-bottom:30px;
}
#fileurl{
    border-color:#5A9A30;
    height:25px;
	width:80%;
    margin-bottom:30px;
}
#afd_local{
	position:relative;
	z-index:10;
	width:100%;
	display:none;
	margin-top:10%;
	text-align:center;
}
#afd_local .importbutton{
	font-size:14px;
	color:#000000;
    padding:5px;
    border-color:#5A9A30;
    background-color:#ffffff;
    border-radius:2px;
    border-style:solid;
}

#afd_wifi{
	position:relative;
	z-index:10;
	width:100%;
	display:none;
}
#afd_importingoptions{
    text-align:center;
    height:60px;
    width:100%;
    overflow:hidden;
    background-color:#b5b5b5;
    border-top-left-radius:7px;
    border-top-right-radius:7px;
}
.afd_option{
    float:left;
    width:33%;
    margin-top:8px;
    font-size:14px;
}
.afd_progress{
    background:grey;
    margin-left:10%;
    width:80%;
    text-align:left;
    height:8px;
    border-radius:5px;
    float:left;
}
#afd_dprogress{
    width:0;
    height:100%;
    background:green;
    border-radius:5px;
}
#afd_dpercent{
    float:left;
    margin-left:2px;
    font-size:8px;
}
