$dark-blue: #13212d;
$grey-blue: #71848d;
$medium-blue: #253946;
$light-blue: #becfd4;
$blue: #2faddd;
$light-grey: #878e94;
$medium-grey: #71848d;
$medium-grey-5: rgba(113,132,141,.2);
$dark-grey: #59626b;
$medium-white: #f5f5f5;
$light-white: #fbfbfb;

$corpus-white: #ffffff;
$corpus-blue: #0085cb;
$corpus-lighter-blue: #d1ecff;
$corpus-light-blue: #349dd6;
$corpus-light-grey: #f3f3f3;
$corpus-light-grey2: #cbcbcb;
$corpus-grey: #777777;
$corpus-dark-grey: #333333;
$corpus-black: #0f0f0f;

$content-height: 540px;
$content-width: 1110px;

body {
    background-color: $medium-white;
    -webkit-font-smoothing: antialiased;
}

button {
    font-family: sans-serif;
}

button:focus {
    outline:0;
}

.base-font {
  font-family: sans-serif;
}

#corpus-app {
    @extend .base-font;
    font-size: 12px;
    line-height: initial;
}

#corpus-app {
    border: 1px solid;
    width: $content-width;
    box-sizing: border-box;
    overflow: hidden;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;

    @import 'tabs/chrono';
    @import 'tabs/langues';
    @import 'tabs/carto';
}

@import 'components/sorting-component';
@import 'components/filter-component';
@import 'components/playlist-component';
@import 'components/discourses-component';
@import 'components/player-component';
@import 'components/player-sound-control';
@import 'components/toolbar-component';
@import 'components/notice-component';
@import 'components/notice-location-component';
@import 'components/transcript-component';
@import 'components/color-gradient';
@import 'components/autoscroll-component';


h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-weight: normal;
    font-size: inherit;
}

h2 {
    text-transform: uppercase;
    text-align: center;
}

.corpus-app-modal .notice-component {
    background-color: inherit;
}

.corpus-app-container {
    color: $dark-grey;
    box-sizing: border-box;
    background-color: $corpus-white;
    position: relative;
    overflow: hidden;
}

body.videoscreen .corpus-app-container {
    margin-top: 260px;
    height: 280px;
    overflow-x: hidden;
    overflow-y: scroll;
}

h2 {
    color: $dark-grey;
    line-height: 60px;
    font-size: 14px;
}

.corpus-app-container h2,
.corpus-app-modal h2 {
    line-height: 30px;
    margin: 12px auto;
}

.corpus-window {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: $content-height;
}

#tabs-chrono,
#tabs-thematiques,
#tabs-discours,
#tabs-carto,
#tabs-langues {
    height: 525px;
}


#tabs-chrono,
#tabs-thematiques {
    padding: 0px 20px;
}

#tabs-discours,
#tabs-thematiques {
    overflow: hidden;
    //height: 100%;
}

.corpus-app-wrapper {
    background-color: $corpus-light-grey;
    border-left: 1px solid $corpus-black;
    position: relative;
}

.corpus-app-modal,
.corpus-app-container,
.corpus-app-wrapper {
    box-sizing: border-box;
    height: $content-height;
    width: 50%;
}

.corpus-app-modal {
    overflow: hidden;
}
.corpus-app-modal,
.corpus-app-container {
    display: block;
    border-top: none;
}

.corpus-app-container.window {
    overflow-x: hidden;
    overflow-y: auto;
    height: 500px;
}

.corpus-app-modal {
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: $medium-white;
    border-right: 1px solid $dark-grey;
    overflow-y: scroll;
    z-index: 1;
}

.corpus-app-container {
    float: left;
}

.corpus-app-wrapper {
    float: right;
}



i.fa {
    font-size: 0px;
    text-align: center;
    box-sizing: border-box;
}

i.fa::before {
    font-size: 12px;
}

.transcript-container,
.transcript-iframe {
  width: 100%;
  height: 100%;
}
