﻿@charset "utf-8";

/* 全体設定 */
html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Lucida Grande','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',Meiryo,メイリオ,sans-serif;
    color: #555;
    height: 100vh;
}

.container {
    padding: 0 5px;
    overflow-x: hidden;
    min-height: 100vh;
}

textarea {
    resize: vertical;
}

.into-text {
    padding-top: 15px;
    padding-bottom: 10px;
}

/* ボタンの見た目設定 */
.btn,
.fc-button {
    box-shadow: rgba(255,255,255,0.5) 0px 1px inset, rgba(0,0,0,0.2) -1px -1px inset;
}

.btn-primary,
.fc-button-primary {
    background-color: #3788d8 !important;
    border-color: #2e6da4 !important;
}

.btn-default {
    background-color: #DDD !important;
    border-color: #555 !important;
}

.btn:disabled,
.fc-button:disabled {
    background-color: #CCC !important;
    border: #AAA solid 1px !important;
    box-shadow: none;
}

.pagination {
    margin-top: 5px;
}

    .pagination a {
        box-shadow: rgba(255,255,255,0.5) 0px 1px inset, rgba(0,0,0,0.2) -1px -1px inset;
    }

/* 検索項目のボーダー設定 */
div.list-group > div > div:nth-child(n+2) {
    border-top: 1px dotted #AAA;
}

a,
a:hover,
a:active,
a:focus {
    text-decoration: none;
}

    /* ボタンshadow装飾初期化(chrome) */
    a,
    a:active,
    a:focus,
    input[type="button"]:hover,
    input[type="button"]:active,
    input[type="submit"]:hover,
    input[type="submit"]:active {
        outline: none;
    }

input[type="button"],
input[type="submit"] {
    min-width: 70px;
    font-size: medium;
    line-height: 20px;
}

/* 項目名の後ろに":"を付ける */
label.control-label:after {
    content: " :";
}

/* _BaseLayout ValidationSummary */
#ValidationSummary {
    margin: 0 -5px 3px -5px;
    border-radius: 0;
}

    #ValidationSummary ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

.field-validation-valid {
    display: none;
}

.field-validation-error {
    display: inline-block;
    color: #a94442;
    font-weight: bold;
}
    /* <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span> を既存タグにcssで埋め込みたかった */
    .field-validation-error:before {
        font-family: "Glyphicons Halflings";
        content: "\e101";
        vertical-align: text-top;
        margin-right: 4px;
    }

.modal-dialog .field-validation-valid {
    color: #a94442;
    font-weight: bold;
}

/* 共通ヘッダースタイル */
#header {
    box-shadow: 0 2px rgba(0,0,0,0.05);
    background: #fff;
    border-bottom: #81c03d solid 2px;
    z-index: 20;
}

#common-header {
    height: 50px;
}

    #common-header a {
        line-height: 30px;
    }

.main-title {
    margin-left: 10px;
    background: url(../../img/waologo_flat.svg) no-repeat left;
    background-size: 30px;
    padding-left: 40px;
    font-weight: bold;
}

.user-info {
    position: absolute;
    top: 4px;
    right: 60px;
    font-size: large;
    text-align: right;
    line-height: 45px;
}

/* タイトルボタン（ホームボタン） */
.btn-home {
    text-align: left;
    width: 200px;
    box-shadow: none;
    -webkit-box-shadow: none;
    border-radius: 0;
}

    .btn-home,
    .btn-home:hover,
    .btn-home:active,
    .btn-home:focus {
        color: #555;
        box-shadow: none;
        -webkit-box-shadow: none;
    }

.label-title {
    display: inline-block;
    margin-bottom: 0;
    white-space: nowrap;
    vertical-align: middle;
    padding: 10px 16px 10px 40px;
    font-size: 18px;
    text-align: left;
    width: 200px;
    color: #555;
    line-height: 30px;
}


