/* T:wqitre de Page */
header {
    background-color: #e6e7e9;
    margin-bottom: 15px;
}

body {
    height: 100%;
}

.menu-bottom {
    background-color: #f8f8f8;

}

.logo-icj {
    height: 90px;
    margin-top: 15px;
}

.logo-umpa {
    height: 55px;
    margin-top: 30px;
}

.top-title-div {
    text-align:center;
    margin-top: 10px;
    font-family: 'Roboto Slab', serif;
}

.top-title:hover {
    text-decoration: none;
}

.navbar-header {
    min-height: 5px;
}

#cml-navbar-collapse {
    padding-left: 0px;
    font-size: 18px;
}

#cml-navbar-collapse .navbar-nav {
    width: 100%;
    text-align: center;
}

#cml-navbar-collapse .navbar-nav > li {
      float: none;
      display: inline-block;
}

#content {
    padding: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}

/* Page background */
.page-container {
    min-height: calc(100% - 434px); /* 100% - height(header=245) - height(footer=130) - margin(header=10) - border(footer=1) */
    height: auto !important;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 10%;
    padding-right: 10%;
}

#page-title {}

.navbar-default {
    background-color: transparent;
    border: 0;
}

.navbar-default .navbar-nav > li > a {
    color: rgb(51,51,51);
}

.navbar-default .navbar-nav > .active > a,
 .navbar-default .navbar-nav > .active > a:hover,
 .navbar-default .navbar-nav > .active > a:focus {
    color: white;
    background-color: rgb(51,51,51);
}

.language-form {
    margin-top: 10px;
}

#mersenne-header {
    background-color: #00b2b2;
    color: rgb(51,51,51);
}

#mersenne-header .row {
    margin: 0px;
}

#mersenne-header h1 {
    font-size: 40px;
    margin-top: 0px;
    margin-bottom: 20px;
}

.cml-logo-div-left {
    width: 90px;
    margin-left: 4%;
    float: left;
    height: 115px;
}

.cml-logo-div-right {
    width: 186px;
    margin-right: 4%;
    float: left;
    height: 115px;
}

.cml-title {
    float: left;
    width: calc(92% - 276px);
    height: 105px;
    text-align: center;
    display: table;
}

.h1-vcenter {
    display: table-cell;
    vertical-align: middle;
}

.menu-block {
    float: left;
    width: calc(96% - 70px);
    padding-left: 6%;
    padding-right: 6%;
}

.language-block {
    float: left;
    width: 70px;
}

.navbar-toggle {
    float: left;
    margin-left: 50%;
}

@media all and (max-width: 600px) {
    .cml-logo-div-left, .cml-logo-div-right {
        display: none;
    }

    .cml-title {
        float: none;
        width: 100%;
        /*display: block;*/
        margin-left: auto;
        margin-right: auto;
    }

    .h1-vcenter {
        /*display: block;*/
    }
}

@media all and (max-width: 1100px) {
    .menu-block {
        padding-left: 2%;
        padding-right: 2%;
    }
}

@media all and (max-width: 1000px) {
    .menu-block {
        padding-left: 0px;
        padding-right: 0px;
    }
}

@media (max-width: 991px) {
  .navbar-header {
      float: none;
  }
  .navbar-left,.navbar-right {
      float: none !important;
  }
  .navbar-toggle {
      display: block;
  }
  .navbar-collapse {
      border-top: 1px solid transparent;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  }
  .navbar-fixed-top {
      top: 0;
      border-width: 0 0 1px;
  }
  .navbar-collapse.collapse {
      display: none!important;
  }
  .navbar-nav {
      float: none!important;
      margin-top: 7.5px;
  }
  .navbar-nav>li {
      float: none;
  }
  .navbar-nav>li>a {
      padding-top: 10px;
      padding-bottom: 10px;
  }
  .collapse.in{
      display:block !important;
  }
}

.menu-bottom {
    border: 0px;
    margin-left:20%;
    margin-bottom: 0px;
}

.menu-bottom .navbar-nav {
    float:left;
}

.menu-bottom .navbar-nav > li {
    float:left;
}

.journal-logo {
    text-align:center;
    max-width:400px;
    padding-left: 20px;
    padding-right: 20px;
}

.logo-mersenne {
    height: 60px;
}

.logo-footer {
    height: 45px;
}

