﻿/* すべてのBoxサイジングモードをborder-boxとする */
*, *::before, *::after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/********** レイアウト **********/
body {
    /*margin: 0px;
    padding: 0px;
    background-color: White;*/
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, Verdana, Meiryo, "M+ 1p", sans-serif;
}
/* 基準フォントサイズ */
/* 小 */
.font0 {
    font-size: 12px;
}
/* 中 */
.font1 {
    font-size: 16px;
}
/* 大 */
.font2 {
    font-size: 20px;
}
/* 特大 */
.font3 {
    font-size: 24px;
}

div.clear {
    clear: both;
    margin: 0px;
    padding: 0px;
    line-height: 0px;
    height: 0px;
}

table {
    empty-cells: show;
    table-layout: fixed;
}


/********** エラーメッセージ **********/
.errPointer {
    font-weight: bold;
    color: Red;
}

.errSummary {
    border: solid 2px Red;
    margin: 0.5em auto 1em auto;
    padding: 1em;
    width: 720px;
    color: Red;
}

.completeMsg {
    border: solid 2px Blue;
    margin: 0.5em auto 1em auto;
    padding: 1em;
    width: 720px;
    color: navy;
    text-align: center;
    font-style: normal;
    font-weight: bold;
    font-size: 1.2em;
}

/********** ページヘッダー **********/
.DBMode {
    width: 100%;
    border: solid 0px;
    background-color: yellow;
}

.ExecMode {
    width: 100%;
    border: solid 0px;
    background-color: #ff9900;
}

div.content_header,
div.content_body {
    width: 90%;
    max-width: 1200px;
    margin: 0px auto 0px .5em;
}

html.no-responsive div.content_header,
html.no-responsive div.content_body {
    width:100%;
    max-width:1080px;
    min-width:768px;
}

