﻿@import url('https://cdn.rawgit.com/moonspam/NanumSquare/master/nanumsquare.css');
body {
    font-size: 1em;
    padding: 0px;
    margin: 0px;
    font-family: 'NanumSquare', 'Nanum Gothic', sans-serif;
}


/*헤드부분*/
#head_top {
    display: flex;
    justify-content: space-between;
}

    #head_top > div {
        padding:10px 0;
        display: flex;
        flex:0 1 1200px;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    #head_top #headlogo {
        order: 2;
        flex: 0 1 306px;
        align-self: center;
    }

    #head_top #headlogo img{
        width:100%;max-width:306px;
    }

    #head_top #membermenu {
        order: 1;
        text-align:right;
        width:100%;
        font-weight:800;
        font-size:20px;
    }
    #head_top #mainmenuouter {
        order: 3;
        display: flex;
        justify-content: space-around;
        flex: 1 1 auto;
        font-weight: 700;
        align-self: flex-end;
        font-size: 24px;
    }
    #head_top .head_space {
        flex: 0 0 35px;
        align-self: center;
    }

    #head_top .head_space button{
        display:none;
    }


#divSubMenu{
    display:none;
    z-index:11;
    position:absolute;
    top:0;
    left:0;
    background-color:#fff;
    font-size:18px;
    font-weight:800;
}

/*본문부분*/
#main_body_outer{
    padding:30px 0;
}
#main_body0 {
    max-width: 1200px;
    margin: auto;
}

/*풋부분*/
#footbannerouter {
    background: url(/img/footbg.jpg) 50% 50% content-box;
}

#footlogo{
    padding-top:15px;
    padding-bottom:20px;
}

#footbannerouter .footbannerlist {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

    #footbannerouter .footbannerlist > button {
        flex:0 1 45%;
        margin:1.5% 2.5%;
        background-color:#fff;
        border-radius:0.25rem;
        display:flex;
        font-size:20px;
        font-weight:800;
        padding:10px;
    }

        #footbannerouter .footbannerlist > button .left {
            margin-left: 25px;
            margin-right: 15px;
            display: flex;
        }
#foot_copyright {
    background-color: #dbe7ff;
}

    #foot_copyright #foot_callcenter {
        font-size: 60px;
        line-height:60px;
        color: #577fc0;
        font-weight: 800;
        display: flex;
        align-items: flex-end; /* 요소들을 아래 기준선에 맞춤 */
        grid-gap:15px;
        padding-top:40px;
    }

        #foot_copyright #foot_callcenter #foot_callcenter_number {
            display: flex;
            grid-gap: 15px;
        }

#footmenuouter {
    display: flex;
    align-items: stretch;
    justify-content:space-between;
    padding:30px 0;
}

/*서브페이즈 공통*/
#subpageouter {
    background-color: #fff;
    border-radius: 10px;
}
.subpagecontent {
    padding: 15px 20px;
}
#subpageouter .pageTitle {
    border-bottom: solid 5px #dbe7ff;
    text-align: center;
    padding:20px 0;
    color: #29a2e1;
    margin:0;
}

.subpadding{
    padding:10px 0;
}
/*팝업디자인*/
.popupdiv {
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    z-index: 100;
    box-shadow: 0px 0px 5px #999;
}
    .popupdiv .head {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-bottom: solid 5px #dbe7ff;
        padding:10px 0;
    }
        .popupdiv .head h1.popupTItle {
            color: #3ab2f1;
            font-weight: 600;
            margin: 0;
        }

        .popupdiv .head i.popupclose {
            font-size: 2em;
            color: #808080;
        }
        .popupdiv .body {
        padding:20px;
    }

    .popupdiv .foot {
        padding: 10px 20px;
        background-color: #e1ebff;
    }

    .popupdiv .btn {
        font-size:1.2em;
        white-space:nowrap;
    }
/*반응형 공통*/
.showlarge {
    display: initial;
}
.showmiddle {
    display: none;
}
.showsmall {
    display: none;
}

.hiddenlarge {
    display: none;
}

@media (max-width:992px) {
        #head_top #headlogo {order: 1;}
    #head_top #membermenu {
        order: 2;
        width:auto;
        align-self:center;
    }
    #head_top #mainmenuouter {
        order: 3;
        width:100%;
        padding-top:20px;
    }

    #footlogo {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    #footbannerouter .footbannerlist {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
    }

        #footbannerouter .footbannerlist > button {
            width:50%;
            align-items: stretch;
        }


        #footbannerouter .footbannerlist > button .left {
            height:30px;
        }

        #footbannerouter .footbannerlist > button .right {
            margin-right: 40px;
        }


    #foot_copyright #foot_callcenter img{
        width:90px;
    }
    #foot_copyright #foot_callcenter {
        font-size: 40px;
        line-height: 40px;
        grid-gap: 15px;
        padding-top:20px;
    }

    #footmenuouter {
        flex-wrap:wrap;
    }

        #footmenuouter > div.menu {
            width:30%;
            white-space:nowrap;
        }

    .showlarge {
        display: none;
    }

    .showmiddle {
        display: initial;
    }

    .showsmall {
        display: none;
    }

    .hiddenlarge {
        display: initial;
    }

    .hiddenmiddle {
        display: none;
    }
}

@media (max-width:768px) {
    body {
        font-size: .9em;
    }
    #head_top {
        background-color: #dbe7ff;
    }

        #head_top > div {
            justify-content: center;
        }
        #head_top #headlogo {
            text-align:center;
        }
        #head_top #headlogo img {
            max-width: 208px;
        }

        #head_top #membermenu {
            display: none;
        }

        #head_top #mainmenuouter {
            display: none;
        }

        #head_top .head_space button {
            display: initial;
        }

    #footlogo {
        padding-top: 20px;
        padding-bottom: 15px;
    }
    #footbannerouter .footbannerlist {
        padding-bottom:5px;
    }
    #footbannerouter .footbannerlist > button {
        width: 95%;
        margin: 5px 2.5%;
        margin-bottom:0;
        padding: 5px;
    }

        #footbannerouter .footbannerlist > button .left {
            margin-left:0;
        }

    #footbannerouter .footbannerlist > button .right {
        margin-right: 0px;
        font-size:.8em;
    }

    #foot_copyright #foot_callcenter img {
        width: 65px;
    }

    #foot_copyright #foot_callcenter #foot_callcenter_number {
        flex-direction:column;
        grid-gap: 0;
    }

    #foot_copyright #foot_callcenter {
        font-size: 20px;
        line-height: 20px;
        padding-top:30px;
    }
    #footmenuouter {
        display:none;
    }

    #copyrighttext{
        padding-top:10px;
    }

    .showlarge {
        display: none;
    }

    .showmiddle {
        display: none;
    }

    .showsmall {
        display: initial;
    }

    .hiddenlarge {
        display: initial;
    }

    .hiddenmiddle {
        display: initial;
    }

    .hiddensmall{
        display:none;
    }
}