/* Resetting the usual suspects */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

ul, li {
    list-style: none;
}

input::-moz-focus-inner /*Remove button padding in FF*/
{ 
    border: 0;
    padding: 0;
}

table {
    border-collapse: separate; border-spacing: 0;
}

th, td {
    vertical-align: top;
}

img a {
    border: none;
}

/* End of the reset part */

html {
    overflow: hidden;
}

/* Fonts */

@font-face {
    font-family: 'OpenSans';
    font-weight: 400;
    src: url('../fonts/OpenSans-Regular.woff') format('woff'),
         url('../fonts/OpenSans-Regular.ttf') format('truetype'),
         url('../fonts/OpenSans-Regular.svg#OpenSans') format('svg');
}

@font-face {
    font-family: 'OpenSans';
    font-weight: 700;
    src: url('../fonts/OpenSans-Bold.woff') format('woff'),
         url('../fonts/OpenSans-Bold.ttf') format('truetype'),
         url('../fonts/OpenSans-Bold.svg#OpenSans-Bold') format('svg');
}

@font-face {
    font-family: 'OpenSans';
    font-weight: 800;
    src: url('../fonts/OpenSans-ExtraBold.woff') format('woff'),
         url('../fonts/OpenSans-ExtraBold.ttf') format('truetype'),
         url('../fonts/OpenSans-ExtraBold.svg#OpenSans-Extrabold') format('svg');
}

@font-face {
    font-family: 'OpenSans-CondensedBold';
    src: url('../fonts/OpenSans-CondBold.woff') format('woff'),
         url('../fonts/OpenSans-CondBold.ttf') format('truetype'),
         url('../fonts/OpenSans-CondBold.svg#OpenSans-CondensedBold') format('svg');
}
body {
    background: #000000; font-family: 'OpenSans'; font-weight: 400;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar:hover {
    background: rgba(128,128,128,.2);
}

::-webkit-scrollbar-thumb {
    background: rgba(128,128,128,.4); width: 10px; border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(128,128,128,.6);
}

/* Top Bar */

.top-bar {
    position: absolute; left: 0; right: 0; top: 0; height: 40px;
}

.topright-buttons {
    float: right;
}

.topright-buttons a {
    float: left; background-image: url(../img/sprites.png); margin: 8px 8px 0 0; opacity: .5;
    transition: opacity 0.5s; -webkit-transition: opacity 0.5s; width: 24px; height: 24px;
}

.topright-buttons a:hover {
    opacity: 1;
}

.about {
    background-position: -24px -232px;
}

.full-screen {
    background-position: 0 -232px;
}

/* Main Video Frame */

.main-video {
    position: absolute; z-index: 1; top: 40px; left: 0; right: 0; bottom: 96px;
}

.video-container {
    position: absolute; left: 0; top: 0; width: 100%; height: 100%;
}

.video-container video {
    max-width: 100%; max-height: 100%; margin: 0 auto; display: block;
}

.project-title {
    text-align: center; line-height: 40px; font-size: 17px; color: #b0b0b0;
    font-weight: 700;
}

.tags {
    position: absolute; top: 0; left: 0; width: 180px; z-index: 2; font-size: 12px;
}

.tags-title-wrap {
    height: 40px;
}

.searching .tags-title-wrap {
    width: 300px;
}

.tags-title {
    line-height: 40px; padding: 0 15px; font-size: 11px; color: #B8155F;
    font-weight: 700; text-transform: uppercase; height: 40px; cursor: pointer;
}

.searching .tags-title {
    text-transform: none; float: left; min-width: 150px; background: #ffffff;
}

.tags-list {
    background: #303030;
    padding: 10px 0; display: none; cursor: pointer;
}

.tag {
    color: #cccccc; padding: 5px 15px;
}

.searching .tag {
    color: #999999;
}

.tag.found {
    color: #ffffff; background: #202020;
}

/* Annotation colors */

.video {
    color: #be4477;
}

.audio {
    color:#63be6c;
}

.slideshow {
    color: #f69058;
}

.text {
    color:#5e90cb;
}

.quote {
    color:#00aeb5;
}

.link {
    color:#8985bb;
}


/* Pictograms on the left */

.pictolist {
    position: absolute;
    left: 0; bottom: 0; margin: 0 0 24px 14px;
}

.pictolist li {
    line-height: 38px; opacity: 0; display: none; height: 0;
    padding: 6px; width: 38px; overflow: hidden;
    -webkit-transition: width 0.5s;
    transition: width 0.5s;
}

