@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: local("Open Sans Regular"), local("OpenSans-Regular"), url("/fonts/open-sans-v14-latin-regular.woff2") format("woff2"), url("/fonts/open-sans-v14-latin-regular.woff") format("woff");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: local("Open Sans Bold"), local("OpenSans-Bold"), url("/fonts/open-sans-v14-latin-700.woff2") format("woff2"), url("/fonts/open-sans-v14-latin-700.woff") format("woff");
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  src: local("Lato Bold"), local("Lato-Bold"), url("/fonts/lato-v13-latin-700.woff2") format("woff2"), url("/fonts/lato-v13-latin-700.woff") format("woff");
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 900;
  src: local("Lato Black"), local("Lato-Black"), url("/fonts/lato-v13-latin-900.woff2") format("woff2"), url("/fonts/lato-v13-latin-900.woff") format("woff");
}

@font-face {
  font-family: "Audiowide";
  font-style: normal;
  font-weight: 400;
  src: local("Audiowide"), local("Audiowide"), url("/fonts/audiowide-v9-latin-regular.woff2") format("woff2"), url("/fonts/audiowide-v9-latin-regular.woff") format("woff");
}

body {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  font-size: 13px;
  line-height: 20px;
  color: #888;
  font-weight: 400;
}

body.error {
  height: 100vh;
  background-color: #fff;
  padding: 0;
}

body.error .error-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 25px;
}

body.error .error-container > div {
  text-align: center;
}

body.error .error-container > div img {
  width: 350px;
  max-width: 100%;
  max-height: 300px;
  height: auto;
  margin-bottom: 25px;
}

body.error .error-container > div h1,
body.error .error-container > div h2 {
  font-size: 30px;
  margin-bottom: 0;
}

body.error .error-container > div h2 {
  font-size: 24px;
  margin-top: 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  margin-bottom: 15px;
  color: #656565;
}

h1 {
  font-size: 30px;
  line-height: 35px;
}

h2 {
  font-size: 24px;
  line-height: 28px;
}

h3 {
  font-size: 20px;
  line-height: 24px;
}

h4 {
  font-size: 17px;
  line-height: 20px;
}

h5 {
  font-size: 14px;
  line-height: 20px;
}

h6 {
  font-size: 13px;
  line-height: 20px;
}

p {
  margin-bottom: 15px;
}

a {
  color: #888;
  transition: color 0.1s;
}

a:hover,
a:focus {
  text-decoration: none;
}

a:hover {
  color: #0067b1;
}

a:focus {
  color: #888;
}

fieldset.border-top {
  padding-top: 15px;
  margin-top: 15px;
  border-top: 1px dashed #d9d9d9 !important;
}

fieldset.border-bottom {
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px dashed #d9d9d9 !important;
}

fieldset.no-padding-bottom {
  padding-bottom: 0;
}

fieldset.fieldset-language {
  border-bottom: 1px dashed #d9d9d9;
  margin-bottom: 15px;
}

fieldset.fieldset-language.border-top {
  border-top: 1px dashed #d9d9d9;
  padding-top: 8px;
}

fieldset.fieldset-language.no-border-bottom {
  border-bottom: none;
  margin-bottom: 0;
}

strong {
  font-weight: 700;
}

::-moz-placeholder {
  color: #d9d9d9 !important;
}

::placeholder {
  color: #d9d9d9 !important;
}

ul.equal {
  padding-left: 16px;
}

ul.small {
  font-size: 80%;
  line-height: 1.4;
}

ul:empty {
  display: none;
}

.badge {
  padding: 4px 6px;
}

.badge.badge-info {
  background-color: #563d7c;
}

.badge[data-toggle=tooltip] {
  cursor: default;
}

.image-list {
  list-style: none;
  padding: 0;
}

.image-list li {
  display: inline-block;
  margin-right: 5px;
}

.image-list li img {
  border-radius: 0.25rem;
}

.tooltip-inner {
  text-align: left;
}

.autocomplete > ul {
  position: absolute;
  z-index: 99;
  list-style: none;
  margin: 0;
  padding: 0;
  width: calc(100% - 30px);
  display: none;
  max-height: 251px;
  overflow: auto;
  border: 1px solid #d9d9d9;
  border-top: none;
  background-color: #fff;
}

.autocomplete > ul > li:nth-of-type(odd) a {
  background-color: #fcfcfc;
}

.autocomplete > ul > li:hover a {
  background-color: #f2f2f2;
}