/*
.navbar-default .navbar-nav > li > a {
    color: rgb(51,51,51);
}
*/

#mersenne-header a {
    color: rgb(51,51,51);
}

#mersenne-header .active .dropdown-menu a {
    color: rgb(51,51,51);
    background-color: white;
}

#mersenne-header a:hover,
#mersenne-header a:focus,
#mersenne-header .active a,
#mersenne-header .active a:hover,
#mersenne-header .active .menu-focus {
    color: white;
    background-color: rgb(51,51,51);
}

#mersenne-header .journal-logo a:hover,
#mersenne-header .journal-logo a:focus,
#mersenne-header .journal-logo .active a,
#mersenne-header .journal-logo .active a:hover,
#mersenne-header .journal-logo .active .menu-focus {
    color: white;
    background-color: #00b2b2;
}

#mersenne-header .journal-logo img {
    width:auto;
    height: 200px;
    padding-left:20px;
}

.dropdown-accordion {
    display:none;
    float: right;
}

.search-button-div {
    width:100px;
    padding-right:0px;
    padding-left:0px;
}

.browse-or {
    text-align:center;
    margin-top:7px;
}

#footer {
    background-color: #027ec4;
}

.footer-text {
    padding-left: 15%;
    padding-top: 15px;
    color: white;
    font-size: 12px;
}

.footer-text a {
    color: white;
}

#footer {
    margin-top: 30px;
    padding-top: 15px;
    position: relative;
    height: 149px;
}

.logos-footer {
    margin-bottom: 10px;
    font-size: 12px;
    color: white;
}

.logos-footer a {
    margin-right: 7%;
}

.logos-footer a:last-child {
    margin-right: 0px;
}

#sidebar {
    width: 250px;
/*    transition: all 0.3s;*/
    padding-top: 0px;
}

/*

.wrapper-sidebar {
    display: flex;
    align-items: stretch;
}

#sidebar.active {
    margin-left: -250px;
}
*/

#toggle-sidebar {
    display: none;
    margin-bottom: 20px;
}

.cms-breadcrumb {
  list-style: none;
  display: inline-block;
}
.cms-breadcrumb .icon {
  font-size: 14px;
}
.cms-breadcrumb li {
  float: left;
}
.cms-breadcrumb li a {
  color: white;
  display: block;
  background: #00b2b2; /*#3498db;*/
  text-decoration: none;
  position: relative;
  height: 40px;
  line-height: 40px;
  padding: 0 10px 0 5px;
  text-align: center;
  margin-right: 23px;
}
.cms-breadcrumb li:nth-child(even) a {
  background-color: #00b2b2; /*#2980b9;*/
}
.cms-breadcrumb li:nth-child(even) a:before {
  border-color: #00b2b2; /*#2980b9;*/
  border-left-color: transparent;
}
.cms-breadcrumb li:nth-child(even) a:after {
  border-left-color: #00b2b2; /*#2980b9;*/
}
.cms-breadcrumb li:first-child a {
  padding-left: 15px;
  -moz-border-bottom-left-radius: 4px;
  -moz-border-top-left-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
  -webkit-border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}
.cms-breadcrumb li:first-child a:before {
  border: none;
}
.cms-breadcrumb li:last-child a {
  padding-right: 15px;
  -moz-border-bottom-right-radius: 4px;
  -moz-border-top-right-radius: 4px;
  -webkit-border-bottom-right-radius: 4px;
  -webkit-border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
}
.cms-breadcrumb li:last-child a:after {
  border: none;
}
.cms-breadcrumb li a:before, .cms-breadcrumb li a:after {
  content: "";
  position: absolute;
  top: 0;
  border: 0 solid #00b2b2; /*#3498db;*/
  border-width: 20px 10px;
  width: 0;
  height: 0;
}
.cms-breadcrumb li a:before {
  left: -20px;
  border-left-color: transparent;
}
.cms-breadcrumb li a:after {
  left: 100%;
  border-color: transparent;
  border-left-color: #00b2b2; /*#3498db;*/
}
.cms-breadcrumb li a:hover {
  background-color: rgb(51,51,51); /*#ffe898;*/
  color: white;
}
.cms-breadcrumb li a:hover:before {
  border-color: rgb(51,51,51); /*#ffe898;*/
  border-left-color: transparent;
}
.cms-breadcrumb li a:hover:after {
  border-left-color: rgb(51,51,51) /* #ffe898; */
}
.cms-breadcrumb li.active a {
  background-color: rgb(51,51,51); /*#ffe898;*/
  color: white;
}
.cms-breadcrumb li.active a:before {
  border-color: rgb(51,51,51); /*#ffe898;*/
  border-left-color: transparent;
}
.cms-breadcrumb li.active a:after {
  border-left-color: rgb(51,51,51); /*#ffe898;*/
}

