﻿/* Mark input boxes that gets an error on validation: */
input.invalid,
select.invalid,
span.invalid {
    border: 2px solid red !important;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.3) !important;
}

input.invalid:focus,
select.invalid:focus,
span.invalid:focus {
    outline: none !important; 
    border-color: darkred !important;
}

/* Hide all steps by default: */
.tab {
    flex-direction: column;
    height: 100%;
    max-height: 100%;
}

.tab-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    flex-shrink: 0;
    padding: 0px 10px;
}

.tab-content {
    overflow-y: auto;
    min-height: 300px;
    max-height: 515px;
    padding: 0px 10px;
}

.step {
    height: 20px;
    width: 20px;
    margin: 0 5px;
    background-color: #696969;
    border: none;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.5;
}

.step.active {
    background-color: #696969 !important;
    opacity: 1 !important;
}

.step.finish {
    background-color: #ffd400;
    opacity: 0.7;
}

input[type="radio"] {
    vertical-align: middle;
    margin: 0 10px 0 0;
    padding: 10px;
}

.full-height {
    min-height: auto;
}

.form-check .form-check-input {
    margin-left: -1em;
    margin-right: 10px;
}

.input-group-horizontal {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 1rem;
}

.input-group-horizontal input:first-child {
    flex: 0 0 20%;
}

.input-group-horizontal input:last-child {
    flex: 1 1 80%;
}

@media (max-width: 767.98px) {
    .tab-title {
        font-size: 1.25rem;
    }

    .btn-lg {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .step {
        width: 12px;
        height: 12px;
        margin: 0 3px;
    }
}