div.content_header {
    min-height: 34px;
    background-color: #26ab82;
    padding: 0;
    border-left: 2px solid white;
    border-right: 4px solid white;
}
div.title-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding-bottom:2px;
}
    div.title-container div.icon {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }

    div.title-container div.title {
        flex-grow: 1;
        flex-shrink: 1;
    }

        div.content_header div.title h1 {
            margin: 2px;
            line-height: 28px;
            font-size: 28px;
            color: White;
            word-wrap:break-word;
        }

    div.buttons {
        display: flex;
        flex-direction: row;
        flex-wrap:nowrap;
        border-top: 1px solid white;
        padding: 2px;
        position: relative;
    }
        div.buttons div:first-child {
            flex-grow:1;
            white-space: nowrap;
        }
            div.buttons div:first-child a {
                display:inline-flex;
                justify-content: center;
                align-items: center;
                padding:.1em .4em;
                border:1px solid #066;
                border-radius:.4em;
                height:100%;
            }
            div.buttons div:first-child a img {
                width:1.2em;
                height:1.2em;
            }

        div.buttons table {
            margin: 0px;
            padding: 0px;
            border-collapse: collapse;
        }

            div.buttons table td {
                /*background-color: Black;
                border: outset 2px gray;*/
                margin: 2px;
                /*padding: 2px 1em;*/
                border-collapse: separate;
                /*border-radius: .4em;*/
                vertical-align:middle;
            }

                div.buttons table td a {
                    padding: .4em 1em;
                    background-color: black;
                    border-radius:.4em;
                    font-size: .8em;
                    font-weight: bold;
                    color: White;
                    text-decoration: none;
                    display: inline-block;
                }
                div.buttons table td a:hover {
                    background: linear-gradient(#666,#000);
                }
                div.buttons table td a:active {
                    background: linear-gradient(#000,#666);
                }

/* ドロップダウンメニュー */
ul.selectmenu
{
    background-color: #fff;
    border-left: 1px solid #999;
    border-right: 1px solid #999;
    border-top: 1px solid #999;
    box-shadow: 2px 2px 7px rgba(0,0,0,.67);
    display: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 0;
    text-align: left;
    top: 100%;
    max-width:100%;
    z-index: 100;
}
    ul.selectmenu li
    {
        border-bottom: 1px solid #999;
        display: list-item;
        padding: .5em;
        white-space: normal;
        
    }
        ul.selectmenu li:hover
        {
            background-color: #eee;
        }
    ul.selectmenu input[type=radio],
    ul.selectmenu input[type=checkbox]
    {
        height: 1.25em;
        margin-right: .5em;
        vertical-align: middle;
        width: 1.25em;
    }

div.content_body {
    padding-bottom: 7em;
}

/* ページトップへ戻るアイコン */
#a_pagetop
{
    background-clip: border-box;
    background-color: #26ab82;
    border: 0 0 0 0;
    border-radius: 50%;
    bottom: 32px;
    box-sizing: border-box;
    display: none;
    height: 4em;
    opacity: 0.6;
    position: fixed;
    right: 10px;
    width: 4em;
    z-index: 200;
}
    #a_pagetop:link, #a_pagetop:visited, #a_pagetop:hover, #a_pagetop:active
    {
        color: transparent;
    }
    #a_pagetop:hover, #a_pagetop:active
    {
        box-shadow: none;
        opacity: 1;
    }
    #a_pagetop::after
    {
        background-color: transparent;
        border-bottom-style: none !important;
        border-color: #fff;
        border-left-style: none !important;
        border-right-style: solid !important;
        border-top-style: solid !important;
        border-width: .75em;
        box-sizing: border-box;
        content: "";
        display: inline-block;
        height: 50%;
        left: 25%;
        pointer-events: none;
        position: absolute;
        top: 35%;
        -webkit-transform: rotate(-45deg); /* Android 4.x */
        transform: rotate(-45deg);
        width: 50%;
    }


/* Minimal ClearFix */
.cf::before,
.cf::after {
    content: "";
    display: table;
    height: 0;
}

.cf::after {
    clear: both;
}

.cf {
    zoom: 1;
}

/********** 編集/表示テーブル **********/
table.editTable {
    border: solid 1px #8fca8f;
    border-collapse: collapse;
    padding: 1px;
    width: 100%;
}

    table.editTable > tr > th,
    table.editTable > thead > tr > th,
    table.editTable > tbody > tr > th {
        font-weight: normal;
        margin: 0px;
        padding: 2px;
        border: solid 3px white;
        background-color: #8fca8f;
        text-align: left;
        vertical-align: middle;
        word-wrap: break-word;
    }

    table.editTable > tr > td,
    table.editTable > thead > tr > td,
    table.editTable > tbody > tr > td {
        margin: 0px;
        padding: 2px;
        border: solid 3px white;
        background-color: #ccffcc;
        vertical-align: middle;
    }
        table.editTable > tbody > tr > td.no-padding {
            padding: 0;
        }



table.noBorder {
    width: 100%;
    border-collapse: collapse;
    empty-cells: show;
    table-layout: fixed;
    border-style: none;
    padding: 0px;
    margin: 0px;
}

    table.noBorder td, th {
        border: none;
        margin: 0px;
        padding: 0px;
        text-align: left;
    }

/********** PopupExtender **********/
div.popup {
    border: 2px outset white;
    background-color: #ffffcc;
    padding: 2px;
    text-align: left;
    font-size: 84%;
    visibility: hidden;
}

/********** ModalPopupExtender **********/
div.popupDialog {
    border: 2px outset White;
    background-color: #eeeeee;
}

div.popupDialogTitle {
    border: 0px solid white;
    margin: 0px;
    background-color: #003399;
    color: White;
    text-align: center;
    font-weight: bold;
}

.modalBackground {
    background-color: Gray;
    filter: alpha(opacity=70);
    opacity: 0.7;
}

/********** その他エレメント **********/

.hidden {
    visibility: hidden;
}

.invisible {
    visibility: hidden;
    display: none;
}

.visible {
    visibility: visible;
    display: inline;
}

.center {
    text-align: center;
}

.left {
    text-align: left;
}

.vtop {
    vertical-align: top;
}

.vmid {
    vertical-align: middle;
}

.vbottom {
    vertical-align: bottom;
}
a:link {
    color: blue;
    text-decoration: underline;
}

a:visited {
    color: blue;
    text-decoration: underline;
}

a:hover:not(.aspNetDisabled),a:active {
    color: red;
    text-decoration: underline;
}
a:active {
    color: white;
    background-color: darkturquoise;
    opacity:0.6;
}

.breakable {
    display:inline-block;
    word-wrap:break-word;
}

.jq2012 { /* jquery用マーカー */
}

.jq2013 { /* jquery用マーカー */
}

div.links {
    display: flex;
    flex-direction: row;
}

    div.links a,
    div.links a:hover {
        padding: .1em .4em;
        border: 1px solid #066;
        border-radius: .4em;
        text-decoration: none;
        color: white;
        margin-left: .5em;
    }


@media only screen and (max-width: 768px) {
    html:not(.no-responsive) div.content_header,
    html:not(.no-responsive) div.content_body {
        margin: 0;
        width: 100%;
    }
    html:not(.no-responsive) div.buttons div:first-child a {
        padding:.1em .6em;
    }
        html:not(.no-responsive) div.buttons div:first-child a img {
            width: 1.4em;
            height: 1.4em;
        }

    html:not(.no-responsive) div.buttons table td a {
        padding: .6em 1.2em;
        font-size: 1em;
    }
}

