/*============CUSTOM FORM - 7FORM============*/
.custom-form {
    font-family: var(--font-family);
    font-weight: 400;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
}
.custom-form br {
	display: none;
}
.custom-form .col-12 {
	width: 100%;
}
.custom-form .col-6 {
	width: calc(50% - 10px);
}
.custom-form p {
	width: 100%;
	margin: 0;
}
.custom-form label {
	display: inline-block;
    direction: rtl;
    position: relative;
    width: 100%;
}
body .custom-form label {
	direction: ltr;
}
body.rtl .custom-form label {
	direction: rtl;
}
.custom-form .label-text {
	position: absolute;
    height: 20px;
    line-height: 20px;
    font-size: 14px;
    padding: 0 10px;
    top: calc(50% - 10px);
    transition: all 0.3s;
    z-index: 1;
	color: #aaa;
	border-radius: 100px;
}
body .custom-form .label-text {
    left: 10px;
}
body.rtl .custom-form .label-text {
	left: auto;
	right: 10px;
}
.custom-form label.focus .label-text {
	top: -10px;
    background-color: #E6EDF6;
	color: #000;
}
.custom-form label input,
.custom-form label textarea,
.custom-form label select {
	width: 100%;
    border: 2px solid #E6EDF6;
    background-color: #FAFCFF;
    color: var(--e-global-color-primary);
    padding: 10px 20px;
    min-height: 60px;
    border-radius: 10px;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 500;
    outline: none;
}
.custom-form label input::placeholder {
	font-weight: 300;
	font-size: 14px;
}
body.rtl .custom-form label select,
body.rtl .custom-form label input::placeholder,
body.rtl .custom-form label textarea::placeholder {
	text-align: right !important;
}
.custom-form input[type="submit"] {
	width: 100%;
    background-color: var(--e-global-color-primary);
    border: none;
    border-radius: 10px;
    color: #fff;
    height: 50px;
    font-family: var(--font-family);
}
.custom-form .wpcf7-spinner {
	position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #00000055;
    z-index: 2;
}
.custom-form .wpcf7-spinner::before {
	top: auto;
	bottom: auto;
	left: auto;
	right: auto;
}
.custom-form label.input-file span a.remove-file {
	display: inline-block;
	width: 30px;
	height: 30px;
	position: absolute;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='red' width='100%' height='100%' viewBox='0 0 512 512'><path d='m295.328 189.854-11.285 213.089c-.584 11.03 7.884 20.445 18.915 21.03.36.019.718.028 1.075.028 10.561 0 19.39-8.273 19.955-18.943l11.285-213.089c.584-11.03-7.884-20.445-18.915-21.03-11.023-.588-20.445 7.885-21.03 18.915zM195.642 170.939c-11.03.584-19.499 10-18.915 21.03l11.285 213.089c.565 10.671 9.394 18.943 19.955 18.943.356 0 .715-.009 1.075-.028 11.03-.584 19.499-10 18.915-21.03l-11.285-213.089c-.585-11.031-9.999-19.492-21.03-18.915z' /><path d='M443.534 82.911h-105.87v-1.334C337.665 36.595 301.069 0 256.088 0h-.176c-44.981 0-81.577 36.595-81.577 81.577v1.334H68.466c-11.046 0-20 8.954-20 20s8.954 20 20 20h6.481l16.594 313.32c2.25 42.487 37.34 75.769 79.888 75.769h169.143c42.547 0 77.638-33.282 79.887-75.758l.009-.173c.59-11.03-7.873-20.45-18.902-21.04-11.03-.584-20.45 7.873-21.04 18.902l-.01.185C379.391 455.359 361.845 472 340.571 472H171.429c-21.273 0-38.819-16.641-39.944-37.884l-16.481-311.205h281.993l-11.229 212.031c-.584 11.03 7.884 20.445 18.915 21.03 11.014.582 20.445-7.884 21.03-18.915l11.341-214.146h6.481c11.046 0 20-8.954 20-20s-8.955-20-20.001-20zm-229.199 0v-1.334c0-22.925 18.651-41.577 41.577-41.577h.176c22.925 0 41.577 18.651 41.577 41.577v1.334z' /></svg>");
	background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    top: 0;
    cursor: pointer;
}
body .custom-form label.input-file span a.remove-file {
	right: 10px;
}
body.rtl .custom-form label.input-file span a.remove-file {
	right: auto;
	left: 10px;
}

@media only screen and (max-width: 500px) {
    .custom-form .col-6 {
        width: 100%;
    }
}
