@charset "utf-8";

@media (max-width:992px) {
  .footer {
	margin-top: 0.6rem !important;
}

.bottomcontent {
	flex-direction:column !important;
	gap: 1.4rem !important;
}

.logobox {
	padding-top: 1rem !important;
	padding-left: 2rem !important;
	width: 100% !important;
}

.logobottom {
	margin-bottom: 0.5rem !important;
	height: 3rem !important;
}

.address {
	padding-left: 0.2rem !important;
	font-size: 0.6rem !important;
	width: 100% !important;	
}

.bottominfo {
	flex-direction: column !important;
	align-items: center !important;
	padding: 0 !important;
	flex-wrap: wrap;
}

.schoolinfobox {
	width: 100% !important;
	padding-left: 0 !important;
	align-items: flex-start !important;
}

.schoolinfotitle {
	padding-left: 2rem !important;
	width: 100%!important;	
	text-align: left !important;
	font-size: 0.8em !important;

}

.schoolinfocontentbox {
	padding-top: 0.2rem !important;
	padding-left: 2rem !important;
	font-size: 0.6em !important;
	gap: 0.4rem !important;
	
}

.quicklinksbox {
	padding-top: 1rem !important;
	width: 100% !important;
	padding-left: 0 !important;
	align-items: flex-start !important;
}

.quicklinkstitle {
	padding-left: 2rem !important;
	width: 100%!important;	
	text-align: left !important;
	font-size: 0.8em !important;
}

.quicklinkscontentsbox {
	padding-top: 0.2rem !important;
	padding-left: 2rem !important;
	font-size: 0.6em !important;
	gap: 0.4rem !important;
}


.officehoursbox {
	width: 100% !important;
	padding-left: 0 !important;
	align-items: flex-start !important;
}

.officehourstitle{
	padding-left: 2rem !important;
	padding-top: 1rem !important;
	width: 100%!important;	
	text-align: left !important;
	font-size: 0.8em !important;
}

.officehourscontent p {
	padding-top: 0.2rem !important;
	padding-left: 2rem !important;
	font-size: 0.6em !important;
	gap: 0.4rem !important;
}


.authorized {
	padding-top: 1rem !important;
	margin-left: 3rem !important;
	margin-right: 3rem !important;
	text-align: center;
	padding-bottom: 0.8rem !important;
	FONT-SIZE: 0.6em !important;
}

	.navbar .container-fluid {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0rem !important; /* 添加间距 */
		width: 100% !important; /* 确保导航栏占满全宽 */
		padding: 0 !important; /* 去掉默认的内边距 */
    }
    
    .logo {
        padding-left: 0 !important;
        text-align: center;
		padding-bottom: 0.6rem !important; /* 添加底部间距 */
    }
    .logo img {
        margin-right: 0 !important;
        width: 4rem !important;
        margin: 0 auto;
    }

    .nav-links {
        display: flex !important;
        flex-direction: row !important; /* 让它先横向排列 */
        flex-wrap: wrap !important; /* 关键：允许换行 */
        justify-content: center; /* 让换行后的元素居中 */
		padding: 0 !important; /* 去掉默认的内边距 */
		width: 100%; /* 确保导航栏占满全宽 */
    }

    .nav-links .nav-link {
        padding: 0 0 !important; /* 调整菜单项的内边距 */
    }
    
    .nav-links .nav-item {
        /* 在这里为每个菜单项设置一个最小宽度，防止被过度压缩 */
        flex-basis: 20%; 
        text-align: center;
		font-size: 0.7em !important; /* 调整字体大小 */
    }

    .custom-dropdown {
	position: relative;
}

.custom-dropdown .dropdown-menu {
  display: none;
  position: absolute;   
  top: 100%;            
  left: -5rem !important;
  z-index: 1000;       
}

.custom-dropdown:hover .dropdown-menu {
  display: block;
   background-color: #FFF5DC;     /* 设置背景色 */
  border: 1px solid #FFCC66;     /* 设置边框颜色 */
  border-radius: 4px;            /* 可选：圆角边框美观一点 */         /* 可选：增加上下内边距 */
}

.navbar .dropdown-item {
  font-family: "Inria Sans", sans-serif;
  font-weight: bold;
  color: #2E3192;
  font-size: 0.6em !important; /* 调整字体大小 */
}

    
    /* 图标容器也需要处理换行和居中 */
    .nav-icons {
        display: flex !important;
        padding-right: 0 !important;
        justify-content: center !important;
        gap: 1rem !important; /* 减小图标间距 */
		padding-left: 1rem !important; /* 添加左侧内边距 */
		padding-right: 1rem !important; /* 添加右侧内边距 */
		
    }
	.main {
        padding-top: 80px; /* 减小顶部内边距 */
        padding-bottom: 40px;
    }

    .main-cotent {
        flex-direction: column; /* 所有主要内容块垂直堆叠 */
        padding: 1rem 1rem !important; /* 减小左右内边距 */
        gap: 1rem; /* 减小块之间的间距 */
    }

    /* 调整第一行容器，使其内容垂直堆叠 */
    .top-row {
        flex-direction: column;
    }

    .top-row {
		gap: 2rem !important;
	}
    
    /* 调整标题和段落字体大小，以适应小屏幕 */
    .left-top-content h3,
    .left-bottom-content h3,
    .right-content h3 {
        font-size: 1.8em;
    }

    .left-top-content p,
    .left-bottom-content ol li,
    .right-content p,
    .right-content ol li {
        font-size: 0.95em;
    }

	
}

