[class^="icon-"],
[class*=" icon-"] {
	background-image: url("../images/glyphicons-halflings.png");
}

.icon-white {
	background-image: url("../images/glyphicons-halflings-white.png");
}

.table caption {
	margin-bottom: 18px;
	line-height: 27px;
}

.table caption strong {
	color: #333;
	display: block;
	float: left;
}

.table thead tr th {
	text-align: center;
	vertical-align: middle;
}

.table thead tr th,
.table tbody tr td {
	background-color: #fff;
}

.table tbody tr td {
	vertical-align: middle !important;
}

ul, ol {
	margin-left: 0;
	list-style-position: inside;
}

input, textarea, select{
	margin-bottom: 0 !important;
}

input.span0,
textarea.span0,
.uneditable-input.span0 {
	width: 20px;
}

.input-micro {
	width: 30px;
}

.input-nano {
	width: 15px;
}

.navbar .nav > li > span {
	display: block;
	float: left;  float: none;
	padding: 10px 10px 11px;
	line-height: 19px;
	color: #999;
	text-decoration: none;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.navbar .nav .active > a {
	color: #333;
	text-decoration: none;
	background-color: #eee;
}

.navbar .nav .active > a:hover,
.dropdown-menu li > a:hover,
.dropdown-menu .active > a,
.dropdown-menu .active > a:hover {
	color: #333;
	text-decoration: none;
	background-color: #ccc;
}

.navbar .brand {
	font-size: 15px;
	font-weight: bold;
	padding-top: 12px;
}

.navbar .brand span {
	font-weight: normal;
}

.help-block,
.help-inline {
	font-size: 85%;
}

.help-block {
	margin-bottom: 0;
}

.modal-header {
	background-color: #f5f5f5;
}

.modal-footer {
	margin-bottom: -16px;
}

.alert {
	padding-right: 14px;
}

input.error,
select.error,
textarea.error {
	color: #b94a48;
	border-color: #b94a48;
	background-color: #f2dede;
}

input.error:focus,
select.error:focus,
textarea.error:focus {
	border-color: #953b39;
	-webkit-box-shadow: 0 0 6px #d59392;
	-moz-box-shadow: 0 0 6px #d59392;
	box-shadow: 0 0 6px #d59392;
}

.error .input-prepend .add-on,
.error .input-append .add-on {
	color: #b94a48;
	background-color: #f2dede;
	border-color: #b94a48;
}

.pagination ul {
	background-color: #fff;
}

.dropdown-menu span {
	clear: both;
	color: #333333;
	display: block;
	font-weight: normal;
	line-height: 18px;
	padding: 3px 15px;
	white-space: nowrap;
}

.well {
	background-color: #fcfcfc;
	border-color: #ddd;
}

/* Subnav */
.subnav {
	width: 100%;
	height: 36px;
	background-color: #eeeeee; /* Old browsers */
	background-repeat: repeat-x; /* Repeat the gradient */
	background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* FF3.6+ */
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
	background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Chrome 10+,Safari 5.1+ */
	background-image: -ms-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* IE10+ */
	background-image: -o-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Opera 11.10+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
	background-image: linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* W3C */
	border: 1px solid #e5e5e5;
	-webkit-border-radius: 4px;
		-moz-border-radius: 4px;
			border-radius: 4px;
}
.subnav .nav {
	margin-bottom: 0;
}
.subnav .nav > li > a {
	margin: 0;
	padding-top:    11px;
	padding-bottom: 11px;
	border-left: 1px solid #f5f5f5;
	border-right: 1px solid #e5e5e5;
	-webkit-border-radius: 0;
		-moz-border-radius: 0;
			border-radius: 0;
}
.subnav .nav > .active > a,
.subnav .nav > .active > a:hover {
	padding-left: 13px;
	color: #777;
	background-color: #e9e9e9;
	border-right-color: #ddd;
	border-left: 0;
	-webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
		-moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
			box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
}
.subnav .nav > .active > a .caret,
.subnav .nav > .active > a:hover .caret {
	border-top-color: #777;
}
.subnav .nav > li:first-child > a,
.subnav .nav > li:first-child > a:hover {
	border-left: 0;
	padding-left: 12px;
	-webkit-border-radius: 4px 0 0 4px;
		-moz-border-radius: 4px 0 0 4px;
			border-radius: 4px 0 0 4px;
}
.subnav .nav > li:last-child > a {
	border-right: 0;
}
.subnav .dropdown-menu {
	-webkit-border-radius: 0 0 4px 4px;
		-moz-border-radius: 0 0 4px 4px;
			border-radius: 0 0 4px 4px;
}

/* Fixed subnav on scroll, but only for 980px and up (sorry IE!) */
/*@media (min-width: 980px) {*/
.subnav-fixed {
	position: fixed;
	top: 40px;
	left: 0;
	right: 0;
	z-index: 1020; /* 10 less than .navbar-fixed to prevent any overlap */
	border-color: #d5d5d5;
	border-width: 0 0 1px; /* drop the border on the fixed edges */
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
			border-radius: 0;
	-webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
	-moz-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
			box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */
}
.subnav-fixed .nav {
	width: 938px;
	margin: 0 auto;
	padding: 0 1px;
}
.subnav .nav > li:first-child > a,
.subnav .nav > li:first-child > a:hover {
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
		border-radius: 0;
}
/*}*/

/**
 * 1行2段組のテーブル
 * 1行ごとにtbodyを作ることで実現
 *
 * 参考：テーブルを複数行ごとにhoverでハイライトする方法
 * http://am-yu.net/2012/01/18/multiline_hover/
 */
.table-striped-2rows > tbody:nth-child(odd) > tr > td {
	background-color: #f9f9f9;
}
.table-striped-2rows > tbody:nth-child(even) > tr > td {
	background-color: transparent;
}
.table-striped-2rows > tbody:hover > tr > td,
.table-striped-2rows > tfoot:hover > tr > td {
	background-color: #f5f5f5;
}