.autocomplete > ul > li a {
  display: block;
  width: 100%;
  padding: 5px 12px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  background-color: #fff;
}

.autocomplete > ul > li a .img-wrapper {
  width: 40px;
  margin-right: 10px;
}

.autocomplete > ul > li a .img-wrapper img {
  max-height: 100%;
  max-width: 100%;
  height: auto;
}

.autocomplete > ul > li a .content {
  margin-left: 10px;
}

.autocomplete > ul > li a .content > ul {
  padding-left: 15px;
  font-size: 11px;
  line-height: 14px;
  margin-bottom: 0;
  list-style: disc;
}

.autocomplete > ul > li a:hover {
  color: inherit;
}

.autocomplete .loading-icon {
  padding: 0;
  position: absolute;
  z-index: 10;
  right: 26px;
  top: 11px;
  opacity: 0;
  transition: opacity 0.5s;
}

.autocomplete .loading-icon i {
  font-size: 16px;
  line-height: 1;
}

.autocomplete.autocomplete-active ul {
  display: block;
}

.autocomplete.autocomplete-active .form-control {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.autocomplete.autocomplete-active .form-control:focus {
  border-color: #d9d9d9;
}

.autocomplete.autocomplete-loading ul {
  filter: blur(7px);
}

.autocomplete.autocomplete-loading .loading-icon {
  opacity: 1;
}

.select2-container .select2-selection {
  outline: none;
  height: auto;
  border: 1px solid #d9d9d9;
  border-radius: 0.25rem;
  overflow: hidden;
}

.select2-container .select2-selection .select2-selection__rendered {
  background-color: #fff;
  padding: 8px 12px;
}

.select2-container .select2-selection.select2-selection--multiple {
  border-color: #d9d9d9;
}

.select2-container .select2-selection.select2-selection--multiple .select2-selection__rendered {
  padding-top: 3px;
  padding-bottom: 3px;
}

.select2-container .select2-selection .select2-selection__arrow {
  position: absolute;
  bottom: 0;
  top: 0;
  right: 10px;
  width: 10px;
}

.select2-container .select2-selection .select2-selection__arrow b {
  border-color: #888 transparent transparent;
  border-style: solid;
  border-width: 4px 4px 0;
  width: 0;
  height: 0;
  left: 0;
  top: 50%;
  margin-left: -2px;
  margin-top: -2px;
  position: absolute;
}

.select2-container .select2-dropdown {
  border-color: #d9d9d9;
}

.select2-container .select2-dropdown .select2-search input {
  border: 1px solid #d9d9d9;
  border-radius: 0.25rem;
  outline: none;
}

.select2-container .select2-dropdown .select2-search input:focus {
  border-color: #0067b1;
}

.select2-container .select2-dropdown .select2-results {
  max-height: 350px;
  overflow-y: scroll;
}

.select2-container .select2-dropdown .select2-results .select2-results__option[aria-disabled=true] {
  opacity: 0.2;
}

.select2-container .select2-dropdown .select2-results .select2-results__option[aria-selected=true] {
  background-color: #f3f3f3;
  color: #888;
}

.select2-container .select2-dropdown .select2-results .select2-results__option:hover {
  background-color: #0067b1;
  color: #fff;
}

.select2-container.select2-container--open:not(.select2-container--above) .select2-selection {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}

.select2-container.select2-container--open.select2-container--above .select2-selection {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top-color: transparent;
}

.select2-container.select2-container--disabled .select2-selection {
  cursor: default;
}

.select2-container.select2-container--disabled .select2-selection .select2-selection__rendered {
  background-color: #e9ecef;
}

.select2-container.is-invalid .select2-selection {
  border: 1px solid #dc3545;
}

.table {
  color: inherit;
}

.table td,
.table th {
  font-family: inherit;
  font-size: inherit;
  border-top-color: #d9d9d9;
}

.table thead th {
  border-top: none;
  border-bottom-color: #d9d9d9;
}

.table tbody tr td.buttons {
  text-align: right;
}

.table tbody tr td.buttons .btn,
.table tbody tr td.buttons .input-group {
  margin-top: 1px;
  margin-bottom: 1px;
}

.table tbody tr td.buttons .input-group .btn {
  margin-top: 0;
  margin-bottom: 0;
}

.table tbody tr td.buttons .btn-toggle-wrap {
  display: inline-block;
}

.table tbody tr td.buttons .select2 {
  text-align: left;
  width: 150px !important;
}

.table tbody tr td.buttons .info {
  margin-left: 5px;
}

.table tbody tr td.buttons .info:hover {
  color: inherit;
}

.table.table-striped tbody tr:nth-of-type(odd) {
  background-color: #f2f2f2;
}

.modal .modal-content > .loading-icon {
  text-align: center;
  padding: 15px;
}

.modal .modal-content > .loading-icon i {
  font-size: 36px;
}

.modal .modal-content .modal-body.no-padding-bottom {
  padding-bottom: 0;
}

.invalid-feedback {
  display: block;
}

.hide {
  display: none !important;
}

.ws-nw {
  white-space: nowrap;
}

.nomargin {
  margin: 0;
}

.nomarginbottom {
  margin-bottom: 0;
}

.margin-bottom {
  margin-bottom: 15px !important;
}

.btn,
.form-control,
a {
  outline: 0 !important;
}

button {
  outline: none !important;
}

.btn {
  box-shadow: none !important;
  cursor: pointer;
  outline: none;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  padding: 8px 12px;
  font-size: 16px;
  line-height: 20px;
  border-radius: 0.25rem;
}

.btn i {
  margin-right: 5px;
}

.btn.btn-icon {
  width: 38px;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

.btn.btn-icon i {
  margin-right: 0;
}

.btn.btn-icon.btn-sm {
  width: 30px;
  padding-left: 0;
  padding-right: 0;
}

.btn.btn-primary {
  background-color: #0067b1;
  border-color: #0067b1;
  color: #fff;
}

.btn.btn-primary:disabled {
  color: #fff;
}

.btn.btn-primary:not(:disabled):focus,
.btn.btn-primary:not(:disabled):hover {
  background-color: #005898;
  border-color: #005898;
}

.btn.btn-default {
  background-color: #fff;
  border-color: #d9d9d9;
  color: #888;
}

.btn.btn-default:hover,
.btn.btn-default.active {
  border-color: #888;
  color: #656565;
}

.btn.btn-outline {
  border-radius: 9999px;
  border-color: #d9d9d9;
  color: #888;
}

.btn.btn-outline:hover,
.btn.btn-outline.active {
  border-color: #656565;
  color: #656565;
}

.btn[disabled],
.btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn.btn-order {
  cursor: move;
}

.btn.btn-sm {
  padding: 4px 10px;
  font-size: inherit;
}

.btn.btn-warning {
  color: #fff;
}

select.form-control {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.form-control {
  border-color: #d9d9d9;
  font-size: 14px;
  line-height: 20px;
  height: 38px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.form-control:focus {
  border-color: #0067b1;
  box-shadow: none;
}

.form-control[disabled],
.form-control[readonly] {
  border-color: #d9d9d9 !important;
  box-shadow: none !important;
  pointer-events: none;
}

.custom-file-input:focus ~ .custom-file-label {
  border-color: #0067b1;
  box-shadow: none;
}

.form-group label:not(.custom-file-label) {
  text-align: right;
  font-weight: bold;
}

.form-group label:not(.custom-file-label) .required {
  color: #dc3545;
  margin-left: 5px;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
}

.form-group label:not(.custom-file-label).with-comment {
  padding-top: 0;
}

.form-group label:not(.custom-file-label).with-comment .comment {
  display: block;
  font-size: 11px;
  line-height: 14px;
}

.form-group.form-group-flag label {
  padding-top: 0;
  padding-bottom: 0;
}

.form-group.form-group-flag .flag-icon {
  margin-right: 4px;
}

.form-group.form-group-text > div:not(.col-form-label) {
  padding-top: 7px;
}

.form-group.form-group-buttons {
  text-align: right;
}

.form-group.form-group-buttons:not(.with-margin) {
  margin-bottom: 0;
}

.form-group .select2-container {
  width: 100% !important;
}

.input-group .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group .form-control.is-invalid {
  z-index: 10;
}

.input-group .input-group-append .nice-checkbox label {
  padding-top: 0;
  padding-bottom: 0;
}

.input-group .input-group-btn .btn:hover {
  z-index: 3;
}

.input-group.input-group-sm .form-control {
  padding: 4px 10px;
  font-size: inherit;
  line-height: inherit;
}

.input-group.input-group-sm .input-group-btn .btn {
  font-size: 14px;
  line-height: 20px;
}

.input-group-text {
  border-color: #d9d9d9;
  font-size: 14px;
}

.input-group-btn .btn {
  z-index: 3;
}

.input-group-btn .form-control {
  z-index: 2;
}

.datepicker table .active {
  background-color: #0067b1 !important;
}

.datepicker table .today:before {
  border-bottom-color: #0067b1 !important;
}

.profile-image {
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.bootbox-close-button {
  margin-top: -4px !important;
}

.nice-checkbox,
.nice-radio {
  position: relative;
  padding-left: 0;
  padding-top: 6px;
  padding-bottom: 6px;
}

.nice-checkbox.radio-inline,
.nice-checkbox.checkbox-inline,
.nice-radio.radio-inline,
.nice-radio.checkbox-inline {
  display: inline-block;
  margin-right: 15px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.nice-checkbox input[type=checkbox],
.nice-checkbox input[type=radio],
.nice-radio input[type=checkbox],
.nice-radio input[type=radio] {
  display: none;
}

.nice-checkbox input[type=checkbox] + label,
.nice-checkbox input[type=radio] + label,
.nice-radio input[type=checkbox] + label,
.nice-radio input[type=radio] + label {
  text-align: left;
  display: inline-block;
  height: 22px;
  padding-left: 30px;
  line-height: 22px;
  cursor: pointer;
  margin-bottom: 0;
}

.nice-checkbox input[type=checkbox] + label:before,
.nice-checkbox input[type=radio] + label:before,
.nice-radio input[type=checkbox] + label:before,
.nice-radio input[type=radio] + label:before {
  padding-top: 1px;
  width: 22px;
  height: 22px;
  position: absolute;
  left: 0;
  text-align: center;
  background-color: #fff;
  border: 1px solid #d9d9d9;
  content: "";
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.nice-checkbox input[type=checkbox]:not(:disabled) + label:hover:before,
.nice-checkbox input[type=radio]:not(:disabled) + label:hover:before,
.nice-radio input[type=checkbox]:not(:disabled) + label:hover:before,
.nice-radio input[type=radio]:not(:disabled) + label:hover:before {
  border-width: 2px;
  padding-top: 0;
}

.nice-checkbox input[type=checkbox]:disabled + label,
.nice-checkbox input[type=radio]:disabled + label,
.nice-radio input[type=checkbox]:disabled + label,
.nice-radio input[type=radio]:disabled + label {
  cursor: default;
  opacity: 0.4;
}

.nice-checkbox input[type=checkbox]:disabled:not(:checked) + label:before,
.nice-checkbox input[type=radio]:disabled:not(:checked) + label:before,
.nice-radio input[type=checkbox]:disabled:not(:checked) + label:before,
.nice-radio input[type=radio]:disabled:not(:checked) + label:before {
  background-color: #f2f2f2;
  color: #f2f2f2;
}

.nice-checkbox input[type=checkbox]:checked + label:before,
.nice-checkbox input[type=radio]:checked + label:before,
.nice-radio input[type=checkbox]:checked + label:before,
.nice-radio input[type=radio]:checked + label:before {
  background-color: #888;
  border-color: #888;
}

.nice-checkbox.nice-checkbox:not(.nice-checkbox-no-flex),
.nice-radio.nice-checkbox:not(.nice-checkbox-no-flex) {
  height: 100%;
  display: flex;
  align-items: center;
}

.nice-checkbox.nice-checkbox input + label:before,
.nice-radio.nice-checkbox input + label:before {
  font-family: FontAwesome;
  font-size: 14px;
  line-height: 18px;
  content: "\F00C";
  color: #fff;
}

.nice-checkbox.nice-radio input + label:before,
.nice-radio.nice-radio input + label:before {
  border-radius: 50%;
}

.nice-checkbox.is-invalid label,
.nice-radio.is-invalid label {
  color: #dc3545 !important;
}

.nice-checkbox.is-invalid label a,
.nice-radio.is-invalid label a {
  color: #dc3545 !important;
}

.nice-checkbox.check-right input[type=checkbox] + label,
.nice-checkbox.check-right input[type=radio] + label,
.nice-radio.check-right input[type=checkbox] + label,
.nice-radio.check-right input[type=radio] + label {
  margin-left: auto;
  padding-left: 0;
  padding-right: 30px;
}

.nice-checkbox.check-right input[type=checkbox] + label:before,
.nice-checkbox.check-right input[type=radio] + label:before,
.nice-radio.check-right input[type=checkbox] + label:before,
.nice-radio.check-right input[type=radio] + label:before {
  left: auto;
  right: 0;
}

.nice-checkbox.nice-checkbox-indent,
.nice-radio.nice-checkbox-indent {
  margin-left: 30px;
}

.nice-checkbox.nice-checkbox-no-label input[type=checkbox] + label,
.nice-radio.nice-checkbox-no-label input[type=checkbox] + label {
  padding-left: 22px;
}

.nice-checkbox.nice-checkbox-xl input[type=checkbox] + label,
.nice-checkbox.nice-checkbox-xl input[type=radio] + label,
.nice-radio.nice-checkbox-xl input[type=checkbox] + label,
.nice-radio.nice-checkbox-xl input[type=radio] + label {
  height: 34px;
  line-height: 34px;
  padding-left: 34px;
}

.nice-checkbox.nice-checkbox-xl input[type=checkbox] + label:before,
.nice-checkbox.nice-checkbox-xl input[type=radio] + label:before,
.nice-radio.nice-checkbox-xl input[type=checkbox] + label:before,
.nice-radio.nice-checkbox-xl input[type=radio] + label:before {
  width: 34px;
  height: 34px;
  font-size: 24px;
  line-height: 26px;
}

.pagination {
  justify-content: flex-end;
}

.pagination .page-item {
  margin-left: -1px;
}

.pagination .page-item .page-link {
  margin-left: 0;
  line-height: 20px;
  padding: 6px 0;
  width: 32px;
  text-align: center;
  color: #888;
  background-color: #fff;
  border-color: #d9d9d9;
  z-index: 3;
  box-shadow: none !important;
}

.pagination .page-item .page-link:hover,
.pagination .page-item .page-link:focus {
  background-color: #fff;
  color: #656565;
  z-index: 3;
}

.pagination .page-item.active .page-link {
  background-color: #0067b1;
  border-color: #0067b1;
  color: #fff;
}

.pagination .page-item.active .page-link:hover,
.pagination .page-item.active .page-link:focus {
  background-color: #0067b1;
  border-color: #0067b1;
  color: #fff;
}

#toast-container {
  top: 15px;
  right: 15px;
  width: 350px;
}

#toast-container > .toast {
  background-image: none !important;
  box-shadow: none !important;
  border-radius: 4px;
  width: 100%;
  padding: 20px 15px 20px 50px;
}

#toast-container > .toast:before {
  position: absolute;
  font-family: FontAwesome;
  font-size: 24px;
  line-height: 24px;
  float: left;
  color: #fff;
  top: 50%;
  left: 15px;
  margin-top: -12px;
}

#toast-container > .toast.toast-error {
  background-color: #dc3545;
}

#toast-container > .toast.toast-error:before {
  content: "\F071";
}

#toast-container > .toast.toast-success {
  background-color: #28a745;
}

#toast-container > .toast.toast-success:before {
  content: "\F00C";
}

