@charset "utf-8";

@media (max-width:992px) {
	
	.main {
		display: flex;
		flex-direction: column !important;
	}
	.aside-left {
		width: 100%;
	}
	.aside-right {
		width: 100%;
	}
	.main-head, .sub-head {
		text-align: center;
	}
	.btn {
		margin: auto;
	}
	.row {
		display: block;
	}
	.btn-col {
		margin: auto;
	}
	.col {
		margin: 2rem 0;
	}

.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 {
		display:flex ;
		flex-direction: column !important;
	}
	.left-content,
	.inputbox{
		width: 100% !important;
		padding: 0.5rem 3rem !important;
	}
	.first-level {
		flex-direction: column !important;
		gap: 1rem !important;
		padding-top: 2rem !important;
	}
	.second-level {
    	padding-left: 3rem !important;
    	padding-right: 1rem !important;
    	width: 100% !important;
	}

	.contact-title {
	font-size: 3rem !important;
	padding-top: 1rem;
}
	.form-group {
		margin: 1rem 0 !important;
	}

	.description {
		padding-bottom: 1rem !important
	}
	
	.submit-box {
	display:block !important;
	justify-content:flex-end;
	padding-top: 1rem;
}
}



.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;
	padding-top: 8rem;
}

.main {
	display: flex;
	flex-direction: row;
}


.left-content {
	padding-left: 3rem;
	width: 45%;
	padding-right: 3rem;
}

.contact-title {
	font-size: 4rem;
	font-family: "crimson text", serif;
	font-weight: bold;
    color: #2E3192;
	padding-left: 1rem;

}

.description {
	line-height: 1.5;
	font-size: 1.1em;
    font-family: "crimson text", serif;
    color: #333;
	padding-left: 1rem;
	padding-bottom: 2rem;

}

.form-group {
  position: relative;
  margin: 3rem 0;
  width: 100%;
}

.form-group input {
  width: 100%;
  padding: 1rem;
  border: none;
  border-bottom: 2px solid #2E3192;
  background: transparent;
  font-size: 16px;
  font-family: "Inria Sans", sans-serif;
  font-weight:5px;
  color: #333;
}

.form-group input:focus {
  outline: none;
  border-bottom-color: #b72b2b;
}

.form-group label {
  position: absolute;
  top: 0.8rem;
  left: 0;
  font-family: "Inria Sans", sans-serif;
  color: #2E3192;
  pointer-events: none;
  transition: 0.2s ease all;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label {
  top: -0.8rem;
  font-size: 14px;
  font-family: "Inria Sans", sans-serif;
  color: #2E3192;
}

.inputbox {
	padding: 0.2rem 5rem;
	align-content: center;
	align-items: center;
	background-color: palegoldenrod;
}

.submit-box {
	display: flex;
	justify-content: flex-end;
	padding-right: 10rem;
	padding-bottom: 1rem;
}

.submit {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 1rem;
	border-radius: 50px;
	background-color: #fbc463;
	width: 6rem;
	font-family: "Inria Sans", sans-serif;
  font-weight: bold;
  color: #2E3192;
}

.submit:hover {
	color: #db2525;
	transition: background-color 0.3s ease;
}

.first-level {
	display: flex;
	flex-direction: row;
	padding-top: 11rem;
	padding-left: 3rem;
	gap: 5.3rem;
}

.callcenter {
	display: flex;
	flex-direction: column;
	font-family: "Inria Sans", sans-serif;
	  color: #2E3192;
}

.callcenter a {
		text-decoration:underline;
}
.callcenter a:hover {
	color: rgb(226, 36, 36);
}

.email {
	display: flex;
	flex-direction: column;
	font-family: "Inria Sans", sans-serif;
	  color: #2E3192; 
}

.email a {
		text-decoration:underline;
}
.email a:hover {
	color: rgb(226, 36, 36);
}

.socialnetwork {
	display: flex;
	flex-direction: column;
	font-family: "Inria Sans", sans-serif;
	  color: #2E3192;
}

.socialnetwork a {
		text-decoration:underline;
}
.socialnetwork a:hover {
	color: rgb(226, 36, 36);
}

.second-level {
	display: flex;
	padding-top: 1.5rem;
	padding-left: 3rem;
	
}


.location {
	display: flex;
	flex-direction: column;
	font-family: "Inria Sans", sans-serif;
	  color: #2E3192;
}

.location a {
		text-decoration:underline;
}
.location a:hover {
	color: rgb(226, 36, 36);
}


.location img {
	width: 95%;
	height: auto;
	padding-top: 2.5rem;
	padding-right: 1rem;
}

.after-image-padding {
	height: 3rem;
}

.footer {
	margin-top: 1rem;
	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;
}