/*//////////////////////////////////////////////////////////////////
[ FONT ]*/

@font-face {
    font-family: 'filsonsoft-book';
    src: url('./font/webfonts/filsonsoft_book_macroman/filsonsoft-book-webfont.woff2') format('woff2'),
         url('./font/webfonts/filsonsoft_book_macroman/filsonsoft-book-webfont.woff') format('woff');
    src:local('filsonsoft-book'), url('./font/webfonts/filsonsoft_book_macroman/filsonsoft-book-webfont.woff2') format('woff2'),
    url('./font/webfonts/filsonsoft_book_macroman/filsonsoft-book-webfont.woff') format('woff');
    font-style: normal;

}

.filsonsoft-book {
    font-family: 'filsonsoft-book' !important;
}

body, h1, h2, h3, h4, h5, h6, p, blockquote, li, a { font-family: 'filsonsoft-book' !important; }
.main-panel h1, .main-panel h2, .main-panel h3, .main-panel h4, .main-panel h5, .main-panel h6 { color: #555; }

body {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
h1 { margin: 0.3em 0 1em; }
sup.mand { color: red; font-weight: 700; }
.question { font-weight: 700; font-size: 1.2em!important; margin-bottom: 10px; color: #555!important; }
.subQuestion { font-weight: 400; font-size: 1.1em; margin-bottom: 10px; margin-top: 20px; color: #555; }
a, a:visited { color: #ffaf00 !important; font-weight: 600 !important]; }
.md-form label { white-space: nowrap; }

.main-panel { background-color: white; min-height: 550px; padding: 0; }
.info-panel { margin-top: 80px; margin-bottom: 60px; padding: 0; color: white; min-height: 200px; }

.info-panel h4 { margin-bottom: 0.6em!important; margin-top: 1.6em!important; }
.info-panel h4:first-child { margin-top: 0!important; }

.edge { border-style: solid; pointer-events: none; border-radius: 0; margin: 0; top: 0; bottom: 0; right: 0; left: 0; }
.info-panel .edge { border-color: rgb(141, 198, 63);  border-width: 5px 0px 0px 0px; }
.main-panel .edge { border-color: rgb(250, 175, 0); border-width: 15px 0px 0px 0px; }

.content { padding: 25px 15px; height: 100%; }
.main-panel .content { width: 90%; padding-top: 10px; margin: 0 auto; }

.alert { background-color: white; border: 1px solid white; border-radius: 5px; }
.alert strong { font-weight: 700; margin-right: 10px; }
.alert-danger { border-color: red; color: red; }
.alert-success { border-color: green; color: green; }
.alert-info { border-color: #17a2b8; color: #17a2b8; }

.button-row {text-align: right; margin-top: 30px; }
.button-row .btn { border-radius: 5px; }
.next-btn { margin-left: 15px; color: white; background-color: #faaf00; }
.next-btn:disabled { opacity: .65; }
.next-btn:not(:disabled):hover, .next-btn:not(:disabled):active, .next-btn:not(:disabled):focus { color: white; background-color: #d89802; }
.back-btn { color: #faaf00; background-color: transparent; border-color: #faaf00; }

.custom-btn {
    padding: .84rem 2.14rem;
    font-size: .81rem;
    transition: color .15s 
                ease-in-out, background-color .15s 
                ease-in-out, border-color .15s 
                ease-in-out, box-shadow .15s 
                ease-in-out;
    margin: .375rem;
    border: 0;
    border-radius: .5rem;
    cursor: pointer;
    text-transform: uppercase;
    white-space: normal;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
}

.custom-btn:not(:disabled):hover, .custom-btn:not(:disabled):active, .custom-btn:not(:disabled):focus { 
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, .18), 0 4px 15px 0 rgba(0, 0, 0, .15);
}

.progress-container {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    flex-direction: row;
    border-radius: 50vh;
    padding: 6px;
    background-color: #e7e7e7;
    margin: 30px;
}

.progress-container .progress-item:first-child {
    border-top-left-radius: inherit;
    margin-left: 0;
    border-bottom-left-radius: inherit;
}

.progress-container .progress-item:last-child {
    border-top-right-radius: inherit;
    margin-right: 0;
    border-bottom-right-radius: inherit;
}

.progress-container .progress-item {
    overflow: hidden;
    height: 20px;
    margin: 0 1px;
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    flex-grow: 1;
    background-color: #c4c4c4;
    position: relative;
    text-align: center;
    color: white;
}
.progress-container .progress-item.progress-completed {
    background-color: rgb(141, 198, 63);
}
.progress-container .progress-item.progress-done {
    background-color: #888;
}
.progress-container .progress-item.active {
    border: 1px solid black;
}
.progress-container .progress-item i.fas {
    font-size: 0.7em;
}

select.mdb-select { height: 0; display: block !important; visibility: hidden; margin: 0; padding: 0; }
select-wrapper.md-form { margin-bottom: 0; }

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

/* Underline-only form controls (Bootstrap 5 compatible) */
.form-control-underline.form-control,
.form-control-underline.form-select {
    border: 0;
    border-bottom: 1px solid #ced4da;
    border-radius: 0;
    background-color: transparent;
    padding-left: 0;
    padding-right: 0;
    box-shadow: none;
}
.form-control-underline.form-control:focus,
.form-control-underline.form-select:focus {
    box-shadow: none;
    border-bottom-color: #0d6efd;
}

.form-control-underline.form-control.is-invalid,
.form-control-underline.form-select.is-invalid,
.was-validated .form-control-underline.form-control:invalid,
.was-validated .form-control-underline.form-select:invalid {
    border-bottom-color: #dc3545;
}

.form-control-underline.form-control.is-valid,
.form-control-underline.form-select.is-valid,
.was-validated .form-control-underline.form-control:valid,
.was-validated .form-control-underline.form-select:valid {
    border-bottom-color: #198754;
}

.form-label { margin-bottom: .25rem; color: #757575;}

.form-check-input[type=radio] {
    margin-right: 1rem;
}