
html, body {
    padding: 0;
    margin: 0;
    height: 100%;
    position: relative;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Fira Sans", "Helvetica Neue", "Apple Color Emoji", sans-serif;
    color: #333;
    font-size: 15px;
}

div.fadeout {
    position: relative;
    bottom: 2.3em;
    height: 2.3em;
    background: -webkit-linear-gradient( rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100% );
    background-image: -moz-linear-gradient( rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100% );
    background-image: -o-linear-gradient( rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100% );
    background-image: linear-gradient( rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100% );
}

.ieWarning {
    max-width: 750px;
    margin: 20px auto;
    color: #363642;
    background-color: #f9f9f9;
    font-weight: 500;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    display: none;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .ieWarning {
        display: block;
    }

    .slideWrap, .fieldsDiv {
        display: none;
    }
}

.content,
.introContent,
.introCardDeckMenuContent {
    margin: 25px auto 25px auto;
    max-width: 700px;
}

.introContent,
.introCardDeckMenuContent {
    display: none;
}

.fieldsDiv {
    max-width: 600px;
    padding: 0 10px;
}

.content.topMargin {
    margin-top: 50px;
}

.mainContent {
    line-height: 1.5em;
}

h1 {
    font-size: 1.8em;
    margin: 2px 0;
    line-height: 1.3em;
}

h3 {
    font-size: 21px;
    margin: 2px 0;
    font-weight: 400;
}

.mt-4 {
    margin-top: 40px;
}

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

.slideHead {
    text-align: center;
    min-height: 30px;
}

.actions {
    display: none;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 5px 0;
    z-index: 4;
}

.actionShuffle {
    margin-top: 25px;
}

.weightBtnLine {
    display: inline-block;
}

.actionsInfo {
    margin: 10px 0;
    min-height: 35px;
}

a, a:active, a:visited {
    color: #3498DB;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

.noWrap {
    white-space: nowrap;
}

@-webkit-keyframes spinner-border {
    to {
        transform: rotate(1turn)
    }
}

@keyframes spinner-border {
    to {
        transform: rotate(1turn)
    }
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: .25em solid;
    border-right: .25em solid transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: .15em
}

.modalHeader {
    font-weight: 500;
    font-size: 17px;
    margin-bottom: 5px;
}

#modalbody p {
    line-height: 1.3rem;
}

#sFields {
    display: none;
}

.fieldsDiv {
    background: #f6f7f9;
    border: 1px solid #cccccc;
    padding: 10px 20px 30px 20px;
    margin: 30px auto 20px auto;
    border-radius: 5px;
    box-shadow: 0 0 0 1px #eee,0 1px 3px 0 #eee;
}

.commentsDivFooter, .selectionsDivFooter, .fieldsDivFooter {
    display: flex;
    justify-content: space-between;
}

span.formSubmitInfo {
    color: #b76ba3;
    padding-top: 10px;
}

.file-field-info {
    margin: 5px 0;
    font-size: .75rem;
    font-weight: 400;
    color: #888c9b;
}

.file-field-list {
    margin-top: 5px;
    padding: 3px 5px;
    border-radius: 5px;
    background-color: #ffffff;
    border: 1px solid #c6c9d5;
}

i.far.red {
    color: #ff0000;
}

div.MultiFile-label {
    margin: 4px 0;
}

.form-group {
    margin-bottom: 1rem;
}

.inline-form-field {
    width: 46.6%;
    display: inline-block;
}

.inline-form-field:first-child {
    margin-right: 20px;
}

.invalid-input {
    display: none;
    color: #b76ba3;
}

.form-control {
    font-family: inherit;
    display: block;
    width: 95%;
    padding: .375rem .75rem;
    margin-top: 5px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: #363642;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #c6c9d5;
    border-radius: 5px;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

    .form-control.invalid {
        border: 2px solid #b76ba3;
    }
    
    .form-control:focus {
        color: #363642;
        background-color: #ffffff;
        border-color: #346CB0;
        outline: 0;
        box-shadow: 0 0 0 1px #346CB0;
    }

    .form-control.form-control-sm {
        height: 1.3rem;
    }

    .form-control.form-control-altother {
        width: 85% !important;
        margin-left: 5px;
        display: inline-block;
    }

textarea {
    resize: none;
}

.form-section {
    margin: 5px 0 10px 0;
}

    .form-section .form-section-title {
        margin-bottom: 5px;
        font-weight: bold;
    }

.form-section-content {
    white-space: pre-line;
}

#actionButtons {
    margin-top: 15px;
}

.float-right {
    float: right;
}

.verticalActions {
    width: 100%;
}

.actionLeft, .actionRight {
    width: 50%;
    display: inline-block;
    text-align: left;
}

