@import url("/sw/files/formats.css");

@font-face {
    src: url("/fonts/PublicSans-VariableFont_wght.ttf");
    font-family: "Public Sans";
}

body {
    margin: 0;
    padding: 0;
    font-family: "Public Sans", sans-serif !important;
    background-color: white;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    color: #9E0B2A;
    line-height: 1.1em;
}

h1 {
    font-size: 2.3em !important;
    font-weight: 400;
    color: black !important;
}

h2 {
    font-size: 1.9em !important;
    font-weight: 200;
    color: black !important;
}

.v-container {
    max-width: 1544px;
    margin: 0 auto;
    padding: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: white;
    color: #212529;
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

.logo-wrapper {
    display: inline-block;
    margin: 0 425px 0 0;
    padding: 0;
}

.navbar-wrapper img {
    width: 260px;
    background-color: white;
    vertical-align: middle;
    text-align: center;
}

.navbar {
    background-color: white;
    height: 184px;
    vertical-align: middle;
}

.navbar-wrapper {
    width: 100%;
    display: flex;
    height: 184px;
}

.navbar-items {
    margin-left: 125px;
    display: flex;
    flex-direction: row;
    font-weight: 600;
}

.navbar-item {
    color: black !important;
    text-decoration: none;
    display: inline-block;
    margin: auto 10px;
    padding: 10px;
    /*width: 110px;*/
    vertical-align: middle;
    font-size: 1em !important;
    text-align: center;
    line-height: 20px;
    -webkit-transition: all 150ms ease-in-out;
    -moz-transition: all 150ms ease-in-out;
    -o-transition: all 150ms ease-in-out;
    transition: all 150ms ease-in-out;
    letter-spacing: 2px ! important;
}

.navbar-item:hover {
    color: white !important;
    background-color: #9E0B2A;
}

.header-image {
    margin: 0;
    height: 400px;
    background-image: url("/images/WISEG-Ausschreibungen-scaled.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.login {
    color: black;
    height: 184px;
}

.form-group {
    text-align: left !important;
    padding: 5px 0;
}

.page-content a,
.page-content a:visited {
    color: #686867;
    vertical-align: top !important;
}

.page-content a:hover:not(.bekannt_button_link) {
    color: #9E0B2A !important;
}

.page-content a, .page-content a:visited {
    color: black;
}


.ui-state-active a {
    color: #991832 !important;
}

.login .form-group input:not([type=checkbox]) {
    width: 90%;
}

.login a, .login a:link {
    color: black;
}

.login .reset-password-link {
    font-size: small;
    text-align: left;
    color: black !important;
}

.login .reset-password-link:hover {
    color: #3b3b3b !important;
}

.login-form-label {
    font-size: 0.9em;
    margin: auto auto auto 0;
}

.looping-label {
    font-size: 0.9em;
    vertical-align: text-top;
}

.fragebogen input[type=submit],
.login button[type=submit],
.bekannt-button  {
    display: block;
    background-color: #9E0B2A;
    color: white !important;
    padding: 7px 10px;
    border-radius: 6px;
    border: 2px solid #9E0B2A;

    &:hover {
        background-color: transparent;
        color: #9E0B2A !important;
        border: 2px solid #9E0B2A;

        .bekannt_button_link {
            color: #9E0B2A !important;
        }
    }

    .bekannt_button_link {
        color: white !important;
    }
}

.bekannt-button {
    display: block;
    width: 50%;
    margin: 0 auto;
    padding: 5px;
    text-align: center;
    border-radius: 6px;
    font-size: 1.1em;
    color: white !important;

    a, a:visited {
        text-decoration: none;
        color: #9E0B2A !important;
    }
}

.login button[type=submit] {
    margin-top: 0.5em;
    width: 96%;
    font-weight: bolder;
    /*color: black !important;*/
}

.fragebogen input[type=submit]:hover,
.login button[type=submit]:hover {
    cursor: pointer;
}

.bekannt-button:hover {
    cursor: pointer;

    a, a.bekannt_button_link {
        color: inherit !important;
    }
}

.login_password a, .login_password a:link {
    font-size: 0.9em;
    text-decoration: none;
}

.login_password a:hover {
    text-decoration: underline;
}

.main-text-content {
    line-height: 1.3em;
    padding-left: 3px;
}

.main-text-content a,
.main-text-content a:visited {
    color: #686867;
}

.main-text-content a:hover {
    color: #0b51c5 !important;
}

.page-content {
    display: inline-block;

    margin-top: 15px;
    width: 80%;
}

.page-heading {
    margin-top: 15px;
    margin-bottom: 10px;
    margin-left: 0;
    padding: 10px 3px 15px 0;
    /*border-bottom: 1px solid rgba(232, 232, 232, 0.5);*/
    font-size: 1.3em;
    /*font-variant: petite-caps;*/
}

.side-menu {
    display: inline-block;
    float: right;
    width: 18%;
    font-size: 19px;
    padding: 9px;
}

.side-menu-category {
    margin: 15px 0;
}

.side-menu-entry {
    margin: 10px 0 10px 15px;
    /*font-variant: all-petite-caps;*/
}

.side-menu-category.first {
    margin-top: 2em;
}

.side-menu-category a,
.side-menu-category a:link,
.side-menu-category a:visited {
    color: #686867;
    text-decoration: none;
    /*font-variant: petite-caps;*/
}

.side-menu-category a:hover {
    color: #9E0B2A !important;
}

.side-menu-entry a,
.side-menu-entry a:link,
.side-menu-entry a:visited {
    color: #686867;
    text-decoration: none;
    font-size: 85%;
}

.side-menu-entry a:hover {
    color: #9E0B2A !important;
}

.footer a,
.footer a:visited,
.footer a:link {
    color: #D90000 !important;
}

.footer {
    clear: both;
    color: white;
    margin-top: 7em;
    margin-bottom: 0;
    padding: 10px 0;
}

.footer-text {
    padding: 3px 50px;
    color: #000 !important;
    font-size: 0.8em;
}

.contact-row {
    vertical-align: top;
    display: inline-block;
    padding-right: 60px;
}

.phonenumber-link:link,
.phonenumber-link {
    text-decoration: none !important;
    color: black !important;
}

.einkaufsbedingungen-link {
    margin-top: 30px;
    margin-left: 25px;
}

.einkaufsbedingungen-link a,
.einkaufsbedingungen-link a:any-link,
.einkaufsbedingungen-link a:link,
.einkaufsbedingungen-link a:visited {
    font-weight: bold;
    color: #9E0B2A !important;
}

.einkaufsbedingungen-link a:hover {
    color: #9E0B2A !important;
}

/* Inputs */
input[type=text], input[type=password], input[type=email], input[type=number], select, textarea {
    padding: 7px;
    border: 1px solid slategrey;
}

input[type=text]:hover, input[type=password]:hover, input[type=email]:hover, input[type=number]:hover, select:hover, textarea:hover {
}

/*!* Fragebogen *!*/

.data {
    width: 47% !important;
    margin-right: 20px;
}

#contactFirstname, #contactLastname {
    width: 46% !important;
}

#contactCity, #city {
    width: 63% !important;
}


