/*
Theme Name: imta-theme
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

.box-blog-post:hover {
	box-shadow: 0 14px 28px rgba(0, 0, 0, .25), 0 10px 10px rgba(0, 0, 0, .1);
	transform: translateY(-6px);
}
/* Container bọc ngoài form (nếu muốn chỉnh nền xanh như hình) */
.custom-contact-form {
    padding: 20px;
    margin: 0 auto;
}

.custom-contact-form input[type="text"],
.custom-contact-form input[type="tel"],
.custom-contact-form input[type="email"],
.custom-contact-form textarea {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    color: #333333;
    font-size: 15px;
    box-sizing: border-box;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Đổ bóng nhẹ phía dưới */
    outline: none;
    transition: all 0.3s ease;
}

/* Bo tròn cực đại cho các ô input một dòng */
.custom-contact-form input[type="text"],
.custom-contact-form input[type="tel"],
.custom-contact-form input[type="email"] {
    border-radius: 50px;
}

/* Bo tròn ít hơn cho ô nội dung (textarea) để giữ form đẹp */
.custom-contact-form textarea {
    border-radius: 20px;
    resize: vertical; /* Cho phép kéo giãn chiều cao nếu cần */
}

/* Chỉnh màu chữ placeholder mờ giống hình */
.custom-contact-form ::placeholder {
    color: #888888;
    opacity: 1;
}

/* Khi người dùng click chọn ô nhập liệu */
.custom-contact-form input:focus,
.custom-contact-form textarea:focus {
    border-color: #b0b0b0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Căn lề trái cho nút submit */
.custom-contact-form .form-submit-group {
    text-align: left;
    margin-top: 20px;
}

/* Định dạng nút "Gửi liên hệ" màu đỏ bo tròn */
.custom-contact-form input[type="submit"] {
    background-color: #c62828; /* Màu đỏ đô chuẩn */
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    padding: 0px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.1s ease;
}

/* Hiệu ứng khi rê chuột vào nút */
.custom-contact-form input[type="submit"]:hover {
    background-color: #b71c1c; /* Đỏ đậm hơn một chút khi hover */
}

/* Hiệu ứng khi click nút */
.custom-contact-form input[type="submit"]:active {
    transform: scale(0.98);
}

/* Ẩn các thông báo lỗi mặc định của CF7 nếu nó làm vỡ layout bo tròn */
.custom-contact-form .wpcf7-not-valid-tip {
    font-size: 13px;
    margin-top: 5px;
    padding-left: 15px;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}