.bootstrap {
	color: inherit;
	background-color: inherit;
}
.bootstrap [class^="col-"] {
	margin-bottom: 5px;
}
.bootstrap .container-fluid {
	padding: .3em;
}
/* TYPOGRAPHY */
.bootstrap hr {
	margin : 1em 0 1.5em 0;
}

/* TYPOGRAPHY : heading */
.main .bootstrap h1, .main .bootstrap .h1 {
	margin-bottom: .625em;
	font-size: 24px;
	font-weight: bold;
	text-align: center;
}
.main .bootstrap h2, .main .bootstrap .h2 {
	margin: 0 0 .3125em 0;
	font-weight: bold;
	font-size: 22px;
}
.main .bootstrap h3, .main .bootstrap .h3 {
	margin: 0 0 .15625em 0;
	font-size: 20px;
}
.main .bootstrap h4, .main .bootstrap .h4 {
	font-size: 18px;
}
.main .bootstrap h5, .main .bootstrap .h5 {
	font-size: 16px;
}
.main .bootstrap h6, .main .bootstrap .h6 {
	font-size: 16px;
	font-style: italic;
}

/* TYPOGRAPHY : Alignment classes */
.text-vcenter {
	float: none;
	display:table-cell;
	vertical-align: middle;
	text-align: center;
}

/* TABLE */
.bootstrap .table thead th {
	font-family: Tahoma,Geneva,sans-serif;
	background-color: #707070;
	color:white;
}
.bootstrap .table thead th.sortable {
	cursor: pointer;
}
.bootstrap .table thead th.sortable:hover {
	background-color: #7c7c7c;
}
.bootstrap .table > tbody > tr {
	background-color: white;
}
.bootstrap .table-striped > tbody > tr:nth-of-type(2n+1) {
	background-color: #ebf4fc;
}
.bootstrap .table-group-striped > tbody:nth-of-type(2n+1) > tr {
	background-color: #ebf4fc;
}
.bootstrap .table-hover tbody tr {
	cursor: pointer;
}
.bootstrap .table-hover tbody tr:hover {
	background-color: #f6a828;
	color: white;
}
.bootstrap .table-hover tbody tr:hover td.success,
.bootstrap .table-hover tbody tr:hover td.info,
.bootstrap .table-hover tbody tr:hover td.warning,
.bootstrap .table-hover tbody tr:hover td.danger,
.bootstrap .table-hover tbody tr.success:hover td,
.bootstrap .table-hover tbody tr.info:hover td,
.bootstrap .table-hover tbody tr.warning:hover td,
.bootstrap .table-hover tbody tr.danger:hover td {
	background-color: #f6a828;
}

/* BUTTONS */
.bootstrap .btn:not(.multiselect):not(.toggle-off) {
	font-family: Tahoma,Geneva,sans-serif;
	font-weight: bold;
}
.bootstrap .btn-danger:not(.multiselect):not(.toggle-off):not(.toggle-on) {
	border-color: #ccc;
	color: #c9302c;
	background-color: #f6f6f6;
}
.bootstrap .btn-danger.disabled:not(.multiselect):not(.toggle-off):not(.toggle-on) {
	background-color: #f6f6f6;
}
.bootstrap .btn-default:not(.multiselect):not(.toggle-off):not(.toggle-on):not(.toggle-handle) {
	border:1px solid #ccc;
	color: #1c94c4;
	background-color: #f6f6f6;
}
.bootstrap .btn-default:hover:not(.multiselect):not(.toggle):not(.toggle-off):not(.toggle-on):not(.toggle-handle) {
	border-color: #fbcb09;
	color: #c77405;
	background-color: #fdf5ce;
}
.bootstrap .btn[disabled] .toggle-group {
	pointer-events: none;
}
.bootstrap .btn-link.text-editable {
	text-decoration: none;
	border-bottom: dashed 1px #0088cc;
	padding: 0;
	line-height: 1.2;
}


/* DISABLED BUTTONS TOOLTIP WRAPPER */
.bootstrap .tooltip-wrapper {
	display: inline-block; /* display: block works as well */
}

.bootstrap .tooltip-wrapper .btn[disabled] {
	/* don't let button block mouse events from reaching wrapper */
	pointer-events: none;
}

.bootstrap .tooltip-wrapper.disabled {
	/* OPTIONAL pointer-events setting above blocks cursor setting, so set it here */
	cursor: not-allowed;
}


/* PAGINATION */
.bootstrap .pagination {
	font-family: Tahoma,Geneva,sans-serif;
	font-weight: bold;
}
.bootstrap .pagination > li > a:hover,
.bootstrap .pagination > li > span:hover,
.bootstrap .pagination > li > a:focus,
.bootstrap .pagination > li > span:focus {
	cursor: pointer;
}

