* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
}

:root {
    font-family: "Segoe UI";
    font-size: 14px;
    --font-color: rgb(50, 49, 48);
    color: rgb(50, 49, 48);
}

body {
    width: 100%;
    overflow-y: auto;
}

header .header_logo{
    padding: 5px 15px;
    width: 100%;
    height: 42px;
    background-color: rgb(50, 49, 48);

    display: flex;
    align-items: center;
}
header .header_logo span{
    line-height: 100%;
    margin-left: 5px;
    font-size: 20px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
}
header .header_title{
    width: 100%;
    height: 90px;
    padding: 23px 0px;
    background-image: url(../svg/header.svg);
}
header .header_title h1{
    font-size: 32px;
    font-weight: 700;
    color: white;
    white-space: nowrap;
}

nav.menu{
    padding-left: 35px;
}
nav .menu_list{
    list-style-type: none;
    display: flex;
    align-items: center;
    user-select: none;
}
nav .menu_list .menu_tab{
    display: inline-block;
}
nav .menu_list .menu_tab .menu_tab_radio{
    display: none;
}
nav .menu_list .menu_tab .menu_tab_label{
    display: inline-block;
    height: 45px;
    padding: 0px 24px;
    line-height: 45px;

    font-size: 16px;
    color: var(--font-color);
    white-space: nowrap;

    cursor: pointer;
}
nav .menu_tab_radio:checked+.menu_tab_label{
    font-weight: 600;
    border-bottom: 2px solid rgb(92, 45, 145);
    border-radius: 0 0 2px 2px;
}
nav .menu_tab_label:hover{
    background-color: rgb(243, 242, 241);
    border-bottom: 2px solid rgb(92, 45, 145);
    border-radius: 0 0 2px 2px;
}

main{
    padding-right: 20px;
    margin-top: 50px;
    display: flex;
    gap: 20px;
}

aside.product_menu{
    padding: 15px;
    border: 1px solid rgb(223, 223, 223);
    box-shadow: rgb(223, 223, 223) 1px 0.5px;
}
aside .product_menu_list{
    position: sticky;
    top: 0;
}
aside .product_list{
    display: flex;
    flex-wrap: wrap;
}
aside .product_menu_list legend{
    width: 100%;
    padding: 10px 0px;
    font-weight: 600;
    color: var(--font-color);
}
aside div{
    user-select: none;
}
aside .product_list div{
    padding: 10px;
    display: flex;
}
aside .product_list .product_checkbox{
    appearance: none;
    outline: none;
    box-sizing: content-box;
    width: 14px;
    height: 14px;
    border: 1px solid var(--font-color);
    border-radius: 2px;
    position: relative;
    top: 2px;
    cursor: pointer;
}
aside .product_list .product_label{
    padding-left: 4px;
    cursor: pointer;
    white-space: nowrap;
}

aside .product_list .product_checkbox:checked::after,
aside .product_list .product_checkbox:hover::after{
    content: "";
    width: 5px;
    height: 10px;
    border: 1px solid;
    position: absolute;
    top: 0;
    left: 4px;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}
aside .product_list .product_checkbox:checked{
    background-color: rgb(0, 120, 212);
    border-color: rgb(0, 120, 212);
}
aside .product_list .product_checkbox:checked:hover{
    background-color: rgb(0, 90, 158);
    border-color: rgb(0, 90, 158);
}
aside .product_list .product_checkbox:hover::after{
    border-color: rgba(50, 49, 48, 0.8);
}
aside .product_list .product_checkbox:checked::after{
    border-color: white;
}

aside .download_option div{
    margin-top: 8px;
    height: 20px;
}
aside .download_option .download_radio{
    appearance: none;
    outline: none;
    width: 20px;
    height: 20px;
    border: 1px solid;
    border-radius: 50%;
    position: relative;
    top: 4px;
    cursor: pointer;
}
aside .download_option .download_label{
    margin-left: 3px;
    cursor: pointer;
    white-space: nowrap;
}
aside .download_option .download_radio:checked::after,
aside .download_option .download_radio:hover::after{
    content: "";
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 4px;
}
aside .download_option .download_radio:hover::after{
    background-color: rgba(50, 49, 48, 0.8);
}
aside .download_option .download_radio:checked{
    border-color: rgb(0, 120, 212);
}
aside .download_option .download_radio:checked:hover{
    border-color: rgb(0, 90, 158);
}

aside .download_option .download_radio:checked::after{
    background-color: rgb(0, 120, 212);
}
aside .download_option .download_radio:checked:hover:after{
    background-color: rgb(0, 90, 158);
}

article{
    width: 100%;
    color: var(--font-color);
}
article table.product_table{
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    text-align: center;
    overflow-x: auto;
}
table .product_table_thead{
    position: sticky;
    top: 0;
    background-color: white;
}
table .product_table_thead tr{
    height: 45px;
    font-weight: 600;
    user-select: none;
    border-bottom: solid 1px rgb(243, 242, 241);
}
table .product_table_thead th:hover,
table .product_table_tbody tr:hover{
    background-color: rgb(191, 191, 191, 0.2);
}
table .product_table_tbody{
    color: rgb(96, 94, 92);
}
table .product_table_tbody tr{
    height: 60px;
    border-bottom: solid 1px rgb(243, 242, 241);
}
table .btn_download{
    width: 80px;
    height: 32px;
    background-color: rgb(94, 67, 143);
    border-radius: 2px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    padding: 0 10px;
    user-select: none;
}
table .btn_download_icon {
    margin-left: 5px;
    color: white;
    font-size: 16px;
    font-weight: lighter;
    float: right;
}
table .btn_download:hover {
    background-color: rgb(0, 120, 212);
}
table .btn_download:hover .btn_download_icon{
    transform: translateX(-2px);
}
table .info_icon {
    color: rgb(16, 110, 190);
    font-size: 16px;
    font-weight: lighter;
    cursor: pointer;
}
/* 
#th_product {min-width: 8%;}
#th_channel {min-width: 8%;}
#th_architecture {min-width: 8%;}
#th_type {min-width: 8%;}
#th_released {min-width: 8%;}
#th_download {min-width: 8%;}
#th_info {min-width: 8%;} 
*/