/* コンテンツヘッダースタイル */
#contents-title {
    height: 41px;
    line-height: 38px;
    border-top: 1px solid #CCC;
    background-color: #d3efb4;
}

    #contents-title > a.page-back {
        display: inline-block;
        height: 36px;
        width: 36px;
        margin-top: 2px;
        margin-left: 5px;
        text-align: center;
        font-size: large;
        color: #555;
        border: 1px solid #AAA;
        border-radius: 5px;
        box-shadow: rgba(255,255,255,0.5) 1px 1px inset, rgba(0,0,0,0.2) -1px -1px inset;
    }

    #contents-title > span {
        font-size: large;
        font-weight: bold;
        padding-left: 8px;
    }

#contents-header-button {
    padding-left: 5px;
    padding-right: 5px;
    border-top: 1px solid #CCC;
}

    #contents-header-button input {
        margin-top: 3px;
        margin-bottom: 3px;
    }

    #contents-header-button div.pull-left {
        text-align: left;
    }

    #contents-header-button div.pull-right {
        text-align: right;
    }

/* コンテンツフッタースタイル */
#contents-footer {
    /*   display: inline-block;*/
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    z-index: 10;
    padding-left: 5px;
    padding-right: 5px;
    text-align: center;
    background: #DDD;
    border-top: 2px solid #888;
}

/* スライドメニュー */
#sidebar-wrapper {
    z-index: 2;
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    margin-right: -250px;
    overflow-y: auto;
    background: #FFF;
    border-left: #555 solid 2px;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
    overflow-x: hidden;
}

    #sidebar-wrapper.active {
        box-shadow: rgba(0,0,0,0.5) -5px 0px 10px;
    }

    #sidebar-wrapper .menu-header {
        background-color: #f0f0f0;
    }

    #sidebar-wrapper .version {
        display: none;
        position: absolute;
        bottom: 0;
        left: 5px;
        font-size: 10px;
    }

/* 案件一覧項目のヘッダ幅を揃える */
.list-group table {
    margin-bottom: 0;
}

.list-group a:first-child {
    border-bottom: 1px solid #AAA;
}

/* 折り畳みヘッダー設定 */
a.list-group-item:hover,
a.list-group-item:focus,
a.list-group-item {
    background-color: #DDD;
    font-weight: bold;
}

.sidebar-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .sidebar-nav > li {
        line-height: 40px;
        border-bottom: solid 1px #555;
    }

        .sidebar-nav > li > *:first-child {
            padding-left: 15px;
        }

    .sidebar-nav > li.sidebar-brand {
        line-height: 50px;
    }

    .sidebar-nav > li.logout-separator {
        height: 40px;
    }

    .sidebar-nav > li.logout {
        background-color: #FDD;
    }

    .sidebar-nav > a,
    .sidebar-nav > li > a {
        position: relative;
        display: block;
        color: #555;
    }

        .sidebar-nav > li > a > span {
            position: absolute;
            top: 13px;
            right: 17px;
        }

#menu-close {
    height: 50px;
    width: 50px;
    text-align: center;
}

    #menu-close span {
        position: initial;
        top: 0 !important;
        right: initial;
        line-height: 50px;
        font-size: large;
    }

/* メニュー開閉ボタン（3本線含む） */
#menu-toggle {
    width: 50px;
    height: 50px;
    color: #555;
    text-align: center;
}

    #menu-toggle span {
        line-height: 50px;
        font-size: 19px;
    }


/* 件数通知領域 */
.info {
    display: inline-block;
    position: absolute;
    top: 2px;
    right: 2px;
    background: #EF5454;
    border-radius: 10px;
}

    .info span {
        padding: 0 5px;
        color: #fff;
        font-size: 12px;
    }

