/* Échec de l'agrandissement. Renvoi du contenu non agrandi.
(294,24): run-time error CSS1046: Expect comma, found '26'
(294,30): run-time error CSS1046: Expect comma, found '/'
 */
body {
    background: #e3e3e3;
}

#Mycanvas {
    border: 1px solid lightgray;
    direction: ltr;
    user-select: text;
    -webkit-user-select: text;
}

.canvasCenter {
    display: flex;
    justify-content: center;
    height: 100%;
    flex-direction: column;
    position: relative;
}

.page {
    position: absolute;
    bottom: 10px;
}

#prev {
    position: absolute;
    top: 50%;
    left: 10px;
}

#next {
    position: absolute;
    top: 50%;
    right: 10px;
}

button {
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    outline: 0;
}

.arrow {
    cursor: pointer;
}

.center {
    display: flex;
    justify-content: center;
}

.left:hover polyline,
.left:focus polyline {
    stroke-width: 3;
}

.left:active polyline {
    stroke-width: 6;
    transition: all 100ms ease-in-out;
}

.right:hover polyline,
.right:focus polyline {
    stroke-width: 3;
}

.right:active polyline {
    stroke-width: 6;
    transition: all 100ms ease-in-out;
}

polyline {
    transition: all 250ms ease-in-out;
}


/* Menu */

#menuToggle {
    display: block;
    position: relative;
    left: 10px;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
}

    #menuToggle a {
        text-decoration: none;
        color: #232323;
        transition: color 0.3s ease;
    }

        #menuToggle a:hover {
          text-decoration:none!important;
        }


    #menuToggle input {
        display: block;
        width: 40px;
        height: 32px;
        position: absolute;
        top: -7px;
        left: -5px;
        cursor: pointer;
        opacity: 0;
        z-index: 2;
        -webkit-touch-callout: none;
    }


    #menuToggle .menuBar {
        display: block;
        width: 33px;
        height: 4px;
        margin-bottom: 5px;
        position: relative;
        background: #cdcdcd;
        border-radius: 3px;
        z-index: 1;
        transform-origin: 4px 0px;
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0), background 0.5s cubic-bezier(0.77,0.2,0.05,1.0), opacity 0.55s ease;
    }

        #menuToggle .menuBar:first-child {
            transform-origin: 0% 0%;
        }

        #menuToggle .menuBar:nth-last-child(2) {
            transform-origin: 0% 100%;
        }


    #menuToggle input:checked ~ .menuBar {
        opacity: 1;
        transform: rotate(45deg) translate(-2px, -1px);
        background: #232323;
    }


        #menuToggle input:checked ~ .menuBar:nth-last-child(3) {
            opacity: 0;
            transform: rotate(0deg) scale(0.2, 0.2);
        }


        #menuToggle input:checked ~ .menuBar:nth-last-child(2) {
            transform: rotate(-45deg) translate(0, -1px);
        }


#menu {
    position: fixed;
    width: 280px;
    background: white;
    height: 100%;
    margin: 0;
    left: 0;
    margin-top: 10px;
    overflow: auto;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    /* to stop flickering of text in safari */
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);

}
    #menu a:hover, #menu a.active {
        text-decoration: none;
 
        background-color: #454f63;
        /*border-bottom: 1px solid #2a2e43;*/
    }
    #menu li {
        padding: 10px 0;
        font-size: 15px;
        list-style: none;
        cursor: pointer;
    }

        #menu li .notAvailable {
            padding: 10px 0;
            font-size: 15px;
            color:grey;
            list-style: none;
            cursor: not-allowed;


        }


.menuSidebar {
    display: flex;
}

/*.col {
            flex: 1; 
        padding: 1em;
        border: solid;
}*/




#menuToggle input:checked ~ ul {
    transform: none;
}

.navigation {
    display: flex;
    width: 50px;
}

.caretTable {
    cursor: pointer;
    -webkit-user-select: none; /* Safari 3.1+ */
    -moz-user-select: none; /* Firefox 2+ */
    -ms-user-select: none; /* IE 10+ */
    user-select: none;
}



.caretTable-down::before {
    -ms-transform: rotate(90deg); /* IE 9 */
    -webkit-transform: rotate(90deg); /* Safari */
    transform: rotate(90deg);
}

.nested {
    display: none;
    padding-left: 40px;
}

.active {
    display: block;
}

.clearTop {
    margin-bottom: 50px;
}

.caretTable::before {
    content: "\25B6";
    color: gray;
    display: inline-block;
    margin-right: 6px;
}

#ParentDiv{
    top:50px;
}

.appear {
    background: white;
    margin: 0px 0px 20px 0px;
    /*opacity: 0;*/
    position: relative;
}

.loading {
    background: white;
    margin: 0px 0px 20px 0px;
    /*opacity: 0;*/
    position: relative;
    color: black;
    width: 100%;
}
.loaded {
    /*background: red;*/
    margin: 0px 0px 20px 0px;
    /*opacity: 0;*/
    position: relative;
    width: 100%;
}

span:hover {
    text-decoration: underline;
    /*color: coral;*/
}

.menuTop {
    width: 100%;
    top: 0;
    position: fixed;
    background-color: #fff;
    z-index: 1;
    font-size: 1.4em;
    display: flex;
    justify-content: space-between;
    box-shadow: rgb(26 26 26 / 20%) 0px 0px 2px;

   
}
.authortitle {
    color: rgba(0,0,0,.5);
}
.item {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.pageChange {
    display: inline-block;
    width: 50px;
    padding: 3px;
    border: 1px solid #e3e3e3;
    text-align: right;
    font-size: 14px;
    margin-right: 5px;
}

.totalPage {
    display: inline-block;
    font-size: 14px;
}




#scaleSelect {
    width: 100px !important;
    height: 28px;
    font-size: 12px;
    margin: 0;
    padding: 5px;
    border: 1px solid #e3e3e3;
    cursor: pointer;
}

    #scaleSelect option {
        cursor: pointer;
    }

.btnZoomPlus {
    width: 30px;
    height: 30px;

    margin: 0;
    padding: 1px 0 2px;
    border: none;
    font-size: 1em;
    margin-right: 15px;
    color: #534d4d;
    cursor: pointer;
}

    .btnZoomPlus:active {
        background-color: #e3e3e3;
    }

    .btnZoomPlus:hover {
        background-color: #e3e3e3;
    }

.btnZoomMoins {
    width: 30px;
    color: #534d4d;
    height: 30px;

    margin: 0;
    padding: 1px 0 2px;
    border: none;
    font-size: 1em;
  
    cursor: pointer;
}

    .btnZoomMoins:active {
        background-color: #e3e3e3;
    }

    .btnZoomMoins:hover {
        background-color: #e3e3e3;
    }

#customScale {
    display: none;
}

.chargementHaut {
    position: absolute;
    left: 30px;
    color: black;
    font-size: 15px;
    top:2px;
}
.chargementBas {
    position: absolute;
    left: 30px;
    color: black;
    font-size: 15px;
    bottom:22px;
}

.CanvasDiv {
    position : relative;
}

/* Menu */
.accordion {
    margin: auto;
    width: 250px;
}

    .accordion input {
        display: none;
    }

.box {
    position: relative;
    background: white;
    height: 64px;
    transition: all .15s ease-in-out;
}

   
header.box {
    background: #00BCD4;
    z-index: 100;
    cursor: initial;
    box-shadow: 0 -1px 0 #e5e5e5,0 0 2px -2px rgba(0,0,0,.12),0 2px 4px -4px rgba(0,0,0,.24);
}

