﻿/* Add styles that overrides the master stylesheet here */

html {
  font-size: 16px;
  line-height: 21px;
}


@media (min-width: 768px) {
    html {
        font-size: 18px;
        line-height: 21px;
    }
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.scroll-progress-container {
    width: 100%;
    height: 5px;
    background: #37CACA;
    padding-left: -8px;
    padding-right: -8px;
}

.scroll-progress-bar {
    height: 5px;
    background: #214271;
    width: 0%;
}

.formsectionfield-option {
    float: left;
    min-height: 56px;
    padding-left: 13px;
    display: flex;
    align-items: center;
    margin-top: -1px;
    border-radius: 4px;
    border: solid 2px transparent;
    transition: border-color 0.3s ease;
}

.formsectionfield-option-dependentfields{
    float: left;
    width: 100%;
}

.formsectionfield-option-wrapper.containsdependentfields.optionselected,
.formsectionfield.containsdependentfields.optionselected {
    background-color: #F5F5F5;
    border-radius: 4px;
    padding: 0.5em;
    margin-bottom: 4px;
    /*margin-top: 4px;*/
    border: solid 1px lightgray;
}

.formsectionfield-option-dependentfields .formsectionfield{
   /* border-left: 0 !important;
    border-right:0 !important;
    border-bottom: 0 !important;*/
}


.formsectionfield.containsdependentfields.optionselected .formsectionfield-content-twocolumns {
    margin-left: -0.5em !important;
    margin-right: -0.5em !important;
}


.formsectionfield-option-dependentfields .formsectionfield{
    padding-left: 0.5em;
    padding-right: 0.5em;
}

.radiobutton, .checkbox {
    height: 2rem;
}

    .checkboxlabel{
    }

.checkoption .checkboxlabel {
    padding-left: 1em;
}

.formsectionfield-option.selected-option {
    border: solid 1px #0166c3;
    transition: border-color 0.3s ease;
}

.containsdependentfields.optionselected .formsectionfield-option.selected-option {
    /*border: none;*/
}

.formsectionfield-option .radiobutton {
    margin: 0;
    accent-color: #0166c3;
    min-width: 1.5rem;
}

.formsectionfield-option .checkbox {
    margin: 0;
    /*accent-color: white;*/
}

.formsection-body{
    padding: 0;
    float: left;
    width: 100%;
}

.formsectionfield input[type=file] {
    left: 0;
    top: 0;
    opacity: 0;
    position: absolute;
    height: 100%;
    width: 100%;
}

.formsectionfield-content-twocolumns {
    margin-left: -1em !important;
    margin-right: -1em !important;
    width: calc(100% + 2em);
}

.formsectionfield-option-wrapper.containsdependentfields .formsectionfield-content-twocolumns {
    margin-left: -0.5em !important;
    margin-right: -0.5em !important;
}


    .checkoption > input {
        height: 2rem;
        width: 2rem;
        -webkit-appearance: none;
        -moz-appearance: none;
        -o-appearance: none;
        appearance: none;
        outline: none;
        transition-duration: 0.3s;
        border-radius: 4px;
        border: 2px solid #b6b6b6;
        background-color: white;
    }

    .checkoption > input:checked {
        border-color: #015bbb;
    }

        .checkoption > input:checked + span::before {
            content: '\f00c';
            color: #0166c3;
            position: absolute;
            left: -2rem;
            font-size: 1.5rem;
            font-family: "Font Awesome 6 Pro";
            font-weight: 600;
            top: calc(50% - 1rem);
            padding-left: 0.3rem;
            padding-right: 0.45rem;
        }

        .checkoption > input:active {
            border: 1px solid #34495E;
        }

.field-error .formsectionfield-content-twocolumns
{
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.formsectionfield-name {
    font-size: 1rem;
}