﻿@charset "utf-8";
/* 設計師用 RWD版CSS檔 style_rwd.css */
/* 說明：
    可提供設計師在此檔，針對RWD版面進行設計；非RWD版面則不需載此CSS檔。*/
@media(max-width: 1400px){
    .inquire {
        padding: 0px 20px 36px;
    }
    .inquire .form-box {
        gap: 24px;
    }
}

@media(max-width: 1199px){
    .side-warp {
        display: none;
    }
    .main-bg {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .inquire .form-box {
        flex-wrap: wrap;
    }
    .inquire .form-box .form-sec label {
        width: 65px;
    }
    .form-sec.checklist span{
        width: 600px;
    }

    .inquire .form-box  .form-sec.checklist label > input.input-pointer {
        width: 60%;
        display: block;
        position: absolute;
        left: 0;
        margin-top: 13px;
        margin-left: 0px;
    }
}

@media(max-width: 991px){

    .login-box {
        position: relative;
        top: unset;
        right: unset;
    }
    .form-sec.checklist span {
        width: 400px;
    }
    .inquire .form-box .form-sec label {
        margin: 5px 10px;
    }

}

@media(max-width: 767px){
    .login-box {
        width: 85%;
    }
    .inquire {
        margin-top: 40px;
    }
    .page-btn {
        margin: 32px 0;
    }
    .page-btn .btn-warp.page-number a {
        padding: 4px 10px;
    }
    .page-btn .btn-warp {
        gap: 4px;
    }
    body.case table thead td:not(:first-child) {
        display: none;
    }

    body.case table td {
        width: 100%;
        display: block; 
        border: 0;
        font-size: 14px;
    }
    body.case table tr {
        border-bottom: 1px solid #ccc;
    }
    body.case table tbody td {
        padding: 6px 0 !important;
    }
    body.case table tbody tr{
        padding: 10px 8px !important;
        display: block;
    }
    body.case table tbody tr td:first-child {
        font-weight: bold;
    }
    body.case table tbody tr td:first-child a {
        color: #1b7cef;
    }
    body.case table tbody tr td:before {
        content: "- " attr(data-th) " ";
        display: block;
        color:#002551;
        font-weight: bold;
    }

    body.case .header_ex .title h2 {
        margin: 0 0 10px 0;
        font-size: 20px;
    }
    body.case .header_ex .title {
        padding: 1% 5%;
    }
    body.case.show table tbody tr td:first-child {
        width: unset;
    }
    body.case.show table tbody td {
        padding: 0.2rem !important;
    }
    body.case.show table tbody tr {
        padding: 0px !important;
        border: 0;
        background-color: #ecf3ff;
        margin: 20px 0;
    }
    table thead tr td:nth-child(1) {
        width: 100%;
    }
    body.case.show table.base tbody tr td:first-child{
        width: 100%;
    }
    body.case.show table.download tbody tr{
        display: flex;
        flex-wrap: wrap;
    }
    body.case.show table.download tbody tr td a {
        width: 50%;
    }
    body.case.show table.download tbody tr td:first-child a {
        color: #000;
    }
    body.case.show table tbody .sec h5 {
        font-size: 14px;
    }
    body.case.show table tbody .sec {
        margin: 5px 0;
    }

    body.case table.future thead td:not(:first-child),
    body.case table.future thead tr td:nth-child(1) {
        display: block;
        width: 50%;
    }
    
    body.case.show table.future thead tr {
        display: flex;
    }
    body.case.show table.future thead td {
        color: #fff;
    }
    
    body.case.show table.future td {
        font-weight: normal;
    }

    body.case.show table.future tbody td:before{
        content: "-" attr(data-th) " ";
        display: block;
        font-weight: bold;
        color:#0049a0;
    }

    body.case.show table.future .sub-tit {
        display: none;
    }
    body.case.show table.future tbody tr {
        border-bottom: 1px solid #ccc;
    }
    body.case .table.history tr.second-bg {
        display: none;
    }
    body.case .table.history tr ~ tr td:nth-child(1) {
        font-size: 14px;
        font-weight: 600;
        color: #ffffff;
        background: #155bae;
    }
    body.case .table.history tr td:nth-child(3) {
        width: unset;
    }
    body.case.show table tbody .sec.file-warp {
        background: #ffffff;
    }
    body.case.index tr td ~ td {
        text-align: left;
        padding: 8px 0.5rem !important;
    }
    body.case .case-body tr td {
        padding: 8px 0.5rem !important;
    }
    body.case.show table.base tbody tr {
        background-color: unset;
    }
    .inquire .form-box  .form-sec.checklist label > input.input-pointer {
        width: 100%;
    }
    body.case .table .phone-tit {
        display: block;
    }
    body.case .table .pc-tit {
        display: none;
    }
}

@media(max-width: 580px){
    .inquire .form-box .form-sec.checklist {
        flex-direction: column;
        align-items: start;
        justify-self: start;
    }
    .inquire .form-box .form-sec label > input {
        margin-left: 0px !important;
    }
    .inquire .form-box .form-sec.checklist > span {
        margin-right: 10px;
        margin-left: 10px;
    }
    .form-sec.checklist span {
        width: 300px;
    }

}