.actionLeft {
    text-align: right;
}

a.resetProgress, a.resetProgress:visited {
    color: #1b3b62;
}

    a.resetProgress:hover {
        color: #1b3b62;
        text-decoration: underline;
    }

#toast-container > div {
}

#toast-container > div {
    width: 350px;
    opacity: .9;
}

    #toast-container > div:hover {
        -moz-box-shadow: 0 0 13px #999;
        -webkit-box-shadow: 0 0 13px #999;
        box-shadow: 0 0 13px #999;
    }

.text-right {
    text-align: right;
}

span.required, small.required {
    color: #ff0000;
}

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

ul.selectionsModalAlternatives {
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    list-style: none;
    padding: 5px;
    margin: 5px 0 5px 0;
}

    ul.selectionsModalAlternatives li {
        padding: 3px 0;
        margin: 3px 0;
    }

        ul.selectionsModalAlternatives li label {
            vertical-align: top;
            margin-left: 5px;
        }

img.org-logo.small {
    width: 115px;
    height: 40px;
    border-radius: 5px;
}

.ssn-field-info {
    padding-top: 3px;
    
}

.user-avatar {
    position: relative;
    margin-bottom: 0;
    display: inline-block;
    width: 2rem;
    height: 2rem;
    font-size: 2rem;
    vertical-align: middle;
    border-radius: 4rem;
}

.user-avatar-md {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 2.25rem;
}

.user-avatar-sm {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.5rem;
}

.user-avatar.no-avatar-xs {
    text-align: center;
    font-size: 1.5rem;
}

.user-avatar img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4rem;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: top;
    object-position: top;
}

div.bankid-mobile {
    display: none;
}

button.bankid img {
    width: 30px;
    vertical-align: middle
}

hr.form-devider {
    border-top: 1px solid #cccccc;
}

/* select 2 for public survey */

.select2-result-user {
    min-height: 30px;
    margin: 0 0 5px 0;
}

.select2-result-user__name {
    padding: 7px 0 0 0;
}

.select2-dropdown {
    z-index: 1051;
}

.select2-container .select2-selection--single, .custom-select {
    height: calc(1.5em + 0.75rem + 2px);
    background: linear-gradient(to bottom, #ffffff, #f6f7f9);
    transition: box-shadow 200ms ease-in-out, border-color 200ms ease-in-out;
}

@media (min-width: 768px) {
    .select2-container .select2-selection--single {
        height: 2.25rem;
    }
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 0.75rem;
    padding-right: 2rem;
    line-height: 2.25rem;
    color: #363642;
}

@media (min-width: 768px) {
    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 2.25rem;
    }
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #363642;
}

.select2-container--disabled .select2-selection--single .select2-selection__placeholder,
.select2-container--disabled .select2-selection--multiple .select2-selection__choice {
    color: #363642;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 0px;
    height: 2.25rem;
    width: 2.5rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: calc(2.25rem - 2px);
    }
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-top-color: #888c9b;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-bottom-color: #888c9b;
}

.select2-container .select2-selection--multiple {
    background-color: #ffffff;
    min-height: 2.25rem;
    box-shadow: inset 0 1px 0 0 rgba(34, 34, 48, 0.05);
}

@media (min-width: 768px) {
    .select2-container .select2-selection--multiple {
        min-height: 2.25rem;
    }
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    border-color: #c6c9d5;
}

    .select2-container--default .select2-selection--single .user-avatar,
    .select2-container--default .select2-selection--multiple .user-avatar {
        margin-top: -.25rem;
    }

    .select2-container--default .select2-selection--multiple .select2-selection__rendered {
        display: block;
        padding: 2px 0.75rem;
    }

.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--multiple,
.select2-container--open .select2-selection--single {
    outline: 0;
    border-color: #346CB0;
    box-shadow: 0 0 0 1px #346CB0;
}

.select2-container--default.select2-container--disabled .select2-selection--single,
.select2-container--default.select2-container--disabled .select2-selection--multiple {
    cursor: not-allowed;
    border-color: #c6c9d5;
    background-color: #f6f7f9;
    box-shadow: none;
}

    .select2-container--default.select2-container--disabled .select2-selection--single .select2-search__field,
    .select2-container--default.select2-container--disabled .select2-selection--multiple .select2-search__field {
        cursor: not-allowed;
    }

.select2-container--open .select2-dropdown--above {
    margin-top: 1px;
    box-shadow: -1px -1px 0px 0px #346CB0, 1px 0px 0px 0px #346CB0;
}

.select2-container--open .select2-dropdown--below {
    margin-top: -1px;
    box-shadow: -1px 1px 0px 0px #346CB0, 1px 0px 0px 0px #346CB0;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    color: #888c9b;
    z-index: 2;
    font-size: 1rem;
}

