﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 0px;
    padding-right: 15px;
}

.container {
    width: 100%;
}

.navbar-header {
    margin-right: 20px;
}

/*@media all and (min-width:768px)*/
.container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse {
    margin-right: 20px;
}

footer {
    position: fixed;
    bottom: 0px;
    width: 100%;
    padding: 10px 0px 0px 10px;
    color: #fff;
    background-color: #000;
    opacity: 0.5;
    z-index: 1000;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select {
    max-width: 350px;
}
textarea {
    max-width: 100%;
}
input[type='checkbox'] {
    margin: 5px;
    height: 28px;
}
input[type='file'] {
    margin: 0 5px 5px 0;
    height: 30px;
}
.input-validation-error {
    background-color: #faa;
}

button:disabled {
  background-color:#acacac;
  color:#737373;
  cursor:default;
}

.ui-dialog { z-index: 1040 !important ;}

.submenu-header {
    background-color: #23a;
    position: fixed;
    top: 50px;
    width: 100%;
    padding: 5px 1px 1px 20px;
    opacity: 0.9;
    z-index: 1000;
}

.submenu-title {
}

.submenu {
    position: relative;
    text-align: right;
    padding: 10px 20px 10px 0px;
}

.main-contents {
    position: relative;
    top: 70px;
    left: 100px;
    width: 90%;
    padding-bottom: 70px;
}

h2 {
    float: left;
    padding: 5px;
    margin : 0;
    color: #fff;
}

h4 {
    background-color: #eee;
    padding: 5px;
    margin: 0px;
}

.message {
    color: blue;
}

.form-group {
    margin-bottom: 5px;
}

.label-fix-width {
    width: 150px;
}

.loading {
    height: 128px;
    text-align: center;
    vertical-align: middle;
    color: blue;
    font-size: 24px;
    background-image: url("/Content/load.gif");
    background-repeat: no-repeat;
    background-position-x: center;
}

.required:after {
    content : '必須';
    background-color: red;
    color: white;
    font-size: 14px;
    padding: 2px;
    margin-left: 5px;
     border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px; 
}

.grid-header {
    background: #eeeeee;
}

        .grid-header th {
            text-align: center;
        }