.loading {
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
  width: 90px;
  height: 90px;
  border: 10px solid #a0a0a0;
  border-radius: 50%;
  border-top: 10px solid #000000;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}

#form_page {
  display: flex;
  justify-content: center;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.box-alert-danger {
    color: #842029;
    border-color: #f5c2c7;
    background-color: #f8d7da;
}

.box-alert-warning {
    color: #664d03;
    border-color: #ffe69c;
    background-color: #fff3cd;
}

.box-alert-info {
    color: #052c65;
    border-color: #9ec5fe;
    background-color: #cfe2ff;
}

.box-alert-obs {
    color: #32174d;
    border-color: #a295c5;
    background-color: #d8c6e5;
}

.box-alert-black {
    color: #333;
    border-color: #999;
    background-color: #f2f2f2;
}

.box-alert-success {
    color: #0a3622;
    border-color: #a3cfbb;
    background-color: #d1e7dd;
}

.margin-top-5 {
    margin-top: 5px;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-top-100 {
    margin-top: 100px;
}

.margin-bottom-5 {
    margin-bottom: 5px;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

.margin-bottom-30 {
    margin-bottom: 30px;
}

.margin-bottom-40 {
    margin-bottom: 40px;
}

.margin-bottom-60 {
    margin-bottom: 60px;
}

.mandatory {
    font-weight: bold;
    color: red;
}

.pending {
    font-weight: bold;
    color: blue;
}

.waiting {
    font-weight: bold;
    color: #ffbf00;
}

.c-successfully {
    font-weight: bold;
    color: green;
}

.c-alert {
    font-weight: bold;
    color: #7433FF;
}

.texte-certer {
    text-align: center;
}

/* Switch container */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 28px;
}

/* Oculta o checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* Trilha do switch */
.slider {
    position: absolute;
    cursor: pointer;
    background-color: #ce0606;
    transition: 0.4s;
    border-radius: 34px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: white;
    font-size: 10px;
    line-height: 28px;
    text-align: center;
    font-weight: bold;
}

/* Bolinha do switch */
.slider::before {
    content: "";
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

/* Estado ON */
input:checked + .slider {
    background-color: #28a745;
}

input:checked + .slider:before {
    transform: translateX(32px);
}

/* Texto ON/OFF */
.switch input + .slider::after {
    content: "OFF";
    position: absolute;
    right: 11px;
    color: white;
}

.switch input:checked + .slider::after {
    content: "ON";
    position: absolute;
    left: -8px;
    color: white;
}