﻿a, a:hover {
    text-decoration: none; /* 链接无下划线,有为underline */
}

    a:link { /* 未访问的链接 */
        color: #0000FF;
    }

    a:visited { /* 已访问的链接 */
        color: #800080;
    }

    a:hover { /* 鼠标在链接上 */
        color: #FF0000;
    }

    a:active { /* 点击激活链接 */
        color: #FF0000;
    }

.show {
    display: block !important;
}

.hide {
    display: none !important;
}

.hidden {
    display: none !important;
}

.span_a {
    color: #0000FF;
    cursor: pointer;
}

    .span_a:hover {
        color: #FF0000;
    }

input[type=text],
input[type=password] {
    border-radius: 0rem;
}

    input[type=text]:hover,
    input[type=text]:focus,
    input[type=password]:hover,
    input[type=password]:focus {
        border-color: #2ba3d4;
        box-shadow: none;
        -webkit-box-shadow: none;
    }

    input[type=text].form-control-plaintext:hover,
    input[type=text].form-control-plaintext:focus {
        border-color: transparent !important;
    }

    input[type=text]:focus,
    input[type=password]:focus {
        box-shadow: none;
        -webkit-box-shadow: none;
    }
.form-control:read-only {
    background-color: #e9ecef;
    opacity: 1;
}
.form-control::-moz-placeholder {
    color: #DDDDDD !important;
    font-size:12px;
}

.form-control:-ms-input-placeholder {
    color: #DDDDDD !important;
    font-size: 12px;
}

.form-control::-webkit-input-placeholder {
    color: #DDDDDD !important;
    font-size:12px;
}
textarea {
    resize: none;
    border-radius: 0rem !important;
}

    textarea:hover,
    textarea:focus {
        border-color: #2ba3d4;
        box-shadow: none !important;
        -webkit-box-shadow: none !important;
    }

select {
    box-shadow: none;
    -webkit-box-shadow: none;
    border-radius: 0rem !important;
}
    select option {
        font-size: 12px !important;
    }

.valmsg-for {
}

.valmsg-for .valmsg {
    margin-top: 0rem;
    margin-bottom: 0rem;
}

    .valmsg-for .valmsg.alert {
        padding: .5rem 2rem .5rem 1rem;
        border-radius: 0rem;
    }

        .valmsg-for .valmsg.alert button.btn-close {
            padding: 0rem 0rem !important;
            top: 0.7rem;
            right: 0.7rem;
        }

    .valmsg-for .valmsg > p {
        margin-bottom: 0rem;
    }

.block {
    margin-top: 1rem;
}

.container-fluid::after {
    clear: both;
}

.container-fluid::after,
.container-fluid::before {
    display: table;
    content: " ";
}

/* 作用于特定容器内的所有子元素 */
.clear-all-unset * {
    all: unset; /* 清除几乎所有样式，包括继承和非继承的属性 */
    margin: auto;
    padding: unset;
    box-sizing: unset;
    max-width:100%;
    max-height:100%;
}

.clear-all-revert * {
    all: revert; /* 将非继承属性重置为用户代理样式表的默认值。如果只想清除非继承的样式，而保留继承属性（如颜色、字体等），可以用这个 */
    margin: auto;
    padding: revert;
    box-sizing: revert;
    max-width: 100%;
    max-height: 100%;
}
/*如果需要清除样式后，应用自定义基础样式，可以手动指定*/
.clear-all-unset-default * {
    all: unset;
    display: block; /* 默认块级显示 */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: inherit; /* 继承字体 */
    color: inherit; /* 继承文字颜色 */
    max-width: 100%;
    max-height: 100%;
}
/*仅清除某些特定样式*/
.clear-style * {
    /*如果只需清除部分样式（如 margin、padding），可以直接选择性地覆盖*/
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    text-decoration: none !important;
    list-style: none !important;
    max-width: 100%;
    max-height: 100%;
}

.font-family-none {
    font-family: none;
}