@charset "UTF-8";
/***************************************
	Theme Name: Sahifa Child
	Theme URI: http://themes.tielabs.com/sahifa/
	Description: Sahifa Child Theme
	Author: TieLabs
	Author URI: http://tielabs.com/
	Template: sahifa
	Version: 5.8.2
	License: license purchased
	License URI: http://themeforest.net/licenses/regular_extended

	Tags: two-columns, fluid-layout, fixed-layout, custom-background, threaded-comments, translation-ready, custom-menu
***************************************/

/* Number to Words Results Styles */
.number-to-words-results { 
    font-size: 16px; 
}
.number-to-words-results ul { 
    padding-left: 20px; 
    list-style-type: disc; 
}
.number-to-words-results li { 
    margin-bottom: 8px; 
}
.number-to-words-results li strong { 
    font-weight: bold; 
}

/* Reset any margins for the form elements */
.form-container input[type="text"], .form-container input[type="submit"] {
    margin: 0;
    padding: 10px; /* Adjust padding as needed */
    border: 1px solid #ccc; /* Adjust border as needed */
    height: 40px; /* Use a fixed height for more control */
}

/* General styles for the form container */
.form-container form {
    display: flex;
    align-items: center;
    width: 100%; /* Full width for mobile */
    max-width: 600px; /* Maximum width for desktop */
    margin: 0 auto; /* Center the form on the page */
	margin-bottom: 20px;
}

/* Style adjustments for the text input */
.form-container input[type="text"] {
    flex-grow: 1; /* Allows the text input to take available space */
    margin-right: -4px; /* Adjust if there is a gap between input and button */
    padding: 10px;
    border: 1px solid #ccc;
}

/* Style adjustments for the submit button */
.form-container input[type="submit"] {
    padding: 10px;
    background-color: #f90;
    border: 1px solid #ccc;
    color: #fff;
    cursor: pointer;
}

/* Responsive styles for mobile devices */
@media (max-width: 480px) { /* Mobile devices */
    .form-container form {
        flex-direction: column;
    }
    .form-container input[type="text"],
    .form-container input[type="submit"] {
        width: 100% !important; /* Full width on mobile */
        box-sizing: border-box; /* Include padding and border in the element's total width */
        margin-right: 0;
        margin-bottom: 10px; /* Add some space between the input and the button */
    }
}

/* Responsive styles for tablets */
@media (min-width: 481px) and (max-width: 768px) { /* Tablets */
    .form-container form {
        flex-direction: row; /* Side by side on tablet */
    }
    .form-container input[type="text"] {
        width: calc(100% - 110px); /* Adjust width based on the button width */
    }
    .form-container input[type="submit"] {
        width: 100px; /* Fixed width for the button on tablet */
        margin-left: 10px; /* Add some space between the input and the button */
    }
}

/* Custom Heading Styles Inspired by Elementor, with Centering and Responsiveness */
.results-container h1 {
    padding: 0;
    margin: 0 0 20px 0; /* Adds some space below the heading */
    line-height: 1.2; /* Adjust for readability */
    font-size: 29px; /* Starting font size for larger screens */
    color: #333; /* Adjust the color as needed */
    text-align: center; /* Centers the heading text */
	line-height: 1.7;

    /* Responsive font size for smaller devices */
    @media (max-width: 768px) { /* Adjusts font size for tablets */
        font-size: 24px; /* Slightly smaller font size for tablets */
    }

    @media (max-width: 480px) { /* Adjusts font size for mobile */
        font-size: 20px; /* Even smaller font size for better mobile readability */
    }
}

/* Custom Paragraph Styles Similar to Elementor's Text Editor */
.results-container .underh1tag {
    color: #69727d; /* Elementor's color for drop cap, used here for regular text */
    font-size: 18px; /* Adjust the font size as needed */
    line-height: 1.6; /* Line height for better readability */
    text-align: center; /* Center the text */
    margin-top: 0.5em; /* Space after the H1 tag */
    margin-bottom: 1em; /* Space before the list */
    /* Additional styles can be added here if needed */
}

/* Responsive adjustments for the paragraph text */
@media (max-width: 768px) {
    .results-container .underh1tag {
        font-size: 16px; /* Slightly smaller font size for tablets */
    }
}

@media (max-width: 480px) {
    .results-container .underh1tag {
        font-size: 15px; /* Even smaller font size for mobile phones */
    }
}

/* Adjustments for tablets to desktop transition */
@media (min-width: 769px) { /* Desktop and above */
    .form-container form {
        flex-direction: row;
    }
    .form-container input[type="text"] {
        width: auto; /* Auto width for desktop */
    }
    .form-container input[type="submit"] {
        width: auto; /* Auto width for desktop */
    }
}

