/* 23. 08. 28 반응형 작업 */
.container {
    max-width: 1480px;
    width: 90%;
}

.s-tab ul {
    display: flex;
    flex-wrap: wrap;
}

.s-tab ul li {
    flex: 1;
    min-width: 116px;
}

.s-tab ul li a {
    width: 100%;
    margin-right: 0;
}

.ad_select {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
#ad_naver{
	 display: grid;
	grid-template-columns: repeat(2,1fr);
}

.d_flex {
    display: flex;
}

.d_flex input {
    flex: 1;
}

.ad_select label {
    font-size: 14px;
}

 
@media (max-width:1600px) {
    .featured-box-wrapper.grid-4-columns {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width:1500px) {
    .s_container {
        flex-direction: column-reverse;
        width: unset !important;
        min-width: unset !important;
        max-width: 90% !important;
    }
    
    .s_cont_left {
        width: unset !important;
    }

    .sr_view_box {
        width: unset !important;
    }
}

@media (max-width:1280px) {

    .latest-news-box .news-item .news-title a {
        flex: 1;
        overflow: hidden;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .latest-news-box .news-item .news-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .latest-news-box .news-item .news-title span {
        min-width: 83px;
        display: flex;
        gap: 10px;
    }

    .latest-news-box .news-content {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .latest-news-box .read-more-link {
        margin-top: auto;
    }

    .contact_group {
        display: flex;
        flex-direction: column;
        gap: 30px;
        justify-content: space-between;
    }

    .latest-news-box .news-item {
        flex: 1;
    }

    .table-join td input {
        width: 100% !important;
    }

    .tabs-list li a {
        flex: 1;
        width: unset;
    }

    .table-board table tbody td,
    .table-board table tbody td a {
        font-size: 16px;
    }

    .checkbox2 + label{
        height: unset !important;
        padding-bottom: 2px;
    }

    .table-join table tbody th {
        font-size: 15px;
    }

    .inp-1 {
        font-size: 14px !important;
    }

    .table-join table tbody td {
        font-size: 14px !important;
        padding-bottom: 2px !important;
    }

    .table-camp table {
        white-space: nowrap;
    }

    .table-camp {
        width: 100%;
        overflow: auto;
    }
    
    .table-camp table thead th {
        padding:  16px 5px;
        font-size: 12px;
    }
    .primary-content-area.container.content-padding.grid-left-sidebar {
        display: block;
    }

}

@media (max-width:1101px) {
    .s-tab ul {
        display: grid;
        grid-template-columns: repeat(2,1fr);
    }

    .table-join table tbody th {
        font-size: 16px;
    }

    .featured-item-image img {
        width: 100%;
    }
    
    .s-tab ul li a {
        padding: 0;
    }

    .ad_select {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    #apply {
        width: unset !important;
    }
    
    .d_flex {
        display: flex;
        gap: 10px;
    }

    .d_flex input {
        margin-right: 0 !important;
        flex: 1;
    }
 

    .select1_ad .row2 {
        font-size: 12px !important;
    }

    .featured-box-wrapper.grid-4-columns {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }

    .primary-content-area .container{
        max-width: unset;
        width: unset;
    }

    .table-board table tbody td,
    .table-board table tbody td a {
        font-size: 13px;
        grid-template-columns: repeat(2, 1fr);
    }

    .sl_img_grid {
        grid-template-columns: repeat(4, 1fr) !important;
        justify-items: center;
    }

    .filebox label {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
}

@media (max-width:880px) {
    .primary-content-area aside {
        display: none;
    }

    .call-to-action-box .h2 {
        font-size: 20px;
        font-weight: 600;
    }

    .call-to-action-box .subtitle {
        font-size: 14px;
        font-weight: 500;
    }

    .call-to-action-box {
        padding: 60px 30px;
    }

    .user-db-menu {
        width: unset !important;
    }

    
    .s-tab ul li {
        flex: 1;
    }

    .featured-box-wrapper.grid-4-columns {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .grid-left-sidebar {
        display: block;
    }

    .menu-item .menu-link {
        font-size: 15px;
    }
    
    .social-icons-list .social-icon {
        font-size: 15px !important;
    }

    .sl_img_grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .sl_img_btn_group {
        flex-direction: column;
    }

    .sl_img_grid_box {
        padding: 15px 20px !important;
    }

    .sl_drive {
        flex-direction: column;
    }

    .sl_drive_tit {
        min-width: unset !important;
    }

    .ad-point-box ul li .p-num {
        font-size: 18px !important;
    }

    .ad-point-box ul li p {
        font-size: 12px !important;
    }

}
@media (max-width:790px) {
    .checkbox2 + label{
        height: unset !important;
    }

    #login {
        width: auto !important;
    }

    #login .btns a {
        font-size: 10px;
    }

    #login .btns span {
        margin: 0 3px;
    }
}


@media (max-width:560px) {
    .s-tab ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .ad_select {
        display: flex ;
        flex-direction: column;
    }

    .ra_box {
        font-size: calc(100vw * (12.5/375)) !important;
    }

    #page_div_3 #apply {
        padding: 20px;
    }

    #page_div_4 #datepicker_1,
    #page_div_4 #datepicker_2 {
        font-size: 12px;
        width: 100px !important;
        height: 36px !important;
    }

    #page_div_4 p {
        font-size: 12px;
    }

    #page_div_5 h4 {
        font-size: calc(100vw * (18/375));
    }

    .img-upload.top_load {
        flex-direction: column;
    }

    .img-upload ul li,
    .up-box {
        margin: 0;
    }

    .img-upload ul {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: calc(100vw * (10/375));
    }
    
    .filebox label {
        margin-top: 10px;
    }

    .h-line2 {
        margin-top: 40px;
    }

    #page_div_2 .table-channel table tbody td {
        text-align: center !important;
        display: block;
    }

    #page_div_5 .fs-1 br {
        display: none;
    }

    #page_div_6 #apply {
        padding: 20px;
    }

    #page_div_6 .mb20 p,
    #page_div_6 .mb20 span {
        font-size: calc(100vw * (14/375));
    }

    #page_div_2 #apply {
        padding: 10px;
    }

    /* #page_div_2 .mt50 .ad_select {
        display: grid;
        grid-template-columns: repeat(3,1fr);
    } */

    .select1_ad .row2 {
        font-size: 10px !important;
    }

    .btn-ok-before {
        padding: 0 10px;
        font-size: 10px;
        width: 50px;
    }
    .tab-content .btn-ask {
        font-size: 10px;
    }

    .table-camp table tbody td {
        font-size: 10px;
    }

    .fav-naver {
        font-size: 10px;
    }

    .table-camp table {
        white-space: nowrap;
    }

    .table-camp {
        width: 100%;
        overflow: auto;
    }
    
    .table-camp table thead th {
        padding:  16px 5px;
        font-size: 12px;
    }
    .primary-content-area.container.content-padding.grid-left-sidebar {
        display: block;
    }

    .sl_img_grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .s_cont_left .swiper-slide {
        padding: 0 !important;
    }

    .s_cont_right {
        height: unset !important;
    }

    .sr_view_box .sr_row {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .table-join table tbody th {
        font-size: 10px;
    }

    .table-channel table tbody td {
        font-size: 12px;
    }
    
    #login .inp {
        font-size: 12px !important;
    }
}

@media (max-width:480px) {
    #page_div_2 .mt50 .ad_select {
        grid-template-columns: repeat(2,1fr);
    }

    .sr_view_group .sr_v1,
    .sr_view_group .sr_v2 {
        font-size: 10px !important;
        padding: 6px 12px !important;
        box-sizing: border-box !important;
    }

    .sr_view_group .sr_v2 .v2_1 {
        margin-right: 4px !important; 
        padding-right: 4px !important;
    }

    .table-join table tbody td {
        font-size: 11px !important;
    }

    .checkbox2 + label {
        font-size: 10px !important;
        line-height: 24px !important;
    }

    .s-tab ul li.active a {
        font-size: 16px !important;
    }

    .s-tab ul li a {
        font-size: 16px !important;
    }
}
/* 23. 09. 05. 추가 */

.modal-dialog {
    margin: 0 !important;
    top: 20%;
    transform: translateX(-50%);
    width: 90vw !important;
    max-width: 700px;
}