* {
    margin: 0;
    padding: 0;
}
html{
    height:100%;
    overflow: hidden;
}
body{
    height:100%;
}
a {
    text-decoration: none;
}

li {
    list-style-type: none; 
    /* 去掉无序列表前的那个原点 */
}

#navigator{
    background-color: #348ac5;  
    height: 5em;
    border-bottom: 1px solid rgb(200, 200, 200);
}
#navigator .study_check{
    display: inline-flex;
    /* 在父元素ul中设置子元素的显示形式 */
}
#navigator .nav1{
    position:relative;
    width: 6em;
    font-size: 1.5em;
    padding: 0.5em 0.5em 0.5em 0.5em;
    margin: 0.5em 0.5em 0 0.5em;
    border: 1px solid rgb(200, 200, 200);
    font-weight: bold;
    text-align: center;
    margin-bottom:0;
    z-index: 22;
}
.study_check a{
    color:white;
    display:inline-block;
}
#navigator .nav1 .dropdown-list{
    color:black;
    position:absolute;
    top:58px;
    left:0;
    width:100%;
    margin-top:-2px;
    margin-bottom:0;
    /* border:1px solid rgb(200, 200, 200); */
    display:none;
}
#navigator .nav1:hover .dropdown-list{
    display:block; 
    z-index:200;
}
.dropdown-list li{
    height:40px;
    width:100%;
    line-height: 40px;
    text-align: center;
    font-size:18px;
    margin:0;
    border: 1px solid rgb(200, 200, 200);
    background-color: rgba(255, 255, 255, 0.3);
}
.dropdown-list li:hover{
    color:#348ac5;
}
.dropdown-list li a{
    color:black;
}
.dropdown-list li a:hover{
    color:#348ac5;
}

/* #navigator ul li{
    
} */
/* #navigator ul li a{
    align-items: center;
} */

.shadow {
    position: relative;
    max-width: 270px;
    box-shadow: 0px 1px 4px rgba(0,0,0,0.3),
                0px 0px 20px rgba(0,0,0,0.1) inset;
}
.shadow:hover{
    position: relative;
    max-width: 270px;
    box-shadow: 0px 1px 4px rgba(255, 255, 255, 0.3),
                0px 0px 20px rgba(255, 255, 255, 0.1) inset;
}
 
#navigator .avatar {
    margin-right: 10vh;

    margin-top: 0.5em;
    height: 4em;
    width: 4em;
    background-color: #ffffff;
    border-radius: 50%;
    position: absolute;
    right: 0;
    top: 0;

}

#navigator .avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.shadow {
    position: relative;
    max-width: 270px;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.3),
        0px 0px 20px rgba(0, 0, 0, 0.1) inset;
}

.shadow:hover {
    position: relative;
    max-width: 270px;
    box-shadow: 0px 1px 4px rgba(255, 255, 255, 0.3),
        0px 0px 20px rgba(255, 255, 255, 0.1) inset;
}


#menu {
    display: inline-block;
    height: 2.9em;
    width: 100%;
    background-color: #eaeaea; 
}

#menu .tool {
    margin: 0.2em 0.8em 0.2em 0.8em;
    width: 2.9em;
    height: 2.9em;
}

#menu .basic_tool {
    height: 1.5em;
    margin: 0.5em 0.5em 0.5em 0.5em;
    cursor: pointer;
}

#menu .tool::after {
    content: attr(tips);
    display: inline-block;
    z-index: 1;
    height: 1.4em;
    width: auto;
    padding: 2px;
    background-color:  rgba(240, 240, 241, 0.7);;
    color: rgb(0, 0, 0);
    text-align: center;
    border-radius: 5px;
    top: 50px;
    position: absolute;
    transform: translateX(-45%);
    font-family: SimHei;
    opacity: 0;
}


#menu .tool:hover::after {
    opacity: 1;
}

/* #menu .tool::before {
    content: '';

    width: 0;
    height: 0;
    z-index: 100;
    border: 6px solid transparent;
    border-top-color: #B4A078;

    position: absolute;
    transform: translate(0.9em, 3em);

    opacity: 0;
}

#menu .tool:hover::before {
    opacity: 1;
} */

#layers_panel {
    position: fixed;
    left: 0;
    height: 100%;
    width: 20%;
    background-color: #c7c5c5; 
}

#view_window {
    position: fixed;
    height: 100%;
    width: 60%;
    left: 20%;
    background-color: #ffffff;
}

#tools_panel {
    position: fixed;
    display: block;
    right: 0;
    height: 100%;
    width: 20%;
    background-color: #f0f0f0; 
}

#tools_panel h1 {
    padding: 0.2em 0.5em 0.2em 0.5em;
}

#tools_panel h1:hover {
    border: none;
    box-shadow: none;
}



#tools_panel .tool {
    margin: 0.5em 0em 0.5em 0em;
    padding: 0 0.2em 0 0.2em;
    width: 100%;
    height: 2.9em;
    border: none;
}

#tools_panel :hover {
    border: 1px dashed grey;
    position: relative;
    max-width: 270px;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.3),
        0px 0px 20px rgba(0, 0, 0, 0.1) inset;
}

#tools_panel .tool_tag {
    float: left;
    margin: 0.6em 0 0.5em 0.6em;
}

#tools_panel .tool_tag:hover {
    border: none;
    box-shadow: none;
}

#tools_panel .pro_tool {
    float: left;
    margin: 0.5em 0.5em 0.5em 0.5em;
    height: 1.5em;
    width: 1.5em;
    cursor: pointer;
}

#tools_panel .pro_tool:hover {
    border: none;
    box-shadow: none;
}

#mycanvas {
    cursor: crosshair;
}

.column1 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 76vh;
    width: 18vw;
    background-color: #ffffff;
    padding: 1vh;
    border: 1px solid #ccc;
    color: #333;
    font-size: 23px;
    font-family: SimHei;
    margin: 2vh 0;
    font-weight: bold;
    margin: 7px;
    box-shadow: 2px 4px 4px rgb(92 91 91 / 30%);
}

.column1 span {
    color: #333;
    font-size: 23px;
    font-family: SimHei;
    font-weight: bold;
}

.column1 #saveB {
    height: 25px;
    width: 47px;
    position: relative;
    right: 0;
    background-color: #e7f9ff;
    margin-bottom: 1vh;
    text-align: center;
    border: 0.5px solid #070707;
    color: #333;
    font-size: 16px;
    font-family: SimHei;
    text-decoration: none;
    border-radius: 5px;
}

.column1 textarea {
    height: 64vh;
    width: 17vw;
    font-family: SimSun;
    font-size: 1.4rem;
    margin-top: 8px;
    border: none;
}