/* MODAL */
.bootstrap .modal-content {
	background: #eee;
	border: .0625em solid #ddd;
}
.bootstrap .modal-header {
	position: relative;
	top: .3em;
	margin: 0 .3em 0 .3em;
	padding: .3em;
	border: .0625em solid #e78f08;
	border-radius: .3em;
	color: white;
	background: url("/src/common/img/modal_header_background.png") repeat-x scroll 50% 50% #f6a828;
}
.bootstrap .modal-header .close {
	position: relative;
	height: 1em;
	width: 1em;
	margin-top: .12em;
	border: .0625em solid #ccc;
	border-radius: .15em;
	opacity: 1;
	background: white;
	background: white linear-gradient(#f3f3f3 0, #f3f3f3 50%, #ebebeb 51%, #f7f7f7 65%, #f7f7f7 100%);
}
.bootstrap .modal-header .close:hover {
	background: #fdf5ce;
	border-color: #fbcb09;
	color: #eb8f00;
}
.bootstrap .modal-header .close .glyphicon.glyphicon-remove {
	display: inline-block;
	top: -.20em;
	text-align: center;
	vertical-align: middle;
	font-size: .55em;
	color: #e78f08;
	font-weight: bold;
}
.modal-backdrop {
	background: url("/src/common/img/modal_backdrop.png") repeat scroll 50% 50%  #666;
	opacity: 0.5;
}

/* TABS */
.bootstrap .nav-tabs > li {
	cursor: pointer;
}
.bootstrap .nav-tabs > li > a {
	margin-right: .2em;
	border-radius : 6px 6px 0 0;
	font-size: 16px;
	font-weight: bold;
	background-color: #eee;
	color: #b3adab;
}
.bootstrap .nav-tabs.nav-justified > li > a {
	margin-right: .2em;
}
.bootstrap .nav-tabs.nav-pills > li > a {
	border-radius: .3em;
	margin-bottom: .2em;
}
.bootstrap .nav-tabs.nav-pills > li.active > a {
	border-radius: .3em;
	margin-bottom: .2em;
}
.bootstrap .nav-tabs > li > a:hover,
.bootstrap .nav-tabs > li > a:focus,
.bootstrap .nav-tabs.nav-pills > li > a:hover,
.bootstrap .nav-tabs.nav-pills > li > a:focus,
.bootstrap .nav-tabs > li.active > a:hover,
.bootstrap .nav-tabs > li.active > a:focus,
.bootstrap .nav-tabs.nav-pills > li.active > a:hover,
.bootstrap .nav-tabs.nav-pills > li.active > a:focus {
	font-size: 16px;
	background-color: white;
	border-bottom: 1px solid white;
	color: #ef920b;
}
.bootstrap .nav-tabs > li.active > a {
	color: #ef920b;
	background-color: white;
}
.bootstrap .nav-tabs > li.disabled > a {
	color: #b3adab;
}
.bootstrap .nav-tabs > li.disabled > a:hover,
.bootstrap .nav-tabs > li.disabled > a:focus {
	color: #b3adab;
	background-color: #eee;
	border-bottom: 1px solid #eee;
}
/* CAROUSEL */
.bootstrap .carousel-indicators {
	bottom:0;
	margin-bottom: 0;
}
.bootstrap .carousel-control {
	width: 30%;
}
.bootstrap .carousel-control.left {
	background-image: none;
}
.bootstrap .carousel-control.left:hover {
	background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0, transparent 100%);
	opacity: .5;
}
.bootstrap .carousel-control.right {
	background-image: none;
}
.bootstrap .carousel-control.right:hover {
	background-image: linear-gradient(to right,  transparent 0, rgba(0, 0, 0, 0.5) 100%);
	opacity: .5;
}
.bootstrap .carousel-control .glyphicon-chevron-right {
	margin-right: -48%;
}
.bootstrap .carousel-control .glyphicon-chevron-left {
	margin-left: -48%;
}

/* POPOVER */
.bootstrap .popover h3 {
	font-size: 15px;
}

/*------------------------------------------------------------------------------------------------*/
/* Bootstrap corrections */
.bootstrap {
	font-size: 15px;
	font-family: "MS Trebuchet", "ITC Avant Garde Gothic", "MS Arial", "MS Verdana", Univers, Futura, "ITC Stone Sans", "Akzidenz Grotesk", Helvetica;
}
.bootstrap .row {
	margin-left: 0;
	margin-right: 0;
}
.bootstrap .checkbox label.text-left {
	padding-left: 0;
}
.bootstrap .help-block {
	font-style: italic;
	color: #a94442;
	text-align: left;
}
.bootstrap .modal-body {
	display: inline-block;
	width: 100%;
}

/*------------------------------------------------------------------------------------------------*/
/* Specific to form validation jquery-plugin */
.bootstrap .form-horizontal .has-feedback .form-control-feedback {
	top: 0;
	right: -15px;
}
.bootstrap .form-horizontal .has-many-input-group .has-feedback .form-control-feedback {
	right: -34px;
}
.bootstrap .form-horizontal .has-feedback .form-control {
	padding-right: 12px;
}
.bootstrap .has-feedback {
	position: initial; /* don't clear input on feedback toggle, see Redmine #5139 */
}