.pictolist li.hover {
    width: 400px;
}

.picto {
    float: left; padding: 7px; background:black;
    border-radius: 19px; cursor: pointer;
    -webkit-transition: background 0.5s;
    transition: background 0.5s;
}

.picto-title {
    margin-left: 8px; font-size: 12px; text-transform: uppercase;
    padding: 4px 6px; background: rgba(0, 0, 0, .7);
    font-family: 'OpenSans-CondensedBold';
}

.found .picto-title {
    background: rgba(255, 255, 255, .7);
}

.picto a {
    background: url(../img/sprites.png); display: block; width: 24px; height: 24px;
}

.video.hover .picto ,
.video.current .picto {
    background: #be4477;
}

.video.hover .picto a ,
.video.current .picto a {
    background-position: -24px 0;
}

.audio .picto a {
    background-position: 0 -24px;
}

.audio.hover .picto,
.audio.current .picto {
    background: #63be6c;
}

.audio.hover .picto a ,
.audio.current .picto a {
    background-position: -24px -24px;
}

.slideshow .picto a {
    background-position: 0 -48px;
}

.slideshow.hover .picto ,
.slideshow.current .picto {
    background: #f69058;
}

.slideshow.hover .picto a ,
.slideshow.current .picto a {
    background-position: -24px -48px;
}

.text .picto a {
    background-position: 0 -72px;
}

.text.hover .picto ,
.text.current .picto {
    background: #5e90cb;
}

.text.hover .picto a ,
.text.current .picto a {
    background-position: -24px -72px;
}

.quote .picto a {
    background-position: 0 -96px;
}

.quote.hover .picto ,
.quote.current .picto {
    background: #00aeb5;
}

.quote.hover .picto a ,
.quote.current .picto a {
    background-position: -24px -96px;
}

.link .picto a {
    background-position: 0 -120px;
}

.link.hover .picto ,
.link.current .picto {
    background: #8985bb;
}

.link.hover .picto a ,
.link.current .picto a {
    background-position: -24px -120px;
}

.found .picto,
.current.found picto,
.hover.found .picto {
    background: #ffffff;
}

/* Annotations */

.annotation-templates {
    display: none;
}

.annotation {
    position: absolute; top: 800px;
    transition: all 0.5s; -webkit-transition: all 0.5s;
}

.annotation-title {
    font-weight: 800; text-align: center;
}

.close-annotation {
    float: right; margin: 10px 10px 0 0; width: 11px; height: 10px; background-image: url(../img/sprites.png);
}

.annotation-main:after, .about-collaboration:after {
    content: "."; visibility: hidden; display: block; height: 0; line-height: 0; clear: both;
}

/* Annotation sizes */

.link-annotation, .text-annotation, .audio-annotation {
    left: 50%; width: 590px; margin-left: -290px;
}

.about-box, .slideshow-annotation {
    left: 50%; width: 920px; margin-left: -455px;
}

.video-annotation {
    left: 45px; right: 35px;
}

/* White annotations */

.white-annotation {
    background: #ffffff;
}

.white-annotation {
    color: #000000;
}

.white-annotation .close-annotation {
    background-position: -24px -160px;
}

.white-annotation .close-annotation:hover {
    background-position: -36px -160px;
}

.white-annotation .annotation-title {
    font-size: 23px; margin: 24px; line-height: 24px;
}

/* Black annotations */

.black-annotation .annotation-main {
    background: rgba(0,0,0,.7);
}

.black-annotation .annotation-title {
    height: 35px; line-height: 35px; color: #ffffff; font-size: 14px; background: #000000;
}

.black-annotation .close-annotation {
    background-position: -24px -170px;
}

.black-annotation .close-annotation:hover {
    background-position: -36px -170px;
}

.black-annotation p {
    margin: 10px 25px 10px 15px;
    font-size: 12px; color: #CCCCCC;
}

/* Text annotation */

.text-contents, .link-contents {
    font-family: Georgia, 'Times New Roman', serif;
    overflow: auto;
}

.text-contents {
    margin: 0 25px 35px; font-size: 15px; padding: 0 20px 0;
}

.text-contents p, .text-contents ul, .text-contents ol {
    margin-bottom: 10px;
}

.text-contents h2, .text-contents h3, .text-contents h4 {
/*    text-align: center; */
    font-family: 'OpenSans-CondensedBold'; margin: 12px 0;
    text-transform: uppercase;
}

.text-contents img {
    float: left; margin: 0 5px 2px 0;
}

.text-contents h2 {
    font-size: 21px;
}

