/* bootstrap */

body {
    font-weight: 300;
    font-size: .8rem;
}

@media (min-width: 576px) {
    body {
        font-size: 1.0rem;
    }
}

@media (min-width: 768px) {
    body {
        font-size: .9rem;
    }
}

h1, .h1 {
  font-size: 1.75rem;
}

h2, .h2 {
  font-size: 1.6rem;
}

h3, .h3 {
  font-size: 1.4rem;
}

h4, .h4 {
  font-size: 1.2rem;
}

h5, .h5 {
  font-size: 1.05rem;
}

h6, .h6 {
  font-size: .95rem;
}

.small {
    font-size: 90%;
}

@media (min-width: 768px) {
  .small {
    font-size: 80%;
  }
}

input[type="number"] {
    -moz-appearance: textfield;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.alert-success {
    color: #60801f;
    background-color: #eaf2d9;
    border-color: #c1ccaa;
}

/* custom overall */

@media (min-width: 992px) {
    .anchor {
        position: relative;
        top: -125px;
        height: 1px;
    }
}

@media (min-width: 992px) {
    .moser-heading-content:first-child {
        padding-top: 10rem;
    }
}

.moser-bg-yellow-20 {
    background-color: #fffdf3;
}

.moser-bg-yellow-40 {
    background-color: #EFEBD2;
}

.moser-navbar-brand-medium {
    width: 14rem;
}

@media (max-width: 575.98px) {
    .u-header .moser-navbar-brand-medium {
        display: none;
    }
}

@media (min-width: 992px) {
    .u-header .moser-navbar-brand-medium {
        display: none;
    }
    
    .moser-image-teaser {
        margin-top: 17.5rem !important;
        margin-bottom: 3rem;
        min-height: 340px;
    }

    .moser-zeiten dl {
        width: 80%;
    }
    
    .moser-zeiten dd {
        margin-bottom: .05rem;
    }
}

/* time selection */

.moser-teaser-time-select .row {
    margin-left: 0;
    margin-right: 0;
}

.moser-teaser-time-select .row .col {
    padding-left: 0;
    padding-right: 0;
}

.moser-time-pane .custom-control-inline {
    margin-right: 0;
}

@media (min-width: 576px) {
    .moser-time-pane .custom-control-inline {
        margin-right: 1.5rem;
    }
}

/* article list */

.moser-article-list .form-control {
    padding: 0rem 0.5rem;
    height: auto;
}

.moser-article-list .moser-article-description {
    line-height: 1.3;
}

.moser-article-list .card {
    border: none;
    padding: 0.75rem;
    margin-bottom: 0.6rem;
}

.moser-article-list .card .moser-volume-input {
    width: 4.9rem;
}

.moser-article-list .input-group-text {
    padding: .4rem .4rem;
}

.moser-article-list .card .h6 {
    line-height: 1.2;
}

.moser-article-list .card .moser-price-tag {
    margin-right: -15px;
    margin-top: -15px;
}

.moser-article-list .card .badge {
    font-size: .8rem;
    padding: .4em .75em;
}

@media (min-width: 576px) {
    .moser-article-list .card .badge {
        min-width: 6.7rem;
    }
}

.moser-article-list .moser-article-category {
    margin-bottom: .5rem;
}

.moser-article-list .card .moser-name-column {
    -ms-flex-order: 0;
    order: 0;
}

.moser-article-list .card .moser-price-column {
    -ms-flex-order: 1;
    order: 1;
}

@media (max-width: 374.98px) {
    .moser-article-list .card .moser-price-column {
        -ms-flex-order: 0;
        order: 0;
        margin-left: auto;
    }

    .moser-article-list .card .moser-name-column {
        -ms-flex-order: 1;
        order: 1;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        margin-top: .4rem;
    }
}

@media (min-width: 576px) {
    .moser-article-list .form-control {
        padding: 0rem 0.75rem;
        height: auto;
    }
    
    .moser-article-list .card .moser-volume-input {
        width: 5.9rem;
    }
    
    .moser-article-list .input-group-text {
        padding: .5rem .5rem;
    }
}

@media (min-width: 992px) {
    .u-header .moser-navbar-brand-medium {
        display: none;
    }
    
    .moser-image-teaser {
        margin-top: 17.5rem !important;
        margin-bottom: 3rem;
        min-height: 340px;
    }

    .moser-zeiten dl {
        width: 80%;
    }
    
    .moser-zeiten dd {
        margin-bottom: .05rem;
    }
}

/* article summary */

.moser-article-summary p {
    margin-bottom: 0;
}

.moser-article-summary .moser-volume-column,
.moser-article-summary .moser-price-column {
    min-width: 4rem;
}

/* moser imprint, privacy */

.moser-imprint p, .moser-privacy p {
    font-size: 0.8em;
}

/* moser login */
.moser-content .form-signin {
    margin-top: 150px;
    margin-bottom: 2rem;
}

/* theme sizes */

.btn {
    font-size: .9rem;
}

.custom-select {
    font-size: .85rem;
}

.list-group .list-group-item {
    font-size: .9rem;
}

.custom-control-input~.custom-control-label {
    font-size: .9rem;
}

.form-control {
    font-size: .8rem;
}

.input-group-text {
    font-size: .8rem;
}

.btn-xs {
    font-size: 95%;
    padding: .25rem .5rem;
}

@media (min-width: 576px) {
    .btn {
        font-size: .9rem;
    }
    
    .custom-select {
        font-size: .9rem;
    }
    
    .form-control {
        font-size: 1rem;
    }
    
    .input-group-text {
        font-size: .9rem;
    }
}

/* theme overall */

.u-header__navbar-brand {
    width: auto;
}

.u-header .navbar-brand-mobile {
    width: 12rem;
}

.u-header .navbar-brand-default {
    width: 14rem;
}

.u-header .navbar-brand-on-scroll {
    width: 12rem;
}

.custom-control-input:disabled~.custom-control-label {
    color: #b8babc;
}

.custom-control-input:disabled~.custom-control-label .text-muted {
    color: #b8babc !important;
}

.list-group-item {
    padding: .375rem .75rem;
}

.list-group-item-action:focus, .list-group-item-action:hover {
    background-color: #fff;
}

.list-group-item-action:focus, .list-group-item-action:hover {
    background-color: #fff;
}

.list-group-item-action.active {
    background-color: #87ab2c;
}

/* theme responsive */

@media (min-width: 992px) {
    .navbar-brand-default {
        display: none;
    }
    
    .u-header--bg-transparent .navbar-brand-default {
        display: inline-block;
    }
    
    .u-header--bg-transparent.u-scrolled .navbar-brand-default {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .navbar-brand-default, .navbar-brand-on-scroll {
        display: none;
    }
}

/* theme extension */

.display-5 {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .display-5 {
        font-size: 2.75rem;
    }
}
