@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700&amp;display=swap');

.dental_form input, .dental_form optgroup, .dental_form select, .dental_form textarea {
    appearance: none;
}

.header_main-quote-btn {
    width: 100%;
    height: 100%;
    cursor: pointer;
    /*margin-right: 2px;*/
    /*margin-bottom: 1em;*/
    margin: 0 auto 1em auto;
    max-width: max-content;
    background: linear-gradient(179.23deg, #ffb27d 5.76%, #ff7063 94.24%);
    font-size: 1.3rem;
    line-height: 1;
    font-weight: 500;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    padding: 15px;
    text-align: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    text-decoration: none;
    color: #ffffff !important;
    -webkit-transition: .2s ease-in-out;
    -o-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
    z-index: 4;
    border-radius: 6px;
    text-decoration: unset;
    display: block !important;
}

.header_main-quote {
    width: 100%;
    height: 100%;
    cursor: pointer;
    color: #002357;
    font-weight: 600;
    max-width: max-content;
    display: inline-block;
    transition: .3s ease-in-out;
    text-decoration: unset;
}

.header_main-quote:hover {
    text-decoration: underline;
}

.header_main-quote-btn:hover {
    text-decoration: none;
    background: linear-gradient(179.23deg, #ff7063 5.76%, #ffb27d 94.24%);
}

.form_wrapper .dental_form-checkbox label.terms, article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block
}

.form_wrapper {
    box-shadow: 0px 0px 25px #00235747;
    margin-bottom: 25px;
    z-index: 0;
    width: 100%;
    height: 100%;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 6px;
    -webkit-animation: open-popup .5s;
    -o-animation: open-popup .5s;
    animation: open-popup .5s
}

/* popup form */

.form_wrapper.popup {
    display: none;
    padding: 25px;
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.form_wrapper.popup .form_wrapper-header {
    justify-content: unset;
    width: 100%;
    /*max-width: 800px;*/
}

.form_wrapper.popup .form_wrapper-container {
    margin: 0 auto;
    width: 100%;
    max-width: 800px;
	height: 100%;
	overflow-y: auto;
}

@media screen and (max-width: 991px) {
    .form_wrapper.popup .form_wrapper-container {
        max-width: 95%;
    }
}

.form_wrapper.popup .heading_3 {
    color: #ffffff;
    margin-right: auto;
    font-weight: 600;
    line-height: 1.2;
    font-size: 26px;
}

@media screen and (max-width: 767px) {
    .form_wrapper.popup .heading_3 {
        font-size: 16px;
    }
}

.form_wrapper.popup .form_wrapper_logo {
    margin-right: 30px;
    max-width: 35%;
}

@media screen and (max-width: 767px) {
    .form_wrapper.popup .form_wrapper_logo {
        margin-right: 0;
    }
}

/* popup form */

.form_wrapper .heading_3 {
    color: #ffffff;
    margin-right: auto;
    font-weight: 600;
    line-height: 1.2;
    font-size: 26px;
}

@media screen and (max-width: 767px) {
    .form_wrapper.popup .heading_3 {
        font-size: 16px;
    }
}

.form_wrapper .heading_4 {
    color: #002357;
    font-family: "Baloo 2", sans-serif;
    font-size: 24px;
    font-weight: bold;
}

@media screen and (max-width: 767px) {
    .form_wrapper .heading_4 {
        font-size: 18px;
    }
}

.form_wrapper-overlay {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(51, 51, 51, .4);
}

.form_wrapper.open {
    z-index: 100;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    top: 50%
}

.form_wrapper.open .form_wrapper-overlay {
    display: block;
}

@-webkit-keyframes open-popup {
    0% {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@-o-keyframes open-popup {
    0% {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@keyframes open-popup {
    0% {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

.form_wrapper-container {
    background: #fff;
    width: 100%;
    max-width: 100%;
    /*max-height: 90vh;*/
    position: relative;
    /*overflow-y: auto;*/
    border-radius: 10px;
    overflow: hidden;
}

.form_wrapper .dental_form-checkbox label, .form_wrapper-header {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex
}
@media (min-width: 768px){
	.form_wrapper .dental_form-tab .dental_form-tab-message {
		margin-bottom: 10px;
	}
}
@media (max-width: 768px){
	.form_wrapper .dental_form-tab .dental_form-tab-message {
		margin-top: 10px;
	}
}
.form_wrapper .dental_form-checkbox-options {
	display: none;
	margin: 15px 0 5px 10px;
}
.form_wrapper .dental_form-checkbox-options .dental_form-checkbox label {
	padding-left: 36px;
	min-height: 34px;
}
.form_wrapper .dental_form-checkbox-options .dental_form-checkbox label::before {
	width: 20px;
	height: 20px;
}
.form_wrapper .dental_form-checkbox-options .dental_form-checkbox input:checked + label::after {
    content: "";
    display: block;
    position: absolute;
    background-image: url(https://www.dentaly.org/wp-content/themes/generatepress-child/img/icons/check.svg);
    top: 42%;
    transform: translateY(-50%);
    left: 1px;
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px
}
.form_wrapper .dental_form-checkbox-options .dental_form-checkbox input[disabled] + label{
	opacity: 0.5;
	cursor: default;
}
.form_wrapper-header {
    background: #002357;
    padding: 30px;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    max-width: 950px;
    width: 100%;
    z-index: 3;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center
}

@media screen and (max-width: 767px) {
    .form_wrapper-header {
        padding: 15px;
    }
}

.form_wrapper-header h2, .form_wrapper-header h3 {
    margin-bottom: 0
}

.form_wrapper-header .close-popup {
    position: relative;
    width: 28px;
    height: 28px;
    cursor: pointer
}

@media screen and (max-width: 767px) {
    .form_wrapper-header .close-popup {
        position: absolute;
        width: 18px;
        height: 18px;
        right: 6px;
        top: 6px;
    }
}

.form_wrapper-header .close-popup::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 28px;
    background: #fff;
    transform: rotate(-45deg);
    border-radius: 6px;
    left: 50%;
}

.form_wrapper-header .close-popup::before {
    content: "";
    position: absolute;
    width: 2px;
    height: 28px;
    background: #fff;
    left: 50%;
    transform: rotate(45deg);
    border-radius: 6px;
    top: 0;
}

@media screen and (max-width: 767px) {
    .form_wrapper-header .close-popup::before {
        height: 18px;
    }

    .form_wrapper-header .close-popup::after {
        height: 18px;
    }
}

.form_wrapper .dental_form {
    position: relative;
    padding-bottom: 20px
}

.form_wrapper .dental_form .hidden {
    position: absolute
}

@media screen and (max-width: 991px) {
    .form_wrapper .dental_form {
        padding-bottom: 25px
    }
}

@media screen and (max-width: 575px) {
    .form_wrapper .dental_form {
        padding-bottom: 15px
    }
}

.form_wrapper .dental_form-checkbox {
    -webkit-box-flex: 1;
    -webkit-flex: 1 auto;
    -ms-flex: 1 auto;
    flex: 1 auto;
    width: 48%;
    margin-bottom: 15px
}

.form_wrapper .dental_form-tab.country .dental_form-city-message {
	display: none;
	width: 100%;
	margin-bottom: 20px;
}
.form_wrapper .dental_form-checkbox input[disabled] + label {
	opacity: 0.5;
	cursor: default;
}

.form_wrapper .dental_form-checkbox.share, .form_wrapper .dental_form-tab.second .dental_form-data.validation-phone .phone {
    width: 100%
}

.form_wrapper .dental_form-checkbox.share input {
    position: absolute;
}

@media screen and (max-width: 767px) {
    .form_wrapper .dental_form-checkbox {
        margin-bottom: 10px;
        width: 100%;
        -webkit-box-flex: 0;
        -webkit-flex: none;
        -ms-flex: none;
        flex: none
    }
}

.form_wrapper .dental_form-checkbox label {
    cursor: pointer;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: center;
    line-height: 1.5;
    padding-left: 48px;
    min-height: 38px
}

@media screen and (max-width: 575px) {
    .form_wrapper .dental_form-checkbox label {
        font-size: 14px
    }
}

.form_wrapper .dental_form-checkbox label::before {
    content: "";
    background-color: transparent;
    border: .5px solid #000;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    display: inline-block;
    position: absolute;
    left: 0;
	top: 42%;
    vertical-align: middle;
    cursor: pointer;
    /* margin-right: 10px; */
    width: 38px;
    height: 38px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
    border-radius: 7px;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
	transform: translateY(-47%);
}

@media screen and (max-width: 767px) {
    .form_wrapper .dental_form-checkbox label.terms {
        display: inline-block
    }
}

.form_wrapper .dental_form-checkbox input:checked + label::after {
    content: "";
    display: block;
    position: absolute;
    background-image: url(https://www.dentaly.org/wp-content/themes/generatepress-child/img/icons/check.svg);
    top: 47%;
    transform: translateY(-50%);
    left: 3px;
    background-repeat: no-repeat;
    background-size: contain;
    width: 32px;
    height: 32px
}

.form_wrapper .dental_form-tab {
    display: none;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 25px 50px;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.form_wrapper .dental_form-tab.first.option {
    display: flex;
}

.form_wrapper .dental_form-control .prevBtn {
    display: none;
}

.form_wrapper .dental_form-control .prevBtn.hide {
    display: none;
}

.form_wrapper .dental_form-control .prevBtn.show {
    display: inline;
}

@media screen and (max-width: 991px) {
    .form_wrapper .dental_form-tab {
        padding: 25px
    }
}

@media screen and (max-width: 575px) {
    .form_wrapper .dental_form-tab {
        padding: 15px
    }
}

.form_wrapper .dental_form-tab:nth-child(3) {
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.form_wrapper .dental_form-tab:nth-child(3) .dental_form-checkbox {
    width: 100%
}

.form_wrapper .dental_form-tab:nth-child(3) .dental_form-checkbox label {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    line-height: 1.5
}

.form_wrapper .dental_form-tab:nth-child(3) .dental_form-checkbox label a {
    display: contents
}

.form_wrapper .dental_form-tab:nth-child(3) .dental_form-checkbox.error-message {
    position: relative
}

.form_wrapper .dental_form-tab:nth-child(3) .dental_form-checkbox.error-message::after {
    position: absolute;
    content: "Sorry, we cannot process your request if you do not accept these terms.";
    color: red;
    font-size: 12px;
    font-family: "Baloo 2", sans-serif;
    bottom: -14px
}

.form_wrapper .dental_form-tab.uploads .dental_form-header {
    margin-bottom: 15px
}

.form_wrapper .dental_form-tab.vip {
    padding: 0
}

.form_wrapper .dental_form-tab.vip .dental_form-header {
    padding: 50px 50px 0
}

.form_wrapper .dental_form-tab.vip .dental_form-list {
    padding: 0 50px
}

.form_wrapper .dental_form-tab.second .dental_form-data.error, .form_wrapper .dental_form-tab.second .dental_form-data.validation-phone.value-correct .iti--allow-dropdown, .form_wrapper .dental_form-tab.second .dental_form-data.validation-phone.value-error .iti--allow-dropdown {
    position: relative
}

.dental_form-data.email-error::after, .form_wrapper .dental_form-tab.second .dental_form-data.error::after, .dental_form-data.email-valid::after {
    content: "Field is required";
    position: absolute;
    bottom: 25px;
    color: red;
    font-size: 12px;
    font-family: "Baloo 2", sans-serif
}

.form_wrapper .dental_form-data.email-error input {
    border-color: red;
}

.form_wrapper .dental_form-data input:invalid {
    border-color: red;
}

.form_wrapper .dental_form-tab.second .dental_form-data.error input, .form_wrapper .dental_form-tab.second .dental_form-data.validation-phone.value-error .iti--allow-dropdown .phone {
    border-bottom: 1px solid red
}

.form_wrapper .dental_form-tab.second .dental_form-data.validation-phone .iti--allow-dropdown::after {
    position: absolute;
    bottom: 25px;
    color: red;
    font-size: 12px;
    font-family: "Baloo 2", sans-serif;
    left: 0
}

.form_wrapper .dental_form-tab.second .dental_form-data.validation-phone.value-error .iti--allow-dropdown::after {
    content: "Invalid number"
}

.form_wrapper .iti.iti--allow-dropdown {
    width: 100%;
}

.form_wrapper .dental_form-tab.second .dental_form-data.validation-phone.value-correct .iti--allow-dropdown .phone {
    border-bottom: 1px solid green
}

.form_wrapper .dental_form-tab.second .dental_form-data.validation-phone.value-correct .iti--allow-dropdown::after {
    content: "Valid Number";
    color: green
}

.form_wrapper .dental_form-header {
    text-align: center;
    width: 100%;
    margin-bottom: 15px;
    font-weight: 400
}

.form_wrapper .dental_form h4 {
    color: #002357;
    font-weight: 700
}

.form_wrapper .dental_form-control, .form_wrapper .dental_form-data {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex
}

.form_wrapper .dental_form-control {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center
}

@media screen and (max-width: 575px) {
    .form_wrapper .dental_form-control {
        flex-direction: column;
    }

    #prevBtn {
        margin-bottom: 20px;
    }
}

.form_wrapper .dental_form-control button {
    margin: 0 auto
}

.form_wrapper .dental_form-data {
    width: 48%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-bottom: 15px
}

@media screen and (max-width: 575px) {
    .form_wrapper .dental_form-data {
        width: 100%
    }
}

.form_wrapper .dental_form-data input {
    outline: 0;
    border-bottom: 1px solid #000;
    padding: 5px 0;
    font-size: 14px
}

.form_wrapper .dental_form-data input.phone {
    padding-left: 52px;
}

.form_wrapper .dental_form-data label {
    margin-bottom: 10px;
    font-weight: 600
}

.form_wrapper .dental_form-data.message, .form_wrapper .dental_form-uploads .dentist_caption {
    width: 100%
}

.form_wrapper .dental_form-data.message textarea {
    min-height: 310px;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid;
    width: 100%;
    line-height: 1.3
}

.form_wrapper .dental_form-uploads {
    width: 100%;
    margin: 0 auto 25px;
    border: 1px solid #000;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 16px;
    padding: 30px 60px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between
}

@media screen and (max-width: 767px) {
    .form_wrapper .dental_form-uploads {
        -webkit-flex-wrap: unset;
        -ms-flex-wrap: unset;
        flex-wrap: unset;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: 25px
    }
}

.form_wrapper .dental_form-uploads-item {
    width: 30%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 25px
}

@media screen and (max-width: 767px) {
    .form_wrapper .dental_form-uploads-item {
        width: 100%
    }
}

.form_wrapper .dental_form-upload-btn {
    text-align: center;
    cursor: pointer;
    width: 100%;
    max-width: 200px;
    padding: 25px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #000;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 17px;
    font-size: 14px;
    color: #939393;
    text-transform: capitalize;
    -webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center
}

.form_wrapper .dental_form-upload-btn:hover {
    box-shadow: 0 10px 20px gray
}

@media screen and (max-width: 767px) {
    .form_wrapper .dental_form-upload-btn {
        max-width: 100%
    }
}

.form_wrapper .dental_form-upload-name {
    padding: 15px;
    display: block !important;
    display: -webkit-box;
    max-width: 200px;
    font-size: 14px;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis
}

.form_wrapper .dental_form-list {
    margin: 0 auto
}

.form_wrapper .dental_form-list li {
    padding-bottom: 25px
}

.form_wrapper .dental_form-content-vip {
    margin-bottom: 25px;
    padding: 50px;
    line-height: 2.5;
    position: relative;
    z-index: 2;
    background: #f2f4f7
}

.form_wrapper-successful {
    display: none
}

.form_wrapper-successful.block {
    display: block
}

@media screen and (max-width: 767px) {
    .form_wrapper-successful.block {
        padding: 0 15px
    }
}

.form_wrapper-success-heading {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    position: relative;
    margin-bottom: 0
}

@media screen and (max-width: 767px) {
    .form_wrapper-success-heading::before {
        display: none
    }
}

.form_wrapper-success-caption {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 10px 0;
    text-align: center
}

.form_wrapper-success-list {
    padding: 50px 0;
    background: #f2f4f7;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: start
}

.form_wrapper-success-list ul {
    list-style: none
}

.form_wrapper-success-list ul li {
    margin-bottom: 25px;
    position: relative;
    line-height: 1.7;
    font-size: 16px
}

@media screen and (max-width: 991px) {
    .form_wrapper-success-list ul li {
        font-size: 14px !important
    }
}

.form_wrapper-success-list ul li::before {
    background-image: url(../png/check-success.png);
    width: 25px;
    height: 25px;
    top: 50%;
    left: -50px;
    background-repeat: no-repeat
}

.form_wrapper.terms {
    display: none
}

.form_wrapper.terms.open {
    z-index: 5;
    display: block
}

.dental_form-data.email-error, .dental_popularity, .dental_form-data.email-valid {
    position: relative
}

.dental_form-data.email-error::after {
    content: "Invalid Email"
}

.dental_form-data.email-valid::after {
    color: green;
    content: "Valid Email"
}

.form_wrapper .dentist-learn-more {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    padding: 10px 50px;
    background: #F3BD05;
    border-radius: 50px;
    border: 2px solid #fff;
    color: #002357;
    text-decoration: none;
    box-shadow: 0 4px 4px rgb(0 0 0 / 25%);
    font-family: "Baloo 2", sans-serif;
    position: relative;
    z-index: 1;
    -webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    margin: 25px 0;
}

@media screen and (max-width: 575px) {
    .form_wrapper .dentist-learn-more {
        width: 90%;
        font-size: 18px;
        padding: 5px;
    }
}

.form_wrapper .dentist-learn-more:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.form_wrapper .dentist-learn-more:hover {
    opacity: .3;
}

.form_wrapper .dentist-learn-more.none {
    display: none;
}

div.form_wrapper button, div.form_wrapper input, div.form_wrapper optgroup, div.form_wrapper select, div.form_wrapper textarea {
    margin: 0;
    border: 0;
    font: inherit;
    color: inherit;
    border-radius: 0;
    text-transform: none;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none !important;
    background-clip: padding-box;
    background-color: transparent;
}

.form_wrapper .dental_form-tab.first input {
    position: absolute;
}

.dental_form-tab .heading_3 {
    color: #002357 !important;
}

.form_wrapper-success-heading.heading_3 {
    color: #002357 !important;
}

.form_wrapper .form_wrapper_logo {
    width: 100%;
    max-width: 40%;
}