.macos .select2-container--default .select2-selection--single .select2-selection__clear {
    top: -1px;
}

@media (min-width: 768px) {
    .macos .select2-container--default .select2-selection--single .select2-selection__clear {
        top: -2px;
    }
}

.select2-container--default .select2-selection--single .select2-selection__clear:focus {
    color: #363642;
}

.select2-container--default .select2-selection--single .select2-selection__clear:hover {
    color: #363642;
}

.select2-dropdown {
    background-color: #ffffff;
    border-color: #346CB0;
    box-shadow: 0 0 0 1px #346CB0;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    padding: 0.375rem 0.75rem;
    color: #363642;
    background-color: #ffffff;
    border-color: #c6c9d5;
    box-shadow: inset 0 1px 0 0 rgba(34, 34, 48, 0.05);
    border-radius: 0.25rem;
    box-shadow: inset 0 1px 0 0 rgba(34, 34, 48, 0.05);
    font-size: 0.9rem;
}

    .select2-container--default .select2-search--dropdown .select2-search__field:focus {
        outline: 0;
        border-color: #c6c9d5;
    }

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #e6e8ed;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #346CB0;
}

    .select2-container--default .select2-results__option--highlighted[aria-selected] .text-muted {
        color: inherit !important;
    }

.select2-container--default .select2-results__group,
.select2-results__option {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}

.select2-container .select2-search--inline {
    margin-top: 2px;
}

    .select2-container .select2-search--inline .select2-search__field {
        margin-top: 3px;
    }

        .select2-container .select2-search--inline .select2-search__field::-webkit-input-placeholder {
            color: #888c9b;
        }

        .select2-container .select2-search--inline .select2-search__field::-moz-placeholder {
            color: #888c9b;
        }

        .select2-container .select2-search--inline .select2-search__field:-ms-input-placeholder {
            color: #888c9b;
        }

        .select2-container .select2-search--inline .select2-search__field::-ms-input-placeholder {
            color: #888c9b;
        }

        .select2-container .select2-search--inline .select2-search__field::placeholder {
            color: #888c9b;
        }

.select2-container--default .select2-search--inline .select2-search__field {
    color: #363642;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin: 3px 12px 3px -6px;
    background-color: #e6e8ed;
    border-color: #e6e8ed;
}

    .select2-container--default .select2-selection--multiple .select2-selection__choice + .select2-search {
        margin-left: -6px;
    }

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    margin-right: auto;
    margin-left: .25rem;
    position: relative;
    top: 4px;
    width: 1rem;
    height: 1rem;
    font-size: 1rem;
    line-height: 1rem;
    float: right;
    color: #ffffff;
    background-color: #a6abbd;
    text-align: center;
    border-radius: .5rem;
}

.macos .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    line-height: .875rem;
}

@media (min-width: 768px) {
    .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
        top: 3px;
    }
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus {
    color: #ffffff;
    background-color: #888c9b;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #ffffff;
    background-color: #888c9b;
}

.select2-result-user__avatar {
    float: left;
    width: 2.5rem;
    margin-right: 0.2rem;
}

/* checkboxes and radios */
input.custom-check {
    width: 15px;
    height: 15px;
    vertical-align: middle;
}

input.custom-check, input.custom-radio {
    accent-color: #346CB0;
}

/* card deck menu */

.menuSectionWrapper.collapseMenu {
    margin: 15px 0;
    border: 1px solid #f3f3f3;
    border-radius: 5px;
}

.menuSectionContent.collapseMenu {
    padding: 5px 10px;
}

.menuSectionContent.collapse {
    display: none;
}

.cardDeckMenuHelp {
    margin: 5px 0 25px 0;
    border: 1px solid #2b5a92;
    border-radius: 5px;
    font-size: 15px;
}

    .cardDeckMenuHelp p {
        display: block;
        position: relative;
        padding: 15px 10px 15px 45px;
        margin: 0;
    }

        .cardDeckMenuHelp p:before {
            font-family: 'Font Awesome 5 Free';
            content: "\f059";
            font-weight: 500;
            color: #2b5a92;
            font-size: 18px;
            position: absolute;
            left: 15px;
            top: 20%;
            vertical-align: middle;
            height: 100%;
        }

i.indicator {
    color: #2b5a92;
}

