.control-label {
    font-size: 1rem;
    font-weight: 300;
    padding-bottom: 0;
    margin-bottom: 0;
    line-height: 1.0rem;
    color: black;
}

.control-label.required:after {
    content: " *";
    color: #fe5000;
}

.control-label.horiz {
    padding-top: calc(0.375rem + 3px);
    padding-bottom: calc(0.375rem + 5px);
    font-size: 1.1rem;
    line-height: 1.2rem;
    font-weight: 500;
    color: #212529;
}

.control-label.modal-form {
    /*padding-top: calc(0.375rem + 3px);*/
    padding-bottom: calc(0.375rem + 1px);
    /*margin-bottom: 0;*/
    font-size: 1.0rem;
    line-height: 1.1rem;
    font-weight: 500;
    color: #212529;
}

.custom-control .custom-control-label {
    padding-left: 10px;
    line-height: 28px !important;
}

.form-text {
    color: #9ab !important;
    font-size: 13px;
    padding: 0;
    margin: 8px 5px 0;
    line-height: 15px;
}

.help-block {
    color: #dc3545 !important;
    font-size: 0.9rem;
    font-weight: 400;
    padding: 0;
    margin: 10px 0 0;
    line-height: 1.1rem;
    text-align: left;
    /*float: right;*/
}
.help-block.large {
    font-size: 1.2rem;
    font-weight: 300;
    text-align: center;
}
.help-block.modal-error {
    font-size: 1rem;
    font-weight: 300;
    padding: 0 0.5rem;
}

.help-block.table-error {
    padding: 0;
    font-size: 1rem;
    margin: 1rem 0 2rem;
    line-height: 1.2rem;
    text-align: left;
    width: 100%;
}
.modal.login .modal-header {
    width: 100%;
    padding-top: 30px;
    border-style: none !important;
}
.modal.login .modal-header .title-block {
    width: 88%;
    margin: 0 6%;
    text-align: center;
}
.modal.login .modal-header h4 {
    margin: 0;
    line-height: 2rem;
    font-size: 1.7rem;
    color: rgb(7,7,7);
}
.modal.login .modal-header .form-errors {
    color: #dc3545 !important;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.5rem;
    padding: 30px 0 0;
}
.modal.login form {
    max-width: 500px;
    padding: 0 30px;
    border-radius: 10px;
    width: 100%;
}

.form-control[readonly] {
    background: #fff;
}

.form-control.is-invalid, .was-validated .form-control:invalid {

}

/*.form-control {*/
/*    height: calc(1.5em + 0.75rem + 2px) !important;*/
/*}*/

.form-control.po-num {
    z-index: 99;
}


/* bootstrap-select library overrides*/
.bootstrap-select > .btn {
    text-transform: none;
    font-weight: 400;
    background-color: white;
    /*padding-bottom: 0.375rem;*/
    border: 1px solid #ced4da;
    height: calc(1.5em + 0.75rem + 2px) !important;
    /*height: auto;*/
}
.bootstrap-select.is-invalid .dropdown-toggle,
.error .bootstrap-select .dropdown-toggle,
.has-error .bootstrap-select .dropdown-toggle,
.was-validated .bootstrap-select select:invalid+.dropdown-toggle {
    border-color: #dc3545 !important;
}
.bootstrap-select>.dropdown-toggle.bs-placeholder {
    color: #bababa !important;
}
.bootstrap-select>.dropdown-toggle.bs-placeholder:hover {
    color: #bababa !important;
}


/* Page Help feature styling */
.help-button {
    vertical-align: middle;
    font-size: 0.7rem;
    margin-top: 4px;
}
.help {
    border: none;
    margin: 0;
    padding: 0;
}
.help .help-content {
    margin: 0 15px;
    padding: 30px;
    border: 1px solid #dee2e6;
    background-color: #fcfcfc;
    border-radius: 6px;
    flex: 1 1 auto;
    min-height: 0;
}
.help .help-content .close {
    margin: -15px 0 0;
}
.help .help-text {
    font-size: 1rem;
    margin-top: 20px;
}
.collapsing {
    position: relative;
    height: 0;
    overflow: hidden;
    -webkit-transition: all 0.6s; /* Safari */
    transition: all 0.6s;
}


/* order bottom nav styling */
.order-bottom-nav {
    margin-top: 4rem;
}
.order-bottom-nav .row.counts {
    padding-right: 1.25rem;
}
.order-bottom-nav .row.counts h3 {
    color: #232323;
    font-size: clamp(16px, 4vw, 20px);
}
.order-bottom-nav p {
    font-size: 1rem;
    color: #f47321;
    text-align: right;
}
.order-bottom-nav .order-next-action .btn {
    min-width: 12rem;
}





