::marker {
    font-size: 0.8em;
}

#emf-form {
    font-size: 16px;
}

#emf-form button[type=button] {
    flex-grow: unset;
}
#btnApplicationSubmit {
    width: auto;
}

.application-form-notice-heading {
    padding: 10px;
    border: 1px solid #000;
    font-size: 1em;
}

.application-form-notice-heading h4 {
    color: red;
    font-weight: normal;
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + .75rem);
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e);
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.form-check-input.is-invalid~.form-check-label,
.was-validated .form-check-input:invalid~.form-check-label {
    color: #dc3545;
}

.ui-widget {
    font-size: 0.8em;
}
.ui-datepicker table {
    border-bottom: none;
}
.ui-datepicker table tr {
    border-bottom: none;
}

div#signature {
    border: 1px solid #ccc;
    background: white;
    padding-bottom: 20px;
}

.signature-file {
    display: none;
}

div#signature {
    border: 1px solid #ccc;
    background: white;
    padding-bottom: 0px;
    height: 100%;
    box-sizing: border-box;
}

.emf-field-signature-option .signature-option {
    width: 100%;
}

.emf-div-field span,
.emf-div-field .emf-div-field span {
    display: inline-block;
    vertical-align: top;
    padding-right: 5px;
}

.emf-field-signature-option .form-check input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.emf-field-signature-option .form-check {
    width: 50%;
    margin: 0;
    position: relative;
    text-align: center;
    padding: 0 !important;
}

.emf-field-signature-option .form-check label {
    padding: 1em;
    display: block;
    border: 1px solid #cccccc;
    border-bottom: 0;
    box-sizing: border-box;
}

.emf-field-signature-option .emf-div-field {
    display: flex;
    margin: 0 !important;
    background: #efefef;
    /* border: 1px solid #cccccc; */
    border-bottom: 0;
}

.emf-field-signature-option {
    overflow: visible;
}

.emf-field-signature-option {
    padding: 0 !important;
    margin: 0 !important;
}

.emf-field-signature {
    margin-top: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    height: 100%;
    position: relative;
}

.emf-field-signature-option .form-check input:checked+label {
    background: #ffffff;
    color: black;
}

.emf-field-signature-option .form-check+.form-check label {
    border-left: 0 !important;
}

.signature-file {
    height: 100%;
    background: white;
    border: 1px solid #cccccc;
    position: absolute;
    margin: 0 !important;
    box-sizing: border-box;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-sizing: border-box;
}

.signature-file .emf-div-field {
    position: absolute;
    width: 100%;
    padding: 1em;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5vw;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
}

.emf-div-field.signature-draw {
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    margin: 0 !important;
}

div#signatureparent {
    height: 100%;
}

.emf-div-field.signature-draw[style="display: none;"] {
    display: block !important;
    z-index: -1;
}

.emf-field-signature .signature-file .emf-full {
    width: 20em;
}

#emf-form .form-inline .emf-full {
    width: unset;
}

@media (min-width:2050px) {
    .signature-file .emf-div-field {

        font-size: 32px;

    }
}

@media (max-width:979px) {
    .signature-file .emf-div-field {

        font-size: 2.2vw;

    }
}

@media (max-width:598px) {
    .signature-file .emf-div-field {

        font-size: 14px;

    }
}

/* The Modal (background) */
.c-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 120px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content */
.c-modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    /*border: 1px solid #888;*/
    width: 500px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

.c-modal .c-modal-content .c-modal-header h2,
.c-modal .c-modal-content .c-modal-header h5 {
    margin: 10px 16px 10px 0px !important;
    padding: 0 !important;
    /* padding-top: 0; */
    color: white !important;
    font-size: 22px !important;
}

.c-modal .c-modal-content .c-modal-footer h3 {
    margin: 0 !important;
    margin-bottom: 10px !important;
    padding: 0 !important;
    font-size: 22px !important;
}

.c-modal .c-modal-content .c-modal-body form {
    margin: 0;
    padding: 3%;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

/* The Close Button */
.c-modal .c-close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.c-modal .c-close:hover,
.c-modal .c-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.c-modal .c-modal-header {
    padding: 2px 16px;
    background-color: #004E84;
    color: white;
}

.c-modal .c-modal-header h2 {
    color: #fff;
    margin: 6px 0;
    padding: 0;
    font-weight: bold;
}

.c-modal form {
    margin: 0;
}

.c-modal .c-modal-body {
    /*padding: 2px 16px; */
}

.c-modal .c-modal-body .message {
    padding: 10px;
    text-align: center;
    margin: 0px;
}

.c-modal .c-modal-footer {
    padding: 2px 16px;
    background-color: #004E84;
    color: white;
}

.c-modal label {
    display: block;
    width: 100%;
    position: relative;
    margin: 0;
}

.c-modal input[type=text],
.c-modal input[type=email],
.c-modal input[type=password] {
    margin-bottom: 12px;
    width: 100%;
    border: 1px solid #8DBDE0;
    padding: 4px;
}

.c-modal input[type=submit],
.c-modal input[type=button] {
    padding: 4px 6px;
}

#ia-user-links.not-logged-in .ia-logout-link,
#ia-user-links.not-logged-in #ia-logged-in-user {
    display: none;
}

#ia-user-links.logged-in .ia-login-link,
#ia-user-links.logged-in .ia-register-link {
    display: none;
}

.g-recaptcha>div {
    margin-left: 0;
}

label span.req {
    color: red;
}

/* application printable view */
#application-form-view button[type="submit"],
#application-form-view input[type="submit"],
#application-form-view #signature,
#application-form-view .no-view {
    display: none;
}

#application-form-view .signature-option {
    display: none;
}

