/* 제목 */
h1.content-title01{
    font-size: 36px;
    font-family: var(--body-font-family);
    color: #333;
    text-align: center;
}

/* 검색 영역 박스 */
.total-search-area{
    padding: 50px;
    background: #eaf4fa;
    border-radius: 7px;
    display: flex;
}

.total-search-area .search-area-input{
    width: 700px;
    margin: 0 auto;
}

/* 검색 폼 */
.search-container{
    display: flex;
    flex-wrap: wrap;
    /*margin-top: 10px;*/
    height: 70px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 4px 8px 13px 0px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.search-container .search-area{
    width: calc(100% - 80px);
    height: 100%;
    position: relative;
    background: #fff;
}

.search-container .search-area input{
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    padding-left: 40px;
    font-family: var(--body-font-family);
    font-size: 21px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.total-search-area .search-container .search-area input{
    border-radius: 0;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.search-container .search-area label{
    z-index: 1;
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    font-family: var(--body-font-family);
    font-size: 21px;
}

.search-container .search-area label.hide{
    position: absolute;
    width: 0;
    height: 0;
    padding: 0;
    margin: -1px;
    border: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    font-size: 0;
}

.search-container .search-area label span{
    font-family: var(--body-font-family);
    color: #2c4aba;
}

.search-container .search-area + button{
    display: inline-block;
    border: none;
    cursor: pointer;
    width: 80px;
    /*height: 80px;*/
    font-size: 1px;
    text-indent: -99999px;
    background: #085de7 url(../../images/searchform-search.png) center no-repeat;
}

/* 결과 제목 */
p.sub-title02{
    font-size: 28px;
    font-family: var(--body-font-family), sans-serif;
    color: #333;
}

p.sub-title02 span{
    font-family: var(--body-font-family);
    color: #ff5757;
}

.mt-60{
    margin-top: 60px;
}

/* 통합검색 탭 */
.search-tab01 .flex-4 .funTab{
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
    background: none;
}

.search-tab01 .flex-4 .funTab li{
    padding: 0 20px;
    margin: 10px 0;
    font-family: var(--body-font-family);
    font-size: 18px;
    flex: 0;
    height: 60px;
    line-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-tab01 .flex-4 .funTab li.non_active a{
    color: #999;
}

.search-tab01 .flex-4 .funTab li span{
    color: #ff5757;
}

.search-tab01 .flex-4 .funTab li:first-child{
    border-radius: 7px 0 0 7px;
}

.search-tab01 .flex-4 .funTab li.on{
    background: var(--sub2-color);
    border-radius: 7px;
    border: 0;
    color: #fff;
    font-family: var(--body-font-family);
    position: relative;
    transition: all 0.5s;
}

.search-tab01 .flex-4 .funTab li.on *{
    color: #fff;
}

.search-tab01 .flex-4 .funTab li a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1.6;
}

.search-tab01 .flex-4 .funTab li.on::after{
    content: "";
    display: block;
    width: 23px;
    height: 10px;
    background: url(../../images/sub/searach-tab-on.png) center no-repeat;
    position: absolute;
    bottom: -9px;
    left: 50%;
    transform: translateX(-50%);
}

.search-tab01 .flex-4 .funTab li:last-child{
    border: 0;
    border-radius: 0 7px 7px 0;
}

/* 결과 리스트 */
.s-result-list a{
    display: block;
    width: 100%;
    height: 160px;
    border-bottom: 1px solid #c8e4fa;
    padding: 34px 0;
}

.s-result-list a .title-txt{
    font-size: 18px;
    font-family: var(--body-font-family);
    color: #333;
}

.s-result-list a .title-txt .date{
    font-size: 14px;
}

.s-result-list a .content-txt{
    margin-top: 20px;
    font-size: 14px;
    font-family: var(--body-font-family);
    color: #333;
    line-height: 22px;
    display: -webkit-box;
    width: 100%;
    height: 45px;
    overflow: hidden;
    -webkit-line-clamp: 2;
}

/* 결과 하단 버튼 */
.search-result-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 50px auto;
}

.search-result-btn > button{
    margin: 0;
    width: auto;
}

.search-result-btn > button:first-child:before{
    content: "";
    display: inline-block;
    width: 7px;
    height: 13px;
    background: url(../../images/sub/nav-ico-arrow.png) center no-repeat;
    margin: 0 10px;
    transform: rotate(180deg);
}

.search-result-btn > button.prev:before{
    content: "";
    display: inline-block;
    width: 7px;
    height: 13px;
    background: url(../../images/sub/nav-ico-arrow.png) center no-repeat;
    margin: 0 10px;
    transform: rotate(180deg);
}

.search-result-btn > button.next:before{
    display: none;
}

.search-result-btn > button.next:after{
    content: "";
    display: inline-block;
    width: 7px;
    height: 13px;
    background: url(../../images/sub/nav-ico-arrow.png) center no-repeat;
    margin: 0 10px;
}

.search-result-btn > button.prev{
    padding-right: 20px;
}

.search-result-btn > button.next{
    padding-left: 20px;
}

/* 검색 결과 없음 */
.nodata{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    flex-direction: column;
}

.nodata img{
    display: block;
}

.noresult{
    color: #333;
    display: block;
    text-align: center;
    line-height: 1.5;
    margin-top: 50px;
    font-size: 16px;
}

/* 더보기 버튼 */
.add-btn{
    font-family: var(--body-font-family);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto;
    cursor: pointer;
    width: 200px;
    height: 38px;
    border: 1px solid #d9d9d9;
    background: #fff;
}

.add-btn::before{
    content: "";
    display: inline-flex;
    width: 14px;
    height: 14px;
    background: url(../../images/sub/add-btn.png);
    margin-right: 10px;
}

/* 반응형 보정 */
@media screen and (max-width: 1024px){
    .total-search-area{
        padding: 50px 20px;
    }

    .total-search-area .search-area-input{
        width: 700px;
        margin: 0 auto;
    }

    .search-tab01 .flex-4 .funTab{
        background: none;
    }

    .search-tab01 .flex-4 .funTab li{
        min-width: calc(100% / 3 - 10px);
        border-radius: 7px !important;
        border: 0;
        margin: 5px;
        flex: 1 1 0;
    }

    .search-tab01 .flex-4 .funTab li:last-child{
        border-radius: 7px;
    }

    .search-tab01 .flex-4 .funTab li.on:after{
        display: none;
    }
}

@media screen and (max-width: 768px){
    .total-search-area{
        padding: 30px 20px;
    }

    .search-container{
        flex-wrap: nowrap;
        margin-top: 10px;
        height: 60px;
        border-radius: 8px;
        box-shadow: 4px 8px 13px 0px rgba(0, 0, 0, 0.3);
    }

    .search-container .search-area label{
        font-size: 15px;
        left: 20px;
    }

    .search-container .search-area input{
        padding-left: 20px;
        font-size: 15px;
    }

    .search-container .search-area + button{
        width: 80px;
        height: 60px;
        font-size: 0;
        background: #085de7 url(../../images/searchform-search.png) center no-repeat;
        background-size: 20px 20px;
    }

    .search-tab01 .flex-4 .funTab li{
        min-width: calc(100% / 2 - 10px);
        height: auto;
        padding: 10px;
        font-size: 16px;
    }
}