/*
Theme Name: THEi Grad Show 2026
Theme URI: https://theigradshow.com
Author: Raptor Kwok
Author URI: https://yourappapp.com
GitHub Theme URI: https://github.com/raptorkwok/gradshow2026
Description: WordPress theme for THEi Graduation Show 2026
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 5.2
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: understrap
Tags: one-column, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, translation-ready, block-styles, wide-blocks, editor-style, threaded-comments, accessibility-ready

THEi Grad Show WordPress Theme, (C) 2025 YourAppApp
Grad Show 2024 WP Theme is distributed under the terms of the GNU GPL.

Resource Licenses:
Font Awesome: https://fontawesome.com/license/ (Font: SIL OFL 1.1, (S)CSS: MIT)
Bootstrap: https://getbootstrap.com | https://github.com/twbs/bootstrap/blob/master/LICENSE (MIT)
WP Bootstrap Navwalker by Edward McIntyre & William Patton: https://github.com/twittem/wp-bootstrap-navwalker (GNU GPLv3)
*/
html, body {
	margin: 0 auto;
	font-family: Montserrat, sans-serif;
}
.bg-dark {
	background-color: #0A0A0A !important;
}
.text-white {
	color: #DADADA !important;
}
.wp-h-100 {
	height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
}
.breakout-outside {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.bleed-left {
	/* Pull the element's left outer edge to the screen's left edge */
	margin-left: calc(-50vw + 50%);
	
	/* Push the inner content back so it aligns with your .col-12 text */
	padding-left: calc(50vw - 50%);
}
.circle-crop {
    aspect-ratio: 1/1;
	object-fit: cover; /* Keeps aspect ratio and crops the excess */
}  
.sub-navigation {
	font-size: 1.1rem;
}
.sub-navigation a {
	text-decoration: none;
	color: #FAF9F6;
}
.sub-navigation a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 3px;
}
.sub-navigation a.active {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 3px;
	color: #1DBBEE;
}
.title-effect {
	transition: color 2s ease;
}
.title-effect:hover {
	color: #1DBBEE;
}
.nav .nav-link {
	color: #EEE;
	font-size: 1.2rem;
}
.nav .nav-link.nav-link-desktop.active {
	color: #1DBBEE;
}
.wp-block-table table, .wp-block-table td, .wp-block-table th {
	border: none !important;
}
.card-body {
	background-color: rgba(29, 187, 238, 0.3);
}
.is-style-text-subtitle {
	font-size: 1.3rem;
    font-weight: bold;
    text-decoration: underline;
}
.bg-dark {
	background-color: #0A0B0B !important;
}
.content {
	font-family: "Noto Serif TC", serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}
.choice{
     box-sizing: border-box;
     padding: 0;
     overflow: hidden;
     float: left;
     align-items: center;
     transition: width 0.2s;
     border-radius:3px;
}
.tab_index {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	cursor: pointer;
}
.tab_index .number {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
}

.tab_index .text {
    font-size: 20px;
    position: absolute;
    top: 95%;
    left: 65%;
    transform: translate(0, -100%) rotate(-90deg);
    transform-origin: 0 100%;
    white-space: nowrap;
    text-align: left;
}
.expand .tab_index {
	width: 5%;
}
.expand{
     width: 74.5%;
     height: 100%;
}
.unset{
     width: 16%;
     color: black !important;
     background-color: #212529 !important;
}

.unset > div > p{
     opacity: 0;
}
.expand > div {
     transition-delay: 200ms;
     opacity: 1;
}
.theme {
	font-size: 4em;
	font-weight: bold;
}
/* ================================== */
/* Menu */
.navbar-collapse {
  background-color: #000;
  height: 100vh;
  padding-top: 70px; /* Adjust to account for navbar height */
  transition: none;
}

.navbar-collapse.show {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030; /* Ensure it's above other elements */
  transform: translateX(0);
}

/* Hide the navbar initially */
.navbar-collapse {
  transform: translateX(-100%);
}

.navbar-toggler {
  z-index: 1031; /* Ensure it's above the navbar-collapse */
  border: none;
}
.navbar-toggler-icon {
	color: #FFF;
}
.navbar-dark .navbar-toggler-icon {
	background-image: var(--mdb-navbar-toggler-icon-bg);
}
.navbar-nav .nav-link.active, .mobile_layout .mobile_menu .nav-item a.nav-link.active {
	color: #F7B96A;
}
.text-justify {
	text-align: justify !important;
}
  