span.print-input-format {
    background-color: #e9ecef;
    padding: .25rem .5rem;
    font-size: .875rem;
    line-height: 1.5;
    border: 1px solid #8DBDE0;
    /* width: 100%; */
    display: flex;
    min-height: calc(1.5em + .5rem + 2px);
    border-radius: .2rem;
    flex-grow: 1;
}

span.print-input-format+.input-group-append .input-group-text {
    border: 0;
    background: transparent;
    border: 1px solid #8DBDE0;
    border-radius: 0;
    border-radius: .2rem;
}

table.table-mobile {
    border: none;
}

table.table-mobile label {
    padding-bottom: 0;
}

table.table-mobile tr {
    border: none;
}

table.table-mobile tr.equipment-item-no {
    display: none;
}

table.table-mobile .x-d-lg-none {
    display: none;
}

#emf-form .input-group > input {
    width: inherit;
}

.col-form-label-sm {
    padding-top: calc(.25rem + 1px);
    padding-bottom: calc(.25rem + 1px);
    font-size: .875rem;
    line-height: 1.5;
}

input + .col-form-label-sm {
    line-height: 1;
    padding-top: 0;
    display: block;
}

.form-group {
    margin-bottom: 0.75rem;
}

.form-inline {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -ms-flex-align: center;
    align-items: center
}

.form-check {
    position: relative;
    display: block;
    padding-left: 1.25rem;
}

.form-check-label {
    margin-bottom: 0;
}

.form-inline .form-check {
    width: 100%;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-check-inline {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    padding-left: 0;
    margin-right: .75rem;
}

.form-check-inline .form-check-input {
    position: static;
    margin-top: 0;
    margin-right: .3125rem;
    margin-left: 0;
    min-width: 1em;
}

@media (min-width: 576px) {
    .form-inline label {
        display:-ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: center;
        justify-content: center;
        margin-bottom: 0
    }

    .form-inline .form-group {
        display: -ms-flexbox;
        display: flex;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        -ms-flex-align: center;
        align-items: center;
        margin-bottom: 0
    }

    .form-inline .form-control {
        display: inline-block;
        width: auto;
        vertical-align: middle;
        flex-grow: 1;
    }

    .form-inline .form-control-plaintext {
        display: inline-block
    }

    .form-inline .custom-select,.form-inline .input-group {
        width: auto
    }

    .form-inline .form-check {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: center;
        justify-content: center;
        width: auto;
        padding-left: 0
    }

    .form-inline .form-check-input {
        position: relative;
        -ms-flex-negative: 0;
        flex-shrink: 0;
        margin-top: 0;
        margin-right: .25rem;
        margin-left: 0
    }

    .form-inline .custom-control {
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: center;
        justify-content: center
    }

    .form-inline .custom-control-label {
        margin-bottom: 0
    }
}

/* medium */
@media not print {
    @media (max-width: 998px) {
        table.table-mobile thead {
            display: none;
        }
        table.table-mobile tbody tr {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            grid-gap: 3px;
            margin-bottom: 3px;
        }

        table.table-mobile tr.equipment-item-no {
            display: inherit;
        }

        table.table-mobile .x-d-lg-none {
            display: inherit;
        }

        table.table-mobile .x-tc-4-none {
            display: none;
        }
    }
}
/* small */
@media not print {
    @media (max-width: 768px) {
        table.table-mobile thead {
            display: none;
        }
        table.table-mobile tbody tr {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            grid-gap: 3px;
            margin-bottom: 3px;
        }

        table.table-mobile .x-tc-2-none {
            display: none;
        }
    }
}

@media (max-width: 575.98px) {
    table.table-mobile thead {
        display: none;
    }
    table.table-mobile tbody tr {
        display: grid;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        grid-gap: 3px;
        margin-bottom: 3px;
    }
    table.table-mobile .x-tc-1-none {
        display: none;
    }
}



@media print {
    /* body {
        margin: 0;
        padding: 0 !important;
        min-width: 1450px !important;
      }
      .container, .container-fluid {
        width: auto;
        min-width: 1400px !important;
      } */
    .sidebyside {
        display: flex;
        align-items: center;
    }
.col-md-6 { width: 50% !important}.col-md-3 { width: 25% !important}
    .sidebyside input,
    .sidebyside span.print-input-format {
        order: 1;
        flex-grow: 1;
    }

    .sidebyside label {
        width: auto;
        overflow: visible;
        margin-right: 0.5em;
    }

    #application-form-view span.print-input-format,
    #application-form-view span.print-input-format+#application-form-view .input-group-append .input-group-text {
        border-top: none;
        border-left: none;
        border-right: none;
        border-radius: 0;
    }

    #application-form-view .col-form-label-sm {
        padding-top: 0;
        padding-bottom: 0;
    }

    #application-form-view p {
        line-height: 1em;
    }

    #application-form-view p small {
        font-size: .7em;
    }

    .form-group {
        margin-bottom: 0.4rem;
    }

    span.print-input-format {
        padding: .1rem .25rem;
        line-height: 1.2;
        min-height: 1.4em !important;
    }

    .col-form-label {
        line-height: 1.2 !important;
    }

    .form-sub-label {
        padding: 0;
        line-height: 1;
    }

    .input-group-sm>.custom-select,
    .input-group-sm>.form-control,
    .input-group-sm>.input-group-append>.btn,
    .input-group-sm>.input-group-append>.input-group-text,
    .input-group-sm>.input-group-prepend>.btn,
    .input-group-sm>.input-group-prepend>.input-group-text {
        padding: .1rem .25rem;
        line-height: 1.2;
        min-height: 1.4em !important;
    }
}

/* print styles */
@media print {
    header,
    footer {
        display: none !important;
    }
}

/* jquery ui datepicker */
.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
    display: inline-block;
}