.text-contents h3 {
    font-size: 18px;
}

.text-contents h4 {
    font-size: 15px;
}

.text-contents b, .text-contents strong {
    font-weight: bold;
}

.text-contents em, .text-contents i {
    font-style: italic;
}

.text-contents a {
    color: #5E90CB;
}

.text-contents ul {
    list-style: disc; padding-left: 2em;
}

.text-contents ol {
    list-style: decimal; padding-left: 2em;
}

.text-contents li {
    list-style: inherit; margin: 2px 0;
}

/* Link annotation */

.link-contents {
    font-family: Georgia, 'Times New Roman', serif;
    margin: 40px 60px 60px; padding: 0 20px 0;
}

.link-contents p {
    text-align: center; font-size: 23px; margin: 25px 0;
}

.link-contents a {
    color: #000000;
}

/* Audio annotation */

.audio-annotation .media-description {
    margin: 25px 0 0; font-size: 15px;
}

.audio-annotation .annotation-main {
    padding: 25px 0 15px;
}

.audio-annotation .media-frame {
    margin: 0 15px;
}

.audio-annotation p {
    margin: 10px 15px;
}

/* Video annotation */

.video-annotation .media-frame {
    margin-right: 250px;
}

.video-annotation video {
    float: left;
}

.video-annotation .media-description {
    float: right; width: 250px; overflow: auto;
}

/* Slideshow annotation */

.slideshow-frame {
    float: left; width: 650px; height: 452px; position: relative; background: #000000;
}
.slideshow-image {
    max-width: 650px; max-height: 452px; margin: 0 auto; display: block;
}

.slideshow-play-pause {
    float: left; padding: 10px 15px 11px;
    background: #404040; cursor: pointer;
    -webkit-transition: background 0.5s;
    transition: background 0.5s;
}

.slideshow-play-pause a {
    background-image: url(../img/sprites.png); width: 14px; height: 14px;
    background-position: 0 -194px; display: block;
}

.slideshow-play-pause.pause a {
    background-position: -24px -194px;
}

.slideshow-play-pause:hover {
    background: #606060;
}

.slideshow-bottom {
    clear: both; height: 35px; background: #000000;
}

.slideshow-description {
    height: 452px; overflow: auto;
}

.slideshow-title {
    line-height: 35px; margin: 0 15px; font-weight: 700; font-size: 13px; color: #cccccc; float: left;
}

.slideshow-arrow {
    position: absolute; top: 50%; margin-top: -22px; padding: 10px; cursor: pointer;
    -webkit-transition: background 0.5s;
    transition: background 0.5s;
}

.slideshow-arrow a {
    display: block; height: 24px; width: 14px; background-image: url(../img/sprites.png);
}

.slideshow-arrow:hover {
    background-color: rgba(255,255,255,.5);
}

.slideshow-previous {
    left: 0;
}

.slideshow-previous a {
    background-position: 0 -208px;
}

.slideshow-next {
    right: 0;
}

.slideshow-next a {
    background-position: -14px -208px;
}

/* About box */

.about-box {
    overflow: visible;
}

.about-box h3 {
    font-weight: 700; font-size: 16px;
}

.about-partners {
     margin: 10px 25px 5px;
}

.about-text {
    margin: 25px;
}

.about-text p {
    font-size: 15px; margin: 5px 0;
}

.about-contents {
    overflow: auto; padding-bottom: 20px;
}

.about-collaboration {
    margin: 5px 20px;
}

.about-partner {
    width: 50%; float: left;
}

.about-partner img {
    display: block; margin: 5px auto; height: 120px;
}

.about-partner h4 {
    font-size: 15px; margin: 8px 0 0; text-align: center;
}

.about-partner h3 {
    margin: 10px 5px 5px;
}

.about-partner li {
    font-size: 14px; margin: 5px;
}

.about-partner em {
    font-style: italic; margin-right: 3px;
}

/* Bottom bar */

.bottom-bar {
    position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
}

.play-button {
    float: left; width: 14px; height: 14px;
    padding: 8px; border-radius: 15px;
    background: #404040; cursor: pointer;
    margin: 12px 0 0 15px;
    -webkit-transition: background 0.5s;
    transition: background 0.5s;
}

.play-button:hover {
    background: #909090;
}

.play-button a {
    background-image: url(../img/sprites.png); width: 14px; height: 14px; display: block;
    background-position: 0 -180px;
}

.play-button.pause a {
    background-position: -24px -180px;
}

.timelines {
    margin: 0 20px 0 60px;
}

