a,
a:hover,
.btn-link:hover,
.btn-link:focus {
    text-decoration: none !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.ml-1 {
    margin-left: 0.25rem!important;
}

.ml-2 {
    margin-left: 0.5rem!important;
}

.ml-3 {
    margin-left: 1rem!important;
}

.ml-4 {
    margin-left: 1.5rem!important;
}

.ml-5 {
    margin-left: 3rem!important;
}

.mr-auto {
    margin-right: auto !important;
}

.mr-1 {
    margin-right: 0.25rem!important;
}

.mr-2 {
    margin-right: 0.5rem!important;
}

.mr-3 {
    margin-right: 1rem!important;
}

.mr-4 {
    margin-right: 1.5rem!important;
}

.mr-5 {
    margin-right: 3rem!important;
}

.table td, .table th {
    padding: 0.75rem;
}

.text-right {
    text-align: right;
}

/*.d-flex {
    display: flex;
}

.d-none {
    display: none !important;
}*/

.fd-row {
    flex-direction: row;
}

.fd-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.fd-row {
    flex-direction: row;
}

.jc-start {
    justify-content: flex-start;
}

.jc-center {
    justify-content: center;
}

.jc-end {
    justify-content: flex-end;
}

.jc-between {
    justify-content: space-between;
}

.jc-around {
    justify-content: space-around;
}

.ai-start {
    align-items: flex-start;
}

.ai-center {
    align-items: center;
}

.ai-end {
    align-items: flex-end;
}

.mt_0 {
    margin-top: 0 !important;
}

.ml_auto,
.ml-auto {
    margin-left: auto !important;
}

.mr_auto {
    margin-right: auto !important;
}

.mr_5 {
    margin-right: 5px !important;
}

.ml_5 {
    margin-left: 5px !important;
}

.text-sm {
    font-size: 12px;
}

.object-fit-cover {
    object-fit: cover;
}

.object-fit-contain {
    object-fit: contain;
    background-color: #f6f6f6;
}

::-webkit-input-placeholder {
    color: #bbb !important;
}

:-ms-input-placeholder {
    color: #bbb !important;
}

::placeholder {
    color: #bbb !important;
}

.form_styles .card {
/*    border: 0;*/
}

.form_styles .card-header {
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 0 !important;
}

.form_styles .form-control,
.form_styles .select2 {
    height: 42px;
    border-radius: 0;
    width: 100% !important;
}

.form_styles .select2 .selection,
.form_styles .select2 .select2-selection {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
/*    border: 0;*/
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    top: 0;
}

.form_styles .select2 .select2-selection__rendered {
    padding-left: 12px !important;
    /*display: flex;
    align-items: center;*/
}

/*.select2-dropdown {
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
}*/

.form_styles textarea.form-control {
    height: 250px;
}

.form_styles .card-body .form-group {
    margin-bottom: -1px;
}

.btn-outline {
    border: 1px solid rgba(var(--primary),1);
    color: rgba(var(--primary),1);
}

.btn-primary {
    background-color: rgba(var(--primary),1);
    border-color: rgba(var(--primary),1);
}

.btn-primary:hover {
    background-color: rgba(var(--primary),.7);
}

.btn-link {
    color: rgba(var(--primary),1);
}

.btn-secondary {
    background-color: rgba(var(--secondary),1);
    border-color: rgba(var(--secondary),1);
}

.btn-secondary:hover {
    background-color: rgba(var(--secondary),.7);
}

/*.btn-light {
    background-color: rgba(var(--light),1);
    border-color: rgba(var(--light),1);
    color: rgba(var(--primary),1);
}*/

.btn {
    border-radius: 5px;
}

.btn_yellow {
    background-color: var(--yellow);
    color: #fff;
}

.btn_blue {
    background-color: var(--blue);
    color: #fff;
}

.btn_blue:hover {
    background-color: var(--yellow);
}

.input_full {
    width: 100%;
}

.input_half {
    width: 49%;
}

.input_third {
    width: 32%;
}

.input_quarter {
    width: 24%;
}

.input_three_quarter {
    width: 74%;
}

.cb_set span:not(.cb_cust_box) {
    margin-left: 10px;
    cursor: pointer;
}

.hide_cb input[type=checkbox],
.hide_cb input[type=radio] {
    display: none;
}

.cb_cust_box {
    display: flex;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 1px solid;
    position: relative;
}

.hide_cb input[type=checkbox]:checked + .cb_cust_box:after,
.hide_cb input[type=radio]:checked + .cb_cust_box:after {
    content: "\e834";
    background-color: #fff;
    font-family: "Material Icons";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;

}

.form-group.float_label {
    margin-bottom: 15px;
    border: 0;
    position: relative;
    height: 45px;
}

.form-group.float_label.textarea_group {
    height: 250px;
}

.form-group.float_label label {
    margin: 0;
    padding: 0 0 0 15px;
    position: absolute;
    top: 9px;
    color: var(--black);
    z-index: 2;
    transition: .2s;
    pointer-events: none;
    font-size: 16px;
}

.form-group.float_label label.float_label_active {
    top: 0;
    /*line-height: 1;*/
    font-size: 13px;
    padding-left: 15px;
    padding-top: 2px;
    color: rgba(0,0,0,.4);
}

.form-group.float_label select + label.float_label_active {
    display: none;
}

.float_label_active + .form-control:not(.input_nolabel) {
    padding-top: 15px;
}

.section_ttl {
    margin-bottom: 10px;
}

input {
    font-family: sans-serif;
}

.form-group.float_label .form-control {
    width: 100%;
    border: 1px solid #C1CDDA;
    height: 100%;
    padding-left: 15px;
    background-color: #fff;
    border-radius: 7px;
    font-family: sans-serif;
}

.form-group.float_label .form-control.is-invalid {
    border-color: #dc3545;
}

select.is-invalid {
    border-color: #dc3545;
    background: #dc3545;
}

.form-group.float_label .form-control:focus {
    z-index: 1;
    position: relative;
    box-shadow: 0 0 0 1px rgba(var(--primary),1);
    border-color: rgba(var(--primary),1);
}

.bg-primary {
    background-color: rgba(var(--primary),1) !important;
}

.bg-secondary {
    background-color: rgba(var(--secondary),1) !important;
}

.btn-primary.disabled, .btn-primary:disabled {
    background-color: rgba(var(--secondary),1) !important;
    color: #777;
    cursor: not-allowed;
}

.input_req_star {
    color: #f00;
    font-size: 10px;
}

.w-33 {
    width: 33.3333%;
}

.w-50 {
    width: 50%;
}

.w-100 {
    width: 100%;
}

.input-group.prepend_append_fg {
    border:  1px solid var(--lightblue);
    display: flex;
    height: 45px;
    align-items: center;
    border-radius: 20px;
}

.prepend_custom .input-group-prepend,
.prepend_custom .input-group-append {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    width: 60px;
    height: 100%;
}

.prepend_custom .input-group-append {
    color: rgba(0,0,0,.4);
    justify-content: flex-start;
    font-family: 'Inter', sans-serif;
}

.prepend_custom .prepend_append_fg .form-control {
    width: calc(100% - 120px) !important;
    color: rgba(0,0,0,.4);
    text-align: right;
    border: 0;

}

.input-group-text {
    /*width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;*/
    background-color: var(--blue);
    color: #fff;
}

.form_styles .input-group-prepend .input-group-text {
    border-radius: 30px 0 0 30px;
}

.form_styles .input-group-append .input-group-text {
    border-radius: 0 30px 30px 0;
}

.input-group-append .input-group-text:after {
    content: '.00';
    width: 100%;
}

.prepend_custom .monthly-append {
    width: 130px;
}

.input-group-append.monthly-append .input-group-text:after {
    content: '.00 / month';
}

.input-group-append.age-append .input-group-text:after {
    content: 'y/o';
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.btn .material-icons,
.btn-large .material-icons,
.btn-small .material-icons,
.btn-floating .material-icons,
.btn-large .material-icons,
.btn-small .material-icons,
.btn-flat .material-icons {
    font-size: 1.3rem;
    line-height: 1em;
}

.material-icons.left {
    float: left;
    margin-right: 15px;
}

.ajax_form_response {
    border-radius: 5px;
}

.ajax_form_response.error {
    background: #ffdede;
    color: red;
}

.ajax_form_response.success {
    background: #deffe2;
    color: green;
}

.ajax_form_response > * {
    margin: 0;
    padding: 10px;
    word-break: break-word;
    list-style-position: inside;
}

.loader_wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.cm_loader_wrap {
    width: 64px;
    height: 64px;
    position: relative;
}
/*.cm_loader {
    border: 4px solid transparent;
    border-radius: 50%;
    border-top: 4px solid #5eb74c;
    width: 100%;
    height: 100%;
    -webkit-animation: cmSpin 2s linear infinite;
    animation: cmSpin 1s linear infinite;
    position: absolute;
    top: -2px;
    left: -2px;
}*/
.cm_loader {
    border: 4px solid transparent;
    border-radius: 50%;
    border-top: 4px solid #5eb74c;
    /* border-bottom: 4px solid #5eb74c; */
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    /* -webkit-animation: cmSpin 2s linear infinite; */
    animation: cmSpin 1s linear infinite;
    position: absolute;
    top: 0px;
    left: 0px;
    box-sizing: content-box;
 }
.cm_loader_bg {
    border: 2px solid #f3f3f3;
    border-radius: 50%;
    width: 100%;
    height: 100%;
}

.center_body {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

@-webkit-keyframes cmSpin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes cmSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Nav */

.nav_wrapper {
    display: flex;
}

.nav_icon {
	display: none;
	right: 25px;
	top: 25px;
    height: 25px;
    z-index: 2;
}

.nav_icon a {
    display: -ms-flexbox;
    display: flex;
    width: 30px;
    position: relative;
}

.nav_icon a span {
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
    user-select: none;
    height: 30px;
}

.nav_icon a span,
.nav_icon a span::before,
.nav_icon a span::after {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--red);
    transition: all .3s;
    border-radius: 3px;
}

.nav_icon a span::before,
.nav_icon a span::after {
    position: absolute;
    content: "";
}

.nav_icon a span::before {
    top: -8px;
}

.nav_icon a span::after {
    top: 8px;
}

.nav_icon.mnb_on a span {
    background-color: transparent;
}

.nav_icon.mnb_on a span::before {
    transform: translateY(8px) rotate(45deg);
}

.nav_icon.mnb_on a span::after {
    transform: translateY(-7px) rotate(-45deg);
}
/* End Nav */

.desktop_only {
    display: block;
}

.mobile_only {
    display: none;
}

.te_content p {
    font-size: 16px;
}
.te_content h1 {
    font-size: 36px;
}
.te_content h2 {
    font-size: 32px;
}
.te_content h3 {
    font-size: 28px;
}
.te_content h4 {
    font-size: 24px;
}
.te_content h5 {
    font-size: 20px;
}
.te_content h6 {
    font-size: 18px;
}

/*
Copy
*/

.custom_copy_wrapper {
    position: relative;
}

.copied_text {
    position: absolute;
    animation: floatup .5s ease-in-out;
    font-size: 16px;
    font-weight: 400;
    pointer-events: none;
}

@keyframes floatup {
    20% {
        opacity: 1
    }

    100% {
        opacity: 0;
        transform: translate3d(0,-150%,0)
    }
}

.copy_wrap strong {
    margin-right: 6px;
}

input.copy_input,
.create_form input.copy_input {
    width: 100%;
    margin-top: 0;
    font-size: 14px;
    border: 0;
    height: auto;
    cursor: pointer;
    background: transparent;
    color: #637381;
    font-size: 14px;
}

input.copy_input:focus {
    border: 0;
    box-shadow: none;
}

.copy_field {

}

.copy_field label {
    text-indent: 0;
    margin-bottom: 15px;
}

.copy_field input.copy_input {
    border: 0 !important;
}

.copy_field .copy_wrap {
    width: 100%;
}

.copy_field .copy_span {
    margin-right: auto;
    position: relative;
}

.copy_btn {
    display: flex;
    align-items: center;
    border: 0;
    color: #616D80;
    cursor: pointer;
    transition: .2s;
}

.copy_btn .material-icons {
    margin-right: 4px;
    font-size: 18px;
}

.copy_btn:hover {
    background: #616D80;
    color: #fff;
}

.copy_btn_custom {
    padding: 10px;
    display: flex;
    justify-content: center;
    color: #616D80;
    cursor: pointer;
}

.custom_copy_input {
    opacity: 0;
    position: absolute;
    z-index: -1;
    left: 0;
    /* overflow: hidden; */
}

/*
End Copy
*/

.is_submitting {
    position: relative;
}

.is_submitting:before {
    content: '';
    background: url(/assets/img/loading.gif);
    width: 100%;
    height: 100%;
    position: absolute;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    top: 0;
    left: 0;
}

.spin_anim {
     animation:spin .5s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.input-group-n100 {
    width: unset;
}

@media screen and (max-width: 1000px) {
    .nav_wrapper {
        right: -100vw;
        opacity: 0;
        width: 100%;
        top: 60px;
        top: 0;
        position: fixed;
        height: calc(100vh - 60px);
        height: 100vh;
        justify-content: center !important;
        background: rgb(29, 30, 77);
        flex-direction: column;
        align-items: center;
    }
    .nav_item {
        margin: 5px 10px;
    }
    .nav_icon {
        display: block;
        position: absolute;
    }
}

@media screen and (max-width: 768px) {
    .desktop_only {
        display: none;
    }
    .mobile_only {
        display: block;
    }
    .input_half,
    .input_third,
    .input_quarter,
    .input_three_quarter {
        width: 100%;
    }
    .form-group.float_label {
        margin-bottom: 10px;
        height: 40px;
    }
    .form-group.float_label label {
        top: 6px;
        font-size: 16px;
    }
}



