/* Theme Information */
/*
Theme Name: TT Basic
Theme URI: http://themetailor.co.za
Author: ThemeTailor
Author URI: http://themetailor.co.za
Description: Webanchor Boiler Plate Theme
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: themetailor
Tags: editor-style
*/

/* Reset */
body, h1, h2, h3, h4, h5, h6, p, ul, ol { margin: 0; padding: 0; }

body { background-color: #f5f5f5; color: #333; font-family: Arial, sans-serif; font-size: 16px; line-height: 1.5; margin: 0 auto; max-width: 1200px; }

#gform_wrapper_1 { max-width: 800px; margin: 100px auto 0; }

/* General Form Styles */
body .gform_wrapper {
    max-width: 600px; /* Sets the max width of the form */
    margin: 0 auto; /* Centers the form */
    padding: 20px;
  
}

/* Form Title and Description */
body .gform_wrapper .gform_heading {
    text-align: center;
}

body .gform_wrapper .gform_title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

body .gform_wrapper .gform_description {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

/* Form Fields */
body .gform_wrapper .gform_body {
    margin-bottom: 20px;
}

body .gform_wrapper .gfield_label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

body .gform_wrapper .ginput_container input[type="text"],
body .gform_wrapper .ginput_container input[type="email"],
body .gform_wrapper .ginput_container input[type="url"],
body .gform_wrapper .ginput_container input[type="tel"],
body .gform_wrapper .ginput_container input[type="number"],
body .gform_wrapper .ginput_container input[type="password"],
body .gform_wrapper .ginput_container textarea,
body .gform_wrapper .ginput_container select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.3s ease-in-out;
}

body .gform_wrapper .ginput_container input:focus,
body .gform_wrapper .ginput_container textarea:focus,
body .gform_wrapper .ginput_container select:focus {
    border-color: #0073aa; /* Change border color on focus */
    outline: none;
}

/* Submit Button */
body .gform_wrapper .gform_footer .gform_button {
    background-color: #3379be; /* Button background color */
    color: #fff; /* Text color */
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    display: inline-block;
    text-align: center;
	margin: 0 auto;
}

body .gform_wrapper .gform_footer .gform_button:hover {
    background-color: #005a87; /* Darker color on hover */
}

/* Error and Validation Styling */
body .gform_wrapper .validation_error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin-bottom: 20px;
}

body .gform_wrapper .gfield_error input,
body .gform_wrapper .gfield_error textarea,
body .gform_wrapper .gfield_error select {
    border-color: #dc3545; /* Red border for errors */
}

body .gform_wrapper .gfield_error .gfield_description {
    color: #dc3545;
}

/* Placeholder Styling */
body .gform_wrapper .ginput_container input::placeholder,
body .gform_wrapper .ginput_container textarea::placeholder {
    color: #999;
    opacity: 1;
}
