body {
  padding-top: 120px;
  background-color: #b4a072;
}

.navbar {
  background:url(../images/header_bg.jpg) repeat-x;
  text-shadow: 0;
}

.navbar-inverse {
  height: 101px;
  border-bottom: 1px;
}

.container {
  height: 100%;
}

.navbar img{
  margin: 0;
  padding: 0;
}

.navbar-brand{
  margin: 5px 30px 0 10px;
  padding: 0 0 0 18px;
}

.navbar .navbar-nav > .active > a {
  color: #C6C6C6;
  background-color: #FCBF00;

}

.navbar-inverse .navbar-nav > li > a {
  color: #C6C6C6;
  text-shadow: none !important;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
  color: #ffffff;
  background-color: #C6C6C6 !important;
}

.navbar-collapse {
  max-height: 420px;
  padding-right: 15px;
  padding-left: 15px;
  overflow-x: visible;
  border-top: 1px solid #333333;
  background: #333333;
}

.navbar-collapse .nav {
  margin-top: 0;
  margin-bottom: 0;
}

.navbar-collapse .nav > li {
  padding: 0;
  border-bottom: 1px dotted #999999;
}

.navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
  color: #C6C6C6;
  background: #FFFFFF;
}

.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
  color: #ffffff;
  background: #333333 !important;
}

.theme-dropdown .dropdown-menu {
  display: block;
  position: static;
  margin-bottom: 20px;
}

.theme-showcase > p > .btn {
  margin: 5px 0;
}



/* ===== footer ===== */

div#footer {
  background: #000000 url(../images/footer.jpg) repeat-x;
  width: 100%;
  margin: 0 auto;
  padding: 10px;
  padding-bottom:50px;
  color: #CCCCCC;
/*border-top: 3px solid #C6C6C6; */
}

div.footer_navi {
  float: left;
  margin: 0 auto;
  padding: 10px;
  text-align: left;

}

div.footer_navi ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 93%;
  line-height: 1.6em;

}

div.footer_navi a{
  text-decoration: underline;
  color: #C6C6C6;
}

div.footer_navi a:hover{
  text-decoration: none;
  color: #C6C6C6;
}

div.footer_navi li {
  margin: 0;
  padding: 0 0 0 20px;
  list-style: none;
  background: url(../images/footer_list.png) no-repeat;
  font-size: 93%;
  line-height: 2.0em;
}

/* ===== Table ===== */

.table-bordered {
    border: 1px solid black;
    border-collapse: separate;
    *border-collapse: collapse;
    border-left: 0;
    border-radius: 4px;
}
.table-bordered>thead>tr>th,
.table-bordered>tbody>tr>th,
.table-bordered>tfoot>tr>th,
.table-bordered>thead>tr>td,
.table-bordered>tbody>tr>td,
.table-bordered>tfoot>tr>td {
    border: 1px solid black;
    border-right: none;
    border-bottom: none;
}
.table-bordered th,
.table-bordered td {
    border-left: 1px solid black;
}
.table-bordered thead:first-child tr:first-child th,
.table-bordered tbody:first-child tr:first-child th,
.table-bordered tbody:first-child tr:first-child td {
    border-top: 0;
}
.table-bordered thead:first-child tr:first-child > th:first-child,
.table-bordered tbody:first-child tr:first-child > td:first-child,
.table-bordered tbody:first-child tr:first-child > th:first-child {
    border-top-left-radius: 4px;
}
.table-bordered thead:first-child tr:first-child > th:last-child,
.table-bordered tbody:first-child tr:first-child > td:last-child,
.table-bordered tbody:first-child tr:first-child > th:last-child {
    border-top-right-radius: 4px;
}
.table-bordered thead:last-child tr:last-child > th:first-child,
.table-bordered tbody:last-child tr:last-child > td:first-child,
.table-bordered tbody:last-child tr:last-child > th:first-child,
.table-bordered tfoot:last-child tr:last-child > td:first-child,
.table-bordered tfoot:last-child tr:last-child > th:first-child {
    border-bottom-left-radius: 4px;
}
.table-bordered thead:last-child tr:last-child > th:last-child,
.table-bordered tbody:last-child tr:last-child > td:last-child,
.table-bordered tbody:last-child tr:last-child > th:last-child,
.table-bordered tfoot:last-child tr:last-child > td:last-child,
.table-bordered tfoot:last-child tr:last-child > th:last-child {
    border-bottom-right-radius: 4px;
}
.table-bordered tfoot + tbody:last-child tr:last-child td:first-child {
    border-bottom-left-radius: 0;
}
.table-bordered tfoot + tbody:last-child tr:last-child td:last-child {
    border-bottom-right-radius: 0;
}

