.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}

/* Style for element below a checkbox */
.subCheckbox {
	padding-left: 63px;
	padding-top: 10px;
}

/* Error message for jQuery validate */
label.error, label.errorInP {
	display: block;
	float: none;
	padding-top: 5px;
	padding-left: 5px;
	color: red;
	vertical-align: middle;
	letter-spacing: 0.1em;
	font-size: 78%;
}

div label.errorInP {
	display: block;
	float: none;
	padding-top: 5px;
  padding-left: 5px;
	color: red;
	text-align: left;
	letter-spacing: 0.1em;
	font-size: 78%;
}

div.errorLang {
	margin-right: 45px;
	margin-left: 45px;
	width: 100%;
}

div.errorLang label.errorInP {
	padding-top: 5px;
	padding-left: 5px;
	width: 100%;
	color: red;
	vertical-align: middle;
	text-align: left;
	letter-spacing: 0.1em;
	font-size: 78%;
}

input.error, select.error, textarea.error, select.errorInP, input.errorInP, textarea.errorInP {
	border: 2px solid red;
}

input[type="checkbox"].errorInP, input[type="checkbox"].error, input[type="radio"].errorInP, input[type="radio"].error {
	outline: 2px solid red;
}

/* Various trick */

.highlight {
	background-color: yellow;
	border: solid orange 1px;
	font-style: normal;
	font-weight: bold;
	-moz-box-shadow: 2px 2px 2px #ccc;
  -webkit-box-shadow: 2px 2px 2px #ccc;
  box-shadow: 2px 2px 2px #ccc;
}

.requiredField .labelRequired, .requiredField > label {
  font-weight: bold;
}

.requiredField .labelRequired:after, .requiredField > label:after {
  color: #e32;
  content: ' *';
  display:inline;
}

.external-pager {
  margin: 10px 0;
}

.external-pager .jsgrid-pager-current-page {
  background: #c4e2ff;
  color: #fff;
}

.containerLayout {
	text-align: left;
	padding: 10px 40px 10px 40px;
}

.containerLayout > h1 {
	margin: 0 0 8px 0;
	font-size: 24px;
}

.disabled {
	font-style: italic;
	opacity: 0.6;
  filter: alpha(opacity=60);
}

textarea + .maxlength-feedback {
	display: block;
  width: auto;
}

/* Styling for Select2 with error */
div.has-error span.select2-selection {
	border-color: rgb(185, 74, 72) !important;
}

.row-disabled {
	font-style: italic;
	opacity: 0.6;
  filter: alpha(opacity=60);
}

/* Left align for tooltip content */
.tooltip-inner {
	text-align: left;
}

/* firefox-specific hack for responsive bootstrap table */
@-moz-document url-prefix() {
  fieldset { display: table-cell; }
}

.select2 {
	min-width: 100%;
}

/* classe pour remplacer les retours à la ligne d'un textarea en html */
.p-to-html {
  white-space: pre-wrap; /* css-3 */
  white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
  white-space: -pre-wrap; /* Opera 4-6 */
  white-space: -o-pre-wrap; /* Opera 7 */
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -o-hyphens: auto;
  hyphens: auto;
  word-wrap: break-word;
}

/* badge on icon */
.badge-notify {
  position:absolute;
  background:rgba(255,0,0,.85);
  top: -5px;
  right: -5px;
}

.icon-with-badge {
  position: relative;
  display: inline-block;
}

.row-in-well {
  margin-bottom: 15px;
}

.full-size-label {
  font-size: 100% !important;
}
