/*region Global Styles*/

:root {
    --background-color: #f2f2f2;
    --main-color: #8b2839;
    --contentWidth: 83.75rem;

    --bstbk-cid-color: #701a32;

    --header-color: #4a4949;
    --header-font-size: 2.313rem;
    --header-letter-spacing: 2.3px;

    --standard-text-size: 1rem;
    --standard-letter-spacing: .1px;
    --standard-text-color: #4a4949;
    --standard-margin-top: 1rem;
    --standard-margin-bottom: 1rem;
}

.background {
    background-color: var(--background-color);
}

.font-color-red {
    color: var(--main-color);
}

.small-font-size {
    font-size: 0.813rem;
}

.footer-padding-top {
    padding-top: 1.25rem;
}

.footer-padding-sides {
    padding-left: 0;
    padding-right: 0;
}

.window-middle-setting {
    max-width: var(--contentWidth);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.875rem;
    padding-right: 1.875rem;
}

.main-window-background {
    background-color: white;
}

.max-height {
    margin-top: 0;
    margin-bottom: 0;
}

.regular-padding {
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 1.5rem;
}

.language {
    font-weight: normal;
}

.languageSelected {
    font-weight: bold;
}

/*region Gloabl Button Styles*/

.verzeichnis-btn {
    color: rgba(73, 73, 73, 1);
    background-color: rgba(238, 238, 238, 1);
    border: 1px solid rgba(204, 204, 204, .75);
    font-weight: 400;
    font-family: Roboto, Verdana, sans-serif;
    font-size: .938rem;
    padding: .375rem .75rem;
    font-style: normal;
}

.verzeichnis-btn:hover,
.verzeichnis-btn:focus {
    background-color: rgba(139, 40, 57, 1);
    color: white;
    border: 1px solid rgba(139, 40, 57, .75);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}
/*endregion*/

/*endregion*/

/*region Main Search*/

.searchfield-label {
    padding-right: 1rem;
    margin-top: 0.4rem;
    color: var(--standard-text-color);
}

.card-body {
    line-height: 1rem;
}

.beruf {
    color: #656C6A;
    margin-bottom: 0.5rem;
    font-size: 12px;
    line-height: 20px;
}

.akademische-grade {
    font-size: 12px;
    color: var(--standard-text-color);
    margin-bottom: 0.2rem;
}

.name {
    color: var(--bstbk-cid-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 2rem;
}

.custom-group-append :hover {
    background-color: transparent;
}

.filter-card-header {
    padding: 3px 0 4px 12px;
}

.mainsearch-card-header {
    padding: 4px 0 4px 12px;
}

.filter-section-card {
    margin-bottom: 10px;
}

.modify-append-button {
    padding: 0 0 0 0;
    border-width: 0 0 0 0;
    margin: 0 0 0 0;
    top: 0;
    background-color: var(--bstbk-cid-color);
}

.submit-button-opacity-settings {
    opacity: 100%;
}

.submit-button-opacity-settings:hover {
    opacity: 90%;
}

.max-width {
    width: 100%;
    position: relative;
}

hr {
    margin-top: 0;
    margin-bottom: 0;
}

.filter-padding {
    padding-left: 0;
}

.padding-left-right-zero {
    padding-left: 0;
    padding-right: 0;
}

.mainsearch-result-view-padding {
    padding: 0
}

.mainsearch-result-view-label {
    margin: 1rem 0 0 1rem;
}

.form-control {
    border-radius: 0;
    height: auto;
}

span.select2-selection.select2-selection--single {
    border-radius: 0;
}

.card {
    border-radius: 0;
}

.special-card-hover:hover {
    background-color: #F9F8F7;
}

.custom-typeahead-label {
    color: var(--bstbk-cid-color);
    font-size: 18.2px;
    line-height: 22.4px;
}

.custom-typeahead-input {
    padding-bottom: .5em;
}

.modal {
    display: block;
}

.fade {
    opacity: 1;
}

input::-webkit-calendar-picker-indicator {
    display: none;
    opacity: 0;
}

.info-header {
    font-size: var(--header-font-size);
    letter-spacing: var(--header-letter-spacing);
    font-family: Roboto, Verdana, sans-serif;
    color: var(--header-color);
}

.select2-container--bootstrap4 .select2-results__option--highlighted {
    color: white !important;
    background-color: #701a32 !important;
}

.form-control:focus {
    border-color: #701a32;
    box-shadow: 0 0 0 0;
}

.info-text {
    font-size: var(--standard-text-size);
    color: var(--standard-text-color);
    letter-spacing: var(--standard-letter-spacing);
    font-family: Roboto, Verdana, sans-serif;
    margin-top: var(--standard-margin-top);
    margin-bottom: var(--standard-margin-bottom);
}

.result-document {
    cursor: pointer;
}

.back-to-top {
    position: fixed;
    bottom: 5rem;
    right: 0;
    display: none;
}

.link-to-detail {
    color: var(--standard-text-color);
    text-decoration: none;
}

.link-to-detail:hover *, .link-to-detail:hover {
    color: var(--standard-text-color);
    text-decoration: none;
    cursor: pointer;
}

#reset-btn {
    width: 100%;
}

