/* VDTLayout */

.vdt_layout {
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 100px;
}

.vdt_layout .box {
    position: relative;
    width: 85%;
    background-color: #f2f2f2;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    flex-direction: row;
    display: flex;
    border-radius: 8px;
}

.vdt_layout .box .content_container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vdt_layout .box .content_container .child_content_container {
    position: relative;
    min-height: 350px;
    width: 68%;
    left: 50px;
    margin-top: 80px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.vdt_layout .box .content_container .child_content_container a {
    color: rgb(0, 0, 0);
    padding-left: 40px;
    padding-top: 10px;
    font-weight: 500;
    font-size: 17px;
    text-decoration: none;
}

.vdt_layout .box .content_container .child_content_container .program_name {
    font-family: 'Noto Sans HK';
    position: absolute;
    left: 30px;
    margin-top: 20px;
}

.vdt_layout .box .content_container .child_content_container .version_title {
    font-family: 'system-ui';
    font-weight: 1000;
    position: absolute;
    left: 30px;
    margin-top: 30px;
}

.vdt_layout .box .content_container .child_content_container .text_content {
    position: absolute;
    margin-top: 50px;
    overflow-y: auto;
}

.vdt_layout .box .content_container .child_files_info_container {
    position: relative;
    width: 68%;
    left: 50px;
    margin-top: 70px;
    flex-direction: row;
    border-radius: 8px;
    padding-bottom: 40px;
}

.vdt_layout .box .content_container .child_files_info_container .file_nav_info {
    background-color: #0080b3;
    display: flex;
    flex-direction: row;
    position: relative;
    border-radius: 8px;
}


.vdt_layout .box .content_container .child_files_info_container .file_nav_info .file_nav_info_item {
    font-family: 'Noto Sans HK';
    background-color: #0080b3;
    color: #ffffff;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 40px;
    text-decoration: none;
    padding-left: 10px; 
    width: 300px;
    border-radius: 8px;
}

.add_border_line_to_right {
    border-right: 2.5px solid #4099bd;
}

.vdt_layout .box .content_container .child_files_info_container .files_container {
    width: 100%;
    flex-direction: row;
}

.vdt_layout .box .content_container .child_files_info_container .files_container .file_item {
    font-family: 'Noto Sans HK';
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 40px;
    width: 100%-10px;
    text-decoration: none;
    text-align: left;
    padding-left: 10px; 
}

.last_file_item {
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

.cardinal_number_item {
    background-color: #ffffff;
    color: rgb(44, 44, 44);
}

.even_numbers_item {
    background-color: rgb(189, 189, 189);
    color: rgb(255, 255, 255);
}


.vdt_layout .box .packages_list_bar {
    position: absolute;
    display: flex;
    background-color: #0080b3;
    left: 0;
    width: 82%;
    height: 40px;
    border-top-left-radius: 10px;
}

.vdt_layout .box .packages_list_bar .packarges_list_bar_title {
    font-family: 'Noto Sans HK';
    background-color: #d38c3a; 
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 40px;
    border-right: 3px solid #ffffff40;
    text-decoration: none;
    border-top-left-radius: 8px;
}

.vdt_layout .box .packages_list_bar .package_item {
    font-family: 'Noto Sans HK';
    background-color: #0080b3;
    color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90px;
    height: 40px;
    text-decoration:none;
    border-right: 2.5px solid #4099bd;
}

.vdt_layout .box .packages_list_bar .package_item:hover {
    font-family: 'Noto Sans HK';
    background-color: #5ab4d8;
    color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90px;
    height: 40px;
    text-decoration:none;
    border-right: 2.5px solid #4099bd;
}

.version_box {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 18%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.vdt_layout .box .version_list_title {
    font-family: 'Noto Sans HK';
    background-color: #0080b3;
    color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40px;
    border-left: 2.5px solid #979da0;
    margin-left: auto;
    border-top-right-radius: 8px;
}

.vdt_layout .box .version_list {
    height: 97.3%;
    background-color: #ffffff;
    width: 100%;
    right: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 淡出並向右移動 */
@keyframes fadeOutTop {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(50px);
  }
}

/* 從左滑入並淡入 */
@keyframes fadeInBottom {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


.vdt_layout .box .version_list .version {
    background-color: #b9b9b9;
    padding: 9px 10px;
    font-family: 'Noto Sans HK';
    font-size: 15px;
    text-align: left;
    line-height: 1.5;
    display: block;
}

.vdt_layout .box .version_list .version:hover {
    background-color: #ffffff;
    padding: 9px 10px;
    font-family: 'Noto Sans HK';
    font-size: 15px;
    text-align: left;
    line-height: 1.5;
    display: block;
}

.vdt_layout .box .version_list .version.active {
    background-color: #fff177;
    padding: 9px 10px;
    font-family: 'Noto Sans HK';
    font-size: 15px;
    text-align: left;
    line-height: 1.5;
    display: block;
    animation: fadeIn 0.4s forwards;
}

.vdt_layout .box .version_list .version_title {
    border-left: 2.5px solid #4099bd;
    background-color: #0080b3;
    padding: 8.5px 10px;
    font-family: 'Noto Sans HK';
    font-size: 15px;
    text-align: left;
    line-height: 1.5;
    display: block;
}

.use_noto_font {
    font-family: 'Noto Sans HK';
}