/*!
Theme Name: FMS - Ontario - MCCSS
Theme URI: http://underscores.me/
Author: Nauman Khan
Description: FMS theme for styles
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: fms
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/
@import 'assets/ontario-design-system/styles/ds-theme.min.css';

.wb-inv, .wb-invisible {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    margin: 0;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

#my-sticky-div {
    position: fixed;
    top: 152px; /* Adjust based on your needs */
    right: 15px;
    width: 30px; /* Adjust based on your needs */
    background-color: #f1f1f1; /* Adjust based on your needs */
    padding: 10px; /* Adjust based on your needs */
    z-index: 1000; /* Ensure it's above other content */
}

.styles {
    width: 30px;
    height: 30px;
    cursor: pointer;
}
.style-1 {
    background-color: #1a1a1a;
}
.style-2 {
    background-color: #1d4289;
}
.style-3 {
    background-color: #5dac9c;
}
.style-4 {
    background-color: #a4c639;
}

#header-results li:focus {
    outline: 2px solid blue; /* or any other focus style */
}


/* Optional: style for the focused item */
.grid-icons {
    width: 25px;
    height: 25px;
    
    background-size: cover !important; /* Ensures the image covers the button */
    background-position: center !important; /* Centers the image */
    background-repeat: no-repeat !important; /* Prevents the image from repeating */
    border: none !important; /* Removes any border */
    cursor: pointer !important; /* Changes the cursor to a pointer on hover */
    background-color: unset;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

.content-khan {
    flex: 1;
}

.img-radius {
    border-radius: 25%;
}

.home-heading {
    text-align: center;
    font-size: 5rem;
}

@media screen and (max-width: 640px) { /* Mobile view */
    .home-heading {
        font-size: 2rem;
    }
}

.back-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 16px;
    color: #00478F;
    margin-bottom: 15px;
}

.back-link .icon {
    width: 16px;
    height: 16px;
    margin-right: 0px;
}

.back-link:hover {
    color: #00478F;
    text-decoration: underline;
}

.row-doc {
    flex: 1; /* Equal height for both rows */
    display: flex;
    justify-content: left;
    align-items: left;
}
.row-modified {
    flex: 1; /* Equal height for both rows */
    display: flex;
    justify-content: right;
    align-items: right;
}

.modified {
    font-size: 12px;
}

a:focus {
    box-shadow: 0 0 0 2px #009adb !important;
    outline: 2px solid transparent !important;
}
.ontario-input:active, .ontario-input:focus {
    box-shadow: 0 0 0 2px #009adb !important;
    outline: 2px solid transparent !important;
}

.subscription-form {
    padding: 20px; 
    border: 1px solid #ccc; 
    border-radius: 8px; 
    max-width: 400px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    background-color: #f9f9f9;
}
.subscription-input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.subscription-button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 15px;
}

.error {
    border: 1px solid red;
    outline: 1px solid red;
}


/* Feedback box */
.feedback-box {
    border: 1px solid #ccc;
    padding: 0px 20px 20px 20px;
    background-color: #f9f9f9;
    /* max-width: 300px; */
    margin: 20px auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.feedback-box h1 {
    background-color: #1d4289;
    color: white;
    padding: 10px;
    text-align: center;
    margin: 2px -19px 20px -19px;
    font-size: 5rem;
}

.feedback-box p {
    font-size: 32px;
    color: #333;
    text-align: center;
    max-width: unset !important;
}

.feedback-box a {
    display: inline-block;
    text-align: center;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 32px;
}

.feedback-box a:hover, .feedback-box a:visited {
    background-color: #45a049;
    color: white;
    font-size: 32px;
}
