@font-face {
    font-family: 'avant_guardregular';
    src: url('../fonts/avaswfte-webfont.eot');
    src: url('../fonts/avaswfte-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/avaswfte-webfont.woff2') format('woff2'),
         url('../fonts/avaswfte-webfont.woff') format('woff'),
         url('../fonts/avaswfte-webfont.ttf') format('truetype'),
         url('../fonts/avaswfte-webfont.svg#avant_guardregular') format('svg');
    font-weight: bold;
    font-style: normal;

}

@font-face {
    font-family: 'avantgarde_md_btmedium';
    src: url('../fonts/avbswfte-webfont.eot');
    src: url('../fonts/avbswfte-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/avbswfte-webfont.woff2') format('woff2'),
         url('../fonts/avbswfte-webfont.woff') format('woff'),
         url('../fonts/avbswfte-webfont.ttf') format('truetype'),
         url('../fonts/avbswfte-webfont.svg#avantgarde_md_btmedium') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'avantgarde_bk_btbook';
    src: url('../fonts/avgardn-webfont.eot');
    src: url('../fonts/avgardn-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/avgardn-webfont.woff2') format('woff2'),
         url('../fonts/avgardn-webfont.woff') format('woff'),
         url('../fonts/avgardn-webfont.ttf') format('truetype'),
         url('../fonts/avgardn-webfont.svg#avantgarde_bk_btbook') format('svg');
    font-weight: normal;
    font-style: normal;
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: #1b1b1b;
    height: 100%;
    margin: 0;
    min-width: 320px;
}

.banner {
    background: #f0f0f0;
    border-bottom: 5px #1b1b1b solid;
    height: 40px;
    overflow: hidden;
    position: relative;
    z-index: 200;
}

@media screen and (min-width: 980px) {
    .banner {
        height: 40px;
    }
}

.bannercontent {
     font-family: 'avant_guardregular';
    font-size: .9em;
    margin: 0 1%;
    width: 98%;
}

@media screen and (min-width: 980px) {
    .bannercontent {
        margin: 0 3%;
        width: 94%;
    }
}

.bannercontent p {
    margin: 0;
}

.bannercontent a {
    -webkit-transition: opacity .3s;
    transition: opacity .3s;
}

.bannercontent a:hover {
    opacity: .7;
}

.bannercontent span {
    display: inline-block;
    text-align: left;
    text-indent: -999em;
    vertical-align: middle;
}

@media screen and (min-width: 700px) {
    .bannercontent span {
        text-indent: 0;
    }
}

.licence {
    float: left;
    font-size: .8em;
    font-weight: bold;
    padding: 5px 0;
    width: 60%;
}

.licence a {
    color: #111;
    text-decoration: none;
}

.licence img {
    margin-right: 5px;
    height: 30px;
    vertical-align: middle;
}

.authoring-tool {
    float: right;
    font-size: .8em;
    font-weight: bold;
    padding: 5px 0;
    text-align: right;
    width: 40%;
}

.authoring-tool a {
    color: #8bb900;
    text-decoration: none;
}

.authoring-tool img {
    margin-left: 5px;
    max-height: 30px;
    vertical-align: middle;
}

.container {
    height: 100%;
    position: relative;
    width: 100%;
}

.banner + .container {
	height: calc(100% - 45px);
}

@media screen and (min-width: 980px) {
    .container {
        height: auto;
        min-height: 100%;
    }

	.banner + .container {
		height: auto;
		min-height: calc(100% - 45px);
	}
}

.container.open-menu,
.container.open-share {
    overflow: hidden;
}

@media screen and (min-width: 980px) {
    .container.open-menu,
    .container.open-share {
        overflow: visible;
    }
}

.contentarea {
    /*background: #fff;*/
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.8);
    height: 100%;
    width: 100%;
}

@media screen and (min-width: 980px) {
    .contentarea {
        margin: 0 auto;
        max-width: 1250px;
    }
}

.menuarea,
.sharearea {
    display: none;
}

.open-menu .menuarea {
    background: #111;
    border-left: 1px #2d2d2d solid;
    border-right: 1px #2d2d2d solid;
    box-sizing: border-box;
    display: block;
     font-family: 'avant_guardregular';
    font-size: 0.9em;
    height: 100%;
    left: 0;
    overflow: auto;
    position: absolute;
    top: 0;
    width: 60%;
}

@media screen and (min-width: 980px) {
    .open-menu .menuarea {
    	height: auto;
    	min-height: 100%;
        overflow: visible;
        left: 3%;
        width: 20%;
    }
}

.open-menu .menuarea h2 {
    /*border-bottom: 5px #7d7d7d solid;*/
    color: #7d7d7d;
    min-height: 16px;
    font-size: .9em;
    font-weight: bold;
    margin: 0;
    padding: 12px;
}

