@charset "utf-8";

/* ==========================

Description: Common styles for the SP ver.
Author: unknown
Modified: 2016/12/12
Modified by: ts-alex.tanabe@rakuten.com

============================ */

body,div,pre,p,ul,li,h1,h2,h3,h4,h5,h6,dl,dt,dd,blockquote,form,fieldset,table,th,td {
    margin: 0;
    padding: 0;
}
body {
    background: #FFFFFF;
    -webkit-text-size-adjust:none;
    font-family: helvetica,arial,sans-serif;
}

article {
    margin: 0;
}
a {
    display: inline-block;
    padding: 2px;
}
img {
    margin: 0;
    padding: 0;
    border: none;
}
* {
    -webkit-tap-highlight-color:rgba(0,0,0,0);
}
body * {
    -webkit-tap-highlight-color: rgba(50, 50, 50, 0.3);
}
body a {
    text-decoration: none;
}
table,th,td {
    text-align: left;
}
ul,ol {
    margin: 0;
    padding: 0;
    list-style: none outside;
}

input, select, textarea {
    font-size: 16px;
}


p.noJavascript {
    margin-bottom: 5px;
    padding: 3px;
    border: 2px solid #BF0000;
    background: #FFEFEF;
}

/* wrapper */
div#container {
    background: #ffffff;
}


#serviceOwn {
    width: 98%;
    height: 200px;
    border: 3px solid #0099cc;
    background: #ffffcc;
}


#header {
    display: table;
    width: 100%;
    position:relative;
    left:0;
    top:0;
    z-index:1050;
    background:#fff;
}

#header a {
    padding: 0;
    text-decoration: none;
}

#serviceMenuButton {
    display: table-cell;
    vertical-align: middle;
    width: 17%;
    border-right: 1px solid #cccccc;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
}


/* modified part */
#serviceMenuButton a {
    display: block;
    padding: 9px 0;
    color: #aaaaaa;
    font-size: 24px;
    text-align: center;
}

/* modified part */
#serviceMenuButton a span {
    display: block;
    font-size: 10px;
    color: #333;
    margin-top: 5px;
    font-family: initial;
}

#serviceLogo {
    display: table-cell;
    vertical-align: middle;
    width: 45%;
    padding-left: 10px;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
}

#serviceLogo a {
    float: left;
}

#serviceLogo a img {
    float: left;
}

#headerMenu {
    display: table-cell;
    vertical-align: middle;
    width: 38%;
}

#headerMenu ul {
    display: table;
    margin-left: auto;
}

#headerMenu li {
    display: table-cell;
    padding-right: 17px;
}

#headerMenu li.search {
    display: none;
}

#headerMenu li.cart {
    padding-right: 19px;
}

#headerMenu li.member {
    display: none;
}

#headerMenu li a {
    float: left;
}

.top #headerMenu li.member {
    text-align: center;
}

/* modified part */
.top #headerMenu li.member a:after {
    content: 'Myページ';
    display: block;
    color: #333;
    font-size: 10px;
    font-family: helvetica,arial,sans-serif;
    margin-top: 4px;
}

#headerMenu li:last-child {
    padding-right: 7px;
}

#headerMenu a:before {
    display: block;
    color: #bf0000;
    font-size: 21px;
}

#headerMenu a span {
    display: none;
}


#memberAnnounce {
    width: 100%;
    overflow: hidden;
    border-top: 1px solid #cccccc;
    padding: 0 5px;
    background: #eeeeee;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

#memberAnnounce > div {
    display: none;
    color: #333333;
}

#memberAnnounce .memberName,
#memberAnnounce .memberLogin {
    float: left;
    text-align: left;
}

#memberAnnounce .memberEntry,
#memberAnnounce .memberPoint {
    float: right;
    text-align: right;
}

#memberAnnounce a {
    display: inline-block;
    padding: 5px 0;
    font-size: 14px;
}

#memberAnnounce .memberName,
#memberAnnounce .memberPoint {
    padding: 5px 0;
    font-size: 14px;
}

#memberAnnounce .memberName span,
#memberAnnounce .memberPoint span {
    padding: 0 0.5em;
}

#memberAnnounce a .icon {
    color: #bf0000;
    font-size: 24px;
}

#memberAnnounce .memberLogin a,
#memberAnnounce .memberEntry a {
    text-decoration: none;
}

#memberAnnounce .memberLogin a span,
#memberAnnounce .memberEntry a span {
    vertical-align: middle;
}

#memberAnnounce .memberLogin a .icon {
    padding-right: 7px;
}

#memberAnnounce .memberEntry a .icon {
    padding-right: 5px;
}



/* searchArea */

div#search {
    z-index: 4000;
    display: block;
    overflow: hidden;
    padding: 6px;
    background: #bf0000;
}

div#search p {
    margin-bottom: 5px;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: bold;
}

div#search div#searchInput span.delval {
    position: absolute;
    width: 26px;
    height: 26px;
    top: 2px;
    background: url(//image.books.rakuten.co.jp/books/img/common/smart/ipn-delval.png) no-repeat 50% 50%;
    cursor: pointer;
}

div#search div#searchSelect {
    width: 100%;
}

div#search div#searchSelect div select {
    width: 100%;
    font-size: 16px;
    margin-bottom: 5px;
}

