.error_animation {
    animation: animation_error 2s infinite linear alternate;
}

.success_animation {
    animation: animation_success 2s 1 linear alternate;
}

@keyframes animation_error {
    0% {
        background: #D81B1B;
    }
    50% {
        background: #D8601B;
    }
    100% {
        background: #E3C410
    }
}

@keyframes animation_success {
    0% {
        background: #01be08;
    }
    100% {
        background: inherit;
    }
}

.hidden {
    display: none;
}

.unavailable_option {
    opacity: 40%;
}

a {
    color: black;
}

.btn.disabled {
    background-color: gray !important;
}

.btn.disabled:hover {
    background-color: dimgray !important;
    cursor: not-allowed !important;
}

a:hover {
    color: #007bff;
}

.modal {
    max-height: 90% !important;
}

#signup_modal {
    width: 700px !important;
}

@media (max-width: 479px) {
    #signup_modal {
        max-width: 270px !important;
    }
}

@media (min-width: 480px) {
    #signup_modal {
        max-width: 430px !important;
    }
}

@media (min-width: 576px) {
    #signup_modal {
        max-width: 520px !important;
    }
}

@media (min-width: 740px) {
    #signup_modal {
        max-width: 700px !important;
    }
}

.label-group-btn {
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.15rem;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    font-size: 0.8rem;
    border: 2px solid whitesmoke;
    border-radius: 0.1rem;
    transition: all 0.15s ease-in-out;
    color: #6c757d;
}

.label-group-btn:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.label-group-btn:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    z-index: -1;
    transition: all 0.15s ease-in-out;
    background-color: rgb(71, 186, 193);
}

.label-group-btn:hover {
    color: whitesmoke;
}

.label-group-btn:hover:before {
    height: 100%;
}

.label-group-btn:after {
    background-color: transparent;
}

.label-group-btn p {
    color: #6c757d;
    font-size: .65rem;
    transition: all 0.15s ease-in-out;
}

.label-group-btn:hover p {
    color: whitesmoke;
}

.steps {
    color: #6c757d !important;
    text-align: center;
}

.step-line {
    position: relative;
}

.step-line:before {
    content: '';
    position: absolute;
    left: 75%;
    top: 15px;
    width: 50%;
    height: 1px;
    background-color: #6c757d;
    z-index: 5;
}


.steps .step .number {
    margin: auto;
    border: 1px solid #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    z-index: 99;
}

.steps .step .title {
    color: rgb(71, 186, 193);
    font-weight: bold;
}

.contrast-on * {
    background-color: black !important;
    color: yellow !important;
    border-color: yellow !important;
}
.contrast-on .step-line:before {
    background-color: yellow !important;
}

.contrast-on img {
    background-color: transparent !important;
    filter: invert(1);
}

.contrast-on .form-control{
    background-color: yellow !important;
    color: black !important;
}

.contrast-on .tp-bullet.selected{
    background: yellow !important;
}

.contrast-on .label-group-btn:before {
    background-color: yellow !important;
}

.django-ckeditor-widget div{
  width: 100% !important;
}

.howto-text{
    color: rgb(71, 186, 193);
}