/* 全局 + bootstrap 样式调整 */

/* input */
input {
    padding: 0 8px;
}

input::-webkit-input-placeholder,
input:-moz-placeholder, /* FF 4-18 */
input::-moz-placeholder, /* FF 19+ */
input:-ms-input-placeholder { /* IE 10+ */
    color: #999;
}
/* input done */

/* select */
select {
    padding: 0 4px;
}
/* select done */

/* bootstrap */
/* form-control */
.form-control {
    padding: 0 8px;
    height: 32px;
    font-family: 'PingFangSC-Regular';
}

select.form-control {
    padding: 0 4px;
}

.form-control:focus {
    border-color: #245dfe;
    outline: 0;
    -webkit-box-shadow: 0 0 0 2px rgba(36, 93, 254, 0.2);
    box-shadow: 0 0 0 2px rgba(36, 93, 254, 0.2);
}

.has-error .form-control {
    border-color: #d0021b;
    background-color: #ffebeb;
}

.has-error .form-control:focus {
    border-color: #d0021b;
    -webkit-box-shadow: 0 0 0 2px rgba(240, 65, 52, 0.2);
    box-shadow: 0 0 0 2px rgba(240, 65, 52, 0.2);
}
/* form-control done */
/* bootstrap done */

/* submenu */
.submenu {
    padding: 0 24px;
    background: #fff;
    border-radius: 4px;
    z-index: 10;
}

.submenu .submenu-content {
    border-bottom: 1px solid #edf1fc;
    font-family: 'PingFangSC-Regular';
}

.submenu-item,
.submenu-item-active {
    display: inline-block;
    position: relative;
    margin-right: 40px;
    height: 64px;
    line-height: 64px;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    transition: 0.3s;
}

.submenu-item:hover {
    color: #333;
}

.submenu-item-active {
    font-family: 'PingFangSC-Semibold';
    color: #333;
}

.submenu-item-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #245dfe;
    border-radius: 4px 4px 0 0;
}
/* submenu done */

/* search menu */
.search-menu-layout {
    margin-top: -1px; /* 遮挡submenu圆角 */
    padding: 0 24px;
    background-color: #fff;
    border-radius: 0 0 4px 4px;
}

.search-menu {
    padding-top: 24px;
    border-top: 1px solid #edf1fc;
}
/* search menu done */

/* icon img */
img.common-icon-sm {
    width: 12px;
    height: 12px;
    vertical-align: middle;
}
/* icon img done */
