html {
    scroll-behavior: auto !important;
}

body {
    /*min-height: 75rem;*/
    padding-top: 4.5rem;
}

.navbar-nav {}
.navbar-nav a.active {
    /*color: #003366;*/
}

#navbar-brand {
    margin-left: 1rem;
}

.nav-link {
    color: var(--bs-link-color);
    text-decoration: underline;
}

.form-check-input {
    border-color: rgba(0,0,0,.5) !important;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
}

.pagination .page-item {
    margin-bottom: 0.5rem;
}

/* decorated text */

.decorated-text {
     overflow: hidden;
     text-align: center;
 }
 
.decorated-text > span{
    position: relative;
    display: inline-block;
}

.decorated-text > span:before, .decorated-text > span:after{
    content: '';
    position: absolute;
    top: 50%;
    border-bottom: 1px solid #888;
    width: 100vw;
    margin: 0 10px;
}

.decorated-text > span:before{
    right: 100%;
}
.decorated-text > span:after{
    left: 100%;
}

/* nprogress */
#nprogress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

#nprogress .bar {
  background: #29d;

  position: fixed;
  z-index: 1031;
  top: 0;
  left: 0;

  width: 100%;
  height: 5px;
}

#nprogress .spinner {
  display: block;
  position: fixed;
  z-index: 1031;
  top: 50%;
  left: 50%;
}

/* other */
#logo-image {
    width: 50px;
}

#login-with-google {
}

#login-with-google a {
    text-decoration: none;
}

#login-with-google img {
    width: 30px;
}

#login-divider {
}

.page-title {
    font-size: 2rem;
    text-align: left;
}

.page-exercise .page-title {
    font-size: 1.25rem;
    font-weight: normal;
}

@media (min-width: 768px) {
    .page-exercise .page-title {
        font-size: 1.5rem;
        font-weight: normal;
    }
}

.block-account-info {}

.items {}

.items .item-block {
    padding: 1rem;
}

.items .item {
    padding: 1rem;
    background-color: #f5f5f5;
    border: 5px solid #dee2e6;
    border-radius: .25rem;
}

.items .item .item-id,
.items .item .item-type {
    display: none;
}

.items .item .status {
    text-align: right;
}

.items .item .word {
    font-weight: bold;
    text-align: center;
    line-height: 1.3;
}

.items .item .transcription {
    text-align: center;
    line-height: 1.3;
}

.items .item .translation {
    text-align: center;
    line-height: 1.3;
}

.items .item .wordlist,
.items .item .topic {
    text-align: center;
    line-height: 1.3;
    margin-top: .5rem;
    margin-bottom: .5rem;
}

.items .item .wordlist a,
.items .item .topic a {
    line-height: 1.3;
}

.items .item .status {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-left: 5px;
}

.items .item .data {
    display: flex;
    flex-wrap: wrap;
    /*font-size: 0.9rem;*/
    font-size: 1rem;
}

.items .item .data-id,
.items .item .data-type {
    display: none;
}

.items .item .data .title {
    margin-right: 0.3rem;
    font-weight: bold;
}

.items .item .data .value {
    /*display: inline;*/
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.items .item .data-name {
    margin-bottom: 0.3rem;
}

.items .item .data-name .title {
    font-size: 1.1rem;
    line-height: 1.3rem;
}

.items .item .actions {
    text-align: center;
    padding-top: 0.5rem;
    padding-bottom: 0;
}

.items .item .block-collapse-data {
    margin-top: .25rem;
    margin-bottom: .25rem;
}

.items .item .button-collapse-data {
    text-decoration: none;
    color: #252525;
}

.items .item .button-collapse-data span {
    margin-right: 10px;
}

h3 .button-collapse-data,
.block-account-info .button-collapse-data {
    display: inline-block;
    width: 90px;
    padding-left: 10px;
    text-align: left;
}

.items .item .collapsible-data {
}

.data-info {}
.data-info .data-type {
    display: none;
}

.block-add-item {
    text-align: right;
}

.sort-links {}
.sort-links .links {}
.sort-links .links .title {
    display: inline-block;
    padding-right: .25rem;
    padding-left: .25rem;
    font-weight: bold;
}
.sort-links .links .link {
    display: inline-block;
    padding-right: .25rem;
    padding-left: .25rem;
}

.sort-links-filter {}
.sort-links-filter .links {
    margin-top: 0.3rem;
}
.sort-links-filter .links .title {
    display: inline-block;
    padding-right: .25rem;
    padding-left: .25rem;
    font-weight: bold;
}
.sort-links-filter .links .link {
    display: inline-block;
    padding-right: .25rem;
    padding-left: .25rem;
}

#search-filter {}

.sort-links-filter #search-filter {
}
.sort-links-filter #search-filter .title {
    display: inline-block;
    padding-right: .25rem;
    padding-left: .25rem;
    font-weight: bold;
}

#block-question-answers {}

#block-question-answers #block-question {
    padding: 1rem;
    background-color: #f5f5f5;
    border: 5px solid #dee2e6;
    border-radius: .25rem;
    text-align: center;
}

#block-question-answers #block-answers {
    padding: 1rem;
    background-color: #f5f5f5;
    border: 5px solid #dee2e6;
    border-radius: .25rem;
}

#block-question-answers #block-answers .form-check {
    margin-bottom: 0.75rem !important;
}


#block-question-answers .actions .btn {
    width: auto;
}

#block-question-answers #block-answers .actions .btn {
    width: 100%;
}

.page-exercise-results {}
.page-exercise-results .actions {}
.page-exercise-results .actions .btn {
    width: 100%;
}

.block-edit {}
.form-edit {}

.block-edit .btn {
    width: 100%;
}

.data-info .btn {
    width: 100%;
}

@media (min-width: 576px) {
    .page-exercise-results .actions .btn {
        width: 25%;
    }

    .data-info .btn {
        width: 25%;
    }

    .block-edit .btn {
        /*width: 50%;*/
        width: auto;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .container, .container-md, .container-sm {
        max-width: 760px;
    }
}
