﻿@media (min-width: 700px) {
    .form-container {
        background-color: #fff;
        padding: 30px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        max-width: 70% !important;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
        /*width: 350px;*/
    }
}
    .spanNote1 {
        color: #000099;
        margin-bottom: 10px;
    }

    .spanNote2 {
        color: #990000;
        margin-bottom: 10px;
    }

    @media (max-width: 699px) {
        .form-container {
            width: 100% !important;
            max-width: 100% !important;
            padding: 20px;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            box-sizing: border-box;
            margin-left: auto;
            margin-right: auto;
        }

        h2, h3 {
            font-size: 1.0rem;
        }

        .bauLogo
        {
            display:none;
        }
    }

.form_title {
    background-color: #FECE43;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.form_title_2 {
    background-color: #000000;
    color:#ffffff;
    text-align: center;
    font-size:1.0rem;
    width:100%!important;
    padding:10px;
    
}

.form_title_en {
    color: #00A651;
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight:700;
}

h2, h3 {
    color: #333;
}

    label {
        display: block;
        margin-bottom: 6px;
        font-weight: bold;
        color: #555;
    }

    input[type="text"], input[type="file"], select, .baufield {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border-radius: 4px;
        border: 1px solid #ccc;
        font-size: 14px;
        color: #0000FF;
    }

    button, .baubtn {
        width: 100%;
        padding: 20px;
        background-color: #000000;
        color: #ffffff;
        color: white;
        border: none;
        border-radius: 4px;
        font-size: 18px;
        cursor: pointer;
        font-weight: bold;
    }

        button:hover {
            background-color: #45a049;
        }

    #result {
        margin-top: 15px;
        text-align: center;
        font-weight: bold;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .resultAlert {
        width: 100%;
        background-color: #fff29d;
        color: #000000;
        font-size: 26px;
        text-align: center;
        padding: 10px;
    }

    .resultValid {
        width: 100%;
        background-color: #4CAF50;
        color: #000000;
        font-size: 56px;
        text-align: center;
        padding: 10px;
    }

    .resultInalid {
        width: 100%;
        background-color: #FF0000;
        color: #000000;
        font-size: 56px;
        text-align: center;
        padding: 10px;
    }

    .resultimg {
        width: 100%;
        height: auto;
        display: block;
    }

    .FORM_STATUS {
        background-color: #990000;
        text-align: center;
        color: #ffffff;
        padding: 20px;
        margin-bottom: 20px;
    }

    .FORM_STATUS_OK {
        background-color: #009900;
        text-align: center;
        color: #ffffff;
        padding: 20px;
        margin-bottom: 20px;
    }

.FORM_TBL_TH {
    background-color: #00A651;
    color: #ffffff;
    font-weight: bold;
    border: 1px solid #ddd;
    padding: 10px;
}

.FORM_TBL_TD_A {
    color: red;
    font-weight: bold;
    border: 1px solid #ddd;
    padding: 10px;
}

.FORM_TBL_TD_E {
    border: 1px solid #ddd;
    text-align: center;
    font-weight: bold;
}

.FORM_TBL_TD_VAL {
    text-align: center;
    border: 1px solid #ddd;
    padding: 10px;
    color: blue;
}

.AS_TBL_TR_SHADOW tr:nth-child(odd) {
    background-color: #ffffff;
}

.AS_TBL_TR_SHADOW tr:nth-child(even) {
    background-color: #f1f1f1;
}

.AS_TBL_TR_SELECTED {
    background-color: #ffeb3b;
}

.AS_TBL_TR_SHADOW_CUSTOM .AS_TBL_TR_SHADOW_ROW:nth-child(odd) {
    background-color: #ffffff;
}

.AS_TBL_TR_SHADOW_CUSTOM .AS_TBL_TR_SHADOW_ROW:nth-child(even) {
    background-color: #f1f1f1;
}

.AS_TBL_TD_SHADOW {
    background-color: #f1f1f1;
}

.STCB {
    border: 1px solid #c0c0c0;
    padding: 5px;
}

    .STCB:not(:has(tr)) {
        /* styles when there is NO <tr> inside */
        border: none;
        padding: 0px;
    }

.ST_TBL_TH {
    font-family: 'AlSharkTitle','AlSharkTitle2',tahoma;
    font-size: 14pt;
    color: #000000;
    font-weight: normal;
    text-decoration: none;
    background-color: #e6f5ce; /* #e4e0bd;*/ /*#7d95c1; #586261;*/
    border: 0px solid #000000;
    text-align: center;
    padding: 5px;
}

.ST_TBL_TD {
    font-family: 'AlSharkTitle','AlSharkTitle2',tahoma;
    font-size: 14pt;
    color: #000000;
    font-weight: normal;
    text-decoration: none;
    border: 0px solid #000000;
    padding: 5px;
    text-align: right;
    padding-right: 5px;
}

.ST_TBL_TD_C {
    text-align: center !important;
}

.ST_TBL_TD_R {
    text-align: right !important;
}

.ST_TBL_TD_L {
    text-align: left !important;
}

.ST_TBL_TD_RTL {
    direction: rtl !important;
}

.ST_TBL_TD_LTR {
    direction: ltr !important;
}

.ST_REPORT_LINK, a.ST_REPORT_LINK:link, a.ST_REPORT_LINK:active, a.ST_REPORT_LINK:visited {
    background-color: #00A651;
    color: #ffffff;
    border: 1px solid #c0c0c0;
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 10px !important;
    text-decoration: none;
    font-size: 0.8rem;
    display: block;
    width: fit-content; /* shrink to text width */
    margin: 6px auto;
}

    .ST_REPORT_LINK:last-child {
        margin-bottom: 0;
    }

a.ST_REPORT_LINK:hover {
    background-color: #FECE43;
    color: #000000;
}