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;
	line-height:60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
}

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

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

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

.navbar-brand > img {
	display:inline-block;
	margin:-15px 5px -15px 0px;
}

/* 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: /*"\e113"*/ "\e151";
}

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

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

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

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

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

.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;
}

/*
Tabs
*/

#tabs.ui-widget-content {
	border: none;
	background: none;
	color: inherit;
	font-family:inherit;
	font-size:inherit;
	border-radius:0;
	padding:0;
}

#subTabs.ui-widget-content {
	border:0;
	padding:0 !important;
}

#tabs .ui-tabs-nav {
	padding:0;
	margin:0;
	border-radius:0;
	border:0;
	background:none;
	color:inherit;
	font-weight:normal;
}

#tabs .ui-tabs-nav li {
	list-style: none;
    float: left;
    position: relative;
    top: 0;
    margin: 0;
    border-bottom-width: 0;
    padding: 0;
    white-space: nowrap;
}

#tabs .ui-tabs-nav li.ui-tabs-active {
	margin:0;
	padding:0;
}

#tabs .ui-state-default {
	border: none;
    background: none;
    font-weight: normal;
    color: inherit;
	border-radius:0;
}

#tabs .ui-tabs-nav .ui-tabs-anchor {
	float: left;
    padding: 0;
    text-decoration: none;
	margin-right: 1px;
	margin-bottom:-1px;
    line-height: 1.42857143;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
	position: relative;
    display: block;
    padding: 10px 6px;
	border: 1px solid #ddd;
    border-bottom-color: transparent;
	background:#d9edf7;
	border-color:#bce8f1;
	color:#31708f;
}

#subTabs .ui-tabs-nav .ui-tabs-anchor {
	background:#dff0d8;
	border-color:#d6e9c6;
	color:#3c763d;
}

#tabs .ui-state-active a, #tabs .ui-state-active a:link, #tabs .ui-state-active a:visited {
	color: #fff;
	background-color: #31b0d5;
  	border-color: #269abc;
    cursor: default;
}

#subTabs .ui-state-active a, #subTabs .ui-state-active a:link, #subTabs .ui-state-active a:visited {
	color: #fff;
	background-color: #5cb85c;
  	border-color: #4cae4c;
}

#tabs .ui-tabs-panel {
	display: block;
    border-width: 0;
    padding: 0;
    background: none;
	border-radius:0;
	border: 1px solid #bce8f1;
}

#subTabs .ui-tabs-panel {
	border: 1px solid #d6e9c6;
}

#tabs .ui-widget-content {
	color:inherit;
	border-radius:0;
	padding:10px;
}

#tabs .ui-widget-content a {
	color:#337ab7;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
	color:#fff !important;
}

#tabs .ui-widget-content a.btn {
	color:#fff;
}

.nav-tabs li a {
	background: #d9edf7 !important;
    border-color: #bce8f1 !important;
}

.nav-tabs li.active a {
	background-color: #31b0d5 !important;
    border-color: #269abc !important;
	color:#fff;
}

.nav-tabs li.active a:hover {
	color:#fff;
}

/*
Change bootstrap
*/

.giiant-crud .panel-heading h2, .giiant-crud .panel-heading h3, .giiant-crud .panel-heading h4 {
	margin-top:0;
	margin-bottom:0;
}

.no-padding-left {
	padding-left:0 !important;
}

.no-padding-right {
	padding-right:0 !important;
}

.nav > li > a {
	padding-left:10px;
	padding-right:10px;	
}

/*
Loading icon
*/

#loading {
	position:fixed;
	z-index:10000;
	top:20px;
	right:20px;
	background-color:#fff;
	width:200px;
	height:100px;
	border-radius:4px;
	border:1px solid #bce8f1;	
}

#loading p {
	text-align:center;
}

#loading .throbber-loader {
	margin:20px 0px 18px 90px;
}

