.hnc-tcenter {
    text-align: center;
}

.hnc-alert {
    padding: 8px;
    border-radius: 4px;
}

.hnc-success {
    background: #008000e3;
    color: #fff;
}

.hnc-danger {
    background: #ff0202d6;
    color: #fff;
}

.hnc-row {
    /*--bs-gutter-x: 1.5rem;*/
    /*--bs-gutter-y: 0;*/
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.hnc-col-auto {
    flex: 0 0 auto;
    width: auto;
}

.hnc-col {
    flex: 1 0 0%
}

.hnc-col-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
}

.hnc-col-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
}

.hnc-col-3 {
    flex: 0 0 auto;
    width: 25%;
}

.hnc-col-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
}

.hnc-col-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
}

.hnc-col-6 {
    flex: 0 0 auto;
    width: 50%;
}

.hnc-col-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
}

.hnc-col-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
}

.hnc-col-9 {
    flex: 0 0 auto;
    width: 75%;
}

.hnc-col-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
}

.hnc-col-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
}

.hnc-col-12 {
    flex: 0 0 auto;
    width: 100%;
}

@media (max-width: 476px) {
    .hnc-col-sm {
        flex: 1 0 0%;
    }

    .hnc-col-sm-auto {
        flex: 0 0 auto;
        width: auto;
    }

    .hnc-col-sm-1 {
        flex: 0 0 auto;
        width: 8.33333333%;
    }

    .hnc-col-sm-2 {
        flex: 0 0 auto;
        width: 16.66666667%;
    }

    .hnc-col-sm-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    .hnc-col-sm-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .hnc-col-sm-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }

    .hnc-col-sm-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .hnc-col-sm-7 {
        flex: 0 0 auto;
        width: 58.33333333%;
    }

    .hnc-col-sm-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }

    .hnc-col-sm-9 {
        flex: 0 0 auto;
        width: 75%;
    }

    .hnc-col-sm-10 {
        flex: 0 0 auto;
        width: 83.33333333%;
    }

    .hnc-col-sm-11 {
        flex: 0 0 auto;
        width: 91.66666667%;
    }

    .hnc-col-sm-12 {
        flex: 0 0 auto;
        width: 100%;
    }
}

.hnc-select {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: rgba(0, 0, 0, .85);
    font-size: 14px;
    font-variant: tabular-nums;
    line-height: 1.5715;
    list-style: none;
    font-feature-settings: "tnum", "tnum";
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.hnc-form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.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: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.hnc-form-group {
    margin-bottom: 1.5rem;
}

.hnc-form-select {
    display: block;
    width: 100%;
    /*padding: 0.375rem 2.25rem 0.375rem 0.75rem;*/
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 1rem;
    font-weight: 400;
    /*line-height: 1.5;*/
    /*line-height: normal;*/
    /*color: #212529;*/
    /*background-color: #fff;*/
    /*background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");*/
    /*background-repeat: no-repeat;*/
    /*background-position: right 0.75rem center;*/
    /*background-size: 16px 12px;*/
    /*border: 1px solid #ced4da;*/
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    /*-webkit-appearance: none;*/
    /*-moz-appearance: none;*/
    /*appearance: none;*/
}

@media (prefers-reduced-motion: reduce) {
    .hnc-form-select {
        transition: none;
    }
}

.hnc-btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    /*color: #212529;*/
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    /*background-color: transparent;*/
    border: 1px solid transparent;
    /*padding: 0.375rem 0.75rem;*/
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .btn {
        transition: none;
    }
}

.hnc-input-right {
    position: absolute;
    right: 13px;
    top: 5px;
}

.hnc-input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.hnc-divider {
    background: #9e9fa1;
    height: 1px;
    display: flex;
    clear: both;
    width: 100%;
    min-width: 100%;
    margin: 20px 0;
}

.text-start {
    text-align: left !important;
}

.text-end {
    text-align: right !important;
}

.text-center {
    text-align: center !important;
}

.text-muted {
    color: #6c757d !important;
}

.text-danger {
    color: red;
}

.small {
    font-size: .875em;
}

.d-block {
    display: block;
}

.d-none {
    display: none!important;
}

.hnc-box {
    border-radius: 4px;
    padding: 15px;
    margin-top: 10px;
    background-color: #fff;
    box-shadow: 3px 4px 7px 3px #b3b3b3;
    color: #6e6e6e;
    font-size: 16px;
}

.hnc-spin {
    animation: hnc-icon-spin 1.5s infinite;
    animation-timing-function: linear;
}

@keyframes hnc-icon-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Chrome, Safari, Edge, Opera */
.hnc-calc input::-webkit-outer-spin-button,
.hnc-calc input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.hnc-calc input[type=number] {
    -moz-appearance: textfield;
}

.hnc-title {
    text-align: center;
    display: block;
    width: 100%;
}

.hnc-form-title {
    text-align:center;
}
.hnc-form-text {
    text-align:center;
    color: #6c757d !important;
    font-size: .875em;
}

.hnc-fieldset-heading {
    font-weight: bold;
    margin: 2rem 0 1rem;
}

.hnc-question-label {
    color: #54595F;
    font-weight: 500;
}

.hnc-on .hnc-question-label {
    margin-bottom: 0.5rem;
    display: block;
}

.hnc-form-navigation {
    overflow: auto;
    margin: 15px 0px;
    text-align: right;
}

.hnc-navigation-bullets {
    margin-top: 40px;
}

.hnc-disclaimer {

}

.hnc-form-group input.invalid,
.hnc-form-group select.invalid {
    background-color: #ffdddd;
    border: 1px solid red;
}

.hnc-tab {
    display: none;
    width: 100%;
}

/* Step Styles */
.hnc-calc .hnc-step {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbbbbb;
    border: none;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.5;
}

/* Mark the active step: */
.hnc-step.active {
    opacity: 1;
}

/* Mark the steps that are finished and valid: */
.hnc-step.finish {
    opacity: 1;
    background-color: #04AA6D;
}

.hnc-calc .result-area.alert.alert-success {
    background: transparent;
    color: inherit;
}

.hnc-calc .result-area.alert.alert-danger {
    text-align: center;
    margin: 1rem 0;
    border: 1px solid red;
    padding: 0.5rem 0;
    color: orangered;
    border-radius: 2px;
}

.hnc-mt-15 {
    margin-top: 15px;
}
.hnc-mt-15 {
    margin-top: 15px;
}
.alert-danger{ background: #e11717; color: #ffffff; }
.alert-success{ background: green; color: #ffffff; }
.ajax-result, #ajax-result{ padding: 10px;border-radius: 10px; }

.hnc-parent {
    position: relative;
}

#hnc-loader-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.3);
}
#hnc-loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 100px;
    height: 100px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #3498db;
    -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

#hnc-loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #e74c3c;
    -webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

#hnc-loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #f9c922;
    -webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

@-webkit-keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);  /* IE 9 */
        transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);  /* IE 9 */
        transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
    }
}
@keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);  /* IE 9 */
        transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);  /* IE 9 */
        transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
    }
}

/* Style the Image Used to Trigger the Modal */
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* 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.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}