.timeline {
    background: #303030; height: 10px; position: relative; cursor: pointer; overflow: hidden;
}

.annotation-onscreen .timeline {
    background: #181818;
}

.chapters-bar {
    margin-top: 3px; height: 42px; position: relative; cursor: pointer;
}

.chapter {
    position: absolute; top: 0;
}

.chapter-block {
    width: 100%; height: 42px; background: #303030;
    margin: 0 -1px;
    border-style: none solid; border-width: 1px;
    border-color: #000000;
    -webkit-transition: background 0.5s, opacity 0.5s;
    transition: background 0.5s, opacity 0.5s;
}

.chapter.active .chapter-block {
    background: #505050;
}

.chapter.found .chapter-block {
    background: #ffffff;
}

.annotation-onscreen .chapter-block {
    opacity: .5;
}

.chapter-title {
    position: absolute; top: 46px; left: 50%; width: 300px; margin-left: -150px;
    font-size: 9px; text-transform: uppercase;
    text-align: center; color: #909090; opacity: 0;
    font-weight: 700;
    -webkit-transition: background 0.5s;
    transition: opacity 0.5s;
}

.chapter.active .chapter-title {
    opacity: 1;
}

.chip {
    position: absolute; top: 0; width: 1px;
}

.chip-circle {
    width: 11px; height: 11px; top: 15px; left: -5px; border-radius: 6px; position: absolute;
    -webkit-transition: background 0.5s, opacity 0.5s;
    transition: background 0.5s, opacity 0.5s;
}

.chip-pole {
    position: absolute; top: 0; left: 0; width: 0; height: 15px; border-left: 1px solid; display: none;
}

.chip.hover .chip-pole {
    display: block;
}

.chip-title {
    position: absolute; top: 0; left: 3px; font-size: 10px; line-height: 13px; height: 13px;
    font-weight: 700;
    display: block; width: 0; overflow: hidden;
    -webkit-transition: width 0.5s;
    transition: width 0.5s;
}

.chip.hover .chip-title {
    width: 200px;
}

.chip.left .chip-title {
    left: auto; right: 3px; text-align: right;
}

.annotation-onscreen .chip,
.searching .chip-circle {
    opacity: .3;
}

.chip.current,
.chip.hover {
    opacity: 1;
}

.video .chip-circle {
    background: #be4477; color: #be4477;
}

.audio .chip-circle {
    background: #63be6c; color: #63be6c;
}

.slideshow .chip-circle {
    background: #f69058; color: #f69058;
}

.text .chip-circle {
    background: #5e90cb; color: #5e90cb;
}

.quote .chip-circle {
    background: #00aeb5; color: #00aeb5;
}

.link .chip-circle {
    background: #8985bb; color: #8985bb;
}

.found .chip-circle {
    background: #ffffff; opacity: 1;
    border: 2px solid; left: -6px; top: 14px; width: 9px; height: 9px;
}

.left-hiding-block, .right-hiding-block {
    position: absolute; width: 6px; height: 11px; top: 15px; background: #000000; 
}

.left-hiding-block {
    left: -6px;
}

.right-hiding-block {
    right: -6px;
}

.chapter-nav {
    position: relative;
}

.prev-chapter, .next-chapter {
    position: absolute; z-index: 4;
    width: 12px; height: 16px; margin: 4px 5px;
    background: url(../img/sprites.png); cursor: pointer;
}

.next-chapter {
    right: 0; background-position: -12px -144px;
}

.next-chapter:hover {
    background-position: -36px -144px;
}

.next-chapter.inactive {
    background-position: -12px -160px;
}

.prev-chapter {
    left: 0; background-position: 0 -144px;
}

.prev-chapter:hover {
    background-position: -24px -144px;
}

.prev-chapter.inactive {
    background-position: 0 -160px;
}

.elapsed {
    position: absolute; background: #505050; left: 0; top: 0; height: 100%;
}

.annotation-onscreen .elapsed {
    background: #282828;
}

.progress-indicator, .mouse-progress-indicator {
    position: absolute; top: 0; width: 2px; height: 100%; margin-left: -1px;
}

.progress-indicator {
    background: #c0c0c0;
}

.mouse-progress-indicator {
    background: #B8155F; display: none;
}

.media-duration, .media-position, .time-at-mouse {
    text-align: right; color: #e0e0e0; line-height: 10px; font-size: 10px; position: absolute; right: 2px; top: 0;
}

.time-at-mouse {
    color: #db8aaf; padding-right: 1px;
}

/* */
