/* Loading */
.loading {
	width: 20px;
	height: 20px;
	display: inline-block;
}
.loading-large {
	width: 150px;
	height: 150px;
}
.loading-medium {
	width: 50px;
	height: 50px;
}
.loading-small {
	width: 20px;
	height: 20px;
}

/* Dialog */
.dialog .loading-large {
	margin: auto;
	display: block;
}
.dialog .loading-message {
	text-align: center;
	margin-bottom: 30px;
}
.ui-dialog .dialog-alert {
	padding: 0;
}
.ui-dialog .dialog-alert .alert {
	margin: 0;
}
.ui-dialog .dialog-alert a,
.ui-dialog .dialog-alert a:visited,
.ui-dialog .dialog-alert a:hover,
.ui-dialog .dialog-alert a:link,
.ui-dialog .dialog-alert a:active {
	color: #ffffff;
}

/* Definition list */
.dl-horizontal {
	margin-top: 0;
	margin-bottom: 20px;
}
dt, dd {
	line-height: 30px;
}
.dl-striped dt:nth-of-type(even),
.dl-striped dd:nth-of-type(even) {
	background-color: #F5F5F5;
}
.dl-horizontal dd {
	margin-left: 160px;
	padding-left: 20px;
}
.dl-horizontal dd .table {
	margin-bottom: 0;
}

/* Controls : label - checkbox */
.controls .control-label-checkbox {
	display: inline-block;
	margin: 0;
}
.controls .control-label-checkbox .control-label {
	width: 100px;
	padding: 3px 0 0;
	margin: 0;
	display: inline-block;
	float: right;
}
.controls .control-label-checkbox .controls {
	margin-left: 20px;
	margin-right: 10px;
	float: left;
	display: inline-block;
}

/* Text */
.text-center {
	text-align: center;
}
.text-left {
	text-align: left;
}
.text-right {
	text-align: right;
}
.text-white {
	color: #ffffff;
}

/* Table */
.table th.center, 
.table td.center {
	text-align: center;
}
.table th.left, 
.table td.left {
	text-align: left;
}
.table th.right, 
.table td.right {
	text-align: right;
}

/* Jquery UI Spinner */
.controls .ui-spinner {
	float: none;
}
/* Jquery UI Tabs */
.ui-tabs {
	margin-bottom: 20px;
}

/* Icons in links */
.icon-pos-left {
	margin-right: 4px;
}
.icon-pos-right {
	margin-left: 4px;
}

/* Btn colors */
.btn-magenta {
  background-color: #c54aca;
  color: #FFFFFF;
}
.btn-red {
  background-color: #d90812;
  color: #FFFFFF;
}
.btn-magenta:hover,
.btn-magenta:active,
.btn-magenta.active,
.btn-magenta.disabled,
.btn-magenta[disabled] {
  color: #ffffff;
  background-color: #9c489f;
}
.btn-red:hover,
.btn-red:active,
.btn-red.active,
.btn-red.disabled,
.btn-red[disabled] {
  color: #ffffff;
  background-color: #ab0d14;
}
.btn-group.open .btn-magenta.dropdown-toggle {
    background-color: #9c489f;
}
.btn-group.open .btn-red.dropdown-toggle {
    background-color: #ab0d14;
}

.btn-brown {
  background-color: #B51C44;
  color: #FFFFFF;
}
.btn-brown:hover,
.btn-brown:active,
.btn-brown.active,
.btn-brown.disabled,
.btn-brown[disabled] {
  color: #ffffff;
  background-color: #7A0423;
}
.btn-group.open .btn-brown.dropdown-toggle {
    background-color: #7A0423;
}
.btn-success-inverse {
  background-color: #ffffff;
  color: #035d50;
}
.btn-success-inverse:hover,
.btn-success-inverse:active,
.btn-success-inverse.active,
.btn-success-inverse.disabled,
.btn-success-inverse[disabled] {
  color: #035d50;
  background-color: #f5f5f5;
}
.btn-group.open .btn-success-inverse.dropdown-toggle {
    background-color: #f5f5f5;
}

.btn-blue {
  background-color: #3498DB;
  color: #FFFFFF;
}
.btn-blue:hover,
.btn-blue:active,
.btn-blue.active,
.btn-blue.disabled,
.btn-blue[disabled] {
  color: #ffffff;
  background-color: #01316c;
}
.btn-group.open .btn-blue.dropdown-toggle {
    background-color: #01316c;
}

.btn-blue-violate {
  background-color: #7d60cf;
  color: #FFFFFF;
}
.btn-blue-violate:hover,
.btn-blue-violate:active,
.btn-blue-violate.active,
.btn-blue-violate.disabled,
.btn-blue-violate[disabled] {
  color: #ffffff;
  background-color: #3c1b63;
}
.btn-group.open .btn-blue-violate.dropdown-toggle {
    background-color: #3c1b63;
}

.btn-magenta .caret,
.btn-brown .caret,
.btn-blue .caret,
.btn-blue-violate .caret {
  border-top-color: #FFF;
  border-bottom-color: #FFF;
}

/* Labels - badges */
.label-danger, .badge-danger {
  background-color: red;
}

.widget-head .btn-group {
	margin-right: 20px; 
	margin-top: 3px;
}

#authMessage {
  background-color: #CE4B27;
  color: #FFE7E0;
  margin-bottom: 10px;
  padding: 5px;
}

/* Form */

.input-icon {
	position:relative;
}
.input-icon i {
	position:absolute;
	top:6px;
	left:8px;
	font-size:16px;
	color:#666;
}
.input-icon textarea, .input-icon input[type="text"], .input-icon input[type="password"], .input-icon input[type="datetime"], .input-icon input[type="datetime-local"], .input-icon input[type="date"], .input-icon input[type="month"], .input-icon input[type="time"], .input-icon input[type="week"], .input-icon input[type="number"], .input-icon input[type="email"], .input-icon input[type="url"], .input-icon input[type="search"], .input-icon input[type="tel"], input[type="color"] {
	padding: 6px 6px 6px 30px;
}

.controls .printed-value {
	margin-left: 0;
}

/* Buttons */
.btn.btn-add-new {
	color: #ffffff;
  	background-color: #0049a3;
	padding: 2px 4px;
}
.btn-add-new:hover,
.btn-add-new:active,
.btn-add-new.active,
.btn-add-new.disabled,
.btn-add-new[disabled] {
  color: #ffffff;
  background-color: #01316c;
}
.btn.btn-delete {
	color: #ffffff;
  	background-color: #ce4b27;
  	padding: 2px 4px;
}
.btn-delete:hover,
.btn-delete:active,
.btn-delete.active,
.btn-delete.disabled,
.btn-delete[disabled] {
  color: #ffffff;
  background-color: #983114;
}

.btn.btn-add-new:before {
	content: '\f055  '; /* icon-plus-sign */
	font-family: 'Awesome';
}
.btn.btn-delete:before {
	content: '\f057  '; /* icon-remove-sign */
	font-family: 'Awesome';
}

/* DL */
.dl-horizontal dt.full-text {
	white-space: normal;
	line-height: 20px;
	min-height: 30px;
}

/* Iframe */
.ui-dialog .iframe-dialog {
	background: transparent url('/img/loading/paging.gif') no-repeat center center;
}

/* UI datepicker */
.ui-datepicker {
	z-index: 11000 !important;
}