.scroll_content {
	overflow-y: scroll;
	height: 90vh;
	-ms-overflow-style: none;
	scrollbar-width: none;
}
.scroll_content::-webkit-scrollbar { 
    display: none;  /* Older Safari and Chromium */
}
/* Add a close button */
.close-button {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 1032; /* Ensure it's above the navbar-collapse and toggle button */
	font-size: 24px;
	color: white;
	cursor: pointer;
}
.hide {
	display: none;
}
.img-50 {
	width: 50%;
	height: auto;
}
.img-20 {
	width: 20%;
	height: auto;
}
.height_minusnavbar {
	height: calc(100% - 73px);
}
#section-02, #section-03, #section-04, #section-05, #section-06 {
	display: none;
}

.vertical_align {
	position: relative;
	top: 47%;
}
.element-item {
	transition: 400ms all;
	cursor: pointer;
}
.portfolio-photo {
	position: relative;
}
.portfolio-photo img {
	display: block;
	width: 100%;
}
.portfolio-program-badge {
	position: absolute;
	right: 0;
	bottom: 5px;
	background-color: #213d8e;
	color: #fff;
	font-weight: 700;
	font-size: 0.85rem;
	line-height: 1;
	padding: 0.4rem 0.6rem;
	text-transform: uppercase;
}
.modal-body .contents {
	font-size: 0.9rem;
}

#subsection-content-5-2 .scroll_content {
	height: 80vh;
}

/* Bootstrap breakpoints (Bootstrap 5.3) */
:root {
	--bs-breakpoint-xs: 0;
	--bs-breakpoint-sm: 576px;
	--bs-breakpoint-md: 768px;
	--bs-breakpoint-lg: 992px;
	--bs-breakpoint-xl: 1200px;
	--bs-breakpoint-xxl: 1400px;
}

/* Fullscreen menu */
.site-header {
	position: relative;
	z-index: 1101;
}

.site-header__inner > .d-flex {
	align-items: flex-start;
}

.site-header__inner {
	position: relative;
}

.nav-masthead {
	position: relative;
}

.nav-masthead > .site-header__home {
	position: absolute;
	right: 100%;
	margin-right: 0.75rem;
	padding-left: 0;
	padding-right: 0;
}

.nav-masthead .nav-link-desktop {
	padding-left: 0;
}

.menu-toggle {
	line-height: 1;
	cursor: pointer;
	align-self: flex-start;
	flex-shrink: 0;
}

.nav-masthead > span {
	position: relative;
}

.nav-masthead .menu-submenu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1;
	margin: 0;
	white-space: normal;
}

.menu-fullscreen {
	position: fixed;
	inset: 0;
	background-color: #213d8e;
	color: #FFF;
	z-index: 1100;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s ease;
	padding-top: var(--menu-top, 4rem);
	overflow-y: auto;
}

.menu-fullscreen.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.menu-fullscreen__content {
	display: flex;
	flex-direction: column;
	min-height: calc(100vh - var(--menu-top, 4rem));
	padding-left: 1rem;
	padding-right: 1rem;
	padding-bottom: 1.5rem;
}

.menu-section-label {
	margin-top: auto;
}

.menu-submenu {
	display: none;
	flex-direction: column;
	gap: 0.25rem;
}

@media (min-width: 768px) {
	body.menu-open .menu-submenu {
		display: flex;
	}
	.nav-link-mobile {
		display: none;
	}
	.nav-link-desktop {
		display: block;
	}
	.opacity-md-100 {
		opacity: 100 !important;
	}
}

@media (max-width: 767.98px) {
	.menu-submenu {
		display: none !important;
	}
	.nav-link-mobile {
		display: block;
	}
	.nav-link-desktop {
		display: none;
	}
	.nav-link {
		font-size: 1.5rem !important;
	}
	.menu-separator {
		display: none;
	}
	.sub-navigation a {
		display: block;
	}
	.md-small-text {
		font-size: 0.9rem;
	}
	.md-small-title {
		font-size: 1rem;
	}
	.card-body {
		min-height: 130px;
	}
}

.menu-submenu a {
	color: #FFF;
	text-decoration: none;
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.35;
}

.menu-submenu a:hover {
	text-decoration: underline;
}
.menu-submenu.menu-submenu--acknowledgements {
	flex-direction: row;
}

body.menu-open .cover-container > main,
body.menu-open .cover-container > footer {
	visibility: hidden;
}

body.menu-open .site-header .nav-masthead .nav-link {
	color: #FFF;
}

body.menu-open .site-header .nav-masthead .nav-link.active {
	color: #F7B96A;
}
