.contact_title {
    width: 100%;
    float: left;
    padding-top: 150px;
    padding-bottom: 20px;
}

@media (max-width: 991px) {
    .contact_title {
        padding-top: 110px;
    }
}

.contact-us__description {
    color: #7e7e7e !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

.contact-us__topic {
    background-color: #32000a;
    float: left;
    width: 100%;
}

@media (min-width: 992px) {
    .contact-us__topic {
        padding: 6rem 0 !important;
    }
}

.dg-heading-2 {
    font-weight: 900 !important;
}

.contact-us__topic {
    background-color: #32000a;
    float: left;
    width: 100%;
    margin: 3rem 0 0;
    transition: all .3s;
}

.contact-hedla-heading .contact-us__query {
    color: #ffffff !important;
    text-align: center;
    margin-top: 5px;
}

.contact-content {
    display: flex;
}

@media (max-width: 991px) {
    .contact-content {
        display: block;
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

.contact-us__query {
    opacity: 1;
}

.contact-us__dropdown, .contact-us__query {
    font-size: 36px;
}

@media (max-width: 991px) {
    .contact-us__dropdown, .contact-us__query {
        font-size: 32px;
    }   
}

@media (max-width: 767px) {
    .contact-us__dropdown, .contact-us__query {
        font-size: 22px;
    }   
}


/* @media (min-width: 1200px) {
    .contact-us__dropdown, .contact-us__query {
        font-size: 38px;
    }
}

@media (min-width: 1200px) {
    .contact-us__dropdown, .contact-us__query {
        font-size: 38px;
    }
} */

.contact-us__dropdown {
    z-index: 1;
    text-align: center;
    margin-left: 1rem;
    position: relative;
    padding-right: 0;
    color: #fff;
    border: none;
}

@media (max-width: 767px) {
    .contact-us__dropdown {
        margin-left: 0;
    }
}

select.contact-us_select {
    color: #ffffff;
    border: none;
    border-bottom: solid #ffffff;
    background-color: #5f434800;
}

.contact-us_select option {
    font-size: 20px;
    background-color: #32000A !important;
}

.contact-us__thank-you {
    min-height: 100vh;
    text-align: center;
    display: none;
}

.contact-us__thank-you h3 {
    color: #333;
    font-size: 3.25rem;
    line-height: 4.375rem;
    margin-bottom: 1rem;
}

.contact-us__thank-you p {
    font-size: 1.75rem;
    line-height: 2rem;
    color: #767676;
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1rem;
}

.contact-us__section-title_description {
    padding-top: 4rem;
}

.contact-us__section-title_description h2 {
    font-weight: 900 !important;
    color: #333333;
}

.contact-us__section-title_description-1 {
    padding-top: 4rem;
}

.contact-us__section-title_description-1 h2 {
    font-weight: 900 !important;
    color: #333333;
}

.contact-us__form h2 {
    font-size: 16px !important;
    line-height: 22px;
    opacity: .8;
}

.contact-us__form h2+p {
    font-size: 16px;
    line-height: 1.75rem;
    color: #333;
    opacity: .8;
    font-weight: 300;
}

.contact-us__section-title_description p {
    margin-bottom: 2rem !important;
}

.contact-us__section-title_description-1 p {
    margin-bottom: 2rem !important;
}

.contact-us__section-checkbox_group, .contact-us__section-radio_group {
    padding-bottom: 4rem;
    border-bottom: 1px solid #ccc;
}

/* @media (min-width: 768px) {
    .contact-us__form .checkbox {
        min-width: 260px;
        width: auto;
        margin-right: 3rem;
    }
} */

.contact-us__form .checkbox {
    position: relative;
    display: inline-flex;
    flex-direction: row;
    cursor: pointer;
    margin-bottom: 1rem;
    /* min-width: 260px;
    width: auto; */
    /* margin-right: 3rem; */
    font-size: 14px;
}

.contact-us__form {
    display: none;
}

input[type=checkbox], input[type=radio] {
    box-sizing: border-box;
    padding: 0;
}

.contact-us__form .checkbox input+span {
    width: 21px;
    height: 21px;
    margin-right: .5rem;
    color: #929292;
}

.contact-us__form .checkbox input+span:before {
    content: "";
    display: inline-block;
    width: 21px;
    height: 21px;
    border-radius: 100%;
    background: #fff;
    border: 1px solid #bababa;
}

.contact-us__form .checkbox input+span>i {
    position: absolute;
    left: 6.93px;
    top: 6.93px;
    font-size: .5rem;
    display: none;
    color: #fff;
}

.form-control {
    width: 100%;
    height: 52px;
    padding: .375rem .75rem;
    font-size: 14px !important;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.contact-us__form-standard-fields {
    padding-top: 1rem;
    margin-bottom: 3rem;
}

.contact-us__section-title_description {
    padding-top: 4rem;
/*     margin-bottom: 3rem; */
}

.contact-us__section-title_description-1 {
    padding-top: 4rem;
}

.form-control--hedla {
    border-radius: 0;
    height: 52px;
    color: #484848;
    padding: .475rem .75rem .375rem;
    transition: all .15s ease-in-out;
}

.form-control__select {
    appearance: none;
}

@media (min-width: 768px) {
    .contact-us__form .row>div+div {
        padding-left: 0;
    }
}

.form-group {
    margin-bottom: 1rem;
}

.form-control:disabled {
    background-color: #e9ecef;
    opacity: 1;
}

.contact-us__section-title_description-bottom {
    border-top: 1px solid #ccc;
    margin-top: 4rem !important;
}

.contact-us__terms {
/*     margin-top: 3rem; */
    font-size: 14px;
    line-height: 21px;
    color: rgba(51, 51, 51, .75);
}

.btn-primary.hedla-btn-green {
    text-align: center;
}

.contact-us__form .checkbox input:checked+span>i {
    display: inline-block;
}

.fa-check:before {
    content: "\f00c";
}

.contact-us__form .checkbox input:checked+span:before {
    background: #5f5f5f;
}

.contact-us__form .checkbox input+span:before {
    content: "";
    display: inline-block;
    width: 21px;
    height: 21px;
    border-radius: 100%;
    border: 1px solid #bababa;
}

.contact-us__dropdown-list-value {
    display: inline-block;
    border-bottom: 1px solid hsla(0, 0%, 100%, .7);
    cursor: pointer;
    padding-right: 30px;
    min-width: 300px;
}

.contact-us__dropdown i {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    pointer-events: none;
}

.contact-us__dropdown-list.active {
    opacity: 1;
    z-index: 1000;
    max-height: 1000px;
}

.contact-us__dropdown-list {
    padding: 0;
    margin: 0;
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    background: #fff;
    font-size: 1.5rem;
    line-height: 2rem;
    color: rgba(51, 51, 51, .75);
    max-height: 0;
    transition: all .3s;
    opacity: 0;
    overflow: hidden;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, .3);
    border: none;
}

.contact-us_select:focus-visible {
    outline: none;
}

.contact-us.complete .contact-us__form {
    display: none;
}

.contact-us__form .checkbox input {
    display: none;
}

.contact-us__form, {
    display: none;
}

textarea.form-control {
    height: 150px;
}

.wpcf7-list-item {
	margin: 0 !important;
}

/* ============================================ */
/* 
.wpcf7-list-item {
    width: 250px;
}

.wpcf7-list-item input {
    content: "";
    display: inline-block;
    width: 21px;
    height: 21px;
    border-radius: 100%;
    border: 1px solid #bababa;
}

..wpcf7-list-item > label > input[type=checkbox] + span {
	border-radius: 100% !important;
	width: 21px !important;
    height: 21px !important;
}

.wpcf7-form .wpcf7-checkbox input[type=checkbox]:checked {
  	accent-color: green;
} */

/* Style for round checkboxes in Contact Form 7 */
.wpcf7-list-item input[type="checkbox"] {
    width: 22px;
    height: 22px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #ccc;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
}

.wpcf7-list-item input[type="checkbox"]:checked {
    background-color: #5f5f5f; /* Your desired color for checked state */
    border-color: #5f5f5f;
}

.wpcf7-list-item input[type="checkbox"]:checked::before {
    content: '';
    display: block;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    position: absolute;
    top: 3px; /* Adjust if needed */
    left: 7px; /* Adjust if needed */
}

/* Ensure the checkbox container uses grid layout */
.wpcf7-checkbox {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Creates two equal columns */
    gap: 5px; /* Adjust space between items */
}

.wpcf7-list-item {
    margin-bottom: 0; /* Remove extra spacing if necessary */
}

/* Stack checkboxes in a single column on smaller screens */
@media (max-width: 768px) {
    .wpcf7-checkbox {
        grid-template-columns: 1fr; /* Single column */
    }
}

/* Set font size for checkbox labels */
.wpcf7-list-item-label {
    font-size: 14px; /* Set your desired font size */
}

.wpcf7-list-item-label {
    margin-left: 6px; /* Space between checkbox and label */
	position: relative;
	top: -5px; /* Manually adjust label position */
}





@media (max-width: 768px) {
    .contact-us__section-checkbox_group label {
        display: flex;
        align-items: flex-start; /* Aligns the checkbox and label text at the top */
        margin-bottom: 10px; /* Space between each checkbox and option */
        width: 100%; /* Full width on mobile devices */
		flex-wrap: nowrap; /* Prevents checkbox and label from wrapping */
    }

    .contact-us__section-checkbox_group input[type="checkbox"] {
        margin-right: 10px; /* Space between checkbox and the label */
		flex-shrink: 0; /* Prevents checkbox from shrinking */
    }
	
	.wpcf7-list-item-label {
		top: -3px !important; /* Manually adjust label position */
		flex-grow: 1; /* Allows the label to take up remaining space */
	}


    .contact-us__section-checkbox_group {
        display: block; /* Block layout for full width on mobile */
    }
}





.contact-us__terms {
    display: flex; /* Use flexbox for layout */
    align-items: flex-start; /* Aligns the checkbox and label text at the top */
    flex-wrap: nowrap; /* Prevents wrapping */
}

.contact-us__terms label {
    display: flex; /* Maintain flex display for the label */
    align-items: flex-start; /* Aligns the checkbox and label text at the top */
    width: 100%; /* Ensures full width usage */
}

.contact-us__terms input[type="checkbox"] {
    margin-right: 10px; /* Space between checkbox and the label */
    flex-shrink: 0; /* Prevents checkbox from shrinking */
}

/* Adjustments for mobile screens */
@media (max-width: 768px) {
    .contact-us__terms {
        display: flex; /* Flexbox for layout */
        flex-wrap: nowrap; /* Prevents wrapping on small screens */
        width: 100%; /* Full width for the section */
    }

    .contact-us__terms label {
        width: auto; /* Automatic width for the label */
    }
}




.btn-primary:disabled {
	background-color: #df0212 !important;
	opacity: 1 !important;
}


/* Target Contact Form 7 dropdown specifically */
.wpcf7 select {
    line-height: normal !important;
    display: inline-block;
}

/* .details_container {
	margin-bottom: 50px;
} */


/* ============================================================================================= */



/* .dropdown-section {
            display: none;
            margin-top: 20px;
        } */

/* ============================================================================================= */

/* ========================================Thank You Contact===================================================== */

#thank-you-contact {
	margin-top: 150px;
    margin-bottom: 100px;
	padding-top: 100px;
    padding-bottom: 100px;
}

.th-heading {
	font-family: "Raleway", sans-serif;
	font-weight: 900;
	color: #292929;
	font-size: 36px;
}

.th-para {
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	color: #292929;
	line-height: 1.6;
	margin-bottom: 20px;
}

.th-para-last {
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	color: #292929;
	line-height: 1.6;
}













