html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
  font-family: Helvetica, "Helvetica Neue",Arial,"Open Sans", sans-serif;
}

main {
  margin-bottom: 80px;
}

/* Brand */
/* ----------------- */

.marsoc-blue {
  color: #0066bb;
}

h2 {
  font-size: 2em;
}

header {
  margin-bottom: 2rem;
}

header img {
  padding: 4px;
  max-width: 100%;
  max-height: 86px;
}
/* cards*/
/* ----------------- */
.card {
    margin: 1em 0;
}

/* Forms */
/* ----------------- */

.btn-toolbar {
  margin: 0.5em 0;
  padding: 0.5em;
  background-color: #f0f0f0;
}

.btn-toolbar .btn {
  display: inline-block;
  margin-right: 4px;
}

.btn-secondary, .btn-secondary:active {
  background-color: #329397;
  border-color: #329397;
}

.btn-secondary:hover {
  background-color: #329397;
  border-color: #329397;
}

.bg-declaration {
  background-color: #d4e3f3;
}
.bg-declaration fieldset{
  background-color: inherit;
}

label {
  color: #4f2e55;
}

fieldset {
  background-color: #f8f8f8;
  padding: 8px;
}

legend {
  margin-top: 1em;
  color: #0066bb;
}

ul.form-control {
  height: auto;
  list-style: none;
}

/* Override .form-control on multiple checkbox/radio */
ul.form-control input {
  display: inline-block;
  line-height: normal;
  width: auto;
  height: auto;
  padding: 0 1rem 0 0;
}


.form-control.is-valid {
  background-image: none;
}

.form-control.is-invalid {
  background-image: none;
}

.form-control[type=checkbox]{
  width: auto;
  height: auto;
  display: inline-block;
  padding-right: 1em;
}

.form-control.select2-selection--multiple {
  height: auto;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
  border-color: #0066bb;
  color: #000000;
  background-color: #88ccdd;
}

textarea.form-control {
  height: 4rem;
}

.form-row {
  margin-top: 1em;
}

.form-group input[type=text], .form-group input[type=email], .form-group textarea {
  width: 100%;
}
.form-group li {
  list-style: none;
  line-height: 2em;
}

.select2-container {
  max-width: 100%;
  min-width: 100%;
}

.select2-container .select2-selection--single {
  height: 34px;
  padding-top: 2px;
}

#div_id_date_of_birth ~ .invalid-feedback {
  /* Allow calendar to show error feedback */
  display: block;
}

label.required:after { content: '*'; color: red; }


/* Sticky footer styles
-------------------------------------------------- */
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  line-height: 60px; /* Vertically center the text there */
  background-color: #f5f5f5;
  color: #888888;
  font-size: 0.8em;
}