/*.bootstrap-select .filter-option-inner {*/
/*    padding-top: 0.2rem;*/
/*}*/

/*.general-note {*/
/*    color: grey;*/
/*    font-size: 1.0rem;*/
/*    line-height: 40px;*/
/*    padding: 0.5rem 0 0;*/
/*}*/

/*.general-note > i {*/
/*    color: grey;*/
/*    padding-right: 5px;*/
/*    font-size: 1.5rem;*/
/*    line-height: 40px;*/
/*}*/

/* custom checkbox and radio controls*/
.custom-control .custom-control-label {
    line-height: 19px;
}


.form-check-notes {
    margin-top: 5px;
}
.form-text.section-note {
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.1rem;
    color: #646464 !important;
}
.form-text.field-note {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.1rem;
    color: gray !important;
}
.form-check > .form-text.field-note {
    margin: -5px 25px 0;
}
.form-check > .form-text.field-note {
    margin: -5px 25px 0;
}

/*.custom-control-input ~ .custom-control-label::before {*/
/*    color: #fff;*/
/*    border-color: black;*/
/*    background-color: white;*/
/*    padding: 1px;*/
/*    height: 20px;*/
/*    width: 20px;*/
/*}*/

/*.custom-control-input:checked ~ .custom-control-label::before {*/
/*    color: #fff;*/
/*    border-color: #fe5000;*/
/*    background-color: #fe5000;*/
/*    padding: 1px;*/
/*    height: 20px;*/
/*    width: 20px;*/
/*}*/

/*.custom-control-input:checked.custom-control-input:disabled ~ .custom-control-label::before {*/
/*    color: #fff;*/
/*    border-color: #fe5000;*/
/*    background-color: #fe5000;*/
/*    padding: 1px;*/
/*    height: 20px;*/
/*    width: 20px;*/
/*}*/

.custom-control-label {
    font-size: 1rem;
    padding-top: 3px;
}

label.custom-radio {
    margin-bottom: 0;
}

/* order styling */

.order.card,
.org.card {
    background-color: #fcfcfc;
}

@media (max-width: 992px) {
    .order.card,
    .org.card {
        margin-left: -30px;
        margin-right: -30px;
    }
}

.org.card .card-body {
    padding: 30px 30px 0;
}

.order.card .text-small,
.org.card .text-small {
    font-size: 0.9rem;
    font-weight: 300;
}

.order.card > .card-header,
.org.card > .card-header {
    background-color: #9bc982;
    background-image: none;
    color: white;
    font-size: 24px;
    line-height: 50px;
    padding: 0 20px;
    font-weight: 400;
}

.order.card > .card-header > .error-note,
.org.card > .card-header > .error-note {
    color: yellow;
    float: right;
    font-size: 1.2rem;
    line-height: 50px;
    font-weight: 500;
    text-transform: uppercase;
}

.order.card > .card-header > .error-note > i,
.org.card > .card-header > .error-note > i {
    padding-right: 10px;
    font-size: 1.5rem;
    line-height: 50px;
}

.order.card > .card-header > .success-note,
.org.card > .card-header > .success-note {
    color: white;
    float: right;
    font-size: 1.2rem;
    line-height: 50px;
    font-weight: 400;
}

.order.card > .card-header > .success-note > i,
.org.card > .card-header > .success-note > i {
    padding-right: 10px;
    font-size: 1.5rem;
    line-height: 50px;
}

.order.card .card.child-card,
.org.card .card.child-card {
    padding: 10px 20px 30px;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: transparent;
    border-color: transparent;
    border-bottom: 1px solid #eee;
}

.order.card .card.child-card.no-bottom-border,
.org.card .card.child-card.no-bottom-border {
    border-bottom: none;
}

.order.card .card.child-card:last-of-type,
.org.card .card.child-card:last-of-type {
    /*border-bottom: none;*/
}

.general-note,
.order.card .card-body .body-note {
    margin: 0.5rem 0 1rem;
}
.general-note p,
.order.card .card-body .body-note p {
    font-size: 1.0rem;
    line-height: 2.5rem;
    padding: 0;
}

.general-note.larger p,
.order.card .card-body .body-note p {
    font-size: 1.1rem;
    line-height: 1.5rem;
}

.general-note > i,
.order.card .card-body .body-note > i,
.org.card .card-body .body-note > i {
    color: grey;
    float: left;
    padding: 0 20px 0 0;
    font-size: 2rem;
    line-height: 2.5rem;
}

.order.card .card.child-card h4,
.org.card .card.child-card h4 {
    margin-bottom: 20px;
    color: #f47321;
}