/* ワークフロー件数表示部 */
#workflow > ul.wf_inner {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

    #workflow > ul.wf_inner > li {
        position: relative;
        display: block;
        margin: 0;
        padding: 0;
        border-bottom: dotted 1px #ccc;
    }

        #workflow > ul.wf_inner > li:first-child {
            border-top: solid 1px #555;
        }

        #workflow > ul.wf_inner > li:last-child {
            border-bottom: none;
        }

        #workflow > ul.wf_inner > li a,
        #workflow > ul.wf_inner > li a:hover,
        #workflow > ul.wf_inner > li a:focus,
        #workflow > ul.wf_inner > li a:active {
            display: inline-block;
            width: 230px;
            color: #555;
        }

    #workflow > ul.wf_inner div {
        position: absolute;
        top: 10px;
        right: 15px;
        height: 21px;
        vertical-align: top;
        line-height: initial;
    }

        #workflow > ul.wf_inner div > span {
            text-align: center;
            padding: 0 10px;
            border-radius: 12px;
        }

            #workflow > ul.wf_inner div > span.stamp {
                background-color: #EF5454;
                color: #FFF;
                font-weight: bold;
            }

            #workflow > ul.wf_inner div > span:after {
                content: " 件";
            }


/* ヘッダ周辺ボタン */
#sidebar-wrapper.active {
    right: 250px;
    width: 250px;
    transition: all 0.4s ease 0s;
}

/* ローディング画面 */
.loadingbox {
    display: block;
    position: fixed;
    background-image: url(../../img/loading-icon.gif);
    background-size: 105px 35px;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #fff;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
}

.required {
    color: #0063DD;
}

/* チェックボックスデザイン変更 */
.checkbox {
    margin: 0;
    display: inline-block;
    padding-left: 15px;
    word-break: keep-all;
    vertical-align: text-top;
}

    .checkbox label {
        left: 50px;
        line-height: 22px;
        margin-top: 0;
        padding-top: 0;
    }

input[type="checkbox"] {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    margin: 0 !important;
    background: url(../../img/check_off.svg) no-repeat;
    vertical-align: text-bottom;
}

    input[type="checkbox"]:checked {
        background: url(../../img/check_on.svg) no-repeat;
    }

/* ラジオボタンデザイン変更 */
.radio_button {
    margin: 0 0 6px 0;
    display: inline-block;
    padding-left: 15px;
    word-break: keep-all;
}

    .radio_button label {
        line-height: 23px;
        padding-left: 27px;
        font-weight: normal;
    }

input[type="radio"] {
    position: absolute;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    margin: 0 !important;
    background: url(../../img/radio_off.svg) no-repeat;
}

    input[type="radio"]:checked {
        background: url(../../img/radio_on.svg) no-repeat;
    }

/* selectフォームのアイコン変更 */
select::-ms-expand {
    display: none;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

    select.form-control {
        background-image: url(../../img/pull_down.svg);
        background-repeat: no-repeat;
        background-position: right 8px center;
        background-size: 14px;
        background-color: #fff;
    }

        select.form-control:disabled {
            background: none;
            background-color: #ebebeb !important;
        }

        select.form-control:focus,
        select.form-control:active {
            background-image: url(../../img/pull_up.svg);
            background-repeat: no-repeat;
            background-position: right 8px center;
            background-size: 14px;
            background-color: #fff;
        }

/* 日付選択ポップアップの設定 */
.pick-date {
    width: 120px !important;
}

.datepicker .table-condensed {
    width: 85vw;
    max-width: 400px;
    height: 300px;
}

.datepicker-dropdown th,
.datepicker-dropdown td {
    text-align: center !important;
}

/* モーダルダイアログのリスト設定 */
.modal-body {
    background-color: #EEE;
}

    .modal-body a {
        display: block;
        color: inherit;
        text-decoration: none;
        background: #f7f7f7;
        box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.29);
        line-height: 38px;
        margin-bottom: 8px;
        background-color: #FFF;
    }

        .modal-body a:active {
            box-shadow: inset 0 0 2px rgba(128, 128, 128, 0.1);
            transform: translateY(2px);
        }

        .modal-body a:nth-last-child(-n+1) {
            margin-bottom: 0px;
        }

    .modal-body a {
        padding-left: 15px;
    }

    /* 階層にインデントを付ける */
    .modal-body .para1 {
        padding-left: 10px;
    }

    .modal-body .para2 {
        padding-left: 20px;
    }

    .modal-body .para3 {
        padding-left: 30px;
    }

    .modal-body .para4 {
        padding-left: 40px;
    }

    .modal-body .para5 {
        padding-left: 50px;
    }