@-moz-keyframes throbber-loader {
	0% {
		background: #dde2e7;
	}
	10% {
		background: #6b9dc8;
	}
	40% {
		background: #dde2e7;
	}
}
@-webkit-keyframes throbber-loader {
	0% {
		background: #dde2e7;
	}
	10% {
		background: #6b9dc8;
	}
	40% {
		background: #dde2e7;
	}
}
@keyframes throbber-loader {
	0% {
		background: #dde2e7;
	}
	10% {
		background: #6b9dc8;
	}
	40% {
		background: #dde2e7;
	}
}
/* :not(:required) hides these rules from IE9 and below */
.throbber-loader:not(:required) {
	-moz-animation: throbber-loader 2000ms 300ms infinite ease-out;
	-webkit-animation: throbber-loader 2000ms 300ms infinite ease-out;
	animation: throbber-loader 2000ms 300ms infinite ease-out;
	background: #dde2e7;
	display: inline-block;
	position: relative;
	text-indent: -9999px;
	width: 0.9em;
	height: 1.5em;
	margin: 0 1.6em;
}
.throbber-loader:not(:required):before, .throbber-loader:not(:required):after {
	background: #dde2e7;
	content: '\x200B';
	display: inline-block;
	width: 0.9em;
	height: 1.5em;
	position: absolute;
	top: 0;
}
.throbber-loader:not(:required):before {
	-moz-animation: throbber-loader 2000ms 150ms infinite ease-out;
	-webkit-animation: throbber-loader 2000ms 150ms infinite ease-out;
	animation: throbber-loader 2000ms 150ms infinite ease-out;
	left: -1.6em;
}
.throbber-loader:not(:required):after {
	-moz-animation: throbber-loader 2000ms 450ms infinite ease-out;
	-webkit-animation: throbber-loader 2000ms 450ms infinite ease-out;
	animation: throbber-loader 2000ms 450ms infinite ease-out;
	right: -1.6em;
}

/* FilterView */
.select2-selection--multiple .select2-search--inline .select2-search__field {
    width: auto !important;
}

.select2-results__option[aria-selected=true] {
	color:#999;
}

#searchResult-gridview .table {
	margin-bottom:3px;
}

#searchResult-gridview tr td {
	cursor:pointer;
	white-space: nowrap;
}

#searchResult-gridview .summary {
	margin:7px 0px 0px 7px;
	float:left;
}

#searchResult-gridview .pagination {
	float:right;
	margin:0px 3px 0px 0px;
}

#component-filterView-searchresult p {
	margin:10px;
}

#sidebar.filterView .clear-button {
	cursor:pointer;
}

#sidebar.filterView input[type="checkbox"] {
	padding:0px;
	margin:0px 3px 0px 0px;
	width:11px;
}

#sidebar.filterView .filterItem {
	margin:0px 0px 15px 0px;
	background:#fff;
}

#sidebar.filterView .filterItem .filterItemBody label {
	font-weight:normal;
}

#sidebar.filterView .filterItem .filterItemBody label:last-child {
	margin-bottom:0px;
}

#sidebar.filterView .filterItem .filterItemCaption {
	margin:0px 0px 5px 0px;
	font-weight:bold;
}

#sidebar.filterView .filterItem .filterSubItemBody {
	margin:0px 0px 0px 15px;
	display:none;
}

#sidebar.filterView.sortable .filterItem {
	cursor:move;
}

#sidebar.filterView .filterItems {
	min-height:100px;
}

#sidebar.filterView .filterItem .filterItemCaption small {
	font-weight:normal;
	font-size:11px;
}

#sidebar.filterView .filterItemStack .title {
	text-align:center;
	font-weight:bold;
	padding:5px 0px;
	font-size: 1.17em;
	margin:0px 0px 15px 0px;
}

#sidebar.filterView .ui-state-highlight {
	height:30px;
	margin:10px auto;
	background:#fbf9ee;
	border:1px solid;
}

.filterItemStack .ui-state-highlight {
	width:160px;	
}

.filterItemStack .ui-sortable {
	padding:0px 0px 100px 0px;
}


.filterItemStack .filterItemCaption small {
	display:none;
}

.filterItemStack .filterItem {
	margin:10px auto 0px;
	min-height:30px;
	line-height:30px;
	background: #fafafa;
	border:1px solid;
	text-align:center;
	cursor:move;
	padding:5px;
}

.filterItemStack .filterItemCaption {
	margin:0;	
}

.filterItemStack .filterItemBody {
	display:none;
}

.filterView .alert.alert-danger {
	position:absolute;
	margin-left:30%;
}

/* Relation Search */
ul.relation {
	margin:0;
	padding:0;
}

ul.relation li {
	list-style-type:none;
}

ul.relation li a {
	display:block;
	padding:5px 5px;
}

ul.relation li.odd a {
	background-color:#f9f9f9;
}

ul.relation li a.active, ul.relation li #subinfo {
	background-color:#BCE774;
}

div#relationSearch-searchResult.panel-body {
	padding:0;
}

div#relationSearch-searchResult.panel-body p {
	margin:15px;
}

div#relationSearch-searchResult.panel-body #subinfo p {
	margin:0;
	padding:5px;
}

div#relationSearch-searchResult.panel-body #subinfo p a {
	background:none;
	margin-top:5px;
	padding:0;
}

/* DetailEditView */
.list-other-select {
	margin:5px 0px;
}

#field .editable {
	cursor:pointer;	
}

.language-picker span {
	display:none;
}