div#search form {
    display: block;
    overflow: hidden;
}
div#search form div.inputWrap {
    position: relative;
    float: left;
    width: 76%;
    margin: 0;
}
div#search form div.sggstInputWrap {
    position: relative;
    padding: 0 36px;
    background: #ffffff;
}
div#search form div.sggstInputWrap .iconSearchWords:before {
    position: absolute;
    top: 13px;
    left: 8px;
    color: #888888;
    font-size: 20px;
}
div#search form div.sggstInputWrap input {
    display: block;
    width: 100%;
    height: 45px;
    margin: 0;
    padding: 13px 0;
    border: none;
    -webkit-border-radius: 0;
    border-radius: 0;
    background: #ffffff;
    font-size: 16px;
    -webkit-box-shadow: none;
    box-shadow: none;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -webkit-appearance: none;
}
div#search div.sggstInputWrap span.delval {
    position: absolute;
    width: 36px;
    height: 26px;
    top: 0;
    right: 0;
}
div#search div.sggstInputWrap span.delval.hide {
    display: none !important;
}
div#search div.sggstInputWrap span.delval:before,
div#search div.sggstInputWrap span.delval:after {
    content: "";
    position: absolute;
    top: 5px;
    left: 14px;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid #888888;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
div#search div.sggstInputWrap span.delval:after {
    left: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
div#search div#nowordLine {
    color: #ffffff;
    font-size: 12px;
}
div#search div#searchBtn {
    float: right;
    width: 22%;
    margin: 0;
    text-align: right;
}
div#search div#searchBtn input {
    width: 100%;
    height: 45px;
    border: none;
    padding: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    color: #333333;
    background: #ececec;
    font-size: 20px;
    font-weight: normal;
    -webkit-appearance: none;
}
div#search div#searchBtn input.click {
    color: #ffffff;
    background: #757575;
}
div#search form div#searchInput {
    clear: both;
    width: 100% !important;
    z-index: 5000;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -webkit-touch-callout:none;
    -webkit-text-size-adjust:none;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
    -webkit-user-select:none;
}
div#search .historyList {
    display: none;
    -webkit-touch-callout:none;
    -webkit-text-size-adjust:none;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
    -webkit-user-select:none;
}
div#search form div#suggest {
    width: 100% !important;
    padding-top: 5px;
    border: none;
    background: none;
}
div#search div#searchSelect {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 100% !important;
    margin: 0 0 2px;
}
div#search .sggstKeyword {
    width: 100% !important;
    color: #000000;
    background: #ffffff;
}
div#search .sggstKeyword.click {
    color: #ffffff;
    background: #757575;
}
div#search div#searchSelect div {
    margin: 0;
}
div#search div#searchSelect div select {
    width: 100%;
    font-size: 16px;
}
/*suggest*/
div#search div#suggest {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    overflow: hidden;
    border: none;
    border-left: 1px solid #999999;
    border-right: 1px solid #999999;
}
div#search div#suggest .sggstKeyword {
    border: none;
    border-bottom: 1px solid #999999;
}

div#search div#suggest .sggstKeyword:hover {
    background: #c1c1c1;
}

#searchHistory {
    -webkit-touch-callout:none;
    -webkit-text-size-adjust:none;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
    -webkit-user-select:none;
}

#searchHistory ul {
    padding-top: 5px;
    color: #333333;
    font-size: 15px;
    -webkit-touch-callout:none;
    -webkit-text-size-adjust:none;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
    -webkit-user-select:none;
}

#searchHistory li {
    display: table;
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid #999999;
    background: #ffffff;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    table-layout: fixed;
    -webkit-touch-callout:none;
    -webkit-text-size-adjust:none;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
    -webkit-user-select:none;
}

#searchHistory li .show {
    position: relative;
    display: table-cell;
    width: 90%;
    padding: 10px 10px 10px 30px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -webkit-touch-callout:none;
    -webkit-text-size-adjust:none;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
    -webkit-user-select:none;
}

#searchHistory li .icon {
    color: #666666;
    -webkit-touch-callout:none;
    -webkit-text-size-adjust:none;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
    -webkit-user-select:none;
}

#searchHistory li .show .icon {
    position: absolute;
    left: 10px;
    margin-top: 2px;
    font-size: 12px;
    -webkit-touch-callout:none;
    -webkit-text-size-adjust:none;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
    -webkit-user-select:none;
}

#searchHistory li .show .txt {
    position: relative;
    display: block;
    -webkit-touch-callout:none;
    -webkit-text-size-adjust:none;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
    -webkit-user-select:none;
}

#searchHistory li .show .txt span {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-touch-callout:none;
    -webkit-text-size-adjust:none;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
    -webkit-user-select:none;
}

#searchHistory li .insert {
    display: table-cell;
    vertical-align: middle;
    width: 10%;
    text-align: center;
    -webkit-touch-callout:none;
    -webkit-text-size-adjust:none;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
    -webkit-user-select:none;
}

#searchHistory li .insert .icon {
    font-size: 12px;
    -webkit-touch-callout:none;
    -webkit-text-size-adjust:none;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
    -webkit-user-select:none;
}

#searchHistory .delete {
    padding: 5px;
    background: #ffffff;
    -webkit-touch-callout:none;
    -webkit-text-size-adjust:none;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
    -webkit-user-select:none;
}

#searchHistory .delete span {
    display: block;
    padding: 9px;
    border: 1px solid #cccccc;
    background: #ececec;
    text-align: center;
    -webkit-touch-callout:none;
    -webkit-text-size-adjust:none;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
    -webkit-user-select:none;
}

/* toolBox */

