@charset "utf-8";


.sns {
    background: #f0f2f5;
    padding-top: 74px;
    padding-bottom: 74px;
}


.sns .container {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;

    padding: 0 16px;
}

.sns .Top h5 {
    font-size: 38px;
    text-align: left;
    font-weight: bold;
}

.sns .sns_tab {
    display: flex;
    justify-content: flex-start;
}

.sns .sns_tab li {
    background: #fff;
    margin-top: 20px;
    margin-bottom: 30px;

    border-radius: 0.3rem;
}
.sns .sns_tab li a {
    padding: 10px 62px;
    display: block;
    color: #fff !important;

    display: flex;
    align-items: center;
}

.sns .sns_tab li a img {
    margin-right: 8px;
    padding-top: 2px;
}

.sns .sns_tab li:first-child {
    margin-right: 10px;
}



.sns  .sns_tab li.tab_youtube {
    background: #ff4b4b;
}

.sns  .sns_tab li.tab_insta {
    background: radial-gradient(circle at 10% 230%, #fdf497 10%, #fdf497 16%, #fd5949 47%, #d6249f 60%, #285AEB 120%);
}


.sns .more {
    font-weight: 300;
    font-size: 30px;
}


/* 하단부분 */
.sns .List {
    position: relative;
    min-height: 440px;
}

.sns .List .x_mpCont {
    background: #fff;
    width: 350px;
    height: 330px;
    overflow: hidden;
    display: inline-block;
    font-size: 0;
    position: absolute;

    border-top: 2px solid #ff4b4b;
}
.sns .List .x_mpCont.in {
    border-color: #d6249f;
}
.sns .List .x_mpCont > div {
    position: relative;
    height: 100%;
}

/** 이거는 인스타 그라데이션 선 효과 **/
/* .sns .List .x_mpCont::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: #ff4b4b;
    position: relative;
    top: -277px;
    z-index: 1;
    left: 0;
}
.sns .List .x_mpCont.in::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(6deg , #fdf497, #fd5949, #d6249f);
    position: relative;
    top: -277px;
    z-index: 1;
    left: 0;
} */

.sns .x_mpCont .txtbox span {
    position: relative;
    display: block;
}
.sns .x_mpCont .txtbox span::after {
    content: 'youtube';
    display: block;
    font-size: 12px;
    font-weight: bold;

    padding: 8px 1rem 0;
    color: #ff4b4b;
}
.sns .x_mpCont.in .txtbox span::after {
    content: 'instagram';
    display: block;
    font-size: 12px;
    font-weight: bold;

    color:  #d6249f;
}




.sns .x_mpCont .imgbox {
    width: 100%;
    height: 230px;
    background: #ddd;
    position: relative;
}

.sns .x_mpCont em {
    display: block;
    background-size: cover !important;
    background-position: center center !important;
    width: 100%;
    height: 100%;
}

.sns .x_mpCont .icon {
    position: absolute;
    padding: 6px;
    border-radius: 0 0 4px 4px;
    top: 0;
    left: 6px;

    background-color: #ff4b4b;
}
.sns .x_mpCont.in .icon {
    background-color: #d6249f;
}

/* em 구분 */

.sns .x_mpCont em {
    background:url('/images/front/sns/youyube.png')no-repeat center center;
}
.sns .x_mpCont.in em {
    background:url('/images/front/sns/image_insta.png')no-repeat center center;
}



.sns .x_mpCont p {
    padding: 1rem;
    padding-top: 6px;
    padding-bottom: 0;

    font-size: 12px;
    color: #555;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}




.sns .x_mpCont:nth-child(1) {
    left: 0;
    bottom: 0;
    width: 430px;
}
.sns .x_mpCont:nth-child(2) {    
    right: 370px;
    bottom: 350px;
}
.sns .x_mpCont:nth-child(3) {
    right: 0;
    bottom: 350px;
}
.sns .x_mpCont:nth-child(4) {
    right: 370px;
    bottom: 0;
}
.sns .x_mpCont:nth-child(5) {
    right: 0;
    bottom: 0;
}


.sns .x_mpCont .icon {
    width: 28px;
    height: 28px;

    position: absolute;
    padding: 6px;
    border-radius: 0 0 4px 4px;
    top: 0;
    left: 6px;

    background-color: #ff4b4b;
    background-image: url("/images/front/sns/youtube.png");
    background-repeat: no-repeat;
    background-position: center;

    z-index: 1;
}
.sns .x_mpCont.in .icon {
    background-color: #d6249f;
    background-image: url("/images/front/sns/instagram.png");
}



/** 혹시모를 추가될 부분 **/
.sns .x_mpCont .badge {
    width: fit-content;
    height: 16px;

    position: absolute;
    padding: 0 10px;
    border-radius: 40px;
    bottom: 74px;
    right: 12px;

    background-color: #a3a3a3;
    z-index: 1;
}
.sns .x_mpCont.in .badge {
    background-color: #a3a3a3;
}

.sns .x_mpCont .badge::after {
    display: block;
    width: fit-content;
    content: '채널 바로가기';
    font-size: 10px;
    position: relative;
    color: #fff;
}
.sns .x_mpCont.in .badge::after {
    display: block;
    width: fit-content;
    content: '계정 바로가기';
    font-size: 10px;
    position: relative;
    color: #fff;
}

.sns .x_mpCont.nil .badge,
.sns .x_mpCont.nil2 .badge,
.sns .x_mpCont.nil .icon,
.sns .x_mpCont.nil2 .icon {
    display: none;
}

.sns .x_mpCont.nil2 .txtbox span::after {
    content: 'no data';
    display: block;
    font-size: 12px;
    font-weight: bold;
    padding: 8px 1rem 0;
    color: #aaa;
}
.sns .List .x_mpCont.nil2 {
    border-top: 2px solid #aaa;
}

@media(max-width:1200px) {
    .sns .List .x_mpCont {
        width: 330px;
        /* width: 300px; */
    }

    .sns .sns_tab li a {
        padding: 10px 36px;
    }
    .sns .x_mpCont:nth-child(2) {
        right: 350px;
    }
    .sns .x_mpCont:nth-child(4) {
        right: 350px;
    }
    
}

@media(max-width:1100px) {
    .sns {
        padding-top: 40px;
    	padding-bottom: 40px;
    }

    .sns .sns_tab li {
        margin-top: 10px;
        margin-bottom: 20px;
    }


    .sns .x_mpCont:nth-child(n) {
        position: unset;
        width: calc(50% - 11px);
        height: 250px;
        margin-right: 10px;
        /* margin-bottom: 10px; */
        margin-bottom: 6px;
    }

    .sns .x_mpCont:nth-child(n) .imgbox {
        height: 150px;
    }

    .sns .x_mpCont {
        width: calc(50% - 10px);
        margin-right: 15px;
    }

    .sns .x_mpCont:nth-child(2n) {
        margin-right: 0;
    }

    .sns .x_mpCont:nth-child(n+5) {
        display: none;
    }
    .sns .x_mpCont p {
        font-size: 12px;
    }
}

@media(max-width:991px) {}

@media(max-width:767px) {
    .sns .sns_tab li {
        margin-top: 6px;
    	margin-bottom: 10px;
    }
    .sns .x_mpCont:nth-child(n) {
        position: unset;
        width: 100%;
        height: 140px;
        margin-right: unset;

    }
    .sns .x_mpCont:nth-child(n+5) {
        display: none;
    }
    .sns .x_mpCont a {
        display: flex;
        align-items: flex-start;
    }

    .sns {
        padding-top: 11px;
        padding-bottom: 11px;
    }

    .sns .Top h5 {
        font-size: 26px;
    }
    .sns .more {
    	font-size: 18px;
    }

    .sns .x_mpCont .imgbox {
        height: 100%;
        width: 50%;
    }
    .sns .x_mpCont .txtbox {
        width: 50%;
    }
    .sns .x_mpCont p {
        /* width: 50%; */

        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
    }
    .sns .x_mpCont .badge {
    	bottom: 10px;
    }

}

@media(max-width:575px) {

    .sns .Top .sns-tab li {
        margin: 10px 5px 14px 5px;
    }

}


.snsList {
    margin: 0 -15px;
}
.snsList:after {
    content: '';
    display: table;
    clear: both;
}

.snsList li {
    float: left;
    width: 33.3333%;
    padding: 0 15px;
    margin-bottom: 30px;
    position: relative;
}


.snsList .snsBox {
    display: block;
}

.snsList .snsBox {
    background: #fff;
    width: 100%;
    height: 330px;
    overflow: hidden;
    font-size: 0;
    border: 1px solid #e5e5e5;

    border-top: 2px solid #ff4b4b;
}
.snsList .in .snsBox {
    border-top-color: #d6249f;
}





.snsList li .snsBox .txtbox span {
    position: relative;
    display: block;
}
.snsList li .snsBox .txtbox span::after {
    content: 'youtube';
    display: block;
    font-size: 12px;
    font-weight: bold;

    padding: 8px 1rem 0;
    color: #ff4b4b;
}
.snsList li.in .snsBox .txtbox span::after {
    content: 'instagram';
    display: block;
    font-size: 12px;
    font-weight: bold;


    color:  #d6249f;
}

.snsList .snsBox .imgbox {
    width: 100%;
    height: 230px;
    background: #ddd;
    position: relative;
}

.snsList .snsBox em {
    display: block;
    background-size: cover !important;
    background-position: center center !important;
    width: 100%;
    height: 100%;
}

.snsList .icon {
    width: 28px;
    height: 28px;

    position: absolute;
    padding: 6px;
    border-radius: 0 0 4px 4px;
    top: 0;
    left: 22px;

    background-color: #ff4b4b;
    background-image: url("/images/front/sns/youtube.png");
    background-repeat: no-repeat;
    background-position: center;

    z-index: 1;
}
.snsList .in .icon {
    background-color: #d6249f;
    background-image: url("/images/front/sns/instagram.png");
}



/* em 구분 */

.snsList .snsBox em {
    background:url('/images/front/sns/youyube.png')no-repeat center center;
}
.snsList .snsBox.in em {
    background:url('/images/front/sns/image_insta.png')no-repeat center center;
}



.snsList .snsBox p {
    padding: 1rem;
    padding-top: 6px;
    padding-bottom: 0;

    font-size: 12px;
    color: #555;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}


/** 혹시모를 추가될 부분 **/
.snsList .badge {
    width: fit-content;
    height: 16px;

    position: absolute;
    padding: 0 10px;
    border-radius: 40px;
    bottom: 74px;
    right: 32px;

    background-color: #a3a3a3;
    z-index: 1;
}
.snsList .in .badge {
    background-color: #a3a3a3;
}

.snsList .badge::after {
    display: block;
    width: fit-content;
    content: '채널 바로가기';
    font-size: 10px;
    position: relative;
    color: #fff;
}
.snsList .in .badge::after {
    display: block;
    width: fit-content;
    content: '계정 바로가기';
    font-size: 10px;
    position: relative;
    color: #fff;
}



/* sns_nav_tab */
.sns_nav_tab {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: 10px;
}
.sns_nav_tab li:not(:last-child) {
    margin-right: 10px;
}
.sns_nav_tab .nav_item {
    display: block;
    font-size: 1.1rem;
    color: #555 !important;
}
.sns_nav_tab .nav_item.on {
    color: #27348a !important;
    font-weight: bold;
    border-bottom: 1px solid #27348a;
}




/* 뷰 부분 링크 */
.sns_link {
    color: #009fda !important;
    position: relative;
}
.sns_link:hover {
    color: #0165bd !important;
}
.sns_link::after {
    content: '';
    display: inline-block;
    background: url('/images/front/sns/box-arrow-up-right.png') no-repeat center center;
    background-size: cover;
    width: 12px;
    height: 12px;
    margin-left: 2px;
}


/* 콘텐츠 없을 때 */
.no_cont {
    width: 100% !important;
}
.no_cont > div {
    border: 1px solid #e5e5e5;
    padding: 40px 10px;
    text-align: center;
    border-radius: 1.1rem;
}
.no_cont .box {
    margin-bottom: 10px;
    position: relative;
    width: 40px;
    height: 40px;
    left: 50%;
    transform: translateX(-50%);
}
.no_cont .box span {
    position: absolute;
    display: block;
    height: 6px;
    background-color: #ccc;
    border-radius: 50px;
    
}
.no_cont .box span:not(:last-child) {
    margin-bottom: 4px;
}
.no_cont .box span:nth-child(1) {
    animation: line1 2s 3 cubic-bezier(0.4, 0, 1, 1) forwards;
}
.no_cont .box span:nth-child(2) {
    top: 10px;
    animation: line2 2s 3 cubic-bezier(0.4, 0, 1, 1) forwards;
}
.no_cont .box span:nth-child(3) {
    top: 20px;
    animation: line3 2s 3 cubic-bezier(0.25, 0.1, 0.58, 0.95) forwards;
}
.no_cont .box span:nth-child(4) {
    top: 30px;
    animation: line4 2s 3 cubic-bezier(0.4, 0, 1, 1) forwards;
}


@keyframes line1 {
    0% { width: 0px; }
    100% { width: 40px; }
}
@keyframes line2 {
    0% { width: 0px; }
    100% { width: 33px; }
}
@keyframes line3 {
    0% { width: 0px; }
    100% { width: 30px; }
}
@keyframes line4 {
    0% { width: 0px; }
    100% { width: 36px; }
}




.snsList .badge {
    display: block;
}

.snsList .nil .badge,
.snsList .nil2 .badge,
.snsList .nil .icon,
.snsList .nil2 .icon {
    display: none;
}




@media(max-width:1200px) {

    
}

@media(max-width:1100px) {

}

@media(max-width:991px) {
    .snsList {
        margin: 0 -5px;
        margin-bottom: -20px;
    }
    .snsList li {
        width: 50%;
        padding: 0 5px;
        margin-bottom: 15px
    }

    .a_brdSch {
        padding: 10px;
        position: relative;
        padding-left: 10px;
    }
    .a_brdSch dt {
        display: block;
        position: absolute;
        left: 10px;
        top: unset;
        margin-top: unset;
    }
    .a_brdSch dd {
        padding-left: 105px;
    }
    .sns_nav_tab .nav_item {
        font-size: 1rem;
    }

    .snsList .icon {
        left: 12px;
    }
    .snsList .badge {
        right: 22px;
    }
}

@media(max-width:767px) {


}

@media(max-width:575px) {
    .snsList li {
        width: 100%;
        padding: 0 5px;
        margin-bottom: 15px
    }
}




/** maodal **/

#youtubeModal {
	position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
    
    z-index: 1072;
}
#youtubeModal.show {
	background: #00000060;
}
.fade {
	transition: opacity .15s linear;
}
#youtubeModal .modal-dialog {
    max-width: 1280px;
    
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
    
}
#youtubeModal .modal-dialog .modal-content {
    border-radius: 1.3rem;
    overflow: hidden;
}