.header {
	display: flex;
	flex-direction: row;
	justify-content:  space-between;
	font-family: "Inria Sans", sans-serif;
    font-weight: bold;
    color: #2E3192;
	align-items: center;
}

.navbar {
	background-color:#FFF5DC;
	border-top: 0.3rem solid #2e3192;
    border-bottom: 0.3rem solid #2e3192;
}

.navbar ul {
	list-style-type: none;
}

.nav-link:hover{
  color: red !important;
}

.nav-links .nav-link {
  padding: 1rem 1rem;
  color: #2E3192;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-weight: bold;
}

.nav-links .nav-link:hover,

.custom-dropdown {
	position: relative;
}

.custom-dropdown .dropdown-menu {
  display: none;
  position: absolute;   
  top: 100%;            
  left: 0;
  z-index: 1000;       
}

.custom-dropdown:hover .dropdown-menu {
  display: block;
   background-color: #FFF5DC;     /* 设置背景色 */
  border: 1px solid #FFCC66;     /* 设置边框颜色 */
  border-radius: 4px;            /* 可选：圆角边框美观一点 */         /* 可选：增加上下内边距 */
}

.navbar .dropdown-item {
  font-family: "Inria Sans", sans-serif;
  font-weight: bold;
  color: #2E3192;
}

/* 子项悬停变红 */
.navbar .dropdown-item:hover {
  color: red;
  background-color: #FFE9B3 !important;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 1rem; 
  padding-right: 2rem;
}

.nav-icons i {
  font-size: 1.3rem;
  color: #241d60;
  cursor: pointer;
}

.nav-icons a i {
    color:  #241d60;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-icons a i:hover {
    color: rgb(226, 36, 36);
}

.hover-icon {
  position: absolute;
  transform: translate(-50%, -50%);
  text-align: center;
}

.divider {
  border-left: px solid #000;
  height: 1.2rem;
}

.logo img {
  margin-right:2rem;
  width: 8rem;
  height: auto;
}

.logo {
	padding-left: 2.5rem;
}

/* ---- 整体容器布局 ---- */
body {
    background-color: #FFF5DC !important;
}

.main {
    padding-top: 9rem;
}

.main-cotent {
    display: flex;
    flex-direction: column; /* 让 top-row 和 right-content 垂直堆叠 */
    gap: 2rem; /* 两行之间的间距 */
    padding: 0 6rem;
}

/* ---- 第一行容器 (Vision & Mission) ---- */
.top-row {
    display: flex;
    gap: 4rem; /* Vision 和 Mission 之间的间距 */
}

