@import url('https://fonts.googleapis.com/css2?family=Gothic+A1:wght@100;200;300;400;500;600;700;800;900&display=swap');

*{margin: 0; padding: 0;}
li{list-style: none;}
a{text-decoration: none; color: inherit;}
body{font-family: 'Gothic A1', sans-serif;}

.wrap{
    width: 940px; margin: auto; 
    /*border: 1px solid red;*/
}
a{text-decoration: none; color: inherit;}
.hide{display: none;}

/*로그인*/
.top1{
    background-color: #f7f8f3; 
    text-align: right; 
    color: #898e88; font-size: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eeeeec;
}

/*메뉴*/
.top2{
    /*overflow: auto; */ /*hidden은 주면 나중에 sub를 넣어줄때 안보이게 된다.*/
    height: 64px;
    position: relative;
} 
.top2 h1{width: 100px; float: left; padding-top: 12px; margin-right: 40px;}

.top2 nav{width: 750px; float: left; text-align: center;}
.top2 nav .main{font-size: 14px;}
.top2 nav .main>li{float: left; padding: 0 10px; position: relative; width: 150px; box-sizing: border-box;}
.top2 nav .main>li>a{
    padding: 24px 6px; display: block;
    border-bottom: 4px solid #fff;
    font-weight: bold;
}
.top2 nav .main>li:hover>a{border-bottom: 4px solid #0080ff; color: #0080ff;}
.top2 nav .main>li:last-child>a{color: #9b9484;}
.bg{
    width: 100%; height: 270px; background-color: #fff;
    box-shadow: 0 5px 5px rgba(200,200,200,0.5);
    /*box-shadow: 0 5px 5px rgba(100,100,100,0.2);*/
    position: absolute; top: 98px; left: 0;
    display: none;
}
.top2 nav .sub{
    display: none; text-align: center;
    position: absolute; top: 66px; left: 0; padding: 90px 10px;
    background-color: #fff; width: 150px; box-sizing: border-box;
    height: 220px; 
    padding-top: 30px; /*border: 1px solid blue;*/  
    z-index: 10;
}
.top2 nav .sub>li{width: 100%; font-weight: bold;}
.top2 nav .sub>li>a{display: block; padding: 10px 2px 10px; font-weight: normal; letter-spacing: -1px;}
.top2 nav .sub>li>a:hover{color: #0080ff; font-weight: 700;}
.top2 button{
    float: right; font-size: 0; 
    background-color: transparent;
    border: 0; cursor: pointer;
    padding: 10px; margin-top: 10px;
}

#con{clear: both; position: relative;}

/*슬라이드 영역*/
.art1{
    width: 100%;
    background-image: url(../img/banner1.png);
    background-position: center center;
    background-size: cover;
    height: 640px;
}
.art1 ul{
    background-color: rgba(255,255,255,0.4); 
    padding: 12px; overflow: auto;
    width: 680px; margin: auto; 
    position: relative; top: 400px; 
    border-radius: 50px;
}
.art1 ul li{
    background-color: #fff; 
    width: 167px; height: 80px; float: left;
    line-height: 60px;
    margin-right: 3px;
    
}
.art1 ul li:first-child{
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}
.art1 ul li:last-child{
    margin-right: 0;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}
.art1 ul li a{
    display: block; padding: 12px 0; 
    text-align: center; font-weight: bold;
}
/*.art1 ul li a:hover{color: #0080ff; font-size: 1.1em;}*/
.art1 ul li:hover{background-color: #0080ff; color: #fff; font-size: 1.1em;}
.art1 ul li a i{margin-right: 10px;}

/* art2 */
.art2{
    text-align: center;
    width: 1020px;
    margin-top: 60px;
    box-sizing: border-box;
    padding-bottom: 104px;
}
.art2 h2{font-size: 48px; color: #222222; font-weight: bold; letter-spacing: -2px;}
.art2 p{font-size: 20px; color: #666666; padding-bottom: 60px; padding-top: 10px;}
.art2 ul{display: flex; width: 1020px; flex-wrap: wrap;}
.art2 ul li:last-child{position: relative; left: 960px; bottom: 790px; font-weight: bold;}
.art2 ul li img{width: 255px; vertical-align: bottom;}

/* art3 */
.art3{
    text-align: center;
    width: 1020px;
    margin-top: 60px;
    box-sizing: border-box;
    padding-bottom: 104px;
    
}
.art3 h2{font-size: 48px; color: #fff; font-weight: bold; letter-spacing: -2px;}
.art3 p{font-size: 20px; color: #fff; padding-bottom: 60px; padding-top: 10px;}
.art3 ul{display: flex; width: 1020px; flex-wrap: wrap;}
.art3 ul li{padding-right: 5px;}
.art3 ul li:last-child{position: relative; left: 960px; bottom: 180px; font-weight: bold; color: #fff;}
.art3 ul li img{width: 250px; vertical-align: bottom; border-radius: 10px;}

#con>.bg{
    background-color: #ff8f00; 
    height: 290px; width: 100%;
    display: block;
    position: absolute;
    top: 1708px; z-index: -10;
}

/* art4 */
.art4{
    text-align: center;
    width: 1020px;
    margin-top: 60px;
    box-sizing: border-box;
    padding-bottom: 104px;
    
}
.art4 h2{font-size: 48px; color: #222; font-weight: bold; letter-spacing: -2px;}
.art4 p{font-size: 20px; color: #666; padding-bottom: 60px; padding-top: 10px;}
.art4 .gong{
    width: 1020px; 
    border: 1px solid #ddd;
    border-radius: 10px;
    
}
.art4 .gong table{width: 100%;}
.art4 .gong tr{border-bottom: 1px solid #ddd;}
.art4 .gong tr:first-child td > img{padding-right: 15px;}
.art4 .gong tr td{
    padding: 20px 20px; 
    }
.art4 .gong tr td:first-child{
    text-align: left;
}
.art4 .gong tr td:last-child{
    text-align: right;
}
.art4 .gong tr:last-child{
    border: 0;
}

.art4 .gong tr td.date{vertical-align: middle}

.art4 .gong tr td img{vertical-align: middle}
.art4 span.more{position: relative; left: 480px; bottom: 230px; }
.art4 span.more > a{font-weight: bold; font-size: 16px;}
.art4 ul li img{width: 250px; vertical-align: bottom; border-radius: 10px;}

/* art5 */
.art5{
    background-image: url(../img/center_banner.png);
    background-size: cover; background-position: center; 
    width: 100%; height: 280px; margin: auto;
}

/* footer */
footer{clear: both; background-color: #fff;  color: #222; overflow: auto;}
footer .f1{width: 100%; float: left; border-bottom: 1px solid #ddd; font-size: 14px;}
footer .f2{float: left;}

footer .f1 .f1-1{float: left; padding: 20px 0; padding-bottom: 10px;}
footer .f1 .f1-1 img{vertical-align: middle;}
footer .f1 .f1-1 span{padding: 0 10px; color: #999; font-weight: bold; font-size: 12px;}
footer .f1 .f1-1 span:last-child::before{content: '|'; padding-right: 20px; font-size: 11px; position: relative; top: -2px;}
footer .f1 .f1-2{float: right; padding: 28px 0;}
footer .f1 .f1-2 label{color: #222; font-weight: bold;}
footer .f1 .f1-2 select{
    background-color: transparent; border: 0; 
    cursor: pointer;
    color: #666;
}

footer .f2{margin-top: 28px; margin-left: 8px; float: left;}
footer .f2 .f2-1{float: left; padding-bottom: 20px;}
footer .f2 .f2-1 li{float: left; margin-right: 20px; font-size: 13px;}
footer .f2 .f2-2{font-size: 12px; color: #999; font-weight: bold;}
footer .f2 .f2-2 span{margin: 0 15px;}
footer .f2 .f2-3{
    font-size: 12px; color: #999; 
    font-weight: bold; padding-top: 10px;
}
footer .f2 .Blogo{padding-top: 20px;}
footer .f2 .f2-4{
    float: right;
}
footer .f2 .f2-4 li{float: left; position: relative; left: 240px; bottom: 128px;}

#popup{
    position: fixed; top: 0; left: 0; 
    width: 100%; height: 100%; 
    background-color: rgba(0,0,0,0.3);
    display: none;
}
#popup .box{
    width: 100%; height: 650px; 
    background-color: #fff;
    position: relative;
}
#popup .box .popHead{
    height: 42px;
    font-size: 20px; padding: 40px; 
    background-color: #231882;
    color: #fff; 
}
#popup .box .popHead .wrap{position: relative;}
#popup .box .popHead .wrap h3{
    position: absolute; left: 0; top: 12px;
    font-weight: bold; font-size: 28px;
}
#popup .box .popHead .wrap span{
    cursor: pointer; font-size: 16px;border: 1px solid #fff;
    padding: 10px 15px; border-radius: 8px;
}
#popup .box .popHead .wrap span.popm1{
    position: absolute; right: 220px; top: 5px;  
}
#popup .box .popHead .wrap span.popm2{
    position: absolute; right: 100px; top: 5px;
}
#popup .box .popHead .wrap button.close{
    color: #fff; font-size: 35px;
    border: 0; background-color: transparent;
    position: absolute; top: -10px; right: 0;
    cursor: pointer;
}
#popup .box .popMenu .wrap > ul{float: left; width: 20%;}
#popup .box .popMenu .wrap > ul > li{
    width: 100%;
    float: left; 
    color: #222;
    /*border-bottom: 1px solid #0080ff;*/
    height: 35px;
}
#popup .box .popMenu .wrap > ul > li > a{font-weight: bold; font-size: 24px;}
#popup .box .popMenu .wrap .sub a:hover{
    font-size: 17px; font-weight: bold;
    background-color: #231882; color: #fff;
}
#popup .box ul li a{
    display: block; padding: 12px 0 10px;
    text-align: center; 
}
#popup .box .popMenu .wrap .main1{float: left;}
#popup .box .popMenu .wrap .main2{float: left;}
#popup .box .popMenu .wrap .main3{float: left;}
#popup .box .popMenu .wrap .main4{float: left;}
#popup .box .popMenu .wrap .main5{float: left;}
#popup .box .popMenu .wrap .main6{
    float: left; 
    position: relative; left: 376px; top: 152px;
}
/*#popup .box ul li a.on{
    color: #eb5875; 
    border-bottom: 3px solid #eb5875;
    font-weight: bold;
}*/




