﻿body {
    margin: 1em;
}

#formio {
}

.apcrmHeader {
    width: 100%;
    font-size: 1em;
    padding: 0;
    display: flex;
}

    .apcrmHeader h1 {
        font-size: 1.4em;
        font-weight: 600;
        margin: 0;
        padding: 0;
    }
    .apcrmHeader > div:first-child {
        margin-left: 0;
        flex-basis: 40%
    }

    .apcrmHeader > div {
        margin-left: auto;
    }

    .apcrmHeader label {
        padding-top: 1em;
        display: inline-block;
    }

#formLoading {
    display: block;
    position: absolute;
    width: 30%;
    height: 30%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}
    #formLoading div {
        margin: auto;
        text-align: center;
    }

#formFinishContent, .finishContent {
    display: none;
}
.formHide{
    display:none;
}
.pdfOnly {
    display: none;
}

.datagrid-resize td:has(.percent_5) {
    width: 5% !important;
}
.datagrid-resize td:has(.percent_10) {
    width: 10% !important;
}
.datagrid-resize td:has(.percent_15) {
    width: 15% !important;
}
.datagrid-resize td:has(.percent_20) {
    width: 20% !important;
}
.datagrid-resize td:has(.percent_25) {
    width: 25% !important;
}
.datagrid-resize td:has(.percent_30) {
    width: 30% !important;
}
.datagrid-resize td:has(.percent_35) {
    width: 35% !important;
}
.datagrid-resize td:has(.percent_40) {
    width: 40% !important;
}
.datagrid-resize td:has(.percent_45) {
    width: 45% !important;
}
.datagrid-resize td:has(.percent_50) {
    width: 50% !important;
}
.datagrid-resize td:has(.percent_55) {
    width: 55% !important;
}
.datagrid-resize td:has(.percent_60) {
    width: 60% !important;
}
.datagrid-resize td:has(.percent_65) {
    width: 65% !important;
}
.datagrid-resize td:has(.percent_70) {
    width: 70% !important;
}
.datagrid-resize td:has(.percent_75) {
    width: 75% !important;
}
.datagrid-resize td:has(.percent_80) {
    width: 80% !important;
}
.datagrid-resize td:has(.percent_85) {
    width: 85% !important;
}
.datagrid-resize td:has(.percent_90) {
    width: 90% !important;
}
.datagrid-resize td:has(.percent_95) {
    width: 95% !important;
}
.datagrid-resize td:has(.percent_100) {
    width: 100% !important;
}

.percent_55 div, .percent_55 span, .percent_55 select, .percent_55 input {
    max-width: 100% !important;
}

.datagrid-resize .dropdown {
    height: auto;
}

.datagrid-resize .choices__item span, .choices__item.choices__item--selectable {
    white-space: normal;
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    position: fixed;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.choices__item.choices__item--selectable {
    white-space: nowrap !important;
    overflow: unset !important;
    text-overflow: unset !important;
}