/* Autocompleteリストボックスのデザイン設定 */
ul.ui-autocomplete {
    max-height: 300px !important;
    overflow-y: scroll !important;
    box-shadow: rgba(0,0,0,0.5) 2px 5px 4px;
}

    ul.ui-autocomplete > li:nth-child(n+1) {
        border-top: 1px solid #E0E0E0;
    }

/* パネル表示レイアウト設定 */
.panel {
    border: 1px solid #A0A0A0;
    box-shadow: 1px 3px 2px rgba(0, 0, 0, 0.2);
}

.panel-heading {
    background-color: #E0E0E0 !important;
    padding: 5px 10px;
    font-weight: bold;
}

    .panel-heading > span {
        display: inline-block;
        word-break: break-all;
    }

dl.panel-list {
    width: 100%;
    margin: 0;
}

    dl.panel-list > dt {
        width: 100%;
        padding: 5px 10px;
        border-top: 1px solid #DDD;
        font-weight: bold;
    }

    dl.panel-list > dd {
        margin-left: 90px;
        margin-top: -15px;
        padding: 5px 5px;
        word-break: break-all;
        min-height: 1em;
    }

        dl.panel-list > dd.right {
            text-align: right;
            padding-right: 25px;
        }

        dl.panel-list > dd > span {
            display: block;
            word-break: break-all;
        }

/* 共通デザイン微調整 */
.param-group {
    margin-top: 5px;
}

    .param-group .group-header {
        line-height: 40px;
        font-weight: bold;
        background-color: #E0E0E0;
        border-top: 2px solid #BBB;
        margin-left: -5px;
        margin-right: -5px;
    }

        .param-group .group-header span {
            line-height: 40px;
            padding-left: 15px;
        }

span {
    word-break: break-all;
}

    span.rawtext {
        white-space: pre-wrap;
    }

    span.pull-left {
        display: inline-block;
        width: 28px;
        line-height: 20px;
        font-size: larger;
    }


.input-horizon > .form-control {
    display: inline-block;
    width: initial;
}

.input-date {
    width: 50%;
}

/* 明細のタイトル */
.detail-title {
    background-color: #F0F0F0;
    padding: 3px 5px;
    margin: 0 -5px;
    margin-bottom: 5px;
}

    .detail-title > span {
        display: block;
        word-break: break-all;
        font-weight: bold;
    }

/* pdfデータ */
.pdfdata > a {
    background-image: url(../../img/pdfdata.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 36px auto;
}
    .pdfdata > span,
    .pdfdata > a {
        display: block;
        margin: 0 auto;
        text-align: center;
        width: 36px;
        height: 36px;
        opacity: 0.8;
    }

    .pdfdata > a:hover,
    .pdfdata > a:focus,
    .pdfdata > a:active {
        opacity: 1;
    }
/* ダウンロード済みpdfデータ */
.pdfdata01 > a {
    background-image: url(../../img/pdfdata01.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 36px auto;
}
    .pdfdata01 > span,
    .pdfdata01 > a {
        display: block;
        margin: 0 auto;
        text-align: center;
        width: 36px;
        height: 36px;
        opacity: 0.8;
    }

    .pdfdata01 > a:hover,
    .pdfdata01 > a:focus,
    .pdfdata01 > a:active {
        opacity: 1;
    }

/* 外部リンク */
.extlink > a {
    background-image: url(../../img/extlink_image.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 36px auto;
}

.extlink > span,
.extlink > a {
    display: block;
    margin: 0 auto;
    text-align: center;
    width: 36px;
    height: 36px;
    opacity: 0.8;
}

    .extlink > a:hover,
    .extlink > a:focus,
    .extlink > a:active {
        opacity: 1;
    }