ul.toolBox {
    display: table;
    width: 100%;
    margin-bottom: 5px;
}
div#headerArea ul.toolBox {
    border-bottom: 2px solid #bf0000;
}
ul.toolBox.footerArea {
    display: table;
    position: relative;
    border-top: 2px solid #bf0000;
    -webkit-box-shadow: 0 1px 2px 1px #cdcdcd;
    box-shadow: 0 1px 2px 1px #cdcdcd;
}
ul.toolBox li{
    display: table-cell;
    width: 20%;
    border-right: 1px solid #dedede;
    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#f2f2f2));
    font-size: 10px;
    text-align: center;
}
ul.toolBox li:last-child {
    border: none;
}
ul.toolBox li a {
    padding: 5px 0;
    display: block;
    color: #666666;
    text-decoration: none;
}
ul.toolBox li a:before {
    display: block;
    width: 32px;
    height: 29px;
    margin: 0 auto 2px;
    background: url(//image.books.rakuten.co.jp/books/img/common/smart/icon_tools.png) no-repeat 0 0;
    background-size: 32px 145px;
    -webkit-background-size: 32px 145px;
    content: "";
}
ul.toolBox li.tool2 a:before {
    background: url(//image.books.rakuten.co.jp/books/img/common/smart/icon_tools.png) no-repeat 0 -29px;
}
ul.toolBox li.tool3 a:before {
    background: url(//image.books.rakuten.co.jp/books/img/common/smart/icon_tools.png) no-repeat 0 -58px;
}
ul.toolBox li.tool4 a:before {
    background: url(//image.books.rakuten.co.jp/books/img/common/smart/icon_tools.png) no-repeat 0 -87px;
}
ul.toolBox li.tool5 a:before {
    background: url(//image.books.rakuten.co.jp/books/img/common/smart/icon_tools.png) no-repeat 0 -116px;
}


div#contents {
    margin-bottom: 5px;
}

/* memberWindow */
div#memberDetail {
    position: absolute;
    visibility: hidden;
    top: 0;
    width: 100%;
    height: 100%;
    background: #f2f2f2;
    z-index: 99999;
}
div#memberDetail div.detailMenu {
    position: relative;
    padding: 9px 5px;
    border-bottom: 2px solid #bf0000;
    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#dfdfdf));
    text-align: center;
    font-size: 12px;
    font-weight: bold;
}
div#memberDetail div.detailMenu ul#menuTab {
    display: inline-block;
    vertical-align: top;
    border: 1px solid #9f9f9f;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px #ffffff;
    box-shadow: 0 1px 1px #ffffff;
}
div#memberDetail div.detailMenu ul#menuTab li {
    display: inline-block;
    width: 98px;
    vertical-align: top;
    padding: 6px 0;
    border-right: 1px solid #9f9f9f;
    text-align: center;
}
div#memberDetail div.detailMenu ul#menuTab li:last-child {
    border: none;
}
div#memberDetail div.detailMenu ul#menuTab li.open {
    background: #dcdcdc;
    text-shadow: 1px 1px 0 #ffffff;
    -webkit-box-shadow: 0 0 3px 0 #b2b2b2 inset;
    box-shadow: 0 0 3px 0 #b2b2b2 inset;
}
div#memberDetail div.detailMenu div.close {
    display: inline-block;
    position: absolute;
    right: 5px;
    top: 8px;
    width: 48px;
    margin-left: 5px;
    padding: 6px 0;
    color: #ffffff;
    border: 1px solid #8b5051;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    background: -webkit-gradient(linear, left top, left bottom, from(#fd8990), color-stop(0.49, #eb3c3c), color-stop(0.5, #dd0000), to(#eb0f0f));
    -webkit-box-shadow: 0px 1px 1px #ffffff;
    box-shadow: 0px 1px 1px #ffffff;
    text-align: center;
    text-shadow: -1px -1px 0 #a82222;
}

/* ------------------------------------------
    Service info
------------------------------------------ */

ul#serviceMenu {
    margin-bottom: 5px;
    border: solid 1px #BEBEBE;
}

ul#serviceMenu li {
    border-bottom: solid 1px #BEBEBE;
    vertical-align: middle;
}

ul#serviceMenu li:last-child {
    border: none;
}

ul#serviceMenu li a {
    display: block;
    padding: 9px;
    color: #000000;
    background: url(//image.books.rakuten.co.jp/books/img/common/smart/ipn-chevron.png) no-repeat right center;
    text-decoration: none;
    vertical-align: middle;
}

ul#serviceMenu li a img {
    vertical-align: middle;
}

ul#groupMenu {
    margin-bottom: 5px;
    border: solid 1px #BEBEBE;
}

ul#groupMenu li {
    border-bottom: solid 1px #BEBEBE;
}

ul#groupMenu li:last-child {
    border: none;
}

ul#groupMenu li a {
    display: block;
    padding: 9px;
    color: #BF0000;
    background: url(//image.books.rakuten.co.jp/books/img/common/smart/ipn-chevron-red.png) no-repeat right center;
    text-decoration: none;
    font-weight: bold;
}

div#memberDetail div#serviceInfo {
    display: none;
    overflow: hidden;
    margin: 15px 5px 0;
    line-height: 1;
}
div#serviceInfo p.serveciListTTL {
    padding: 3px 4px 8px;
    color: #bf0000;
    font-size: 15px;
    font-weight: bold;
}
div#serviceInfo ul.serviceList,
div#serviceInfo ul.serviceListLong {
    margin-bottom: 10px;
    border: 1px solid #a0a0a0;
}
div#memberDetail div#serviceInfo .combine {
    margin-bottom: 0;
    border-bottom: none;
}
div#serviceInfo ul.serviceList li,
div#serviceInfo ul.serviceListLong li {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    display: inline-block;
    position: relative;
    width: 50%;
    height: 46px;
    vertical-align: top;
    overflow: hidden;
    border-bottom: 1px solid #d5d5d5;
    border-right: 1px solid #d5d5d5;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffffff), to(#ececec));
}
div#serviceInfo ul.serviceListLong li {
    width: 100%;
    line-height: 1;
    border-right: none;
}