.cms-breadcrumb li.breadcrumb-previous a, .cms-breadcrumb li.breadcrumb-next a {
    margin-right: 5px;
}

.cms-breadcrumb li:last-child a {
    margin-right: 5px;
}

ul.cms-breadcrumb {
    padding-left: 0px;
}

.article-breadcrumb {
    padding-left: 6%;
    padding-right: 0px;
    right: 18%;
}

.btn-tex {
    padding-right:0px;
    text-align:right;
    max-width: 200px;
}

.site-settings {
    font-size: 30px;
}


@media all and (max-width: 1400px) {
    .page-container .journal-logo {
        max-width:300px;
    }
}

@media all and (max-width: 1300px) {
    .page-container .journal-logo {
        max-width:200px;
    }
}

@media all and (max-width: 1199px) {
    .browse-or {
        width: 40px;
        height: 27px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .footer-text {
        padding-left: 50px;
    }

    .page-container .journal-logo {
        display: none;
    }

    .regular-content {
        margin-left: 8%;
    }

    .article-breadcrumb {
        right: 0px;
    }

    .btn-tex {
        margin-bottom: 10px;
        padding-left: 0px;
        text-align: left;
    }
}

@media all and (max-width: 1200px) {
    .cms-breadcrumb {
        padding-left: 0px;
    }

    .logos-footer a {
        margin-right: 5%;
    }
}

@media all and (max-width: 1050px) {
    .footer-logo-text {
        display: none;
    }
}

@media all and (max-width: 900px) {
    #mersenne-header {
        height: 140px;
    }

    .page-container {
        min-height: calc(100% - 291px);
        padding-top: 20px;
    }

    #mersenne-header .journal-logo {
        width: 120px;
    }

    .journal-header-content {
        width: calc(100% - 130px);
    }

    #mersenne-header .journal-logo img {
        height: 100px;
        padding-left:0px;
    }

    #mersenne-header h1 {
        float: left;
        font-size: 20px;
        margin-bottom: 10px;
        line-height: 40px;
    }

    #search-group-btn {
        display:none;
    }

    #line-container, .search-group {
        width: 250px;
        margin-right: 10px;
        height: 34px;
    }

    .menu-top {
        display: none;
    }

    .dropdown-accordion {
       display:block;
    }

    .journal-title:after {
        display:block;
        clear: both;
        content: '';
    }

    .page-container h2 {
        margin-top: 10px;
    }

    .cms-page {
        padding-left: 10px;
        margin-bottom: 20px;
    }

    .footer-text {
        padding-left: 20px;
    }

    .logo-mersenne {
        height: 50px;
    }

    .logo-footer {
        height: 35px;
    }

    .logos-footer a {
        margin-right: 10px;
    }

    .regular-content {
        margin-left: 0px;
    }
}

@media all and (max-width: 768px) {

    .page-container {
        min-height: calc(100% - 331px);
        padding: 0;
    }

    #footer {
        height: 189px;
    }

    #sidebar {
        display: none;
        width: 100%;
    }
    #toggle-sidebar {
       display: block;
    }
    #results {
        width: 100%;
    }
}

@media all and (min-width: 768px) {
    #sidebar {
        display: block;
    }
    #toggle-sidebar {
       display: none;
    }
    #results {
        width: calc(100% - 250px);
    }
}

@media all and (max-width: 700px) {
    #mersenne-header {
        height: 170px;
    }

    .page-container {
        min-height: calc(100% - 361px);
    }

    .page-container .journal-logo {
        display: none;
    }

    .browse-or {
        margin-right: 30%;
    }

    #line-container, .search-group {
        width: 300px;
        margin-top: 5px;
    }

    .search-button-div {
        margin-top: 10px;
    }
}

@media all and (max-width: 600px) {

    #search-button-text {
        display: none;
    }

    .search-button-div {
        width: 40px;
    }
}

@media all and (max-width: 560px) {
    #line-container, .search-group {
        width: 220px;
    }
}