/* 以下为section mask的css */
section.mask_bottom {
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    position: fixed;
    left: 0px;
    top: 0px;
    visibility: hidden;
}
section .mask_top {
    padding: 18px 24px 20px 24px;
    width: 40vw;
    height: 100vh;
    background-color: white;
    position: absolute;
    right: -50px;
    top: 0px;
    cursor: auto;
    box-shadow: rgba(0, 0, 0, 0.22) 0px 25.6px 57.6px 0px, rgba(0, 0, 0, 0.18) 0px 4.8px 14.4px 0px;
    visibility: hidden;
    opacity: 0;
}
section .mask_top .mask_top_title {
    font-size: 20px;
    font-weight: 600;
    line-height: 32px;
    user-select: none;
}
section .mask_top .mask_top_tabs {
    display: flex;
    list-style-type: none;
}
section .mask_top_tabs .tab {
    width: 44px;
    position: relative;
}
section .tab:hover {
    background-color: rgb(243, 242, 241);
    cursor: pointer;
}
section .tab .tab_radio {
    display: none;
}
section .tab .tab_label {
    cursor: pointer;
    user-select: none;
    line-height: 42px;
    display: inline-block;
    width: 100%;
    text-align: center;
}
section .tab_radio:checked+.tab_label {
    font-weight: 600;
}
section .tab_radio:checked+.tab_label::after{
    content: "";
    background-color: rgb(0, 120, 212);
    height: 2px;
    width: 2em;
    position: absolute;
    bottom: 0;
    left: calc(50%);
    transform: translateX(-50%);
    display: block;
    cursor: pointer;
    transition: all 0.3s;
}
section .tab_radio:checked+.tab_label:hover::after{
    width: 100%;
    animation: after-animation 0.3s linear;
}
@keyframes after-animation {
    0%{
        width: 2em;
    }
    100%{
        width: 100%;
    }
}
section .mask_top .mask_top_content {
    position: relative;
    width: 100%;
    height: 100%;
}
section .mask_top_content .content {
    width: 100%;
    height: auto;
    cursor: default;
    font-size: 14px;
    position: absolute;
    left: 0;
    top: 0;
}
section #content_info {
    visibility: visible;
}
section #content_key {
    visibility: hidden;
    padding: 15px 0px;
}
section .content .file_title {
    padding: 15px 0px;
    font-size: 15px;
    font-weight: 600;
}
section .content .file_note {
    font-weight: 100;
    height: 30px;
    padding-top: 12px;
    padding-bottom: 0;
}
section .content .file_released,
section .content .file_name {
    font-size: 12px;
    font-weight: 400;
    height: 28px;
    padding-top: 12px;
    padding-bottom: 0;
}






/* .mask *{
    display: none;
} */
/* 媒体查询，尺寸分为三种：小于600px、600px-1000px、大于1000px */
/* 1、屏幕尺寸最小1000px时样式 */
@media screen and (min-width:1000px) {
    header .header_title {padding-left: 50px;}
    main {margin: 50px auto auto 50px;}
    aside {width: 15%;}
    .product_list {flex-direction: column;}
    /* #mask_info {width: 644px;} */
}
/* 2、屏幕尺寸最小600px到最大1000px时样式 */
@media screen and (min-width:601px) and (max-width:999px) {
    header .header_title {padding-left: 35px;}
    main {flex-direction: column; margin: auto 35px;}
    aside {width: 100%;}
    .product_list {flex-direction: row;}
    /* #mask_info {width: 340px;} */
}
/* 3、屏幕尺寸最大600px时样式 */
@media screen and (max-width:600px) {
    header .header_title {padding-left: 5px;transform: scale(calc(1600/1600));}
    main {flex-direction: column; margin: auto 5px;}
    aside {width: 100%;}
    .product_list {flex-direction: row;}
    /* #mask_info {width: 100%;} */
}
/* 设置页面缩放时的布局 */
@media screen and (-webkit-min-device-pixel-ratio: 3) and (-webkit-max-device-pixel-ratio: 4.99) {
    header .header_title {padding-left: 50px;}
    main {flex-direction: column; margin: auto 50px;}
    aside {width: 100%;}
    .product_list {flex-direction: row;}
    /* #mask_info {width: 100%;} */
}
@media screen and (-webkit-min-device-pixel-ratio: 5) and (-webkit-max-device-pixel-ratio: 10) {
    header .header_title {padding-left: 5px;}
    main {flex-direction: column; margin: auto 5px;}
    aside {width: 100%;}
    .product_list {flex-direction: row;}
    /* #mask_info {width: 100%;} */
}