#youtubeModal .modal.show .modal-dialog {
    -webkit-transform: none;
    transform: none;
}

#youtubeModal .modal.fade .modal-dialog {
    transition: -webkit-transform .3s ease-out;
    transition: transform .3s ease-out;
    transition: transform .3s ease-out,-webkit-transform .3s ease-out;
    -webkit-transform: translate(0,-50px);
    transform: translate(0,-50px);
}


#youtubeModal .modal-dialog-centered {
	display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - 1rem);
}

#youtubeModal .modal-dialog-centered::before {
    display: block;
    height: calc(100vh - 1rem);
    height: -webkit-min-content;
    height: -moz-min-content;
    height: min-content;
    content: "";
}

#youtubeModal .modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 0.3rem;
    outline: 0;
}

.modal-open #youtubeModal.modal {
    overflow-x: hidden;
    overflow-y: auto;
}

#youtube_url {
	width: 100%
}
@media (max-width: 1024px) {
	#youtube_url {
		height: 540px;
	}
}
@media (max-width: 768px) {
	#youtube_url {
		height: 450px;
	}
}
@media (min-width: 576px) {
	#youtubeModal .modal-dialog-centered {
		min-height: calc(100% - 3.5rem);
	}
	
	#youtubeModal .modal-dialog {
	    margin: 1.75rem auto;
	}
	
	#youtubeModal .modal-dialog-centered::before {
	    height: calc(100vh - 3.5rem);
	    height: -webkit-min-content;
	    height: -moz-min-content;
	    height: min-content;
	}
	
}
@media (max-width: 425px) {
	#youtube_url {
		height: 250px;
	}
}
@media (max-width: 320px) {
	#youtube_url {
		height: 181px;
	}
}