@media all and (max-width: 500px) {
    #mersenne-header {
        height: 160px;
    }

    .page-container {
        min-height: calc(100% - 371px);
    }

    #mersenne-header .journal-logo {
        width: 90px;
    }

    .journal-header-content {
        width: calc(100% - 100px);
    }

    #mersenne-header .journal-logo img {
        height: 80px;
    }

    #mersenne-header h1 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .logo-footer {
        margin-top: 5px;
    }
}

@media all and (max-width: 450px) {
    #footer {
        height: 209px;
    }

    .page-container {
        min-height: calc(100% - 391px);
    }

    #mersenne-header h1 {
        font-size: 14px;
    }

    .journal-header-content {
        padding-right: 0px;
    }
}

@media all and (max-width: 400px) {
    #mersenne-header .journal-logo {
        width: 70px;
    }

    .journal-header-content {
        width: calc(100% - 80px);
    }

    #mersenne-header .journal-logo img {
        height: 60px;
    }

    #line-container, .search-group {
        width: 200px;
    }

    .searchinput {
        padding-left: 3px;
    }

    .logo-footer {
        height: 30px;
    }

}

.logos-footer a.no-margin {
    margin-right: 0px;
}

.menu-top {
    border-top: 1px solid rgb(51,51,51);
    border-bottom: 1px solid rgb(51,51,51);
    border-radius: 0px;
}

/* Barre de recherche */
.search-bar-row {
    background-color: #00b2b2;
    padding-top: 16px;
}

#search-bar {
    padding-top: 0px;
    margin-left: 5px;
}

#mersenne-header .search-button {
    background-color: rgb(51,51,51);
    border-color: rgb(51,51,51);
    color: white;
}

#search-bar .btn-primary {
    background-color: rgb(51,51,51);
    border-color: rgb(51,51,51);
    color: white;
}

#line-container {
    padding-left: 0px;
}

/* Pagination resultat recherche */
.pagination > .active > a {}
.pagination > li > a {}

/* Container menu + page */
.content-container {}

/* Contenu de la page */
.cms-page {}

/* Menu gauche */
.sidebar{}
li.mersenne-cms-menu-lvl1 {}
li.mersenne-cms-menu-lvl2 {}
.nav-tabs > li.active > a:hover {}
.nav-tabs > li.active > a {}
.nav-tabs > li > a:hover {}
.nav-tabs > li > a:focus {
    outline: none;
}

.page-container .row {
    margin: 0px;
}

.cms-page-content {
    margin-bottom: 20px;
    padding-bottom: 20px;
    margin-left: 5%;
    width: 95%;
}

.volume-ligne, .journal-content {
    margin-top: 50px;
    font-size: 20px;
}

.recent-articles {
    max-height: 500px;
    min-width: 380px;
    padding-left: 5%;
    padding-right: 5%;
}

.recent-articles-header {
    margin-top: 0px;
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgb(51,51,51);
    text-align: center;
}

.article-short {
    font-size: 14px;
}

.article-short h2 {
    font-size: 14px;
    margin: 0px;
}

.article-tab {
    font-size: 16px;
}

.article-title a {
    color: #333;
}

.facet-header, .facet-header-no-click {
    background-color: rgb(51,51,51);
    color: white;
}

.lightbox {
    height: 150px;
    border: 1px solid #c7c7c7;
}

.btn-toggle, .btn-toggle:hover, .btn-toggle:focus, .btn-toggle:active {
    color: white;
    background-color: rgb(51,51,51);
    border-color: rgb(51,51,51);
}

#main-dropdown-menu {
    left: -143px;
    width: 200px;
}

.panel-heading > a {
    text-decoration: none;
    outline-style: none;
}

.panel-group {
    margin-bottom: 0px;
}

.panel-group .panel {
    border-radius: 0px;
}

.panel-title > a:hover {
    background-color: rgb(51,51,51);
    color: white;
    text-decoration: none;
    outline-style: none;
}

.panel-title {
    margin-top: 0px;
    line-height: 24px;
}

.panel-body a {
    line-height: 40px;
}

.citation-document-title {
    font-weight: bold;
}

.citation-volume {
    font-weight: normal;
}

.container-flex {
    font-size: 16px;
}

.container-flex > .flex-group .flex-item {
    margin-left: 0px;
    margin-right: 20px;
}