div#serviceInfo ul.serviceList li:nth-child(even) {
    border-right: none;
}
div#serviceInfo ul.serviceList li:last-child,
div#serviceInfo ul.serviceList li:nth-last-of-type(2),
div#serviceInfo ul.serviceListLong li:last-child {
    border-bottom: none;
}

div#serviceInfo ul.serviceList li a,
div#serviceInfo ul.serviceListLong li a {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    display: block;
    width: 100%;
    height: 100%;
    line-height: 1;
    padding: 16px 20px 16px 10px;
    color: #333333;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

div#serviceInfo ul.serviceList li:before,
div#serviceInfo ul.serviceListLong li:before {
    position: absolute;
    width: 14px;
    height: 15px;
    margin: 15px 0 0 90%;
    background: url(//image.books.rakuten.co.jp/books/img/common/smart/icon_common.png) no-repeat 0 -45px;
    background-size: 14px 60px;
    -webkit-background-size: 14px 60px;
    content: "";
}
div#serviceInfo ul.serviceListLong li:before {
    margin: 15px 0 0 95%;
}


div#statusInfo {
    display: block;
    margin: 0 5px;
}
div#statusInfo div.personal {
    display: table;
    width: 100%;
    margin: 10px 0;
    text-align: right;
}
div#statusInfo div#welcome,
div#statusInfo div#nickname {
    display: table-cell;
    vertical-align: middle;
    padding-left: 5px;
    font-size: 14px;
    text-align: left;
}
div#statusInfo div#welcome span.userName a {
    max-width: 105px;
    overflow: hidden;
    color: #bf0000;
    margin-right: 5px;
    font-weight: bold;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: right;
}
div#statusInfo div#nickname span.userName a {
    color: #0000ff;
    margin-right: 5px;
    font-weight: bold;
}
div#statusInfo div.mypage {
    display:inline-block;
    text-align: right;
}
div#statusInfo div.personal div.mypage {
    margin-right: 6px;
}
div#statusInfo div#point div.mypage {
    margin-right: 0;
}
div#statusInfo div.mypage a {
    display: inline-block;
    position: relative;
    vertical-align: top;
    padding: 6px 25px;
    border: 1px solid #9C9C9C;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    color: #333333;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffffff), color-stop(0.49, #ffffff), color-stop(0.5, #efeef3), to(#efeef3));
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}
div#statusInfo div.logoutBtn {
    display: inline-block;
    width: 100%;
    margin: 15px 0;
    text-align: center;
}
div#statusInfo div.logoutBtn a {
    display: inline-block;
    padding: 6px 40px;
    border: 1px solid #9C9C9C;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    color: #333333;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffffff), to(#e0e0e0));
    box-shadow: 0 1px 3px 0 #d8ddde;
    -webkit-box-shadow: 0 1px 3px 0 #d8ddde;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}
div#statusInfo div#point {
    clear: both;
    margin-top: 3px;
    padding: 12px 5px 2px;
    font-size: 14px;
    box-shadow: 0 0 1px 1px #ffffff inset;
    -webkit-box-shadow: 0px 0px 1px 1px #ffffff inset;
}
div#statusInfo dl {
    color: #333333;
    padding: 0 0 10px 8px;
}
div#statusInfo div#point .title {
    display: table;
    width: 100%;
    vertical-align: middle;
    overflow: hidden;
    padding: 0 0 10px;
    margin-bottom: 10px;
    border-bottom: 1px dotted #b1afb8;
}
div#statusInfo div#point h1 {
    display: table-cell;
    vertical-align: middle;
    padding-left: 8px;
    color: #00124d;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
}
div#statusInfo div#point .title .mypage {
    display: table-cell;
    float: right;

}
div#statusInfo div#point dl.memberRank dt {
    position: relative;
    margin-bottom: 10px;
    padding: 2px 0 0 35px;
    font-size: 12px;
}
div#statusInfo div#point dl.memberRank dt:before {
    display: block;
    position: absolute;
    width: 23px;
    height: 30px;
    margin: -3px 0 0 -35px;
    background-size: 23px 120px;
    -webkit-background-size: 23px 120px;
    content: "";
}
div#statusInfo div#point dl.memberRank dt a {
    font-weight: bold;
    font-size: 16px;
}
div#statusInfo div#point dl.memberRank dd em {
    margin-left: 5px;
    font-style: normal;
}
div#statusInfo div#point dl.memberRank dd em span {
    font-weight: bold;
}
div#statusInfo div#point dl.memberRank dd.all {
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 16px;
}
div#statusInfo div#point dl.memberRank dd.all em {
    color: #bf0000;
    font-weight: normal;
    font-size: 14px;
}
div#statusInfo div#point dl.memberRank dd.all em span {
    font-size: 16px;
    font-weight: bold;
}
div#statusInfo div#point dl.memberRank dd.rimited {
    line-height: 1.5;
    padding-left: 15px;
    background: url(//jp.rakuten-static.com/1/im/smp/prt/parts_kagi_middle.gif) no-repeat 0 50%;
}
div#statusInfo div#point dl.memberRank dd.rimited em {
    color: #bf0000;
}
div#statusInfo div#point dl.memberRank dd.cash {
    line-height: 1.5;
    padding-left: 15px;
    background: url(//jp.rakuten-static.com/1/im/smp/prt/parts_kagi_bottom.gif) no-repeat 0 50%;
}
div#statusInfo div#point dl.memberRank dd.cash em {
    color: #0f218b;
}

