#left {
    float: left;
}

#right {
    float: right;
}

#center {
    float: left;
    width: 100%;
}

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

.content:after {
    clear: both;
}

.upper-right {
    position: relative;
    display: block;
}

.upper-right-content {
    max-width: calc(100% - 50px);
}

@media all and (min-width: 700px) {
    .upper-right button {
        position: absolute;
        top: 0;
        right: 0px;
    }
}

@media not all and (min-width: 700px) {
    .upper-right button {
        position: absolute;
        top: 0;
        right: 19px;
    }
}

#how-to-cite-div {
    overflow-wrap: normal;
    white-space: normal;
    font-family: inherit;
}

.citation-author {
    font-variant: small-caps;
}

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

.citation-publication-title {
    font-style: italic;
}

.small-tabs {
    font-size: 16px;
}

.wrapper-float:after {
    clear:both;
    display: block;
    content: " ";
}

.highlight {
    font-size: 93%;
    color: #888888;
    padding: 0px 0px 0px 20px;
}

.highlight strong {
    color: #666
}

.results-header {
    margin-bottom: 20px;
}

.results-header h4 {
    margin-top: 0px;
}

.pagination {
    margin-bottom: 0px;
}

.facet-header, .facet-header-no-click {
    background-color: #F7A574; /*#f2f2f2;*/
    height: 35px;
    border-radius: 2px;
    margin-bottom: 5px;
    padding-left: 10px;
    padding-right: 5px;
    min-width: 180px;
}

.facet-header:hover {
    cursor: pointer;
}

.facet-header:after, .facet-header-no-click:after {
    clear: both;
}

.facet-header-title {
    float: left;
}

.facet-header-glyph {
    margin-top: 10px;
}

.facet {
    padding-left: 20px;
    text-align: left;
}

.facet-active {
    background-color: #FEF2C4;
    text-decoration: none;
}

.facet-active:hover a {
    text-decoration: line-through;
}

.facet-button {
    padding: 3px;
    font-size: 10px;
    line-height: 1;
    margin-top: -1px;
    margin-left: 5px;
}

.separator {
    margin-top:15px;
    margin-bottom:15px;
}

.article-title {
    font-weight: bold;
}

.article-pages {
    text-align: right;
}

.collection-title {
    font-weight: bold;
    font-size: 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: navy;
  display: block;
  background: lightblue; /*#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: lightblue;
}
.cms-breadcrumb li:nth-child(even) a:before {
  border-color: lightblue;
  border-left-color: transparent;
}
.cms-breadcrumb li:nth-child(even) a:after {
  border-left-color: lightblue;
}
.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 lightblue;
  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: lightblue;
}
.cms-breadcrumb li a:hover {
  background-color: navy;
  color: white;
}
.cms-breadcrumb li a:hover:before {
  border-color: navy;
  border-left-color: transparent;
}
.cms-breadcrumb li a:hover:after {
  border-left-color: navy
}
.cms-breadcrumb li.active a {
  background-color: navy;
  color: white;
}
.cms-breadcrumb li.active a:before {
  border-color: navy;
  border-left-color: transparent;
}
.cms-breadcrumb li.active a:after {
  border-left-color: navy;
}

.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;
}

.grid-container {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 50px 50px;
    margin: 50px;
}

.journal-icon-grid, .article-icon-grid {
    height: 200px;
    margin-bottom: 10px;
    border: 1px solid #777;
    box-shadow: 3px 4px 3px #888888;
}

.journal-grid {
    text-align: center;
    max-width: 190px;
    /*background-color: #777;*/
}

.journal-text-grid {
}

@media all and (min-width:800px) {
    .grid-container {
        grid-template-columns: auto auto auto;
    }
}

@media all and (min-width:1000px) {
    .grid-container {
        grid-template-columns: auto auto auto auto;
    }
}

@media all and (min-width:1200px) {
    .grid-container {
        grid-template-columns: auto auto auto auto auto;
    }
}

@media all and (min-width:1400px) {
    .grid-container {
        grid-template-columns: auto auto auto auto auto auto;
    }
}

.toggle.ios, .toggle-on.ios, .toggle-off.ios { border-radius: 20px; }
.toggle.ios .toggle-handle { border-radius: 20px; }
.btn-default.active.toggle-off {
    color: #999;
}

.onoffswitch-group {
    padding-top: 13px;
}

#lang-switch {
    font-size: smaller
}