.order.card .card.child-card.info,
.org.card .card.child-card.info {
    background-color: transparent;
    border-color: lightgrey;
    margin-top: 0;
}

.order.card .card.child-card.info h4,
.org.card .card.child-card.info h4 {
    color: darkgray;
}

.order.card .section-notes-small {
    font-size: 0.8rem;
    line-height: 1.2rem;
}

.form-text.text-muted.input-help {
    margin-left: 4px;
}

.form-group {
    margin-top: 15px;
    margin-bottom: 30px;
}
.form-group .form-check {
    font-size: 17px;
}
.form-group > .label-group {
    padding: 0;
    margin: 0.5rem 0 0.375rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.form-group > .label-group > .control-label {
    line-height: 1.2rem;
    font-weight: 400;
    padding: 0;
}
.form-group > .label-group .error-msg {
    color: #dc3545 !important;
    font-size: 0.9rem;
    font-weight: 400;
    padding: 0;
    margin: 0;
    margin-left: auto;
    line-height: 1.2rem;
    text-align: right;
}

.input-group .group-button {
    border-color: #ced4da;
    font-weight: 400;
    background-color: #e9ecef;
}
.input-group .group-button:hover {
    background-color: #a9a9a9;
    color: #ffffff;
}

/* bootstrap spinner styling */
table .bs-spinner .btn, table .bs-spinner input {
    font-size: 0.8rem !important;
}

.bs-spinner .bg-gray {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
}

.bs-spinner .bg-gray:hover {
    background-color: darkgray !important;
    /*border: 1px solid #ced4da;*/
}

.bs-spinner {
    max-width: 200px;
}







/* Custom Checkbox Control */

.iso-custom-checkbox-block {
    margin-top: 0.15rem;
    line-height: 1.5rem;
}

.iso-custom-checkbox {
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding-left: 25px;
}
.iso-custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    margin-right: 30px;
}
.iso-custom-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: white;
    border-radius: 6px;
    border: solid lightgrey;
    border-width: 1px;
}
.iso-custom-checkbox.small .checkmark {
    height: 20px;
    width: 20px;
    border-radius: 4px;
}
.iso-custom-checkbox input:checked ~ .checkmark {
    background-color: #fe5000;
    border: none;
}
.iso-custom-checkbox input:checked:disabled ~ .checkmark {
    background-color: #cccccc;
    border: none;
}
.iso-custom-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.iso-custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}
.iso-custom-checkbox .checkmark:after {
    left: 9px;
    top: 3px;
    width: 7px;
    height: 14px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}
.iso-custom-checkbox.small .checkmark:after {
    left: 7px;
    top: 2px;
    width: 6px;
    height: 12px;
    border-width: 0 2px 2px 0;
}
.iso-custom-checkbox .checkbox-label {
    display: block;
    font-size: 1rem;
    font-weight: 300;
    padding: 4px 10px 0 0;
    margin: -4px 0 0 15px;
    color: black;
}
.iso-custom-checkbox.small .checkbox-label {
    margin: -6px 0 0 10px;
}

/* Custom Radio Control */

.iso-custom-radio-block {
    margin-top: 8px;
}
.iso-custom-radio-block-sm {
    padding-top: 10px !important;
}
.iso-custom-radio {
    position: relative;
    display: block;
    cursor: pointer;
    padding-left: 25px;
    padding-right: 0;
    margin-right: 0;
    line-height: 24px;
}
.iso-custom-radio.small {
    line-height: 17px;
}

.iso-custom-radio > input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.iso-custom-radio .radiomark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: #fff;
    border: solid lightgrey;
    border-width: 1px;
}
.iso-custom-radio.small .radiomark {
    position: absolute;
    top: 0;
    left: 0;
    height: 17px;
    width: 17px;
    border-radius: 50%;
    background-color: #fff;
    border: solid lightgrey;
    border-width: 1px;
}
.iso-custom-radio > input:checked ~ .radiomark {
    background-color: #fe5000;
    border: none;
}
.iso-custom-radio .radiomark:after {
    content: "";
    position: absolute;
    display: none;
}
.iso-custom-radio > input:checked ~ .radiomark:after {
    display: block;
}
.iso-custom-radio .radiomark:after {
    top: 7px;
    left: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: white;
}
.iso-custom-radio.small .radiomark:after {
    top: 6px;
    left: 6px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: white;
}
.iso-custom-radio .radio-label {
    display: block;
    margin: -4px 0 0 10px;
    font-size: 1rem;
    font-weight: 300;
    color: black;
}
.iso-custom-radio.small .radio-label {
    font-size: 0.9rem;
}