div#statusInfo .itemBox {
    margin-bottom: 10px;
}

div#statusInfo  div#loginInfo {
    clear: both;
    margin-top: 15px;
    padding: 12px 5px 2px;
    border: 2px solid #bbbbbb;
    color: #333333;
    background: #ffffff;
    font-size: 14px;
    box-shadow: 0 0 1px 1px #ffffff inset;
    -webkit-box-shadow: 0px 0px 1px 1px #ffffff inset;
}
div#statusInfo div#loginInfo .itemBox {
    padding: 0 0 10px 8px;
    border-bottom: 1px dotted #b1afb8;
}
div#statusInfo  div#loginInfo div.login a,
div#statusInfo  div#loginInfo div.beginner a {
    position: relative;
    padding:  0 0 0 25px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}
div#statusInfo  div#loginInfo div.login a:before,
div#statusInfo  div#loginInfo div.beginner a:before {
    display: block;
    position: absolute;
    width: 14px;
    height: 15px;
    margin: 2px 0 0 -20px;
    background-size: 14px 60px;
    -webkit-background-size: 14px 60px;
    content:"・";
}
div#statusInfo  div#loginInfo div.login a:before {
    background: url(//image.books.rakuten.co.jp/books/img/common/smart/icon_common.png) no-repeat 0 0;
}

div#statusInfo  div#loginInfo div.beginner a:before {
    background: url(//image.books.rakuten.co.jp/books/img/common/smart/icon_common.png) no-repeat 0 -15px;
}

div#statusInfo  div#loginInfo p.lead,
div#statusInfo  div#loginInfo ul.cpnInfo {
    line-height: 1.5;
    font-size: 12px;
}
div#statusInfo  div#loginInfo ul.cpnInfo li:before {
    color: #0000ff;
    content:"・"
}


div#statusInfo div.diamond {
    border: 2px solid #aa9bcb;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#aa96e2), color-stop(0.15, #f9f2ff), to(#f9f2ff));
}
div#statusInfo div.diamond .itemBox {
    border-bottom: 1px dotted #665555;
}
div#statusInfo div.diamond dt:before {
    background: url(//image.books.rakuten.co.jp/books/img/common/smart/wappen_icon.png) no-repeat 0 -90px;
}
div#statusInfo div.diamond dt a {
    color: #665555;
}

div#statusInfo div.premium {
    border: 2px solid #98cee6;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#b2e1f6), color-stop(0.15, #f0f9fe), to(#f0f9fe));
}
div#statusInfo div.premium .itemBox {
    border-bottom: 1px dotted #98cee6;
}
div#statusInfo div.premium dt:before {
    background: url(//image.books.rakuten.co.jp/books/img/common/smart/wappen_icon.png) no-repeat 0 -60px;
}
div#statusInfo div.premium dt a {
    color: #0099cc;
}

div#statusInfo div.gold {
    border: 2px solid #cc9900;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#e3c66d), color-stop(0.15, #fffcdf), to(#fffcdf));
}
div#statusInfo div.gold .itemBox {
    border-bottom: 1px dotted #e6d197;
}
div#statusInfo  div.gold dt:before {
    background: url(//image.books.rakuten.co.jp/books/img/common/smart/wappen_icon.png) no-repeat 0 -30px;
}
div#statusInfo div.gold dt a {
    color: #996600;
}

div#statusInfo div.silver {
    border: 2px solid #999999;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#b9b9b9), color-stop(0.15, #f0f0f0), to(#f0f0f0));
}
div#statusInfo div.silver .itemBox {
    border-bottom: 1px dotted #b1afb8;
}
div#statusInfo div.silver dt:before {
    background: url(//image.books.rakuten.co.jp/books/img/common/smart/wappen_icon.png) no-repeat 0 0;
}
div#statusInfo div.silver dt a {
    color: #565656;
}

div#statusInfo div.normal {
    border: 2px solid #bbbbbb;
    background: #ffffff;
}
div#statusInfo div.normal .itemBox {
    border-bottom: 1px dotted #b1afb8;
}
div#statusInfo div#personalize div.normal dt {
    padding-left: 0;
}
div#statusInfo div#personalize div.normal dt:before {
    display: none;
}
div#statusInfo div.normal dt a {
    color: #1d54a7;
}

div#statusInfo div#point dl.rankInfo {
    line-height: 1.5;
}
div#statusInfo div#point dl.rankInfo em {
    color: #bf0000;
    font-style: normal;
}

div#statusInfo dl.pointCpn {
    overflow: hidden;
    padding-bottom: 5px;
    font-size: 14px;
}
div#statusInfo dl.pointCpn dt {
    display: inline-block;
    line-height: 1.15;
    width: 49%;
    font-weight: bold;
    text-align: left;
}

div#statusInfo dl.pointCpn dd {
    float: right;
    width: 49%;
    vertical-align: top;
    text-align: right;
}
div#statusInfo div.pointClub a {
    display: inline-block;
    position: relative;
    vertical-align: top;
    padding: 6px 18px 6px 18px;
    border: 1px solid #9C9C9C;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    color: #333333;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffffff), color-stop(0.49, #ffffff), color-stop(0.5, #efeef3), to(#efeef3));
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

div#statusInfo div.memberCoupons {
    min-height: 35px;
    padding: 0 10px 10px 10px;
}
div#statusInfo div.memberCoupons > a,
div#statusInfo div.memberCoupons > span {
    display: block;
    line-height: 35px;
    padding: 0 0 0 45px;
    color: #565656;
    font-weight: bold;
    background-repeat: no-repeat;
    background-position: 10px 50%;
    background-size: 24px auto;
    background-image: url(//image.books.rakuten.co.jp/books/img/common/smart/gnav_coupon.png);
    border: 1px solid #999;
}
div#statusInfo div.memberCoupons em {
    margin: 0 5px;
    color: #bf0000;
    font-size: 130%;
    font-style: normal;
}

