.crmEntityFormView,
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body p {
    font-family: var(--bs-body-font-family)
}

body .crmEntityFormView .tab {
    margin-bottom: 0;
    border-radius: .5rem
}

body .crmEntityFormView .actions {
    border-top: 0;
    margin: .5rem;
    padding: 0
}

#InsertButton {
    display: inline-block;
    width: auto
}

@media only screen and (max-width:575px) {
    #InsertButton {
        display: block;
        width: 100%
    }

    body .crmEntityFormView .actions {
        display: flex;
        align-items: center;
        justify-content: center;
        position: sticky;
        width: 100%;
        bottom: 1rem;
        z-index: 99;
        margin: 0;
        padding: 1rem .5rem 2rem;
        background-color: rgba(247, 247, 247, .5);
        background-image: linear-gradient(to top, rgba(247, 247, 247, 1), rgba(247, 247, 247, 1), rgba(247, 247, 247, 1), rgba(247, 247, 247, 0))
    }
}

@media only screen and (min-width:768px) {

    body .crmEntityFormView .captcha-cell,
    body .crmEntityFormView .section,
    body .crmEntityFormView .validation-summary {
        max-width: 40rem;
        margin: auto
    }
}

@media only screen and (max-width:767px) {
    .crmEntityFormView fieldset[aria-label='Issue details'] table.section {
        padding: 0 .75rem
    }
}

.crmEntityFormView fieldset[aria-label='Issue details'] .ms-Toggle-innerContainer button.ms-Toggle-background {
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary)
}

.crmEntityFormView fieldset[aria-label='Issue details'] .ms-Toggle-innerContainer button.ms-Toggle-background span.ms-Toggle-thumb {
    background-color: var(--bs-dark)
}

.crmEntityFormView fieldset[aria-label='Issue details'] .ms-Toggle-innerContainer label.ms-Label {
    font-family: var(--bs-body-font-family);
    font-weight: 500
}

body .crmEntityFormView div.description.below {
    margin: .1rem 0 0;
    font-size: .75rem;
    line-height: 2;
    color: var(--bs-dark)
}

body .crmEntityFormView .validation-summary {
    margin: .75rem auto
}

body .crmEntityFormView .validation-summary h2 {
    font-size: 1rem;
    line-height: 1.5;
    color: #842029
}

body .crmEntityFormView .validation-summary li {
    font-size: .875rem;
    line-height: 1.25
}

body .crmEntityFormView .validation-summary a {
    color: #842029
}

input::-ms-input-placeholder,
input::-webkit-input-placeholder,
input::placeholder {
    color: var(--bs-gray);
    opacity: 1
}

body .crmEntityFormView .captcha-cell {
    padding: .6rem
}

body .crmEntityFormView .captcha-cell p input[type=text] {
    display: inline-block;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .375rem
}

body .crmEntityFormView select {
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    background-image: url("data:image/svg+xml;charset=utf8, %3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none' d='m2 5 6 6 6-6'/%3E%3C/svg%3E")
}

#mapLoaderText {
    font-size: 1rem;
    font-weight: 500;
    text-align: center
}

body .crmEntityFormView .captcha-cell label {
    display: block;
    font-family: var(--bs-body-font-family);
    font-weight: 500;
    font-size: .875rem;
    margin-bottom: .25rem
}

#mapSection .form-label,
body .crmEntityFormView .cell label.field-label,
body .crmEntityFormView .cell label.form-label {
    font-size: .875rem;
    font-weight: 400;
    color: var(--bs-dark);
    margin-bottom: .25rem
}

.crmEntityFormView .cell textarea.textarea {
    height: 8rem;
    margin-bottom: 1rem
}

body .crmEntityFormView .cell input.form-control {
    border-color: #ced4da
}

body .crmEntityFormView select.lookup.form-control {
    padding-right: 2rem
}

h1.siteTitle.custom-sitetitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--bs-white)
}