td.has-error{
    white-space: normal !important;
}

.shr {
    border: 1px dotted #BBBBBB;
    margin-top: 5px;
    margin-bottom: 5px;
}
.gray {color: #AAAAAA;}
.clear {clear: both;}

/* ===== Margin set ===== */

.mgn0 {margin: 0px;}
.mgn3 {margin: 3px;}
.mgn5 {margin: 5px;}
.mgn10 {margin: 10px;}
.mgnt1 {margin-top: 1px;}
.mgnt3 {margin-top: 3px;}
.mgnt5 {margin-top: 5px;}
.mgnt10 {margin-top: 10px;}
.mgnt20 {margin-top: 20px;}
.mgnt30 {margin-top: 30px;}
.mgnt40 {margin-top: 40px;}
.mgnt50 {margin-top: 50px;}
.mgnb5 {margin-bottom: 5px;}
.mgnb10 {margin-bottom: 10px;}
.mgnb20 {margin-bottom: 20px;}
.mgnb30 {margin-bottom: 30px;}
.mgnb50 {margin-bottom: 50px;}
.mgnr10 {margin-right: 10px;}
.mgnr20 {margin-right: 20px;}
.mgnr30 {margin-right: 30px;}
.mgnl10 {margin-left: 10px;}
.mgnl20 {margin-left: 20px;}

.mgnauto{
    margin: 0 auto;
}

/* ==== custom ==== */

h3{ 
    margin:0 0 10px 0; 
    #color: #e0e0e0;
}
.breadcrumb{ 
    background-color: #b4a072;
    margin-bottom:0;
}
.breadcrumb .small{
    font-size: 16px;
    font-weight: bold;
}
.breadcrumb > li + li:before {
    padding: 0 5px;
    color: #cccccc;
    content: "\00BB";
}
.breadcrumb > .active {
    #color: #e0e0e0;
}

.radio input[type="radio"], 
.radio-inline input[type="radio"], 
.checkbox input[type="checkbox"], 
.checkbox-inline input[type="checkbox"] {
    margin-left: -20px;
    position: absolute;
}

input[type="checkbox"].form-control{
    height: 15px;
    width: 15px;
    margin-left: 10px;
}
div.checkbox label{
    font-weight: normal;
    margin-left: 10px;
}

div.radio-inline label{
    font-weight: normal;
}

tr.nyukin_kakunin {
    background-color: gray;
}

tr.over_due_date {
    -webkit-animation:over_due_date_blink 1.5s ease-in-out infinite alternate;
    -moz-animation:over_due_date_blink 1.5s ease-in-out infinite alternate;
    animation:over_due_date_blink 1.5s ease-in-out infinite alternate;
}

@-webkit-keyframes over_due_date_blink{
    0% {background-color:rgba(255,105,180,0.1);}
    100% {background-color:rgba(255,105,180,1);}
}
@-moz-keyframes over_due_date_blink{
    0% {background-color:rgba(255,105,180,0.1);}
    100% {background-color:rgba(255,105,180,1);}
}
@keyframes over_due_date_blink{
    0% {background-color:rgba(255,105,180,0.1);}
    100% {background-color:rgba(255,105,180,1);}
}


/* ==== elycharts ==== */
.chart_label { 
    font-size: 12px; 
    line-height: 10px; 
    margin-left: 2px;
    font-weight: bold;
}
.chart_label p{
    line-height: 2px;
    font-weight: normal;
    font-size: 11px;
}
.chart_label p span.value{
    font-weight: bold;
}
.chart_label .name { 
    font-size: 11px; 
    font-weight: bold;
}

/* ==== modal ==== */
@media screen and (min-width: 768px) {
    .modal.large .modal-content{
        width: 800px;
        margin-left: -100px; /* - (width - 600)/2 */
    }
}