header .box-title {
    margin: 0;
    font-weight: normal;
    font-size: 16pt;
    color: white;
    cursor: initial;
}

.box-title {
    width: calc(100% - 40px);
    height: 64px;
    line-height: 64px;
    padding: 0 20px;
    display: inline-block;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.box-content {
    width: calc(100% - 40px);
    padding: 30px 20px;
    font-size: 11pt;
    color: rgba(0,0,0,.54);
    display: none;
}

.box-close {
    position: absolute;
    height: 64px;
    width: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
    display: none;
}

input:checked + .box {
    height: auto;
    margin: 16px 0;
    box-shadow: 0 0 6px rgba(0,0,0,.16),0 6px 12px rgba(0,0,0,.32);
}

    input:checked + .box .box-title {
        border-bottom: 1px solid rgba(0,0,0,.18);
    }

    input:checked + .box .box-content,
    input:checked + .box .box-close {
        display: inline-block;
    }

.arrows section .box-title {
    padding-left: 44px;
    width: calc(100% - 64px);
}

    .arrows section .box-title:before {
        position: absolute;
        display: block;
        content: '\203a';
        font-size: 18pt;
        left: 20px;
        top: -2px;
        transition: transform .15s ease-in-out;
        color: rgba(0,0,0,.54);
    }

input:checked + section.box .box-title:before {
    transform: rotate(90deg);
}

#fullscreen {
    margin-right: 15px;
    cursor: pointer;
    display: flex;
    color: black;
    align-items: center;
}

#signet, #navbarDropdownMenuLink {
    margin-right: 15px;
    cursor: pointer;
    display: flex;
    color: black;
    align-items: center;
}

    a#signet:hover, a#navbarDropdownMenuLink:hover {
        text-decoration: none;
        color: #007bff;
    }
.svgPdf {
    margin-right: 5px;
    color: #534d4d;
}

#titreLivre {
    font-size: 14px;
    color: #606060;
    font-weight: 600;

}

#InfoDispo:hover {
    text-decoration: none;
    color: black;
}

#return:hover {
    text-decoration: none;
    color: #337ab7;
}

#signet:hover {
    text-decoration: none;
    color: #337ab7;
}

#fullscreen:hover {
    text-decoration: none;
    color: #337ab7;
}

#return {
    cursor: pointer;
    color: black;
    margin-right: 15px;
    display: flex;
    align-items: center;
}

p {
    margin: 0;
}

/* TEST */


@charset "UTF-8";

#tocView, #bookmarksView {
    overflow-x: hidden;
    overflow-y: hidden;
    width: 100%;
    height: 100%
}

    #tocView > ul,
    #bookmarksView > ul {
        /*margin-top: 15px;
        margin-bottom: 50px;
        padding-left: 20px;*/
        display: block
    }

    #bookmarksView input {
        border: none;
        border-bottom: 1px solid silver;
        margin-left: 10px;
        font-size: 1.2em;
        float: left;
        width: 95%;
        height: 40px;
        color: #000;
        text-transform: uppercase
    }

    #bookmarksView .search-icon {
        background-color: transparent;
        border: none;
        position: absolute;
        right: 0;
        width: 40px;
        height: 36px
    }

    #bookmarksView ::-moz-placeholder {
        text-transform: uppercase;
        font-size: 1.1em;
        color: silver
    }

    #bookmarksView :-ms-input-placeholder {
        text-transform: uppercase;
        font-size: 1.1em;
        color: silver
    }

    #bookmarksView :-moz-placeholder {
        font-size: 1.1em;
        color: silver
    }

    #bookmarksView .searchresultnbr {
        color: #000;
        font-weight: bold;
        font-size: .9em;
        padding-top: 10px
    }

    #bookmarksView .btnPage {
        background-color: #2a2e43;
        color: #fff;
        font-size: .7em;
        border-radius: 25px;
        width: 45px;
        display: inline-block;
        text-align: center;
        line-height: 1.6em;
        text-transform: uppercase;
        cursor: pointer
    }

    #bookmarksView a.btnPage:hover {
        text-decoration: none;
        background-color: #454f63
    }

    #bookmarksView h2 {
        font-size: 1.2em;
        border-bottom: 1px solid silver;
        padding-bottom: 10px
    }

    #bookmarksView h3 {
        text-align: right
    }

#sidebar.open #tocView,
#sidebar.open #bookmarksView {
    overflow-y: auto
}

.view {
    height: 100%;
    display: none;
    overflow-y: auto;
    padding-right: 10px
}

#sidebar {
    background-color: #fff;
    z-index: 1199;
    position: absolute;
    width: 220px;
    height: 100%;
    left: 0;
    transition: transform .5s;
    transform: translateX(-100%);
    border-right: 1px solid #ccc
}

    #sidebar.open {
        transform: translateX(70px)
    }

    #sidebar .view {
        display: none
    }

        #sidebar .view.active {
            display: block
        }

#infoView .title,
#infoView .TitleRub,
#userView .title,
#userView .TitleRub,
#bookView .title,
#bookView .TitleRub,
#paramsView .title,
#paramsView .TitleRub,
#tocView .title,
#tocView .TitleRub,
#paramsView .title,
#paramsView .TitleRub,
#bookmarksView .title,
#bookmarksView .TitleRub,
#searchInBookView .title,
#searchInBookView .TitleRub {
    font-size: 1.1em;
    color: #454f63;
    margin-top: 36px;
    margin-bottom: 55px;
    text-transform: uppercase
}

#tocView .title,
#tocView .TitleRub,
#paramsView .title,
#paramsView .TitleRub,
#bookmarksView .title,
#bookmarksView .TitleRub {
    padding-left: 25px
}

#infoView .title,
#infoView .TitleRub,
#userView .title,
#userView .TitleRub,
#bookView .title,
#bookView .TitleRub,
#paramsView .title,
#paramsView .TitleRub {
    padding-left: 0
}

#sidebar a.BtnReader {
    cursor: pointer;
    display: block;
    width: 100%;
    border: 1px solid #00f;
    text-align: center;
    padding: 10px;
    color: #00f
}

a.BtnReader:hover {
    text-decoration: none
}

#bookView {
    display: flex;
    flex-direction: column;
    padding-left: 20px
}

    #bookView .cover {
        border: 2px solid #fff;
        -webkit-box-shadow: 0 0 9px 0 rgba(0,0,0,.75);
        -moz-box-shadow: 0 0 9px 0 rgba(0,0,0,.75);
        box-shadow: 0 0 9px 0 rgba(0,0,0,.75)
    }

    #bookView h1 {
        font-size: 1.1em;
        margin-top: 20%;
        font-weight: 600
    }

    #bookView h2,
    #bookView h3 {
        font-size: 1em;
        margin-top: 5px
    }

    #bookView h3 {
        color: #aaa
    }

    #bookView > div {
        border-top: 1px solid #d3d3d3;
        margin-top: 25px;
        padding-top: 20px;
        display: flex;
        flex-direction: column
    }

        #bookView > div div {
            display: flex;
            justify-content: space-between;
            font-size: .9em
        }

            #bookView > div div label {
                font-weight: normal
            }

        #bookView > div a.buybook {
            cursor: pointer;
            display: block;
            width: 100%;
            border: 1px solid #00f;
            text-align: center;
            padding: 10px;
            color: #00f
        }

            #bookView > div a.buybook:hover {
                text-decoration: none
            }

