/* WordPress integration fixes layered over the original TYPO3 stylesheet. */

#page-footer-xs {
    padding: 25px 15px;
}

#page-footer ul.footer-links,
#page-footer-xs ul.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

#page-footer ul.footer-links li,
#page-footer-xs ul.footer-links li {
    display: inline;
    margin: 0;
    padding: 0;
}

#page-footer ul.footer-links li + li::before,
#page-footer-xs ul.footer-links li + li::before {
    content: " | ";
}

#page-footer-xs hr {
    display: none;
}

#page-footer-xs .row {
    margin: 0;
}

#page-footer-xs [class*="col-"] {
    padding: 0;
}

#sidebar-logo img,
.navbar-brand img {
    max-width: 100%;
    height: auto;
}

.current-menu-item > a {
    font-weight: 700;
}

#content-area .col-mid .pager {
    clear: both;
    padding: 0 25% 30px 0;
}

#content-area .col-mid .pager > ul {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

#content-area .col-mid .pager > ul > li:first-child,
#content-area .col-mid .pager > ul > li:last-child {
    float: none;
}

#content-area .col-mid .pager .number {
    display: inline-block;
}

#content-area .col-mid article.page-kind-news_list {
    padding-bottom: 0;
}

#content-area .col-mid article.page-kind-news_list header {
    padding-bottom: 20px;
}

#content-area .col-mid article.glossary {
    padding-right: 0;
}

#content-area .col-mid article.page-kind-contact {
    padding-right: 0;
}

#content-area .col-mid .wpcf7 {
    max-width: none;
}

#content-area .col-mid .wpcf7 h2 {
    margin-top: 0;
}

#content-area .col-mid .wpcf7 p {
    margin: 0 0 15px;
}

#content-area .col-mid .wpcf7 label {
    display: block;
    margin: 0;
    color: #3a3d40;
    font-family: "Montserrat", arial, sans-serif;
    font-weight: 400;
}

#content-area .col-mid .wpcf7-form-control-wrap {
    display: block;
    margin-top: 6px;
}

#content-area .col-mid .wpcf7 select,
#content-area .col-mid .wpcf7 input[type="text"],
#content-area .col-mid .wpcf7 input[type="email"],
#content-area .col-mid .wpcf7 textarea {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

#content-area .col-mid .wpcf7 textarea {
    min-height: 150px;
    height: auto;
    resize: vertical;
}

#content-area .col-mid .wpcf7 select:focus,
#content-area .col-mid .wpcf7 input[type="text"]:focus,
#content-area .col-mid .wpcf7 input[type="email"]:focus,
#content-area .col-mid .wpcf7 textarea:focus {
    border-color: #d4b171;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px rgba(212, 177, 113, .45);
}

#content-area .col-mid .wpcf7 .wpcf7-acceptance {
    display: block;
    margin-top: 0;
}

#content-area .col-mid .wpcf7 .wpcf7-list-item {
    display: block;
    margin: 0;
}

#content-area .col-mid .wpcf7 .wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: inherit;
}

#content-area .col-mid .wpcf7 input[type="checkbox"] {
    flex: 0 0 auto;
    margin: 3px 0 0;
}

#content-area .col-mid .wpcf7 .wpcf7-list-item-label {
    display: block;
}

#content-area .col-mid .wpcf7 input[type="submit"] {
    display: inline-block;
    margin-bottom: 0;
    padding: 6px 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    user-select: none;
    background: #583933;
    border: 1px solid #583933;
    border-radius: 0;
}

#content-area .col-mid .wpcf7 input[type="submit"]:hover,
#content-area .col-mid .wpcf7 input[type="submit"]:focus {
    color: #fff;
    background: #3f2925;
    border-color: #3f2925;
}

#content-area .col-mid .wpcf7 input[type="submit"]:disabled {
    cursor: not-allowed;
    opacity: .65;
}

#content-area .col-mid .wpcf7-not-valid-tip {
    margin-top: 5px;
    color: #a94442;
    font-size: 13px;
}

#content-area .col-mid .wpcf7 form .wpcf7-response-output {
    margin: 15px 0 0;
    padding: 10px 12px;
    border: 1px solid #d4b171;
}

#content-area .col-mid .wpcf7 .wpcf7-spinner {
    vertical-align: middle;
}

@media (min-width: 768px) {
    #content-area .col-mid .landing-top-row {
        position: relative;
        min-height: 130px;
    }

    #content-area .col-mid .landing-top-row > .col-xs-6.col-sm-8 {
        float: none;
        width: auto;
        min-width: 0;
        max-width: calc(100% - 40px);
        padding-right: 30px;
    }

    #content-area .col-mid .landing-top-row > nav.col-xs-6.col-sm-4 {
        float: none;
        position: absolute;
        top: 0;
        right: -190px;
        width: 285px;
        max-width: 285px;
        margin-left: 0;
        padding-left: 0;
    }

    #content-area .col-mid .landing-top-row h1 {
        overflow-wrap: break-word;
    }

    #content-area .col-mid .landing-top-row h1 span {
        white-space: normal;
    }

    #content-area .col-mid .landing-top-row nav ul {
        display: flex;
        justify-content: flex-end;
        align-items: flex-start;
        gap: 24px;
        margin: 0;
    }

    #content-area .col-mid .landing-top-row nav ul > li,
    #content-area .col-mid .landing-top-row nav ul > li:first-child {
        float: none;
        padding: 15px 0 0;
        min-width: 78px;
    }

    #content-area .col-mid .landing-top-row nav ul > li:last-child {
        padding: 15px 0 0 26px;
        border-left: 1px solid #dadada;
    }
}

@media (min-width: 992px) {
    #content-area .col-mid .landing-top-row h1 {
        white-space: nowrap;
    }
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
