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

.citation-series {
    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;
}

.page-container .row.breadcrumb-row {
    margin-left:-15px;
    margin-bottom:20px;
}

.breadcrumb-sm {
    display: block;
    margin-left: 15px;
}
.breadcrumb-lg {
    display: none;
}

@media all and (min-width: 600px) {
    .breadcrumb-sm {
        display: none;
    }
    .breadcrumb-lg {
        display: block;
    }
}

.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;
    justify-content: center;
    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: 500px) {
    .grid-container {
        grid-template-columns: auto auto;
        justify-content: inherit;
    }
}

@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/ptf/img/flag-french.png");
    padding-top: 4px;
}

#lang_flags .onoffswitch-inner:after {
    content: url("/static/ptf/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;
}

.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.container-flex-header > .flex-group {
    max-height: calc(100% - 40px);
}

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

.container-flex-one {
    margin-bottom: 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);
    }
}

.formula {
    text-align: center;
    width: 100%;
    margin-top: 0px;
    margin-bottom: 0px;
    border: 0px;
}

.formula td {
    border: 0px;
}

.formula-inner {
    width: calc(100% - 90px);
}

.formula-label {
    width: 90px;
    vertical-align: middle;
    text-align: right;
}

.smallcaps {
    font-variant: small-caps;
}

.issue-title,
.issue-title .article-trans-title,
.issue-title .article-title {
    font-size: 24px;
}

.article-issue-title,
.article-issue-title .article-trans-title,
.article-issue-title .article-title {
    font-size: 16px;
}

.article-issue-title-label {
    font-size: 14px;
}

.outline-div {
    display: none;
    top: 0;
    background-color: white;
    overflow-y: auto;
    margin-left: 20px;
    margin-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    position: fixed;
    width: 220px;
    padding-left: 1px;
}

.outline-div .panel-heading {
    margin: 0;
}

.outline-div .panel-body {
    padding: 5px;
}

.outline-div ul > li > a {
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 30px;
}

.outline-div .submenu {
    padding-left: 25px;
}

.outline-div ul > li > a.submenu {
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 24px;
    font-size: 14px;
}

.outline-sm {
    display: block;
    /*
    09/03/2020: Does not work on my smartphone (Chrome, Samsung Internet)
                => Use bootstrap .afix instead
    position: sticky;
    position: -webkit-sticky;
    */
    background-color: white;
    z-index: 1;
    top: 0;
    margin-bottom: 20px;
}

@media all and (min-width: 1400px) {
    .outline-sm {
        display: none;
    }

    .outline-div {
        display: block;
    }
}

@media all {
    #changeMargin {
        display: block;
    }
}

@media all and (min-width: 1500px) {
    .outline-div .panel-body {
        padding: 15px;
    }
}

.fa-file-pdf-o {
    color: #e65f1e;
}

.no-bullet {
    list-style-type: none;
}

.book-toc > * {
    margin-bottom: 10px;
}

.img-cc {
    height: 30px;
}

.img-ga {
    max-height: 300px;
    margin: auto;
    display: block;
}

.img-summary {
    max-width: 110px;
    max-height: 150px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #777;
    box-shadow: 3px 4px 3px #888888;
    margin-top: 25px;
    display: block;
}

.checkbox.checkbox-switch {
    padding-left: 0;
    margin-top: 0px;
    margin-bottom: 0px;
}

.checkbox.checkbox-switch label,
.checkbox-inline.checkbox-switch {
    display: inline-block;
    position: relative;
    padding-left: 0;
}
.checkbox.checkbox-switch label input,
.checkbox-inline.checkbox-switch input {
    display: none;
}
.checkbox.checkbox-switch label span,
.checkbox-inline.checkbox-switch span {
    width: 35px;
    border-radius: 20px;
    height: 18px;
    border: 1px solid #dbdbdb;
    background-color: rgb(255, 255, 255);
    border-color: rgb(223, 223, 223);
    box-shadow: rgb(223, 223, 223) 0px 0px 0px 0px inset;
    transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}
