* {
    margin: 0;
    padding: 0;
}

.divider_horizontal_match {
    width: 100%;
    height: 1px;
    background: #838383;
}

html {
    /*修复因滚动条导致的抖动*/
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
}

body {
    background: #2a3334;
    /*background: url("images/bg.gif");*/
    /*修复因滚动条导致的抖动*/
    width: 100vw;
    height: 100%;
    margin: 0;
}

.center {
    text-align: center;
}

.bg_red1 {
    background: #f54545;
}

.bg_red2 {
    background: #ff8641;
}

.bg_red3 {
    background: #ff9e2a;
}

.bg_gray {
    background: #d5d5d5;
}

.textcolor_white {
    color: white;
}

.textcolor_gray {
    color: #6d6d6d;
}

/* 可以设置不同的进入和离开动画 */
/* 设置持续时间和动画函数 */
.fade-enter-active, .fade-leave-active {
    transition: opacity 0.1s
}

.fade-enter, .fade-leave-to /* .fade-leave-active, 2.1.8 版本以下 */
{
    opacity: 0
}

.fixedPosition {
    position: fixed;
    top: 0;
}

.submit_divider {
    width: 1px;
    min-width: 1px;
    height: 100%;
    background: #e1e1e1;
}

#top_body {
    height: 100%;
}
[v-cloak]{
    display: none;
}

#module1_input {
    width: 100%;
    height: 200px;
    position: relative;
    /*background-image: url("./images/search_bg_earth.jpg");*/
    /*background-color: #575757;*/
    background-position-x: center;
    background-size: contain;
}

.bg_linear{
    background: linear-gradient(to right,#4bc0c8,#c779d0,#feac5e);
}

.top_bg{
    background-color: #0f1b26;
}
.color_white{
    color: #ffffff;
}
.flex{
    display: flex;
}
.center_center{
    justify-content: center;
    align-items: center;
}
.margin_top_20{
    margin-top: 20px;
}
.padding_top_20{
    padding-top: 20px;
}

#label_search {
    width: 60%;
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: flex;
}

#img_top_logo {
    width: 183px;
    height: 50px;
    margin-top: 30px;
    display: none;
    cursor: pointer;
}

#search_container {
    width: 100%;
    margin-left: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

#advance_search {
    display: flex;
    margin: 33px 0 0 15px;
    color: white;
    user-select: none;
    flex: 0 0 auto;
    text-decoration: underline;
    cursor: pointer;
}

#advance_search:hover {
    text-decoration: underline;
}

#icon_adavance_search{
    display: flex;
   align-items: center;
}

#fixed_site {
    display: flex;
    margin-left: 30px;
}

#fixed_site span {
    flex: 0 0 auto;
    cursor: pointer;
    margin-left: 5px;
    padding: 7px 15px;
    border-radius: 5px 5px 0 0;
    font-size: 14px;
    user-select: none;
}

#fixed_site span:hover {
    color: black;
    background: white;
}

.fixed_site_selected {
    color: white;
    background: #5e5e5e;
}

.fixed_site_unselected {
    color: white;
}

#search_suggest {
    display: flex;
    flex-direction: column;
    background: #5e5e5e;
    border-radius: 5px;
}

#wrapper_input_submit {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    box-sizing: border-box;
}

#submit_logo {
    margin: 0 5px 0 20px;
    width: 20px;
}

#selected_site_name {
    font-size: 14px;
    color: #ff9f22;
}

#search_input {
    height: 100%;
    flex-grow: 1;
    border: none;
    padding-left: 20px;
    font-size: 14px;
    outline: none;
    color: white;
    background: #5e5e5e;
}

#clear_search_text {
    font-size: 10px;
    cursor: pointer;
    border-radius: 20px;
    background: #7c7c7c;
    color: #cccccc;
    margin-right: 20px;
    padding: 3px 10px;
}

#clear_search_text:hover {
    background: #989898;
}

#wrapper_search_icon {
    width: 70px;
    height: 100%;
    cursor: pointer;
    background: #6876F3;
    display: flex;
    border-radius: 0 5px 5px 0;
    align-items: center;
    justify-content: center;
}

#search_icon {
    width: 20px;
    height: auto;
}

#suggest_list {
    display: flex;
    flex-direction: column;
}

#search_divider {
    background-color: #cdcdcd;
    height: 1px;
}

/*搜索建议中的item*/
.suggest_item {
    display: flex;
    padding: 5px 0 5px 40px;
    list-style: none;
    color: #c7c7c7;
}

.suggest_item:hover {
    background-color: #657979;
}

.selected_suggest_item {
    background-color: #c9c9c9;
}

.unselected_suggest_item {
    background-color: transparent;
}

.suggest_item_index {
    width: 20px;
    height: 20px;
    line-height: 20px;
    padding: 1px;
    font-size: 12px;
    text-align: center;
    margin-right: 20px;
}

.bg_round {
    border-radius: 50%;
}

#label_site_list {
    width: 100%;
    color: #b0b0b0;
    font-size: 14px;
    display: none;
    margin-left: 10px;
}

#module_advance {
    padding: 10px 0 20px;
}

#advance_main_part {
    display: flex;
    width: 50%;
    margin: 0 auto;
    flex-direction: column;
}

.adavance_search_item_label {
    display: inline-block;
    margin: auto 0 ;
    width: 230px;
}

.label_key_word {
    color: #fdbd67;
}

.advance_search_item{
    display: flex;
}