div#memberDetail div#serviceInfo {
    display: none;
    overflow: hidden;
    margin: 15px 5px 0;
}
div#serviceInfo ul.serviceList,
div#serviceInfo ul.serviceListLong {
    margin-bottom: 10px;
    border: 1px solid #a0a0a0;
}
div#serviceInfo ul.serviceList li,
div#serviceInfo ul.serviceListLong li {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    display: inline-block;
    position: relative;
    width: 50%;
    height: 46px;
    vertical-align: top;
    overflow: hidden;
    border-bottom: 1px solid #d5d5d5;
    border-right: 1px solid #d5d5d5;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffffff), to(#ececec));
}
div#serviceInfo ul.serviceListLong li {
    width: 100%;
    line-height: 1;
    border-right: none;
}

div#serviceInfo ul.serviceList li:nth-child(even) {
    border-right: none;
}
div#serviceInfo ul.serviceList li:last-child,
div#serviceInfo ul.serviceList li:nth-last-of-type(2),
div#serviceInfo ul.serviceListLong li:last-child {
    border-bottom: none;
}

div#serviceInfo ul.serviceList li a,
div#serviceInfo ul.serviceListLong li a {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    display: block;
    width: 100%;
    height: 100%;
    line-height: 1;
    padding: 16px 20px 16px 10px;
    color: #333333;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

div#serviceInfo ul.serviceList li:before,
div#serviceInfo ul.serviceListLong li:before {
    position: absolute;
    width: 14px;
    height: 15px;
    margin: 15px 0 0 90%;
    background: url(//image.books.rakuten.co.jp/books/img/common/smart/icon_common.png) no-repeat 0 -45px;
    background-size: 14px 60px;
    -webkit-background-size: 14px 60px;
    content: "";
}
div#serviceInfo ul.serviceListLong li:before {
    margin: 15px 0 0 95%;
}


div#footer {
    padding-top: 5px;
    border-top: 2px solid #808080;
    font-size: 14px;
}
div#footer ul {
    text-align: center;
}
div#footer ul li {
    display: inline-block;
}
div#footer ul li:last-child {
}
div#footer ul li a {
    display: inline-block;
    padding: 5px;
    text-decoration: none;
}


div#device {
    margin-bottom: 5px;
    font-size: 14px;
    text-align: center;
}
div#device dt {
    display: inline;
}
div#device dt:after {
    content: " ：";
}
div#device dd {
    display: inline;
    padding-right: 6px;
    border-right: 1px solid #333333;
}
div#device dd:last-child {
    border: none;
}
div#device dd a {
    padding: 6px;
    font-weight: bold;
    text-decoration: none;
}



/* copyright */

div#copyright {
    margin-bottom: 5px;
    color: #666666;
    text-align: center;
    font-size: 12px;
}


div#fcb_logo {
    text-align: center;
}


/* icon
---------------------------- */

