html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e114"*/ "\e114";
}

a.desc:after {
    content: /*"\e113"*/ "\e113";
}

.sort-numerical a.asc:after {
    content: "\e113";
}

.sort-numerical a.desc:after {
    content: "\e114";
}

.sort-ordinal a.asc:after {
    content: "\e113";
}

.sort-ordinal a.desc:after {
    content: "\e114";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}
/*  bs3-login-form */
.form-signin
{
max-width: 330px;
padding: 15px;
margin: 0 auto;
}
.form-signin .form-signin-heading, .form-signin .checkbox
{
margin-bottom: 10px;
}
.form-signin .checkbox
{
font-weight: normal;
}
.form-signin .form-control
{
position: relative;
font-size: 16px;
height: auto;
padding: 10px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.form-signin .form-control:focus
{
z-index: 2;
}
.form-signin input[type="text"]
{
margin-bottom: -1px;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.form-signin input[type="password"]
{
margin-bottom: 10px;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.account-wall
{
    margin-top: 20px;
    padding: 20px 0px 20px 0px;
    background-color: #f7f7f7;
    -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    overflow:hidden;
}
.login-title
{
color: #555;
font-size: 18px;
font-weight: 400;
display: block;
}
.profile-img
{
    width: 96px;
    height: 96px;
    margin: 0 auto 1px;
    display: block;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}
.need-help
{
margin-top: 10px;
}
.new-account
{
display: block;
margin-top: 10px;
}
.fields-title{
    font-weight: bold;
    padding-bottom: 5px;
}
@media (max-width: 767px) {
    .fields-btn{
        margin-top: 10px;
    }
}

/* Entry add/edit */
.sz-cashbook-form {
    padding-top: 15px;
}
.sz-cashbook-form .form-group,
.form-horizontal .sz-cashbook-form .form-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-left: 0;
    margin-right: 0;
}
.sz-cashbook-form .form-group > .control-label {
    flex: 0 0 auto;
    width: 5rem;
    padding-left: 0;
    padding-right: 10px;
}
.sz-cashbook-form .form-group > .col-lg-4 {
    flex: 1 0 auto;
    padding-left: 0;
    padding-right: 0;
}
.sz-cashbook-form .form-group > .col-lg-7 {
    width: 100%;
    padding-left: 5rem;
}
.sz-cashbook-form .help-block {
    margin: 5px 0 0;
}
.sz-cashbook-form .help-block:empty {
    display: none;
}

/* Quick buttons */
.sz-cashbook-quick,
.sz-cashbook-quick > li > ul {
    list-style: none;
    margin: 10px -3px 30px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    font-feature-settings: "palt";
}
.sz-cashbook-quick > li,
.sz-cashbook-quick > li > ul > li {
    width: 25%;
    padding: 3px;
    display: flex;
}
.sz-cashbook-quick-btn {
    display: block;
    width: 100%;
    min-height: 6rem;
    padding: 1em .5em;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    border: none;
    border-radius: .33em;
    -webkit-appearance: none;
}

/* children */
.sz-cashbook-quick > li > ul {
      display: none;
}
.sz-cashbook-quick > li.active {
      display: block;
      width: 100%;
}
.sz-cashbook-quick > li.active > ul {
      display: flex;
      margin: 3px -3px 10px;
}

@media (max-width: 640px) {
    .sz-cashbook-quick > li,
    .sz-cashbook-quick > li > ul > li { width: 33.33%; }
    .sz-cashbook-quick-btn { font-size: 3.5vw; }
}
/*
水色 #49A1EB
黄色 #F4AF45
紅色 #CE3B60
菫色 #7252BD
橙色 #E36637
緑色 #59BB6D
*/
.sz-cashbook-quick-btn.meal {
    background: #E36637;
}
.sz-cashbook-quick-btn.consumables {
    background: #F4AF45;
}
.sz-cashbook-quick-btn.gar {
    background: #CE3B60;
}
.sz-cashbook-quick-btn.auto {
    background: #59BB6D;
}
.sz-cashbook-quick-btn.regular {
    background: #49A1EB;
}
.sz-cashbook-quick-btn.income {
    background: #7252BD;
}

.sz-cashbook-quick > li > ul > li > .sz-cashbook-quick-btn {
      border: solid 1px;
      background: #fff;
}
.sz-cashbook-quick-btn.meal-invert {
    color: #E36637;
}
.sz-cashbook-quick-btn.consumables-invert {
    color: #F4AF45;
}
.sz-cashbook-quick-btn.gar-invert {
    color: #CE3B60;
}
.sz-cashbook-quick-btn.auto-invert {
    color: #59BB6D;
}
.sz-cashbook-quick-btn.regular-invert {
    color: #49A1EB;
}
.sz-cashbook-quick-btn.income-invert {
    color: #7252BD;
}

/* Date input */
.sz-cashbook-date-input {
    display: flex;
}
.sz-cashbook-date-input > .form-control {
    flex: 1 1 auto;
    width: 100px;
}
.sz-cashbook-date-btn {
    flex: 0 0 auto;
    margin-left: 5px;
    width: 2.5em;
    font-size: 18px;
    box-sizing: border-box;
}