#bookmarksView ul,
#tocView ul {
    margin: 0;
    padding: 0;
    background: #fff
}

    #bookmarksView ul li,
    #tocView ul li {
        margin: 0;
        width: 100%;
        list-style: none
    }

        #bookmarksView ul li > a,
        #tocView ul li > a {
            display: block;
            line-height: 2em;
            font-size: 1em;
            padding: 1em;
            padding-left: 14px;
            margin-bottom: 0;
            width: 100%;
            color: #000
        }

        #bookmarksView ul li.currentChapter a,
        #bookmarksView ul li a:hover,
        #tocView ul li.currentChapter a,
        #tocView ul li a:hover {
            background: #f7f7f9;
            text-decoration: none
        }

        #bookmarksView ul li a {
            display: flex;
            align-items: center;
            border-bottom: none;
            padding-bottom: 3px;
            padding-top: 3px;
            padding:0;
        }

            #bookmarksView ul li a div.bookmarklabel {
                flex: 1;
                display: flex;
                flex-direction: column
            }

                #bookmarksView ul li a div.bookmarklabel .pagenum {
                    font-size: 1.1em
                }

                #bookmarksView ul li a div.bookmarklabel .chapterName {
                    font-size: 1em
                }

            #bookmarksView ul li a span.remove {
                display: none;
                cursor: pointer
            }

            #bookmarksView ul li a:hover {
                text-decoration: none
            }

                #bookmarksView ul li a:hover span.remove {
                    display: block
                }

#bookmarksView .icon-bookmark-empty {
    margin-right: 5px;
    padding-top: 5px;
    align-self: flex-start;
    /*font-size: 1.7em*/
}

#paramsView {
    margin-left: 10%
}

    #paramsView p {
        margin-bottom: 15%
    }

    #paramsView .OptSize button {
        display: inline-block;
        border: 1px solid #acacac;
        color: #000;
        border-radius: 3px 3px 3px 3px;
        -webkit-border-radius: 3px 3px 3px 3px;
        -moz-border-radius: 3px 3px 3px 3px;
        font-family: Verdana;
        width: auto;
        height: auto;
        font-size: 16px;
        padding: 7px 15px;
        text-shadow: 0 1px 0 #fff;
        background-image: linear-gradient(to top,#eaeaea,#eaeaea);
        background-color: #eaeaea
    }

    #paramsView span.OptSizeTitle {
        position: relative;
        z-index: 1
    }

    #paramsView .OptSizeTitle span {
        background: #fff;
        padding: 0 30px;
        font-size: 1.2em;
        font-weight: 600
    }

        #paramsView .OptSizeTitle span:before,
        #paramsView .OptSizeTitle span:after {
            content: "";
            position: absolute;
            height: 5px;
            border-bottom: 1px solid #000;
            top: 5px;
            width: 20px
        }

        #paramsView .OptSizeTitle span:before {
            right: 50%;
            margin-right: 15px
        }

        #paramsView .OptSizeTitle span:after {
            left: 50%;
            margin-left: 15px
        }

    #paramsView .OptMarges button {
        width: 50px;
        height: 50px;
        background-repeat: no-repeat;
        background-position: center;
        border: none;
        display: inline-block;
        border: 1px solid #acacac;
        border-radius: 3px 3px 3px 3px;
        -webkit-border-radius: 3px 3px 3px 3px;
        -moz-border-radius: 3px 3px 3px 3px;
        margin-right: 6%;
        font-size: 15px;
        padding: 12px 16px;
        text-shadow: 0 1px 0 #fff;
        background-color: #fff
    }

        #paramsView .OptMarges button.marginG {
            background-image: url(/img/marge_G.png)
        }

        #paramsView .OptMarges button.marginM {
            background-image: url(/img/marge_M.png)
        }

        #paramsView .OptMarges button.marginS {
            background-image: url(/img/marge_S.png)
        }

    #paramsView .OptColor button {
        display: inline-block;
        border: 1px solid #acacac;
        color: #000;
        border-radius: 3px 3px 3px 3px;
        -webkit-border-radius: 3px 3px 3px 3px;
        -moz-border-radius: 3px 3px 3px 3px;
        font-family: Verdana;
        width: auto;
        height: auto;
        font-size: 15px;
        padding: 12px 16px;
        text-shadow: 0 1px 0 #fff;
        background-image: linear-gradient(to top,#eaeaea,#eaeaea);
        background-color: #eaeaea;
        margin-right: 5%
    }

        #paramsView .OptColor button.sepia {
            background-image: linear-gradient(to top,#963,#963);
            background-color: #963;
            color: #fff
        }

        #paramsView .OptColor button.revert {
            background-image: linear-gradient(to top,#000,#000);
            background-color: #000;
            color: #fff
        }

#userView {
    margin-left: 10%
}

    #userView p {
        margin-bottom: 15%
    }

#infoView {
    margin-left: 20px
}

.results {
    padding-left: 10px;
    padding-bottom: 20px;
    clear: both
}

    .results h1 {
        margin: 5px;
        font-size: 1.5em
    }

    .results h2 {
        font-size: 22px;
        color: gray
    }

    .results .result {
        clear: both;
        position: relative;
        margin-top: 10px
    }

        .results .result h3 {
            font-size: 1em;
            color: gray
        }

        .results .result .highlight {
            font-family: "searchfont";
            margin-bottom: 10px;
            padding: 5px
        }

            .results .result .highlight em {
                display: inline-block;
                background: #fff358;
                padding: 0 2px;
                font-style: normal;
                font-weight: bold
            }

            .results .result .highlight:hover {
                cursor: pointer;
                background: #f7f7f7
            }

@font-face {
    font-family: 'fontello';
    src: url("/fonts/fontello.eot?60518104");
    src: url("/fonts/fontello.eot?60518104#iefix") format("embedded-opentype"), url("/fonts/fontello.woff?60518104") format("woff"), url("/fonts/fontello.ttf?60518104") format("truetype"), url("/fonts/fontello.svg?60518104#fontello") format("svg");
    font-weight: normal;
    font-style: normal
}

[class^="icon-"]:before,
[class*=" icon-"]:before {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    font-variant: normal;
    text-transform: none
}



.icon-cancel:before {
    content: ''
}

.icon-list:before {
    content: ''
}

.icon-bookmark-empty:before {
    content: ''
}

.icon-resize-small:before {
    content: ''
}

.icon-plus:before {
    content: ''
}

.icon-minus:before {
    content: ''
}

.icon-book:before {
    content: ''
}

.icon-wallet:before {
    content: ''
}

.icon-menu:before {
    content: ''
}

.icon-lock:before {
    content: ''
}

.icon-bookmark:before {
    content: ''
}

.icon-info-circled:before {
    content: ''
}

.icon-info-circled-alt:before {
    content: ''
}

.icon-fontsize-1:before {
    content: ''
}

.icon-user-o:before {
    content: ''
}

.icon-search:before {
    content: ''
}

#metainfo {
    position: absolute;
    width: 100%;
    top: 5px;
    text-align: center
}