@font-face {
    font-family: 'rb-iconfont';
    src: url('//image.books.rakuten.co.jp/books/img/common/fonts/rb-iconfont.eot?8yujar');
    src: url('//image.books.rakuten.co.jp/books/img/common/fonts/rb-iconfont.eot?8yujar#iefix') format('embedded-opentype'),
    url('//image.books.rakuten.co.jp/books/img/common/fonts/rb-iconfont.ttf?8yujar') format('truetype'),
    url('//image.books.rakuten.co.jp/books/img/common/fonts/rb-iconfont.woff?8yujar') format('woff'),
    url('//image.books.rakuten.co.jp/books/img/common/fonts/rb-iconfont.svg?8yujar#rb-iconfont') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'rb-iconfont' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-purchase-history:before {
  content: "\e925";
}
.icon-receipt:before {
  content: "\e926";
}
.icon-sync:before {
  content: "\e922";
}
.icon-trash:before {
  content: "\e923";
}
.icon-unsync:before {
  content: "\e924";
}
.icon-new-window:before {
  content: "\e920";
}
.icon-bell:before {
  content: "\e921";
}
.icon-coupon:before {
  content: "\e91f";
}
.icon-mail-dark:before {
  content: "\e91c";
}
.icon-library:before {
  content: "\e91d";
}
.icon-warning-round:before {
  content: "\e91e";
}
.icon-truck:before {
  content: "\e91b";
}
.icon-point-up:before {
  content: "\e91a";
}
.icon-magazine:before {
  content: "\e914";
}
.icon-book-new:before {
  content: "\e912";
}
.icon-ebook:before {
  content: "\e913";
}
.icon-game:before {
  content: "\e915";
}
.icon-foreign-book:before {
  content: "\e916";
}
.icon-cd:before {
  content: "\e917";
}
.icon-dvd:before {
  content: "\e918";
}
.icon-pc:before {
  content: "\e919";
}
.icon-caution:before {
  content: "\e90f";
}
.icon-mail:before {
  content: "\e910";
}
.icon-series:before {
  content: "\e911";
}
.icon-star-empty:before {
  content: "\e901";
}
.icon-star-fill:before {
  content: "\e902";
}
.icon-review-00:before {
  content: "\e903";
}
.icon-review-50:before {
  content: "\e904";
}
.icon-review-45:before {
  content: "\e905";
}
.icon-review-40:before {
  content: "\e906";
}
.icon-review-35:before {
  content: "\e907";
}
.icon-review-30:before {
  content: "\e908";
}
.icon-review-25:before {
  content: "\e909";
}
.icon-review-20:before {
  content: "\e90a";
}
.icon-review-15:before {
  content: "\e90b";
}
.icon-review-10:before {
  content: "\e90c";
}
.icon-review-05:before {
  content: "\e90d";
}
.icon-review-empty:before {
  content: "\e90e";
}
.icon-ranking:before {
  content: "\e900";
}
.icon-check-mini:before {
  content: "\e804";
}
.icon-twitter:before {
  content: "\e805";
}
.icon-arrow-down-mini:before {
  content: "\e806";
}
.icon-arrow-up-mini:before {
  content: "\e807";
}
.icon-arrow-previous-mini:before {
  content: "\e808";
}
.icon-arrow-next-mini:before {
  content: "\e809";
}
.icon-hatena:before {
  content: "\e80a";
}
.icon-line:before {
  content: "\e80b";
}
.icon-rakuten:before {
  content: "\e80c";
}
.icon-facebook:before {
  content: "\e80e";
}
.icon-google-plus:before {
  content: "\e80f";
}
.icon-pinterest:before {
  content: "\e810";
}
.icon-apple:before {
  content: "\e811";
}
.icon-windows:before {
  content: "\e812";
}
.icon-andriod:before {
  content: "\e813";
}
.icon-rss:before {
  content: "\e814";
}
.icon-minus:before {
  content: "\e815";
}
.icon-plus:before {
  content: "\e816";
}
.icon-search-new:before {
  content: "\e817";
}
.icon-close-new:before {
  content: "\e818";
}
.icon-arrow-down-s:before {
  content: "\e800";
}
.icon-arrow-next:before {
  content: "\e801";
}
.icon-arrow-previous:before {
  content: "\e802";
}
.icon-arrow-up-s:before {
  content: "\e803";
}
.icon-arrow-down:before {
  content: "\e613";
}
.icon-arrow-up:before {
  content: "\e614";
}
.icon-campagin_mini:before {
  content: "\e615";
}
.icon-cross-s:before {
  content: "\e619";
}
.icon-data:before {
  content: "\e61a";
}
.icon-file:before {
  content: "\e61b";
}
.icon-speaker:before {
  content: "\e61c";
}
.icon-tag_mini:before {
  content: "\e61d";
}
.icon-tag:before {
  content: "\e61e";
}
.icon-triangle-down:before {
  content: "\e61f";
}
.icon-triangle-left:before {
  content: "\e620";
}
.icon-triangle-right:before {
  content: "\e621";
}
.icon-triangle-up:before {
  content: "\e622";
}
.icon-info:before {
  content: "\e616";
}
.icon-cross:before {
  content: "\e617";
}
.icon-record:before {
  content: "\e618";
}
.icon-add-cart:before {
  content: "\e608";
}
.icon-add-library:before {
  content: "\e609";
}
.icon-book:before {
  content: "\e60e";
}
.icon-cart:before {
  content: "\e60f";
}
.icon-check:before {
  content: "\e610";
}
.icon-movie:before {
  content: "\e611";
}
.icon-music:before {
  content: "\e612";
}
.icon-menu:before {
  content: "\e60d";
}
.icon-detail:before {
  content: "\e600";
}
.icon-dummy:before {
  content: "\e601";
}
.icon-list:before {
  content: "\e602";
}
.icon-tile:before {
  content: "\e603";
}
.icon-login:before {
  content: "\e605";
}
.icon-entry:before {
  content: "\e606";
}
.icon-member:before {
  content: "\e607";
}
.icon-history:before {
  content: "\e60b";
}
.icon-insert:before {
  content: "\e60c";
}
.icon-search:before {
  content: "\e604";
}
.icon-home:before {
  content: "\e60a";
}


/* Header Menu
------------------------------------------- */

.modal {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1060;
    display:inline-block;
    background: #ffffff;
    -webkit-box-shadow: 3px 0 3px rgba(0,0,0,0.3);
    box-shadow: 3px 0 3px rgba(0,0,0,0.3);
}
.modal.noscroll {
    position: static;
}
.modal.scroll {
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch
}

.hideForSearch {
    display: none !important;
}

.backdrop {
    display:none;
    position: absolute;
    z-index: 1030;
    top: 44px;
    right: 0;
    left: 0;
    border-top: 1px solid #cccccc;
    background-color: rgba(0,0,0,0.7);
    -webkit-tap-highlight-color:rgba(0,0,0,0);
}

.genreMenuBox > li {
    position: relative;
}
.genreMenuBox li a, .otherMenuBox li a {
    position: relative;
    display: block;
    padding: 15px 20px 15px 15px;
    border-bottom: 1px solid #ababab;
    color: #333333;
    background: #ececec;
    font-size: 16px;
    text-decoration: none;
}
.genreMenuBox li a {
    display: table-cell;
    width: 170px;
    max-width: 170px;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}
#search .genreMenuBox li a {
    display: block;
    width: auto;
    max-width: none;
}
.genreMenuBox li.home a {
    padding-left: 55px;
    color: #ffffff;
    background: #bf0000;
    font-size: 14px;
}
.genreMenuBox li.home a:before {
    position: absolute;
    left: 15px;
    top: 50%;
    margin-top: -10px;
    font-size: 20px;
}
.genreMenuBox li.home a:after {
    position: absolute;
    top: 50%;
    right: 9px;
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    margin-top: -5px;
    border-left: 3px solid #ffffff;
    border-bottom: 3px solid #ffffff;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}
.genreMenuBox li.current > a {
    background: #f39818 !important;
}
.genreMenuBox .tap-area {
    position: relative;
    display: table-cell;
    background: #ffffff;
    width: 40px;
    height: 50px;
    content: "";
    border-bottom: 1px solid #ababab;
}
#search .genreMenuBox .tap-area {
    display: none;
}
.genreMenuBox .tap-area:before {
    position: absolute;
    top: 23px;
    left: 13px;
    content: "";
    display: block;
    border-top: 6px solid #ababab;
    border-left: 6px solid #ffffff;
    border-right: 6px solid #ffffff;
    border-bottom: 6px solid #ffffff;
}
.genreMenuBox .tap-area.open {
    border-bottom: none;
}
.genreMenuBox .tap-area.open:before {
    border-bottom: 6px solid #ababab;
    border-top: 6px solid #ffffff;
    margin-top: -10px;
}
.genreMenuBox .genre-level2 {
    margin-left: 40px;
}
.genreMenuBox .genre-level2 li {
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}
.genreMenuBox .genre-level2 li a {
    background: #ffffff;
}
.genreMenuBox .genre-level2 li:before {
    border: none;
}
.genreMenuBox .genre-level2 {
    display: none;
}
.genreMenuBox .genre-level2.active {
    display: block;
}
.genreMenuBox .genre-level2.active li a:after {
    position: absolute;
    top: 50%;
    right: 12px;
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    margin-top: -5px;
    border-left: 3px solid #666666;
    border-bottom: 3px solid #666666;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}
.genreMenuBox .genre-level2.active:after {
    content: "";
    position: absolute;
    width: 40px;
    height: 50px;
    border-bottom: 1px solid #ababab;
    left: 0;
    bottom: 0;
}
.otherMenuBox li.menu {
    background-color: #666666;
    color: #ffffff;
    padding: 10px 45px 10px 10px;

}

/* to display the last menu */
.otherMenuBox li.last {
    padding-bottom: 30px;
}

.no-tap-highlight {
    -webkit-tap-highlight-color:rgba(0,0,0,0);
}
.tap-background-highlight {
    background: #cccccc !important;
}


/* top page ui improvement
------------------------------------------ */

/* ebook header logo */

.genreTopHeader.ebook {
    margin: 10px 0 0 0;
    padding: 0;
    background: url(//image.books.rakuten.co.jp/books/img/common/main/sp_ttl_rakuten_kobo.png) no-repeat;
    background-position: right center;
    background-size: 130px;
    border-top: none;
}
.genreTopHeader.ebook h1 {
    padding: 6px 5px 6px 15px;
    border-left: 5px solid #bf0000;
    background: none;
    font-size: 18px;
    border-bottom: 1px solid #cfcfcf;
}

/* see-more link */

.sliderBox .box-header {
    overflow: hidden;
    border-bottom: 1px solid #999;
    margin-bottom: 10px;
}

.sliderBox .box-header > h2 {
    float: left;
    border: 0 !important;
    margin-bottom: 0 !important;
}

div#contents div.sliderBox div.sliderInner {
    padding: 0;
}
.sliderBox .box-header .see-more {
    padding: 5px 15px 0 0;
    float: right;
    font-size: 13px;
    position: relative;;
}
.sliderBox .box-header .see-more a:visited {
    color: #003399;
}
.sliderBox .box-header .see-more:after {
    position: absolute;
    top: 50%;
    right: 7px;
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    margin-top: -3px;
    border-left: 2px solid #666666;
    border-bottom: 2px solid #666666;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

/* genre page slider */

.sliderBox .imageViewer .author {
    font-size: 12px;
    color: #666666;
    text-align: left;
    line-height: 1.2;
}
.sliderBox .item-slider .prev,
.sliderBox .item-slider .next {
    bottom: 50%;
}

/* narrow down link */

.narrow-down {
    margin: 5px 5px 15px 5px;
    text-align: right;
    font-size: 12px;
    display: none;
}
.narrow-down a {
    display: inline;
}
.narrow-down a:visited {
    color: #003399;
}

/* modal genre select */
#overlay {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: none;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .6;
    z-index: 11;
}

#modal-genre-select {
    position: absolute;
    bottom: auto;
    display: none;
    width: auto;
    font-size: 16px;
    top: 10px;
    left: 10px;
    right: 10px;
}

