@charset "utf-8"; 

footer {margin-top: 0;}

.title-box {margin-bottom: 60px}
.title-box h3 {font-size: 1.875em; margin-bottom: 13px; color: #333; font-weight: 600}
.title-box p {color: #666}

.main-slider li {background-position: center center; background-size: cover; background-repeat: no-repeat; height: 800px; }
.main-slider li:nth-of-type(4) {background-image: url(/assets/img/main/slider20190621.jpg)}
.main-slider li:nth-of-type(1) {background-image: url(/assets/img/main/slider1.jpg)} 
.main-slider li:nth-of-type(2) {background-image: url(/assets/img/main/slider2.jpg)} 
.main-slider li:nth-of-type(3) {background-image: url(/assets/img/main/slider3.jpg)} 
.bx-wrapper {height: 800px; }
.main-slider__text {position: absolute; bottom: 80px; margin-left: 80px;}
.main-slider__text p {font-weight: 300; line-height: 1.5em; margin-top: 17px}
.main-slider .bx-wrapper .bx-controls div.bx-pager {bottom:80px; left:calc(50% + 560px) }
.bx-viewport { height: 100%!important;}
.bx-wrapper .bx-controls-direction a.bx-prev {left:calc(50% - 560px)}
.bx-wrapper .bx-controls-direction a.bx-next {right: 0; left:calc(50% + 560px)}
.main-slider .bx-wrapper .bx-controls .bx-controls-direction a {top:calc(50% + 40px); margin-top: -20px;}

/*게시판*/
.main-wrap .board {
    padding: 120px 0;
}
.main-wrap .board .must-board {
    width: 45%;
}
.main-wrap .board .must-board>.left {
}
.main-wrap .board .must-board>.left img {
    height: 44.5px;
}
.main-wrap .board .must-board>.left h2 {
    font-size: 0.875em;
    font-weight: 600;
    color: #172D53;
    border-bottom: 2px solid #068944;
    padding-bottom: 2px;
}
.main-wrap .board .must-board>.right {
    width: 78%;
}
.main-wrap .board .must-board>.right .no-article {
    color: #666;
    margin-top: 23px;
}
.main-wrap .board .must-board>.right h3 {font-size: 1.25em; font-weight: 600; color: #333; margin-bottom: 13px; text-overflow:ellipsis;
  white-space:nowrap;
  word-wrap:normal;
  width:386px;
  overflow:hidden;}
.main-wrap .board .must-board>.right div p {color: #666; width:386px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4; 
  -webkit-box-orient: vertical;
  word-wrap:break-word; 
  line-height: 1.7em;
  /*height: 6.8em;*/  }
.main-wrap .board .must-board>.right p {color: #666}
.main-wrap .board .must-board:hover h3 {color: #068944}
.main-wrap .slider__190621 .btn--notice {    margin-right: 10px;
    background-color: #fff;
    color: #02329a;}
.main-wrap .slider__190621 .btn--notice:hover {color: #fff}

/*패럴렉스*/
.parallax {background-image: url("/assets/img/main/parallax.jpg"); height: 443px;  background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover;}
.parallax .table {width: 100%;height: 443px;text-align: center;display: table;}
.parallax h3 {font-size: 1.625em; font-weight: 400; color: #fff;}
.parallax p { color: #fff; margin-top: 13px;}
.parallax a {height: 42px;line-height: 42px;width: 148px;border-radius: 100px;font-size: 0.875em;font-weight: 600;color: #fff;box-shadow: 0 0 0 1px #fff;display: inline-block;margin-top: 50px;transition: 0.2s;}
.parallax a:hover {
    background-color: #fff;
    color: #162c54;
}

/*사업안내 및 비즈니스*/
.bNc {padding: 120px 0;}
.bNc .box {}
.bNc .box .img {width: 530px; height: 353px; overflow: hidden; position: relative;}
.bNc .box .img img {width: 530px; height: 353px;}
.bNc .box img .img-back {width: 530px; height: 353px; position: absolute; top: 0; left: 0; z-index: -1;}
.bNc .box .txt {
    width: 100%;
    float: left;
    margin-top: 20px;
}
.bNc .box .txt .left {width: 80%}
.bNc .box .txt .left h4 {font-size: 1.25em; font-weight: 600; color: #333;}
.bNc .box .txt .left p {color: #666; margin-top: 10px;}
.bNc .box .txt .right {width: 20%;}
.bNc .box .txt .right a {width: 93px;height: 36px;border-radius: 100px;display: inline-block;text-align: center;line-height: 36px;color: #fff;font-size: 0.875em;font-weight: 600;float: right;}
.bNc .img-back {width: 530px; height: 353px;     position: absolute;
    top: 0;
    z-index: -1;}

/*tab*/
.tab {}
.tab ul {
    position: absolute;
    width: 100%;
    text-align: center;
    padding-top: 100px; z-index: 1
}
.tab li {background: none;color: rgba(98,108,127,0.6);display: inline-block;cursor: pointer;font-size: 1.625em;}
.tab li:first-child {margin-right: 60px;}
.tab li.current {font-size: 1.625em; color: #fff; font-weight: 600; border-bottom: 2px solid #fff; padding-bottom: 4px}
.tab-content { display: none; width: 100%; height: 585px; background-position: center center; background-size: cover; background-repeat: no-repeat}
.tab-content.current{ display: inherit; transition: 0.2s;}
.tab #mission {background-image: url(/assets/img/main/tab1.jpg)}
.tab #vision {background-image: url(/assets/img/main/tab2.jpg)}
.tab-content .tab-inner {
    text-align: center;
    position: relative;
    padding-top: 237px;
}
.tab-content .tab-inner p {
    font-size: 2.5em;
    color: #fff;
    font-weight: 300;
    line-height: 1.5em;
}
.tab-content .tab-inner .quotes-left {
    position: absolute;
}
#vision .tab-inner .quotes-left {
    left: 50%;
    margin-left: -192px;
    margin-top: -11px;
}
#mission .tab-inner .quotes-left {
    left: 50%;
    margin-left: -355px;
    margin-top: -25px;
}
#vision .tab-inner .quotes-right {
    transform: rotate(180deg);
    left: 50%;
    margin-left: 230px;
    top: 50%;
    margin-top: 131px;
}
#mission .tab-inner .quotes-right {
    top: 50%;
    margin-top: 132px;
    left: 50%;
    margin-left: 370px;
    transform: rotate(180deg);
}
.tab-content .tab-inner .quotes-right {
    position: absolute;
}
.tab-content .but-titie {
    color: #626C7F;
    font-weight: 600;
    text-align: center;
    margin-top: 120px;
}
#vision .but-titie {color: #017839}

/*상담하기*/
.email {
    width: 100%;
    float: left;
}
.email .form-inner {
    width: 471px;
    float: left;
    padding: 60px 0 0 80px;
}
.email .txt {
    padding: 120px 0;
    background-color: #F0EFEF;
}
.email .txt .inner {
    float: right;
    margin-right: 136px;
}
.email .txt h3 {
    font-size: 1.875em;
}
.email .txt .bar {
    width: 1px;
    height: 98px;
    background-color: #C1C1C1;
    margin: 40px 0;
}
.email .txt p {}
.email .txt p:last-child {
    margin-top: 20px;
}
.email .form {} 
.email .form .title {margin-bottom: 7px;
    font-size: 1em;
    font-weight: 600;
} 
.email .form textarea {height: 132px; border-bottom: 2px solid #333;} 
.email .form .btn {display: inline-block; margin-top: 21px;}

.boardText{
    overflow:hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* 라인수 */
    -webkit-box-orient: vertical;
    word-wrap:break-word;
    line-height: 1.7em;
    height: 6.8em;
    color: #666;
}

/*팝업 추가*/
div.popup-mask {display: block; background-color: rgba(0, 0, 0, 0.6);}
.popup-mask .popup {width: 500px;margin: 0 auto;} 
.popup-mask .popup img {width: 100%;}
.popup-mask .close {transition: 0.2s;text-align: center;background-color: #17335d;color: #fff;float: left;width: 100%;font-size: 0.9em;padding: 10px 0;cursor: pointer;}
.popup-mask .close:hover {background-color: #061f44}

.slider__190621 span img{
    width: 15px;
    float: left;    
    margin-right: 2px;
    margin-top: 5px;
}
.slider__190621 .btn {
    border: 1px solid #fff;
    border-radius: 100px;
    height: 56px;
    line-height: 56px;
    color: #fff;
    font-weight: 500;
    padding: 0 55px;
    font-size: 1.1em;
    float: left;
    margin-top: 40px; 
}
.slider__190621 .btn:hover {
    background-color: #00339a;
    border: 1px solid #00339a
}


@media (max-width: 1440px) {
    
    .main-slider li,
    .bx-wrapper {height: 650px;}
    
}

@media (max-width: 1024px) { 
    
    .bNc .box .img,
    .bNc .box .img img {width: 100%; height: auto;}
    .email .form-inner {width: 100%; padding: 0}
    
    
}

@media (max-width: 960px) {
    
    /*메인 슬라이더*/
    .main-wrap {margin-top: 57px}
    .main-slider li, .bx-wrapper {height: 400px} 
    /*.main-slider .bx-wrapper div.bx-pager {padding-top: 0;     top: auto;bottom: 40px;right: 5%}*/
    .main-slider .bx-wrapper .bx-controls div.bx-pager {bottom:25px; right:5.5%; left:auto}
    .main-slider__text {bottom: 80px; margin-left: 0px}
    .main-slider__text p {font-size: 1em}
    div.bx-wrapper div.bx-pager {width: 25px}
    div.bx-wrapper .bx-pager.bx-default-pager a {margin-top: 15px; width: 13px; height: 13px; }
    .bx-wrapper .bx-controls .bx-controls-direction a.bx-next {top:auto; bottom:20px; left:calc(7.5% + 35px); right:auto;}
    .bx-wrapper .bx-controls .bx-controls-direction a.bx-prev {top:auto; bottom:20px; left:7.5%; right:auto;}

    /*공지/보도자료*/
    .main-wrap .board {padding: 0; margin: 60px 0;}
    .main-wrap .board .must-board {width: 46%;}
    .main-wrap .board .must-board>.right h3 {width: 100%;}
    .main-wrap .board .must-board>.left img {height: auto; width: 43px}
    
    /*상담하기 parallax*/
    .parallax {height: 350px}
    .parallax .table {height: 350px}
    
    /*사업안내 및 모금 캠페인*/
    .bNc {padding: 60px 0}
    .bNc .box {width: 45%} 
    .bNc .box .txt .right a {height: 30px; line-height: 30px; width: 80px}
    .title-box h3 {font-size: 1.5em}
    
    /*tab*/
    .tab-content {height: auto}
    .tab-content .tab-inner {padding-top: 150px}
    .tab-content .tab-inner p {font-size: 1.5em; width: 50%; margin: 0 auto;}
    .tab ul {padding: 50px 0 0 0;}
    .tab li:first-child {margin-right: 45px}
    .tab li, .tab li.current {font-size: 1.3em}
    .tab-content .but-titie {margin-top: 60px}
    .tab-content.current {padding-bottom: 50px}
    #vision .tab-inner .quotes-left, 
    #vision .tab-inner .quotes-right,  
    #mission .tab-inner .quotes-left, 
    #mission .tab-inner .quotes-right {display: none} 
    
    /*메일 전송*/
    .email .txt {padding: 60px 7.5%; width: 85%}
    .email .txt .inner {margin: 0}
    .email .txt .bar {display: none}
    .email .txt h3 {margin-bottom: 13px; font-size: 1.5em}
    .email .form {width: 85%; padding: 0 8% 60px 8%; background-color: #F0EFEF}
    .email .input, .email textarea {background-color: transparent}

    /*팝업 추가*/ 
    div.popup-mask {background-color: rgba(0, 0, 0, 0.6);}
    .popup-mask .popup {width: 90%;margin: 0 auto;}
    .popup-mask .popup img {width: 100%;}
    
}


@media (max-width: 680px) {
    
    /*메인 슬라이더*/
    .main-slider__text h1 {font-size: 1.8em}
    .main-slider li:nth-of-type(2) {background-position: 88%}
    .main-slider li:nth-of-type(3) {background-position: 77%}
    
    /*공지/보도자료*/ 
    .main-wrap .board .must-board {width: 100%;}
    .main-wrap .board .news {margin-bottom: 40px}
    
    /*사업안내 및 모금 캠페인*/ 
    .bNc .box-1 {margin-bottom: 50px; width: 100%}
    .bNc .box {width: 100%;}
    
    /*tab*/ 
    .tab-content .tab-inner p {width: 80%; }
    
    /*메일*/
    .email .input-100 .input-50:nth-child(1) {margin-bottom: 25px}

    
    .slider__190621 span img{
        width: 12px;
        float: left;
        margin-top: 2px;
    }
    .slider__190621 .btn { 
        height: 42px;
        line-height: 42px;   
        float: left;
        margin-top: 20px; 
        width: 130px;
        padding: 0;
        font-size: 0.875em;
    }
    
    
    
}