#titlebar {
    height: 5%;
    min-height: 20px;
    padding: 10px;
    position: relative;
    color: #4f4f4f;
    font-weight: 100;
    opacity: .7;
    text-align: center;
    z-index: 10;
    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -ms-transition: opacity .5s;
    transition: opacity .5s
}

    #titlebar a {
        color: #4f4f4f;
        overflow: hidden;
        display: inline-block;
        opacity: .7;
        padding: 4px;
        border-radius: 4px
    }

        #titlebar a:hover {
            text-decoration: none;
            opacity: .8;
            padding: 3px
        }

        #titlebar a:active {
            opacity: 1;
            color: rgba(0,0,0,.6);
            -moz-box-shadow: inset 0 0 6px rgba(155,155,155,.8);
            -webkit-box-shadow: inset 0 0 6px rgba(155,155,155,.8);
            -ms-box-shadow: inset 0 0 6px rgba(155,155,155,.8);
            box-shadow: inset 0 0 6px rgba(155,155,155,.8)
        }

        #titlebar a::before {
            visibility: visible
        }

    #titlebar:hover {
        opacity: 1
    }

#divider {
    border: 0;
    background: -webkit-linear-gradient(top,transparent,rgba(0,0,0,.5),transparent);
    background: linear-gradient(top,transparent,rgba(0,0,0,.5),transparent);
    margin: 25px 0 23px 0;
    position: absolute;
    width: 1px;
    height: 80%;
    z-index: 1;
    left: 50%;
    margin-left: -1px;
    top: 2%;
    box-shadow: -1px 0 10px rgba(0,0,0,.5);
    opacity: .5;
    display: none
}

    #divider.show {
        display: block
    }

#book-title {
    font-weight: normal;
    font-size: 1.1em;
    color: #212529;
}
#book-title:hover {
   text-decoration:none;
}

    #book-title br {
        display: none
    }

#viewer {
    max-width: 1350px;
    z-index: 2;
    position: absolute;
    overflow: hidden;
    left: 50%
}

    #viewer iframe {
        border: none
    }

#next,
#prev {
    z-index: 1000
}

#prev {
    left: 40px
}

#next {
    right: 40px
}

.arrow {
    position: absolute;
    top: 50%;
    margin-top: -32px;
    font-size: 64px;
    color: #e2e2e2;
    font-family: arial,sans-serif;
    font-weight: bold;
    cursor: pointer;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

    .arrow:hover {
        color: #777
    }

    .arrow:active {
        color: #000
    }

#loader {
    position: absolute;
    z-index: 10;
    left: 50%;
    top: 50%;
    margin-left: -64px;
    margin-top: -64px
}

#main {
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0;
    background: #fff;
    overflow: hidden;
    -moz-box-shadow: inset 0 0 50px rgba(0,0,0,.1);
    -webkit-box-shadow: inset 0 0 50px rgba(0,0,0,.1);
    -ms-box-shadow: inset 0 0 50px rgba(0,0,0,.1);
    box-shadow: inset 0 0 50px rgba(0,0,0,.1);
    -webkit-transition: .4s,width .2s;
    -moz-transition: .4s,width .2s;
    -ms-transition: .4s,width .2s;
    transition: .4s,width .2s
}

    #main.single {
        width: 75%
    }

@media only screen and (max-width:550px) {
    #titlebar {
        padding-top: 0
    }
    /*#book-title {width:270px;
    }
    .truncate-ellipsis {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
     
    }

    .width--25 {
        width: 25%
    }

    .width--45 {
        width: 45%
    }

    .width--100 {
        width: 100%
    }*/

    #prev {
        left: 5px
    }

    #next {
        right: 5px
    }
}


/*@media only screen and (min-device-width:375px)and (max-device-width:1024px) {
   
}*/
@media (min-width: 320px) {
    /*#book-title {
        width: 200px;
    }*/
    /*.truncate-ellipsis {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block
    }

    .width--25 {
        max-width: 25%
    }
    .width--45 {
        max-width: 25%
    }*/

    /*.width--100 {
        width: 100%
    }*/
}

/*@media (min-width: 375px) {
    #book-title {
        width: 200px;
    }
}
@media (min-width: 576px) {
    #book-title {
        width: 200px;
    }
}
@media (min-width: 768px) {
    #book-title {
        width: 250px;
    }
}*/

@media (min-width: 992px) {
    /*#book-title {
        width: 480px;
    }*/
    /*.truncate-ellipsis {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block
    }
    .width--25 {
        max-width: 25%
    }

    .width--100 {
        width: 100%
    }*/
}