body .navbar-dark .navbar-brand a,
body .navbar-dark .navbar-brand a:active,
body .navbar-dark .navbar-brand a:focus,
body .navbar-dark .navbar-brand a:hover {
    color: unset;
    text-decoration: none;
    text-align: center
}

body .navbar-dark button.navbar-toggler {
    display: none;
    margin: 0
}

body .static-top.navbar .navbar-collapse {
    display: none !important
}

body .navbar-dark button.navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8, %3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23000000'  stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E")
}

body .navbar-dark .navbar-toggler:focus,
body .navbar-dark .navbar-toggler:hover {
    background-color: var(--bs-secondary)
}

#mainContent a:not(.btn) {
    color: var(--bs-link-color)
}

#mainContent a:not(.btn):hover {
    color: var(--bs-link-hover-color)
}

.btn i.bi,
a i.bi {
    margin-right: .5em;
    white-space: nowrap
}

.btn-plus {
    position: relative
}

.btn-plus::before {
    content: "";
    display: inline-block;
    height: 1.125rem;
    width: 1.125rem;
    position: relative;
    top: .125rem;
    background-color: transparent;
    background-image: url('data:image/svg+xml,<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.0385 1.03846V7.96154H16.9615C17.524 7.96154 18 8.4375 18 9C18 9.60577 17.524 10.0385 16.9615 10.0385H10.0385V16.9615C10.0385 17.5673 9.5625 18 9 18C8.39423 18 7.96154 17.5673 7.96154 16.9615V10.0385H1.03846C0.432692 10.0385 0 9.60577 0 9C0 8.4375 0.432692 7.96154 1.03846 7.96154H7.96154V1.03846C7.96154 0.475962 8.39423 0 9 0C9.5625 0 10.0385 0.475962 10.0385 1.03846Z" fill="black"/></svg>');
    background-repeat: no-repeat;
    background-position: center center;
    margin-right: .5rem
}

.sticky-bottom {
    background-color: rgba(247, 247, 247, .5);
    background-image: linear-gradient(to top, rgba(247, 247, 247, 1), rgba(247, 247, 247, 1), rgba(247, 247, 247, 1), rgba(247, 247, 247, 0))
}

body .errordiv.alert-danger {
    display: flex;
    align-items: flex-start
}

body .errordiv.alert-danger,
table.section .cell .alert.alert-danger {
    width: -webkit-fill-available;
    padding: .5rem;
    gap: 0;
    margin-top: 1rem;
    margin-bottom: 1rem;
    background-color: #f8d7da;
    border: 1px solid #dba0a6;
    border-radius: .25rem;
    color: #63191f;
    font-size: .875rem;
    font-weight: 500
}

table.section .cell .alert.alert-danger a,
table.section .cell .alert.alert-danger a:active,
table.section .cell .alert.alert-danger a:hover {
    color: #63191f
}

body .errordiv span {
    margin-left: .5rem !important
}

body .errordiv button.close {
    font-size: 1.25rem
}

body .errordiv img.imagetag {
    padding: .5rem .25rem !important
}

.file-cell.cell .file-info {
    margin-top: 0 !important
}

.file-cell.cell .file-info .custom-button {
    min-height: 3rem;
    width: calc(100% - 2rem);
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
    padding: .75rem .25rem;
    background-color: #edf8f1 !important;
    border: 1px solid #a5d8b8;
    box-shadow: rgba(0, 0, 0, .25) 0 4px 6px 0 !important
}

.file-cell.cell .file-info .custom-button .filename {
    font-size: .875rem
}

.file-cell.cell .custom-button button.retrySpan {
    font-size: .875rem;
    font-weight: 600;
    padding-left: .25rem
}

.file-cell.cell .file-info .custom-button .deleteicon {
    filter: invert(16%) sepia(44%) saturate(7066%) hue-rotate(355deg) brightness(75%) contrast(118%)
}