ul, li {margin: 0; padding: 0; list-style: none;}
img {border: 0;}
a {text-decoration: none;}

#submn {
    position: relative;
    width: 100%;
    bottom: 2px;
    left: 0;
    clear: both;
    height: 60px;
    text-align: center;
}

#submn ul {
    width: 100%;
    max-width: 1280px;
    left: 0px;
    auto;
    list-style: none;
    font-size: 12pt;
    padding: 0;
    display: inline-block;
    *display: inline;
}

#submn li {
    float: left;
    list-style: none;
    valign: middle;
    line-height: 60px;
    height: 60px;
    background: #fff;
    margin-left: -2px !important;
    padding: 0;
    border: 1px solid #d7d7d7;
    box-shadow: 0 -2px 3px rgba(0, 0, 0, 0.1), inset 0 -1px 0 #e0e0e0; /* ÇÏ´Ü ±×¸²ÀÚ Á¦°Å */
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#submn a {
    display: inline-block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    font-size: 1.1em;
    color: #393939;
    font-weight: 600;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}


/* Hover »óÅÂ */
#submn a:hover {
    color: #0b3b82;
    font-size: 1.2em;
}

#submn li:hover {
    cursor: pointer;
    background: #f0f4f8; /* ¹è°æ»ö º¯È­ */
    border: 1px solid #0b3b82;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2), inset 0 -2px 0 #c0c0c0; /* Hover ½Ã ÀÔÃ¼°¨ °­È­ */
}

#submn li:hover a {
    color: #0b3b82 !important;
    font-size: 1.2em;
}

#submn li:hover + li {
    border-left-color: #0b3b82;
}

#submn li.on, #submn li.on:hover {
    background: #0b3b82;
    border: 1px solid #0b3b82;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3), inset 0 -2px 0 #00468b; /* ¼±ÅÃ »óÅÂÀÇ ÀÔÃ¼°¨ */
}

#submn li.on a, #submn li.on a:hover {
    color: #fff !important;
    font-size: 1.2em;
}

#submn ul.col-2 li {width: 49%;}
#submn ul.col-3 li {width: 33%;}
#submn ul.col-4 li {width: 24.9%;}
#submn ul.col-5 li {width: 19.9%;}
#submn ul.col-6 li {width: 16.5%;}
#submn ul.col-7 li {width: 14.2%;}
#submn ul.col-8 li {width: 12%;}
#submn ul.col-9 li {width: 11.1%;}

/* ¿ÞÂÊ »ó´Ü µÕ±Ù ¸ð¼­¸® */
#submn li:first-child {
    border-top-left-radius: 15px;
}

/* ¿À¸¥ÂÊ »ó´Ü µÕ±Ù ¸ð¼­¸® */
#submn li:last-child {
    border-top-right-radius: 15px;
}

/* Hover »óÅÂ¿¡¼­µµ µÕ±Ù ¸ð¼­¸®°¡ À¯ÁöµÇµµ·Ï */
#submn li:first-child:hover {
    border-top-left-radius: 15px;
}

#submn li:last-child:hover {
    border-top-right-radius: 15px;
}

/* ¼±ÅÃµÈ »óÅÂ¿¡¼­µµ µÕ±Ù ¸ð¼­¸®°¡ À¯ÁöµÇµµ·Ï */
#submn li.on:first-child,
#submn li.on:first-child:hover {
    border-top-left-radius: 15px;
}

#submn li.on:last-child,
#submn li.on:last-child:hover {
    border-top-right-radius: 15px;
}

/* ¹ÝÀÀÇü ½ºÅ¸ÀÏ */
@media all and (max-width: 200px) {
    #submn {
        position: relative;
        float: left;
        width: 100%;
        height: 100px;
        margin-top: 20px;
        margin-left: -2px;
    }

    #submn ul.col-2 li {width: calc(49%);}
    #submn ul.col-3 li {width: calc(33%);}
    #submn ul.col-4 li {width: calc(33%);}
    #submn ul.col-4 li:nth-child(4) {width: calc(99.3%); border-top: 0;}
    #submn ul.col-5 li {width: calc(33%);}
    #submn ul.col-5 li:nth-child(4), #submn ul.col-5 li:nth-child(5) {width: calc(49.55% + 1px); border-top: 0;}
    #submn ul.col-6 li {width: calc(33% + 1px);}
    #submn ul.col-6 li:nth-child(4), #submn ul.col-6 li:nth-child(5), #submn ul.col-6 li:nth-child(6) {border-top: 0;}
    #submn ul.col-7 li {width: calc(24.9%); letter-spacing: -0.8pt;}
    #submn ul.col-7 li:nth-child(5), #submn ul.col-7 li:nth-child(6), #submn ul.col-7 li:nth-child(7), #submn ul.col-7 li:nth-child(8) {border-top: 0;}
    #submn ul.col-8 li {width: calc(24.9%); letter-spacing: -0.8pt;}
    #submn ul.col-8 li:nth-child(5), #submn ul.col-8 li:nth-child(6), #submn ul.col-8 li:nth-child(7), #submn ul.col-8 li:nth-child(8) {border-top: 0;}
    #submn ul.col-9 li {width: calc(24.9%); letter-spacing: -0.8pt;}
    #submn ul.col-9 li:nth-child(5), #submn ul.col-9 li:nth-child(6), #submn ul.col-9 li:nth-child(7), #submn ul.col-9 li:nth-child(8) {border-top: 0;}
}

