/*******************************************************************************

  Project   : 特許申請代行サイト AFormsカスタマイズ
  Function  : WordPressフロントページ(マイページ、サインアップページなど) スタイルシート

  Notes     : クライアント様は _a2/_config/ 下のCSSファイルでスタイルを記述して下さい。

*******************************************************************************/

@import "inc_a2-uploader.css";

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

.pull-clear {
    clear: both;
}

@keyframes kf_FIREFLY {
    from {
        opacity: 1;
    }
    to {
        opacity: 0.25;
    }
}

/* 簡易フォーム */

.a2-simple-form {
    display: block;
}

#a2-login-form.a2-simple-form {
}

#a2-signup-form.a2-simple-form {
}

.a2-simple-form .form-row:not(:first-child) {
    margin-top: 10px;
}

.a2-simple-form label {
    line-height: 1;
}

.a2-simple-form .tips {
    margin-top: 3px;
    line-height: 1.2;
}

.a2-simple-form .busy {
    margin-left: 5px;
}

.a2-simple-form #a2-submit-btn {
    margin-top: 10px;
}

.a2-simple-form #a2-submit-btn:disabled {
    cursor: not-allowed;
}

.a2-simple-form #a2-error-msg {
}

#a2-foot-link {
    text-align: right;
}

#a2-input-email-with-selector {
    display: flex;
}

#a2-input-email-with-selector #a2-account-btn {
    padding: 0 12px;
}

#a2-account-selector {
    padding: 4px 0 0 8px;
}

#a2-account-selector .item {
    color: gray;
    cursor: pointer;
    white-space: nowrap;
}

#a2-account-selector .item:hover {
    color: inherit;
}

#a2-login-form #a2-foot-link .pwrereg-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.8em;
    font-style: oblique;
}

/* パスワード入力部 */

.a2-passwd-inputter {
    display: flex;
}

.a2-passwd-inputter #a2-passwd-toggler {
    display: flex;
    align-items: center;
    padding: 0 8px;
}


/* マイページ */

#a2-mypage #a2-order-list {
    margin: 0;
}

#a2-mypage .mypage-head {
    margin-bottom: 30px;
}

#a2-mypage .mypage-head #a2-mypage-ctrls .button {
    float: left;
    margin: 0 10px 10px 0;
}

#a2-mypage .mypage-foot {
    margin-top: 30px;
}

.a2-section-title {
    font-size: 32px;
    line-height: 1;
    margin-bottom: 5px;
}

/* ページネーション */

.tablenav {
    line-height: 1;
}

.tablenav .tablenav-pages {
    display: flex;
    align-items: center;
}

.tablenav .tablenav-pages .displaying-num {
}

.tablenav .tablenav-pages .pagination-links {
    display: flex;
    align-items: center;
}

.tablenav .tablenav-pages .pagination-links .paging-input {
    display: flex;
    align-items: center;
}

.tablenav .tablenav-pages .pagination-links .button.disabled {
    cursor: not-allowed;
}


/* 案件一覧 */

#a2-order-list {
    line-height: 1.2;
}

#a2-order-list .glossary {
    text-align: right;
    margin-bottom: 10px;
}

#a2-order-list .order-item {
}

#a2-order-list .order-item:not(:last-child) {
    margin-bottom: 40px;
}

#a2-order-list .order-item .order-head {
    padding: 15px;
}

#a2-order-list .order-item .order-head .left {
    float: left;
    display: flex;
    align-items: flex-start;
}

#a2-order-list .order-item .order-head .right {
    float: right;
}

#a2-order-list .order-item .order-head .clear {
    clear: both;
}

#a2-order-list .order-item .order-head .left > * {
    margin-right: 35px;
}

#a2-order-list .order-item .order-head .order-id {
}

#a2-order-list .order-item .order-head .status {
    width: 200px;
}

#a2-order-list .order-item .order-body {
    display: flex;
}

#a2-order-list .order-item .order-body .quote {
    padding: 15px;
    flex: 0 0 60%;
}

#a2-order-list .order-item .order-body .file {
    padding: 15px;
    flex: 0 0 40%;
}

#a2-order-list .order-item .order-body h4 {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 10px;
}

#a2-order-list .reg-time {
    margin-top: 10px;
    font-size: 14px;
}

#a2-order-list .customer-attrs {
    border: none;
    margin: 0;
}

#a2-order-list .customer-attrs th,
#a2-order-list .customer-attrs td {
    border: none;
    padding: 0;
    vertical-align: text-bottom;
}

#a2-order-list .customer-attrs tr:not(:last-child) td {
    padding-bottom: 5px;
}

#a2-order-list .customer-attrs th {
    text-align: left;
}

#a2-order-list .customer-attrs td {
    padding-left: 10px;
}

/* 案件状態表示 */

#a2-order-list .order-stat {
    position: relative;
}

#a2-order-list .order-stat.has-chart {
    cursor: pointer;
}

#a2-order-list .a2-DBG-return-to-unpaid-btn {
    font-size: 13px;
    cursor: pointer;
}

#a2-order-list .a2-DBG-return-to-unpaid-btn .fa {
    font-size: 20px;
}

/* 見積もり詳細 */

.wq--detailTable {
    margin: 0;
}

.wq--detailTable th,
.wq--detailTable td {
    padding: 8px;
    line-height: 1.2;
}
.wq--detailTable th {
    text-align: center;
    font-weight: normal;
}

.wq--detailTable td.wq-for-unitPrice,
.wq--detailTable td.wq-for-quantity,
.wq--detailTable td.wq-for-price {
    text-align: right;
}

.wq--detailTable td.wq-for-taxClass {
    text-align: center;
}

.wq--summaryTable {
    width: auto;
    margin: 10px 0 0 auto;
}

.wq--summaryTable th {
    font-weight: normal;
    text-align: right;
}

.wq--summaryTable td {
    min-width: 120px;
    text-align: right;
}

/* アップロードファイル一覧 */

.a2-upload-files {
    margin-bottom: 15px;
}

.a2-upload-files .file-item {
    display: block;
    width: 100%;
    line-height: 1;
    position: relative;
}

.a2-upload-files .file-item:not(:last-child) {
    margin-bottom: 4px;
}

.a2-upload-files .file-item.upload-by-customer {
}

.a2-upload-files .file-item.upload-by-admin {
}

.a2-upload-files .file-item .file-name {
}

.a2-upload-files .file-item .upload-info {
    margin-top: 3px;
}

.a2-upload-files .file-item .file-menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    opacity: 0;
}

.a2-upload-files .file-item .file-menu:hover {
    opacity: 1;
}

.a2-upload-files .file-item .file-menu .menu-item {
    margin-right: 10px;
}

/* 顧客情報登録 */

#a2-customer-register .form-row:not(:last-child) {
    margin-bottom: 15px;
}

#a2-customer-register textarea {
    min-height: auto;
}

#a2-customer-register textarea.single-line-input {
    overflow: hidden;
    resize: none;
}

#a2-customer-register .tips {
    margin-top: 3px;
    line-height: 1.2;
}

#a2-customer-register .error {
    margin-top: 3px;
}

#a2-customer-register .foot-ctrl {
    margin-top: 50px;
    text-align: center;
}

#a2-customer-register .edit-btn:disabled,
#a2-customer-register .save-btn:disabled {
    cursor: not-allowed;
}