/* styles for number-to-words-output.php*/
.number-words-output .number-words-title {
    font-size: 18px; /* Smaller than h1 but still prominent */
    font-weight: bold; /* Make it stand out */
    margin-top: 20px; /* Spacing before the title */
    margin-bottom: 5px; /* Spacing after the title */
    color: #333;
}

.number-words-output .number-words-result {
    font-size: 16px; /* Optimal for reading */
    margin-bottom: 15px; /* Spacing after the result */
}

@media (max-width: 768px) {
    /* Responsive font sizes for smaller devices */
    .number-words-output .number-words-title {
        font-size: 16px; /* Adjust for tablets */
    }
    .number-words-output .number-words-result {
        font-size: 14px; /* Adjust for tablets */
    }
}

@media (max-width: 480px) {
    /* Responsive font sizes for mobile phones */
    .number-words-output .number-words-title,
    .number-words-output .number-words-result {
        font-size: 14px; /* Adjust for mobile phones */
    }
}

/* Link container styles */
.one_half,
.one_half.last {
    font-size: 16px; /* Adjust the font size as needed */
    line-height: 1.6; /* Adjust line height for readability */
    margin-bottom: 20px; /* Space between the last link and any content that follows */
}

/* Link styles */
.one_half a,
.one_half.last a,
.one_half .likelink,
.one_half.last .likelink {
    display: block; /* Each link will be on its own line */
    color: #1a0dab; /* Standard link color, adjust as needed */
    text-decoration: none; /* Removes underline from links; add if desired */
    margin-bottom: 10px; /* Space between links */
    transition: color 0.3s ease; /* Smooth color transition for hover effect */
}

/* Link hover styles */
.one_half a:hover,
.one_half.last a:hover {
    color: #dd4b39; /* Color when hovering, adjust as needed */
    text-decoration: underline; /* Adds underline on hover */
}

.cat-box-title h2 {
    font-size: 22px !important;
    font-family: BebasNeueRegular, arial, Georgia, serif !important;
    margin-top:0px !important;
    color: #333;
}

/* FAQ Section Styles */
.faq-section {
    font-family: Arial, sans-serif; /* Adjust to match your site's font */
    margin-bottom: 20px;
}

.faq-section .faq-question,
.faq-section .faq-answer {
    margin-bottom: 15px;
}

.faq-section h3, .cat-box-content h3 {
    color: #333; /* Dark text for the question */
    font-size: 18px; /* Slightly smaller than h1, adjust as needed */
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.faq-section p, .cat-box-content p {
    color: #333; /* Lighter text for the answer */
    font-size: 16px; /* Readable text size for answers */
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.8; /* Spacing for readability */
}

/* If you have hover effects or other interactive styles, you can add them here */
.faq-section a:hover {
    text-decoration: underline; /* Example hover effect */
}

/* Responsive styles */
@media (max-width: 768px) {
    .faq-section h3, .cat-box-content h3 {
        font-size: 16px; /* Smaller font size for tablets */
        margin-top: 15px;
        margin-bottom: 8px;
    }

    .faq-section p, .cat-box-content p {
        font-size: 14px; /* Smaller font size for answers */
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .faq-section h3, .cat-box-content h3 {
        font-size: 15px; /* Even smaller font size for smartphones */
        margin-top: 10px;
        margin-bottom: 5px;
    }

    .faq-section p, .cat-box-content p {
        font-size: 13px; /* Adjust for readability on small screens */
        margin-bottom: 10px;
    }
}

.cat-box-content ul, .cat-box-content ol {
    list-style-type: none; /* Remove default list styling */
    padding-left: 0; /* Remove padding */
    margin-left: 0; /* Align with the content area */
}

.cat-box-content ul li, .cat-box-content ol li {
    background: #f9f9f9; /* Light background for each item */
    border: 1px solid #ddd; /* Border around each item */
    padding: 10px 15px; /* Spacing within each item */
    margin-bottom: 10px; /* Space between items */
    border-radius: 5px; /* Rounded corners for the border */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Subtle shadow for depth */
    width: auto;
    float:none;
    color:#333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cat-box-content ul li, .cat-box-content ol li {
        padding: 8px 12px; /* Slightly less padding on smaller screens */
    }
}

.factor-table {
    border-collapse: collapse;
    width: 300px;  /* Adjust width as needed */
    margin: 20px auto;
  }
  
  .factor-row {
    display: flex;
    border-bottom: 1px solid #ccc;
    padding: 5px;
  }
  
  .factor-divisor,
  .factor-result {
    flex: 1;
    text-align: center;
  }
  
  .factor-divisor {
    font-weight: bold;
  }
  






