@media (max-width:599px) {

    /*---- 헤더 ----*/
    #headerwrap {
        width: 100%;
        height: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #fff;
    }

    .header {
        width: 100%;
        height: 60px;
        background: #fff;
        position: relative;
        z-index: 80;
        position: fixed;
    }


    .header .logo img {
        width: 150px;
        z-index: 200;
        margin: 13px;
    }

    .menu_btn {
        text-align: right;
        padding: 10px;
        position: absolute;
        top: 5px;
        right: 0;
        display: block;
    }

    .menu_btn .sub {
        display: none;
    }

    .menu_bg {
        width: 100%;
        height: 150%;
        position: absolute;
        top: 0;
        display: none;
    }

    .sidebar_menu {
        width: 50%;
        height: 150%;
        background: /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f8ffe8+0,e3f5ab+33,b7df2d+100;Green+3D+%234 */
        background: #f8ffe8; /* Old browsers */
        background: -moz-linear-gradient(top,  #f8ffe8 0%, #e3f5ab 33%, #b7df2d 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top,  #f8ffe8 0%,#e3f5ab 33%,#b7df2d 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom,  #f8ffe8 0%,#e3f5ab 33%,#b7df2d 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8ffe8', endColorstr='#b7df2d',GradientType=0 ); /* IE6-9 */
        
        position: absolute;
        display: block;
        top: 0;
        right: -50%;
        z-index: 9999;
        display: none;


    }

    .close_btn {
        width: 25px;
        height: 32px;
        margin: 10px;
        display: block;
        z-index: 9999;
    }

    .close_btn>a {
        display: block;
        width: 100%;
        height: 100%;
        z-index: 9999; margin: 18px 0 0 0;
    }

    .menu_wrap {
        list-style: none;
        z-index: 999;

    }

    .menu_wrap .login {
        background: #fafafa;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 999;
        padding: 20px 0; border: 1px solid #95c23f; font-size:13px;
    }

    .login form {
        height: auto;
        width: 100%;
    }

    .menu_wrap .login ul {
        width: 100%;
    }

    .menu_wrap .login .aa {
        text-align: center;
        font-size: 18px;
        font-weight: bold;
        padding: 10px 0 0 0;
    }

    .login_line {
        width: 70%;
        height: 1px;
    }

    .menu_wrap .login li {
        text-align: center;
        line-height: 30px;
        width: 100%;
    }

    .menu_wrap .sub li {
        text-align: center;
        line-height: 50px;
        font-size: 14px;
        width: 100%;
        background: /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f8ffe8+0,e3f5ab+33,b7df2d+100;Green+3D+%234 */
        background: #f8ffe8; /* Old browsers */
        background: -moz-linear-gradient(top,  #f8ffe8 0%, #e3f5ab 33%, #b7df2d 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top,  #f8ffe8 0%,#e3f5ab 33%,#b7df2d 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom,  #f8ffe8 0%,#e3f5ab 33%,#b7df2d 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8ffe8', endColorstr='#b7df2d',GradientType=0 ); /* IE6-9 */
        ;


    }


    .menu_wrap li a {
        color: #000;
        font-weight: bold;
        text-decoration: none;
    }

    .menu_wrap li input {
        width: 90%;
        height: 40px;
        margin: 10px 0 0 0;
        padding: 7px;
        border: none;
        border-radius: 5px;
    }



    .menu_wrap1 {
        list-style: none;

    }

    .menu_wrap1 .login {
        background: #ddd;
        height: 150px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .menu_wrap1 h3 {
        text-align: center;
    }

    .login_line {
        width: 70%;
        height: 1px;
    }

    .menu_wrap1 .login li {
        text-align: center;
        line-height: 50px;
        font-size: 15px;
        width: 290px;
    }

    .menu_wrap1 .sub li {
        text-align: center;
        line-height: 50px;
        font-size: 15px;
        width: 250px;
        /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#707070+0,000000+100&0.33+0,0+100 */
        background: -moz-linear-gradient(top, rgba(112, 112, 112, 0.33) 0%, rgba(0, 0, 0, 0) 100%);
        /* FF3.6-15 */
        background: -webkit-linear-gradient(top, rgba(112, 112, 112, 0.33) 0%, rgba(0, 0, 0, 0) 100%);
        /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, rgba(112, 112, 112, 0.33) 0%, rgba(0, 0, 0, 0) 100%);
        /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#54707070', endColorstr='#00000000', GradientType=0);
        /* IE6-9 */


    }

    .menu_btn .sub_a {
        display: none;
    }

    .menu_wrap1 li a {
        color: #000;
        font-weight: bold;
        text-decoration: none;
    }

    .menu_wrap1 li input {
        width: 200px;
        height: 40px;
        margin: 10px 0 0 0;
        padding: 7px;
        border: none;
        border-radius: 5px;
    }


    .btn_3 {
        display: flex;
        justify-content: center;
        width: 83%;
        margin: 10px 0 0 0;
    }

    .btn_3 button {
        border: none;
        width: 90px;
        height: 30px;
        background: #ef7a1a;
        border-radius: 5px;
        color: #fff;
    }




    .btn_1 {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        margin: 10px 0 0 0;
    }

    .btn_1 button {
        border: none;
        width: 45%;
        height: 30px;
        background: #ef7a1a;

        color: #fff;
        cursor: pointer;
    }

    .btn_1 button:nth-of-type(2) {
        border: none;
        width: 45%;
        height: 30px;
        background: #95c23f;

        color: #fff;
        cursor: pointer;
    }



    .btn_2 li {
        height: auto;
    }

    .btn_2 li a {
        font-size: 13px;
    }

    /*---- 푸터 ----*/
    #wrap {
        height: auto;
        min-height: 100%;
        padding-bottom: 0px;

    }

    footer {
        width: 100%;
        background: #e5e5e5;
        padding: 0 20px;
        margin: 0px;
        position: relative;
        margin-top: -90px;
    }

    #footerbox {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;

    }

    #footerbox .logo {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #footerbox .logo img {
        display: none;
    }

    #footerbox .textbox {

        height: 60%;
        display: flex;
        flex-direction: column;
        display: flex;
        justify-content: space-between;
        padding: 20px 0;
    }


    #footerbox .textbox .footernav ul {
        display: flex;
        justify-content: center;
        text-align: center;
        height: 100%;
        align-items: center;
    }

    #footerbox .textbox .footernav ul li {
        color: #888;
        font-weight: bold;

    }

    #footerbox .textbox .footernav ul li .a {
        color: #888;
        font-weight: bold;
        width: 50px;
    }





    #footerbox .textbox .footernav .line {
        width: auto;
        border-bottom: 1px solid #ddd;
    }

    #footerbox .textbox .footernav ul li {
            color: #333;
		    font-weight: bold;
		    width: auto;
		    padding: 2px;
		    vertical-align: middle;
		    display: inline-flex;

    }

    #footerbox .textbox .footernav ul li a {
        color: #333;
        font-weight: bold;
        font-size: 10px;

    }

    #footerbox .textbox .footernav ul li a:hover {
        color: #000;
    }

    #footerbox .textbox .text {
        width: 100%;
        /* height: 80px; */
        font-size: 9px;
        font-weight: bold;
        margin: 10px 0 0 0;

    }

    #footerbox .textbox .text p {
        margin: 5px 0 0 0;
        color: #888;

    }

    #footerbox .textbox .text p:nth-of-type(3) {
        font-size: 11px;
        text-align: center;
    }
}