@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR&display=swap');
@import url(/css/base.css);

/*=========================== common ===============================*/
/* profile-icon */
.profile-icon{ overflow: hidden; border-radius: 50%; }
.profile-icon img{ width: 100%; height: 100%; }

/* titleIcon */
.titleIcon{ display: flex; align-items: center; width: 32px; }
.titleIcon span{
	display: inline-block;
	width: 14px; height: 14px;
	font-size: 8px; line-height: 14px; text-align: center;
	margin-left: 4px;
}
.titleIcon span:first-of-type{ margin-left: 0; }

span.redDot{ position: relative; top: -6px; left: 2px; color: #f33; }

/* submitBtn */
.submitBtn{ display: flex; flex-flow: row nowrap; align-items: flex-start; justify-content: center; margin-top: 18px; }
.submitBtn > *{ height: 48px; line-height: 48px; margin: 0 5px; text-align: center; }
/* submitBtn : 2컬럼 - 130px / 1컬럼 - 150px  */

/* install-button */
#install-button{
    position: fixed; right: 20px; bottom: 112px; 
    display: flex; align-items: center; justify-content: center; 
    height: auto; padding: 0 20px; line-height: 40px; 
    cursor: pointer; background: #fff;
    border-radius: 20px; box-shadow: 0 0 3px #666;
}
#install-button *{ color: #7b8a9a; font-size: 12px; }
#install-button svg{ height: 12px; margin-right: 8px; }

/* =============================================================== */
/* === popUp === */
.popUp{
    display: flex; align-items: center;
    position: fixed; top: 0; bottom: 0; left: 0; width: 100vw; height: 100vh; 
    z-index: 999999; 
    background: rgba(0, 0, 0, 0.6); 
}
.popUp *{ box-sizing: border-box; }
.pLoad{ 
    display: flex; align-items: center;
    position: fixed; top: 0; bottom: 0; left: 0; width: 100vw; height: 100vh; 
}
.pWraps{
    display: flex; flex-flow: column wrap; 
    position: absolute; margin: 0 auto; left: 0; right: 0; z-index: inherit;
    text-align: center; background-color: #fff; 
}

.pWraps h3{ font-size: 1.28rem; font-weight: 600; }
.pWraps .closeBtn{ margin: 0 auto; height: 40px; line-height: 40px; margin-top: 30px; }

