body {
    overflow-x: hidden;
    background-color: white;
}
body.cursor-progres {
    cursor: progress !important;
}
.header.forms {
    position: fixed;
    width: 100%;
    top: 0;
}
.footer.forms {
    position: fixed;
    width: 100%;
    bottom: 0;
    white-space: nowrap;
    background: rgb(245, 247, 239);
    box-shadow: black -10px 0px 15px;
}
section.forms {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
input {
    padding-right: 0.2em;
}
input[disabled], input[readonly], textarea[disabled], textarea[readonly] {
    color: black;
    background: #EEE;
}
.right {
    text-align: right;
}

/*** メニューバー ***/
.menu-bar.form {
    color: white;
    white-space: nowrap;
    background: navy;
}
.menu-bar.form .page-name {
    color: white;
    margin-left: 10px;
    padding: 10px;
    background: black;
}
.menu-bar.form > * {
    display: inline-block;
    vertical-align: middle;
}
/* ボタン固定 */
.menu-bar.form .fotter-fixed-change label {
    font-size: small;
    display: inline-block;
}
.menu-bar.form .fotter-fixed-change label > * {
    vertical-align: middle;
}
.menu-bar.form .fotter-fixed-change input {
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 0;
}
.menu-bar.form > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    letter-spacing: -0.3em;
    height: 100%;
}
.menu-bar.form > ul > li {
    display: inline-block;
    letter-spacing: 0;
    height: 100%;
}
.menu-bar.form > ul > li > a {
    display: inline-block;
    padding: 0.2em 0.5em;
    height: 100%;
    color: lightgrey;
    cursor: pointer;
    border-radius: 5px;
}

.menu-bar.form > ul > li > a:hover {
    color: white;
}
.menu-bar.form > ul > li > a.selected {
    color: white;
    background: #66c;
}

/*** ボタンバー ***/
.button-bar.form {
    white-space: nowrap;
    letter-spacing: -0.3em;
}
.button-bar.form > * {
    letter-spacing: 0;
}
.button-bar.form button {
    width: 80px;
    height: 40px;
}

/*** メニューフォーム ***/
.menu.form {
    width: 100%;
}
.menu.form > .form-row {
    margin: 0 auto;
    width: 400px;
}
.menu.form > .form-row > .form-item {
    display: block;
    width: 400px;
    margin: 0.7em 0;
}
.menu.form > .form-row > .form-item a,
.menu.form > .form-row > .form-item button {
    display: block;
    padding: 0.7em 2em;
    background: #eee;
    border: 3px #ccc outset;
    border-radius: 7px;
    color: #888;
}
.menu.form > .form-row > .form-item a:not(:disabled),
.menu.form > .form-row > .form-item button:not(:disabled) {
    color: #609;
    cursor: pointer;
}
.menu.form > .form-row > .form-item button {
    width: 400px;
    text-align: left;
}
.menu.form > .form-row > .form-item a:hover:not(:disabled),
.menu.form > .form-row > .form-item button:hover:not(:disabled) {
    background: #ddd;
}

/*** ボタンバーフォーム ***/
.button-bar.form > ul > li {
    display: inline-block;
}

/*** radio-content ***/
.radio-content,
.radio-content * {
    display: inline-block;
}

.radio-content > *,
.radio-content label > * {
    vertical-align: middle;
}

.radio-content label {
    white-space: nowrap;
}

/* ダイアログボタン(無効) */
.ui-button:disabled {
    background: #EEE;
    color: #CCC;
    border: 1px solid #CCC;
}

/***********************************************************
 * pager
 ***********************************************************/
.pager {
    width: 100%;
}
.pager, .pager div {
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
}
.pager .pager-body {
    max-width: calc(100% - 13.5em);
    overflow: hidden;
    position: relative;
}
.pager .pager-item {
    cursor: pointer;
    border: 1px solid black;
    box-sizing: border-box;
    background: white;
    color: black;
    min-width: 2.5em;
    text-align: center;
    margin-right: .4em;
    padding: .2em;
}
.pager .pager-item.disabled {
    cursor: default;
    border: 1px solid lightgray;
    background: white;
    color: lightgray;
}
.pager .pager-item:not(.disabled):hover {
    background: black;
    color: white;
}
.pager .pager-item.selected {
    background: black;
    color: white;
    font-size: 1.5em;
}

.sortby-asc .column_label:after {
    content: "\25B4";
    font-size: 0.9em;
    font-weight: normal;
}

.sortby-desc .column_label:after {
    content: "\25BE";
    font-size: 0.9em;
    font-weight: normal;
}

/* handdrawn */

.handdrawn .buttons, .handdrawn .buttons > div {
  display: flex;
}
.handdrawn .container {
  position: relative;
}
.handdrawn .container canvas {
  position: absolute;
  left: 0;
  top: 0;
  cursor: crosshair;
}

.handdrawn button.selected {
  border: 4px solid #F90;
}