.checkbox.checkbox-switch label span:before,
.checkbox-inline.checkbox-switch span:before {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgb(255, 255, 255);
    content: " ";
    top: 0;
    position: relative;
    left: 0;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.checkbox.checkbox-switch label > input:checked + span:before,
.checkbox-inline.checkbox-switch > input:checked + span:before {
    left: 17px;
}

/* Switch Default */
.checkbox.checkbox-switch label > input:checked + span,
.checkbox-inline.checkbox-switch > input:checked + span {
    background-color: rgb(180, 182, 183);
    border-color: rgb(180, 182, 183);
    box-shadow: rgb(180, 182, 183) 0px 0px 0px 8px inset;
    transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}
.checkbox.checkbox-switch label > input:checked:disabled + span,
.checkbox-inline.checkbox-switch > input:checked:disabled + span {
    background-color: rgb(220, 220, 220);
    border-color: rgb(220, 220, 220);
    box-shadow: rgb(220, 220, 220) 0px 0px 0px 8px inset;
    transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}
.checkbox.checkbox-switch label > input:disabled + span,
.checkbox-inline.checkbox-switch > input:disabled + span {
    background-color: rgb(232, 235, 238);
    border-color: rgb(255, 255, 255);
}
.checkbox.checkbox-switch label > input:disabled + span:before,
.checkbox-inline.checkbox-switch > input:disabled + span:before {
    background-color: rgb(248, 249, 250);
    border-color: rgb(243, 243, 243);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Switch Light */
.checkbox.checkbox-switch.switch-light label > input:checked + span,
.checkbox-inline.checkbox-switch.switch-light > input:checked + span {
    background-color: rgb(248, 249, 250);
    border-color: rgb(248, 249, 250);
    box-shadow: rgb(248, 249, 250) 0px 0px 0px 8px inset;
    transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}

/* Switch Dark */
.checkbox.checkbox-switch.switch-dark label > input:checked + span,
.checkbox-inline.checkbox-switch.switch-dark > input:checked + span {
    background-color: rgb(52, 58, 64);
    border-color: rgb(52, 58, 64);
    box-shadow: rgb(52, 58, 64) 0px 0px 0px 8px inset;
    transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}
.checkbox.checkbox-switch.switch-dark label > input:checked:disabled + span,
.checkbox-inline.checkbox-switch.switch-dark > input:checked:disabled + span {
    background-color: rgb(100, 102, 104);
    border-color: rgb(100, 102, 104);
    box-shadow: rgb(100, 102, 104) 0px 0px 0px 8px inset;
    transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}

/* Switch Success */
.checkbox.checkbox-switch.switch-success label > input:checked + span,
.checkbox-inline.checkbox-switch.switch-success > input:checked + span {
    background-color: rgb(40, 167, 69);
    border-color: rgb(40, 167, 69);
    box-shadow: rgb(40, 167, 69) 0px 0px 0px 8px inset;
    transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}
.checkbox.checkbox-switch.switch-success label > input:checked:disabled + span,
.checkbox-inline.checkbox-switch.switch-success > input:checked:disabled + span {
    background-color: rgb(153, 217, 168);
    border-color: rgb(153, 217, 168);
    box-shadow: rgb(153, 217, 168) 0px 0px 0px 8px inset;
}

/* Switch Danger */
.checkbox.checkbox-switch.switch-danger label > input:checked + span,
.checkbox-inline.checkbox-switch.switch-danger > input:checked + span {
    background-color: rgb(200, 35, 51);
    border-color: rgb(200, 35, 51);
    box-shadow: rgb(200, 35, 51) 0px 0px 0px 8px inset;
    transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}
.checkbox.checkbox-switch.switch-danger label > input:checked:disabled + span,
.checkbox-inline.checkbox-switch.switch-danger > input:checked:disabled + span {
    background-color: rgb(216, 119, 129);
    border-color: rgb(216, 119, 129);
    box-shadow: rgb(216, 119, 129) 0px 0px 0px 8px inset;
    transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}

/* Switch Primary */
.checkbox.checkbox-switch.switch-primary label > input:checked + span,
.checkbox-inline.checkbox-switch.switch-primary > input:checked + span {
    background-color: rgb(0, 105, 217);
    border-color: rgb(0, 105, 217);
    box-shadow: rgb(0, 105, 217) 0px 0px 0px 8px inset;
    transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}
.checkbox.checkbox-switch.switch-primary label > input:checked:disabled + span,
.checkbox-inline.checkbox-switch.switch-primary > input:checked:disabled + span {
    background-color: rgb(109, 163, 221);
    border-color: rgb(109, 163, 221);
    box-shadow: rgb(109, 163, 221) 0px 0px 0px 8px inset;
    transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}

/* Switch Info */
.checkbox.checkbox-switch.switch-info label > input:checked + span,
.checkbox-inline.checkbox-switch.switch-info > input:checked + span {
    background-color: rgb(23, 162, 184);
    border-color: rgb(23, 162, 184);
    box-shadow: rgb(23, 162, 184) 0px 0px 0px 8px inset;
    transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}
.checkbox.checkbox-switch.switch-info label > input:checked:disabled + span,
.checkbox-inline.checkbox-switch.switch-info > input:checked:disabled + span {
    background-color: rgb(102, 192, 206);
    border-color: rgb(102, 192, 206);
    box-shadow: rgb(102, 192, 206) 0px 0px 0px 8px inset;
    transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}

/* Switch Warning */
.checkbox.checkbox-switch.switch-warning label > input:checked + span,
.checkbox-inline.checkbox-switch.switch-warning > input:checked + span {
    background-color: rgb(255, 193, 7);
    border-color: rgb(255, 193, 7);
    box-shadow: rgb(255, 193, 7) 0px 0px 0px 8px inset;
    transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}
.checkbox.checkbox-switch.switch-warning label > input:checked:disabled + span,
.checkbox-inline.checkbox-switch.switch-warning > input:checked:disabled + span {
    background-color: rgb(226, 195, 102);
    border-color: rgb(226, 195, 102);
    box-shadow: rgb(226, 195, 102) 0px 0px 0px 8px inset;
    transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}