/* ---- Vision (第一行左边) 和 Mission (第一行右边) ---- */
.left-top-content,
.left-bottom-content {
    flex: 1; /* 它们平分第一行的空间 */
    background-color: #fdd585;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ---- Strategic Plan (第二行整行) ---- */
.right-content {
    background-color: #fdd585;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ---- 统一标题和文本样式 ---- */
.left-top-content h3,
.right-content h3,
.left-bottom-content h3 {
    font-family: 'Crimson Text', serif;
    font-size: 2.2em;
    font-weight: bold;
    font-style: italic;
    color: #2E3192;
    margin-bottom: 1rem;
}

.left-top-content p,
.left-bottom-content ol li,
.right-content p,
.right-content ol li {
    font-family: 'Inria Sans', sans-serif;
    line-height: 1.6;
    color: #333;
}

.left-bottom-content ol {
    list-style-type: decimal;
    padding-left: 2rem;
    margin: 0;
}

.left-bottom-content ol li {
    margin-bottom: 1rem;
}

.right-content ol {
    list-style-type: decimal;
    padding-left: 2rem;
    margin: 0;
}

.right-content ol li {
    font-weight: bold;
	color: #2E3192;
    margin-bottom: 1rem;
}

.right-content ol li p {
    font-weight: normal;
}

.footer {
	margin-top: 3rem;
	width: 100%;
	background-color: #2E3192; 
  	align-items: flex-start;
  	justify-content: space-between;
  	flex-wrap: wrap;
}

.bottombox {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.bottomcontent {
	display: flex;
	flex-direction: row;
	width: 100%;
	gap: 20rem;
}

.logobox {
	padding-top: 2rem;
	padding-left: 3.5rem;
	width: 20%;
}

.logobottom {
	margin-bottom: 1.5rem;
	display: flex;
	width: auto;
	height: 6rem;
}

.address {
	padding-left: 0.5rem;
	width: 20rem;
	text-align: left;
	font-family: "Inria Sans", sans-serif;
    font-weight: lighter;
    color: #eae1d5;
}

.address a {
	color: #eae1d5;
}

.address a:hover {
	color: rgb(226, 36, 36);
}

.bottominfo {
	display: flex;
	align-content: flex-end;
	padding-top: 2rem;
	flex-wrap: wrap;
	padding-right: 2rem;
}


.schoolinfotitle {
	width: auto;
	font-size: 1.5em;
	font-family: "crimson text", serif;
    font-weight: bold;
    color: #ffcc66;
}

.schoolinfocontentbox {
	padding-top: 1rem;
	display: flex;
	flex-direction: column;
	padding-left: 1rem;
	gap: 0.5rem;
	
}

.schoolinfocontentbox a {
	font-family: "Inria Sans", sans-serif;
    font-weight: lighter;
    color: #eae1d5;
	text-align: left;
}

.schoolinfocontentbox a:hover {
	color: rgb(226, 36, 36);
}

.quicklinksbox {
	padding-left: 3.5rem;
}

.quicklinkstitle {
	width:auto;
	font-size:1.5em;
	font-family: "crimson text", serif;
    font-weight: bold;
    color: #ffcc66;
}

.quicklinkscontentsbox {
	padding-top: 1rem;
	display: flex;
	flex-direction: column;
	padding-left: 1rem;
	gap: 0.5rem;
}

.quicklinkscontentsbox a {
	font-family: "Inria Sans", sans-serif;
    font-weight: lighter;
    color: #eae1d5;
	text-align: left;

}

.quicklinkscontentsbox a:hover {
	color: rgb(226, 36, 36);
}


.officehoursbox {
	padding-left: 1rem;
}

.officehourstitle{
	width:auto;
	font-size:1.5em;
	font-family: "crimson text", serif;
	padding-left: 3rem;
    font-weight: bold;
    color: #ffcc66;
}

.officehourscontent p {
	padding-top: 1rem;
	display: flex;
	flex-direction: column;
	padding-left: 4rem;
	gap: 0.5rem;
	font-family: "Inria Sans", sans-serif;
    font-weight: lighter;
    color: #eae1d5;
	text-align: left;
}


.authorized {
	text-align: center;
	padding-top: 60px;
	padding-bottom: 1rem;
	font-family: "crimson text", serif;
	font-weight: lighter;
    color: #eae1d5;
}