/* pVideoMore */
.pVideoMore{ width: calc(100vw - 50px); max-width: 262px; padding: 20px 32px 16px; }
.pVideoMore *{ text-align: left; color: #606060; }
.pVideoMore li button{ width: 100%; height: 36px; font-size: 12px; border-bottom: 1px solid #E1E3E8; }
.pVideoMore li:last-of-type button{ text-align: right; border: none;}
.pVideoMore button img{
    position: relative; top: 2px; width: 14px; height: 14px; margin-right: 16px; 
}

/* pLanguage */
.pLanguage{ padding-top: 24px; width: 100%; min-height: 100vh; }
.pLanguage > button{ 
    position: absolute; top: 12px; left: 12px;
    width: 48px; height: 48px; 
    padding: 15px; box-sizing: border-box;
}
.pLanguage > button > img{ width: 100%; height: 100%; }
.pLanguage h3{ padding-left: 0; margin-bottom: 0; text-align: center; }
.pLanguage label{ 
    display: block; width: 100%; height: 52px; 
    border-bottom: 1px solid #e1e3e8; box-sizing: border-box; 
    color: #b5b6b8; line-height: 52px; 
}
.pLanguage input[type=checkbox]:checked ~ label{
    color: #2a2a2a;
}

/* searchBox */
.searchBox form{
    position: absolute; top: 0; left: 0;
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; height: 48px; 
    background: #fff;
    border-bottom: 2px solid #cfd2d8; box-sizing: border-box;
}
.searchBox a{ 
    display: inline-block; width: 48px; height: 100%; 
    margin-left: 12px; 
}
.searchBox span{ 
    display: inline-block; width: 100%; height: 100%; 
    font-size: 24px; color: #838383; 
    transform: rotate(-45deg);transform-origin: 40% 60%;
}
.searchBox input{ width: calc(100% - 138px);height: 100%; }
.searchBox input::placeholder{ line-height: 48px; }
.searchBox form > button{ 
    width: 48px; height: 100%; 
    color: #999999; padding: 15px; box-sizing: border-box;
}
.searchBox form > button:last-of-type{ margin-right: 14px; }
.searchBox img{ width: 18px; height: 18px; }

.searchHistory{ 
    position: absolute; top: 48px; 
    display: flex; flex-flow: column wrap; justify-content: center; align-content: space-between;
    width: 100%; 
    padding: 0 14px; box-sizing: border-box;
    background: #fff;
}
.searchHistory li{ 
    display: flex; justify-content: space-between;
    width: 100%; height: 48px; 
}
.searchHistory button{ width: 48px; font-size: 18px; color: #575D63; }
.searchHistory a{ width: calc(100% - 48px); line-height: 48px; } 

/* === filters === */
.filters{ position: fixed; width: 100%; top: 48px; left: 0; }
.filters > form{
    display: none; width: 100%; height: 60px; 
    background: #fbfbfb; box-sizing: border-box; align-items: center; 
}
.filters > form.active{ display: flex; }

/* searchFilter */
.filters .searchFilter{ justify-content: space-between; padding: 14px 12px; }
.filters .searchFilter select{ margin: 0 4px; flex: 1 1 0; }
.filters .searchFilter select:last-of-type{ flex: 2 1 0; }

/* hotFreeyom */
.filters .hotFreeyom{ padding: 14px 12px;}
.filters .hotFreeyom select{ max-width: 65%; width: 260px; height: 100%; }

/* freeyoChoice */
.filters .freeyoChoice{ padding-left: 14px;}
.filters .freeyoChoice ul{ 
    display: inline-flex;
    overflow: hidden; overflow-x: auto; white-space: nowrap;
    -ms-overflow-style: none; scrollbar-width: none;
} 
.filters .freeyoChoice ul::-webkit-scrollbar{ display: none; }
.filters .freeyoChoice button{
    height: 32px;
    margin-right: 12px; padding: 0 10px; box-sizing: border-box;
    border-radius: 16px; border: solid 1px #606060; 
    background-color: #fff; color: #606060;
} 
.filters .freeyoChoice button.active{ color: #fff; background-color: #606060; }

/* subscribe */
.filters .subscribe{ position: relative; height: 90px !important; padding-left: 14px; }
.filters .subscribe ul{ 
    display: inline-flex; padding-right: 60px; box-sizing: border-box;
    overflow: hidden; overflow-x: auto; white-space: nowrap;
    -ms-overflow-style: none; scrollbar-width: none;
}
.filters .subscribe > ul::-webkit-scrollbar{ display: none; }
.filters .subscribe > ul li{ margin-right: 12px; }
.filters .subscribe > ul a{ position: relative; display: flex; flex-flow: column nowrap; align-items: center; }
.filters .subscribe .profile-icon{ width: 55px; height: 55px; margin-bottom: 2px; }
.filters .subscribe > ul a:after{
    position: absolute; top: 40px; right: 0;
    content: "";
    display: block; width: 10px; height: 10px; 
    background: #3377ff; border: solid 2px #fff; border-radius: 50%;
}
.filters .subscribe > ul span{ 
    display: inline-block; width: 55px; height: auto; 
    color: #7b8a9a; font-size: 12px; font-weight: 300; 
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.filters .subscribe > a{ 
    position: absolute; right: 0; width: 60px; height: 100%; line-height: 90px;
    background: #fbfbfb;text-align: center; color: #37f;
}
/* === panel === */
.panel{
    position: fixed; top: 0; right: -100%; z-index: 10000;
    width: 100%; height: 100%; display: flex; flex-flow: column nowrap;
    padding-bottom: 100px; box-sizing: border-box;
    overflow-y: auto;
    background: #f8f8f8; 

}
.panel > div{ width: 100%; }
.panel > div li a{ display: inline-block; width: 100%;}

/* .panel > div:nth-of-type(1) */
.panel > div:nth-of-type(1){ 
    height: 60px; padding: 6px; box-sizing: border-box; line-height: 48px; 
}
.panel > div:nth-of-type(1) > *{ 
    float: left; position: relative; display: block; height: 100%; font-size: 16px;
}
.panel > div:nth-of-type(1) > a{ 
    width: 48px; height: 48px; padding: 10px; box-sizing: border-box;
}
.panel > div:nth-of-type(1) > a > span{ 
    position: absolute; top: 12px;
    display: block; width: 2px; height: 18px; background: #838383; 
}
.panel > div:nth-of-type(1) > a > span:nth-of-type(1){ left: 17px; transform: rotate(45deg); transform-origin: left bottom; }
.panel > div:nth-of-type(1) > a > span:nth-of-type(2){ right: 17px; transform: rotate(-45deg); transform-origin: right bottom; }

.panel > div:nth-of-type(2){
    text-align: center; border-bottom: 1px solid #e1e3e8; 
}

/* .panel > div:nth-of-type(2) : 회원가입 전 & 후 */
.panel > div:nth-of-type(2) .beforeLogin{ padding: 50px 0; }
.panel > div:nth-of-type(2) .beforeLogin img{ display: block; margin: 0 auto; margin-bottom: 60px; }
.panel > div:nth-of-type(2) .beforeLogin a{
    display: inline-block; width: 130px; height: 40px; line-height: 40px; color: #fff;
    margin: 0 5px;
}

.panel > div:nth-of-type(2) .afterLogin{ 
    display: flex; text-align: left; padding: 20px 0 20px 40px;
}
.panel > div:nth-of-type(2) .afterLogin .profile-icon{ 
    width: 44px; height: 44px; margin-right: 12px;
}


.panel > div:nth-of-type(2) .afterLogin .profile-info{ 
    display: flex; flex-flow: column wrap;
}
.panel > div:nth-of-type(2) .afterLogin .profile-info p{ font-size: 1.28rem; font-weight: 700;}
.panel > div:nth-of-type(2) .afterLogin .profile-info span{ color: #7b8a9a; }
.panel > div:nth-of-type(2) .afterLogin .profile-info a{ color: #77a5ff; text-decoration: underline; }

/* .panel > div:nth-of-type(3) */
.panel > div:nth-of-type(3) ul{ margin-bottom: 12px; }
.panel > div:nth-of-type(3) li{ 
    width: 100%; height: 48px; line-height: 48px; padding-left: 40px; box-sizing: border-box; 
    background: #fff;
}
.panel > div:nth-of-type(3) li > a > img{ display: inline-block;position: relative; top: 4px; margin-right: 10px; }

/* === header : logo + searchicon + profile === */
header{
    position: fixed; top: 0; left: 0; z-index: 1000;
    display: flex; align-items: center;
    width: 100%; height: 48px; 
    box-sizing: border-box;
    background-color: #fff; border-bottom: 2px solid #cfd2d8;
}
header > *{ display: flex; height: 48px; }
header img{ height: 100%; }

header > a{ padding: 15px 0 15px 20px; box-sizing: border-box;}
header > div:first-of-type{ 
    display: flex; align-items: center;
    -webkit-box-flex: 1; flex-grow: 1; justify-content: flex-end; 
}
header > div:first-of-type > *{ 
    width: 48px; height: 48px; padding: 12px; box-sizing: border-box;
}
header .profile-icon{ width: 100%; height: 100%; }
header #searchOpen{ padding: 15px; }

/* === div.header : only buttons or hyperlinks etc === */
.header{ 
    position: fixed; top: 0; left: 0;  z-index: 1000;
    display: flex; align-items: center; width: 100%; height: 48px; border-bottom: 1px solid #cfd2d8; background: #fff; box-sizing: border-box;
}
.header .prevBtn{
    display: inline-block; width: 48px; height: 100%; margin-left: 12px; 
}
.header .prevBtn span{ 
    display: block;
    /* display: inline-block;  */
    /* width: 100%; height: 100%; */
    font-size: 24px; color: #838383;
    transform: rotate(-45deg); transform-origin: 45% 40%; 
}

/* === bNav === */
.bNav{
    display: flex; justify-content: space-around;
    position: fixed; bottom: 0; left: 0; z-index: 99999;
    width: 100%; height: 50px; background: #fff;
    box-shadow: 0 -1px 4px 0 rgba(0, 0, 0, 0.1);
}
.bNav > div{ 
    display: flex; align-items: center; justify-content: center; width: 20%; height: 100%;   
}
.bNav > div > a{
    display: flex; justify-content: center;align-items: center; width: 24px; height: 24px;
}
.bNav > div > a img:nth-of-type(2){ display: none; }
.bNav > div > a.active img:nth-of-type(1){ display: none; }
.bNav > div > a.active img:nth-of-type(2){ display: block; }

/*=========================== 768 =============================*/
@media screen and (min-width: 768px){
    *{ font-size: 16px; }
    

    /* === panel === */
    .panel > div:nth-of-type(2) .beforeLogin img{ width: 20vw; height: 20vw; }
}

@media screen and (max-width: 767px){
    *{font-size: 14px;}


    /* === panel === */
    .panel > div:nth-of-type(2) .beforeLogin img{ width: 25vw; height: 25vw; }
    
}

/*=========================== 640 =============================*/
@media screen and (max-width: 640px){
    .mx640{ display: block; }

    /* === panel === */
    .panel > div:nth-of-type(2) .beforeLogin img{ width: 30vw; height: 30vw; }
    
}

/*=========================== 500 =============================*/
@media screen and (max-width: 540px){
    .mx540{ display: block; }

    /* === panel === */
    .panel > div:nth-of-type(2) .beforeLogin img{margin-bottom: 40px; }
}
/*=========================== 414 =============================*/
@media screen and (max-width: 414px){
    /* === panel === */
    .panel > div:nth-of-type(2) .beforeLogin img{ width: 35vw; height: 35vw; }
}
/*=========================== 375 =============================*/
@media screen and (max-width: 375px){
    .mx375{ display: block; }

    *{ font-size: 12px; }

    /* === panel === */
    .panel > div:nth-of-type(2) .beforeLogin img{ width: 38vw; height: 38vw; }
}
/*=========================== 320 =============================*/
@media screen and (max-width: 320px){
    .mx320{ display: block; }

    /* === panel === */
    .panel > div:nth-of-type(2) .beforeLogin img{ width: 40vw; height: 40vw; }

    .panel > div:nth-of-type(2) .beforeLogin a{ width: 100px; }
    .panel > div:nth-of-type(2) .afterLogin{ padding: 20px 0 20px 30px;}

    .panel > div:nth-of-type(3) li{ padding-left: 30px;}
}
/*=========================== 280 =============================*/
@media screen and (max-width: 280px){
    /* === base === */
    .mx280{ display: block; }
}