.button-reset-margin {
    margin: 1rem 1rem 0 0
}

/*endregion*/

/*region Header Section*/

.stick-to-right {
    margin-right: 0;
    margin-left: auto;
}

.stick-to-left {
    margin-right: auto;
    margin-left: 0;
}

.main-image {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    width: 100%;
}

.image-container {
    width: 12.5rem;
}

.seperator-header {
    height: 4px;
    background-color: #f2f2f2;
    width: 100%;
}

.language-padding {
    padding: 16px 0 0 0;
}

/*endregion*/

/*region Information Section*/

.regular-padding-top {
    padding-top: 1.5rem;
}

a,a:hover{
    color: var(--standard-text-color);
    text-decoration: underline;
}

.beruf {
    color: #656C6A;
    margin-bottom: 1rem;
    line-height: 1.5rem;
}
/*details*/
.akademische-grade {
    color: var(--standard-text-color);
    margin-bottom: 0.2rem;
}

.address-display {
    font-size: 1rem;
    line-height: 22px;
    margin-bottom: .5rem;
}

.notes-title {
    color: var(--main-color);
    font-size: 1.5rem;
}

.chamber-title {
    color: var(--main-color);
    font-size: 1.5rem;
}

.vertreter-h1 {
    color: var(--main-color);
    font-size: 1.5rem;
}

.vertreter-h2 {
    font-weight: bold;
}

.back-btn-magrin-top {
    margin-top: 30px;
}

.nomargin-nopadding {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}

.filter-noborder {
    border: none;
}

.mainsearch-border-bottom {
    border-bottom: #ced4da solid 1px;
}

.mainsearch-inner-card {
    padding: 15px 0 15px 15px;
}

.margin-bottom-zero {
    margin-bottom: 0
}

.errorpage-margin {
    margin-top: 1rem;
}

.block-margin {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.list-toggler {
    color: var(--bstbk-cid-color);
    text-decoration: underline;
    cursor: pointer;
}

.toggler-margin {
    margin-bottom: 0.6rem;
}

.section-inline {
    display: inline;
}

.small-header {
    font-size: 1.05rem;
}

.section-margin {
    margin-bottom: 1rem;
}

.ul-no-margin-bot {
    margin-bottom: 0;
}

/*endregion*/

/* region Redirection Dialog */

.verzeichnis-dialog {
    border: none;
    padding: 0;
    max-width: 1000px;
}

.verzeichnis-dialog::backdrop {
    background: rgba(0, 0, 0, 0.5);
}

.verzeichnis-modal-content {
    background: white;
    width: 100%;
    color: rgb(74, 73, 73);
    font-weight: 300;
    font-family: Roboto, Verdana, sans-serif;
    font-size: 1rem;
    font-style: normal;
    line-height: 1.3rem;
    letter-spacing: .1px;
}

.verzeichnis-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1rem 0.5rem 1rem;
    border-bottom: 1px solid #eee;
}

.verzeichnis-modal-close {
    background: none;
    border: none;
    font-size: 2.25rem;
    cursor: pointer;
    color: rgb(74, 73, 73);
    transform: translateY(-0.5rem);
}

.verzeichnis-modal-body {
    padding: 20px;
}

.verzeichnis-modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.modal-break-url {
    word-break: break-all;
    overflow-wrap: break-word;
}

.h1-modal {
    font-size: 1.25rem;
    font-weight: bold;
    color: rgba(139, 40, 57, 1);
}

.modal-external-link {
    cursor: pointer;
    color: rgb(74, 73, 73);
    text-decoration: underline;
}

.invisible-label {
    display: none;
}

/* region Responsive Elements for the Modal Dialog*/
/*Mobile*/
@media (max-width: 576px) {
    .verzeichnis-modal-footer {
        flex-direction: column;
        align-items: center;
    }

    .verzeichnis-modal-btn {
        width: 100%;
        text-align: center;
    }
}
/*endregion*/

/*endregion*/