@media (max-width: 575.98px) {
  #toast-container {
    width: auto;
    left: 15px;
  }

  #toast-container > .toast {
    padding: 15px 15px 15px 50px;
  }

  .form-group label:not(.custom-file-label) {
    text-align: left;
  }
}

a:hover {
  color: #656565;
}

body {
  padding: 15px 0;
}

body .header {
  background-color: #fff;
  background-size: 2px 100px;
  background-position: center center;
  background-repeat: repeat-x;
  background-image: url("/assets/img/logo-magema-rep.png");
  margin-bottom: 15px;
}

body .header .logo-wrapper {
  width: 166px;
  height: 100px;
  background-color: #fff;
  margin: 0 auto;
  border-left: 2px solid #fff;
  border-right: 2px solid #fff;
}

body .header .logo-wrapper img {
  display: block;
  width: 162px;
  height: 100px;
}

body .brand {
  text-align: center;
  margin-bottom: 15px;
}

body .brand img {
  max-width: 170px;
}

body .intro {
  text-align: center;
  margin-bottom: 30px;
}

body .intro h1 {
  font-size: 24px;
}

body form {
  text-align: center;
  max-width: 330px;
  margin: 0 auto;
}

body form .alert {
  padding: 7px;
  margin-bottom: 10px;
  text-align: center;
}

body form .form-control {
  position: relative;
  height: auto;
  padding: 10px;
  margin-bottom: 10px;
}

body form .form-control:focus {
  z-index: 2;
}

body form .btn {
  width: 100%;
}

body form .form-link {
  display: inline-block;
  margin-top: 10px;
}

body form.form-login .form-control[type=text] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

body form.form-login .form-control[type=password] {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