.adavance_search_input {
    margin: 5px 0;
    height: 35px;
    flex-grow: 0;
    width: 400px;
    border: none;
    padding: 0 20px;
    font-size: 14px;
    outline: none;
}

#select_search_time{
    width: 150px;
}

#module_site {
    padding: 5px 0;
}

#site_main_part {
    width: 70%;
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
}

.compact_site_main {
    width: 90% !important;
    padding: 5px 0 !important;
}

/* 扁平化搜索网站列表样式 */
#flat_site_list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 5px;
    gap: 2px;
    max-height: 200px;
    overflow-y: auto;
}

#flat_site_list .site_item {
    margin: 3px 5px;
    padding: 5px 8px;
    border-radius: 3px;
    background-color: #4c576e;
    transition: all 0.2s ease;
    font-size: 12px;
}

#flat_site_list .site_item:hover {
    background-color: #5a6882;
    transform: translateY(-1px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

#flat_site_list .site_item.selected {
    background-color: #5d6d8c;
    border: 1px solid #ff9f22;
}

#flat_site_list #site_item_logo {
    width: 16px;
    height: 16px;
    margin-right: 3px;
}

.wrapper_site_list {
    flex: 0 0 50%;
    margin: 5px 0;
}

#site_list_border {
    height: 45px;
    display: inline-flex;
    padding: 0 10px 0 0;
    background: #4c576e;
    border-radius: 5px;
    border: 1px solid #e6e6e6;
}

.title_site_list {
    height: 100%;
    color: #d0d0d0;
    font-weight: bold;
    align-self: center;
    padding: 0 15px;
    box-sizing: border-box;
    line-height: 45px;
    font-size: 14px;
    user-select: none;
}

.real_site_list {
    display: flex;
}

.site_item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3px;
    color: #d0d0d0;
    outline: none;
    box-sizing: border-box;
    padding: 6px 8px;
    font-size: 14px;
    list-style: none;
    user-select: none;
}

#tip_site_click {
    width: 100%;
    color: #b0b0b0;
    text-align: center;
    font-size: 14px;
    margin-left: 5px;

}

.selected {
    color: #ff9f22;
    /*background: #ccccb0;*/
    /*transform: translateY(-3px) ;*/
    /*transition: transform 0.1s;*/
}

.unselected {
    color: #d0d0d0;
    /*background: white;*/
}

/*给被选择的site添加hover*/
.selected:hover {
    color: #ff9f22;
    cursor: pointer;
}

/*给未被选择的site添加hover*/
.unselected:hover {
    cursor: pointer;
    color: #ff9f22;
    /*box-shadow: -2px 3px 10px 1px #b7b7b7, 2px 3px 10px 1px #b7b7b7;*/
    /*transform: translateY(-1px) ;*/
    /*transition: box-shadow 0.2s;*/
}

#site_item_logo {
    margin: auto 5px auto 0;
    width: 20px;
    height: 20px;
}

#module_all_sites{
    display: none;
    background: red;
    width: 85%;
    margin: 20px auto 0;
    padding: 10px 20px;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    /*display: flex;*/
    flex-wrap: wrap;
}

.item_all{
    padding: 10px 10px;
    display: flex;
    margin: 2px;
    text-decoration: none;
}

.item_all:hover {
    background: #cfcfcf;
}

.item_img_all{
    width: 20px;
}
.item_name_all{
    color: #000;
    margin-left: 3px;
    font-size: 14px;
}

#module_nav {
    display: flex;
    width: 70%;
    justify-content: space-between;
    margin: 0 auto;
}

#sidebar {
    display: flex;
    padding: 20px 0 0 0;
    flex-direction: column;
}

.anchor_item {
    color: #d0d0d0;
    display: inline;
    flex: 0 0 auto;
    font-size: 12px;
    padding: 8px 3px;
    margin-bottom: 5px;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}

.anchor_item:hover {
    background: #6876F3;
    color: white;
}

.anchor_selected {
    background: #6876F3;
    color: white;
}

.anchor_unselected {
    background: transparent;
    color: #000
}

#nav_list {
    width: 92%;
    display: flex;
    flex-direction: column;
}

.nav_type_anchor {
    height: 20px;
}

.nav_list_item {
    /*background: white;*/
    padding: 5px 0;
    border: 1px solid #838383;
    box-sizing: border-box;
    border-radius: 10px;
}

.nav_item_type {
    margin: 5px 0 10px 20px;
    font-size: 14px;
    color: #d0d0d0;
}

.real_nav_list {
    display: flex;
    flex-wrap: wrap;
    margin: 5px;
}

.nav_item {
    /*flex: 0 0 0;*/
    display: flex;
    min-width: 80px;
    padding: 10px 10px;
    box-sizing: border-box;
    align-items: center;
    border-radius: 5px;
    flex-direction: column;
    text-decoration: none;
}

.nav_item:hover {
    background: #646464;
}

.nav_item_img {
    width: 30px;
    height: 30px;
    border-radius: 3px;
    flex: 0 0 auto;
}

.nav_item_title_desc {
    display: flex;
    margin: 5px 0 0 0;
    flex-direction: column;
}

.nav_item_name {
    color: #d0d0d0;
    font-size: 14px;

}

.nav_item_desc {
    min-width: 80px;
    color: #8f8f8f;
    font-size: 12px;
    height: 32px;
}

#footer {
    height: 0px;
    display: flex;
}
