@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* Colors */
:root {
    --primary-blue: #BFDEE5;
    --link-blue: #001861;
    --accent-tan: #CFB673;
    --white: #ffffff;
    --black: #000000;
    --light-gray: #f2f2f2;
    --link-purple: #4400AA;
	--primary-purple: #4400AA;
}

/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--black);
    background-color: var(--white);
    line-height: 1.6;
    padding: 0 1rem;
}


table {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px; /* Adjust the size as needed */
    width: 100%; /* Make the table full width */
}

th {
    font-size: 11px; /* Slightly larger font size for headers */
}

td {
    padding: 8px; /* Add some padding for better readability */
}

.class_link {
    color: #4400AA;
	font-size: 1rem;
    text-decoration: underline;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}


/* General link styles */
a {
    color: #000000;
	font-size: 1rem;
    text-decoration: underline;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

/* Hover state for links */
a:hover {
    color: var(--accent-tan);
    text-decoration: underline;
}

/* Visited link state */
a:visited {
    color: var(--link-purple);
}

/* Active link state */
a:active {
    color: var(--accent-tan);
}

/* Additional styles for different contexts */
a.button-link {
    background-color: var(--accent-tan);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: inline-block;
    text-transform: uppercase;
   }

a.button-link:hover {
    background-color: var(--primary-purple);
	color: var(--white);
}

.even-row {
    background-color: #fff;
}

.odd-row {
    background-color: #f0f0f0;
}

.online {
    background-color: #e0e0e0; /* Different color or style for online classes */
    /* Optionally, you can hide the row content for online classes */
}

.menu-container {
    white-space: nowrap; /* Prevents wrapping */
}
       .coursebtn {
            background: none; 
            border: 0px; 
            border: none; 
            border-color:ffffff;
            color: 4400AA; 
            text-decoration: underline; 
            cursor: pointer;
            padding: 0; 
            
        }
         a.coursebtn {
            background: none; 
            border: none; 
            color: 4400AA; 
            text-decoration: underline; 
            cursor: pointer;
            padding: 0; 
            font-size: 11px;
        }

        .coursebtn:hover {
            color: #4400AA; /* Change color on hover */
            text-decoration: underline; /* Ensure underline on hover */
        }

        .coursebtn:focus {
            outline: none; /* Remove default focus outline */
        }

.nextform {
    padding: 0; /* Remove padding from the form itself */
    margin: 0; /* Optionally remove margin if needed */
}

.cform {
    color:4400AA;
    padding: 0; /* Remove padding from the form itself */
    margin: 0; /* Optionally remove margin if needed */
    background: none; /* Remove background */
    box-shadow: none;
    border: none; 
    }

.cform input,
.cform textarea,
.cform button {
    padding: 0; /* Remove padding from form elements */
    margin: 0; /* Optionally remove margin if needed */
    border: none; /* Optional: Remove border */
    box-sizing: border-box; /* Ensure padding and border are included in width/height calculations */
}




/* Typography */
h1, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0rem;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
	font-weight: bold;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0rem;
    font-size: 1rem;
}


p {
    margin-bottom: 1.5rem;
}
p.noteAlt

     {
     	background-color: #ffeaec;
     	background-image: url(icons/alert.png);
     	background-position: 4px 4px;
     	background-repeat: no-repeat;
        font-weight:bold;
     	border-left: solid 4px #FF0000;
     	line-height: 18px;
     	overflow: hidden;
     	padding: 15px 60px;
     	vertical-align: middle;
     }


/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0rem 0;
}

 .scontainer {
            display: flex;
            flex-wrap: wrap;
        }
        .sbox {
            flex: 1;
            min-width: 200px;
            margin: 10px;
            background-color: white;
            padding: 20px;
        }
        
        

/* Header */
header {
    background-color: var(--white);
    padding: 1rem 0;
    margin-bottom: .5rem;
    text-align: center;
}

header h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--black);
}

.nav-container {
    background-color: var(--white);
    border: 2px solid var(--light-gray);
    padding: .25rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.nav-container nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-container nav a {
    color: var(--black);
    text-decoration: none;
    margin: 0 1rem;
    padding: 0.5rem 1rem;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 1rem;
}

//.nav-container nav .login {
//    border-bottom: 2px solid var(--accent-tan);
//}

.nav-container nav a:hover {
   font-weight: bold;
}

/* Hamburger Menu */
.nav-container .hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--black);
    background: none;
    border: none;
}

.nav-container .hamburger:focus {
    outline: none;
}