@media only screen and (min-device-width:768px)and (max-device-width:1024px) {
   #book-title {
            width: 270px;
        }

        /*.truncate-ellipsis {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            display: inline-block
        }

        .width--25 {
            max-width: 25%
        }

        .width--100 {
            width: 100%
        }*/
}
    @media only screen and (min-device-width:768px)and (max-device-width:1024px) {
       

        #prev {
            left: 5px
        }

        #next {
            right: 5px
        }
    }

    #title-controls {
        position: absolute;
        right: 0
    }

    @media(max-width:768px) {
        #title-controls #referrerUrl,
        #title-controls #bookmark {
            font-size: larger
        }
    }

    @media(min-width:768px) {
        #title-controls #referrerUrl {
            display: none
        }
    }

    #opener {
        position: absolute;
        z-index: 200
    }

    #slider {
        text-transform: uppercase;
        text-align: center
    }

        #slider i {
            font-size: 2em
        }

        #slider span {
            display: block
        }

            #slider span:before {
                margin-right: 0
            }

    #menuTable {
        background-color: #2a2e43;
        position: fixed;
        z-index: 1200;
        width: 65px;
        height: 100%;
        transition: transform .5s;
        transform: translateX(-70px);
        box-shadow: 1px 0 5px rgba(0,0,0,.1);
        border-right: 1px solid #ccc;
        text-align: center;
        display: flex;
        flex-direction: column;
        left: 0;
    }

        #menuTable a {
            color: #b4b1b1;
            font-weight: normal;
            text-transform: uppercase;
            display: block;
            padding-bottom: 15px;
            border-bottom: 1px solid #454f63;
            padding-top: 20px;
            cursor: pointer;
            font-size: .8em
        }

            #menuTable a span {
                display: block;
                font-size: 25px;
                margin-bottom: 10px
            }

                #menuTable a span:before {
                    margin-right: 0
                }

            #menuTable a:hover,
            #menuTable a.active {
                text-decoration: none;
                color: #fff;
                background-color: #454f63;
                border-bottom: 1px solid #2a2e43
            }

            #menuTable a:last-child {
                margin-top: auto
            }

            #menuTable a[data-elem=close] {
                color: #fff
            }

                #menuTable a[data-elem=close]:hover {
                    color: #fff
                }

                    #menuTable a[data-elem=close]:hover span {
                        border: none
                    }

        #menuTable.open {
            -webkit-transform: translateX(0);
            -moz-transform: translateX(0);
            -ms-transform: translateX(0);
            transform: translateX(0)
        }

    .choosewalletuser {
        margin-bottom: 10px
    }

    .chooseWallet {
        box-shadow: 2px 2px 5px 0 rgba(0,0,0,.75);
        -webkit-box-shadow: 2px 2px 5px 0 rgba(0,0,0,.75);
        -moz-box-shadow: 2px 2px 5px 0 rgba(0,0,0,.75);
        text-align: center;
        position: relative;
        cursor: pointer
    }

    .OrganisationName {
        font-weight: bold;
        margin-top: 0;
        margin-bottom: 30px;
        font-size: 1.3em;
        padding: 0 5px;
        width: 100%;
        height: 65px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        color: #fff;
        background: #00397f;
        background: -moz-linear-gradient(left,#00397f 1%,#132160 46%,#0a0347 99%);
        background: -webkit-linear-gradient(left,#00397f 1%,#132160 46%,#0a0347 99%);
        background: linear-gradient(to right,#00397f 1%,#132160 46%,#0a0347 99%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00397f',endColorstr='#0a0347',GradientType=1)
    }

    .Btnchoosewallet {
        position: absolute;
        bottom: -9px;
        left: 25%;
        right: 25%;
        width: 130px;
        height: 22px;
        border-radius: 20px;
        color: #000;
        font-size: 1em;
        font-weight: 600;
        box-shadow: 0 0 4px rgba(0,0,0,.5);
        background: #fff
    }

    .AmountWalletOrga {
        font-weight: bold
    }

    .modal-header {
        background-color: #f5f5f5;
        color: #878787
    }

        .modal-header p {
            color: #f16531
        }

    .modal.custom .modal-content {
        border-radius: 0
    }

    .pay-cc input,
    .register input {
        border: none;
        border-bottom: 1px solid #ccc;
        width: 90%;
        font-size: 1.1em
    }

        .pay-cc input[type=checkbox],
        .register input[type=checkbox] {
            width: auto
        }

    .modal-content div.pricechange {
        display: block;
        width: 90%;
        background: #daf0e4;
        color: green;
        padding: 30px;
        font-size: 1.2em
    }

        .modal-content div.pricechange span {
            display: block;
            font-size: 2em;
            margin-right: 20px
        }

    .modal-content div.bookNotAvailableInCountry {
        display: flex;
        width: 100%;
        background: #daf0e4;
        color: green;
        padding: 30px;
        font-size: 1.5em
    }

        .modal-content div.bookNotAvailableInCountry span {
            display: block;
            font-size: 2em;
            margin-right: 20px
        }

    .modal-content .register div.form {
        min-height: 440px;
        position: relative;
        background-color: #fff
    }

    @media only screen and (min-device-width:375px)and (max-device-width:812px)and (-webkit-device-pixel-ratio:3) {
        .modal-content .register .col-xs-12 {
            min-height: 230px !important
        }

            .modal-content .register .col-xs-12 H1 {
                margin-top: 15% !important
            }

            .modal-content .register .col-xs-12 a.active {
                font-size: 1em !important
            }
    }

    @media only screen and (min-device-width:375px)and (max-device-width:667px) {
        .modal-content .register .col-xs-12 {
            min-height: 230px !important
        }

            .modal-content .register .col-xs-12 H1 {
                margin-top: 15% !important
            }

            .modal-content .register .col-xs-12 a.active {
                font-size: 1em !important
            }
    }

    .modal-content .register,
    .modal-content .pay-cc {
        padding: 0;
        height: 100%
    }

        .modal-content .register div.mode,
        .modal-content .register .neutralDiv,
        .modal-content .pay-cc div.mode,
        .modal-content .pay-cc .neutralDiv {
            color: #fff;
            background: #f0a52d;
            background: -moz-linear-gradient(top,#f0a52d 0%,#f95033 100%);
            background: -webkit-linear-gradient(top,#f0a52d 0%,#f95033 100%);
            background: linear-gradient(to bottom,#f0a52d 0%,#f95033 100%);
            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f0a52d',endColorstr='#f95033',GradientType=0);
            text-align: center;
            min-height: 440px;
            position: relative
        }

            .modal-content .register div.mode h1,
            .modal-content .register .neutralDiv h1,
            .modal-content .pay-cc div.mode h1,
            .modal-content .pay-cc .neutralDiv h1 {
                margin-top: 38%;
                font-size: 1.8em;
                font-weight: normal
            }

            .modal-content .register div.mode h2,
            .modal-content .register .neutralDiv h2,
            .modal-content .pay-cc div.mode h2,
            .modal-content .pay-cc .neutralDiv h2 {
                font-weight: normal;
                margin-bottom: 20px;
                margin-top: 5px
            }

                .modal-content .register div.mode h2 span,
                .modal-content .register .neutralDiv h2 span,
                .modal-content .pay-cc div.mode h2 span,
                .modal-content .pay-cc .neutralDiv h2 span {
                    font-size: .7em
                }

            .modal-content .register div.mode a,
            .modal-content .register .neutralDiv a,
            .modal-content .pay-cc div.mode a,
            .modal-content .pay-cc .neutralDiv a {
                text-decoration: underline;
                color: #fff;
                cursor: pointer
            }

                .modal-content .register div.mode a.back-arrow,
                .modal-content .register .neutralDiv a.back-arrow,
                .modal-content .pay-cc div.mode a.back-arrow,
                .modal-content .pay-cc .neutralDiv a.back-arrow {
                    text-decoration: none
                }

        .modal-content .register div.form h4,
        .modal-content .pay-cc div.form h4 {
            font-size: 1.2em;
            text-align: left;
            font-weight: 300
        }

        .modal-content .register div.form .symbol,
        .modal-content .pay-cc div.form .symbol {
            color: #989898
        }

        .modal-content .register div.form .tabs,
        .modal-content .pay-cc div.form .tabs {
            display: flex;
            margin-top: 28px;
            margin-bottom: 13%
        }

            .modal-content .register div.form .tabs a,
            .modal-content .pay-cc div.form .tabs a {
                display: block;
                border-left: 2px solid #ddd8d8;
                padding-left: 7px;
                margin-right: 7px;
                color: #868686;
                cursor: pointer;
                font-size: 1.1em;
                text-decoration: underline
            }

                .modal-content .register div.form .tabs a.active,
                .modal-content .pay-cc div.form .tabs a.active {
                    border-left: 2px solid #4c73cd;
                    color: #4c73cd;
                    font-weight: bold;
                    font-size: 1.2em;
                    line-height: 1.2em;
                    cursor: default;
                    text-decoration: none
                }

                .modal-content .register div.form .tabs a:hover,
                .modal-content .pay-cc div.form .tabs a:hover {
                    text-decoration: none
                }

        .modal-content .register div.form .form-group,
        .modal-content .pay-cc div.form .form-group {
            margin-bottom: 20px
        }

        .modal-content .register div.form .select,
        .modal-content .pay-cc div.form .select {
            overflow: hidden;
            width: 300px;
            position: relative;
            margin-bottom: 0;
            padding-left: 14px
        }

            .modal-content .register div.form .select .symbol,
            .modal-content .pay-cc div.form .select .symbol {
                position: absolute;
                right: 0;
                top: 10px;
                pointer-events: none;
                font-size: 12px
            }

        .modal-content .register div.form label,
        .modal-content .pay-cc div.form label {
            font-weight: normal;
            font-size: 1em
        }

            .modal-content .register div.form label a,
            .modal-content .pay-cc div.form label a {
                color: inherit;
                text-decoration: underline;
                cursor: pointer
            }

        .modal-content .register div.form div.no-margin,
        .modal-content .pay-cc div.form div.no-margin {
            margin-bottom: 10px
        }

        .modal-content .register div.form div.submit,
        .modal-content .pay-cc div.form div.submit {
            text-align: center
        }

            .modal-content .register div.form div.submit a,
            .modal-content .pay-cc div.form div.submit a {
                text-decoration: underline;
                cursor: pointer
            }

            .modal-content .register div.form div.submit button,
            .modal-content .pay-cc div.form div.submit button {
                width: 100%;
                height: 35px;
                border: none;
                background: #f16531;
                color: #fff;
                font-size: 1.1em;
                text-transform: uppercase
            }

                .modal-content .register div.form div.submit button.loading,
                .modal-content .pay-cc div.form div.submit button.loading {
                    opacity: .5;
                    cursor: progress
                }

                .modal-content .register div.form div.submit button:hover,
                .modal-content .pay-cc div.form div.submit button:hover {
                    background: #f66401
                }

        .modal-content .register div.form .selected-flag,
        .modal-content .pay-cc div.form .selected-flag {
            padding-left: 0;
            width: 38px
        }

        .modal-content .register div.form #country,
        .modal-content .pay-cc div.form #country {
            padding-left: 40px;
            width: 90%
        }

    Section {
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out
    }

    .ContentSection {
        display: none;
        visibility: hidden
    }

    .Button-more {
        color: red;
        text-align: left
    }

        .Button-more .btn-close {
            display: none;
            visibility: hidden
        }

    [id^="article"]:target section {
        display: block;
        visibility: visible;
        width: auto;
        float: none
    }

    [id^="article"]:target .btn-open {
        display: none;
        visibility: hidden
    }

    [id^="article"]:target .btn-close {
        display: block;
        visibility: visible
    }

    #Buy-book-mode .col-xs-12 {
        min-height: 240px
    }

    #Buy-book-mode #buy-page-per-page,
    #Buy-book-mode #buy-full-book {
        margin: 0 auto
    }

    .choose-buy-mode {
        text-align: center
    }

        .choose-buy-mode h4.ResizeMarge {
            margin-bottom: 0 !important
        }

        .choose-buy-mode .ResizeWallet {
            font-size: 3.6em !important
        }

    .choose-buy-mode,
    .recharge-wallet {
        padding-bottom: 5%
    }

        .choose-buy-mode h2,
        .recharge-wallet h2 {
            margin-bottom: 2%;
            text-align: center
        }

        .choose-buy-mode h3,
        .recharge-wallet h3 {
            margin-top: 5px;
            margin-left: 30px;
            margin-right: 30px;
            line-height: 1.3em;
            font-size: 1.1em;
            font-weight: normal
        }

        .choose-buy-mode h4,
        .recharge-wallet h4 {
            margin-top: 20px;
            margin-bottom: 20px;
            color: #f16531;
            font-weight: normal;
            text-align: center
        }

        .choose-buy-mode .mode-buttons,
        .buttons {
            display: flex;
            justify-content: center
        }

            .choose-buy-mode .mode-buttons a:hover {
                box-shadow: 0 0 10px rgba(0,0,0,.5)
            }

            .choose-buy-mode .mode-buttons a,
            .buttons a.recharge {
                display: block;
                width: 250px;
                height: 200px;
                margin-left: 2%;
                margin-right: 2%;
                cursor: pointer;
                position: relative;
                box-shadow: 0 0 4px rgba(0,0,0,.5);
                text-align: center;
                margin-bottom: 5%
            }

                .choose-buy-mode .mode-buttons a:hover,
                .buttons a.recharge:hover {
                    text-decoration: none
                }

                .choose-buy-mode .mode-buttons a h4,
                .buttons a.recharge h4 {
                    margin-top: 0;
                    margin-bottom: 30px;
                    font-size: 1.3em;
                    padding: 0 5px;
                    width: 100%;
                    height: 65px;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    color: #fff;
                    background: #54d38d;
                    background: -moz-linear-gradient(left,#54d38d 0%,#276174 99%);
                    background: -webkit-linear-gradient(left,#54d38d 0%,#276174 99%);
                    background: linear-gradient(to right,#54d38d 0%,#276174 99%);
                    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#54d38d',endColorstr='#276174',GradientType=1)
                }

                .choose-buy-mode .mode-buttons a#buy-full-book h4,
                .buttons a.recharge#buy-full-book h4 {
                    background: #e8458b;
                    background: -moz-linear-gradient(left,#e8458b 0%,#903775 50%,#363553 100%);
                    background: -webkit-linear-gradient(left,#e8458b 0%,#903775 50%,#363553 100%);
                    background: linear-gradient(to right,#e8458b 0%,#903775 50%,#363553 100%);
                    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e8458b',endColorstr='#363553',GradientType=1)
                }

                .choose-buy-mode .mode-buttons a .price,
                .buttons a.recharge .price {
                    display: block;
                    font-size: 2.2em;
                    color: #000
                }

                    .choose-buy-mode .mode-buttons a .price span,
                    .buttons a.recharge .price span {
                        font-size: .8em
                    }

                .choose-buy-mode .mode-buttons a small,
                .buttons a.recharge small {
                    color: #000
                }

                .choose-buy-mode .mode-buttons a .capsule,
                .buttons a.recharge .capsule {
                    position: absolute;
                    bottom: -9px;
                    left: 60px;
                    width: 130px;
                    height: 22px;
                    border-radius: 20px;
                    color: #000;
                    font-size: 1em;
                    font-weight: 600;
                    box-shadow: 0 0 4px rgba(0,0,0,.5);
                    background: #fff
                }

    #continue span.icon-wallet {
        font-size: 3.8em;
        color: #000;
        display: block
    }

    .modal-header .title {
        text-align: center
    }

    .modal-content .pay-cc {
        display: flex;
        font-size: 1em
    }

        .modal-content .pay-cc .infos {
            border-right: 1px solid #ccc;
            flex: 1
        }

            .modal-content .pay-cc .infos .buttons a {
                cursor: default;
                margin-left: 0
            }

            .modal-content .pay-cc .infos h3 {
                color: #6c757d;
                font-size: 1.1em;
                text-transform: uppercase;
                font-weight: 600
            }

            .modal-content .pay-cc .infos h4 {
                font-size: 1.1em;
                font-weight: 600
            }

            .modal-content .pay-cc .infos .price {
                color: #f16531
            }

            .modal-content .pay-cc .infos .Product {
                display: flex
            }

            .modal-content .pay-cc .infos .cover {
                margin-right: 5%;
                border: 1px solid silver
            }

            .modal-content .pay-cc .infos .title {
                font-weight: 600
            }

            .modal-content .pay-cc .infos .author {
                font-weight: 600;
                font-size: 1em;
                color: #6c757d
            }

            .modal-content .pay-cc .infos .changeamount {
                color: #878787;
                cursor: pointer
            }

        .modal-content .pay-cc .subtitle {
            color: #f16531
        }

        .modal-content .pay-cc .bankinfo {
            height: 54px;
            line-height: 54px;
            border-top: 2px solid #ccc;
            border-bottom: 2px solid #ccc;
            text-align: center;
            font-weight: bold;
            font-size: 1em;
            background: #f5f5f5;
            margin-bottom: 30px;
            display: flex;
            justify-content: space-between
        }

        .modal-content .pay-cc div.form {
            flex: 1
        }

            .modal-content .pay-cc div.form input.expmonth,
            .modal-content .pay-cc div.form input.expyear {
                width: 30px;
                margin-right: 2px;
                margin-left: 3px;
                display: inline-block
            }

            .modal-content .pay-cc div.form input.expyear {
                width: 40px;
                margin-right: 30px
            }

            .modal-content .pay-cc div.form input.crypto {
                width: 175px
            }

        .modal-content .pay-cc div.submit {
            margin-top: 20px
        }

    .buttons .recharge:first-child h4 {
        background: linear-gradient(to right,#ff875c 0%,#fb6ea3 100%)
    }

    .buttons .recharge:nth-child(2) h4 {
        background: linear-gradient(to right,#48cbc5 0%,#109bd2 100%)
    }

    .buttons .recharge:nth-child(3) h4 {
        background: linear-gradient(to right,#eb72e5 0%,#8562fa 100%)
    }

    input.error {
        color: red;
        border-color: red
    }

    label.error {
        color: red
    }

    .popover-content {
        width: 150px
    }

    #overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1020;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,.5)
    }

    .modal-content a.back-arrow {
        text-decoration: none;
        position: absolute;
        top: 5px;
        left: 5px;
        color: #888;
        cursor: pointer
    }

        .modal-content a.back-arrow span {
            margin-right: 3px
        }

    .modal-content a.passwordForgot {
        text-decoration: underline;
        cursor: pointer;
        font-size: .9em
    }

    .modal-content .pay-cc-with-wallet h2 {
        text-align: center
    }

    .modal-content .pay-choice h2 {
        margin-bottom: 50px;
        text-align: center
    }

    .modal-content .pay-choice .buttons {
        display: flex
    }

        .modal-content .pay-choice .buttons a,
        .modal-content .pay-choice .buttons a:hover {
            cursor: pointer;
            display: flex;
            text-decoration: none;
            color: #f16531;
            font-size: 1.3em;
            padding: 15px 25px;
            border: 1px solid #f16531;
            width: 100%;
            height: 80px;
            margin-right: 25px
        }

            .modal-content .pay-choice .buttons a span.icon-wallet::before,
            .modal-content .pay-choice .buttons a:hover span.icon-wallet::before {
                margin-top: -10px;
                font-size: 50px;
                color: #000
            }

            .modal-content .pay-choice .buttons a span.icon-cc,
            .modal-content .pay-choice .buttons a:hover span.icon-cc {
                background: url("/img/pay-cc-icon.png") no-repeat left center;
                min-width: 50px;
                height: 50px;
                margin-right: 15px;
                display: block
            }

    #wallet {
        position: relative;
        margin-right: 20px;
        cursor: pointer
    }

        #wallet.almost-empty {
            color: #750000
        }

    .spent-anim {
        position: absolute;
        top: -15px;
        right: 0;
        color: #ab0000
    }

    #footerbar {
        position: absolute;
        bottom: 0;
        width: 100%
    }

    progress::-moz-progress-bar,
    progress::-webkit-progress-value {
        background: #4285f4;
        transition: background-color .2s ease-in
    }

    .paginationreader {
        padding: 12px 0 0 0
    }

    .TitleProgress {
        margin-left: 20px;
        color: #999
    }

    .TitleBookProgress {
        color: #4e4e4e
    }

    .rangeable-progress {
        overflow: hidden;
        width: 100%;
        height: .4em;
        padding: 0;
        border: 0;
        position: absolute;
        bottom: 0
    }

    #Progressbar:hover > .rangeable-progress {
        height: .6em;
        transition: height .1s ease,width .1s linear
    }

    #title-controls .icon-bookmark {
        color: #4285f4 !important
    }

    .paginationProgress {
        position: absolute;
        bottom: .3em;
        width: 100%
    }

    @media only screen and (min-device-width:768px)and (max-device-width:1024px) {
        #chapter-title {
            display: block
        }
    }

    body.theme-revert {
        background-color: #222;
        color: #fff
    }

        body.theme-revert #main,
        body.theme-revert #sidebar,
        body.theme-revert #menuTable,
        body.theme-revert #bookmarksView ul,
        body.theme-revert #tocView ul {
            background: #222;
            color: #fff
        }

            body.theme-revert #menuTable .icon-cancel,
            body.theme-revert #menuTable a {
                color: #fff
            }

                body.theme-revert #menuTable a[data-elem="close"]:hover {
                    color: #fff
                }

                body.theme-revert #menuTable a:hover span,
                body.theme-revert #menuTable a.active span,
                body.theme-revert #userView a.BtnReader,
                body.theme-revert #infoView a.BtnReader {
                    border-color: #fb0
                }

        body.theme-revert #paramsView .OptSizeTitle span {
            background: #222
        }

        body.theme-revert #bookmarksView,
        body.theme-revert #tocView,
        body.theme-revert #bookView,
        body.theme-revert #paramsView,
        body.theme-revert #title-controls,
        body.theme-revert #titlebar,
        body.theme-revert #userView,
        body.theme-revert #footerbar,
        body.theme-revert #infoView {
            color: #fb0
        }

            body.theme-revert #bookmarksView ul li > a,
            body.theme-revert #tocView ul li > a,
            body.theme-revert #bookView ul li > a,
            body.theme-revert #paramsView ul li > a,
            body.theme-revert #title-controls ul li > a,
            body.theme-revert #titlebar ul li > a,
            body.theme-revert #userView ul li > a,
            body.theme-revert #footerbar ul li > a,
            body.theme-revert #infoView ul li > a {
                color: #fff;
                opacity: 1
            }

            body.theme-revert #bookmarksView .title,
            body.theme-revert #bookmarksView .TitleRub,
            body.theme-revert #bookmarksView .icon-bookmark,
            body.theme-revert #bookmarksView .BtnReader,
            body.theme-revert #bookmarksView .TitleBookProgress,
            body.theme-revert #bookmarksView .TitleProgress,
            body.theme-revert #tocView .title,
            body.theme-revert #tocView .TitleRub,
            body.theme-revert #tocView .icon-bookmark,
            body.theme-revert #tocView .BtnReader,
            body.theme-revert #tocView .TitleBookProgress,
            body.theme-revert #tocView .TitleProgress,
            body.theme-revert #bookView .title,
            body.theme-revert #bookView .TitleRub,
            body.theme-revert #bookView .icon-bookmark,
            body.theme-revert #bookView .BtnReader,
            body.theme-revert #bookView .TitleBookProgress,
            body.theme-revert #bookView .TitleProgress,
            body.theme-revert #paramsView .title,
            body.theme-revert #paramsView .TitleRub,
            body.theme-revert #paramsView .icon-bookmark,
            body.theme-revert #paramsView .BtnReader,
            body.theme-revert #paramsView .TitleBookProgress,
            body.theme-revert #paramsView .TitleProgress,
            body.theme-revert #title-controls .title,
            body.theme-revert #title-controls .TitleRub,
            body.theme-revert #title-controls .icon-bookmark,
            body.theme-revert #title-controls .BtnReader,
            body.theme-revert #title-controls .TitleBookProgress,
            body.theme-revert #title-controls .TitleProgress,
            body.theme-revert #titlebar .title,
            body.theme-revert #titlebar .TitleRub,
            body.theme-revert #titlebar .icon-bookmark,
            body.theme-revert #titlebar .BtnReader,
            body.theme-revert #titlebar .TitleBookProgress,
            body.theme-revert #titlebar .TitleProgress,
            body.theme-revert #userView .title,
            body.theme-revert #userView .TitleRub,
            body.theme-revert #userView .icon-bookmark,
            body.theme-revert #userView .BtnReader,
            body.theme-revert #userView .TitleBookProgress,
            body.theme-revert #userView .TitleProgress,
            body.theme-revert #footerbar .title,
            body.theme-revert #footerbar .TitleRub,
            body.theme-revert #footerbar .icon-bookmark,
            body.theme-revert #footerbar .BtnReader,
            body.theme-revert #footerbar .TitleBookProgress,
            body.theme-revert #footerbar .TitleProgress,
            body.theme-revert #infoView .title,
            body.theme-revert #infoView .TitleRub,
            body.theme-revert #infoView .icon-bookmark,
            body.theme-revert #infoView .BtnReader,
            body.theme-revert #infoView .TitleBookProgress,
            body.theme-revert #infoView .TitleProgress {
                color: #fb0 !important
            }

            body.theme-revert #bookView > div a.buybook {
                color: #fb0;
                border-color: #fb0
            }

            body.theme-revert #titlebar a {
                color: #fb0
            }

        body.theme-revert #wallet.almost-empty {
            color: #fb0
        }

        body.theme-revert #bookmarksView ul li.currentChapter a,
        body.theme-revert #bookmarksView ul li a:hover,
        body.theme-revert #tocView ul li.currentChapter a,
        body.theme-revert #tocView ul li a:hover {
            background: #141414
        }

        body.theme-revert .modal-dialog {
            color: #222
        }

    body.theme-sepia {
        background-color: #f8f4e8;
        color: #000
    }

        body.theme-sepia #main {
            background: #f8f4e8
        }

    .clearfix {
        display: block;
        content: "";
        clear: both
    }

    .modal-backdrop {
        background-color: none !important;
    }

    #bookmarks {
        margin-top: 0 !important;
    }

    /* Tablette/Petits ordinateurs */
    @media (max-width: 1500px) {
        .menuTop {
            /*max-width: 100%;
            top: 0;
            position: fixed;
            height: 100px;
            background-color: white;
            z-index: 1;*/
            font-size: 1.3em;
            /*display: flex;
            justify-content: space-between;
            box-shadow: 0px 5px 5px #aaa;*/
            flex-flow: row wrap;
            justify-content: flex-start;
            align-items: center;
            
        }


        .item {
            font-size: 14px;
            flex-direction: row;
        }

        #titreLivre {
            font-size: 14px;
            color: #606060;
            font-weight: 600;
        }

        .navigation {
            display: flex;
            width: 70px;
            position: relative;
        }

        #page {
            width: 150px;
        }

        #scale {
            margin-left: 10px;
            margin-right: 10px;
        }

        #utilitaire {
            margin-left: 15px;
        }


        #menu {
            position: fixed;
            width: 270px;
            background: white;
            height: 100%;
            margin: 0;
            left: 0;
            /*margin-top: 57px;*/
            overflow: auto;
            list-style-type: none;
            -webkit-font-smoothing: antialiased;
            /* to stop flickering of text in safari */
            transform-origin: 0% 0%;
            transform: translate(-100%, 0);
            transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        }

        #dispo {
            margin-left: 10px;
        }
    }

    /* Petites tablettes*/
    @media (max-width: 700px) {

        #titreLivre {
            font-size: 14px;
            color: #606060;
            font-weight: 600;
            width: 450px;
        }
    }


    @media (max-width: 670px) {

        #titreLivre {
            font-size: 14px;
            color: #606060;
            font-weight: 600;
            width: 400px;
        }

        #page {
            width: 120px;
        }
    }

    @media (max-width: 615px) {

        #titreLivre {
            font-size: 14px;
            color: #606060;
            font-weight: 600;
            width: 400px;
        }

        #page {
            width: 120px;
        }
    }

    @media (max-width: 600px) {

        #titreLivre {
            font-size: 14px;
            color: #606060;
            font-weight: 600;
            width: 350px;
        }

        #page {
            width: 120px;
        }
    }

    @media (max-width: 550px) {

        #titreLivre {
            font-size: 14px;
            color: #606060;
            font-weight: 600;
            width: 300px;
        }

        #page {
            width: 120px;
        }

        #menu {
            position: fixed;
            width: 280px;
            background: white;
            height: 100%;
            margin: 0;
            left: 0;
            margin-top: 0px;
            overflow: auto;
            list-style-type: none;
            -webkit-font-smoothing: antialiased;
            /* to stop flickering of text in safari */
            transform-origin: 0% 0%;
            transform: translate(-100%, 0);
            transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
          
        }
    }


    @media (max-width: 490px) {

        #titreLivre {
            font-size: 14px;
            color: #606060;
            font-weight: 600;
            width: 230px;
        }

        #page {
            width: 120px;
        }

        #menu {
            position: fixed;
            width: 250px;
            background: white;
            height: 100%;
            margin: 0;
            left: 0;
            margin-top: 0px;
            overflow: auto;
            list-style-type: none;
            -webkit-font-smoothing: antialiased;
            /* to stop flickering of text in safari */
            transform-origin: 0% 0%;
            transform: translate(-100%, 0);
            transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        }
    }


    @media (max-width: 415px) {

        .menuTop {
           /* max-width: 100%;
            top: 0;
            position: fixed;
            height: 90px;
            background-color: white;
            z-index: 1;
            font-size: 1.3em;
            display: flex;
            justify-content: space-between;
       
            flex-flow: row wrap;
            justify-content: flex-start;
            align-items: center;*/
        }

        #titreLivre {
            font-size: 14px;
            color: #606060;
            font-weight: 600;
            width: 210px;
        }

        #page {
            width: 120px;
        }

        /*#scaleSelect {
            width: 100px !important;
            height: 28px;
            font-size: 12px;
            margin: 0;
            padding: 5px;
            border: 1px solid #e3e3e3;
            cursor: pointer;
        }*/

        #dispo {
            margin-left: 10px;
        }

        #menu {
            position: fixed;
            width: 250px;
            background: white;
            height: 100%;
            margin: 0;
            left: 0;
            margin-top: 0px;
            overflow: auto;
            list-style-type: none;
            -webkit-font-smoothing: antialiased;
            /* to stop flickering of text in safari */
            transform-origin: 0% 0%;
            transform: translate(-100%, 0);
            transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        }
    }

    @media (max-width: 400px) {

        .menuTop {
           /**max-width: 100%;
            top: 0;
            position: fixed;
            height: 90px;
            background-color: white;
            z-index: 1;
            font-size: 1.3em;
            display: flex;
            justify-content: space-between;
         
            flex-flow: row wrap;
            justify-content: flex-start;
            align-items: center;*/
        }

        #titreLivre {
            font-size: 14px;
            color: #606060;
            font-weight: 600;
            width: 400px;
            margin-left: 10px;
        }

        #page {
            width: 120px;
        }



        #dispo {
            margin-left: 10px;
        }

        #menu {
            position: fixed;
            width: 270px;
            background: white;
            height: 100%;
            margin: 0;
            left: 0;
            margin-top: 0px;
            overflow: auto;
            list-style-type: none;
            -webkit-font-smoothing: antialiased;
            /* to stop flickering of text in safari */
            transform-origin: 0% 0%;
            transform: translate(-100%, 0);
            transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        }
    }


    .btnOpt {
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    svg[fill|=OptColorSVG] {
        fill: orange;
    }

    #bookmarksView ul li a span.remove {
        display: none;
        cursor: pointer;
    }

    .glyphicon::before {
        position: relative;
        top: 1px;
        display: inline-block;
        content: "✖";
        font-weight: bold;
        opacity: 0.5;
        font-style: normal;
        font-weight: 400;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }


    @media only screen and (max-width: 550px) {
        #titlebar {
            padding-top: 0px;
        }
        /*#metainfo {
        top:initial;}*/
        .truncate-ellipsis {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            display: inline-block;
        }

        .width--25 {
            width: 25%;
        }

        .width--85 {
            width: 85%;
        }

        .width--45 {
            width: 45%;
        }

        .width--100 {
            width: 100%;
        }
    }

    @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
        .truncate-ellipsis {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            display: inline-block;
        }

        .width--25 {
            max-width: 25%;
        }

        .width--100 {
            width: 100%;
        }
    }
.long-and-truncated {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.flex-parent {
    display: flex;
    align-items: center;
 
}
@media print {
    body {
        display: none
    }
    footer:before {
        content: 'Cet ebook est destiné à être consulté en ligne et ne peut pas être imprimé.'
    }
}