.cardDeckMenuItemHeader {
    padding: 5px 0;
}

    .cardDeckMenuItemHeader.collapseMenu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        background-color: #fbfbfb;
    }

        .cardDeckMenuItemHeader.collapsible:hover,
        .cardDeckMenuItemHeader.active {
            background-color: #f9f9f9;
            cursor: pointer;
        }

        .cardDeckMenuItemHeader.collapsible i.indicator {
            margin: 0 5px;
            font-size: 1.5rem;
            transition: 0.25s ease;
            opacity: 0.7;
        }

        .cardDeckMenuItemHeader.collapsible i.indicator-animate {
            transform: rotate(90deg);
            opacity: 1;
        }

    .cardDeckMenuItemHeader h2 {
        margin: 5px 0;
        font-size: 20px;
    }

    .cardDeckMenuItemHeader.collapsible:hover i.indicator {
        opacity: 1;
    }

    .cardDeckMenuItemHeader p {
        margin: 0;
    }

.introCardDeckMenuContentItems {
    line-height: 20px;
}

.cardDeckMenuItem {
    display: block;
    margin: 10px 0;
    font-size: 16px;
    border: 1px solid #ccc;
    background-color: #f6f7f9;
    box-sizing: border-box;
    box-shadow: 0 0 0 1px #eee,0 1px 3px 0 #eee;
}

    .cardDeckMenuItem *,
    .cardDeckMenuItem *::before,
    .cardDeckMenuItem *::after {
        box-sizing: inherit;
    }

    .cardDeckMenuItem label {
        padding: 15px 50px 15px 20px;
        width: 100%;
        display: block;
        text-align: left;
        color: #3C454C;
        cursor: pointer;
        position: relative;
        z-index: 2;
        transition: all 200ms ease-in;
        overflow: hidden;
    }

        .cardDeckMenuItem label:hover {
            background-color: #ecedef;
        }

        .cardDeckMenuItem label:before {
            width: 100%;
            height: 100%;
            content: "";
            background-color: #2b5a92;
            position: absolute;
            left: 0;
            top: 0;
            transition: all 250ms ease-in;
            opacity: 0;
            z-index: -1;
        }

        .cardDeckMenuItem label:after {
            width: 32px;
            height: 32px;
            content: "";
            border: 2px solid #d1d7dc;
            background-color: #fff;
            background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.414 11L4 12.414l5.414 5.414L20.828 6.414 19.414 5l-10 10z' fill='%23fff' fill-rule='nonzero'/%3E%3C/svg%3E ");
            background-repeat: no-repeat;
            background-position: 2px 3px;
            border-radius: 50%;
            z-index: 2;
            position: absolute;
            right: 15px;
            top: calc(36% - 8px);
            cursor: pointer;
            transition: all 250ms ease-in;
        }

    .cardDeckMenuItem input:checked ~ label {
        color: #fff;
    }

    .cardDeckMenuItem input:disabled ~ label {
        cursor: not-allowed;
    }

    .cardDeckMenuItem input:checked ~ label:before {
        opacity: 1;
    }

    .cardDeckMenuItem input:checked ~ label:after {
        background-color: #00A28A;
        border-color: #00A28A;
    }

    .cardDeckMenuItem input:disabled ~ label:before {
        background: #547daf;
    }

    .cardDeckMenuItem input {
        width: 32px;
        height: 32px;
        order: 1;
        z-index: -1;
        position: absolute;
        right: 15px;
        top: 9px;
        cursor: pointer;
        visibility: hidden;
    }

/* media queries */

@media only screen and (max-width: 768px) {
    html, body {
        overflow: auto;
        overflow-x: hidden;
    }

    img.note-image {
        width: 100%;
    }
}

@media only screen and (max-width: 650px) {
    .content, .fieldsDiv {
        margin: 25px 10px 20px 10px;
    }

    .slideWrap {
        margin: 25px auto 25px auto;
        height: 270px;
    }

    .weightBtnLine {
        display: block;
    }

    .modal.welcomeBack {
        margin-top: 80px !important;
    }
}

@media only screen and (max-width: 520px) {

    .slideWrap {
        margin: 15px 15px 20px 15px;
    }

    h3 {
        font-size: 17px;
    }

    textarea.commentsModalTa {
        margin-bottom: 5px;
        width: 90%;
    }
}

.modal {
    max-width: 750px;
}

    .modal.video {
        padding: 5px;
        background-color: #000;
    }

    .modal.comments, .modal.selections {
        max-width: 550px;
        padding: 15px;
        background: #f6f7ff;
    }

    .modal.welcomeBack {
        max-width: 500px;
        vertical-align: top;
        margin-top: 180px;
        padding: 15px;
        background-color: #ffdb9c;
        line-height: 1.5em;
    }

    .modal.welcomeBack h3 {
        font-weight: 500;
    }

.welcomeBackModalFooter {
    margin: 20px 0 0 0;
    display:flex;
    justify-content: space-between;
}

@media only screen and (max-width: 365px) {
    h3 {
        font-size: 15px;
    }
}
