/*
 Theme Name:   Astra Child
 Theme URI:    http://example.com/astra-child/
 Description:  Astra Child Theme
 Author:       Your Name
 Author URI:   http://example.com
 Template:     astra
 Version:      1.0.0
 Text Domain:  astra-child
*/

/* Theme customizations */

.ast-site-title-wrap {
    margin-right: 25px;
}

body, button, input, select, textarea, .ast-button, .ast-custom-button {
    line-height: 2;
}


/* styles for custom code */
.course-navigation {
    margin-top: 20px;
}

.course-navigation a {
    padding: 10px 15px;
    background-color: #0073aa;
    color: white;
    text-decoration: none;
    margin-right: 10px;
}

/* Add this to your sydney-child/style.css file */
.page-template-template-course #primary,
.page-template-template-course #secondary {
    width: auto !important;
}

.content-area {
    display: flex !important;
    flex-wrap: wrap;
}

.site-main {
    flex: 1;
    margin-left: 20px;
    /* Add some space between the main content and the sidebar */
}

.site-main h2 {
    margin-top: 20px;
}

.widget-area {
    width: 350px;
    /* Adjust the width of the sidebar as needed */
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget li {
    margin-bottom: 10px;
}

.widget li.active a {
    font-weight: bold;
    color: #0073aa;
    /* Change the color to highlight the active page */
}


.course-navigation a:hover {
    background-color: #005177;
}
.ast-header-break-point .site-main {
    margin-left: 0;
}
.ast-header-break-point .site-header {
    margin-bottom: 20px;
}
.ast-header-break-point .swqs-quiz-container
{
    padding: 30px 0 !important;
    border-radius: 0 !important;
}
.ast-header-break-point .swqs-quiz-container .swqs-section {
    padding: 15px !important;
    border-radius: 0 !important;
}
#ast-hf-mobile-menu ul {
    background-color: #f9f9f9 !important;
}
#ast-hf-mobile-menu a {
    background-color: transparent !important;
}
/* Custom native CSS for the navigation links, mimicking Astra's button style */
.astra-style-nav-button {
    display: inline-block;
    text-decoration: none;
    background-color: #0073e6;
    /* A common blue for primary buttons */
    color: #ffffff;
    font-weight: 600;
    /* Semi-bold */
    padding: 12px 24px;
    /* py-3 px-6 equivalent */
    border-radius: 8px;
    /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    transition: all 0.2s ease-in-out;
    border: none;
    /* Ensure no default button border */
    cursor: pointer;
    outline: none;
    /* Remove default focus outline */
}

.astra-style-nav-button:hover {
    background-color: #005bb5;
    /* Darker blue on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: #ffffff !important;
}

.astra-style-nav-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.astra-style-nav-button:focus {
    box-shadow: 0 0 0 3px rgba(0, 115, 230, 0.5);
    /* Focus ring */
}

/* Disable link styling */
.astra-style-nav-button.disabled {
    opacity: 0.6;
    pointer-events: none;
    /* Disable click events on disabled links */
    background-color: #e2e8f0;
    /* Light gray for disabled state */
    color: #64748b;
    /* Darker gray text */
    box-shadow: none;
    transform: none;
    cursor: not-allowed;
}