.nav-container .nav-links {
    display: flex;
}

.nav-container .nav-links a {
    display: block;
}

/* Hero Section */
.hero {
    background: url('img/course-main-image.png') no-repeat center center/cover;
    padding: 4rem 0;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.hero button {
    background-color: var(--accent-tan);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    border-radius: 4px;
}

.hero button:hover {
    background-color: var(--primary-purple);
}

/* Main Content */
main {
    background-color: var(--white);
    padding: 2rem;
    border: 1px solid var(--primary-purple);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    flex: 1;
}

/* Full-width Section */
.full-width-section {
    width: 100%;
    background-color: var(--white);
}

/* Section Headers */
.section-header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 2rem;
}

.section-header {
    background-color: var(--white);
    border: 2px solid var(--light-gray);
    padding: 1rem 5rem;
    text-align: center;
    z-index: 1;
    display: inline-block;
    position: relative;
}

.section-header h3 {
    margin: 0;
    font-size: 1rem;
    position: relative;
}

.section-header-container::before,
.section-header-container::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 100px);
    height: 2px;
    background-color: var(--light-gray);
    z-index: 0;
}

.section-header-container::before {
    left: 0;
}

.section-header-container::after {
    right: 0;
}

.section-header-line-top,
.section-header-line-bottom {
    position: absolute;
    width: 2px;
    height: 50px;
    background-color: var(--light-gray);
    top: 50%;
}



/* Course Boxes */
.course-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.course-box {
    background-color: var(--white);
    color: var(--black);
    border: 2px solid var(--light-gray);
    padding: 2rem;
    text-align: center;
    flex: 1;
    margin: 0 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 250px;
}

.course-box img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.course-box h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.course-box p {
    margin-bottom: 1.5rem;
}

.course-box button {
    background-color: var(--accent-tan);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight:bold;
    transition: background-color 0.3s ease;
    border-radius: 4px;
}

.course-box:hover {
    background-color: var(--white);
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.course-box:hover button {
    background-color: var(--primary-purple);
}
.course-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.course-actions .button {
    background-color:  var(--primary-purple);
    color: gold;
    padding: 5px 15px;
    text-decoration: none;
    border-radius: 0px;
    margin-right: 20px; /* Add space between the button and the price */
}

.course-actions .course-price {
    font-size: 1.2em;
    color: #333;
}


button.no {
    background-color: #e0e0e0;
    color: #a0a0a0;
    cursor: not-allowed;
}

.course-box.unavailable {
    filter: grayscale(100%);
    opacity: 0.5;
    pointer-events: none;
}

.course-box.unavailable button {
    background-color: #e0e0e0;
    color: #a0a0a0;
    cursor: not-allowed;
}

/* Footer */
footer {
    background-color: var(--white);
    padding: 1rem 0;
    border-top: 1px solid var(--light-gray);
    text-align: center;
    margin-top: 2rem;
    flex-shrink: 0;
}

footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .course-boxes {
        flex-direction: column;
        align-items: center;
    }

    .course-box {
        margin: 1rem 0;
        width: 100%;
    }

    .nav-container nav {
        display: none;
        flex-direction: column;
        align-items: center;
    }

    .nav-container .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .nav-container .nav-links a {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }

    .nav-container .hamburger {
        display: block;
    }

    .nav-container .hamburger.active + .nav-links {
        display: flex;
    }
}

@media (max-width: 600px) {
    form {
        padding: 10px;
    }
}

/* Button */
.button {
    background-color: var(--accent-tan);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight:bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border-radius: 4px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    margin-top: 1rem;
}

.button:hover {
    background-color: var(--primary-purple);
    transform: translateY(-2px);
    text-decoration: none;
}

.button:active {
    transform: translateY(0);
    text-decoration: none;
}

.button.no {
    background-color: #e0e0e0;
    color: #a0a0a0;
    cursor: not-allowed;
}

/* Additional Button Sizes */
.button.small {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.button.large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.video-container {
    text-align: center;
    margin-bottom: 2rem;
}

.video-container h3 {
    margin-bottom: 1rem;
}

.video-container video {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
}

.qform {
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    background-color: var(--white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.qform div {
    margin-bottom: 1rem;
}

.qform label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.qform input,
.qform textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
}

.qinput[type="text"],
.qinput[type="email"],
.qtextarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.qform button {
    background-color: var(--primary-purple);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight:bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border-radius: 4px;
}

.qform button:hover {
    background-color: var(--accent-tan);
    text-decoration: none;
}