#language-switch {
    text-align: left;
}

.onoffswitch {
    float: right;
    position: relative;
    width: 70px;
    height: 34px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    margin-right: 10px;
    margin-top: 2px;
}

.onoffswitch-checkbox {
    display: none;
}

.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #999999;
    border-radius: 20px;
}

.onoffswitch-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}

.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block;
    float: left;
    width: 50%;
    height: 30px;
    padding: 0;
    line-height: 30px;
    font-size: 14px;
    color: white;
    font-family: Trebuchet, Arial, sans-serif;
    font-weight: bold;
    box-sizing: border-box;
}

.onoffswitch-inner:before {
    content: attr(data-on);
    /*content: "ON";*/
    padding-left: 10px;
    /*background-color: #34A7C1; color: #FFFFFF;*/
    background-color: #EEEEEE;
    color: rgb(51, 51, 51); /*#999999;*/
}

.onoffswitch-inner:after {
    content: attr(data-off);
    /*content: "OFF";*/
    padding-right: 10px;
    background-color: #EEEEEE;
    color: #999999;
    text-align: right;
}

.onoffswitch-switch {
    display: block;
    width: 18px;
    height: 18px;
    margin: 6px;
    background: #FFFFFF;
    position: absolute;
    top: 0;
    bottom: 0;
    box-sizing: content-box;
    right: 36px;
    border: 2px solid #999999;
    border-radius: 20px;
    transition: all 0.3s ease-in 0s;
}

.onoffswitch-switch-label {
    font-size: 8px;
    font-weight: 100;
    text-align: center;
    line-height: normal;
    margin-top: 2px;
    border: 0px;
    color: #666666;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}

#lang_flags .onoffswitch-inner:before {
    content: url('/static/img/flag-french.png');
    padding-top: 4px;
}

#lang_flags .onoffswitch-inner:after {
    content: url('/static/img/flag-english.png');
    padding-top: 4px;
}

#lang_flags {
    width: 70px;
}

#lang_flags .onoffswitch-switch {
    right: 36px;
}

#lang_flags .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}

.bibitemcls {
    padding-left: 40px;
    text-indent: -40px;
}

.container-flex {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
}

.container-flex > .flex-group {
    display: flex;
    flex-flow: column wrap;
    flex: 0 1 auto;
    max-height: 100%;
}

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

.container-flex-xs, .container-flex-small {
    height: 250px;
}

.container-flex-medium {
    height: 400px;
}

.container-flex-large-col {
    height: 400px;
}

.container-flex-large {
    height: 500px;
}

@media all and (max-width: 1250px) {
    .container-flex-large, .container-flex-large-col {
        height: 800px;
    }
}

@media all and (max-width: 1000px) {
    .container-flex-large-col {
        height: 1000px;
    }
}

@media all and (max-width: 900px) {
    .container-flex-xs, .container-flex-small {
        height: 500px;
    }

    .container-flex-medium {
        height: 800px;
    }

    .container-flex-large, .container-flex-large-col {
        height: 1000px;
    }
}

@media all and (max-width: 800px) {
    .container-flex-large, .container-flex-large-col {
        height: 1500px;
    }
}

@media all and (max-width: 600px) {
    .container-flex-xs, .container-flex-small, .container-flex-medium, .container-flex-large {
        height: 100%;
    }
}

.italique {
    font-style: italic;
}

.align-right {
    text-align: right;;
}

.align-center {
    text-align: center;
}

.table-margin-left {
    margin-left: 30px;
}

.facet-header, .facet-header-no-click {
    min-width: unset;
}



@media all and (max-width: 1200px) {
    #results {
       padding-right: 10px;}
}

@media all and (max-width: 992px) {
.col-xs-3 {
        padding-left: 0;
    }
    }

#toggle-sidebar {
    margin-top: 7px;
    margin-bottom: 7px;
}

#sidebarCollapse {
    text-shadow: none;
    margin: 5px auto;
}

@media all and (min-width: 768px) {
    #sidebarCollapse {
        display: none;
    }
    #sidebar {
    display: block !important;}
}
@media all and (max-width: 768px) {
#sidebarCollapse {
        display: block;
    }
    #sidebar {
    display: none;}
}


.float-minus-100 {
    float:left;
    padding-left: 15px;
    width: 100%;
}

@media all and (min-width:992px) {
    .float-minus-100 {
        width: calc(100% - 100px)
    }
}
