/* styles.css */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

main {
	margin-top: 30px;
}
footer {
	text-align: center;
	margin-top: 30px;
	padding: 10px;
	background-color: #ddd;
}

.container {
	/* max-width: 1200px;*/
	margin: auto;
	padding: 20px;
}

h1 {
    text-align: center;
}

header {
    height: 40px;
/* position: sticky; */
    top: 0;
    background-color: #dce8f1;
    color: black;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

#top .rt ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

#top .rt ul li {
    float: left;
    padding: 2px 14px;
    line-height: 33px;
}

#top .rt ul li a {
    text-align: center;
    text-decoration: none;
}

#top .rt ul li img {
    vertical-align: middle;

}
#top .rt a{
    cursor: pointer;
    color: #383838;
}
#top .rt span{
    cursor: pointer;
    color: #383838;
}
#top .rt a:hover{
    color: black;
}
#top .rt span:hover{
    color: black;
}
#top .rt ul li b {
    position: relative;
    top: 0;
    right: -16px;
    font-weight: inherit;
}
nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
}

nav ul li {
    position: relative;
    margin-right: 20px;
}

nav ul li a {
    font-size: 24px;
    font-weight: bold;
    color: black;
    text-decoration: none;
    padding: 10px;
    display: block;
}

        .dropdown-parent {
            position: relative;
            display: inline-block;
        }
.dropdown {
    display: none;
    position: absolute;
    background-color: #dce8f1;
    /*#background-color: rgba(120, 132, 142, 0.5);*/
    min-width: 160px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    z-index: 1;
    top: 110%; /* 使下拉菜单紧贴上方菜单项的底部 */
    left: 0px; /* 使下拉菜单与上方菜单项对齐 */
}

.rt .dropdown {
    display: none;
    position: absolute;
    background-color: #dce8f1;
    /*#background-color: rgba(220, 232, 242, 0.5);*/
    min-width: 95px;
    /*#box-shadow: 0 80px 160px 0 rgba(0,0,0,0.2);*/
    z-index: 1;
    top: 110%; /* 使下拉菜单紧贴上方菜单项的底部 */
    left: 0px; /* 使下拉菜单与上方菜单项对齐 */
}

.dropdown li {
    margin-right: 0;
}

.dropdown li a {
    font-size: 18px;
    font-weight: bold;
    color: black;
    padding: 10px 16px;
}

.rt .dropdown li a {
    font-size: 12px;
    font-weight: inherit;
    color: #383838;
    padding: 0px 0px;
}

.dropdown li a:hover {
    background-color: #b7dcf7;
}

.search-register input[type="text"] {
    width: 200px;
    height: 30px;
    border: 1px solid #ccc;
    padding: 5px;
}

.search-register button {
    height: 30px;
    padding: 5px 10px;
    background-color: #555;
    color: white;
    border: none;
    cursor: pointer;
}
.hidden {
    display: none;
}
