.hiveform-contact-form {
	margin-bottom: 0px !important;
}

.control-background {
    background-color: #F5F6FA;
    padding: 24px 32px;
    border-radius: 4px;
}

.contact-form-field {
    padding: 5px 0;
    display: flex;
    flex-direction: column;
}

.g-recaptcha {
    padding-bottom: 10px;
}

.contact-form-flexed input, .contact-form-flexed textarea, .contact-form-flexed select {
    width: 100%;
    background-color: #ffffff !important;
}

.contact-form-field label {
    font-size: 12px;
    color: #666666;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-form-flexed input, .contact-form-flexed textarea, .contact-form-field select {
    border: 1px solid #C4C9D9 !important;
}

.contact-form-flexed input, .contact-form-field select {
    height: 43px;
    background: #ffffff;
}

.contact-form-flex-recaptcha {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
	margin-top: 20px;
}

.contact-form-submit {
    padding: 15px 50px !important;
    color: white;
    font-weight: 500;
    text-align: center;
    float: right;
    cursor: pointer;
    transition: 0.8s ease;
    line-height: 1 !important;
    border: 2px solid white !important;
    font-size: 14px !important;
    min-width: 150px;
    background: #F29C27;
}

.contact-form-submit:hover {
	    background-color: #1DAA73 !important;
}
.contact-form-submit:hover {
    color: #971b1b ;
    background: #fff ;
}

form.hide-form {
    display: none;
}

.validation-message {
    background: #b8ffb8;
    padding: 10px 49px;
    border: 1px solid #17ff17;
}

.validation-error, .error {
    font-size: 14px;
    color: #ff3434;
}

input.error {
    border: 1px solid #ff3434 !important;
}

.success-message {
    font-size: 14px;
    color: white;
    font-weight: 800;
    background:green;
    padding:3px 10px;
}

.error-messages {
    font-size: 14px;
    color: white;
    font-weight: 800;
    background:red;
    padding:3px 10px;
}

.error-message {
    color:red;
    font-size: 13px;
}

input::placeholder, textarea::placeholder {
    color: #B8B8B8;
    font-size: 14px;
	font-weight:400;
    padding-left:10px;
	
}

.contact-form-pair {
    display: flex;
    gap: 40px;
    margin-bottom: 15px;
}

.contact-form-pair .contact-form-field {
    flex: 1;
    margin-bottom: 0;
}

.map-dist .kt-row-column-wrap{
    align-content: end;
}
/***********/

.contact-form-field input, .contact-form-field textarea {
    width: 100%;
    box-sizing: border-box;
    color: #666666 !important;
    font-size: 14px;
    font-weight: 400;
    padding-left: 10px;
    border-radius: 8px !important;
    /* border: solid 1px #238E69 !important; */
    line-height: 2.5;
}

/* Style the icon */
.contact-form-field .form-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 20px; /* Adjust icon size */
    height: 20px;
}

/* Error messages */
.error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

.error {
    border-color: red;
}

/* .correct {
    border-color: green;
} */

/* Responsive layout */
@media (max-width: 768px) {
    .contact-form-pair {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-form-pair .contact-form-field {
        width: 100%;
    }
}

@media (max-width: 1051px) {
}

@media (max-width: 800px) {
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 3fr; 
    gap: 20px;
}

.category-sidebar {
    background-color: #F5F6FA;
    padding: 20px;
    border-radius: 4px;
}

.category-sidebar .category-title {
    font-size: 18px;
    font-weight: bold;
    color: #003B54;
    margin-bottom: 10px;
}

.category-sidebar .category-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.category-sidebar .category-item {
    margin-bottom: 10px;
}

.category-sidebar .category-item a {
    text-decoration: none;
    color: #003B54; 
    font-size: 16px;
    transition: 0.3s ease;
}

.category-sidebar .category-item a:hover {
    color: #FF0000;
}

@media screen and (max-width: 1028px) {
    .content-layout {
        grid-template-columns: 1fr;
    }
    .category-sidebar {
        margin-top: 20px;
    }
}

/* Style the custom fields */
.custom-field {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
}

.custom-field input[type="text"],
.custom-field select {
    margin-right: 10px;
}

.custom-field button.remove-field {
    margin-left: auto;
}

/* Success and error messages */
#form-messages {
    margin-bottom: 20px;
}

.success-message {
    padding: 10px;
    background-color: #d4edda;
    color: #155724;
    border-radius: 4px;
}

.error-messages {
    padding: 10px;
    background-color: #f8d7da;
    color: #721c24;
    border-radius: 4px;
}

.error-message {
    font-size: 0.9em;
    margin-top: 5px;
}

/* Loading indicator */
.loading-indicator {
    text-align: center;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    border-radius: 4px;
}

/* Admin styles for custom repeater fields */
#custom-repeater-fields {
    margin-bottom: 20px;
}

/* Admin Options Page Styles for Custom Fields */
.hiveform-form-nav {
    margin-bottom: 20px;
    padding: 10px;
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
}

.custom-field {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.custom-field input[type="text"],
.custom-field select {
    min-width: 150px;
}

.custom-field label {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.remove-field {
    background-color: #dc3232 !important;
    border-color: #dc3232 !important;
    color: white !important;
}

.remove-field:hover {
    background-color: #a00 !important;
    border-color: #a00 !important;
}

/* Radio and Checkbox Styles */
.radio-group, .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;
}

.radio-option, .checkbox-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal !important;
}

.radio-option label, .checkbox-option label {
    margin: 0;
    font-weight: normal;
}

.radio-option input[type="radio"], 
.checkbox-option input[type="checkbox"] {
    margin: 0;
    width: auto; /* Override default width for inputs */
}

/* Range Slider Styles */
.range-container {
    display: flex;
}

/* Custom File Upload Button */
.file-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 3px;
	flex-wrap: wrap;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.custom-file-upload {
    display: inline-block;
    padding: 7px 25px;
    cursor: pointer;
    background-color: #1DAA73;
    color: white !important;
    border-radius: 50px;
    transition: background-color 0.3s;
    font-weight: 400 !important;
    font-size: 12px !important;
}

.custom-file-upload:hover {
    background-color: #FD4D40;
}

.file-name {
    font-size: 14px;
    color: #555;
}

.field-selectionnez-le-type-de-media {
    background: white;
    max-width: 320px;
    padding: 20px 40px;
    border-radius: 10px;
    border: 1px solid #66666670;
}
.recaptcha-scale {
  transform: scale(0.85); /* Change value as needed: 0.7, 0.5, etc. */

  overflow: hidden;
}

:lang(ar) .rc-anchor-checkbox-label {
		font-family: 'Cairo', sans-serif;
	}
@media (max-width: 480px) {
    .contact-form-flex-recaptcha {
        justify-content: center;
    }
}