body {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
}

label {
    font-weight: normal;
}

div.navbar-brand {
    display: flex;
}

u {
    text-decoration-line: none;
}

.footerText {
    font-size: 16px;
}

img.site-logo {
    height: 100px;
}

.lang-item {
    color: #7E7E7E !important;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 12px;
    margin-left: 5px;
}

#lang-container {
    display: flex;
}

.selected-lang {
    text-decoration: none;
}

#wbs_casedetails {
    border-radius: 0;
}

#wbs_captchacode_label {
    content: '* 驗證碼';
}

.col-lg-12.columnBlockLayout {
    position: relative;
    justify-content: center;
}

.siteTitle {
    bottom: 0;
    text-align: end;
    margin-right: auto;
    position: absolute;
}

h1.siteTitle:nth-of-type(2) {
    justify-content: flex-end;
}

div.sectionBlockLayout:nth-child(2) {
    padding-left: 10px;
    padding-right: 10px;
}

div.crmEntityFormView {
    border: none;
}

div.crmEntityFormView label {
    color: #666666;
}

div.crmEntityFormView div.tab,
div.crmEntityFormView div.tab fieldset {
    margin-bottom: 0;
}

td.form-control-cell {
    width: 100%;
    display: table;
    margin-bottom: 10px;
}

div.control input {
    border-color: #d0d0d0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

input[id$='EntityFormView_captcha_CaptchaTextBox'] {
    font-size: 15px;
    width: 230px;
    border-radius: .375rem;
    border-color: rgb(206, 212, 218);
    font-weight: 400;
    padding: 0.375rem 0.7rem;
    border-width: thin;
}

div.file-cell {
    display: table;
    width: 100%;
    margin-bottom: 10px;
    padding: 0 !important;
}

div.actions {
    float: right;
    border: none !important;
}

div.sectionBlockLayout:nth-of-type(2) {
    padding-left: 10px;
    padding-right: 10px;
}

#wbs_contactemail {
    text-decoration: none !important;
}

/* .d-xs-block.d-sm-flex.d-md-flex.d-lg-flex.navbar-brand.navbar-header.flex-fill.justify-content-center {
    justify-content: end !important;
} */

span.lang-item a {
    color: rgb(0, 0, 0);
}

input[id$='EntityFormView_captcha_CaptchaTextBox'] {
    border-radius: 0;
}

.actions {
    padding-right: 28px;
}

#MessagePanel {
    background-color: #fff;
    border-color: #fff;
    margin-bottom: 0px;

}

/* This CSS rule targets the parent element of div.captcha-cell */
div:has(> .captcha-cell) {
    width: 100%;
    display: table;
    margin-bottom: 10px;
}

#btnCloseMessage {
    width: auto;
    padding: 5px !important;
    font-weight: 500;
    font-size: 16px;
}

div.table-info {
    color: #666666;
}

#UploadButton:hover {
    background-color: #11254a;
}

button#UploadButton>span>span {
    font-family: Arial;
    font-weight: 400;
}

@media (min-width: 601px) {
    div.navbar-brand {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    div.table-info {
        display: table-cell !important;
        width: 40% !important;
        padding-left: 28px !important;
        padding-right: 10px;
        vertical-align: top !important;
    }

    div.control {
        display: table-cell !important;
        width: 60% !important;
        padding-right: 28px;
    }

    p#hint {
        padding-left: 28px !important;
    }

    h2.desc {
        margin-left: 28px;
    }

    span#instructionsTitle {
        margin-left: 28px;
        text-decoration-line: underline;
        color: #666666;
    }

    div.instructions {
        margin-left: 28px;
        margin-bottom: 10px;
        color: #666666;
    }

}

/* need two @media because need two different website layouts for mobile <600px and desktop >=601px
    these two are mutually exclusive */
@media (max-width: 600px) {

    img.site-logo {
        height: 50px;
    }

    div.actions {
        width: 100% !important;
    }

    div.actions input {
        width: 100% !important;
    }

    div.table-info {
        display: block;
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        vertical-align: top !important;
    }

    div.control {
        display: block;
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    p#hint {
        padding-left: 10px;
    }

    h2.desc {
        margin-left: 10px !important;
    }

    span#instructionsTitle {
        margin-left: 10px !important;
        text-decoration-line: underline;
        color: #666666;
    }

    div.instructions {
        margin-left: 10px !important;
        margin-bottom: 10px;
        color: #666666;
    }

    div.buttonForFileUpload {
        padding-left: 10px;
        margin-top: 10px;
    }
}