.modal .modal-exit {
    font-weight: bold;
    border-bottom: solid 1px #919191;
}
.modal .modal-exit div {
    border-bottom: solid 1px #eaeaea;
    padding: 15px 20px;
}
.modal .modal-exit .delval {
    position: absolute;
    width: 36px;
    height: 50px;
    top: 0;
    right: 0;
}
.modal .modal-exit .delval:before, .modal .modal-exit .delval:after {
    content: "";
    position: absolute;
    top: 10px;
    left: 14px;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid #888888;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.modal .modal-exit .delval:after {
    left: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.modal .genre-list div {
    border-bottom: solid 1px #919191;
}
.modal .genre-list div.genre {
    position: relative;
}
.modal .genre-list div.genre a {
    padding: 15px 20px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}
.modal .genre-list div.genre a:after {
    position: absolute;
    top: 50%;
    right: 9px;
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    margin-top: -5px;
    border-left: 3px solid #666666;
    border-bottom: 3px solid #666666;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}
.modal .genre-list div.genre a:visited, .modal .genre-list div.genre a:link {
    color: #333333;
}


.clearfix:after {
    display: block;
    clear: both;
    height: 0;
    line-height: 0;
    visibility: hidden;
    content: ".";
    font-size: 0.1em;
}
.clearfix {
    display: inline-block;
}
* html .clearfix {
    height: 1%;
}
.clearfix {
    display: block;
}
