/* 设置网站默认字体大小 */
body {
    font-size: 12px; /* 可以根据需要调整，例如：12px, 14px, 16px 等 */
}

main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

/* 顶部导航栏字体大小设置 */
.navbar-brand {
    font-size: 20px; /* 品牌名称（MES）字体大小，可以根据需要调整 */
    font-weight: bold;
}

.navbar-nav .nav-link {
    font-size: 14px; /* 主菜单项（工厂、加工、检验、系统设置）字体大小，可以根据需要调整 */
}

/* 主菜单下拉菜单字体大小设置 */
.dropdown-menu {
    font-size: 12px; /* 可以根据需要调整，例如：12px, 14px, 16px 等 */
}

.dropdown-item {
    font-size: 12px; /* 菜单项字体大小，可以根据需要调整 */
}

/* 面包屑字体大小设置 */
.breadcrumb {
    font-size: 14px; /* 面包屑字体大小，可以根据需要调整，例如：12px, 14px, 16px 等 */
}

.breadcrumb-item {
    font-size: 14px; /* 面包屑项字体大小 */
}

.breadcrumb-item a {
    font-size: 14px; /* 面包屑链接字体大小 */
}

/* 页面标题字体大小设置 */
h1 {
    font-size: 24px; /* 页面主标题字体大小，可以根据需要调整，例如：20px, 24px, 28px 等 */
    font-weight: bold;
}

h2 {
    font-size: 20px; /* 二级标题字体大小 */
    font-weight: bold;
}

h3 {
    font-size: 18px; /* 三级标题字体大小 */
    font-weight: bold;
}

/* 操作列按钮字体大小设置 */
.btn-xs {
    font-size: 12px; /* 超小按钮字体大小，可以根据需要调整，例如：11px, 12px, 13px 等 */
    padding: 0.125rem 0.375rem;
    line-height: 1.5;
}

/* GridView 操作列中的所有按钮 */
.grid-view .action-column .btn,
table .action-column .btn {
    font-size: 12px; /* 操作列按钮字体大小 */
}

/* 所有小号按钮 */
.btn-sm {
    font-size: 13px; /* 小按钮字体大小 */
}

/* 标准按钮 */
.btn {
    font-size: 14px; /* 标准按钮字体大小 */
}

/* 操作列图标按钮样式 */
.action-column .btn {
    min-width: 28px;
    padding: 0.25rem 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.action-column .btn i {
    font-size: 14px;
    line-height: 1;
}

/* 工序图和检验指导书列宽度限制 */
.grid-view th[data-attribute="Draft"],
.grid-view td[data-attribute="Draft"] {
    max-width: 120px;
    width: 120px;
}

.grid-view th[data-attribute="Measure"],
.grid-view td[data-attribute="Measure"] {
    max-width: 120px;
    width: 120px;
}

/* 表单字体大小设置 */
.form-group label {
    font-size: 13px; /* 表单标签字体大小，可以根据需要调整，例如：12px, 13px, 14px 等 */
}

.form-control {
    font-size: 13px; /* 输入框、下拉菜单字体大小 */
}

.form-control option {
    font-size: 13px; /* 下拉菜单选项字体大小 */
}

select.form-control {
    font-size: 13px; /* 下拉选择框字体大小 */
}

textarea.form-control {
    font-size: 13px; /* 文本域字体大小 */
}

input[type="file"].form-control {
    font-size: 13px; /* 文件选择框字体大小 */
}

.hint-block,
.help-block {
    font-size: 12px; /* 提示文本字体大小 */
}

.form-text,
small {
    font-size: 12px; /* 小字提示文本字体大小 */
}

/* 卡片内容字体大小 */
.card-body {
    font-size: 13px;
}

.card-body strong {
    font-size: 13px;
}