@media(max-width:1400px){
    #nav__center {
        margin-left: 0;
    }
    #nav__center .flex {
        padding-left: 0px;
    }
  }
#nav__center {
    width: 570px;
    position: relative;
    margin-left: auto; 
}

#nav__center .flex {
    display: flex;
}

#nav__center .flex ul {
    width: 100%;
    top: 100%;
    left: 20px;
    padding: 0;
    font-size: 14px;
    border-radius: 0px;
    box-shadow: none;
    transition: 1s;
    border-radius: .2em;
    padding: 0;
    margin: 0;
}
#nav__center .flex ul.dropdown-menu {margin-top: 20px; padding-top: 12px; padding-bottom: 12px;}
#nav__center .flex ul.dropdown-menu>li>a {display: block; padding: 3px 20px; clear: both; font-size: 16px; font-weight: 400; line-height: 22px; color: #000; white-space: nowrap; font-family: 'Montserrat';}

#nav__center .flex ul.dropdown-menu>li>a:hover,
.dropdown-menu>li>a:focus {
    background-image: none;
    background-color: #f2f2f2;
}

#nav__center .flex .depth_one,
#nav__center .flex .depth_two {
    /* width: 35%; */
	min-width: 35%;
    padding-left: 40px;
    position: relative;
    cursor: pointer;
}

#nav__center .flex > .depth > ul > li > a {font-size: 17px; font-family: 'Montserrat', 'Noto San KR', sans-serif; font-weight: 500; display: block; color: #666666;}
#nav__center .flex > .depth > ul > li > a:hover,
#nav__center .flex > .depth > ul > li > a:focus {
    text-decoration: none;
    color: #000;
}

#nav__center .flex .depth_one {
    position: relative;
}

#nav__center .flex .depth_one::before {font-family: xeicon; content: "\e900"; position: absolute; top: 0px; left: 0px; font-size: 19px; color: #b5b5b5;}

#nav__center .flex .depth::after {
    font-family: FontAwesome;
    content: "\f054";
    position: absolute;
    top: 5px;
    /* right: 20px; */
	right: -23px;
    font-size: 14px;
    color: #ddd;
    transition: .2s;

    
}
#nav__center .flex .depth:hover::after {
    transform: rotate(90deg);
}
    
#nav__center .flex .depth.depth_two {
    margin-right: 45px;
}

/* #aside_nav .leftmenu_b {
    border-bottom: 0.5px solid #dddddd;
}

#aside_nav .leftmenu_s {
    background-color: #ffffff;
    border-bottom: 0.5px solid #e6e6e6;
} */
#nav__center .flex .depth.depth_two ul.dropdown-menu li ul li a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-size: 16px;
    font-weight: normal;
    line-height: 30px;
    color: #000;
    white-space: nowrap;

}

.flex .depth.depth_two:not(:has(ul.dropdown-menu > li)) {
    display:none;
}


@media(max-width:991px){ 
  


    #nav__center {
        width: 100%;
        position: relative;
        margin-left: auto; 
        border-bottom: 1px #ddd solid;
        padding-top: 20px;
        padding-bottom: 14px;
    }
    #nav__center .flex {
        display:flex;
        padding-left: 0;

    
    }
	#nav__center .flex .depth_one::before {font-size: 16px; top: 3px;}
	#nav__center .flex .depth::after { right: 23px; font-size: 12px;}
	#nav__center .flex .depth.depth_one {
        display:block;
		width:50%;
    }
   
    #nav__center .flex .depth.depth_two {
        width: 50%;
        padding-left: 0; 
        padding-right: 0; 
        margin-right: 25px;
        margin-left: 0;
    }
   
        
    
    #nav__center .flex ul {
        width: 100%;
        top: 100%;
        left: 0;
        padding: 0;
        margin: 0;
        font-size: 14px;
        border-radius: 0px;
        box-shadow: none;
        transition: 1s;
        border-radius: .2em;
        margin-left: 15px;
        margin-right: 15px;
        /* display: block; */
        border-top: 0;
        
    }
    #nav__center .flex > .depth > ul {
        margin: 0;
        padding:0;
       
    }
    #nav__center .flex > .depth > ul > li > a {
        font-size: 14px;
        font-family: 'Montserrat', 'Noto San KR', sans-serif;
        font-weight: 600;
        display: block;
        padding-left: 0px;
    }
    #nav__center .flex ul.dropdown-menu {
        margin-left: 15px;
        margin-right: 0;
        margin-top: 14px;
        width: 100%;
        border:1px #ddd solid;
    }
    #nav__center .flex ul.dropdown-menu>li>a {
        display: block;
        padding: 3px 20px;
        clear: both;
        font-size: 13px;
        font-weight: normal;
        line-height: 24px;
        color: #000;
        white-space: nowrap;
    }
  
 }