/* Bekanntmachungsliste */
.bekannt_liste tbody tr:first-child {
    background-color: #9E0B2A !important;
    color: white;
}

.bekannt_liste tr:nth-child(odd) td {
    background-color: #e6e6e6 !important;
}

table.bekannt_liste {
    width: 100% !important;
    border-collapse: collapse;
}

table.bekannt_liste th,
table.bekannt_liste td {
    padding: 0.33em;
}

.bekannt_liste tr:not(:first-child) td {
    padding-left: 0.2em !important;
}

/* Bekanntmachungs-Ansicht */
#tabBekannt, #tabEUData {
    border: 1px solid #000000;
    margin: 0 3px !important;
    width: 100%;
    padding: 15px !important;

    h1 {
        margin-top: 1em;
        padding-left: 0 !important;
        font-size: 1.33em !important;
        font-weight: bold;
    }
}

#tabBekannt .showAnnDownloadOverlay, #tabEUData .showAnnDownloadOverlay {
    margin-left: 30px;
}

.ui-tabs {
    width: 95% !important;
}

.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
    padding: .4em .3em !important;
}

.ui-widget-header {
    background: none !important;
}

#tabBekannt {
    padding: 1em !important;

    & > p, & > ul {
        max-width: 70%;
    }
}

.bekannt_detail {
    border-collapse: collapse;
    margin-bottom: 15px;
    width: 70%;

    th {
        color: #991832;
    }

    th, td {
        padding: 0.25em 0;
    }
}

.ui-tabs-panel h2 {
    margin-top: 1em;
    margin-bottom: 0.5em;
}

.bekannt_detail th[scope="col"] {
    text-align: left;
    background: white;
    padding-right: 10px;
}

.bekannt_detail td.datenblock_ende {
    max-width: 500px;
}

.bekannt_detail caption {
    border-collapse: collapse;
    font-size: 25px;
    font-weight: bold;
    color: #991832;
    margin-bottom: 1em !important;
}

.table-cage {
    max-width: 100%;
}

.mb-2 {
    margin-bottom: 2em !important;
}

.looping-checkbox-wrapper input[type=checkbox] {
    margin: 0;
    padding: 0;
}
