/*
Theme Name: EGSolutions Custom Theme
Theme URI: https://www.egsolutions.com.au/
Author: EGSolutions
Author URI: https://www.egsolutions.com.au/
Description: A modern, corporate and creative WordPress theme built with Bootstrap 5. Features a clean, professional design with simple header and footer. Perfect for educational platforms, corporate websites, and creative portfolios. Fully responsive and mobile-first.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, two-columns, left-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: egsolutions-custom

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

@import "assets/css/qmbootstrap.css";

/* Professional Header Styles */
.main-header {
	position: sticky;
	top: 0;
	z-index: 1030;
	background: #fff;
	transition: all 0.3s ease;
}

.main-header .navbar {
	padding: 1.5rem 0;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
	min-height: 100px;
	align-items: center;
}

.main-header .navbar-brand {
	padding: 0;
	margin-right: 2rem;
	text-decoration: none;
	transition: transform 0.3s ease;
}

.main-header .navbar-brand:hover {
	transform: scale(1.02);
}

.main-header .site-logo {
	max-height: 150px;
	min-height: 100px;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}

.main-header .brand-text {
	font-size: 1.75rem;
	background: linear-gradient(135deg, #0d6efd 0%, #6f42c1 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	letter-spacing: -0.5px;
}

/* Professional Navigation Styles */
.main-header .navbar-nav {
	gap: 0.25rem;
}

.main-header .navbar-nav .menu-item {
	list-style: none;
	margin: 0;
}

.main-header .navbar-nav .menu-item a {
	color: #2c3e50;
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.75rem 1.5rem !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	border-radius: 8px;
	text-decoration: none;
	display: block;
	letter-spacing: 0.2px;
}

.main-header .navbar-nav .menu-item a::before {
	content: '';
	position: absolute;
	bottom: 0.5rem;
	left: 50%;
	width: 0;
	height: 3px;
	background: linear-gradient(90deg, #0d6efd, #6f42c1);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	transform: translateX(-50%);
	border-radius: 3px;
	opacity: 0;
}

.main-header .navbar-nav .menu-item a:hover {
	color: #0d6efd;
	background-color: rgba(13, 110, 253, 0.08);
	transform: translateY(-1px);
}

.main-header .navbar-nav .menu-item a:hover::before {
	width: 80%;
	opacity: 1;
}

.main-header .navbar-nav .menu-item.current-menu-item > a,
.main-header .navbar-nav .menu-item.current_page_item > a {
	color: #0d6efd;
	background-color: rgba(13, 110, 253, 0.1);
	font-weight: 700;
}

.main-header .navbar-nav .menu-item.current-menu-item > a::before,
.main-header .navbar-nav .menu-item.current_page_item > a::before {
	width: 80%;
	opacity: 1;
}

.main-header .navbar-nav .nav-link-text {
	position: relative;
	z-index: 1;
}

/* Navbar Toggler */
.main-header .navbar-toggler {
	padding: 0.5rem 0.75rem;
	font-size: 1.1rem;
}

.main-header .navbar-toggler:focus {
	box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Student Login CTA Button */
.btn-student-login {
	padding: 0.75rem 2rem;
	font-weight: 600;
	font-size: 0.95rem;
	border-radius: 50px;
	background: linear-gradient(135deg, #ed2b2d 0%, #6f42c1 100%);
	border: none;
	color: #fff;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
	white-space: nowrap;
	letter-spacing: 0.3px;
}

.btn-student-login:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
	color: #fff;
	background: linear-gradient(135deg, #0b5ed7 0%, #5a32a3 100%);
}

.btn-student-login:active {
	transform: translateY(0);
	box-shadow: 0 2px 10px rgba(13, 110, 253, 0.3);
}

/** New Css - Test Updates **/

.answers .group-group-match .match-group,
.answers .group-group-match-before .match-group {
    min-height: 70px !important;	
}
.answers .group-group-match h5, .answers .group-group-match-before h5 {
	font-size: 16px !important;
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
	.main-header .navbar {
		padding: 1rem 0;
	}
	
	.main-header .navbar-brand {
		margin-right: 1rem;
	}
	
	.main-header .site-logo {
		max-height: 90px;
		min-height: 60px;
	}
	
	.main-header .brand-text {
		font-size: 1.5rem;
	}
	
	.main-header .navbar-collapse {
		margin-top: 1rem;
		padding-top: 1rem;
		border-top: 1px solid #e9ecef;
	}
	
	.main-header .navbar-nav {
		gap: 0.5rem;
	}
	
	.main-header .navbar-nav .menu-item a {
		padding: 0.875rem 1.25rem !important;
		border-radius: 8px;
		font-size: 1rem;
	}
	
	.main-header .navbar-nav .menu-item a::before {
		display: none;
	}
	
	.main-header .navbar-nav .menu-item a:hover {
		transform: none;
		background-color: rgba(13, 110, 253, 0.1);
	}
	
	.btn-student-login {
		margin-top: 1rem;
		margin-left: 0 !important;
		width: 100%;
		justify-content: center;
		padding: 0.875rem 2rem;
	}
}

/* Content Spacing */
#ggb {
	margin-top: 100px;
}

/* Assignment Section Styling */
section.assboard {
	background: #f8f9fa;
	padding: 40px 0;
}

section.assboard .ptb_loops_wrapper {
	margin-top: 30px;
}

/* Assignment Cards */
section.assboard .ptb_post {
	background: #ffffff;
	border-radius: 12px;
	padding: 25px;
	margin-bottom: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	border: 1px solid #e9ecef;
}

section.assboard .ptb_post:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}

/* Assignment Rows */
section.assboard .ptb_assignment_row {
	display: flex;
	align-items: center;
	padding: 15px 0;
	border-bottom: 1px solid #f0f0f0;
}

section.assboard .ptb_assignment_row:last-child {
	border-bottom: none;
}

section.assboard .ptb_last_row.assignmentrow {
	align-items: flex-start;
	padding: 20px 0 10px 0;
}

/* Assignment Columns */
section.assboard .ptb_col {
	padding: 10px 15px;
}

section.assboard .ptb_col6-1 {
	flex: 0 0 16.666667%;
	max-width: 16.666667%;
}

/* Week Link Styling */
section.assboard .weeklink {
	font-weight: 600;
	font-size: 16px;
	color: #4589B0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Task Download Section */
section.assboard .taskdownload {
	font-size: 14px;
	color: #495057;
	line-height: 1.6;
}

section.assboard .taskdownload p {
	margin: 0 0 8px 0;
}

/* Upload Button Styling */
section.assboard .ptb_link_button {
	display: inline-block;
	padding: 10px 20px;
	background: linear-gradient(135deg, #4589B0 0%, #1D628B 100%);
	color: #ffffff !important;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 600;
	font-size: 14px;
	text-align: center;
	transition: all 0.3s ease;
	border: none;
	box-shadow: 0 2px 6px rgba(69, 137, 176, 0.3);
}

section.assboard .ptb_link_button:hover {
	background: linear-gradient(135deg, #1D628B 0%, #0d4d70 100%);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(69, 137, 176, 0.4);
	color: #ffffff !important;
}

section.assboard .ptb_link_button:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(69, 137, 176, 0.3);
}

/* Editor Content (Dates and Descriptions) */
section.assboard .ptb_editor {
	font-size: 14px;
	color: #495057;
	line-height: 1.6;
}

section.assboard .ptb_entry_content p {
	margin: 0 0 8px 0;
}

section.assboard .ptb_entry_content p[style*="font-style: italic"] {
	color: #6c757d;
	font-size: 13px;
	font-style: italic;
	margin-top: 8px;
}

/* PTB Post Filter (Subject Tabs) */
section.assboard .ptb-post-filter {
	list-style: none;
	padding: 0;
	margin: 0 0 30px 0;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

section.assboard .ptb-post-filter li {
	margin: 0;
}

section.assboard .ptb-post-filter li a {
	display: inline-block;
	padding: 10px 20px;
	background: #ffffff;
	color: #4589B0;
	text-decoration: none;
	border-radius: 25px;
	font-weight: 600;
	font-size: 14px;
	border: 2px solid #4589B0;
	transition: all 0.3s ease;
}

section.assboard .ptb-post-filter li a:hover {
	background: #4589B0;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(69, 137, 176, 0.3);
}

.username_std, .username_std div {
	color: #fff !important;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
	section.assboard .ptb_col6-1 {
		flex: 0 0 50%;
		max-width: 50%;
		margin-bottom: 15px;
	}
	
	section.assboard .ptb_assignment_row {
		flex-wrap: wrap;
	}
	
	section.assboard .ptb_post {
		padding: 20px;
	}
}

@media (max-width: 575.98px) {
	section.assboard {
		padding: 30px 0;
	}
	
	section.assboard .ptb_col6-1 {
		flex: 0 0 100%;
		max-width: 100%;
	}
	
	section.assboard .ptb_post {
		padding: 15px;
	}
	
	section.assboard .ptb_link_button {
		width: 100%;
		display: block;
		text-align: center;
	}
}

/* Print Styles */
@media print {
	@page { 
		size: 8.5in 11in; 
		margin-top: 2cm; 
		margin-bottom: 3cm; 
	}
	
	.doing-toolbar, .mark-as-confused-box {
		display: none !important;
	}
	
	@page :footer {
		display: none;
	}
}