/*------------------------------------------------------------------------------------------------*/
/* Osmozis Bootstrap elements */
/* Table */
/* TODO: remove omz-table-zone class rules and use only bootstrap class panel as a table container for rounded corners, */
.bootstrap .omz-table-zone {
	min-height: 1.2em;
	padding: 0;
	margin-bottom: 1.2em;
	background-color: #ebf4fc;
	border: 1px solid #c9cbcd;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
	border-top-left-radius : .625em;
	border-top-right-radius : .625em;
}
.bootstrap .omz-table-zone .table {
	margin-bottom: 0;
}
.bootstrap .omz-table-zone .table thead tr:first-child th:not(.hidden):first-child,
.bootstrap .omz-table-zone .table thead .first-col {
	border-top-left-radius : .625em;
}
.bootstrap .omz-table-zone .table thead tr:first-child th:not(.hidden):last-child,
.bootstrap .omz-table-zone .table thead .last-col {
	border-top-right-radius : .625em;
}

.bootstrap .omz-table-zone .omz-table {
	margin-bottom : 0.5em;
	border-bottom: 1px solid #ddd;
}
/* TODO: These rules with bootstrap panel container replace old rules with omz-table-zone container */
.bootstrap .panel .table > thead:first-child > tr:first-child > .first-col,
.bootstrap .panel .table > tbody:first-child > tr:first-child > .first-col {
	border-top-left-radius: 3px;
}
.bootstrap .panel .table > thead:first-child > tr:first-child > .last-col,
.bootstrap .panel .table > tbody:first-child > tr:first-child > .last-col {
	border-top-right-radius: 3px;
}
.bootstrap .panel .table > tbody:last-child > tr:last-child > .first-col,
.bootstrap .panel .table > tfoot:last-child > tr:last-child > .first-col {
	border-bottom-left-radius: 3px;
}
.bootstrap .panel .table > tbody:last-child > tr:last-child > .last-col,
.bootstrap .panel .table > tfoot:last-child > tr:last-child > .last-col {
	border-bottom-right-radius: 3px;
}
.bootstrap .panel .table .first-col {
	border-left: 0;
}
.bootstrap .panel .table .last-col {
	border-right: 0;
}

/* Title Page */
.bootstrap .omz-title-page {
	margin: 0;
}

/* Main */
.bootstrap .omz-main {
	display: inline-block;
	width: 100%;
	background-color: #e2e5e8;
	padding: 5px;
	border-top: none;
}
/* page body */
.bootstrap .omz-body {
	display : inline-block;
	border-radius : 6px 6px 6px 6px;
	width : 100%;
	background : white;
	padding : 20px 5px 5px 5px;
	border : 1px solid #ddd;
	border-top : none;
}
/* Panel */
.bootstrap .omz-panel {
	display : inline-block;
	width : 100%;
	padding : .3em;
	margin : .3em ;
	border : 1px solid #dddddd;
	border-radius : .6em;
	box-shadow: 4px 4px 6px #aaa;
	background-color : white;
}
/* Zone */
.bootstrap .omz-well {
	min-height: 1.2em;
	padding: .6em;
	margin-bottom: 1.2em;
	background-color: #ebf4fc;
	border: 1px solid #c9cbcd;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
}
/* Form */
.bootstrap .input-group.select-unity-inline .form-control {
	width: 50%;
}
.bootstrap .is-disabled .help-block,
.bootstrap .is-disabled .control-label,
.bootstrap .is-disabled .radio,
.bootstrap .is-disabled .checkbox,
.bootstrap .is-disabled .radio-inline,
.bootstrap .is-disabled .checkbox-inline,
.bootstrap .is-disabled.radio label,
.bootstrap .is-disabled.checkbox label,
.bootstrap .is-disabled.radio-inline label,
.bootstrap .is-disabled.checkbox-inline label {
	color: #333;
}
.bootstrap .is-disabled .form-control {
	border-color: #ccc;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.bootstrap .is-disabled .form-control:focus {
	border-color: #66afe9;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #66afe9;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #66afe9;
}
.bootstrap .is-disabled .input-group-addon {
	color: #555;
	border-color: #ccc;
	background-color: #eee;
}
.bootstrap .is-disabled .form-control-feedback {
	display: none;
}
/* Icons */
.bootstrap .glyphicon.bigger, .bootstrap .fa.bigger {
	font-size: 80px;
}
.bootstrap .glyphicon.bigger.text-muted, .bootstrap .fa.bigger.text-muted {
	color: #ccc;
}
.bootstrap .input-group .checkbox.toggle {
	padding: 0;
	margin-right: 10px;
}
.bootstrap .checkbox.toggle label.toggle-on {
	padding-left: 10px;
}
.bootstrap .form-inline .checkbox.toggle label.toggle-off {
	padding-left: 20px;
}

/* separators */
.bootstrap hr.solid {
	border-color: #ccc;
}

.col-centered {
	float: none;
	margin: 0 auto;
	text-align: center;
}

/* List group */
.list-group-item.first-item {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}
.list-group-item.last-item {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
}