.open-menu .menuarea h3 {
    border-bottom: 5px solid #7d7d7d;
    color: #7d7d7d;
    font-size: 0.75em;
    font-weight: bold;
    margin: 0;
    min-height: 16px;
    padding: 2px 12px;
}

.open-menu .menuarea ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.open-menu .menuarea li {
    border-top: 1px #1b1b1b solid;
    border-bottom: 1px #090909 solid;
    -webkit-transition: background .3s;
    transition: background .3s;
}

.open-menu .menuarea li:hover,
.open-menu .menuarea li.selected {
    background: #8bb900;
}

.open-menu .menuarea li:hover a,
.open-menu .menuarea li.selected a {
    color: #fff;
}

.open-menu .menuarea a {
    color: #dedede;
    display: block;
    text-decoration: none;
    padding: 10px;
    -webkit-transition: color .3s;
    transition: color .3s;
}

.open-menu .contentarea {
    left: 60%;
    position: absolute;
    top: 0;
}

@media screen and (min-width: 980px) {
    .open-menu .contentarea {
        left: 0;
        position: relative;
        margin-left: 23%;
        width: 76%;
    }
}

.open-share .sharearea {
    background: #111;
    border-left: 1px #2d2d2d solid;
    border-right: 1px #2d2d2d solid;
    box-sizing: border-box;
    display: block;
     font-family: 'avant_guardregular';
    font-size: 0.9em;
    height: 100%;
    overflow: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 60%;
}

@media screen and (min-width: 980px) {
    .open-share .sharearea {
        overflow: visible;
        right: 3%;
        width: 20%;
    }
}

.open-share .sharearea h2 {
    border-bottom: 5px #7d7d7d solid;
    color: #7d7d7d;
    min-height: 16px;
    font-size: .9em;
    font-weight: bold;
    margin: 0;
    padding: 12px;
}

.open-share .sharearea .social_share_privacy_area {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 300;
    width: 100%;
}

.open-share .sharearea .social_share_privacy_area li {
    border-top: 1px #1b1b1b solid;
    border-bottom: 1px #090909 solid;
    display: block;
    float: none;
    height: 21px;
    padding: 10px !important;
    position: relative;
}

.open-share .sharearea .social_share_privacy_area .settings_info {
    display: none;
}

.open-share .contentarea {
    right: 60%;
    position: absolute;
    top: 0;
}

@media screen and (min-width: 980px) {
    .open-share .contentarea {
        right: 0;
        position: relative;
        margin-right: 23%;
        width: 76%;
    }
}

.open-share .social_share_privacy_area.line {
    height: auto;
}
.open-share .social_share_privacy_area li.help_info .info,
.open-share .social_share_privacy_area li .help_info.icon .info {
    bottom: -70px;
    box-sizing: border-box;
    max-width: 300px;
    width: 95%;
}

.embed-code {
    padding: 10px;
}

.embed-code p {
    color: #7d7d7d;
    font-size: .8em;
    font-weight: bold;
    margin: 0 0 5px 0;
}

.embed-code input {
    background: #d9d9d9;
    border: none;
    border-radius: 3px;
    box-sizing: border-box;
    padding: 8px 5px;
    width: 100%;
}
/*-----------------------------------------------*/

.btnarea {
    background: #fff;
    border-bottom: 1px #f7f7f7 solid;
    height: auto;
    padding: 2px;
    position: relative;
    z-index: 20;
}

.btn-menu {
    background: url(../images/reader-btn-menu.png) 6px 8px no-repeat;
    background-size: 25px auto;
    border: none;
    cursor: pointer;
    height: 38px;
    outline: none;
    text-indent: -999em;
    -webkit-transition: opacity .3s;
    transition: opacity .3s;
    width: 40px;
}

.btn-menu:hover {
    opacity: .8;
}

.btn-share {
    background: url(../images/reader-btn-share.png) 3px 4px no-repeat;
    background-size: 33px auto;
    border: none;
    cursor: pointer;
    float: right;
    height: 38px;
    outline: none;
    text-indent: -999em;
    -webkit-transition: opacity .3s;
    transition: opacity .3s;
    width: 40px;
}

.btn-share:hover {
    opacity: .8;
}

video::-webkit-media-controls,
audio::-webkit-media-controls  {
    overflow: hidden !important
}
video::-webkit-media-controls-enclosure,
audio::-webkit-media-controls-enclosure {
    width: calc(100% + 32px);
    margin-left: auto;
}

.picto_world {
    display: inline-block;
    position: relative;
    width: 25px;
    height: 22px;
    background: url("../images/btn_world.png") no-repeat scroll 0 0 / cover;
    margin: 2px;
    top: 3px;
    float: left;
    cursor: pointer;
}
